/* ==========================================================================
   The Mindshift Lab — design system
   Palette anchored on the logo ecru (#fffbf8), a warm near-black for type,
   a bone/ecru field, and one restrained clay accent derived from the same
   warm hue. No gradients on surfaces, no glass, no template chrome.
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces.woff2') format('woff2');
  font-weight: 300 600;
  font-stretch: normal;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/fonts/hanken.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
  font-style: normal;
}

:root {
  --ink:      #1b1512;   /* warm near-black — primary type */
  --ink-2:    #4c4139;   /* secondary text */
  --ink-3:    #62574a;   /* muted / labels (AA on ecru) */
  --ecru:     #f2e9dc;   /* page field */
  --ecru-2:   #ece0cf;   /* slightly deeper band */
  --bone:     #fbf6ef;   /* lifted cards / lighter surface */
  --cream:    #fffbf8;   /* logo ecru — ink on dark */
  --espresso: #17110d;   /* dark section field */
  --espresso-2:#211913;  /* dark card */
  --clay:     #a04a27;   /* accent (AA as small text on ecru/bone) */
  --clay-deep:#7f3a1e;
  --line:     rgba(27, 21, 18, 0.14);
  --line-strong: rgba(27, 21, 18, 0.28);
  --line-cream:  rgba(255, 251, 248, 0.16);

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --section: clamp(4.5rem, 11vw, 9rem);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ecru);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.12rem);
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1400px; }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(3rem, 7vw, 5.5rem); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.06; letter-spacing: -0.015em; font-optical-sizing: auto; }

.display {
  font-size: clamp(2.7rem, 1.6rem + 5.6vw, 5.4rem);
  line-height: 1.0;
  letter-spacing: -0.028em;
  font-weight: 420;
}
.h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.35rem); line-height: 1.04; letter-spacing: -0.02em; }
.h3 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); line-height: 1.1; }
.h4 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); line-height: 1.15; }

