/* ==========================================================================
   Hazel Wedding Co. — site styles
   Editorial, warm, unhurried. Cream paper and rich hazel accents.
   ========================================================================== */

:root {
  /* palette — warm neutrals + hazel */
  --cream: #f8f4ee;        /* page */
  --paper: #f0e9df;        /* alternate sections */
  --sand: #e5dacb;         /* image frame fill */
  --linen: #d9ccbb;
  --hazel: #68513c;        /* primary accent, shared with the favicon */
  --hazel-deep: #4e3a29;   /* stronger hover and text accent */
  --hazel-text: #5e4835;   /* accent text on cream and paper */
  --hazel-light: #dfceb4;  /* readable accent on dark surfaces */
  --umber: #4a3d34;        /* strong body copy */
  --dark: #3b2f28;         /* dark sections */
  --ink: #2a221e;          /* headings, footer, buttons */
  --mute: #75675c;
  --line: rgba(74, 61, 52, 0.16);
  --line-strong: rgba(74, 61, 52, 0.34);
  --white: #fffdfa;

  /* type */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

  /* rhythm */
  --wrap: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(5rem, 11vw, 9.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
::selection { background: var(--hazel); color: var(--cream); }

:focus-visible { outline: 2px solid var(--hazel-text); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-wide { width: min(1500px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type scale ---------- */
.display { font-size: clamp(2.9rem, 7.2vw, 6.4rem); line-height: 0.98; font-weight: 300; letter-spacing: -0.025em; }
.h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 300; letter-spacing: -0.02em; }
.h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 300; letter-spacing: -0.015em; }
.h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
.h4 { font-size: 1.2rem; }
.lede { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.55; color: var(--umber); font-weight: 300; }
.lede-serif { font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.4; font-weight: 300; color: var(--umber); }
.small { font-size: 0.9rem; }
.muted { color: var(--mute); }
em, .it { font-style: italic; }
.serif-it { font-family: var(--serif); font-style: italic; font-weight: 300; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--hazel-text); font-weight: 600; margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: var(--hazel); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }
.eyebrow.plain::before { display: none; }
.eyebrow.light { color: var(--hazel-light); }
.eyebrow.light::before { background: var(--hazel-light); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem; border-radius: 999px;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-primary:hover { background: var(--hazel); border-color: var(--hazel); color: var(--cream); transform: translateY(-1px); }
.btn-hazel { background: var(--hazel); color: var(--cream); border-color: var(--hazel); }
.btn-hazel:hover { background: var(--hazel-deep); border-color: var(--hazel-deep); transform: translateY(-1px); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { background: var(--hazel); color: var(--cream); border-color: var(--hazel); }
.btn-light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-light:hover { background: var(--hazel-light); color: var(--ink); border-color: var(--hazel-light); }
.btn-ghost-light { border-color: rgba(255,255,255,0.5); color: var(--cream); }
.btn-ghost-light:hover { background: var(--hazel-light); color: var(--ink); border-color: var(--hazel-light); }
.btn svg { width: 0.9em; height: 0.9em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  color: var(--ink); position: relative;
}
.link-arrow::after { content: "→"; font-family: var(--serif); font-size: 1.2em; line-height: 1; transition: transform 0.35s var(--ease); color: var(--hazel-text); }
.link-arrow { transition: color 0.35s var(--ease); }
.link-arrow:hover { color: var(--hazel-text); }
.link-arrow:hover::after { transform: translateX(6px); }
.link-arrow.light { color: var(--cream); }
.link-arrow.light::after { color: var(--hazel-light); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  padding: 1.1rem 0;
  transition: background 0.45s var(--ease), padding 0.45s var(--ease), box-shadow 0.45s, color 0.3s;
  color: var(--ink);
}
.site-header.on-dark { color: var(--cream); }
.site-header.scrolled {
  background: rgba(248, 244, 238, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 0.7rem 0; color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.9rem; font-weight: 300; letter-spacing: -0.02em; font-style: italic; }
.brand-sub { font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; margin-top: 0.3rem; opacity: 0.75; font-weight: 600; }
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.5rem); }
.nav a { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; position: relative; padding: 0.4rem 0; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--hazel); transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav a:not(.nav-cta) { transition: color 0.3s; }
.nav a:not(.nav-cta):hover { color: var(--hazel-text); }
.site-header.on-dark:not(.scrolled) .nav a:not(.nav-cta):hover { color: var(--hazel-light); }
.site-header.on-dark:not(.scrolled) .nav a:not(.nav-cta)::after { background: var(--hazel-light); }
.nav a:not(.nav-cta):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { border: 1px solid currentColor; padding: 0.6rem 1.25rem !important; border-radius: 999px; transition: background 0.3s, color 0.3s; }
.nav-cta:hover { background: var(--hazel); color: var(--cream); border-color: var(--hazel); }
.site-header.on-dark:not(.scrolled) .nav-cta:hover { background: var(--hazel-light); color: var(--ink); border-color: var(--hazel-light); }
.menu-toggle { display: none; transition: color .3s; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; gap: 0.6rem; align-items: center; }
.menu-toggle:hover { color: var(--hazel-text); }
.site-header.on-dark:not(.scrolled) .menu-toggle:hover { color: var(--hazel-light); }
.menu-toggle .bars { display: inline-block; width: 22px; height: 10px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease), top 0.35s; }
.menu-toggle .bars::before { top: 0; } .menu-toggle .bars::after { top: 9px; }
body.menu-open .menu-toggle .bars::before { top: 4.5px; transform: rotate(45deg); }
body.menu-open .menu-toggle .bars::after { top: 4.5px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; background: var(--cream); color: var(--ink);
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.2rem;
    padding: 6rem var(--gutter) 3rem;
    transform: translateY(-100%); transition: transform 0.6s var(--ease); z-index: -1;
  }
  .nav a { font-family: var(--serif); font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -0.01em; text-transform: none; font-weight: 300; }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 1.5rem; font-family: var(--sans) !important; font-size: 0.85rem !important; letter-spacing: 0.14em !important; text-transform: uppercase !important; font-weight: 600 !important; }
  body.menu-open .nav { transform: translateY(0); }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { color: var(--ink); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 880px); display: grid; align-items: end;
  color: var(--cream); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42,34,30,0.42) 0%, rgba(42,34,30,0.22) 45%, rgba(42,34,30,0.62) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-bottom: clamp(2.5rem, 6vw, 5rem); padding-top: 9rem; }
