/* =========================================================
   House of Origin — HO2
   Design system v4

   Palette direction: deep espresso base, warm ivory, roasted
   earth, olive, brass used sparingly, terracotta selectively.
   The two origins carry subtle sub-identities through
   --accent, set by [data-origin] — one house, two lands.
   ========================================================= */

:root {
  /* base */
  --espresso: #191108;
  --espresso-2: #241A11;
  --espresso-3: #33261A;

  /* earth — Ethiopia / coffee */
  --coffee: #6B4A2E;
  --coffee-mid: #8A6242;
  --coffee-soft: #A9856A;
  --roast: #4A2F1C;

  /* olive — Tunisia / olive oil */
  --olive: #55663A;
  --olive-mid: #6F8150;
  --olive-deep: #3B4728;

  /* light surfaces */
  --ivory: #F8F3E9;
  --cream: #F0E7D7;
  --limestone: #E9E2D3;
  --sand: #D9C6A5;
  --white: #FFFCF6;

  /* metal + clay, used sparingly */
  --brass: #A08334;
  --brass-2: #C4A55C;
  --brass-soft: #DCC384;
  --terracotta: #B4674A;

  /* text */
  --ink: #1E150C;
  --muted: #6E5C4A;
  --muted-2: #8A7A69;

  /* lines */
  --line: rgba(25, 17, 8, 0.12);
  --line-2: rgba(25, 17, 8, 0.22);
  --line-dark: rgba(248, 243, 233, 0.16);

  /* accent — overridden per origin */
  --accent: var(--coffee);
  --accent-mid: var(--coffee-mid);
  --tint: rgba(107, 74, 46, 0.07);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gut: clamp(20px, 4.4vw, 64px);
  --band: clamp(68px, 8.5vw, 132px);
  --nav-h: clamp(88px, 8.4vw, 118px);
  --logo-h: clamp(72px, 8.8vw, 118px);
  --motto-h: 36px;
  --shadow: 0 26px 60px -30px rgba(25, 17, 8, 0.45);
}

[data-origin="coffee"] {
  --accent: var(--coffee);
  --accent-mid: var(--coffee-mid);
  --tint: rgba(107, 74, 46, 0.07);
}
[data-origin="olive"] {
  --accent: var(--olive);
  --accent-mid: var(--olive-mid);
  --tint: rgba(85, 102, 58, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: calc(var(--nav-h) + var(--motto-h) + 12px); }
html, body { margin: 0; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--sans); font-size: 0.86em; background: var(--cream); padding: 2px 7px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--espresso); color: var(--ivory); }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--espresso);
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 5.9rem); }
h2 { font-size: clamp(1.95rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.26rem, 1.7vw, 1.72rem); line-height: 1.2; }
p { margin: 0 0 1em; color: var(--muted); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 500; }
strong { font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; flex: none; }
.eyebrow.plain::before { display: none; }

.lede {
  font-size: clamp(1.05rem, 1.2vw, 1.26rem);
  line-height: 1.62;
  color: var(--roast);
  max-width: 46ch;
}
.pull {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.16;
  font-style: italic;
  color: var(--espresso);
  max-width: 20ch;
  margin: 0;
}
.num {
  font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.8; color: var(--accent); margin-bottom: 18px; opacity: 0.75;
}
.motto {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1.2; color: var(--espresso);
}

.wrap { width: min(1240px, 100% - var(--gut) * 2); margin-inline: auto; }
.wide { width: min(1560px, 100% - var(--gut)); margin-inline: auto; }
.narrow { width: min(760px, 100% - var(--gut) * 2); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-fill { background: var(--espresso); color: var(--ivory); }
.btn-fill:hover { background: var(--espresso-3); }
.btn-line { color: var(--espresso); border-color: var(--line-2); }
.btn-line:hover { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--espresso); }
.btn-light:hover { background: var(--white); }
.btn-ghost { color: var(--ivory); border-color: rgba(248, 243, 233, 0.45); }
.btn-ghost:hover { background: rgba(248, 243, 233, 0.12); }
.btn-brass { background: var(--brass); color: #1B1508; }
.btn-brass:hover { background: var(--brass-2); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.tlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.69rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--espresso); padding-bottom: 5px;
  border-bottom: 1px solid var(--line-2);
  transition: 0.35s var(--ease);
}
.tlink::after { content: "\2192"; transition: transform 0.35s var(--ease); }
.tlink:hover { color: var(--accent); border-color: var(--accent); }
.tlink:hover::after { transform: translateX(5px); }
.tlink.on-dark { color: var(--ivory); border-color: rgba(248, 243, 233, 0.38); }
.tlink.on-dark:hover { color: var(--brass-soft); border-color: var(--brass-soft); }

/* ---------- header ---------- */
/* The wrapper must not add a box of its own around the header. */
#site-chrome { display: contents; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 600; background: var(--white); padding: 10px 16px; }

.progress {
  position: fixed; top: 0; left: 0; z-index: 120;
  height: 2px; width: 0; background: var(--brass);
  transition: width 0.15s linear;
}

/* Fixed rather than sticky on every page. Sticky depends on no ancestor
   creating a scroll container or losing its box, and this header sits inside a
   display:contents wrapper under a body that clips overflow-x — a combination
   Safari in particular refuses to stick. Fixed has no such dependency. */
.site-header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 80;
  background: rgba(248, 243, 233, 0.92);
  backdrop-filter: blur(20px) saturate(1.15);
  border-bottom: 1px solid var(--line);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease);
}
/* the header is out of flow, so reserve its space — except on the home page,
   where it is meant to overlay the hero */
