/* ============================================================
   PT Woodline Global — "Heartwood & Drawing Board"
   Palette from teak · Fraunces / Archivo / IBM Plex Mono
   ============================================================ */

:root {
  --heartwood: #201611;
  --espresso: #2c1f16;
  --paper: #ede7dc;
  --paper-deep: #e4dccd;
  --oat: #e6dccb;
  --oat-dim: #b8a88f;
  --teak-oil: #b07a33;
  --teak-bright: #cf9a52;
  --canopy: #47523e;
  --line-dark: #3a2e22;
  --line-light: #d3c9b6;
  --ink: #262019;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --sec-gap: clamp(64px, 12vw, 170px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
img[loading="lazy"] { animation: img-fade-in 0.6s ease-out both; }
@keyframes img-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

a { color: inherit; text-decoration: none; }

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

/* skip-to-content link (hidden until focused) */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 999;
  background: var(--teak-oil);
  color: #fff8ee;
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* active/tap states for mobile touch */
.btn-solid:active {
  background: #9a6a2b;
  transform: scale(0.97);
}
.btn-ghost:active {
  background: rgba(230, 220, 203, 0.15);
}
.wa-btn:active {
  transform: scale(0.95);
}

.plate:active .plate-img img {
  transform: scale(1.03);
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- type ---------- */

/* Justify per client request — but only the wide flowing prose blocks
   (About/Founder story), and only while their column is actually wide
   enough. Justify without hyphenation reads badly in narrow columns:
   short lines leave large uneven gaps between words. A container query
   (not a viewport media query) drives this because the same element can
   be narrow OR wide at the same viewport width depending on which grid
   layout is active (e.g. about-copy is ~390px in the 2-column desktop
   grid but ~800px in the single-column tablet grid) — a fixed viewport
   breakpoint can't track that, but querying the element's own rendered
   width always gets it right. */
.about-copy,
.founder-content {
  container-type: inline-size;
}
.about-copy p:not(.about-tag),
.founder-content p {
  text-align: left;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}
@container (min-width: 480px) {
  .about-copy p:not(.about-tag),
  .founder-content p {
    text-align: justify;
    text-align-last: left;
  }
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 620;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

h2 { font-size: clamp(1.9rem, 3.9vw, 3.3rem); color: inherit; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teak-oil);
  margin-bottom: 1.4rem;
}

.mono-cap {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oat-dim);
}

.sec-lede {
  max-width: 34em;
  margin-top: 1.4rem;
  font-size: 1.05rem;
  color: inherit;
  opacity: 0.82;
}

.section { padding-top: var(--sec-gap); padding-bottom: var(--sec-gap); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.15em 2.1em;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-solid {
  background: var(--teak-oil);
  color: #fff8ee;
}
.btn-solid:hover { background: var(--teak-bright); color: var(--heartwood); }

.btn-ghost {
  border-color: rgba(230, 220, 203, 0.45);
  color: var(--oat);
}
.btn-ghost:hover { border-color: var(--oat); background: rgba(230, 220, 203, 0.08); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  transition: padding 0.35s ease, box-shadow 0.35s ease;
  color: var(--oat);
}

/* The scrolled backdrop lives on a pseudo-element rather than directly on
   .nav — applying backdrop-filter to .nav itself would make it a new
   containing block for its position:fixed mobile menu (#navLinks), causing
   that full-screen overlay to collapse to the nav bar's own height instead
   of covering the viewport (reproduces right after scrolling + reopening
   the mobile menu). */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(32, 22, 17, 0);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease;
}

.nav.scrolled::before {
  background: rgba(32, 22, 17, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.nav.scrolled {
  padding: 10px 0;
  box-shadow: 0 1px 0 rgba(230, 220, 203, 0.12);
}

.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand-mark { width: clamp(70px, 8vw, 100px); height: clamp(70px, 8vw, 100px); flex: none; border-radius: 8px; object-fit: cover; margin-top: -6px; }
.brand { margin-left: -4px; }
.brand-text {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: clamp(0.72rem, 2.5vw, 0.98rem);
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brand-text em {
  font-style: normal;
  font-weight: 350;
  color: var(--teak-bright);
}
@media (max-width: 480px) {
  .brand-text { font-size: 0.7rem; letter-spacing: 0.08em; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
  font-size: 0.76rem;
  font-weight: 550;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links > a:not(.btn) {
  opacity: 0.85;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.nav-links > a:not(.btn):hover { opacity: 1; border-bottom-color: var(--teak-bright); }

.btn-nav { padding: 0.7em 1.4em; font-size: 0.84rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 60;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--oat);
  transition: transform 0.3s ease, top 0.3s ease;
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- S1 hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* clearance under the fixed nav for short viewports where content
     grows past 100svh — without it the eyebrow renders behind the brand */
  padding-top: clamp(80px, 12vh, 130px);
  color: var(--oat);
  background: var(--heartwood);
  overflow: hidden;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 80% 8%;
  animation: hero-zoom 14s ease-out forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1.09); }
  to   { transform: scale(1); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(32, 22, 17, 0.96) 0%, rgba(32, 22, 17, 0.5) 42%, rgba(32, 22, 17, 0.4) 100%),
    linear-gradient(105deg, rgba(32, 22, 17, 0.55) 0%, rgba(32, 22, 17, 0.1) 82%);
}

.hero-rings {
  position: absolute;
  right: -12vw;
  top: 50%;
  transform: translateY(-58%);
  width: min(62vw, 780px);
  height: auto;
  color: var(--teak-bright);
  opacity: 0.17;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.hero h1 {
  font-size: clamp(1.5rem, 2.7vw, 2.6rem);
  font-weight: 620;
  line-height: 1.16;
  letter-spacing: -0.005em;
  color: #f4ecdd;
  max-width: 13em;
  overflow-wrap: break-word;
}

.hero .eyebrow { color: var(--teak-bright); margin-bottom: 1rem; }

.hero-rule {
  display: block;
  width: 46px;
  height: 2px;
  margin-bottom: 1.3rem;
  background: linear-gradient(90deg, var(--teak-bright), transparent);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2rem;
}

.hero-spec {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  width: 100%;
  margin: 3.6rem auto 0;
  padding: 1.4rem var(--pad) calc(1.8rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 64px);
  border-top: 1px solid rgba(230, 220, 203, 0.18);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(230, 220, 203, 0.75);
}

.hero-spec i {
  font-style: normal;
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teak-bright);
  margin-bottom: 0.35em;
}

/* hero load orchestration */
.hero-line {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-line.l1 { animation-delay: 0.15s; }
.hero-line.l2 { animation-delay: 0.3s; }
.hero-line.l3 { animation-delay: 0.5s; }
.hero-line.l4 { animation-delay: 0.68s; }
.hero-line.l5 { animation-delay: 0.9s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- S2 about ---------- */

.about { background: var(--paper); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.about-copy h2 { color: var(--heartwood); margin-bottom: 1.6rem; }
.about-copy p { max-width: 32em; margin-bottom: 1.1rem; }
.about-tag {
  margin-top: 1.8rem;
  padding: 1.2rem 1.4rem;
  background: var(--paper-deep);
  border-left: 3px solid var(--teak-oil);
  font-size: 0.92rem;
  border-radius: 0 8px 8px 0;
}

.about-media { margin-top: 1rem; }

.annotated { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.annotated img { width: 100%; height: 100%; object-fit: cover; object-position: 35% center; }

/* dimension-line annotation — the drawing-board detail */
.dim {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--espresso);
}
.dim b { font-weight: 400; }
.dim-x {
  left: 8%;
  right: 8%;
  bottom: calc(-1 * clamp(28px, 4vw, 34px));
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid var(--espresso);
}
.dim-x::before,
.dim-x::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 1px;
  height: 11px;
  background: var(--espresso);
}
.dim-x::before { left: 0; }
.dim-x::after { right: 0; }

.about-media .mono-cap {
  display: block;
  margin-top: clamp(40px, 5vw, 54px);
  color: #8a7a61;
}

/* ---------- materials ---------- */
.about-materials { margin-top: clamp(64px, 9vw, 120px); }
.about-materials h2 { color: var(--heartwood); margin-bottom: 1.6rem; }
.materials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0.6rem;
}
.material-chip {
  display: inline-block;
  padding: 0.55em 1.2em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--paper-deep);
  border: 1px solid var(--line-light);
  border-radius: 999px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.material-chip:hover {
  background: var(--teak-oil);
  border-color: var(--teak-oil);
  color: #fff8ee;
}

/* ---------- founder ---------- */
.about-founder {
  margin-top: clamp(64px, 9vw, 120px);
  padding: clamp(36px, 4vw, 56px);
  background: var(--paper-deep);
  border-radius: 16px;
  border: 1px solid var(--line-light);
}
.about-founder h2 { color: var(--heartwood); margin-bottom: 1.4rem; }
.about-founder p { max-width: 38em; margin-bottom: 1rem; }
.about-founder p:last-child { margin-bottom: 0; }

.process { margin-top: clamp(64px, 9vw, 120px); }

.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 44px);
  margin-top: 0.6rem;
  counter-reset: step;
}

.process-steps li {
  border-top: 1px solid var(--line-light);
  padding-top: 1.2rem;
  transition: border-color 0.3s ease;
}
.process-steps li:hover { border-top-color: var(--teak-oil); }

.step-no {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--teak-oil);
}

.process-steps h3 {
  font-size: 1.24rem;
  margin: 0.7rem 0 0.55rem;
  color: var(--heartwood);
}

.process-steps p { font-size: 0.92rem; opacity: 0.8; }

/* ---------- S3 collections ---------- */

.collections {
  background: var(--paper-deep);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.collections h2 { color: var(--heartwood); }

.plates {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3.4vw, 48px);
  margin-top: clamp(44px, 6vw, 76px);
}

.plate { display: block; }

.plate-img {
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--line-light);
}

.plate-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.plate:focus-visible .plate-img img { transform: scale(1.045); }

@media (hover: hover) and (pointer: fine) {
  .plate:hover .plate-img img { transform: scale(1.045); }
}

.plate-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: baseline;
  padding-top: 1.1rem;
}

