/* ─────────────────────────────────────────────
   Homepage — 8-beat editorial flow.
   Visual + structure only. Foundation untouched.
   ───────────────────────────────────────────── */

/* Placeholder block — Surface tone, subtle inner Rule frame,
   centered uppercase Hanken micro-label. Replaced by real
   imagery later; markup will swap, this class will retire. */
.placeholder {
  position: relative;
  background: var(--surface);
  overflow: hidden;
  width: 100%;
}
.placeholder::before {
  content: "";
  position: absolute;
  inset: var(--space-3);
  border: 1px solid var(--rule);
  pointer-events: none;
  z-index: 1;
}
.placeholder::after {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.42;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}

/* ── Reveal-on-scroll ────────────────────── */
html.reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
  will-change: opacity, transform;
}
html.reveal-enabled [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ── Beat scaffolding ────────────────────── */
.beat {
  padding-block: var(--space-7);
}
.beat--paper   { background: var(--paper);   }
.beat--surface { background: var(--surface); }

/* ── Nav over-hero state (home only) ─────── */
body[data-page="home"] [data-nav] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transition: background-color 280ms ease, color 280ms ease, border-color 280ms ease;
}
body[data-page="home"]:not(.is-past-hero) [data-nav] {
  background: transparent;
  color: var(--paper);
  border-bottom-color: transparent;
}
body[data-page="home"]:not(.is-past-hero) [data-nav] .nav__wordmark,
body[data-page="home"]:not(.is-past-hero) [data-nav] .nav__links a {
  color: var(--paper);
}
body[data-page="home"].is-past-hero [data-nav] {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}

/* Scrim behind over-hero nav */
body[data-page="home"] [data-nav]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.30) 0%,
    rgba(0, 0, 0, 0)    100%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 280ms ease;
}
body[data-page="home"]:not(.is-past-hero) [data-nav]::before {
  opacity: 1;
}
body[data-page="home"] [data-nav] .nav__inner {
  position: relative;
  z-index: 1;
}

:root { --nav-h: 4.5rem; }

/* ── BEAT 1 — HERO ───────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
}
.hero__media,
.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
}
.hero__image {
  animation: hero-scale-drift 18s ease-out 1 forwards;
  transform-origin: 50% 55%;
  will-change: transform;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  z-index: 1;
  /* FIX B — desktop scrim weighted to the vertically-centred text zone.
     Previous gradient was 0.04 at 28-68% — nearly transparent where text lives.
     Strengthened mid-zone so title/subline/eyebrow are clearly legible without
     making the image look uniformly dimmed. Mobile block overrides below. */
  background: linear-gradient(
    180deg,
    rgba(46, 38, 32, 0.12) 0%,
    rgba(46, 38, 32, 0.32) 35%,
    rgba(46, 38, 32, 0.44) 60%,
    rgba(46, 38, 32, 0.20) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.hero__eyebrow {
  color: var(--paper);
  opacity: 0.82;
  margin-bottom: var(--space-3);
}
.hero__wordmark {
  font-family: var(--font-serif);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--paper);
}
.hero__subline {
  margin-top: var(--space-3);
  max-width: 38ch;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.375rem);
  line-height: 1.5;
  color: var(--paper);
  opacity: 0.94;
}
.hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  color: var(--paper);
  opacity: 0.7;
  text-decoration: none;
}
.hero__scroll:hover,
.hero__scroll:active {
  text-decoration: none;
  opacity: 1;
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: var(--space-3);
  background: var(--paper);
  opacity: 0.7;
}
.hero__sentinel {
  position: absolute;
  top: 80vh;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
@keyframes hero-scale-drift {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* ── BEAT 2 — Philosophy ─────────────────── */
.philosophy {
  text-align: center;
}
.philosophy__statement {
  margin: 0 auto;
  max-width: 28ch;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
}

/* Philosophy hero — enhanced quote section */
.beat--philosophy-hero {
  padding-block: 10rem;
}
html.reveal-enabled .beat--philosophy-hero[data-reveal] {
  transform: translateY(20px);
}
html.reveal-enabled .beat--philosophy-hero[data-reveal].is-revealed {
  transform: none;
}
.philosophy-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}
.philosophy-hero__kicker {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
  margin-bottom: var(--space-4);
}
.philosophy-hero__keyline {
  width: 60%;
  height: 1px;
  background: rgba(168, 92, 54, 0.55);
}
.philosophy-hero__keyline--top  { margin-bottom: var(--space-5); }
.philosophy-hero__keyline--bottom { margin-top: var(--space-5); }
.philosophy-hero__container {
  position: relative;
  padding: var(--space-4) var(--space-5);
  background:
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) top    left  / 1px  20px no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) top    left  / 20px 1px  no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) top    right / 1px  20px no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) top    right / 20px 1px  no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) bottom left  / 1px  20px no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) bottom left  / 20px 1px  no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) bottom right / 1px  20px no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) bottom right / 20px 1px  no-repeat;
}
.philosophy-hero__container .philosophy__statement {
  max-width: 46ch;
  margin: 0;
}

