/* =========================================================
   Sanctum Apparel — homepage (single page) — earthy neutrals, textile language
   ========================================================= */
:root {
  /* Palette — team feedback round 2: two main colours for everything, one brown for small text details */
  --olive: #3C3E34;
  --cream: #EAE1D0;
  --accent: #8A5C4C;        /* only for eyebrows, italic taglines, small numbers, the dot */
  /* older names kept as aliases so every rule resolves to the two colours */
  --paper: var(--cream);
  --linen: var(--cream);
  --blush: var(--cream);
  --sage: var(--cream);
  --clay: var(--accent);
  --clay-ink: var(--accent);
  --olive-deep: var(--olive);
  --ink: var(--olive);
  --ink-soft: rgba(60, 62, 52, .78);
  --rule: rgba(60, 62, 52, .18);
  --gap: clamp(112px, 15vw, 220px);
  --col-gap: clamp(32px, 6vw, 96px);   /* one gap between columns everywhere, so text lands on the same 5/12 and 7/12 lines (final feedback) */   /* one vertical gap between every section (team feedback round 3) */

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1400px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.7 var(--sans);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
::selection { background: var(--olive); color: var(--paper); }
:focus-visible { outline: 1px solid var(--olive); outline-offset: 4px; }

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

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.eyebrow, .label-tag, .fig-cap {
  font: 500 .7rem/1.4 var(--sans);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.idx { color: var(--clay-ink); margin-right: .9em; font-feature-settings: "tnum"; }
.fig-cap { letter-spacing: .18em; font-size: .64rem; font-weight: 400; }
.label-tag { color: var(--accent); margin-bottom: 1.1rem; display: flex; align-items: center; gap: .9em; }
.label-tag::before { content: ""; width: 22px; height: 1px; background: currentColor; }

.h2 {
  font: 500 clamp(2.1rem, 3.8vw, 3.5rem)/1.08 var(--serif);
  letter-spacing: -.005em;
  margin: 0;
  color: var(--ink);
}
.h2 em, .h3 em { color: var(--olive); }
.h3 {
  font: 500 clamp(1.8rem, 2.6vw, 2.5rem)/1.1 var(--serif);
  margin: 0 0 .6em;
}
.amp { font-style: italic; color: var(--clay-ink); }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
p { margin: 0 0 1.1em; }

/* Section head: index + hairline rule */
.section-head { display: flex; align-items: center; gap: 28px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .eyebrow { white-space: nowrap; }
.stitch, .section-head hr {
  flex: 1; border: 0; height: 1px; margin: 0;
  background: var(--rule);
  transform-origin: left;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 18px;
  padding: 15px 22px 15px 26px;
  background: var(--olive); color: var(--paper);
  font: 500 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  border: 0; cursor: pointer; overflow: hidden;
  transition: background .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2);
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn span, .btn i { position: relative; }
/* eyelet — like the punched hole in a swing tag */
.btn__eyelet { width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; }
.btn--full { width: 100%; justify-content: space-between; margin-top: 12px; }

.btn-line {
  font: 500 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  padding: 12px 18px; border: 1px solid var(--rule); transition: border-color .3s, background .3s, color .3s;
}
.btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  padding-block: 8px; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size .5s var(--ease-out);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Grain + seam progress ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.18 0 0 0 0 0.16 0 0 0 0 0.14 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.seam-progress {
  position: fixed; right: 18px; top: 50%; translate: 0 -50%; z-index: 80;
  width: 2px; height: 26vh; border-radius: 2px; overflow: hidden;
  background: var(--rule);
}
.seam-progress span { position: absolute; inset: 0; background: var(--olive); transform: scaleY(0); transform-origin: top; }
@media (max-width: 760px) { .seam-progress { display: none; } }

/* ---------- Loader: swatch book ---------- */
.loader {
  position: fixed; inset: 0; z-index: 150; background: var(--linen);
  --fw: clamp(180px, 22vw, 280px);            /* frame width; JS uses the same formula */
}
.loader__stage { position: absolute; inset: 0; overflow: hidden; clip-path: inset(50% 50% 50% 50%); }
.loader__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) sepia(.08); }
.loader__stage img:not(:first-child) { clip-path: inset(100% 0 0 0); }
.loader__brand { position: absolute; top: clamp(24px, 5vh, 44px); left: 50%; translate: -50% 0; height: 34px; width: auto; }
.loader__foot { position: absolute; left: var(--gutter); bottom: clamp(24px, 5vh, 44px); margin: 0; font: 500 .62rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }
.loader__count { position: absolute; right: var(--gutter); bottom: clamp(16px, 4vh, 34px); margin: 0; font: 500 clamp(2rem, 4vw, 3rem)/1 var(--serif); color: var(--ink); font-feature-settings: "tnum", "lnum"; }
@media (max-width: 560px) { .loader__foot { display: none; } }
.reduced .loader { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .6s var(--ease-out);
}
.nav.is-scrolled { background: rgba(234, 225, 208, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--rule); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; gap: 40px; height: 92px; }
.wordmark { min-width: 0; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 38px); margin-left: auto; }
.nav__links a {
  font: 500 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
  padding-block: 8px; position: relative; transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.wordmark__name { font: 500 1.6rem/1 var(--serif); letter-spacing: .34em; text-transform: uppercase; margin-right: -.34em; }
.wordmark__sub { font: 500 .52rem/1 var(--sans); letter-spacing: .48em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; margin-right: -.48em; }

.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ink); transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.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); }
.mobile-menu { display: grid; gap: 4px; padding: 12px var(--gutter) 32px; background: var(--paper); border-top: 1px solid var(--rule); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font: 500 1.9rem/1.5 var(--serif); }