.hero .display { max-width: 15ch; text-wrap: balance; }
.hero-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: end; }
.hero-aside { max-width: 42ch; font-weight: 300; font-size: 1.05rem; }
.hero-aside p { margin-bottom: 1.5rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: clamp(2rem, 4vw, 3.5rem); padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.25); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; flex-wrap: wrap; }
.scroll-cue { display: inline-flex; align-items: center; gap: 0.7rem; }
.scroll-cue i { display: inline-block; width: 1px; height: 2.4rem; background: currentColor; opacity: 0.7; animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0 } 30% { transform: scaleY(1); opacity: .7 } 100% { transform: scaleY(1) translateY(100%); opacity: 0 } }
@media (max-width: 900px) { .hero-row { grid-template-columns: 1fr; gap: 2rem; } }

/* centred hero (home) — photo full-bleed, copy centred, meta bar pinned low */
.hero-center { align-items: stretch; }
.hero-center .hero-inner { display: grid; grid-template-rows: 1fr auto; padding-top: 7rem; min-height: min(100svh, 880px); }
.hero-center .hero-copy { align-self: center; text-align: center; display: grid; justify-items: center; padding: 2rem 0; }
.hero-center .display { max-width: 17ch; margin: 0 auto 1.5rem; font-size: clamp(2.7rem, 6.4vw, 5.6rem); }
.hero-sub { max-width: 52ch; font-weight: 300; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.6; margin: 0 auto 2.25rem; color: rgba(255,253,250,0.86); text-wrap: balance; }
.hero-center .hero-actions { justify-content: center; }
.hero-center .hero-meta { margin-top: 0; }

/* light hero (cream placeholder, dark type) — see the comment in index.html */
.hero.is-light { color: var(--ink); }
.hero.is-light .hero-media::after { background: linear-gradient(180deg, rgba(248,244,238,0.6) 0%, rgba(248,244,238,0.35) 50%, rgba(248,244,238,0.75) 100%); }
.hero.is-light .hero-meta { border-top-color: var(--line-strong); color: var(--umber); }
.hero.is-light .scroll-cue i { background: var(--umber); }
.hero-center .display.wordmark {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7.4vw, 6.75rem);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.18;
  max-width: 100%;
  margin: 0 auto 2rem;
  padding: 0.12em 0.16em 0.18em;
  text-align: center;
  text-wrap: balance;
  overflow: visible;
}