/* ── Karaoke word spans (philosophy quote) ── */
/* Resting = faint (18% opacity). Only applied after successful content
   split — quote is never invisible. Filled = full ink + weight 500. */
.kw {
  display: inline;
  color: rgba(46, 38, 32, 0.18);
  transition: color 400ms ease;
}
.kw.kw--filled {
  color: var(--ink);
  font-weight: 500;
}
/* kw-breath is set to inline-block at split time (before any fill) so
   width is reserved from the start — no reflow when breathe is added. */
.kw.kw-breath {
  display: inline-block;
  transform-origin: center;
  will-change: transform;
}
/* Breathe — emphasis burst then gentle infinite pulse, scale-only (no layout shift). */
.kw.kw--filled.breathe {
  animation:
    breathe-emphasis 1.4s ease-in-out 1,
    breathe-subtle   3.5s ease-in-out 1.4s infinite alternate;
}
@keyframes breathe-emphasis {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.05); }
  80%  { transform: scale(1); }
  100% { transform: scale(1); }
}
@keyframes breathe-subtle {
  from { transform: scale(1.00); }
  to   { transform: scale(1.03); }
}

/* ── BEAT 3 — Signature work ─────────────── */
.signature__header {
  margin-bottom: var(--space-3);
  text-align: center;
}
.signature__header .label {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  font-variant-caps: small-caps;
  display: block;
}
.signature__label-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-2);
  height: 14px;
}
.signature__label-line::before,
.signature__label-line::after {
  content: '';
  height: 1px;
  background: rgba(168, 92, 54, 0.55);
  width: 0;
  flex-shrink: 0;
  transition: width 700ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
.signature__label-line.is-drawn::before,
.signature__label-line.is-drawn::after {
  width: 60px;
}
.signature__label-diamond {
  color: var(--accent);
  opacity: 0.5;
  font-size: 0.65em;
  margin-inline: var(--space-1);
  flex-shrink: 0;
  line-height: 1;
}
.signature__bleed {
  margin-block: var(--space-4);
  overflow: visible; /* .img-hover child handles zoom clip; caption must not be clipped */
}
.signature__bleed .img-hover img {
  max-height: 60vh;
  object-fit: cover;
  width: 100%;
}

/* ── Story card captions ──────────────────── */
/* .story-card wraps image + caption in pair layout; bleed cards use caption alone */
.story-card {
  display: flex;
  flex-direction: column;
}
.story-card__caption {
  padding-top: var(--space-2);
}
/* Bleed captions: align to content-area left edge via wrap-equivalent horizontal padding */
.signature__bleed .story-card__caption {
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.story-card__title {
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}
.story-card__meta {
  margin-top: 0.375rem;
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  font-variant-caps: small-caps;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.55;
  line-height: 1.4;
}
.signature__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-block: var(--space-5);
}
.signature__footer {
  margin-top: var(--space-5);
  text-align: center;
}

/* Quiet text links (beat 3 + beat 5) */
.text-link {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4em;
}
.text-link:hover,
.text-link:active {
  text-decoration-color: var(--accent);
}

/* ── Image hover utility ─────────────────── */
.img-hover {
  overflow: hidden;
  display: block;
}
.about-teaser__img-wrap {
  width: 100%;
}
@media (hover: hover) {
  .img-hover img {
    transition: transform 700ms cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
  }
  .img-hover:hover img {
    transform: scale(1.03);
  }
}

/* ── BEAT 4 — Featured film ──────────────── */
.film__label {
  display: block;
  margin-bottom: var(--space-3);
  text-align: center;
}
.film__frame {
  margin-inline: auto;
  max-width: 1080px;
}
.film__caption {
  margin-top: var(--space-3);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-body);
  color: var(--ink);
  opacity: 0.85;
  text-align: center;
}