body:not([data-page="home"]):not(.has-photo-hero) { padding-top: calc(var(--nav-h) + var(--motto-h)); }
.nav {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 16px;
  min-height: var(--nav-h);
  transition: min-height 0.5s var(--ease);
}
.menu-panel { display: contents; }
.nav-side { display: flex; align-items: center; justify-content: flex-end; gap: 2px; grid-row: 1; grid-column: 1; padding-inline-end: 4px; }
.nav-side.right { justify-content: flex-start; grid-column: 3; padding-inline-end: 0; padding-inline-start: 4px; }
.nav-side a {
  position: relative; padding: 10px 11px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.nav-side a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav-side a:hover::after, .nav-side a.active::after { transform: scaleX(1); }
.nav-side a.active { color: var(--brass); }
.nav-side a.cta {
  border: 1px solid var(--line-2); margin-left: 10px; padding: 11px 18px;
}
.nav-side a.cta::after { display: none; }
.nav-side a.cta:hover { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }

.brand {
  grid-column: 2; grid-row: 1;
  display: flex; align-items: center; justify-self: center;
}
.brand-mark {
  height: var(--logo-h); width: auto; max-width: min(46vw, 240px);
  transition: height 0.5s var(--ease);
}
.brand-mark-inverse { display: none; }
body.has-photo-hero .site-header:not(.scrolled) .brand-mark-color,
body[data-page="home"] .site-header:not(.scrolled) .brand-mark-color { display: none; }
body.has-photo-hero .site-header:not(.scrolled) .brand-mark-inverse,
body[data-page="home"] .site-header:not(.scrolled) .brand-mark-inverse { display: block; }
.site-header.scrolled .nav { min-height: 78px; }
.site-header.scrolled .brand-mark { height: 72px; }

body.has-photo-hero .site-header,
body[data-page="home"] .site-header {
  background: linear-gradient(180deg, rgba(15, 10, 5, 0.6), transparent);
  border-color: transparent; backdrop-filter: none;
}
body.has-photo-hero .site-header .nav-side a,
body.has-photo-hero .site-header .brand,
body.has-photo-hero .site-header .menu-btn,
body[data-page="home"] .site-header .nav-side a,
body[data-page="home"] .site-header .brand,
body[data-page="home"] .site-header .menu-btn { color: var(--ivory); }
body.has-photo-hero .site-header .nav-side a.cta,
body[data-page="home"] .site-header .nav-side a.cta { border-color: rgba(248, 243, 233, 0.4); }
body.has-photo-hero .site-header .nav-side a.cta:hover,
body[data-page="home"] .site-header .nav-side a.cta:hover { background: var(--ivory); color: var(--espresso); border-color: var(--ivory); }
body.has-photo-hero .site-header.scrolled,
body[data-page="home"] .site-header.scrolled {
  background: rgba(248, 243, 233, 0.95);
  backdrop-filter: blur(20px) saturate(1.15);
  border-color: var(--line);
}
body.has-photo-hero .site-header.scrolled .nav-side a,
body.has-photo-hero .site-header.scrolled .brand,
body.has-photo-hero .site-header.scrolled .menu-btn,
body[data-page="home"] .site-header.scrolled .nav-side a,
body[data-page="home"] .site-header.scrolled .brand,
body[data-page="home"] .site-header.scrolled .menu-btn { color: var(--espresso); }
body.has-photo-hero .site-header.scrolled .nav-side a.cta,
body[data-page="home"] .site-header.scrolled .nav-side a.cta { border-color: var(--line-2); }

.menu-btn {
  display: none; width: 46px; height: 46px; position: relative;
  border: 1px solid currentColor; justify-self: end;
}
.menu-btn i {
  position: absolute; left: 13px; right: 13px; height: 1.4px; background: currentColor;
  transition: 0.4s var(--ease);
}
.menu-btn i:nth-child(1) { top: 17px; }
.menu-btn i:nth-child(2) { bottom: 17px; }
.menu-btn[aria-expanded="true"] i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { bottom: 22px; transform: rotate(-45deg); }

.motto-bar {
  display: block; text-align: center;
  min-height: var(--motto-h); line-height: var(--motto-h);
  padding: 0 16px;
  background: var(--espresso); color: var(--ivory);
  font-family: var(--serif); font-size: clamp(0.88rem, 1.4vw, 1.12rem);
  font-style: italic; letter-spacing: 0.04em; white-space: nowrap;
  border-top: 1px solid rgba(248, 243, 233, 0.12);
}
.motto-bar:hover { color: var(--brass-soft); }

body.has-photo-hero .motto-bar,
body[data-page="home"] .motto-bar {
  background: rgba(15, 10, 5, 0.72);
  border-top-color: rgba(248, 243, 233, 0.16);
}
body.has-photo-hero .site-header.scrolled .motto-bar,
body[data-page="home"] .site-header.scrolled .motto-bar {
  background: var(--espresso);
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  color: var(--ivory); overflow: hidden; isolation: isolate;
}
.hero .bg, .product-hero .bg, .page-hero .bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%; z-index: -2;
}
.hero .bg { animation: kenburns 28s var(--ease) forwards; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(15, 10, 5, 0.58), rgba(15, 10, 5, 0.26) 55%, rgba(15, 10, 5, 0.72)),
    linear-gradient(180deg, rgba(15, 10, 5, 0.6), rgba(15, 10, 5, 0.14) 38%, rgba(15, 10, 5, 0.9));
}
.hero-copy {
  position: relative;
  padding: clamp(64px, 9vh, 110px) var(--gut) clamp(96px, 12vh, 150px);
  max-width: 1000px;
}
body.has-photo-hero .hero-copy,
body[data-page="home"] .hero-copy { padding-top: calc(var(--nav-h) + var(--motto-h) + 28px); }
body.has-photo-hero .hero,
body[data-page="home"] .hero { min-height: 100svh; }
body.has-photo-hero .product-hero { min-height: 100svh; }
.hero h1 { color: var(--ivory); text-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); margin-bottom: 0.45em; }
.hero p { color: rgba(248, 243, 233, 0.92); margin-inline: auto; text-shadow: 0 10px 34px rgba(0, 0, 0, 0.45); }
.hero .eyebrow { color: var(--brass-soft); justify-content: center; }
.hero em, .product-hero em { color: var(--brass-soft); }
.hero-standard {
  margin: 0 auto 18px; max-width: 22ch;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.25;
  color: var(--brass-soft);
}

