/* ==========================================================================
   Mavela Izandla
   Palette is taken from the work itself: the grey linen most pieces are
   photographed on, the graphite of the IZANDLA wordmark, the char of a
   laser burn, and two timbers.
   ========================================================================== */

/* Fonts are hosted on this server (no third-party requests).
   Both are open-source (SIL Open Font License); licences are in assets/fonts/. */
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --linen:    #E4E0D8;
  --linen-2:  #D8D3C9;
  --graphite: #3B3936;
  --graphite-soft: #5E5A55;
  --char:     #211A15;
  --kiaat:    #9C5228;
  --pine:     #E9CD94;

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --text:    "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1360px;
  --section: clamp(88px, 11vw, 168px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--graphite);
  font-family: var(--text);
  font-size: clamp(16.5px, 0.35vw + 15px, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--kiaat);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--char);
  color: var(--linen);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */

.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: 0.004em;
  color: var(--char);
  text-wrap: balance;
}

h2.display { font-size: clamp(52px, 7.2vw, 112px); }

p { margin: 0 0 1em; max-width: 36em; }

.lede {
  font-size: clamp(18px, 0.6vw + 15px, 21px);
  line-height: 1.55;
  max-width: 31em;
}

.about-lead {
  font-size: clamp(20px, 1vw + 15px, 26px);
  line-height: 1.42;
  color: var(--char);
  max-width: 26em;
}

figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--graphite-soft);
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-block;
  padding: 17px 28px 16px;
  background: var(--char);
  color: var(--linen);
  font: 600 16px/1 var(--text);
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color .2s ease;
}
.btn:hover { background: var(--kiaat); }

.btn-small { padding: 12px 18px 11px; font-size: 15px; }

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  text-decoration-color: rgba(59, 57, 54, .35);
  transition: text-decoration-color .2s ease, color .2s ease;
}
.text-link:hover { color: var(--kiaat); text-decoration-color: currentColor; }

/* ---------- Header ---------- */

.site-header { position: relative; z-index: 20; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  color: var(--char);
}
.brand img { width: 44px; height: 44px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.site-nav ul { display: flex; gap: clamp(20px, 2.6vw, 36px); }
.site-nav ul a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding-block: 6px;
}
.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--kiaat);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.site-nav ul a:hover::after,
.site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: end;
  padding-top: clamp(24px, 4vw, 56px);
}

.hero-copy {
  container-type: inline-size;
  grid-column: 1 / 7;
  grid-row: 1;
  position: relative;
  z-index: 2;
  padding-bottom: clamp(8px, 4vw, 72px);
}

.hero-title {
  /* Sized to the column so the longest word ("PROMOTIONAL") always fits.
     The first line is a fallback for older browsers without container units. */
  font-size: clamp(56px, 8.2vw, 140px);
  font-size: clamp(56px, 19.5cqi, 150px);
  line-height: 0.84;
  margin-bottom: clamp(28px, 3vw, 44px);
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 36px;
}

.hero-media {
  grid-column: 7 / 13;
  grid-row: 1;
}

.burn {
  position: relative;
  overflow: hidden;
  background: var(--linen-2);
}
.burn img {
  width: 100%;
  clip-path: inset(0 100% 0 0);
  animation: burn-reveal 1.5s cubic-bezier(.6, 0, .25, 1) .25s forwards;
}
/* The single motion moment: a laser line passes over the photo */
.burn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: #FFD79A;
  box-shadow: 0 0 10px 2px rgba(255, 148, 52, .75), 0 0 34px 6px rgba(255, 120, 30, .35);
  opacity: 0;
  animation: laser-pass 1.5s cubic-bezier(.6, 0, .25, 1) .25s forwards;
}
@keyframes burn-reveal {
  to { clip-path: inset(0 0 0 0); }
}
@keyframes laser-pass {
  0%   { left: 0;    opacity: 1; }
  92%  { left: 100%; opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ---------- About / the name ---------- */

.about {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  padding-block: var(--section);
  align-items: start;
}

.about-media {
  grid-column: 1 / 5;
  margin-top: clamp(0px, 9vw, 140px);
}

.about-copy { grid-column: 6 / 13; }
.about-copy h2 { margin-bottom: clamp(28px, 3vw, 44px); }

.woods-title {
  margin: clamp(44px, 5vw, 72px) 0 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--char);
}

.woods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 48px);
  margin: 0;
  border-top: 1.5px solid var(--char);
}
.woods > div {
  padding: 18px 0 20px;
  border-bottom: 1px solid rgba(33, 26, 21, .2);
}
.woods dt {
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--char);
  margin-bottom: 6px;
}
.woods dd { margin: 0; font-size: 16px; line-height: 1.5; }