/* ── BEAT 5 — About teaser ───────────────── */
.about-teaser {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(var(--space-4), 5vw, var(--space-6));
  align-items: center;
}
.about-teaser__frame {
  position: relative;
  isolation: isolate;
}
.about-teaser__frame::before,
.about-teaser__frame::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent);
  pointer-events: none;
  z-index: -1;
  transition: transform 600ms cubic-bezier(.22,.61,.36,1);
}
.about-teaser__frame::before { top: calc(-1 * var(--space-2)); right: calc(-1 * var(--space-2)); }
.about-teaser__frame::after  { bottom: calc(-1 * var(--space-2)); left: calc(-1 * var(--space-2)); }
.about-teaser__frame:hover::before { transform: translate(var(--space-1), calc(-1 * var(--space-1))); }
.about-teaser__frame:hover::after  { transform: translate(calc(-1 * var(--space-1)), var(--space-1)); }

.about-teaser__portrait {
  aspect-ratio: 4 / 5;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 520px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 900ms cubic-bezier(.22,.61,.36,1);
}
html.reveal-enabled [data-reveal].is-revealed .about-teaser__portrait {
  clip-path: inset(0 0 0% 0);
}
html:not(.reveal-enabled) .about-teaser__portrait { clip-path: none; }

.about-teaser__dogear {
  position: absolute;
  top: 0; right: 0;
  width: 44px; height: 44px;
  z-index: 2;
  background: linear-gradient(225deg, var(--accent) 0 50%, transparent 50%);
  box-shadow: -2px 2px 4px rgba(46,38,32,0.25);
  transition: width 320ms ease, height 320ms ease;
  pointer-events: none;
}
.about-teaser__frame:hover .about-teaser__dogear {
  width: 60px; height: 60px;
}

.about-teaser__text > * + * {
  margin-top: var(--space-3);
}
.about-teaser__text p:not(.label) {
  max-width: 42ch;
  line-height: 1.7;
}

/* Read more link — animated underline sweep + sliding arrow */
.about-teaser__cta {
  position: relative;
  text-decoration: none;
  background-image: linear-gradient(rgba(168, 92, 54, 0.3), rgba(168, 92, 54, 0.3));
  background-repeat: no-repeat;
  background-position: 0 calc(100% + 2px);
  background-size: 100% 1px;
}
.about-teaser__cta::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 400ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
@media (hover: hover) {
  .about-teaser__cta:hover::before,
  .about-teaser__cta:focus-visible::before {
    width: 100%;
  }
}
.about-teaser__cta::after {
  content: ' \2192';
  display: inline-block;
  transition: transform 400ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
@media (hover: hover) {
  .about-teaser__cta:hover::after,
  .about-teaser__cta:focus-visible::after {
    transform: translateX(6px);
  }
}

/* ── BEAT 6 — Social proof ───────────────── */
.testimonials {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-6);
}

/* Section eyebrow */
.testimonials__header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonials__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  font-variant-caps: small-caps;
  display: block;
  margin-bottom: 0;
}
.testimonials__eyebrow-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-2);
  height: 14px;
}
.testimonials__eyebrow-line::before,
.testimonials__eyebrow-line::after {
  content: '';
  height: 1px;
  background: rgba(168, 92, 54, 0.55);
  width: 0;
  flex-shrink: 0;
  transition: width 700ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
.testimonials__eyebrow-line.is-drawn::before,
.testimonials__eyebrow-line.is-drawn::after {
  width: 60px;
}
.testimonials__eyebrow-diamond {
  color: var(--accent);
  opacity: 0.5;
  font-size: 0.65em;
  margin-inline: var(--space-1);
  flex-shrink: 0;
  line-height: 1;
}

/* Featured quote — corner brackets + oversized opening mark */
.testimonial--hero {
  max-width: 48ch;
  margin: 0;
}
.testimonial__bracket-box {
  position: relative;
  padding: var(--space-4) var(--space-5);
  background:
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) top    left  / 1px  20px no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) top    left  / 20px 1px  no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) top    right / 1px  20px no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) top    right / 20px 1px  no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) bottom left  / 1px  20px no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) bottom left  / 20px 1px  no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) bottom right / 1px  20px no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) bottom right / 20px 1px  no-repeat;
}
.testimonial__bracket-box::before {
  content: '\201C';
  position: absolute;
  top: -0.05em;
  left: 0.05em;
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.22;
  pointer-events: none;
  user-select: none;
}
.testimonial--hero blockquote {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1.5vw + 0.75rem, 1.8rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}
.testimonial--hero figcaption {
  margin-top: var(--space-3);
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: 0.15em;
  font-variant-caps: small-caps;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.55;
}
.testimonial__sep {
  color: var(--accent);
  opacity: 0.7;
  font-size: 0.75em;
  margin-inline: 0.3em;
}