/* two clear paths, in the hero */
.paths-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; text-align: left; }
.path-card {
  display: grid; gap: 6px; padding: 22px 24px;
  border: 1px solid rgba(248, 243, 233, 0.28);
  background: rgba(15, 10, 5, 0.3);
  backdrop-filter: blur(6px);
  transition: 0.45s var(--ease);
}
.path-card:hover { background: rgba(15, 10, 5, 0.55); border-color: rgba(248, 243, 233, 0.55); transform: translateY(-3px); }
.path-card small {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brass-soft);
}
.path-card b {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  color: var(--ivory); line-height: 1.15;
}
.path-card span { font-size: 0.86rem; color: rgba(248, 243, 233, 0.75); }
.path-card i {
  font-style: normal; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ivory); margin-top: 6px;
}
.path-card i::after { content: " \2192"; }

.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  border-top: 1px solid rgba(248, 243, 233, 0.16);
  background: linear-gradient(180deg, transparent, rgba(15, 10, 5, 0.5));
}
.hero-foot .inner {
  display: grid; grid-template-columns: 1fr 1fr auto; align-items: center;
  gap: 24px; padding: 18px 0;
}
.hero-foot b {
  display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--ivory);
}
.hero-foot small { font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brass-soft); }
.hero-foot .hint { font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(248, 243, 233, 0.55); }

/* product hero */
.product-hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  color: var(--ivory); overflow: hidden; isolation: isolate;
}
.product-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15, 10, 5, 0.06) 26%, rgba(15, 10, 5, 0.52) 58%, rgba(15, 10, 5, 0.8) 100%);
}
.product-hero .copy {
  position: relative; width: min(540px, 100%); margin-left: auto;
  padding: calc(var(--nav-h) + var(--motto-h) + 28px) 0 clamp(56px, 8vh, 96px);
}
.product-hero .copy .eyebrow { color: var(--brass-soft); }
.product-hero h1 { color: var(--ivory); text-shadow: 0 18px 46px rgba(0, 0, 0, 0.45); }
.product-hero p { color: rgba(248, 243, 233, 0.92); text-shadow: 0 8px 26px rgba(0, 0, 0, 0.35); }

/* ---------- masthead ---------- */
/* The interior header is sticky and already occupies layout space,
   so the masthead must not add the nav height a second time. */
.masthead {
  position: relative;
  padding: clamp(42px, 5.2vw, 84px) 0 clamp(40px, 4.6vw, 68px);
  background: linear-gradient(180deg, var(--cream), var(--ivory));
  border-bottom: 1px solid var(--line);
}
.masthead.dark {
  background: var(--espresso);
  border-bottom: 0;
  color: rgba(248, 243, 233, 0.78);
}
.masthead.dark h1, .masthead.dark .rail-item b { color: var(--ivory); }
.masthead.dark .lede { color: rgba(248, 243, 233, 0.9); }
.masthead.dark .eyebrow, .masthead.dark .rail-item { color: var(--brass-2); }
.masthead.dark .rail-item { border-color: var(--line-dark); }
.masthead .inner {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: clamp(28px, 4vw, 72px); align-items: end;
}
.masthead h1 { font-size: clamp(2.35rem, 5.2vw, 4.8rem); max-width: 17ch; margin-bottom: 0.3em; }
.masthead .lede { max-width: 42ch; }
.masthead-tools { margin-top: 26px; }

/* Photo page header — same family as the home hero, shorter, unique image per page */
.page-hero {
  position: relative;
  min-height: min(72vh, 720px);
  display: grid;
  align-items: end;
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 10, 5, 0.45) 0%, rgba(15, 10, 5, 0.22) 38%, rgba(15, 10, 5, 0.82) 100%);
}
.page-hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: clamp(28px, 4vw, 72px); align-items: end;
  padding: calc(var(--nav-h) + var(--motto-h) + 36px) 0 clamp(36px, 5vh, 64px);
}
.page-hero h1 { color: var(--ivory); font-size: clamp(2.35rem, 5.2vw, 4.8rem); max-width: 17ch; margin-bottom: 0.3em; text-shadow: 0 18px 46px rgba(0, 0, 0, 0.45); }
.page-hero .lede { max-width: 42ch; color: rgba(248, 243, 233, 0.92); text-shadow: 0 8px 26px rgba(0, 0, 0, 0.35); }
.page-hero .eyebrow { color: var(--brass-soft); }
.page-hero .rail-item { color: var(--brass-2); border-color: var(--line-dark); }
.page-hero .rail-item b { color: var(--ivory); }
.page-hero .rail-item:last-child { border-bottom-color: var(--line-dark); }
.page-hero .filters button { color: var(--ivory); border-color: rgba(248, 243, 233, 0.28); }
.page-hero input, .page-hero label { color: var(--ivory); }
.page-hero input { border-bottom-color: rgba(248, 243, 233, 0.35); }
.page-hero .btn-fill { background: var(--ivory); color: var(--espresso); border-color: var(--ivory); }
.page-hero .btn-line { color: var(--ivory); border-color: rgba(248, 243, 233, 0.4); }