p { margin: 0 0 1.1em; }
.lede { font-size: clamp(1.18rem, 1.05rem + 0.7vw, 1.55rem); line-height: 1.5; color: var(--ink-2); font-weight: 400; }
.measure { max-width: 62ch; }
.measure-sm { max-width: 46ch; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--clay);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before { content: ""; width: 1.9rem; height: 1px; background: var(--clay); opacity: 0.75; }
.eyebrow.on-dark { color: #d98a5f; }
.eyebrow.on-dark::before { background: #d98a5f; }
.eyebrow.plain::before { display: none; }

.count { font-family: var(--sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0.005em;
  padding: 0.95rem 1.6rem;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.btn .arw { transition: transform 0.2s ease; }
.btn:hover .arw { transform: translateX(3px); }
.btn-primary { background: var(--clay); color: var(--cream); }
.btn-primary:hover { background: var(--clay-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #efe7dd; }
.btn-ghost-cream { background: transparent; color: var(--cream); border-color: var(--line-cream); }
.btn-ghost-cream:hover { border-color: var(--cream); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* Text link with underline reveal */
.link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 600; text-decoration: none;
  color: var(--ink); padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.link:hover { border-color: var(--clay); color: var(--clay); }
.link .arw { transition: transform 0.2s ease; }
.link:hover .arw { transform: translateX(3px); }
.link.on-dark { color: var(--cream); border-color: var(--line-cream); }
.link.on-dark:hover { color: #e79b70; border-color: #e79b70; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--ecru) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-mark {
  width: 148px; height: 30px;
  background-color: var(--ink);
  -webkit-mask: var(--wordmark) left center / contain no-repeat;
  mask: var(--wordmark) left center / contain no-repeat;
}
.nav-links { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav-links a {
  font-family: var(--sans); font-weight: 500; font-size: 0.95rem; text-decoration: none;
  color: var(--ink-2); position: relative; padding: 0.4rem 0;
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--clay);
}
.nav-desktop { display: none; }
.nav-cta { display: none; }

.menu-btn {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 10px;
}
.menu-btn span { display: block; height: 1.5px; background: var(--ink); transition: transform 0.25s ease, opacity 0.2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-panel {
  position: fixed; inset: 74px 0 0; z-index: 55;
  background: var(--ecru);
  padding: 2rem var(--gutter) 3rem;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: flex; flex-direction: column;
}
.mobile-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-panel a { font-family: var(--serif); font-size: 1.9rem; text-decoration: none; color: var(--ink); padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.mobile-panel .btn { margin-top: 1.8rem; font-size: 1.05rem; justify-content: center; }

@media (min-width: 880px) {
  .menu-btn { display: none; }
  .nav-desktop { display: flex; }
  .nav-cta { display: inline-flex; }
  .brand-mark { width: 168px; height: 34px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--espresso); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; opacity: 0.86; }
.hero-scrim { position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(15,11,8,0.92) 4%, rgba(15,11,8,0.45) 42%, rgba(15,11,8,0.28) 100%),
    linear-gradient(to right, rgba(15,11,8,0.7) 0%, rgba(15,11,8,0.1) 55%, rgba(15,11,8,0) 100%);
}
.hero-inner { position: relative; z-index: 2; display: flex; align-items: flex-end;
  min-height: min(92vh, 820px); padding-block: clamp(6rem, 14vh, 9rem) clamp(2.5rem, 6vh, 4rem); }
.hero-content { color: var(--cream); max-width: 40ch; }
.hero h1 { color: var(--cream); }
.hero .lede { color: rgba(255,251,248,0.9); margin-top: 1.6rem; text-shadow: 0 1px 20px rgba(15,11,8,0.5); }
.hero .cta-row { margin-top: 2.4rem; }

/* ---------- Logo strip ---------- */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos .wrap { display: flex; align-items: center; gap: clamp(1.5rem, 5vw, 4.5rem); flex-wrap: wrap; justify-content: center; padding-block: clamp(2rem, 4vw, 3rem); }
.logos .lbl { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; font-weight: 600; color: var(--ink-3); margin-right: auto; }
.logo-item { height: 40px; display: flex; align-items: center; justify-content: center; }
.logo-item img { max-height: 100%; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) opacity(0.55) contrast(0.9); transition: filter 0.25s ease; }
.logo-item:hover img { filter: none; }
@media (max-width: 620px) { .logos .lbl { width: 100%; margin: 0 0 0.5rem; text-align: center; } .logo-item { height: 32px; } }

/* ---------- Generic sections ---------- */
.dark { background: var(--espresso); color: var(--cream); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--cream); }
.dark .lede { color: rgba(255,251,248,0.74); }
.dark p { color: rgba(255,251,248,0.72); }
.band-2 { background: var(--ecru-2); }

.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p:not(.eyebrow) { color: var(--ink-2); margin-top: 1.2rem; }
.dark .section-head p:not(.eyebrow) { color: rgba(255,251,248,0.72); }

/* ---------- Result (the headline proof) ---------- */
.result { position: relative; }
.result .figure { font-family: var(--serif); font-weight: 380; letter-spacing: -0.025em;
  font-size: clamp(2.5rem, 1.5rem + 4.6vw, 5rem); line-height: 0.98; color: var(--cream); }
.result .figure em { font-style: normal; color: #e79b70; }
.result-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.result-attr { font-family: var(--sans); font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,251,248,0.6); margin-top: 1.6rem; font-weight: 500; }
.outcomes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.outcomes li { padding: 1.1rem 0; border-top: 1px solid var(--line-cream); color: rgba(255,251,248,0.82);
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: baseline; }
.outcomes li:last-child { border-bottom: 1px solid var(--line-cream); }
.outcomes .n { color: #e79b70; font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; }
.pullquote { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 1.3vw, 2rem); line-height: 1.34;
  color: var(--cream); font-weight: 360; letter-spacing: -0.01em; margin: 0; }
.quote-attr { margin-top: 1.6rem; font-family: var(--sans); font-size: 0.92rem; color: rgba(255,251,248,0.62); letter-spacing: 0.02em; }
.quote-attr strong { color: var(--cream); font-weight: 600; }
@media (min-width: 900px) { .result-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(3rem,5vw,5.5rem); align-items: start; } }

/* ---------- Program cards ---------- */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .cards.cols-2 { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--bone); border: 1px solid var(--line);
  padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 3px;
  display: flex; flex-direction: column; gap: 1rem; position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover { border-color: var(--line-strong); }
.card .card-idx { font-family: var(--sans); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; color: var(--clay); }
.card h3 { margin-top: 0.2rem; }
.card p { color: var(--ink-2); margin: 0; }
.card .meta { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); display: grid; gap: 0.5rem; }
.card .meta .row { display: flex; gap: 0.6rem; font-size: 0.92rem; }
.card .meta .k { color: var(--ink-3); min-width: 4.7rem; font-weight: 500; }
.card .meta .v { color: var(--ink); font-weight: 500; }
.card .card-cta { margin-top: 1.3rem; }
.card .note { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: 1.05rem; }

/* ---------- Model (three-part) ---------- */
.model-grid { display: grid; gap: 0; border-top: 1px solid var(--line-cream); }
.model-row { padding-block: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line-cream); display: grid; gap: 1.4rem; }
.model-row .m-head { display: flex; flex-direction: column; gap: 0.9rem; }
.model-row h3 { color: var(--cream); }
.model-row .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.model-row .tag { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.02em; color: rgba(255,251,248,0.66);
  border: 1px solid var(--line-cream); padding: 0.3rem 0.7rem; border-radius: 100px; }
.model-row p { color: rgba(255,251,248,0.8); margin: 0; max-width: 54ch; }
@media (min-width: 820px) { .model-row { grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: start; } }
.model-close { margin-top: clamp(2.5rem, 5vw, 4rem); }
.model-close p { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.5rem); line-height: 1.24;
  color: var(--cream); font-weight: 360; letter-spacing: -0.015em; max-width: 24ch; }

/* ---------- Steve / bio split ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 0.85fr 1.15fr; } .split.rev { grid-template-columns: 1.15fr 0.85fr; } }
/* ---- Global image framing: wrapper carries the ratio, never the img ---- */
.split-media, .feature-media { display: block; overflow: hidden; border-radius: 3px; aspect-ratio: 4 / 5; max-height: 70vh; }
.feature-media { aspect-ratio: 3 / 2; }
.split-media img, .feature-media img, .cs-gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 3px; }
@media (max-width: 859px) { .split-media, .feature-media, .cs-gallery img { max-height: 60vh; } }
.bio p:not(.eyebrow) { color: var(--ink-2); }
.bio .eyebrow + p { color: var(--ink); font-size: 1.12rem; }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; gap: 0.8rem 2rem; padding-block: clamp(1.8rem, 3.5vw, 2.6rem); border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .s-num { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); color: var(--clay); line-height: 1; }
.step h3 { margin-bottom: 0.1rem; }
.step p { color: var(--ink-2); margin: 0; max-width: 58ch; }
@media (min-width: 760px) { .step { grid-template-columns: auto 15rem 1fr; align-items: start; } }