/* home hero tweaks (v2.4.1): bolder, wider-spaced wordmark; scroll cue dead-centre */
.hero-center .display.wordmark { font-weight: 600; letter-spacing: 0.06em; }
.hero-seo-title {
  margin: -0.75rem auto 1.5rem;
  font: 600 clamp(0.76rem, 1.1vw, 0.92rem)/1.4 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero-seo-copy {
  max-width: 52rem;
  margin: 0 auto 1.75rem;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
  color: rgba(255,253,250,0.88);
  text-wrap: balance;
}
.hero-center .hero-meta { display: grid; grid-template-columns: 1fr auto 1fr; }
.hero-center .hero-meta > :last-child { justify-self: end; }
.hero-center .scroll-cue { flex-direction: column; gap: 0.5rem; }
@media (max-width: 700px) {
  .hero-center .hero-meta { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero-center .hero-meta > :last-child { justify-self: center; }
}

/* page heroes (interior) */
.page-hero { padding: clamp(9rem, 16vw, 13rem) 0 clamp(3rem, 6vw, 5rem); }
.page-hero .h1 { max-width: 16ch; text-wrap: balance; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; }
.page-hero-grid .lede { max-width: 44ch; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * 0.6) 0; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--dark); color: var(--cream); }
.section-dark .eyebrow { color: var(--hazel-light); }
.section-dark .eyebrow::before { background: var(--hazel-light); }
.section-dark .lede, .section-dark .lede-serif { color: rgba(248,244,238,0.82); }
.section-dark .muted { color: rgba(248,244,238,0.62); }
.service-detail { display: grid; gap: 1.4rem; }
.service-detail .lede { max-width: 58rem; }
.prose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 3rem; }
.prose-grid > * { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.bullet-list { display: grid; gap: 0.8rem; margin: 1.25rem 0; }
.bullet-list li { position: relative; padding-left: 1.25rem; color: var(--umber); }
.bullet-list li::before { content: "•"; position: absolute; left: 0; color: var(--hazel-deep); }
.comparison-wrap { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--line); }
.comparison { width: 100%; min-width: 760px; border-collapse: collapse; background: var(--white); }
.comparison th, .comparison td { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison th:last-child, .comparison td:last-child { border-right: 0; }
.comparison thead th { background: var(--paper); font-family: var(--serif); font-size: 1.05rem; }
.comparison tbody th { width: 18%; color: var(--ink); font-size: 0.84rem; letter-spacing: 0.05em; text-transform: uppercase; }
.comparison tr:last-child th, .comparison tr:last-child td { border-bottom: 0; }
.service-callout { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--paper); border-left: 3px solid var(--hazel); }
.service-callout p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .prose-grid { grid-template-columns: 1fr; } }
.section-hazel { background: var(--hazel); color: var(--cream); }
.section-hazel .eyebrow { color: var(--hazel-light); }
.section-hazel .eyebrow::before { background: var(--hazel-light); }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head .h2 { text-wrap: balance; }
.section-head .lede { max-width: 46ch; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .lede { max-width: 56ch; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: 1.25rem; } }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section-dark .rule { background: rgba(255,255,255,0.14); }

/* ---------- imagery ---------- */
.frame { position: relative; display: block; overflow: hidden; background: var(--sand); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.03); }
.r-3-4 { aspect-ratio: 3 / 4; }
.r-4-5 { aspect-ratio: 4 / 5; }
.r-4-3 { aspect-ratio: 4 / 3; }
.r-3-2 { aspect-ratio: 3 / 2; }
.r-1-1 { aspect-ratio: 1; }
.r-16-9 { aspect-ratio: 16 / 9; }
.r-21-9 { aspect-ratio: 21 / 9; }
.caption { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); margin-top: 0.75rem; display: flex; justify-content: space-between; gap: 1rem; }
.section-dark .caption { color: rgba(248,244,238,0.55); }

/* ---------- intro (home) ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.intro-copy .lede-serif { margin-bottom: 1.75rem; }
.intro-stack { position: relative; }
.intro-stack .frame.main { width: 78%; margin-left: auto; aspect-ratio: 4 / 5; }
.intro-stack .frame.small { position: absolute; left: 0; bottom: -10%; width: 42%; box-shadow: 0 30px 60px -30px rgba(42,34,30,0.5); }
.signature { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.6rem; color: var(--hazel-text); margin-top: 1.5rem; display: block; }
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-stack { margin-bottom: 3rem; }
}

/* ---------- services (home cards) ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.service { display: flex; flex-direction: column; gap: 0.85rem; position: relative; }
.service .frame { margin-bottom: 0.6rem; aspect-ratio: 4 / 3; }
.service .num { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--hazel-text); letter-spacing: 0.05em; }
.service h3 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); font-weight: 300; text-wrap: balance; }
.service p { color: var(--mute); flex: 1; font-size: 0.98rem; }
.service .from { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--umber); font-weight: 600; }
.service .from b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; letter-spacing: 0; text-transform: none; margin-left: 0.4rem; }
.service:hover .frame img { transform: scale(1.03); }
.service:hover h3 { color: var(--hazel-text); }
.service h3 { transition: color 0.4s var(--ease); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- film embed (kept for the optional hero / featured film slots) ---------- */
.film {
  position: relative; aspect-ratio: 16 / 9; background: var(--dark); overflow: hidden;
  isolation: isolate; color: var(--cream);
}
.film.r-21-9 { aspect-ratio: 21 / 9; }
.film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 1.4s var(--ease), opacity .5s; }
.film:hover .film-poster { transform: scale(1.03); }
.film-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; color: var(--cream); text-align: center; }
.film-play .ring {
  width: clamp(72px, 9vw, 108px); height: clamp(72px, 9vw, 108px); border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7); display: grid; place-items: center;
  background: rgba(42,34,30,0.25); backdrop-filter: blur(6px);
  transition: transform 0.5s var(--ease), background 0.5s;
}
.film-play:hover .ring { transform: scale(1.06); background: rgba(42,34,30,0.45); }
.film-play .ring svg { width: 28%; height: 28%; margin-left: 6%; fill: currentColor; }
.film-label { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; align-items: end; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; text-shadow: 0 1px 12px rgba(0,0,0,0.5); pointer-events: none; }
.film-label .title { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.2rem, 2vw, 1.7rem); letter-spacing: 0; text-transform: none; }
.film iframe, .film video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film.is-empty .film-poster { opacity: 0.55; }
.film-empty-note { position: absolute; top: 1.25rem; left: 1.5rem; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.45); padding: 0.4rem 0.7rem; border-radius: 999px; opacity: 0.85; }