.plate-meta .mono-cap { color: var(--teak-oil); }

.plate-meta h3 {
  font-size: 1.6rem;
  color: var(--heartwood);
  transition: color 0.25s ease;
}
.plate:hover .plate-meta h3 { color: var(--teak-oil); }

.plate-meta p {
  grid-column: 2;
  font-size: 0.92rem;
  opacity: 0.75;
  margin-top: 0.3rem;
}

.workshop-strip { margin-top: clamp(56px, 7vw, 96px); }
.workshop-strip > .mono-cap {
  display: block;
  color: var(--teak-oil);
  margin-bottom: 1rem;
}
.workshop-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
}
.workshop-strip-item {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line-light);
}
.workshop-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- S4 why ---------- */

.why {
  background: var(--heartwood);
  color: var(--oat);
}

.why h2 { color: #f4ecdd; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
  margin-top: clamp(44px, 6vw, 72px);
}

.why-item {
  display: flex;
  flex-direction: column;
  background: rgba(230, 220, 203, 0.045);
  border: 1px solid rgba(230, 220, 203, 0.08);
  border-radius: 12px;
  padding: clamp(24px, 2.6vw, 36px);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .why-item:hover {
    background: rgba(230, 220, 203, 0.075);
    border-color: rgba(207, 154, 82, 0.3);
    transform: translateY(-4px);
  }
}