@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
}

/* ---------- Image masks ---------- */
.img-mask { overflow: hidden; position: relative; background: var(--linen); clip-path: inset(0 0 0 0); }
.img-mask img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) sepia(.08); transition: transform 1.4s var(--ease-out); }

/* ---------- Hero: full-bleed slideshow ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; color: var(--linen); background: var(--ink); }
.hero__slides { position: absolute; inset: -6% 0 0; }
.hero__slide { position: absolute; inset: 0; margin: 0; overflow: hidden; visibility: hidden; }
.hero__slide.is-active { visibility: visible; z-index: 2; }
.hero__slide.is-prev { visibility: visible; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) sepia(.08); }
.hero__shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(38, 40, 33, .62) 0%, rgba(38, 40, 33, .28) 45%, rgba(38, 40, 33, 0) 72%),
    linear-gradient(0deg, rgba(38, 40, 33, .55) 0%, rgba(38, 40, 33, 0) 50%),
    linear-gradient(180deg, rgba(38, 40, 33, .35) 0%, rgba(38, 40, 33, 0) 22%);
}
.hero__content { position: relative; z-index: 4; padding-bottom: clamp(48px, 9vh, 96px); }
.hero__eyebrow { color: rgba(234, 225, 208, .85); margin-bottom: 24px; display: flex; align-items: center; gap: 16px; }
.hero__eyebrow::after { content: ""; width: 48px; height: 1px; background: rgba(234, 225, 208, .55); }
.hero__title { font: 500 clamp(2.8rem, 5.6vw, 5.2rem)/1.02 var(--serif); letter-spacing: -.01em; margin: 0 0 34px; max-width: 12ch; color: var(--linen); }
.hero__title em { color: var(--blush); }
.hero__steps { display: flex; flex-wrap: wrap; gap: 6px 30px; margin-bottom: 42px; }
.hero__step {
  position: relative; background: none; border: 0; padding: 12px 0; cursor: pointer;
  font: 500 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: rgba(234, 225, 208, .55); transition: color .4s;
}
.hero__step::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(234, 225, 208, .22); }
.hero__step i { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 1; background: var(--linen); transform: scaleX(0); transform-origin: left; }
.hero__step:hover, .hero__step[aria-current="true"] { color: var(--linen); }
.reduced .hero__step[aria-current="true"] i { transform: none; }
.hero__step:focus-visible { outline-color: var(--linen); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; }
.hero .link-arrow { color: var(--linen); }
.hero__num { position: absolute; z-index: 4; right: var(--gutter); bottom: clamp(48px, 9vh, 96px); margin: 0; font: 500 1rem/1 var(--serif); letter-spacing: .12em; color: rgba(234, 225, 208, .7); }
.hero__num b { font-weight: 500; color: var(--linen); }
.btn--light { background: var(--linen); color: var(--ink); }
.btn--light::before { background: rgba(60, 62, 52, .1); }
@media (max-width: 700px) {
  /* on phones the text spans the full width, so darken the lower half evenly for legibility */
  .hero__shade { background: linear-gradient(0deg, rgba(38, 40, 33, .78) 0%, rgba(38, 40, 33, .5) 45%, rgba(38, 40, 33, .15) 75%, rgba(38, 40, 33, .35) 100%); }
  .hero__step { color: rgba(234, 225, 208, .8); }
  .hero__num { display: none; }
  .hero__title { max-width: none; }
  .hero__steps { gap: 4px 22px; }
  .hero__eyebrow::after { display: none; }
}