.woods-note { margin-top: 18px; font-size: 16px; color: var(--graphite-soft); }

/* ---------- What we make (the dark section) ---------- */

.make {
  background: var(--char);
  color: rgba(228, 224, 216, .78);
  padding-block: var(--section);
}
.make .display { color: var(--linen); }
.make :focus-visible { outline-color: var(--pine); }

.make-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.make-head h2 { grid-column: 1 / 8; }
.make-head p  { grid-column: 9 / 13; margin: 0; font-size: 17px; }

.make-body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: start;
}

.make-list {
  grid-column: 1 / 8;
  border-top: 1px solid rgba(233, 205, 148, .22);
}

.make-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 13.5rem);
  align-items: center;
  gap: 8px 32px;
  padding: 14px 0 12px;
  border-bottom: 1px solid rgba(233, 205, 148, .22);
  text-decoration: none;
}

.make-thumb { display: none; }
.make-thumb.pos-85 { --pos: 50% 85%; }
.make-thumb.pos-60 { --pos: 50% 60%; }

.make-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 4.3vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
  color: rgba(228, 224, 216, .3);
  transition: color .25s ease;
}
.make-desc {
  font-size: 15px;
  line-height: 1.45;
  color: rgba(228, 224, 216, .5);
  transition: color .25s ease;
}

.make-row.is-active .make-name { color: var(--pine); }
.make-row.is-active .make-desc { color: rgba(228, 224, 216, .9); }

.make-preview {
  grid-column: 9 / 13;
  position: sticky;
  top: 32px;
  aspect-ratio: 1;
}
.make-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  opacity: 0;
  transition: opacity .35s ease;
}
.make-preview img.is-active { opacity: 1; }

.make-more {
  margin: clamp(36px, 4vw, 56px) 0 0;
  font-size: 17px;
}
.make-more a {
  color: var(--pine);
  text-underline-offset: 4px;
}

/* ---------- QR ---------- */

.qr {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  padding-block: var(--section);
  align-items: start;
}
.qr-main { grid-column: 1 / 7; }
.qr-copy { grid-column: 8 / 13; padding-top: clamp(0px, 3vw, 48px); }
.qr-copy h2 { margin-bottom: clamp(28px, 3vw, 44px); }
.qr-second { margin-top: clamp(32px, 4vw, 56px); }

/* ---------- Selected work ---------- */

.work { padding-bottom: var(--section); }

.work-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: clamp(32px, 4vw, 56px);
  margin-bottom: clamp(32px, 4vw, 56px);
  border-top: 1.5px solid var(--char);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(40px, 4vw, 64px) clamp(16px, 2vw, 32px);
}
.work-grid img { width: 100%; height: 100%; object-fit: cover; }
.work-grid figure { display: flex; flex-direction: column; }
.work-grid figure > a { flex: 1; min-height: 0; display: block; }

.w-roche    { grid-column: 1 / 9; }
.w-roche img { aspect-ratio: 4 / 3; }
.w-bookmark { grid-column: 9 / 13; }
.w-lid      { grid-column: 1 / 5; }
.w-coasters { grid-column: 5 / 9; margin-top: clamp(0px, 6vw, 96px); }
.w-stands   { grid-column: 9 / 13; }
.w-lid img, .w-coasters img, .w-stands img { aspect-ratio: 3 / 4; }

/* ---------- CTA ---------- */

.cta {
  padding-bottom: var(--section);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: start;
}
.cta h2 {
  grid-column: 1 / 9;
  font-size: clamp(64px, 10vw, 168px);
  line-height: 0.84;
}
.cta-body { grid-column: 9 / 13; }
.cta-body p { margin-bottom: 28px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1.5px solid var(--char);
  padding-block: clamp(40px, 5vw, 64px);
  font-size: 15px;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  grid-template-areas:
    "logo tagline contact nav"
    "logo legal   contact nav";
  column-gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.footer-logo {
  grid-area: logo;
  width: 92px;
  mix-blend-mode: multiply;
}
.footer-tagline {
  grid-area: tagline;
  font-family: var(--display);
  font-weight: 800;
  font-size: 34px;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--char);
  margin: 4px 0 0;
}
.site-footer nav { grid-area: nav; }
.site-footer nav ul { display: flex; gap: 28px; }
.site-footer nav a { text-decoration: none; font-weight: 500; }
.site-footer nav a:hover { color: var(--kiaat); }
.footer-legal {
  grid-area: legal;
  align-self: end;
  margin: 0;
  color: var(--graphite-soft);
}