.why-icon {
  width: 40px;
  height: 40px;
  color: var(--teak-bright);
  margin-bottom: 1.2rem;
  flex: none;
}

.why-item .mono-cap {
  color: var(--teak-oil);
  font-size: 0.65rem;
  margin-bottom: 0.3rem;
}

.why-item h3 {
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  white-space: nowrap;
  margin: 0.3rem 0 0.7rem;
  color: #f4ecdd;
}

.why-item p {
  font-size: 0.88rem;
  color: rgba(230, 220, 203, 0.65);
  line-height: 1.55;
  flex: 1;
}

.why-markets { margin-top: clamp(64px, 8vw, 110px); }
.why-markets h2 { color: #f4ecdd; margin-bottom: 2rem; }
.why-markets-note {
  display: inline-block;
  margin-top: 1.8rem;
  padding: 0.7em 1.1em;
  border: 1px solid rgba(230, 220, 203, 0.18);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(230, 220, 203, 0.7);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .why-markets-note:hover {
    color: var(--teak-bright);
    border-color: rgba(207, 154, 82, 0.4);
    background: rgba(230, 220, 203, 0.045);
  }
}
.markets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
}
.market-region {
  padding: 1.4rem;
  background: rgba(230, 220, 203, 0.045);
  border: 1px solid rgba(230, 220, 203, 0.08);
  border-radius: 12px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .market-region:hover {
    background: rgba(230, 220, 203, 0.075);
    border-color: rgba(207, 154, 82, 0.3);
  }
}
.market-region .mono-cap {
  display: block;
  color: var(--teak-bright);
  font-size: 0.65rem;
  margin-bottom: 0.6rem;
}
.market-region span:last-child {
  display: block;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(230, 220, 203, 0.75);
}

.why-quote {
  text-align: center;
  margin-top: clamp(72px, 9vw, 130px);
  padding: clamp(40px, 5vw, 64px) clamp(28px, 3.6vw, 48px);
  background: rgba(230, 220, 203, 0.035);
  border-radius: 16px;
  border: 1px solid rgba(230, 220, 203, 0.06);
}