/* ── Supporting testimonial rotator ─────── */
/* All 3 pairs stack in the same grid cell (grid-area: 1/1).
   Container height = tallest pair; invisible pairs don't affect layout.
   Whip keyframes: outgoing 280ms ease-in, incoming 380ms spring. */
.testimonials__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 72ch;
  overflow: hidden;
}

.tr-pair {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  position: relative;
  /* Non-active default: invisible but in flow (maintains container height) */
  visibility: hidden;
  opacity: 0;
}
/* Vertical keyline between the two testimonial columns */
.tr-pair::before {
  content: '';
  position: absolute;
  left: 50%;
  top: var(--space-3);
  bottom: var(--space-3);
  width: 1px;
  background: rgba(168, 92, 54, 0.55);
  transform: translateX(-50%);
  pointer-events: none;
}

.tr-pair.tr-pair--active {
  visibility: visible;
  opacity: 1;
}
.tr-pair.tr-pair--exiting {
  visibility: visible;
  animation: whip-out 280ms ease-in forwards;
}
.tr-pair.tr-pair--entering {
  visibility: visible;
  animation: whip-in 380ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes whip-out {
  from { transform: translateX(0)    skewX(0deg);  filter: blur(0px); opacity: 1; }
  to   { transform: translateX(-60px) skewX(-6deg); filter: blur(6px); opacity: 0; }
}
@keyframes whip-in {
  from { transform: translateX(60px)  skewX(-6deg); filter: blur(6px); opacity: 0; }
  to   { transform: none;             skewX(0deg);  filter: none;      opacity: 1; }
}

.testimonial {
  max-width: 36ch;
  margin: 0 auto;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  opacity: 0.85;
}
.testimonial figcaption {
  margin-top: var(--space-2);
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: 0.15em;
  font-variant-caps: small-caps;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.55;
}

/* Featured quote scroll-entry reveal */
html.reveal-enabled .testimonial--hero {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 700ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
html.reveal-enabled .testimonial--hero.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Stats marquee ───────────────────────── */
/* Infinite horizontal scroll: two identical sets. width:max-content makes
   the track's own layout width = both sets combined, so translateX(-50%)
   is exactly one set width — seamless at any viewport. No hover-pause. */
.stats-strip {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-top: var(--space-7);
  border-top: 1px solid rgba(168, 92, 54, 0.55);
  border-bottom: 1px solid rgba(168, 92, 54, 0.55);
  padding-block: var(--space-4);
  overflow: hidden;
}
.stats-strip__track {
  display: flex;
  width: max-content;
  animation: stats-marquee 30s linear infinite;
  will-change: transform;
}
/* Each set ends with a trailing ◇ + padding-right so the gap at the
   loop seam visually matches the gap between items within a set. */
.stats-strip__set {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
  padding-right: var(--space-4);
}
@keyframes stats-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.stats-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.stats-strip__num {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.25rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1;
}
.stats-strip__label {
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.6;
  text-align: center;
  white-space: nowrap;
}
.stats-strip__sep {
  color: var(--accent);
  opacity: 0.45;
  font-size: 0.7em;
  flex-shrink: 0;
}

/* ── BEAT 8 — Inquiry close ──────────────── */
.beat--close-hero {
  padding-block: 10rem;
}
.close-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}
.close-hero__kicker {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
  margin-bottom: var(--space-4);
}
.close-hero__keyline {
  width: 60%;
  height: 1px;
  background: rgba(168, 92, 54, 0.55);
}
.close-hero__keyline--top    { margin-bottom: var(--space-5); }
.close-hero__keyline--bottom { margin-top: var(--space-5); margin-bottom: var(--space-6); }
.close-hero__container {
  padding: var(--space-4) var(--space-5);
  background:
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) top    left  / 1px  20px no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) top    left  / 20px 1px  no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) top    right / 1px  20px no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) top    right / 20px 1px  no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) bottom left  / 1px  20px no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) bottom left  / 20px 1px  no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) bottom right / 1px  20px no-repeat,
    linear-gradient(rgba(168,92,54,0.55), rgba(168,92,54,0.55)) bottom right / 20px 1px  no-repeat;
}
.close-hero__line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2vw + 0.75rem, 2.4rem);
  font-weight: 400;
  line-height: 1.3;
  max-width: 34ch;
  color: var(--ink);
  margin: 0;
}
.close__cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  transition: background-color 400ms ease, color 400ms ease;
}
.close__cta:hover,
.close__cta:active {
  background-color: var(--accent);
  color: var(--paper);
  text-decoration: none;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 760px) {
  /* — Existing layout overrides — */
  .signature__pair  { grid-template-columns: 1fr; gap: var(--space-3); }
  .about-teaser     { grid-template-columns: 1fr; }
  .hero__wordmark   { font-size: var(--fs-h1); }
  .philosophy__statement { font-size: var(--fs-h3); }
  .close-hero__line { font-size: var(--fs-h3); }

  /* FIX 5 — Reduce section vertical padding; no section dead-space > content */
  .beat { padding-block: clamp(var(--space-4), 8vw, var(--space-5)); }
  .beat--philosophy-hero { padding-block: clamp(var(--space-4), 10vw, 4rem); }
  .beat--close-hero      { padding-block: clamp(var(--space-4), 10vw, 4rem); }
  /* Tighten keyline margins so quote containers breathe without excess void */
  .philosophy-hero__keyline--top    { margin-bottom: var(--space-3); }
  .philosophy-hero__keyline--bottom { margin-top:    var(--space-3); }
  .close-hero__keyline--top    { margin-bottom: var(--space-3); }
  .close-hero__keyline--bottom { margin-top: var(--space-3); margin-bottom: var(--space-4); }
  /* Reduce testimonials flex gap and stats-strip top margin */
  .testimonials        { gap: var(--space-4); }
  .stats-strip         { margin-top: var(--space-4); }

  .philosophy-hero__container,
  .close-hero__container  { padding: var(--space-3); }
  .testimonial--hero blockquote { font-size: var(--fs-h3); }
  .tr-pair {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .tr-pair::before { display: none; }
  .testimonial__bracket-box { padding: var(--space-3); }
  .close-hero__keyline { width: 80%; }

  /* FIX 3 — Hero legibility: bottom-weighted scrim centred on text zone */
  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(46, 38, 32, 0.08) 0%,
      rgba(46, 38, 32, 0.30) 35%,
      rgba(46, 38, 32, 0.48) 62%,
      rgba(46, 38, 32, 0.22) 100%
    );
  }

  /* FIX 4 — Consistent Recent Stories gutters: bleed images get wrap-equiv padding */
  .signature__bleed {
    padding-inline: clamp(1.25rem, 5vw, 3rem);
  }
  /* Caption's own desktop padding-inline becomes double-padding when the bleed
     parent already carries padding-inline on mobile — reset to zero */
  .signature__bleed .story-card__caption {
    padding-inline: 0;
  }

  /* FIX 6 — Framed portrait: halve offset so accent frame stays inside viewport */
  .about-teaser__frame::before { top: calc(-1 * var(--space-1)); right: calc(-1 * var(--space-1)); }
  .about-teaser__frame::after  { bottom: calc(-1 * var(--space-1)); left: calc(-1 * var(--space-1)); }
}