/* ---------- Brands ---------- */

.brands {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  column-gap: clamp(16px, 2vw, 32px);
  padding-bottom: var(--section);
  align-items: start;
}
.brands-title {
  grid-column: 1 / 5;
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--char);
}
.brands-intro {
  grid-column: 1 / 5;
  grid-row: 2;
  font-size: 16px;
  color: var(--graphite-soft);
  max-width: 22em;
}
.brands-list {
  grid-column: 6 / 13;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 48px);
  border-top: 1.5px solid var(--char);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--graphite);
}
.brands-list li {
  padding: 12px 0 11px;
  border-bottom: 1px solid rgba(33, 26, 21, .2);
}

/* ---------- Workshop wall ---------- */

.wall-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 32px;
  margin: clamp(80px, 9vw, 136px) 0 clamp(28px, 3vw, 40px);
  padding-top: 24px;
  border-top: 1px solid rgba(33, 26, 21, .2);
}
.wall-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--char);
}
.wall-head p { margin: 0; font-size: 16px; color: var(--graphite-soft); }

.wall {
  column-count: 4;
  column-gap: clamp(14px, 1.8vw, 28px);
}
.wall-item {
  break-inside: avoid;
  margin-bottom: clamp(22px, 2.4vw, 36px);
}
.wall-item figcaption { margin-top: 8px; }
.wall.is-collapsed .wall-item:nth-child(n + 13) { display: none; }

.wall-more { margin-top: 12px; }

.btn-outline {
  background: transparent;
  color: var(--char);
  box-shadow: inset 0 0 0 1.5px var(--char);
  border: 0;
  cursor: pointer;
}
.btn-outline:hover { background: var(--char); color: var(--linen); }

a.lb { display: block; cursor: zoom-in; overflow: hidden; }
a.lb img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
a.lb:hover img { transform: scale(1.025); }

/* ---------- Contact lines ---------- */

.cta-body .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.contact-lines {
  margin: 36px 0 0;
  border-top: 1.5px solid var(--char);
}
.contact-lines > div {
  padding: 14px 0;
  border-bottom: 1px solid rgba(33, 26, 21, .2);
}
.contact-lines dt { font-size: 14px; color: var(--graphite-soft); }
.contact-lines dd { margin: 2px 0 0; font-size: 19px; font-weight: 600; color: var(--char); }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { color: var(--kiaat); }

.footer-contact {
  grid-area: contact;
  font-style: normal;
  line-height: 1.7;
}
.footer-contact a { text-decoration: none; font-weight: 500; }
.footer-contact a:hover { color: var(--kiaat); }

/* ---------- Photo viewer ---------- */

.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(33, 26, 21, .97);
  color: var(--linen);
}
.lightbox::backdrop { background: rgba(33, 26, 21, .6); }
.lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    ".    .      close"
    "fig  fig    fig"
    "prev count  next";
  gap: 12px var(--gutter);
  padding: 16px var(--gutter) 20px;
}
.lightbox-figure {
  grid-area: fig;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(100% - 40px);
  object-fit: contain;
}
.lightbox-caption { color: rgba(228, 224, 216, .8); font-size: 15px; text-align: center; }
.lightbox-btn {
  background: none;
  border: 0;
  padding: 10px 4px;
  font: 600 16px/1 var(--text);
  color: var(--linen);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(233, 205, 148, .4);
  text-underline-offset: 5px;
}
.lightbox-btn:hover { color: var(--pine); }
.lightbox :focus-visible { outline-color: var(--pine); }
.lightbox-close { grid-area: close; justify-self: end; }
.lightbox-prev  { grid-area: prev;  justify-self: start; }
.lightbox-next  { grid-area: next;  justify-self: end; }
.lightbox-count { grid-area: count; align-self: center; margin: 0; font-size: 14px; color: rgba(228, 224, 216, .6); }

/* ---------- Inner pages: intro ---------- */

.page-intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: end;
  padding-top: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(48px, 6vw, 96px);
}
.page-title {
  grid-column: 1 / 9;
  font-size: clamp(72px, 10vw, 168px);
  line-height: 0.82;
  white-space: nowrap;
}
.page-intro .lede { grid-column: 9 / 13; margin: 0; }

/* ---------- Portfolio: category bar ---------- */

.catnav {
  position: sticky;
  top: 0;
  z-index: 15;
  background: var(--linen);
  border-top: 1.5px solid var(--char);
  border-bottom: 1px solid rgba(33, 26, 21, .2);
}
.catnav ul {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-block: 2px;
}
.catnav ul::-webkit-scrollbar { display: none; }
.catnav a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 15px 0 13px;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.catnav a:hover { color: var(--kiaat); }
.catnav a.is-current { border-bottom-color: var(--kiaat); color: var(--char); }
.catnav-count { font-size: 12.5px; color: var(--graphite-soft); }