/* Header sits over the hero until the page scrolls */
.wordmark .logo-light { display: none; }
.nav:not(.is-scrolled) .wordmark .logo-dark { display: none; }
.nav:not(.is-scrolled) .wordmark .logo-light { display: block; }
.nav:not(.is-scrolled) .nav__links a { color: rgba(234, 225, 208, .82); }
.nav:not(.is-scrolled) .nav__links a:hover, .nav:not(.is-scrolled) .nav__links a.is-active { color: var(--linen); }
.nav:not(.is-scrolled) .btn-line { color: var(--linen); border-color: rgba(234, 225, 208, .5); }
.nav:not(.is-scrolled) .btn-line:hover { background: var(--linen); color: var(--ink); }
.nav:not(.is-scrolled) .nav__toggle span { background: var(--linen); }

/* ---------- About ---------- */
.about__intro { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; margin-bottom: clamp(56px, 8vw, 112px); }
.about__text { max-width: 34rem; }
.hubs { display: grid; gap: clamp(64px, 9vw, 128px); }
.hub { display: grid; grid-template-columns: 5fr 7fr; gap: var(--col-gap); align-items: start; }
.hub--alt { grid-template-columns: 7fr 5fr; }
.hub--alt .hub__img { order: 2; }
.hub__img { aspect-ratio: 1193 / 1319; }   /* both photos in the Tirupur format (team feedback round 2) */
.hub__lead { font: 500 1.4rem/1.45 var(--serif); color: var(--ink); max-width: 30rem; }
.pull { font: 500 1.9rem/1.2 var(--serif); color: var(--clay-ink); margin: 28px 0; }
.spec { margin: 28px 0 0; display: grid; }
.spec > div { display: grid; grid-template-columns: 11rem 1fr; gap: 20px; padding-block: 18px; border-top: 1px solid var(--rule); }
.spec dt { font: 500 .72rem/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.spec dd { margin: 0; color: var(--ink-soft); font-size: .94rem; }

@media (max-width: 900px) {
  .about__intro, .hub { grid-template-columns: 1fr; }
  .hub--alt .hub__img { order: 0; }
  .spec > div { grid-template-columns: 1fr; gap: 4px; }
}


/* ---------- What we do ---------- */
.what { background: var(--linen); }
.what__intro { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; margin-bottom: clamp(64px, 9vw, 120px); }
.what__lede { font: 500 1.4rem/1.45 var(--serif); margin: 0; }

.design { display: grid; grid-template-columns: 7fr 5fr; gap: var(--col-gap); align-items: center; }
.design__imgs { position: relative; }
.design__img--a { aspect-ratio: 1509 / 1042; }   /* the jersey tech board, shown whole */
.design__cap { position: absolute; left: 0; bottom: 0; }

.ticklist { list-style: none; padding: 0; margin: 28px 0 0; columns: 2; column-gap: 32px; }
.ticklist li { break-inside: avoid; padding: 11px 0 11px 22px; position: relative; font-size: .94rem; border-top: 1px solid var(--rule); }
.ticklist li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: var(--clay); }

@media (max-width: 900px) {
  .what__intro, .design { grid-template-columns: 1fr; }
  .ticklist { columns: 1; }
}