/* ── Reduced motion ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero__image { animation: none; transform: none; }
  html.reveal-enabled [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.reveal-enabled .beat--philosophy-hero[data-reveal],
  html.reveal-enabled .beat--philosophy-hero[data-reveal].is-revealed {
    transform: none;
  }
  .about-teaser__portrait { clip-path: none !important; transition: none; }
  .about-teaser__frame::before, .about-teaser__frame::after { transition: none; }
  .kw { color: var(--ink); transition: none; }
  .kw.kw--filled.breathe { animation: none; transform: none; }
  .signature__label-line::before,
  .signature__label-line::after,
  .testimonials__eyebrow-line::before,
  .testimonials__eyebrow-line::after { transition: none; width: 60px; }
  .img-hover img { transition: none; will-change: auto; }
  .img-hover:hover img { transform: none; }
  html.reveal-enabled .testimonial--hero {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .about-teaser__cta::before { transition: none; }
  .about-teaser__cta::after  { transition: none; }
  /* Whip → 400ms crossfade */
  .tr-pair.tr-pair--exiting {
    animation: none;
    visibility: visible;
    opacity: 0;
    transition: opacity 400ms ease;
  }
  .tr-pair.tr-pair--entering {
    animation: none;
    visibility: visible;
    opacity: 1;
    transition: opacity 400ms ease;
  }
  /* Stats: stop marquee, hide duplicate, wrap items */
  .stats-strip__track { animation: none; }
  .stats-strip__set:nth-child(2) { display: none; }
  .stats-strip__set {
    flex-wrap: wrap;
    justify-content: center;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
    padding-right: 0;
    width: 100%;
  }
}