.rail { display: grid; align-content: end; }
.rail-item {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 13px 0; border-top: 1px solid var(--line);
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
}
.rail-item b {
  font-family: var(--serif); font-size: 1.02rem; font-weight: 500;
  letter-spacing: 0.03em; text-transform: none; color: var(--espresso); text-align: right;
}
.rail-item:last-child { border-bottom: 1px solid var(--line); }
a.rail-item:hover b { color: var(--accent); }

/* ---------- bands ---------- */
.band { padding: var(--band) 0; }
.band-cream { background: var(--cream); }
.band-white { background: var(--white); }
.band-stone { background: var(--limestone); }
.band-dark { background: var(--espresso); color: rgba(248, 243, 233, 0.78); }
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4 { color: var(--ivory); }
.band-dark p { color: rgba(248, 243, 233, 0.75); }
.band-dark .lede { color: rgba(248, 243, 233, 0.9); }
.band-dark .eyebrow { color: var(--brass-2); }
.band-dark .pull, .band-dark .motto { color: var(--ivory); }
.band-dark .num { color: var(--brass-2); }
/* Constrain the measure on the children, not the block: .section-head is
   usually also a .wrap, whose auto margins would centre a narrowed box. */
.section-head { margin-bottom: clamp(28px, 3.4vw, 52px); }
.section-head > h2, .section-head > h1, .section-head > p { max-width: 62ch; }

/* ---------- split lands ---------- */
.lands { display: grid; grid-template-columns: 1fr 1fr; }
.lands article {
  position: relative; min-height: min(78vh, 700px);
  display: grid; align-items: end; overflow: hidden; color: var(--ivory); isolation: isolate;
}
.lands img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 1.4s var(--ease);
}
.lands article::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 10, 5, 0.12) 20%, rgba(15, 10, 5, 0.85));
}
.lands article:hover img { transform: scale(1.05); }
.lands article + article { border-left: 1px solid var(--line-dark); }
.lands .copy { padding: clamp(28px, 3.4vw, 56px); }
.lands .eyebrow { color: var(--brass-soft); }
.lands h2 { color: var(--ivory); font-size: clamp(2.1rem, 4.2vw, 4rem); margin-bottom: 0.25em; }
.lands p { color: rgba(248, 243, 233, 0.86); max-width: 34ch; }
.lands .facts {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 20px;
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass-soft);
}

/* ---------- essay ---------- */
.essay {
  display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 4.4vw, 80px); align-items: start;
}
.essay > img { width: 100%; height: auto; }
.essay.even { grid-template-columns: 1fr 1fr; align-items: center; }
/* A <figure> is a plate or diagram and must be shown whole. Photographs keep their native ratio. */
.essay.even > img { width: 100%; height: auto; min-height: 0; object-fit: contain; }
.essay.even > figure { justify-self: center; max-width: 460px; }
.essay.even > figure > img { width: 100%; height: auto; min-height: 0; object-fit: contain; }

/* ---------- the standard: five pillars ---------- */
.standard { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.pillar {
  padding: clamp(26px, 2.4vw, 40px) clamp(18px, 1.6vw, 28px) clamp(32px, 3vw, 48px);
  border-right: 1px solid var(--line);
}
.pillar:first-child { border-left: 1px solid var(--line); }
.pillar-i {
  display: block; margin-bottom: 16px; color: var(--accent);
}
.pillar-i svg { width: 30px; height: 30px; }
.pillar h3 {
  font-family: var(--sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--espresso); margin-bottom: 12px;
}
.pillar p { font-size: 0.92rem; margin: 0; }
.band-dark .standard, .band-dark .pillar, .band-dark .pillar:first-child { border-color: var(--line-dark); }
.band-dark .pillar h3 { color: var(--ivory); }
.band-dark .pillar-i { color: var(--brass-2); }

.standard-motto {
  display: grid; gap: 18px; justify-items: center; text-align: center;
  padding: clamp(30px, 4vw, 56px) 0;
}
.standard-motto .motto {
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  max-width: 18ch;
}
.standard-motto .rule-line { width: 64px; height: 1px; background: var(--brass); }

/* ---------- data sheet ---------- */
.sheet { display: grid; gap: 0; }
.sheet-row {
  display: grid; grid-template-columns: minmax(140px, 0.42fr) 1fr; gap: 16px;
  padding: 13px 0; border-top: 1px solid var(--line); align-items: baseline;
}
.sheet-row:last-child { border-bottom: 1px solid var(--line); }
.sheet-row dt {
  font-size: 0.63rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
}
.sheet-row dd {
  margin: 0; font-family: var(--serif); font-size: 1.08rem; color: var(--espresso); line-height: 1.35;
}
.sheet-row dd small {
  display: block; font-family: var(--sans); font-size: 0.78rem; color: var(--muted); letter-spacing: 0;
}
.pending {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.pending::before {
  content: ""; width: 6px; height: 6px; border: 1px solid var(--brass); border-radius: 50%;
}
.sheet-note { margin-top: 18px; font-size: 0.84rem; color: var(--muted); max-width: 60ch; }

/* legal limit against house target — the comparison is the argument */
.sheet.compare .sheet-row { grid-template-columns: minmax(130px, 1.15fr) minmax(88px, 0.75fr) minmax(88px, 0.75fr); }
.sheet.compare dd { font-size: 1.02rem; }
.sheet.compare dd.ours { color: var(--accent); }
.sheet.compare dd small { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.58rem; margin-top: 3px; }

/* ---------- origin passport ---------- */
.passport { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.passport-card {
  position: relative; padding: clamp(26px, 3vw, 42px);
  background: var(--espresso); color: rgba(248, 243, 233, 0.8);
  border: 1px solid var(--espresso-3);
}
.passport-card .top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line-dark);
}
.passport-card .top small {
  display: block; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--brass-2); margin-bottom: 8px;
}
.passport-card .top b { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--ivory); }
.qr { width: 76px; height: 76px; flex: none; background: var(--ivory); padding: 7px; }
.passport-mobile-cta { display: none; }
.passport-card .passport-mobile-cta { margin: 16px 0 4px; }
.passport-card .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 4px; }
.passport-card .f { padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.passport-card .f span {
  display: block; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--brass-2); margin-bottom: 3px;
}
.passport-card .f i { font-style: normal; font-family: var(--serif); font-size: 1.02rem; color: var(--ivory); }
.passport-card .foot {
  margin-top: 20px; font-size: 0.74rem; letter-spacing: 0.02em; color: rgba(248, 243, 233, 0.55);
}