.why-quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 2.1rem);
  font-weight: 320;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #f4ecdd;
}

.why-quote blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 0.6;
  color: var(--teak-bright);
  opacity: 0.5;
  margin-bottom: 0.6rem;
}

.why-quote cite {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teak-bright);
}

.why-quote cite {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teak-bright);
}

/* ---------- S6 footer ---------- */

.footer {
  background: #fff;
  color: var(--ink);
  padding: clamp(60px, 6vw, 90px) 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
}

.footer-col { display: flex; flex-direction: column; }

.footer-logo { width: clamp(90px, 12vw, 140px); height: clamp(90px, 12vw, 140px); margin-bottom: 0.8rem; border-radius: 8px; }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(38, 32, 25, 0.6);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teak-oil);
  margin-bottom: 1rem;
}

.footer-col nav a,
.footer-col > a:not(.btn) {
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--ink);
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
.footer-col nav a:hover,
.footer-col > a:not(.btn):hover {
  opacity: 1;
  color: var(--teak-bright);
}

.footer-contact-item {
  margin-bottom: 0.7rem;
}
.fc-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(38, 32, 25, 0.4);
  margin-bottom: 1px;
}
.footer-contact-item a,
.footer-contact-item span:last-child {
  font-size: 0.88rem;
  color: var(--ink);
  opacity: 0.8;
}
.footer-contact-item a:hover {
  opacity: 1;
  color: var(--teak-bright);
}

.footer-address {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(38, 32, 25, 0.65);
  margin-bottom: 1.2rem;
}

.footer-cta {
  display: inline-flex;
  font-size: 0.82rem;
  padding: 8px 18px;
}

.footer-bottom {
  margin-top: clamp(40px, 5vw, 60px);
  padding: 20px 0;
  border-top: 1px solid rgba(38, 32, 25, 0.1);
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(38, 32, 25, 0.4);
}

/* ---------- WhatsApp floating button ---------- */

.wa-btn {
  position: fixed;
  right: calc(clamp(16px, 3vw, 32px) + env(safe-area-inset-right, 0px));
  bottom: calc(clamp(16px, 3vw, 32px) + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex;
  align-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 19px;
  box-shadow: 0 8px 24px rgba(32, 22, 17, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  animation: wa-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.7s backwards;
}

.wa-btn svg { width: 32px; height: 32px; flex: none; }
.wa-btn::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: rgba(37, 211, 102, 0.25);
  animation: wa-pulse 2.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0; }
}

@media (hover: hover) and (pointer: fine) {
  .wa-btn:hover {
    background: #1fbd5a;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(32, 22, 17, 0.38);
  }
}

.wa-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: max-width 0.4s ease, padding 0.4s ease;
}

.wa-btn:hover .wa-label,
.wa-btn:focus-visible .wa-label {
  max-width: 220px;
  padding-left: 12px;
  padding-right: 8px;
}

@keyframes wa-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in { opacity: 1; transform: none; }