/* ---------- Portfolio: categories ---------- */

.cat {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: start;
  padding-block: clamp(56px, 7vw, 112px);
  scroll-margin-top: 54px;
}
.cat + .cat { border-top: 1px solid rgba(33, 26, 21, .2); }

.cat-head {
  grid-column: 1 / 5;
  position: sticky;
  top: 86px;
}
.cat-title {
  font-size: clamp(48px, 5.2vw, 84px);
  margin-bottom: 22px;
}
.cat-head p { font-size: 16.5px; max-width: 24em; }
.cat-meta { color: var(--graphite-soft); font-size: 14.5px !important; }
.cat-head .text-link { font-size: 15.5px; }

.cat-pieces {
  grid-column: 6 / 13;
  column-count: 2;
  column-gap: clamp(14px, 1.8vw, 28px);
}
.piece {
  break-inside: avoid;
  margin-bottom: clamp(22px, 2.4vw, 36px);
}
.piece figcaption { margin-top: 8px; }

.cta-portfolio { padding-top: clamp(56px, 7vw, 112px); border-top: 1.5px solid var(--char); margin-top: 0; }

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: start;
  padding-bottom: var(--section);
}
.contact-aside { grid-column: 1 / 5; }
.quote-form { grid-column: 6 / 13; }

.contact-lines-lg { margin-top: 0; }
.contact-lines-lg dd { font-size: clamp(19px, 1.5vw, 23px); }

.aside-title,
.form-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--char);
}
.aside-title { font-size: 30px; margin: clamp(40px, 4vw, 56px) 0 14px; }
.form-title { font-size: clamp(40px, 4vw, 60px); margin-bottom: 28px; }

.include-list { margin: 0 0 18px; }
.include-list li {
  position: relative;
  padding: 9px 0 9px 22px;
  font-size: 16px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(33, 26, 21, .14);
}
.include-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 8px;
  height: 8px;
  background: var(--kiaat);
}
.aside-note { font-size: 15px; color: var(--graphite-soft); }
.aside-note a { color: var(--char); }
.contact-photo { margin-top: clamp(32px, 4vw, 56px); }