/* ---------- people / partners ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 26px); }
.person {
  display: grid; grid-template-rows: 260px auto; background: var(--white);
  border: 1px solid var(--line); overflow: hidden;
}
.person img { width: 100%; height: 100%; object-fit: cover; }
.person.product-card { grid-template-rows: auto auto; }
.person.product-card img,
img.contain {
  width: 100%; height: auto; object-fit: contain; background: var(--cream);
}
.person .body { padding: clamp(20px, 2vw, 28px); }
.person h3 { margin-bottom: 0.25em; }
.person .role {
  font-size: 0.63rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.person p { font-size: 0.92rem; margin: 0 0 14px; }
.person .status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.person .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }

/* ---------- visitor paths ---------- */
.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.path {
  display: grid; align-content: start; gap: 10px;
  padding: clamp(26px, 2.6vw, 40px) clamp(20px, 2vw, 30px) clamp(30px, 3vw, 44px);
  background: var(--ivory); transition: background 0.45s var(--ease);
}
.path:hover { background: var(--white); }
.path .who {
  font-size: 0.63rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
}
.path h3 { margin: 0; }
.path p { font-size: 0.92rem; margin: 0; }
.path .tlink { margin-top: 6px; justify-self: start; }
.band-dark .paths { background: var(--line-dark); }
.band-dark .path { background: var(--espresso); }
.band-dark .path:hover { background: var(--espresso-2); }
.band-dark .path .who { color: var(--brass-2); }

/* ---------- the future house ---------- */
.house-future {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; align-items: end; min-height: min(80vh, 720px); color: var(--ivory);
}
.house-future img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.house-future::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 10, 5, 0.5) 0%, rgba(15, 10, 5, 0.35) 40%, rgba(15, 10, 5, 0.92));
}
.house-future .copy { padding: clamp(40px, 6vw, 96px) 0; }
/* No photograph exists of a room that is not built — the plan variant
   is typographic on purpose. */
.house-future.plan {
  min-height: 0; align-items: center;
  background:
    radial-gradient(ellipse 60% 90% at 82% 50%, rgba(160, 131, 52, 0.14), transparent 70%),
    linear-gradient(160deg, var(--espresso-2), var(--espresso) 55%);
  border-top: 1px solid var(--espresso-3);
}
.house-future.plan::after { display: none; }
.house-future.plan .copy { padding: var(--band) 0; }
.house-future h2 { color: var(--ivory); }
.house-future .status-tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  padding: 8px 16px; border: 1px solid rgba(248, 243, 233, 0.4);
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brass-soft);
}
.house-future .status-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass-2); }
.house-future p { color: rgba(248, 243, 233, 0.86); }
.house-list {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 24px 0 28px; padding: 0; list-style: none;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ivory);
}
.house-list li { display: flex; align-items: center; gap: 10px; }
.house-list li::before { content: ""; width: 5px; height: 5px; background: var(--brass-2); }