/* ---------- Network ---------- */
.network__intro { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.network__intro p { margin: 0; font: 500 1.4rem/1.45 var(--serif); }
.route { width: 100%; height: 110px; margin-block: 32px 24px; overflow: visible; }
.route path { fill: none; vector-effect: non-scaling-stroke; }
.route__base { stroke: var(--rule); stroke-width: 1; }
.route__draw { stroke: var(--clay); stroke-width: 1.2; }

.labels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
/* every card shares the row's three tracks (photo, label, description), so labels match in height and descriptions start on one line */
.label { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
.label__img { aspect-ratio: 1193 / 1319; }   /* matches the Tirupur photo so it shows whole; all cards share it to stay aligned */
.label:hover .label__img img { transform: scale(1.05); }
/* woven care label */
.label__woven {
  position: relative; margin: -34px 12px 0; padding: 22px 16px 16px; text-align: center; display: flex; flex-direction: column;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--rule), 0 18px 30px -24px rgba(60, 62, 52, .35);
}
.label__region { font: 500 .6rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--clay-ink); margin: 0 0 10px; }
.label__woven h3 { font: 600 1.35rem/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; margin: 0 0 8px; }
.label__role { font-size: .78rem; line-height: 1.45; color: var(--ink-soft); margin: 0 0 10px; min-height: 2.3em; }
.label__time { font: 500 .64rem/1 var(--sans); letter-spacing: .2em; color: var(--olive); margin: auto 0 0; font-feature-settings: "tnum"; }
.label__note { margin: 22px 4px 0; font-size: .86rem; color: var(--ink-soft); }

/* six across: names set a touch smaller so Barcelona and Los Angeles stay on one line */
@media (min-width: 1101px) { .label__woven { margin-inline: 8px; padding-inline: 10px; } .label__woven h3 { font-size: clamp(.86rem, 1.05vw, 1.1rem); letter-spacing: .12em; white-space: nowrap; } }
@media (max-width: 1100px) { .labels { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; } }
.markets-line { margin: clamp(48px, 6vw, 80px) 0 0; padding-top: 24px; border-top: 1px solid var(--rule); font: 500 1.25rem/1.5 var(--serif); }
.markets-line span { margin-right: 1.2em; font: 500 .66rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 900px) { .network__intro { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .labels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; row-gap: 40px; }
  .label__woven { margin-inline: 6px; padding-inline: 10px; }
  .label__woven h3 { font-size: 1.05rem; letter-spacing: .12em; }
  .route { height: 60px; }
  .hero__eyebrow::after { display: none; }
}

/* ---------- Quality ---------- */
.quality__grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--col-gap); align-items: start; }
.quality__lead p { max-width: 30rem; margin-top: 28px; color: var(--ink-soft); }
.quality__lead { position: sticky; top: 120px; }

.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
/* pinked edge — as if cut with pinking shears */
.swatch {
  --z: 7px;
  aspect-ratio: 1; padding: 22px; position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--sw);
  background-image: repeating-linear-gradient(45deg, rgba(60, 62, 52,.035) 0 1px, transparent 1px 4px), repeating-linear-gradient(-45deg, rgba(60, 62, 52,.035) 0 1px, transparent 1px 4px);
  mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--z) * 2) 51% repeat-x,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--z) * 2) 51% repeat-x;
  cursor: default;
}
.swatch__no { font: 500 .62rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.swatch__name { font: 500 clamp(1.15rem, 1.6vw, 1.45rem)/1.15 var(--serif); }


@media (max-width: 900px) {
  .quality__grid { grid-template-columns: 1fr; }
  .quality__lead { position: static; }
}
@media (max-width: 560px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .swatch { padding: 18px; } }

/* ---------- Philosophy ---------- */
.philosophy { position: relative; padding-block: var(--gap) 0; background: var(--linen); text-align: center; }
.philosophy .eyebrow { margin-bottom: 36px; }
.philosophy__q { font: 500 clamp(1.9rem, 3.6vw, 3.3rem)/1.18 var(--serif); max-width: 24ch; margin: 0 auto; }
.philosophy__q em { color: var(--olive); }
.philosophy__cols { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; max-width: 900px; margin: 64px auto 0; text-align: left; padding-top: 32px; border-top: 1px solid var(--rule); }
.philosophy__cols p:first-child { font: 500 1.35rem/1.4 var(--serif); font-style: italic; }
.philosophy__cols p { color: var(--ink-soft); margin: 0; }
@media (max-width: 700px) { .philosophy__cols { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { padding-bottom: clamp(96px, 12vw, 160px); }
.contact__grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--col-gap); align-items: start; }
.contact__copy .eyebrow { margin-bottom: 28px; }
.contact__copy > p.reveal { max-width: 32rem; margin-top: 28px; color: var(--ink-soft); }
.contact__img { aspect-ratio: 1; margin-top: 48px; width: 82%; }   /* square: the moodboard photo shown whole */

.enquiry { background: var(--linen); padding: clamp(28px, 4vw, 52px); position: relative; }
.field { position: relative; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--rule); background: transparent;
  font: 400 1.05rem/1.5 var(--sans); color: var(--ink); padding: 26px 0 10px; resize: vertical; border-radius: 0;
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--olive); }
.field label {
  position: absolute; left: 0; top: 26px; pointer-events: none;
  font: 500 .72rem/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft);
  transition: transform .35s var(--ease-out), color .3s;
  transform-origin: left;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-20px) scale(.85); color: var(--olive); }