/* ---------- Testimonials ---------- */
.tgrid { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .tgrid { grid-template-columns: 1fr 1fr; } }
.tcard { background: var(--bone); border: 1px solid var(--line); border-radius: 3px; padding: clamp(1.8rem, 3.5vw, 2.6rem); display: flex; flex-direction: column; }
.tcard blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.15rem, 1rem + 0.7vw, 1.4rem); line-height: 1.42; color: var(--ink); font-weight: 360; }
.tcard .t-attr { margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-3); }
.tcard .t-attr strong { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }

/* ---------- Workshop / lead-magnet band ---------- */
.feature { display: grid; gap: clamp(2rem,4vw,3.5rem); align-items: center; }
@media (min-width: 880px) { .feature { grid-template-columns: 1.1fr 0.9fr; } }
.feature-media img { border-radius: 3px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 0.4rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline;
  padding: 1.3rem 0; font-family: var(--serif); font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pl { color: var(--clay); font-family: var(--sans); font-weight: 400; font-size: 1.6rem; line-height: 1; transition: transform 0.25s ease; flex: none; }
.faq details[open] summary .pl { transform: rotate(45deg); }
.faq .a { padding: 0 0 1.5rem; color: var(--ink-2); max-width: 64ch; }
.faq .a.empty { color: var(--ink-3); font-style: italic; font-family: var(--serif); }

/* ---------- Closing CTA ---------- */
.closing { text-align: center; }
.closing h2 { max-width: 18ch; margin-inline: auto; }
.closing .cta-row { justify-content: center; margin-top: 2rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; } }
form .field { display: grid; gap: 0.5rem; margin-bottom: 1.2rem; }
form label { font-family: var(--sans); font-weight: 500; font-size: 0.9rem; color: var(--ink-2); }
form input, form textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--bone); border: 1px solid var(--line-strong); border-radius: 3px;
  padding: 0.85rem 1rem; width: 100%; transition: border-color 0.2s ease;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--clay); }
form textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; gap: 1.2rem; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.contact-block { display: grid; gap: 1.6rem; align-content: start; }
.contact-item { display: grid; gap: 0.3rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.contact-item .k { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: var(--ink-3); font-weight: 600; }
.contact-item .v { font-size: 1.08rem; color: var(--ink); }
.contact-item .v.pending { color: var(--ink-3); font-style: italic; font-family: var(--serif); }
.contact-item .v a { color: var(--clay); text-decoration: none; border-bottom: 1px solid var(--line-strong); }

/* ---------- Case study shells ---------- */
.cs { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem); }
.cs-head { display: grid; gap: 1.5rem; align-items: end; margin-bottom: 2.4rem; }
@media (min-width: 760px) { .cs-head { grid-template-columns: 1fr auto; } }
.cs-facts { display: grid; gap: 0; margin-top: 1rem; }
.cs-fact { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line); font-size: 0.98rem; }
.cs-fact:last-child { border-bottom: 1px solid var(--line); }
.cs-fact .k { color: var(--ink-3); font-weight: 500; }
.cs-fact .v { color: var(--ink); }
.cs-fact .v.pending { color: var(--clay); font-style: italic; font-family: var(--serif); }
.cs-gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin-top: 2rem; align-items: start; }
@media (min-width: 760px) { .cs-gallery.g3 { grid-template-columns: repeat(3, 1fr); } }
.cs-gallery img { aspect-ratio: 4 / 5; }
.empty-state { background: var(--bone); border: 1px dashed var(--line-strong); border-radius: 3px; padding: 1.4rem 1.6rem; color: var(--ink-3); font-family: var(--serif); font-style: italic; font-size: 1.05rem; }

/* ---------- Figure / full-bleed image ---------- */
.figure-full img { width: 100%; border-radius: 3px; }
.figcap { margin-top: 0.9rem; font-size: 0.86rem; color: var(--ink-3); font-family: var(--sans); }
.dark .figcap { color: rgba(255,251,248,0.55); }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: rgba(255,251,248,0.72); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem; }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-cream); }
@media (min-width: 820px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand .brand-mark { background-color: var(--cream); width: 172px; height: 36px; margin-bottom: 1.4rem; }
.footer-brand p { color: rgba(255,251,248,0.62); max-width: 34ch; font-size: 0.98rem; }
.footer-col h2 { font-family: var(--sans); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255,251,248,0.62); font-weight: 600; margin: 0 0 1.1rem; letter-spacing: 0.16em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { color: rgba(255,251,248,0.8); text-decoration: none; font-size: 0.98rem; transition: color 0.18s ease; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; padding-top: 2rem; font-size: 0.86rem; color: rgba(255,251,248,0.5); }
.footer-social { display: flex; gap: 1.4rem; }
.footer-social a { color: rgba(255,251,248,0.7); text-decoration: none; font-size: 0.86rem; letter-spacing: 0.04em; }
.footer-social a:hover { color: var(--cream); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Misc ---------- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream); padding: 0.7rem 1rem; z-index: 100; }
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.page-hero { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2rem, 4vw, 3rem); }
.page-hero .display { max-width: 18ch; }
.page-hero p { margin-top: 1.4rem; color: var(--ink-2); }
hr.rule { border: none; border-top: 1px solid var(--line); margin: 0; }