/* ---------- feature (image + copy) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.feature.reverse .feature-media { order: 2; }
.feature-media { aspect-ratio: 1 / 1; }
.feature-copy .h2 { margin-bottom: 1.5rem; text-wrap: balance; }
.feature-copy p { color: var(--mute); }
.section-dark .feature-copy p { color: rgba(248,244,238,0.74); }
.feature-list { margin: 1.75rem 0; display: grid; gap: 0.9rem; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: baseline; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.section-dark .feature-list li { border-color: rgba(255,255,255,0.14); }
.feature-list li span:first-child { font-family: var(--serif); font-style: italic; color: var(--hazel-text); font-size: 0.95rem; min-width: 1.6rem; }
.section-dark .feature-list li span:first-child { color: var(--hazel-light); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature.reverse .feature-media { order: 0; } }

/* ---------- editorial collage ---------- */
.collage { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(0.75rem, 1.5vw, 1.5rem); align-items: start; }
.collage > * { grid-column: span 4; }
.collage .c-6 { grid-column: span 6; }
.collage .c-8 { grid-column: span 8; }
.collage .c-5 { grid-column: span 5; }
.collage .c-7 { grid-column: span 7; }
.collage .c-3 { grid-column: span 3; }
.collage .push { margin-top: clamp(2rem, 6vw, 6rem); }
.collage .quote { align-self: center; padding: clamp(1rem, 2vw, 2rem); }
@media (max-width: 720px) { .collage > * { grid-column: span 6 !important; } .collage .push { margin-top: 0; } .collage .quote { grid-column: span 12 !important; } }

/* ---------- process / timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.step { padding-top: 1.5rem; border-top: 1px solid var(--line-strong); position: relative; }
.section-dark .step { border-color: rgba(255,255,255,0.25); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--hazel-text); display: block; margin-bottom: 1rem; }
.section-dark .step::before { color: var(--hazel-light); }
.step h3 { margin-bottom: 0.7rem; }
.step p { color: var(--mute); font-size: 0.98rem; }
.section-dark .step p { color: rgba(248,244,238,0.72); }
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.steps.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .steps, .steps.cols-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps, .steps.cols-3, .steps.cols-5 { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.price-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }
@media (max-width: 900px) { .price-intro { grid-template-columns: 1fr; gap: 1.25rem; } }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 2rem); align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column;
  min-width: 0;
  padding: clamp(1.75rem, 2.8vw, 2.6rem); border: 1px solid var(--line-strong);
  background: transparent; transition: background 0.5s var(--ease), transform 0.5s var(--ease), border-color 0.5s;
}
.tier:hover { background: var(--white); transform: translateY(-4px); }
.section-paper .tier:hover { background: var(--cream); }
.tier.featured { background: var(--dark); color: var(--cream); border-color: var(--dark); }
.tier.featured:hover { background: var(--ink); border-color: var(--ink); }
.tier .tag { position: absolute; top: -0.7rem; left: 1.5rem; background: var(--hazel); color: var(--cream); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; padding: 0.35rem 0.75rem; border-radius: 999px; }
.tier .tier-kicker { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hazel-text); font-weight: 700; margin-bottom: 0.75rem; }
.tier.featured .tier-kicker { color: var(--hazel-light); }
.tier h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin-bottom: 0.25rem; font-weight: 300; }
.tier .tier-desc { color: var(--mute); font-size: 0.95rem; margin-bottom: 1.5rem; min-height: 3.2em; }
.tier.featured .tier-desc { color: rgba(248,244,238,0.72); }
.tier .price { font-family: var(--serif); font-size: clamp(2.4rem, 3.4vw, 3.1rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1; margin-bottom: 0.4rem; }
.tier .price sup { font-size: 0.45em; vertical-align: 0.9em; margin-right: 0.1em; font-weight: 400; }
.tier .price small { font-size: 0.4em; font-family: var(--sans); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-right: 0.35rem; vertical-align: 0.6em; }
.tier .price-note { font-size: 0.78rem; color: var(--mute); margin-bottom: 1.75rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.tier.featured .price-note { color: rgba(248,244,238,0.62); border-color: rgba(255,255,255,0.16); }
.tier ul { display: grid; gap: 0.7rem; flex: 1; margin-bottom: 2rem; }
.tier li { display: grid; grid-template-columns: 1rem 1fr; gap: 0.75rem; font-size: 0.95rem; line-height: 1.5; }
.tier li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--hazel-deep); margin-top: 0.6em; justify-self: center; }
.tier.featured li::before { background: var(--hazel-light); }
.tier li.plus { color: var(--hazel-deep); font-weight: 500; }
.tier.featured li.plus { color: var(--hazel-light); }
.tier li.plus::before { background: transparent; border: 1px solid currentColor; width: 6px; height: 6px; }
.tier .btn { align-self: stretch; }
.tier.featured .btn-outline { border-color: rgba(255,255,255,0.45); color: var(--cream); }
.tier.featured .btn-outline:hover { background: var(--hazel-light); color: var(--ink); border-color: var(--hazel-light); }
@media (max-width: 1000px) { .tiers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .tier.featured { order: -1; } }

.tiers-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 2rem); }
@media (max-width: 800px) { .tiers-2 { grid-template-columns: 1fr; } }

.price-foot { margin-top: 2rem; font-size: 0.85rem; color: var(--mute); max-width: 70ch; }

/* a la carte table */
.alacarte { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 5rem); }
.alacarte li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.alacarte li span:last-child { font-family: var(--serif); font-size: 1.15rem; white-space: nowrap; }
.alacarte li small { display: block; color: var(--mute); font-size: 0.82rem; margin-top: 0.15rem; }
.section-dark .alacarte li { border-color: rgba(255,255,255,0.14); }
.section-dark .alacarte li small { color: rgba(248,244,238,0.55); }
@media (max-width: 720px) { .alacarte { grid-template-columns: 1fr; } }