/* ---------- join the house ---------- */
.join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.join-form { display: grid; gap: 16px; }
.join-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; }
.join .fine { font-size: 0.78rem; color: rgba(248, 243, 233, 0.6); max-width: 46ch; }
.join input {
  color: var(--ivory); border-bottom-color: rgba(248, 243, 233, 0.35);
  font-size: 1.05rem; padding-bottom: 12px;
}
.join input::placeholder { color: rgba(248, 243, 233, 0.4); }
.join input:hover, .join input:focus { border-bottom-color: var(--brass-2); }
.join label { color: var(--brass-2); }
.join .choice {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.join .choice label {
  display: inline-flex; flex-direction: row; align-items: center; gap: 8px;
  padding: 9px 14px; border: 1px solid rgba(248, 243, 233, 0.28);
  color: rgba(248, 243, 233, 0.8); cursor: pointer; transition: 0.3s var(--ease);
}
.join .choice label:hover { border-color: var(--brass-2); color: var(--ivory); }
.join .choice input { width: 13px; height: 13px; accent-color: var(--brass); }

/* ---------- lookbook ---------- */
.look {
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  border-top: 1px solid var(--line); background: var(--white);
}
.look.reverse .look-photo { order: 2; }
.look-photo { position: relative; background: var(--cream); display: grid; place-items: center; padding: clamp(22px, 3.4vw, 48px); }
.look-photo img { width: 100%; height: auto; max-height: min(68vh, 560px); object-fit: contain; }
.look:hover .look-photo img { transform: none; }
.shop-meta {
  font-size: 0.78rem; color: var(--muted); margin: 0 0 18px; max-width: 46ch;
}
.look-copy { display: grid; align-content: center; padding: clamp(32px, 4.4vw, 72px); }
.look-copy h2 { font-size: clamp(1.8rem, 2.7vw, 2.7rem); }
.notes { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.notes span {
  padding: 6px 12px; border: 1px solid var(--line);
  font-size: 0.63rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--coffee);
}
.price-line {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-bottom: 8px;
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
}
.look details { margin: 4px 0 22px; }
.look details summary {
  list-style: none; cursor: pointer;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--espresso); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.look details summary::-webkit-details-marker { display: none; }
.look details summary::after { content: "+"; color: var(--accent); font-size: 1rem; }
.look details[open] summary::after { content: "\2013"; }
.look details .sheet { margin-top: 4px; }

/* ---------- atlas ---------- */
.atlas { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(28px, 3.6vw, 60px); align-items: start; }
.region-list { border-top: 1px solid var(--line); }
.region-card {
  width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  padding: 16px 4px; text-align: left; border-bottom: 1px solid var(--line);
  transition: 0.35s var(--ease);
}
.region-card h3 { margin: 0; transition: color 0.3s var(--ease); }
.region-card .alt { font-size: 0.63rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.region-card:hover { padding-left: 12px; }
.region-card.on { background: var(--tint); padding-left: 12px; }
.region-card.on h3 { color: var(--accent); }
.region-detail {
  position: sticky; top: calc(var(--nav-h) + var(--motto-h) + 12px);
  padding: clamp(26px, 3vw, 44px); background: var(--white); border: 1px solid var(--line);
}
.region-detail h3 { font-size: clamp(1.7rem, 2.4vw, 2.4rem); }
.region-figure { margin: 0; }
.region-figure img { width: 100%; height: auto; object-fit: contain; border: 1px solid var(--line); }
.region-figure figcaption {
  margin-top: 12px; font-size: 0.63rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
}

/* ---------- flavor wheel ---------- */
.wheel-box { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.wheel-svg { width: 100%; height: auto; }
.wheel-svg path { cursor: pointer; stroke: var(--ivory); stroke-width: 1.5; transition: 0.35s var(--ease); transform-origin: 200px 200px; }
.wheel-svg path.on { opacity: 1; transform: scale(1.035); }
.wheel-svg text { pointer-events: none; }
.flavor-list { display: grid; border-top: 1px solid var(--line); }
.flavor {
  display: grid; grid-template-columns: 12px 1fr; gap: 14px; align-items: start;
  padding: 12px 6px; text-align: left; border-bottom: 1px solid var(--line);
  transition: 0.3s var(--ease);
}
.flavor:hover { background: var(--tint); }
.flavor.on { background: var(--tint); }
.flavor .swatch { width: 12px; height: 12px; margin-top: 8px; border-radius: 50%; }
.flavor b { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--espresso); }
.flavor span { font-size: 0.83rem; color: var(--muted); }

/* ---------- journey / ceremony ---------- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.j-step {
  padding: clamp(22px, 2.2vw, 32px) clamp(18px, 1.8vw, 28px) clamp(28px, 3vw, 40px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.j-step:nth-child(4n) { border-right: 0; }
.j-step .year { font-family: var(--serif); font-style: italic; font-size: 1.18rem; color: var(--accent); }
.j-step h3 { font-size: 1.28rem; margin: 2px 0 0.4em; }
.j-step p { font-size: 0.9rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 40px); counter-reset: s; }
.step { counter-increment: s; }
.step::before {
  content: counter(s, decimal-leading-zero);
  display: block; font-family: var(--serif); font-style: italic; font-size: 1.7rem;
  color: var(--accent); margin-bottom: 10px;
}
.step h3 { margin-bottom: 0.35em; }
.step p { font-size: 0.94rem; margin: 0; }
.band-dark .step::before { color: var(--brass-2); }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 18px; border: 1px solid var(--line-2);
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--espresso); transition: 0.35s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.on { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }

/* ---------- stories ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.4vw, 22px); }
.story {
  display: grid; grid-template-rows: 240px auto;
  background: var(--white); border: 1px solid var(--line); overflow: hidden;
  transition: 0.5s var(--ease);
}
.story:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.story.feature { grid-column: span 2; grid-template-rows: 340px auto; }
.story img { width: 100%; height: 100%; object-fit: cover; }
.story .body { padding: clamp(20px, 2vw, 30px); }
.story h3 { margin-bottom: 0.3em; }
.story p { font-size: 0.93rem; margin: 0; }
.story.feature h3 { font-size: clamp(1.45rem, 2.1vw, 2rem); }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; padding: clamp(26px, 3vw, 42px); background: var(--white); border: 1px solid var(--line); }
label { display: grid; gap: 8px; font-size: 0.63rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--espresso); }
input, select, textarea {
  padding: 12px 0 13px; background: transparent;
  border: 0; border-bottom: 1px solid var(--line-2);
  transition: border-color 0.3s var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: var(--accent); }
input:focus, select:focus, textarea:focus { border-color: var(--brass); outline: none; }
textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ok { display: none; padding: 14px 16px; background: var(--tint); color: var(--espresso); font-size: 0.9rem; }
.ok.show { display: block; }
.band-dark .ok, .footer .ok { background: rgba(248, 243, 233, 0.1); color: var(--ivory); }
.consent { font-size: 0.74rem; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 400; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 4vw, 64px); align-content: start; }
.faq details { border-top: 1px solid var(--line); padding: 6px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(1.12rem, 1.45vw, 1.4rem); color: var(--espresso);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--sans); font-size: 1.05rem; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 14px; max-width: 56ch; }

/* ---------- specs / taste ---------- */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3vw, 48px); }
.spec { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.spec span { font-size: 0.63rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.spec b { font-family: var(--serif); font-size: 1.08rem; font-weight: 500; color: var(--espresso); text-align: right; }

.band-dark .spec, .house-future .spec { border-color: var(--line-dark); }
.band-dark .spec span, .house-future .spec span { color: var(--brass-2); }
.band-dark .spec b, .house-future .spec b { color: var(--ivory); }

.taste { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--line); gap: 1px; }
.taste > div { background: var(--ivory); padding: clamp(28px, 3.4vw, 52px); }
.taste .n { display: block; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--accent); margin-bottom: 8px; }