.field__err { display: block; min-height: 1.2em; font-size: .78rem; color: var(--clay-ink); padding-top: 4px; }
.field.is-invalid input { border-color: var(--clay-ink); }

.chips { border: 0; padding: 0; margin: 22px 0 10px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { font: 500 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: 10px 16px; border: 1px solid var(--rule); font-size: .84rem; transition: background .3s, color .3s, border-color .3s; }
.chips input:checked + span { background: var(--olive); color: var(--paper); border-color: var(--olive); }
.chips input:focus-visible + span { outline: 1px solid var(--olive); outline-offset: 3px; }
.enquiry__done, .enquiry__error { margin: 18px 0 0; font: 500 1.2rem/1.4 var(--serif); font-style: italic; color: var(--olive); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }   /* spam trap, hidden from people */

@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .contact__img { width: 100%; } }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--olive-deep); color: var(--linen); padding-block: clamp(72px, 9vw, 120px) 28px; }
.footer__base::before { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: rgba(234, 225, 208, .18); }
.footer__top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.4fr; gap: clamp(32px, 4vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); }
.footer__brand .wordmark { align-items: flex-start; }
.footer__brand .wordmark__name { margin-right: 0; }
.wordmark--foot .wordmark__sub { color: var(--sage); }
.footer__tag { font: 500 1.45rem/1.3 var(--serif); margin: 32px 0 12px; }
.footer__tag em { color: var(--blush); }
.footer__note { font-size: .9rem; color: rgba(234, 225, 208, .65); max-width: 22rem; margin: 0; }
.footer__h { font: 500 .66rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: rgba(234, 225, 208, .65); margin: 6px 0 22px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer__col a:not(.btn) {
  font-size: .95rem; color: rgba(234, 225, 208, .78); padding-block: 5px;
  background: linear-gradient(var(--blush), var(--blush)) left bottom / 0 1px no-repeat;
  transition: color .3s, background-size .5s var(--ease-out);
}
.footer__col a:not(.btn):hover { color: var(--linen); background-size: 100% 1px; }
.footer__enquire p:not(.footer__h) { font-size: .9rem; color: rgba(234, 225, 208, .65); margin: 0 0 24px; max-width: 20rem; }
.footer .btn--light { background: var(--linen); color: var(--olive-deep); }
.footer .btn--light::before { background: rgba(60, 62, 52, .1); }
.footer__base { position: relative; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-top: 26px; font-size: .74rem; letter-spacing: .06em; color: rgba(234, 225, 208, .55); }
.footer__base::before { top: 0; }
.footer__base p { margin: 0; }
.footer__up { display: inline-flex; align-items: center; gap: 8px; font: 500 .66rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: rgba(234, 225, 208, .8); padding-block: 8px; }
.footer__up svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform .4s var(--ease-out); }
.footer__up:hover { color: var(--linen); }
.footer__up:hover svg { transform: translateY(-3px); }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand, .footer__enquire { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__base { flex-direction: column; align-items: flex-start; } }

/* ---------- Logo (client artwork, one-colour) ---------- */
/* sized by width with height following, so the logo can shrink on narrow screens without being squashed (was height-fixed, which distorted it) */
.wordmark img { display: block; width: 247px; height: auto; max-width: 100%; }   /* 58px tall: +40% then −10% (team feedback) */
.wordmark--foot img { height: auto; width: min(100%, 300px); }
@media (max-width: 560px) { .wordmark img { width: 210px; } .nav__inner { height: 84px; } }   /* 49px tall */

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