/* bundle band (coordination cards on dark) */
.bundle { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.bundle-card { border: 1px solid rgba(255,255,255,0.22); padding: clamp(1.75rem, 3vw, 2.75rem); position: relative; }
.bundle-card + .bundle-card { margin-top: 1rem; }
.bundle-card h3 { font-size: 1.8rem; font-weight: 300; margin-bottom: 0.25rem; }
.bundle-card .price { font-family: var(--serif); font-size: 2.4rem; font-weight: 300; margin: 0.75rem 0 0.25rem; }
.bundle-card .price s { opacity: 0.5; font-size: 0.55em; margin-left: 0.5rem; }
.bundle-card .save { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hazel-light); font-weight: 700; }
.bundle-card p { color: rgba(248,244,238,0.74); font-size: 0.95rem; }
@media (max-width: 900px) { .bundle { grid-template-columns: 1fr; } }

/* sub nav (in-page) */
.subnav { position: sticky; top: 0; z-index: 40; background: rgba(248,244,238,0.9); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 2rem; overflow-x: auto; padding-block: 0.9rem; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; white-space: nowrap; color: var(--mute); }
.subnav a { transition: color .3s; }
.subnav a:hover { color: var(--hazel-text); }
.subnav a.active { color: var(--ink); }

/* filters (journal) */
.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filters button { padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.filters button:hover, .filters button.active { background: var(--hazel); color: var(--cream); border-color: var(--hazel); }

/* ---------- promise statement ---------- */
.big-quote { text-align: center; }
.big-quote blockquote { margin: 0 auto 2rem; max-width: 26ch; font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.2; font-weight: 300; font-style: italic; text-wrap: balance; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1.1rem 0; white-space: nowrap; background: var(--paper); }
.marquee-track { display: inline-flex; gap: 3rem; animation: marquee 44s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.1rem, 1.6vw, 1.5rem); color: var(--umber); }
.marquee span::after { content: "✦"; margin-left: 3rem; color: var(--hazel-deep); font-style: normal; font-size: 0.7em; vertical-align: 0.15em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- faq ---------- */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 2rem; align-items: center; padding: 1.4rem 0; font-family: var(--serif); font-size: clamp(1.2rem, 1.7vw, 1.5rem); font-weight: 300; }
.faq summary { transition: color .3s; }
.faq summary:hover { color: var(--hazel-text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--hazel-text); transition: transform .4s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 0 1.5rem; color: var(--mute); max-width: 62ch; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stats.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stat b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 4.5vw, 4rem); line-height: 1; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.stat span { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); font-weight: 700; }
.section-dark .stat span { color: rgba(248,244,238,0.55); }
@media (max-width: 800px) { .stats, .stats.cols-3 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.about-grid .sticky { position: sticky; top: 6rem; align-self: start; }
.about-copy p { color: var(--umber); }
.about-copy .drop::first-letter { font-family: var(--serif); font-size: 3.4em; float: left; line-height: 0.8; margin: 0.1em 0.12em 0 0; color: var(--hazel-text); font-weight: 300; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.value { padding-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.value h3 { font-size: 1.5rem; font-weight: 300; margin-bottom: 0.6rem; }
.value p { color: var(--mute); font-size: 0.98rem; }
.person { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.person h3 { font-size: 1.8rem; font-weight: 300; }
.person .role { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hazel-text); font-weight: 700; margin: 0.35rem 0 0.9rem; }
.person p { color: var(--mute); font-size: 0.98rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-grid .sticky { position: static; } .values { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .person { grid-template-columns: 1fr; } }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem, 6vw, 6rem); }
.contact-aside .h2 { margin-bottom: 1.5rem; }
.contact-aside .frame { aspect-ratio: 1 / 1; }
.contact-aside dl { display: grid; gap: 1.25rem; margin: 2rem 0; }
.contact-aside dt { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hazel-text); font-weight: 700; margin-bottom: 0.25rem; }
.contact-aside dd { margin: 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 300; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.5rem; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--umber); font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong); padding: 0.7rem 0; border-radius: 0;
  transition: border-color .3s;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--hazel-text); }