/* ---------- contact ---------- */
.contact-split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 4.4vw, 72px); align-items: start; }
.info-line { padding: 18px 0; border-top: 1px solid var(--line); }
.info-line:last-child { border-bottom: 1px solid var(--line); }
.info-line h3 { font-family: var(--sans); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.info-line p { color: var(--espresso); margin: 0; }
.info-line a:hover { color: var(--accent); }
.map-embed { margin-top: 28px; border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 280px; border: 0; }

/* ---------- generic ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.plate { width: 100%; height: auto; object-fit: contain; border: 1px solid var(--line); background: var(--white); }
figure { margin: 0; }

/* ---------- footer ---------- */
.footer { background: var(--espresso); color: rgba(248, 243, 233, 0.7); padding: clamp(56px, 6vw, 88px) 0 26px; }
.footer .brand {
  display: inline-flex;
  width: max-content;
}
.footer .brand-mark {
  height: 96px; max-width: 220px;
}
.footer .brand-mark-color { display: none; }
.footer .brand-mark-inverse { display: block; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(24px, 3vw, 44px); }
.footer h3 {
  font-family: var(--sans); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--brass-2); margin-bottom: 14px;
}
.footer p { color: rgba(248, 243, 233, 0.7); }
.socials {
  display: flex; align-items: center; gap: 10px; margin-top: 22px;
}
.socials a {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(248, 243, 233, 0.22);
  color: var(--ivory);
  transition: 0.35s var(--ease);
}
.socials a:hover { border-color: var(--brass-2); color: var(--brass-soft); background: rgba(248, 243, 233, 0.06); }
.socials svg { width: 16px; height: 16px; }
.info-line .socials { margin-top: 8px; }
.info-line .socials a { color: var(--espresso); border-color: var(--line); }
.info-line .socials a:hover { color: var(--accent); border-color: var(--accent); background: var(--tint); }
.footer label { color: var(--brass-2); }
.footer input {
  color: var(--ivory); border-bottom-color: rgba(248, 243, 233, 0.3);
}
.footer input::placeholder { color: rgba(248, 243, 233, 0.42); }
.footer input:hover, .footer input:focus { border-bottom-color: var(--brass-2); }
.footer a { transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--brass-soft); }
.f-links { display: grid; gap: 9px; font-size: 0.92rem; }
.footer .motto-small {
  margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--brass-soft);
}
.legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(36px, 4vw, 60px); padding-top: 20px;
  border-top: 1px solid var(--line-dark); font-size: 0.75rem;
}