/* Form */
.quote-form {
  border-top: 1.5px solid var(--char);
  padding-top: clamp(28px, 3vw, 40px);
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(16px, 2vw, 28px);
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--char);
}
.req { font-weight: 400; color: var(--graphite-soft); font-size: 13.5px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font: 400 16.5px/1.4 var(--text);
  color: var(--char);
  background: #EEEBE5;
  border: 1px solid rgba(33, 26, 21, .32);
  border-radius: 2px;
  transition: border-color .15s ease, background-color .15s ease;
}
.field textarea { resize: vertical; min-height: 150px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--char) 50%), linear-gradient(135deg, var(--char) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field input::placeholder,
.field textarea::placeholder { color: #8C8780; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(33, 26, 21, .6); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--kiaat);
  outline-offset: 0;
  border-color: var(--kiaat);
  background: #F3F1EC;
}
.field [aria-invalid="true"] { border-color: #A3341F; }
.field-error { margin: 6px 0 0; font-size: 14px; color: #A3341F; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 8px;
}
.form-actions .btn { border: 0; cursor: pointer; }
.form-actions .btn[disabled] { opacity: .6; cursor: progress; }
.form-note { margin: 0; font-size: 15px; color: var(--graphite-soft); }

.form-status {
  margin-bottom: 26px;
  padding: 16px 18px;
  font-size: 16px;
  border-left: 4px solid var(--char);
  background: #EEEBE5;
  color: var(--char);
}
.form-status.is-success { border-left-color: #4E6B3A; }
.form-status.is-error { border-left-color: #A3341F; }
.form-status:focus { outline: none; }

/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 1040px) {
  .wall { column-count: 3; }
  .make-row { grid-template-columns: 1fr; gap: 6px; padding-block: 16px; }
  .make-head h2 { grid-column: 1 / -1; margin-bottom: 20px; }
  .make-head p  { grid-column: 1 / 9; }
}

@media (max-width: 899px) {
  /* Header becomes a toggled menu */
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 2px;
    background: none;
    border: 0;
    font: 600 16px/1 var(--text);
    color: var(--char);
    cursor: pointer;
  }
  .menu-toggle-bars,
  .menu-toggle-bars::before {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform .25s ease;
  }
  .menu-toggle-bars { position: relative; transform: translateY(-3px); }
  .menu-toggle-bars::before {
    content: "";
    position: absolute;
    top: 7px;
  }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars { transform: translateY(0) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(-7px) rotate(-90deg); }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 12px var(--gutter) 32px;
    background: var(--linen);
    border-bottom: 1.5px solid var(--char);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a {
    font-family: var(--display);
    font-weight: 800;
    font-size: 44px;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--char);
  }
  .site-nav ul a::after { display: none; }
  .site-nav ul a[aria-current="page"] { color: var(--kiaat); }

  /* Hero stacks */
  .hero { grid-template-columns: 1fr; padding-top: 8px; }
  .hero-copy, .hero-media { grid-column: 1; grid-row: auto; }
  .hero-copy { padding-bottom: 0; }
  .hero-title { width: auto; font-size: clamp(52px, 16vw, 128px); font-size: clamp(52px, 19.5cqi, 128px); }
  .hero-media { margin-top: 48px; }

  .about { grid-template-columns: 1fr; }
  .about-media { grid-column: 1; margin: 0 0 48px; width: 62%; max-width: 360px; }
  .about-copy { grid-column: 1; }

  .make-head { grid-template-columns: 1fr; }
  .make-head p { grid-column: 1; }
  .make-body { grid-template-columns: 1fr; }
  .make-list { grid-column: 1; }
  .make-preview { display: none; }

  .make-row {
    grid-template-columns: 84px minmax(0, 1fr);
    grid-template-areas:
      "thumb name"
      "thumb desc";
    column-gap: 18px;
    row-gap: 4px;
    align-items: center;
  }
  .make-thumb {
    display: block;
    grid-area: thumb;
    width: 84px;
    height: 84px;
    object-fit: cover;
    object-position: var(--pos, 50% 50%);
  }
  .make-name { grid-area: name; align-self: end; font-size: clamp(32px, 8.4vw, 52px); color: var(--pine); }
  .make-desc { grid-area: desc; align-self: start; color: rgba(228, 224, 216, .72); font-size: 14.5px; }

  .qr { grid-template-columns: 1fr; }
  .qr-main, .qr-copy { grid-column: 1; }
  .qr-copy { margin-top: 48px; }

  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .w-roche { grid-column: 1 / -1; }
  .w-bookmark, .w-lid, .w-coasters, .w-stands { grid-column: auto; margin-top: 0; }
  .w-bookmark img { aspect-ratio: 3 / 4; }
  .work-grid figure { display: block; }
  .work-grid img { height: auto; }

  .brands { grid-template-columns: 1fr; }
  .brands-title, .brands-intro, .brands-list { grid-column: 1; grid-row: auto; }
  .brands-list { margin-top: 20px; }

  .wall { column-count: 2; }

  .page-intro { grid-template-columns: 1fr; }
  .page-title, .page-intro .lede { grid-column: 1; }
  .page-title { margin-bottom: 28px; font-size: clamp(56px, 16vw, 132px); }

  .cat { grid-template-columns: 1fr; }
  .cat-head { grid-column: 1; position: static; margin-bottom: 32px; }
  .cat-pieces { grid-column: 1; column-count: 2; column-gap: 14px; }

  .contact { grid-template-columns: 1fr; }
  .contact-aside { grid-column: 1; margin-bottom: 56px; }
  .quote-form { grid-column: 1; }
  .contact-photo { display: none; }

  .cta { grid-template-columns: 1fr; }
  .cta h2, .cta-body { grid-column: 1; }
  .cta h2 { margin-bottom: 28px; font-size: clamp(60px, 16vw, 120px); }

  .footer-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo tagline"
      "contact contact"
      "nav  nav"
      "legal legal";
    row-gap: 28px;
  }
  .footer-logo { width: 76px; }
}

@media (max-width: 520px) {
  .brand span { font-size: 16px; }
  .hero .actions { gap: 20px 28px; }
  .woods { grid-template-columns: 1fr; }
  .site-footer nav ul { flex-wrap: wrap; gap: 12px 24px; }
  figcaption { font-size: 13px; }
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .burn img { clip-path: none; animation: none; }
  .burn::after { display: none; }
  .make-preview img, .make-name, .make-desc { transition: none; }
}

/* Tablet portrait: keep the stacked hero photo from dominating the screen */
@media (min-width: 600px) and (max-width: 899px) {
  .burn img { aspect-ratio: 5 / 4; object-fit: cover; }
}

@media (max-width: 520px) {
  .brands-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

.privacy-note { margin: 20px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--graphite-soft); max-width: 34em; }