.field select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234a3d34' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 0.2rem center; padding-right: 1.5rem; }
.checks { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.3rem; }
.checks label { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.78rem; letter-spacing: 0.08em; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.checks input { position: absolute; opacity: 0; width: 0; height: 0; }
.checks label:has(input:checked) { background: var(--hazel); color: var(--cream); border-color: var(--hazel); }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.form-foot .small { max-width: 44ch; }
.form-status { grid-column: 1 / -1; font-family: var(--serif); font-size: 1.2rem; display: none; }
.form-status.show { display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta { position: relative; color: var(--cream); overflow: hidden; isolation: isolate; padding: clamp(5rem, 11vw, 8.5rem) 0; text-align: center; }
.cta .bg { position: absolute; inset: 0; z-index: -1; }
.cta .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta .bg::after { content: ""; position: absolute; inset: 0; background: rgba(42,34,30,0.62); }
.cta .h1 { max-width: 20ch; margin: 0 auto 1.5rem; text-wrap: balance; }
.cta p { max-width: 50ch; margin: 0 auto 2rem; color: rgba(248,244,238,0.82); }
.cta .actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: clamp(4rem, 8vw, 6rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-brand .brand-name { font-size: 2.6rem; }
.footer-brand p { color: rgba(248,244,238,0.62); max-width: 32ch; margin-top: 1rem; font-size: 0.95rem; }
.footer-col h4 { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hazel-light); font-weight: 700; margin-bottom: 1.1rem; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: rgba(248,244,238,0.8); font-size: 0.95rem; transition: color .3s; }
.footer-col a:hover { color: var(--hazel-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(248,244,238,0.5); }
.footer-bottom a:hover { color: var(--hazel-light); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- announcement / notice ---------- */
.notice { text-align: center; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; padding: 0.8rem var(--gutter); background: var(--dark); color: var(--cream); }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 6rem var(--gutter); }

/* ---------- utilities ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }
.flow > * + * { margin-top: 1rem; }
.hide, [hidden] { display: none !important; }

/* ==========================================================================
   Motion layer
   ========================================================================== */

/* page load curtain + transitions */
.curtain {
  position: fixed; inset: 0; z-index: 200; background: var(--cream);
  display: grid; place-items: center; pointer-events: none;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.curtain .brand-name { font-size: clamp(2.4rem, 6vw, 4rem); color: var(--ink); opacity: 0; transform: translateY(12px); animation: curtainWord 1.1s var(--ease) 0.1s forwards; }
@keyframes curtainWord { to { opacity: 1; transform: none; } }
body.ready .curtain { opacity: 0; visibility: hidden; }
body.leaving .curtain { opacity: 1; visibility: visible; transition-duration: 0.45s; }
body.leaving .curtain .brand-name { animation: none; opacity: 0; }
.no-js .curtain { display: none; }

/* split text — words rise in */
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.in .w > span { transform: none; }
.no-js .split .w > span { transform: none; }

/* image curtain reveal */
[data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="clip"].in { clip-path: inset(0 0 0 0); }
[data-reveal="clip"] img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
[data-reveal="clip"].in img { transform: scale(1); }
[data-reveal="clip"].frame:hover img { transform: scale(1.03); }

/* line reveal */
[data-reveal="line"] { opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
[data-reveal="line"].in { transform: scaleX(1); }

/* parallax wrappers */
[data-parallax] { will-change: transform; }
.hero-media img, .hero-media video { will-change: transform; transform: translateY(var(--py, 0)) scale(1.08); }

/* hero entrance */
.hero .hero-aside, .hero .hero-sub, .hero .hero-actions, .hero .hero-meta, .hero .eyebrow { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
body.ready .hero .eyebrow { opacity: 1; transform: none; transition-delay: 0.5s; }
body.ready .hero .hero-aside, body.ready .hero .hero-sub { opacity: 1; transform: none; transition-delay: 0.7s; }
body.ready .hero .hero-actions { opacity: 1; transform: none; transition-delay: 0.85s; }
body.ready .hero .hero-meta { opacity: 1; transform: none; transition-delay: 1s; }
.no-js .hero .hero-aside, .no-js .hero .hero-sub, .no-js .hero .hero-actions, .no-js .hero .hero-meta, .no-js .hero .eyebrow { opacity: 1; transform: none; }

/* hover lift on cards */
.lift { transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease); }
.lift:hover { transform: translateY(-6px); }

/* counters */
.count { font-variant-numeric: tabular-nums; }

/* smooth underline for inline text links */
.u { background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .4s var(--ease); }
.u { transition: background-size .4s var(--ease), color .3s; }
.u:hover { background-size: 0 1px; color: var(--hazel-text); }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
  .split .w > span { transform: none; transition: none; }
  [data-reveal="clip"] { clip-path: none; transition: none; }
  [data-reveal="clip"] img { transform: none; }
  .hero .hero-aside, .hero .hero-sub, .hero .hero-actions, .hero .hero-meta, .hero .eyebrow { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Journal (blog)
   ========================================================================== */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem) clamp(1.25rem, 2.5vw, 2.5rem); }
.posts.cols-2 { grid-template-columns: repeat(2, 1fr); }
.post-card .frame { margin-bottom: 1.1rem; }
.post-card .cat { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hazel-text); font-weight: 700; display: flex; gap: 0.75rem; align-items: center; }
.post-card .cat time { color: var(--mute); font-weight: 500; letter-spacing: 0.1em; }
.post-card h3 { font-size: clamp(1.35rem, 1.8vw, 1.65rem); font-weight: 300; margin: 0.6rem 0 0.5rem; line-height: 1.15; transition: color .4s var(--ease); }
.post-card p { color: var(--mute); font-size: 0.95rem; }
.post-card a:hover h3 { color: var(--hazel-text); }
.post-featured { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.post-featured h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 300; margin: 0.75rem 0 1rem; }
.post-featured p { color: var(--mute); }
@media (max-width: 1000px) { .posts, .posts.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .post-featured { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .posts, .posts.cols-2 { grid-template-columns: 1fr; } }

.article-head { padding: clamp(9rem, 15vw, 12rem) 0 clamp(2rem, 4vw, 3rem); text-align: center; }
.article-head .h1 { max-width: 18ch; margin: 0 auto 1.25rem; }
.article-head .byline { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); font-weight: 600; display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
.article-hero { width: min(1180px, 100% - 2 * var(--gutter)); aspect-ratio: 21 / 9; max-height: 480px; margin: 0 auto clamp(3rem, 6vw, 5rem); }
.article { font-size: 1.1rem; line-height: 1.75; color: var(--umber); }
.article h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 300; margin: 2.75rem 0 1rem; color: var(--ink); }
.article h3 { font-size: 1.35rem; margin: 2rem 0 0.75rem; color: var(--ink); }
.article p { margin-bottom: 1.35rem; }
.article ul, .article ol { margin: 0 0 1.35rem 1.25rem; padding: 0; list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: 0.5rem; }
.article blockquote { margin: 2.5rem 0; padding-left: 1.5rem; border-left: 1px solid var(--hazel-deep); font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.4; font-weight: 300; color: var(--ink); }
.article .frame { margin: 2.5rem 0; }
.article .timeline-entry { display: grid; grid-template-columns: 7rem 1fr; gap: 1.2rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.article .timeline-entry time { font-weight: 600; color: var(--hazel-deep); }
.article .timeline-entry p { margin: 0; }
.article .summary-box { margin: 2.5rem 0; padding: 1.5rem 1.75rem; background: var(--paper); border-left: 3px solid var(--hazel); }
@media (max-width: 600px) { .article .timeline-entry { grid-template-columns: 1fr; gap: 0.25rem; } }
.article a { color: var(--hazel-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hazel-deep); }
.article a:hover { text-decoration-color: var(--hazel-deep); }
.article-foot { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-strong); display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.pill-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pill { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; padding: 0.45rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--umber); }

/* ---------- placeholder frames (until real photos are dropped in) ---------- */
.frame:has(> img[src*="placeholder"])::before {
  content: ""; position: absolute; inset: 0.75rem; border: 1px solid rgba(74,61,52,0.14); pointer-events: none;
}
.frame[data-slot]:has(> img[src*="placeholder"])::after {
  content: attr(data-slot); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  max-width: 78%; padding: 0.45rem 0.85rem; border: 1px solid rgba(74,61,52,0.35); border-radius: 999px;
  font: 600 0.6rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--umber);
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;
}
.frame:has(> img[src*="placeholder"]):hover img { transform: none; }
.hero-media img[src*="placeholder"] ~ video { display: none; }

/* ==========================================================================
   Added behaviours (see main.js §14–§20)
   ========================================================================== */

/* header tucks away on scroll-down, returns on scroll-up */
.site-header { transition: background 0.45s var(--ease), padding 0.45s var(--ease), box-shadow 0.45s, color 0.3s, transform 0.5s var(--ease); }
.site-header.tucked { transform: translateY(-110%); }
body.menu-open .site-header.tucked { transform: none; }

/* anchors land below the fixed header / sticky subnav */
[id] { scroll-margin-top: 5.5rem; }

/* magnetic buttons: JS sets --mx/--my on hover */
.btn, .nav-cta { transform: translate(var(--mx, 0), var(--my, 0)); }
.btn:hover, .nav-cta:hover { transform: translate(var(--mx, 0), var(--my, 0)); }

/* FAQ accordion: JS animates the body height */
.faq .faq-body { overflow: hidden; }
.faq details.animating .faq-body { transition: height .45s var(--ease), opacity .35s; }

/* marquee pauses while the cursor is over it */
.marquee:hover .marquee-track { animation-play-state: paused; }

/* images fade in once they've loaded (only when JS is present) */
.js-fade .frame img:not(.loaded):not([src*="placeholder"]) { opacity: 0; }
.frame img { transition: transform 1.2s var(--ease), opacity .8s var(--ease); }
.js-fade .frame img.loaded { opacity: 1; }

/* form: inline validation */
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--hazel-text); }
.field .err { font-size: 0.74rem; color: var(--hazel-text); letter-spacing: 0.04em; margin-top: -0.15rem; }
.field .err:empty { display: none; }