/* ---------- floating ---------- */
/* The dock stays out of the hero, where it would sit on the type. */
.dock {
  position: fixed; right: 18px; bottom: 18px; z-index: 70; display: grid; gap: 10px;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.dock.on { opacity: 1; pointer-events: auto; transform: none; }
.dock a {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; color: var(--ivory); background: var(--espresso);
  box-shadow: 0 14px 30px -10px rgba(25, 17, 8, 0.55);
  transition: 0.4s var(--ease);
}
.dock a:hover { transform: translateY(-3px); }
.dock a.wa { background: #1F7A4D; }

.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 90;
  display: none; width: min(380px, calc(100% - 40px));
  padding: 22px 24px; background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(25, 17, 8, 0.5);
}
.cookie.show { display: block; animation: rise 0.7s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie p { font-size: 0.87rem; margin-bottom: 14px; }
.cookie a { color: var(--accent); border-bottom: 1px solid currentColor; }
.cookie .row { display: flex; gap: 10px; align-items: center; }
.cookie .btn { padding: 12px 20px; }

/* ---------- reveal ---------- */
[data-rise] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-rise].in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav { grid-template-columns: 1fr auto; min-height: 92px; position: relative; }
  .site-header.scrolled .nav { min-height: 82px; }
  .brand { grid-column: 1; justify-self: start; }
  .brand-mark { height: clamp(64px, 16vw, 86px); max-width: min(62vw, 210px); }
  .site-header.scrolled .brand-mark { height: 64px; }
  .menu-btn { display: block; grid-column: 2; grid-row: 1; color: var(--espresso); }

  .menu-panel {
    display: none; position: absolute; top: 100%;
    left: calc(var(--gut) / -2); right: calc(var(--gut) / -2);
    flex-direction: column; padding: 6px calc(var(--gut) / 2) 18px;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(25, 17, 8, 0.35);
    animation: drawer 0.45s var(--ease);
  }
  .menu-panel.open { display: flex; }
  @keyframes drawer { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
  .nav-side, .nav-side.right {
    display: flex; flex-direction: column; align-items: stretch;
    justify-content: flex-start;
    grid-column: auto; grid-row: auto; gap: 0; padding-inline: 0;
  }
  .nav-side a {
    padding: 15px 2px; font-size: 0.85rem; letter-spacing: 0.16em;
    border-bottom: 1px solid var(--line); color: var(--espresso);
  }
  .nav-side a::after { display: none; }
  .nav-side a.cta {
    margin: 14px 0 0; padding: 15px 18px; border: 1px solid var(--line-2);
    justify-content: center; display: flex;
  }
  .nav-side.right a:last-child { border-bottom: 0; }
  body.has-photo-hero .site-header .menu-panel,
  body[data-page="home"] .site-header .menu-panel { background: var(--espresso); }
  body.has-photo-hero .site-header .menu-panel .nav-side a,
  body[data-page="home"] .site-header .menu-panel .nav-side a { color: var(--ivory); border-bottom-color: var(--line-dark); }
  body.has-photo-hero .site-header .menu-panel .nav-side a.cta,
  body[data-page="home"] .site-header .menu-panel .nav-side a.cta { border: 1px solid rgba(248, 243, 233, 0.4); }
  body.has-photo-hero .site-header.scrolled .menu-panel,
  body[data-page="home"] .site-header.scrolled .menu-panel { background: var(--ivory); }
  body.has-photo-hero .site-header.scrolled .menu-panel .nav-side a,
  body[data-page="home"] .site-header.scrolled .menu-panel .nav-side a { color: var(--espresso); border-bottom-color: var(--line); }

  .masthead .inner, .page-hero-inner,
  .lands, .essay, .essay.even, .look, .look.reverse, .atlas, .wheel-box,
  .contact-split, .faq, .specs, .duo, .trio, .passport, .join {
    grid-template-columns: 1fr;
  }
  .look.reverse .look-photo { order: 0; }
  .essay > img { min-height: 0; }
  .lands article + article { border-left: 0; border-top: 1px solid var(--line-dark); }
  .standard { grid-template-columns: 1fr 1fr 1fr; }
  .pillar:nth-child(3n + 1) { border-left: 1px solid var(--line); }
  .pillar:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .paths { grid-template-columns: 1fr 1fr; }
  .people, .steps, .trio { grid-template-columns: 1fr 1fr; }
  .journey { grid-template-columns: 1fr 1fr; }
  .j-step:nth-child(2n) { border-right: 0; }
  .stories { grid-template-columns: 1fr 1fr; }
  .story.feature { grid-column: span 2; }
  .region-detail { position: static; }
  .product-hero .copy { margin-right: auto; }
  .product-hero::after { background: linear-gradient(180deg, rgba(15, 10, 5, 0.35), rgba(15, 10, 5, 0.85)); }
  .foot { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .rail { margin-top: 8px; }
  .passport-card .fields { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  body { font-size: 15.5px; }
  h1 { font-size: clamp(2.15rem, 9.6vw, 3rem); }
  body.has-photo-hero .hero-copy,
  body[data-page="home"] .hero-copy { padding-top: calc(var(--nav-h) + var(--motto-h) + 14px); }
  .page-hero { min-height: min(78vh, 640px); }
  .passport-card .qr { display: none; }
  .passport-mobile-cta { display: inline-flex; margin-top: 4px; }
  .paths-hero { grid-template-columns: 1fr; gap: 10px; }
  .path-card { padding: 16px 18px; }
  .path-card span { display: none; }
  .hero-foot .inner { grid-template-columns: 1fr 1fr; padding: 13px 0; }
  .hero-foot .hint { display: none; }
  .hero-foot b { font-size: 1.02rem; }
  .brand { gap: 0; }
  .person { grid-template-rows: 220px auto; }
  .person.product-card { grid-template-rows: auto auto; }
  .form-row, .taste, .stories, .journey, .standard, .paths, .people, .steps, .trio { grid-template-columns: 1fr; }
  .pillar, .pillar:first-child, .pillar:nth-child(3n + 1) { border-left: 0; border-right: 0; border-top: 1px solid var(--line); }
  .band-dark .pillar { border-color: var(--line-dark); }
  .story.feature, .story { grid-column: auto; grid-template-rows: 210px auto; }
  .j-step, .j-step:nth-child(2n), .j-step:nth-child(4n) { border-right: 0; }
  .taste > div { padding: 26px 22px; }
  .sheet-row { grid-template-columns: 1fr; gap: 4px; }
  .sheet.compare .sheet-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sheet.compare dt { grid-column: 1 / -1; }
  .join-row { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; row-gap: 34px; }
  .footer .brand-mark { height: 84px; }
  .dock { right: 12px; bottom: 12px; }
  .dock a { width: 44px; height: 44px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; }
  .legal { justify-content: flex-start; }
}

/* sentence-length hero-foot labels only: two columns leave ~170px each on a
   small handset, which breaks the tagline over three lines */
@media (max-width: 460px) {
  .hero-foot-stack .inner {
    grid-template-columns: 1fr; gap: 0; text-align: left; padding: 4px 0 10px;
  }
  .hero-foot-stack .inner > a {
    display: grid; gap: 3px; padding: 11px 0;
    border-top: 1px solid rgba(248, 243, 233, 0.14);
  }
  .hero-foot-stack b { font-size: 1.06rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-rise] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .dock, .cookie, .progress, .footer { display: none; }
}