/* staggered reveal for grid items */
.plates .reveal:nth-child(1).in { transition-delay: 0s; }
.plates .reveal:nth-child(2).in { transition-delay: 0.1s; }
.plates .reveal:nth-child(3).in { transition-delay: 0.2s; }
.plates .reveal:nth-child(4).in { transition-delay: 0.3s; }
.why-grid .reveal:nth-child(1).in { transition-delay: 0s; }
.why-grid .reveal:nth-child(2).in { transition-delay: 0.08s; }
.why-grid .reveal:nth-child(3).in { transition-delay: 0.16s; }
.why-grid .reveal:nth-child(4).in { transition-delay: 0.24s; }
.process-steps li:nth-child(1) { transition-delay: 0s; }
.process-steps li:nth-child(2) { transition-delay: 0.08s; }
.process-steps li:nth-child(3) { transition-delay: 0.16s; }
.process-steps li:nth-child(4) { transition-delay: 0.24s; }
/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .process-steps,
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { max-width: none; }
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; }

  /* the desktop nav needs ~900px — collapse to the overlay menu below 960
     so tablets and landscape phones never see wrapped/clipped links */
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    background: rgba(32, 22, 17, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    font-size: 1.3rem;
    transform: translateY(-100%);
    visibility: hidden;
    overscroll-behavior: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0s 0.4s;
  }
  .nav-links.open {
    transform: none;
    visibility: visible;
    transition-delay: 0s, 0s;
  }
  .nav-links > a {
    padding: 10px 0;
    min-width: 200px;
    text-align: center;
  }
  .nav { color: var(--oat); }
  .btn-nav { padding: 0.9em 1.7em; font-size: 0.8rem; }
  .hero-spec { gap: clamp(12px, 2.4vw, 40px); }
  .plate-meta { grid-template-columns: auto 1fr; }
  .workshop-strip-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .plates,
  .process-steps { grid-template-columns: 1fr; }
  .workshop-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .markets-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-col:first-child { grid-column: 1 / -1; margin-bottom: 4px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-brand { flex-direction: row; align-items: center; gap: 14px; }
  .footer-logo { width: 74px; height: 74px; margin-bottom: 0; flex: none; }
  .footer-brand p { font-size: 0.82rem; margin: 0; }
  .footer-heading { font-size: 0.68rem; margin-bottom: 0.7rem; font-weight: 600; font-stretch: 125%; }
  .footer-col nav a,
  .footer-col > a:not(.btn) { font-size: 0.82rem; padding: 3px 0; }
  .footer-contact-item { margin-bottom: 0.5rem; }
  .fc-label { font-size: 0.58rem; }
  .footer-contact-item a,
  .footer-contact-item span:last-child { font-size: 0.8rem; }
  .footer-address { font-size: 0.8rem; margin-bottom: 1rem; }
  .footer-cta { font-size: 0.76rem; padding: 6px 16px; }
  .footer-bottom { margin-top: 24px; padding: 14px 0; }
  .footer-bottom p { font-size: 0.7rem; }

  .hero h1 { font-size: clamp(1.8rem, 8.6vw, 3.2rem); }

  .hero-spec {
    flex-direction: column;
    gap: 10px;
    margin-top: 2rem;
  }

  .hero-rings { right: -40vw; opacity: 0.12; }

  /* stacked CTAs read unfinished at ragged widths — go full-width */
  .hero-cta .btn { flex: 1 1 100%; text-align: center; }

  /* plate captions: hanging indent wastes width on a phone — stack instead */
  .plate-meta { grid-template-columns: 1fr; row-gap: 2px; }
  .plate-meta p { grid-column: 1; }

  /* keep the page's final scroll position clear of the WhatsApp button */
  .footer { padding: clamp(40px, 5vw, 60px) 0 80px; }

  /* small mono captions were at the edge of legibility */
  .dim { font-size: 0.68rem; }
  .about-media .mono-cap { font-size: 0.74rem; color: #6f6049; }

  /* tighter hero spacing on phones */
  .hero { padding-top: clamp(70px, 10vh, 100px); }
  .hero .eyebrow { font-size: 0.65rem; letter-spacing: 0.16em; }

  /* narrow/tall viewport crops the source sideways instead of top-to-bottom —
     a less extreme shift keeps a whole chair in frame instead of just its arm */
  .hero-media img { object-position: 92% 20%; }
  .annotated img { object-position: center 40%; }
  .hero-spec { font-size: 0.68rem; }
  .hero-spec i { font-size: 0.58rem; }

  /* collection plates: slight touch gap on mobile */
  .plate { margin-bottom: 4px; }

  /* smoother scroll on mobile */
  .nav-links.open { -webkit-overflow-scrolling: touch; }
}

/* short viewports (most real phones are ~640-720px tall): tighten the hero
   rhythm so eyebrow + headline + CTAs + spec strip fit without crowding */
@media (max-height: 720px) {
  .hero .eyebrow { margin-bottom: 1rem; }
  .hero-cta { margin-top: 1.6rem; }
  .hero-spec { margin-top: 2rem; }
}

/* landscape phones */
@media (max-height: 500px) {
  .hero h1 { font-size: clamp(1.6rem, 7vh, 2.6rem); }
  .hero .eyebrow { margin-bottom: 0.7rem; }
  .hero-cta { margin-top: 1.2rem; }
  .hero-spec { margin-top: 1.4rem; padding-bottom: 1rem; }
}

@media (max-width: 420px) {
  h2 br { display: none; }
  .hero .eyebrow { letter-spacing: 0.14em; }
}

@media (max-width: 400px) {
  .wa-btn { padding: 16px; }
  .wa-btn svg { width: 28px; height: 28px; }
}

@media (max-width: 360px) {
  .nav-inner { gap: 10px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  .hero-line { animation: none; opacity: 1; transform: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .plate-img img { transition: none; }
  .wa-btn { animation: none; }
  .wa-label { transition: none; }
}