/* back-to-top pill, appears after the first screen */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 50;
  width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--ink); border: 1px solid var(--line-strong);
  box-shadow: 0 10px 30px -14px rgba(42,34,30,.4);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s, color .3s, border-color .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--hazel); color: var(--cream); border-color: var(--hazel); }
.to-top svg { width: 1rem; height: 1rem; }

@media (prefers-reduced-motion: reduce) {
  .site-header.tucked { transform: none; }
  .faq details.animating .faq-body { transition: none; }
  .js-fade .frame img:not(.loaded) { opacity: 1; }
  .btn, .nav-cta { transform: none !important; }
}

/* ==========================================================================
   v2.2 — legal pages, newsletter, consent notices, cookie banner
   ========================================================================== */

/* legal articles: tighter than a journal post, headings anchor-able */
.article.legal { font-size: 1.02rem; line-height: 1.7; }
.article.legal h2 { font-size: clamp(1.45rem, 2.1vw, 1.8rem); margin: 2.5rem 0 0.8rem; }
.article.legal p { margin-bottom: 1rem; }
.article.legal .legal-address { font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; }
.cookie-manage-link { font: inherit; color: var(--hazel-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hazel-deep); padding: 0; }
.footer-legal a { color: rgba(248,244,238,0.7); transition: color .3s; }
.footer-legal a:hover { color: var(--hazel-light); }

/* consent copy under forms */
.form-notice { grid-column: 1 / -1; font-size: 0.8rem; line-height: 1.55; color: var(--mute); max-width: 62ch; margin-top: 0.25rem; }
.check-line { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: 0.92rem; color: var(--umber); cursor: pointer; line-height: 1.5; }
.check-line input { appearance: none; -webkit-appearance: none; width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; border: 1px solid var(--line-strong); border-radius: 3px; background: transparent; display: grid; place-items: center; transition: background .3s, border-color .3s; cursor: pointer; }
.check-line input::before { content: ""; width: 0.55rem; height: 0.55rem; background: var(--cream); transform: scale(0); transition: transform .25s var(--ease); }
.check-line input:checked { background: var(--hazel); border-color: var(--hazel); }
.check-line input:checked::before { transform: scale(1); }
.check-line input:focus-visible { outline: 2px solid var(--hazel-text); outline-offset: 2px; }

/* standalone newsletter block */
.newsletter { background: var(--paper); border-block: 1px solid var(--line); }
.newsletter-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.newsletter-grid .h2 { margin-bottom: 1rem; text-wrap: balance; }
.newsletter-grid .lede { max-width: 42ch; }
.newsletter-form { display: grid; gap: 1.25rem; align-content: start; }
.newsletter-form .btn { justify-self: start; }
.newsletter-form .form-status { margin: 0; }
@media (max-width: 900px) { .newsletter-grid { grid-template-columns: 1fr; } }

/* cookie banner + preferences */
.cookie-banner {
  position: fixed; left: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90;
  margin-inline: auto; max-width: 720px;
  background: var(--cream); color: var(--ink); border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -30px rgba(42,34,30,0.45);
  padding: 1.25rem 1.5rem; display: grid; gap: 1rem;
  transform: translateY(calc(100% + 3rem)); opacity: 0; transition: transform .6s var(--ease), opacity .5s var(--ease);
}
.cookie-banner.show { transform: none; opacity: 1; }
.cookie-banner p { font-size: 0.92rem; line-height: 1.55; color: var(--umber); }
.cookie-banner p a { color: var(--hazel-deep); }
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.cookie-actions .btn { padding: 0.75rem 1.3rem; font-size: 0.74rem; }
.cookie-prefs { display: none; gap: 0.9rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.cookie-banner.manage .cookie-prefs { display: grid; }
.cookie-prefs .row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
.cookie-prefs .row b { display: block; font-weight: 600; font-size: 0.92rem; }
.cookie-prefs .row small { display: block; color: var(--mute); font-size: 0.8rem; line-height: 1.45; }
.switch { position: relative; width: 2.6rem; height: 1.45rem; border-radius: 999px; background: var(--linen); border: 0; cursor: pointer; transition: background .3s; flex: none; }
.switch::after { content: ""; position: absolute; top: 0.18rem; left: 0.18rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--white); transition: transform .3s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch[aria-checked="true"] { background: var(--hazel-deep); }
.switch[aria-checked="true"]::after { transform: translateX(1.15rem); }
.switch[disabled] { opacity: 0.6; cursor: default; }
.to-top { bottom: clamp(1rem, 3vw, 2rem); }
body.cookie-open .to-top { opacity: 0; pointer-events: none; }
@media (max-width: 600px) { .cookie-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; padding: 1.1rem 1.15rem; } }
@media (prefers-reduced-motion: reduce) { .cookie-banner { transition: none; } }

/* ---------- TEMPORARY image numbers (for matching photos to slots — delete when photos are in) ---------- */
.img-num {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 5; min-width: 2.6rem; height: 2.6rem; padding: 0 0.6rem;
  display: grid; place-items: center; border-radius: 999px; background: #c2185b; color: #fff;
  font: 700 1.25rem/1 var(--sans); box-shadow: 0 2px 8px rgba(0,0,0,0.25); pointer-events: none;
}
.hero > .img-num { top: 6.5rem; left: 1.5rem; }
