/* =========================================
   COURTNEY BLOEDORN — DESIGN TOKENS & BASELINE
   Edit color or type tokens here once,
   they update everywhere.
   ========================================= */

:root {
  /* Core palette */
  --bone: #F4EDDF;
  --sand: #E8DEC8;
  --tobacco: #1F1812;
  --smoke: #665C50;
  --mist: #A8A095;
  --hairline: #D6CCB5;

  /* Brand accents */
  --plum: #5A2D41;            /* italic emphasis, button fills, deep depth (cb-color-plum) */
  --plum-deep: #421F2E;       /* hover/pressed for plum */
  --fuchsia: #D74A93;         /* arrow circles, underline accents */
  --pink-soft: #F5DCE2;       /* atmospheric gradient base */

  /* Category chip colors */
  --cat-premium-wellness: #8DA0B5;
  --cat-performance: #B5583C;
  --cat-adventure: #C18F40;
  --cat-holistic: #6B8569;
  --cat-healthcare: #3F4D77;
  --cat-b2b: #3F7B7E;
  --cat-pet: #7B5239;
  --cat-beauty: #A88891;
  --cat-fun: #D17A6E;

  /* Typography — two-family system */
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-width: 1440px;
  --gutter: 5vw;
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bone);
  color: var(--tobacco);
  line-height: 1.5;
  letter-spacing: -0.05em; /* global default — overridden where specified */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Trademark symbol — sits as a small superscript next to the Courtney
   Bloedorn wordmark in both header and footer. Reset out of italic so it
   doesn't pick up the wordmark's serif italic styling. */
.trademark {
  display: inline-block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 0.32em;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 0.08em;
  line-height: 1;
}

/* Reusable: italic display accent (the "Range" treatment) */
.accent-italic {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--plum);
  font-weight: 400;
}

/* Reusable: section container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =========================================
   REUSABLE BUTTON SYSTEM
   ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 24px;
  border-radius: 25px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 200ms ease, color 200ms ease;
  cursor: pointer;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  letter-spacing: -0.05em;
  line-height: 1;
}

.btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fuchsia);
  flex-shrink: 0;
  transition: background 200ms ease;
}

.btn__arrow svg {
  width: 14px;
  height: 12px;
  display: block;
}

/* Ghost: outlined, transparent fill, tobacco text — matches header CTA */
.btn--ghost {
  border: 1px solid var(--tobacco);
  color: var(--tobacco);
}
.btn--ghost:hover .btn__arrow {
  background: var(--plum);
}

/* Primary: plum fill, no border, cream text */
.btn--primary {
  background: var(--plum);
  color: var(--bone);
  border: 1px solid var(--plum); /* keeps height matching ghost */
}
.btn--primary:hover {
  background: var(--plum-deep);
  border-color: var(--plum-deep);
}

/* Ghost-light: outlined for dark backgrounds — cream border, cream text */
.btn--ghost-light {
  border: 1px solid var(--bone);
  color: var(--bone);
}
.btn--ghost-light:hover .btn__arrow {
  background: var(--bone);
}
.btn--ghost-light:hover .btn__arrow svg path {
  stroke: var(--plum);
}

/* =========================================
   SECTIONS GO BELOW. Each section is added
   here as we build it.
   ========================================= */

/* ---- HEADER ---- */
.site-header {
  background: var(--bone);
  position: relative;
  z-index: 10;
}

.site-header__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.site-header__logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  letter-spacing: -0.05em;
  color: var(--tobacco);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 200ms ease;
}

.site-header__logo:hover {
  opacity: 0.7;
}

/* Nav */
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 48px;
  flex: 1;
  justify-content: center;
}

.site-header__nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.05em;
  color: var(--tobacco);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 200ms ease;
}

.site-header__nav a:hover {
  opacity: 0.6;
}

/* CTA pill button with arrow circle */
.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 24px;
  border: 1px solid var(--tobacco);
  border-radius: 25px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-header__cta-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  letter-spacing: -0.05em;
  color: var(--tobacco);
  line-height: 1;
}

.site-header__cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fuchsia);
  flex-shrink: 0;
  transition: background 200ms ease;
}

.site-header__cta:hover .site-header__cta-arrow {
  background: var(--plum);
}

.site-header__cta-arrow svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* Divider line: 1px, edge to edge, plum */
.site-header__divider {
  height: 1px;
  width: 100%;
  background: var(--plum);
}

/* Light responsive — adjust gutter at smaller widths */
@media (max-width: 1100px) {
  .site-header__container {
    padding: 24px 40px;
    gap: 20px;
  }
  .site-header__nav {
    gap: 32px;
  }
}
@media (max-width: 860px) {
  .site-header__nav {
    display: none; /* Mobile menu can be added later */
  }
}

/* ---- HERO ---- */
.hero {
  position: relative;
  background: var(--bone);
  overflow: hidden;
  padding: 60px 0 70px; /* tightened so credibility bar peeks above the fold */
}

/* Atmospheric layer (gradient + handwriting) sits behind everything */
.hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Pink gradient bloom — CSS approximation of the atmospheric */
.hero__atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 95% 30%, var(--pink-soft) 0%, transparent 60%),
    radial-gradient(ellipse 55% 60% at 80% 95%, var(--pink-soft) 0%, transparent 65%),
    radial-gradient(ellipse 35% 40% at 30% 90%, rgba(245, 220, 230, 0.6) 0%, transparent 70%);
}

/* Handwriting layer — placeholder until export from Figma */
.hero__handwriting {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  mix-blend-mode: multiply;
}

.hero__container {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__content {
  max-width: 600px;
}

/* Eyebrow: 18pt Instrument Sans Regular, tracked, uppercase */
.hero__eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--tobacco);
  margin-bottom: 32px;
  line-height: 1.3;
}

/* Headline: 70pt, two-tone (italic plum "Range" + medium tobacco rest) */
.hero__headline {
  font-size: 70px;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 28px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--tobacco);
}

.hero__headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--plum);
  /* 0.5pt center-aligned stroke */
  -webkit-text-stroke: 0.5px var(--plum);
}

/* Body: 20pt Instrument Sans Regular */
.hero__body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.05em;
  line-height: 1.45;
  color: var(--tobacco);
  margin-bottom: 44px;
}

.hero__cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* Image stack: three overlapping case study tiles */
.hero__images {
  position: relative;
  width: 100%;
  height: 580px; /* reduced from 640 to help the credibility bar peek */
}

.hero__image {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  box-shadow: 0 18px 50px rgba(31, 24, 18, 0.10);
  transition: transform 350ms cubic-bezier(.2,.8,.2,1), box-shadow 350ms ease;
  background: var(--sand);
}

/* Placeholder colors when images are missing — picked to match each brand's vibe */
.hero__image--vigor    { background: #B5583C; } /* warm rust = Performance */
.hero__image--pharmacyai { background: #3F4D77; } /* navy = Healthcare Tech */
.hero__image--first5   { background: #6B8569; } /* sage = Premium Wellness/nature */

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__image:hover {
  z-index: 5;
  box-shadow: 0 30px 80px rgba(31, 24, 18, 0.18);
}

/* Vigor — top, slight counter-clockwise tilt */
.hero__image--vigor {
  top: 0;
  left: 6%;
  width: 78%;
  height: 280px;
  transform: rotate(-2deg);
  z-index: 2;
}
.hero__image--vigor:hover {
  transform: rotate(-2deg) translateY(-4px);
}

/* PharmacyAI — middle-right, slight clockwise tilt, in front */
.hero__image--pharmacyai {
  top: 36%;
  right: -2%;
  width: 70%;
  height: 250px;
  transform: rotate(3deg);
  z-index: 3;
}
.hero__image--pharmacyai:hover {
  transform: rotate(3deg) translateY(-4px);
}

/* Woodstock First5 — bottom-left, slight counter-clockwise tilt */
.hero__image--first5 {
  bottom: 0;
  left: 0;
  width: 72%;
  height: 260px;
  transform: rotate(-2deg);
  z-index: 1;
}
.hero__image--first5:hover {
  transform: rotate(-2deg) translateY(-4px);
}

/* Responsive — stack at narrower widths */
@media (max-width: 1100px) {
  .hero__container {
    padding: 0 40px;
    gap: 40px;
  }
  .hero__headline { font-size: 56px; }
}
@media (max-width: 860px) {
  .hero { padding: 48px 0 64px; }
  .hero__container {
    grid-template-columns: 1fr;
  }
  .hero__images {
    height: 480px;
  }
  .hero__headline { font-size: 44px; }
}

/* ---- CREDIBILITY BAR ---- */
/* Scroll-driven box reveal: as the user scrolls past this section, boxes
   reveal one at a time based on the section's position in the viewport.
   No sticky pin (so no awkward whitespace above/below) — the bar sits back
   in its natural place between hero and brief-first. */
.credibility {
  background: var(--plum);
  height: 258px;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
  overflow: hidden; /* hides boxes while they're translated off-screen right */
}

/* Override base [data-reveal][data-reveal-direction="right"] for credibility:
   bigger travel distance so boxes feel like they're sliding in from off-screen.
   No per-box transition-delay — scroll position drives the timing now. */
.credibility__box[data-reveal][data-reveal-direction="right"] {
  transform: translateX(140%);
  transition-duration: 700ms;
  transition-delay: 0ms;
}

/* Higher-specificity reveal so the box returns to its grid position cleanly */
.credibility__box[data-reveal][data-reveal-direction="right"].is-revealed {
  transform: translateX(0);
}

.credibility__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* Box: gradient stroke (cb-color-gradient) + fuchsia glow */
.credibility__box {
  /* Gradient border trick: inner plum fill + gradient on border */
  background:
    linear-gradient(var(--plum), var(--plum)) padding-box,
    linear-gradient(180deg, #D74A93 0%, #F8DCE6 100%) border-box;
  border: 1px solid transparent;
  border-radius: 20px;
  /* Drop shadow / glow: X 0, Y 0, blur 18, spread 0, fuchsia at 52% */
  box-shadow: 0 0 18px rgba(215, 74, 147, 0.52);
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  height: 210px;
  gap: 6px;
}

/* Stat: 70pt Instrument Serif Italic, white */
.credibility__stat {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 70px;
  line-height: 1;
  color: #fff;
}

/* Label: 22pt Instrument Sans Medium, white */
.credibility__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  color: #fff;
}

/* Aside: 18pt Instrument Serif Italic, 0% letter spacing (overrides default) */
.credibility__aside {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.25;
  color: #fff;
  margin-top: 2px;
}

/* Responsive — at narrower widths, allow boxes to wrap */
@media (max-width: 1100px) {
  .credibility { height: auto; padding: 32px 0; }
  .credibility__container {
    padding: 0 40px;
    gap: 14px;
  }
}
@media (max-width: 860px) {
  .credibility__container {
    grid-template-columns: repeat(2, 1fr);
  }
  .credibility__box { height: 180px; }
}
@media (max-width: 520px) {
  .credibility__container {
    grid-template-columns: 1fr;
  }
}

/* ---- BRIEF-FIRST SECTION ---- */
.brief-first {
  background-color: var(--bone);
  background-image: url('images/courtney-bg.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  padding: 120px 0;
  position: relative;
}

.brief-first__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  position: relative;
  z-index: 1;
}

.brief-first__content {
  max-width: 720px;
}

/* Eyebrow: 18pt Instrument Sans Regular, matches hero eyebrow */
.brief-first__eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--tobacco);
  margin-bottom: 28px;
  line-height: 1.3;
}

/* Optional underline on the "brief-first?" word */
.brief-first__eyebrow-underline {
  text-decoration: underline;
  text-decoration-color: var(--fuchsia);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Headline: 55pt Instrument Sans Medium, -5% letter spacing, tobacco
   "Intentionally." set inline as Italic Serif plum with 0.5pt stroke */
.brief-first__headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 55px;
  letter-spacing: -0.05em;
  line-height: 1.08;
  color: var(--tobacco);
  margin-bottom: 40px;
}

.brief-first__headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.05em;
  color: var(--plum);
  -webkit-text-stroke: 0.5px var(--plum);
}

/* Body copy: narrative paragraphs */
.brief-first__body p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--tobacco);
  margin-bottom: 18px;
}

.brief-first__body p:last-child {
  margin-bottom: 0;
}

/* Pull quote: 40pt Instrument Serif Italic, plum, 0.25pt stroke */
.brief-first__pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.15;
  color: var(--plum);
  -webkit-text-stroke: 0.25px var(--plum);
  margin: 48px 0 40px;
  max-width: 580px;
}

/* Responsive */
@media (max-width: 1100px) {
  .brief-first { padding: 80px 0; }
  .brief-first__container { padding: 0 40px; }
  .brief-first__headline { font-size: 44px; }
  .brief-first__pullquote { font-size: 32px; }
}
@media (max-width: 860px) {
  .brief-first {
    /* On mobile, fade the bg image to keep text readable */
    background-image:
      linear-gradient(to bottom, rgba(244, 237, 223, 0.85) 0%, rgba(244, 237, 223, 0.85) 100%),
      url('images/courtney-bg.png');
  }
  .brief-first__headline { font-size: 36px; }
  .brief-first__pullquote { font-size: 26px; }
  .brief-first__content { max-width: 100%; }
}

/* ---- PROCESS STACK (sticky pin, swap-on-scroll) ----
   Scales to any number of stacked steps: stack height = 100vh × stepCount.
   Step 0 is visible initially; later steps are stacked underneath at the
   same coordinates and fade in as earlier steps slide up + away. */
.process-stack {
  position: relative;
  height: 400vh; /* one viewport per stacked step (4 steps = 400vh) */
  background: var(--plum); /* matches step bg so the pin doesn't flash */
}

.process-stack__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* Stacked steps are absolutely positioned inside the pinned viewport,
   transition transform/opacity as they slide in/out. */
.process-step--stacked {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100vh;
  padding: 72px 0 56px !important; /* compressed to fit 100vh */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 950ms cubic-bezier(.2,.8,.2,1),
    opacity 700ms cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
}

/* All steps after the first start hidden but in the same position */
.process-step--stacked:not([data-step-index="0"]) {
  opacity: 0;
  pointer-events: none;
}

/* Active state: fades into view (no slide — already in place) */
.process-step--stacked.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Replaced state: slides up + fades out, revealing the next step underneath */
.process-step--stacked.is-replaced {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* Stacking order: lower index = on top, so each step covers the next
   until it's replaced. (Supports up to 6 steps without changes.) */
.process-step--stacked[data-step-index="0"] { z-index: 6; }
.process-step--stacked[data-step-index="1"] { z-index: 5; }
.process-step--stacked[data-step-index="2"] { z-index: 4; }
.process-step--stacked[data-step-index="3"] { z-index: 3; }
.process-step--stacked[data-step-index="4"] { z-index: 2; }
.process-step--stacked[data-step-index="5"] { z-index: 1; }

/* When stacked, container hugs vertical center so layout fits 100vh */
.process-step--stacked .process-step__container {
  flex: 1;
  align-content: center;
  padding-top: 0;
  padding-bottom: 0;
}

/* Step 4 only: anchor the row to the top of the container so the text column
   doesn't shift vertically as the carousel's variable-height images cycle. */
.process-step--step4 .process-step__container {
  align-content: start;
  padding-top: 24px;
}

.process-step--stacked .process-step__headline {
  margin: 24px 0 0;
  flex-shrink: 0;
}

/* ---- PROCESS STEPS (Step 1: We Talk Vision, etc.) ---- */
.process-step {
  position: relative;
  background: var(--plum);
  color: var(--bone);
  padding: 100px 0 110px;
  overflow: hidden;
}

/* Subtle gradient on plum bg for atmosphere */
.process-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 40%, rgba(0,0,0,0.12) 100%);
  pointer-events: none;
}

.process-step > * {
  position: relative;
  z-index: 1;
}

.process-step__container {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  column-gap: 80px;
  align-items: start;
}

.process-step__content {
  display: flex;
  flex-direction: column;
  align-self: start;
}

.process-step__eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.05em;
  color: var(--bone);
  margin-bottom: 28px;
  line-height: 1.3;
}

.process-step__body p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--bone);
  margin-bottom: 16px;
  max-width: 560px;
}

.process-step__body p:last-child {
  margin-bottom: 0;
}

/* Typewriter headline — full-bleed, centered across the viewport */
.process-step__headline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10.4vw;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--bone);
  margin: 56px 0 0;
  padding: 0 24px;
  white-space: nowrap;
  text-align: center;
}

/* Step 2's headline is longer ("We Nail Down Inspiration.") — scale down
   so it still fits edge-to-edge on the same viewport. */
.process-step--inspiration .process-step__headline {
  font-size: 7.2vw;
}

/* Step 3's headline ("We Tweak and Refine.") sits between Step 1 and Step 2 in length */
.process-step--step3 .process-step__headline {
  font-size: 8.5vw;
}

/* Step 4's headline ("We Hand You the Keys.") — similar length to Step 3 */
.process-step--step4 .process-step__headline {
  font-size: 8.3vw;
}

.process-step__headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--bone);
  border-bottom: 2px solid var(--fuchsia);
  padding-bottom: 4px;
  display: inline-block;
}

/* =========================================
   REVEAL-ON-SCROLL UTILITIES
   Tag any element with data-reveal (and optional data-reveal-direction)
   to fade + slide it in when its parent [data-typewriter-section] enters
   the viewport. main.js toggles the .is-revealed class.
   ========================================= */
[data-reveal] {
  opacity: 0;
  transition: opacity 700ms cubic-bezier(.2,.8,.2,1), transform 800ms cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}

[data-reveal][data-reveal-direction="up"]    { transform: translateY(48px); }
[data-reveal][data-reveal-direction="down"]  { transform: translateY(-48px); }
[data-reveal][data-reveal-direction="right"] { transform: translateX(60px); transition-delay: 120ms; }
[data-reveal][data-reveal-direction="left"]  { transform: translateX(-60px); transition-delay: 120ms; }

[data-reveal].is-revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* Typewriter elements: invisible until triggered, then text gets typed in via JS */
.typewriter {
  display: inline-block;
  white-space: pre-wrap;
}

/* Cursor blink while typing */
.typewriter.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.05em;
  height: 0.85em;
  background: currentColor;
  margin-left: 0.04em;
  animation: blink 0.7s steps(1) infinite;
  vertical-align: baseline;
  transform: translateY(0.1em);
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Image column — short and wide, aligned to top of upper grid row */
.process-step__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  align-self: start;
  /* Gradient stroke + glow — matches case-card treatment in Featured Work */
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, #D74A93 0%, #F8DCE6 100%) border-box;
  border: 1px solid transparent;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(215, 74, 147, 0.52);
}

.process-step__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Carousel variant: each slide displays at its native aspect ratio, so the
   carousel box itself resizes between slides. The active slide is in normal
   flow (drives the box height); inactive slides are positioned absolutely
   underneath it, ready to swap in. */
.process-step__image--carousel {
  /* Override the base 4:3 aspect ratio — let active slide determine height */
  aspect-ratio: auto;
  height: auto;
}

.process-step__image--carousel .carousel__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  pointer-events: none;
  display: block;
  /* No transition — instant swap for the choppy effect */
}

/* Active slide: take it OUT of absolute positioning so its natural size
   dictates the parent's height. Each slide change causes the box to retake
   its proportions. */
.process-step__image--carousel .carousel__slide.is-active {
  position: relative;
  opacity: 1;
}

.process-step__cta {
  align-self: flex-start;
  margin-top: 36px;
}

@media (max-width: 1100px) {
  .process-step__container {
    padding: 0 40px;
    column-gap: 48px;
  }
  .process-step__headline { font-size: 10.4vw; padding: 0 16px; }
}
@media (max-width: 860px) {
  .process-step { padding: 64px 0; }
  .process-step__container { grid-template-columns: 1fr; row-gap: 48px; }
  .process-step__headline {
    font-size: 12vw;
    white-space: normal;
    margin-top: 24px;
    padding: 0 16px;
  }
}

/* ---- FEATURED WORK ---- */
.featured-work {
  position: relative;
  background: var(--bone);
  padding: 80px 0 120px;
  overflow: hidden;
}

/* Soft pink atmospheric similar to hero */
.featured-work::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, var(--pink-soft) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 0% 30%, rgba(245, 220, 230, 0.5) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 100% 30%, rgba(245, 220, 230, 0.5) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.featured-work > * {
  position: relative;
  z-index: 1;
}

/* ----- Marquee eyebrow: small all-caps line above the scrolling logos ----- */
.marquee__eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em; /* slight positive tracking — reads better when uppercased */
  text-transform: uppercase;
  color: var(--tobacco);
  text-align: center;
  margin: 0 0 20px;
  line-height: 1.3;
}

/* ----- Marquee ----- */
.marquee {
  width: 100%;
  overflow: hidden;
  padding: 16px 0 48px;
  user-select: none;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  animation: marquee-scroll 50s linear infinite;
  will-change: transform;
}

.marquee__item {
  font-family: var(--font-body); /* Instrument Sans */
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  color: var(--fuchsia);
  flex-shrink: 0;
}

.marquee__sep {
  font-family: var(--font-body);
  font-size: 24px;
  line-height: 1;
  color: var(--fuchsia);
  flex-shrink: 0;
}

/* Logo variant of the marquee item — preserves aspect ratio at fixed height,
   grayscale and slightly darkened so the parade of retailer brands feels
   cohesive and is easy to see against the bone bg. */
.marquee__logo {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  filter: grayscale(1) brightness(0.75);
  opacity: 0.9;
  user-select: none;
  pointer-events: none;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Pause marquee on hover (subtle UX nicety) */
.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* ----- Header (title + intro) ----- */
.featured-work__header {
  max-width: 880px;
  margin: 0 auto 56px;
  padding: 0 80px;
  text-align: center;
}

.featured-work__title {
  font-family: var(--font-body); /* Instrument Sans Semibold */
  font-weight: 600;
  font-size: 55px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #000000;
  margin-bottom: 24px;
}

.featured-work__title em {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.05em;
  color: var(--plum);
  -webkit-text-stroke: 0.5px var(--plum);
}

.featured-work__intro {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.55;
  color: var(--tobacco);
  max-width: 760px;
  margin: 0 auto;
}

/* ----- Card grid ----- */
.featured-work__grid {
  max-width: 1440px;
  margin: 0 auto 64px;
  padding: 0 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.case-card {
  /* Same gradient stroke + glow as credibility boxes, with white inner fill */
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, #D74A93 0%, #F8DCE6 100%) border-box;
  border: 1px solid transparent;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: var(--tobacco);
  box-shadow: 0 0 18px rgba(215, 74, 147, 0.52);
  transition: transform 300ms cubic-bezier(.2,.8,.2,1), box-shadow 300ms ease;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(215, 74, 147, 0.65);
}

.case-card__image {
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--sand); /* fallback */
  display: block;
}

.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-card__meta {
  padding: 22px 24px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.case-card__name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 22px;
  color: var(--tobacco);
  line-height: 1.2;
}

/* ----- Chip pill (reusable) ----- */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
}

.chip--premium-wellness   { background: var(--cat-premium-wellness); }
.chip--performance        { background: var(--cat-performance); }
.chip--adventure          { background: var(--cat-adventure); }
.chip--holistic           { background: var(--cat-holistic); }
.chip--healthcare         { background: var(--cat-healthcare); }
.chip--b2b                { background: var(--cat-b2b); }
.chip--pet                { background: var(--cat-pet); }
.chip--beauty             { background: var(--cat-beauty); }
.chip--fun                { background: var(--cat-fun); }

/* Image placeholders use category color until real assets are dropped in */
.case-card[data-cat="premium-wellness"]   .case-card__image { background: var(--cat-premium-wellness); }
.case-card[data-cat="performance"]        .case-card__image { background: var(--cat-performance); }
.case-card[data-cat="adventure"]          .case-card__image { background: var(--cat-adventure); }
.case-card[data-cat="holistic"]           .case-card__image { background: var(--cat-holistic); }
.case-card[data-cat="healthcare"]         .case-card__image { background: var(--cat-healthcare); }
.case-card[data-cat="b2b"]                .case-card__image { background: var(--cat-b2b); }
.case-card[data-cat="pet"]                .case-card__image { background: var(--cat-pet); }
.case-card[data-cat="beauty"]             .case-card__image { background: var(--cat-beauty); }
.case-card[data-cat="fun"]                .case-card__image { background: var(--cat-fun); }

/* ----- See All CTA ----- */
.featured-work__cta {
  text-align: center;
}

/* Responsive */
@media (max-width: 1100px) {
  .featured-work { padding: 60px 0 80px; }
  .featured-work__grid {
    padding: 0 40px;
    gap: 24px;
  }
  .featured-work__title { font-size: 48px; }
  .marquee__item, .marquee__sep { font-size: 48px; }
  .featured-work__header { padding: 0 40px; }
}
@media (max-width: 860px) {
  .featured-work__grid {
    grid-template-columns: 1fr;
  }
  .featured-work__title { font-size: 36px; }
  .marquee__item, .marquee__sep { font-size: 36px; }
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact {
  position: relative;
  background: var(--bone);
  padding: 96px 0 140px;
  overflow: hidden;
  min-height: calc(100vh - 100px); /* fills the viewport below the header */
  display: flex;
  align-items: center;
}

/* Pastel gradient background — uses image-gradient-bg from images/ */
.contact__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("images/image-gradient-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact__container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
  text-align: center;
}

.contact__eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--tobacco);
  margin-bottom: 28px;
  line-height: 1.3;
}

.contact__headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 92px;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--tobacco);
  margin-bottom: 32px;
}

.contact__headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--plum);
  -webkit-text-stroke: 0.5px var(--plum);
  border-bottom: 2px solid var(--fuchsia);
  padding-bottom: 4px;
  display: inline-block;
}

.contact__body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--tobacco);
  max-width: 640px;
  margin: 0 auto 56px;
}

/* ----- FORM ----- */
.contact-form {
  margin-bottom: 40px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: center;
}

.contact-form__field {
  position: relative;
  display: block;
}

.contact-form__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Shared input + select styling — pill-shaped, plum outline */
.contact-form__field input,
.contact-form__field select {
  width: 100%;
  height: 56px;
  padding: 0 24px;
  background: transparent;
  border: 1px solid var(--plum);
  border-radius: 28px;
  color: var(--tobacco);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  letter-spacing: -0.04em;
  line-height: 1;
  outline: none;
  transition: border-color 200ms ease, background 200ms ease;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.contact-form__field input::placeholder {
  color: var(--plum);
  opacity: 0.6;
  font-family: var(--font-display);
  font-style: italic;
}

.contact-form__field input:focus,
.contact-form__field select:focus {
  border-color: var(--plum-deep);
  background: rgba(255, 255, 255, 0.35);
}

/* Select-specific: leave room for caret on the right */
.contact-form__field--select select {
  padding-right: 48px;
  cursor: pointer;
}

.contact-form__field--select select:invalid {
  color: var(--plum);
  opacity: 0.6;
}

.contact-form__select-caret {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 8px;
  color: var(--plum);
  pointer-events: none;
}

.contact-form__select-caret svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Toned-down submit: outlined plum circle, not solid fuchsia */
.contact-form__submit {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--plum);
  background: transparent;
  color: var(--plum);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
  flex-shrink: 0;
}

.contact-form__submit svg {
  width: 18px;
  height: 16px;
  display: block;
}

.contact-form__submit:hover {
  background: var(--plum);
  color: var(--bone);
}

/* ----- Contact success pill — shown after form submission -----
   Matches the input-field pill style (border, italic serif) so the page
   visually shifts to a single calm "thanks" mark in place of the form. */
.contact-success {
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

/* Respect the `hidden` HTML attribute — by default, display:flex would
   override it. This ensures the pill stays hidden until the JS reveals it. */
.contact-success[hidden] {
  display: none;
}

.contact-success__pill {
  display: inline-block;
  padding: 18px 40px;
  border: 1px solid var(--plum);
  border-radius: 100px;
  background: transparent;
  color: var(--plum);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.04em;
  text-align: center;
  max-width: 640px;
}

/* ----- Subscribe form (Raves & Rants coming-soon page) -----
   Single email input + submit, centered. Reuses .contact-form__field
   and .contact-form__submit for visual consistency with the contact page. */
.subscribe-form {
  display: flex;
  gap: 16px;
  max-width: 520px;
  margin: 0 auto;
  align-items: center;
  text-align: left;
}

.subscribe-form .contact-form__field {
  flex: 1;
}

@media (max-width: 520px) {
  .subscribe-form {
    flex-direction: column;
    gap: 12px;
  }
  .subscribe-form .contact-form__submit {
    width: 100%;
    border-radius: 28px;
  }
}

/* ----- ALT CTA: Book a Call ----- */
.contact-alt {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}

.contact-alt__label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--tobacco);
}

/* ----- RESPONSIVE ----- */
@media (max-width: 1100px) {
  .contact__container { padding: 0 40px; }
  .contact__headline { font-size: 72px; }
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .contact-form__submit {
    grid-column: 2;
    justify-self: end;
  }
  .contact-form__field--select {
    grid-column: 1 / -1;
  }
}
@media (max-width: 860px) {
  .contact { padding: 64px 0 88px; min-height: 0; }
  .contact__headline { font-size: 48px; }
  .contact__body { font-size: 16px; margin-bottom: 40px; }
  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-form__submit {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
    border-radius: 28px;
  }
  .contact-alt {
    flex-direction: column;
    gap: 16px;
  }
}

/* =========================================
   REVIEWS
   Same gradient background as the contact page; cards reuse the
   plum-fill + fuchsia-stroke + pink-glow box style from the credibility bar.
   ========================================= */
.reviews {
  position: relative;
  background: var(--bone);
  padding: 120px 0 140px;
  overflow: hidden;
}

/* Pastel gradient background — uses the same image as the contact page,
   but at reduced opacity so the bone section bg mutes the pink. */
.reviews__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("images/image-gradient-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.45;
}

.reviews__container {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.reviews__header {
  text-align: center;
  margin-bottom: 80px;
}

.reviews__eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--tobacco);
  margin-bottom: 28px;
  line-height: 1.3;
}

.reviews__headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 72px;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--tobacco);
}

.reviews__headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--plum);
  -webkit-text-stroke: 0.5px var(--plum);
  border-bottom: 2px solid var(--fuchsia);
  padding-bottom: 4px;
  display: inline-block;
}

/* Grid: 3 columns on desktop, 2 on tablet, 1 on mobile */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card: bone fill at 60% opacity (lets the gradient bg show through more),
   muted fuchsia gradient stroke, softer pink glow — toned down from the
   credibility-bar treatment so the section feels less candy-coated. */
.review-card {
  background:
    linear-gradient(rgba(244, 237, 223, 0.6), rgba(244, 237, 223, 0.6)) padding-box,
    linear-gradient(180deg, rgba(215, 74, 147, 0.55) 0%, rgba(248, 220, 230, 0.65) 100%) border-box;
  border: 1px solid transparent;
  border-radius: 20px;
  box-shadow: 0 0 14px rgba(215, 74, 147, 0.22);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--tobacco);
}

/* Big serif italic quote mark, pulled in close so the body sits right under it */
.review-card__quote-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 80px;
  line-height: 0.4;
  color: rgba(215, 74, 147, 0.7);
  margin-top: 8px;
  margin-bottom: -4px;
}

.review-card__body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.03em;
  color: var(--tobacco);
  flex-grow: 1; /* pushes attribution to the bottom of the card */
}

/* Spacing between paragraphs when a review has multiple p elements */
.review-card__body p + p {
  margin-top: 12px;
}

.review-card__attribution {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid rgba(31, 24, 18, 0.18);
  padding-top: 16px;
  margin-top: 8px;
}

.review-card__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--plum);
}

/* Reviewer title / company line — small, all-caps, sits below the name */
.review-card__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.45;
  color: rgba(31, 24, 18, 0.7);
  margin-top: 4px;
}

/* Stagger the cards so they cascade in as the section enters viewport */
.reviews__grid .review-card[data-reveal]:nth-child(1) { transition-delay: 100ms; }
.reviews__grid .review-card[data-reveal]:nth-child(2) { transition-delay: 200ms; }
.reviews__grid .review-card[data-reveal]:nth-child(3) { transition-delay: 300ms; }
.reviews__grid .review-card[data-reveal]:nth-child(4) { transition-delay: 400ms; }
.reviews__grid .review-card[data-reveal]:nth-child(5) { transition-delay: 500ms; }
.reviews__grid .review-card[data-reveal]:nth-child(6) { transition-delay: 600ms; }

/* Responsive */
@media (max-width: 1100px) {
  .reviews { padding: 80px 0 100px; }
  .reviews__container { padding: 0 40px; }
  .reviews__headline { font-size: 56px; }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 720px) {
  .reviews__headline { font-size: 40px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .review-card { padding: 28px 24px 24px; }
}

/* =========================================
   ABOUT PAGE
   ========================================= */

/* ----- Intro hero (cream bg, photo on right) ----- */
.about-intro {
  position: relative;
  background: var(--bone);
  padding: 100px 0 120px;
  overflow: hidden;
}

.about-intro__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.about-intro__eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.04em;
  color: var(--plum);
  margin-bottom: 28px;
  line-height: 1.2;
}

.about-intro__headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 68px;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--tobacco);
  margin-bottom: 36px;
}

.about-intro__headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--plum);
  -webkit-text-stroke: 0.5px var(--plum);
  border-bottom: 2px solid var(--fuchsia);
  padding-bottom: 4px;
  display: inline-block;
}

.about-intro__lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: var(--tobacco);
  max-width: 560px;
}

.about-intro__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  align-self: start;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, #D74A93 0%, #F8DCE6 100%) border-box;
  border: 1px solid transparent;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(215, 74, 147, 0.52);
}

.about-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----- Story section (plum bg, big narrative) ----- */
.about-story {
  position: relative;
  background: var(--plum);
  color: var(--bone);
  padding: 120px 0 130px;
  overflow: hidden;
}

.about-story__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 80px;
  text-align: center;
}

.about-story__header {
  margin: 0 auto 56px;
  max-width: 880px;
}

.about-story__eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.05em;
  color: var(--bone);
  opacity: 0.8;
  margin-bottom: 24px;
  line-height: 1.3;
}

.about-story__headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--bone);
}

.about-story__headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--bone);
  -webkit-text-stroke: 0.5px var(--bone);
  border-bottom: 2px solid var(--fuchsia);
  padding-bottom: 4px;
  display: inline-block;
}

.about-story__body {
  max-width: 760px;
  margin: 0 auto;
}

.about-story__body p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--bone);
  margin-bottom: 18px;
}

.about-story__body p:last-child {
  margin-bottom: 0;
}

.about-story__body em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--bone);
}

/* ----- Outside the studio (gradient bg, personal cards) ----- */
.about-personal {
  position: relative;
  background: var(--bone);
  padding: 120px 0;
  overflow: hidden;
}

.about-personal__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("images/image-gradient-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.45;
}

.about-personal__container {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.about-personal__header {
  text-align: center;
  margin-bottom: 72px;
}

.about-personal__eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.05em;
  color: var(--tobacco);
  opacity: 0.75;
  margin-bottom: 24px;
}

.about-personal__headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--tobacco);
}

.about-personal__headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--plum);
  -webkit-text-stroke: 0.5px var(--plum);
  border-bottom: 2px solid var(--fuchsia);
  padding-bottom: 4px;
  display: inline-block;
}

.about-personal__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Card styling matches the case-cards on the homepage Featured Work section:
   white interior fill, fuchsia gradient stroke, pink glow, with an image at
   top and a content area below that gives the text generous breathing room. */
.about-personal__card {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, #D74A93 0%, #F8DCE6 100%) border-box;
  border: 1px solid transparent;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(215, 74, 147, 0.52);
  display: flex;
  flex-direction: column;
  color: var(--tobacco);
  transition: transform 300ms cubic-bezier(.2,.8,.2,1), box-shadow 300ms ease;
}

.about-personal__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(215, 74, 147, 0.65);
}

.about-personal__card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand); /* fallback if image isn't loaded yet */
  display: block;
}

.about-personal__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* White space below the image — extra padding for taller card feel */
.about-personal__card-content {
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.about-personal__card-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum);
  line-height: 1.3;
}

.about-personal__card-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.03em;
  color: var(--tobacco);
}

.about-personal__card-text em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--plum);
}

/* Stagger card reveals */
.about-personal__grid .about-personal__card[data-reveal]:nth-child(1) { transition-delay: 100ms; }
.about-personal__grid .about-personal__card[data-reveal]:nth-child(2) { transition-delay: 220ms; }
.about-personal__grid .about-personal__card[data-reveal]:nth-child(3) { transition-delay: 340ms; }
.about-personal__grid .about-personal__card[data-reveal]:nth-child(4) { transition-delay: 460ms; }

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .about-intro { padding: 72px 0 88px; }
  .about-intro__container {
    padding: 0 40px;
    gap: 48px;
  }
  .about-intro__headline { font-size: 52px; }
  .about-story { padding: 88px 0; }
  .about-story__container { padding: 0 40px; }
  .about-story__headline { font-size: 48px; }
  .about-story__body p { font-size: 17px; }
  .about-personal { padding: 88px 0; }
  .about-personal__container { padding: 0 40px; }
  .about-personal__headline { font-size: 44px; }
  .about-personal__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .about-intro__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-intro__image { max-width: 480px; margin: 0 auto; }
  .about-intro__headline { font-size: 40px; }
  .about-story__headline { font-size: 36px; }
  .about-personal__grid { grid-template-columns: 1fr; }
  .about-personal__headline { font-size: 36px; }
}

/* =========================================
   PRE-FOOTER CTA
   "Let's work together" call-to-action that flows into the footer
   ========================================= */
.footer-cta {
  position: relative;
  background: var(--plum);
  color: var(--bone);
  padding: 140px 0 130px;
  overflow: hidden;
  text-align: center;
}

.footer-cta__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 80px;
}

/* Eyebrow with fuchsia dot bullet (echoes the reference design) */
.footer-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 32px;
  line-height: 1.3;
}

.footer-cta__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fuchsia);
}

.footer-cta__headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 80px;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--bone);
  margin-bottom: 28px;
}

.footer-cta__headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--bone);
  -webkit-text-stroke: 0.5px var(--bone);
  border-bottom: 2px solid var(--fuchsia);
  padding-bottom: 4px;
  display: inline-block;
}

.footer-cta__subhead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--bone);
  opacity: 0.85;
  margin: 0 auto 20px;
  max-width: 580px;
}

/* Signoff line — matches the subhead style above it for visual consistency */
.footer-cta__signoff {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--bone);
  opacity: 0.85;
  margin: 0 0 8px;
}

/* Signature — recolored to brand fuchsia (#D74A93) via filter chain.
   The chain starts by normalizing the image to black (brightness 0), then
   builds back up with sepia/saturate/hue-rotate to land on fuchsia. */
.footer-cta__signature {
  display: block;
  width: 380px;
  height: auto;
  margin: 0 auto 28px;
  filter: brightness(0) saturate(100%) invert(38%) sepia(83%) saturate(2287%) hue-rotate(310deg) brightness(94%) contrast(91%);
}

/* CTA button — bone fill by default, plum-deep on hover (overrides .btn--primary) */
.footer-cta__btn {
  font-size: 26px;
  background: var(--bone);
  color: var(--plum);
  border: 1px solid var(--bone);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.footer-cta__btn:hover {
  background: var(--plum-deep);
  color: var(--bone);
  border-color: var(--plum-deep);
}

@media (max-width: 1100px) {
  .footer-cta { padding: 100px 0; }
  .footer-cta__container { padding: 0 40px; }
  .footer-cta__headline { font-size: 60px; }
}
@media (max-width: 720px) {
  .footer-cta__headline { font-size: 40px; }
  .footer-cta__subhead { font-size: 16px; }
}

/* =========================================
   SITE FOOTER
   Italic serif wordmark on the left, navigation columns on the right.
   Slightly darker plum than the pre-footer CTA so the two read as
   distinct-but-related sections.
   ========================================= */
.site-footer {
  background: var(--plum-deep);
  color: var(--bone);
  padding: 96px 0 0;
}

.site-footer__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Brand area: large italic serif wordmark + small tagline */
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.site-footer__logo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 96px;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--bone);
  text-decoration: none;
  transition: opacity 200ms ease;
}

.site-footer__logo:hover { opacity: 0.85; }

.site-footer__tagline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--bone);
  opacity: 0.65;
  max-width: 380px;
}

/* Nav columns */
.site-footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.site-footer__col-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.5;
  margin-bottom: 24px;
  line-height: 1.3;
}

.site-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer__col a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--bone);
  text-decoration: none;
  transition: opacity 200ms ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-footer__col a:hover { opacity: 0.7; }

/* Social icon glyphs sit alongside text labels */
.site-footer__connect svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Bottom bar — copyright + location, separated from main grid by a hairline */
.site-footer__bottom {
  border-top: 1px solid rgba(244, 237, 223, 0.12);
  margin-top: 88px;
}

.site-footer__bottom-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: -0.02em;
  color: var(--bone);
  opacity: 0.55;
}

.site-footer__bottom-container p { margin: 0; }

/* Responsive */
@media (max-width: 1100px) {
  .site-footer { padding: 80px 0 0; }
  .site-footer__container {
    padding: 0 40px;
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .site-footer__logo { font-size: 72px; }
  .site-footer__bottom-container { padding: 24px 40px; }
}
@media (max-width: 720px) {
  .site-footer__logo { font-size: 56px; }
  .site-footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .site-footer__bottom-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* =========================================
   CASE STUDY PAGES
   ========================================= */

/* ----- Hero: eyebrow + big italic headline + lede ----- */
.case-hero {
  position: relative;
  background: var(--bone);
  padding: 100px 0 64px;
  overflow: hidden;
}

.case-hero__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 80px;
  text-align: center;
}

.case-hero__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 28px;
  line-height: 1.3;
}

.case-hero__headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--tobacco);
  margin-bottom: 32px;
}

.case-hero__headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--plum);
  -webkit-text-stroke: 0.5px var(--plum);
  border-bottom: 2px solid var(--fuchsia);
  padding-bottom: 6px;
  display: inline-block;
}

.case-hero__lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.55;
  color: var(--tobacco);
  max-width: 720px;
  margin: 0 auto;
}

/* ----- Hero image: full-bleed showpiece ----- */
.case-hero-image {
  position: relative;
  background: var(--bone);
  padding: 24px 0 80px;
}

.case-hero-image img {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 0 28px rgba(215, 74, 147, 0.22);
}

/* ----- Project meta info bar — boxes match the credibility bar treatment ----- */
.case-meta {
  position: relative;
  background: var(--plum);
  color: var(--bone);
  padding: 80px 0;
  overflow: hidden; /* clips boxes while they're off-screen during reveal */
}

.case-meta__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  /* auto-fit lets the grid adapt naturally — 5 cols when collaborators are
     present, 4 when hidden, wrapping gracefully on narrower viewports */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

/* Box: same gradient stroke + fuchsia glow as the credibility bar boxes */
.case-meta__item {
  background:
    linear-gradient(var(--plum), var(--plum)) padding-box,
    linear-gradient(180deg, #D74A93 0%, #F8DCE6 100%) border-box;
  border: 1px solid transparent;
  border-radius: 20px;
  box-shadow: 0 0 18px rgba(215, 74, 147, 0.52);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  min-height: 160px;
  gap: 10px;
}

/* Respect the `hidden` attribute so case studies without collaborators
   can hide that meta cell cleanly via <div class="case-meta__item" hidden> */
.case-meta__item[hidden] {
  display: none;
}

.case-meta__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.6;
  line-height: 1.3;
}

.case-meta__value {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}

/* Scroll-driven reveal — same effect as the credibility bar boxes:
   each box starts off-screen right and slides into place as the section
   scrolls through the viewport, one box per scroll-tick. */
.case-meta__item[data-reveal][data-reveal-direction="right"] {
  transform: translateX(140%);
  transition-duration: 700ms;
  transition-delay: 0ms;
}

.case-meta__item[data-reveal][data-reveal-direction="right"].is-revealed {
  transform: translateX(0);
}

/* ----- Narrative sections (Brief / Approach / Results) ----- */
.case-narrative {
  position: relative;
  background: var(--bone);
  padding: 96px 0;
}

.case-narrative__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 80px;
  text-align: center;
}

.case-narrative__header {
  margin: 0 auto 40px;
  max-width: 880px;
}

.case-narrative__eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.05em;
  color: var(--plum);
  opacity: 0.85;
  margin-bottom: 16px;
  line-height: 1.3;
}

.case-narrative__headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--tobacco);
}

.case-narrative__headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--plum);
  -webkit-text-stroke: 0.5px var(--plum);
  border-bottom: 2px solid var(--fuchsia);
  padding-bottom: 4px;
  display: inline-block;
}

.case-narrative__body {
  max-width: 740px;
  margin: 0 auto;
  text-align: left;
}

.case-narrative__body p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--tobacco);
  margin-bottom: 18px;
}

.case-narrative__body p:last-child {
  margin-bottom: 0;
}

.case-narrative__body em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--plum);
}

/* ----- Gallery: image rows (full-width, two-col, three-col) ----- */
.case-gallery {
  background: var(--bone);
  padding: 0 0 24px;
}

.case-gallery__row {
  max-width: 1440px;
  margin: 0 auto 24px;
  padding: 0 80px;
  display: grid;
  gap: 24px;
}

.case-gallery__row--full {
  grid-template-columns: 1fr;
}

.case-gallery__row--two {
  grid-template-columns: repeat(2, 1fr);
}

.case-gallery__row--three {
  grid-template-columns: repeat(3, 1fr);
}

.case-gallery__cell {
  border-radius: 16px;
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 4 / 3;
}

.case-gallery__row--full .case-gallery__cell {
  aspect-ratio: 16 / 9;
}

.case-gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----- Our Work in the Wild — Instagram-style square grid ----- */
.case-wild {
  background: var(--bone);
  padding: 96px 0;
}

.case-wild__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 80px;
}

.case-wild__header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.case-wild__eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.05em;
  color: var(--plum);
  opacity: 0.85;
  margin-bottom: 16px;
  line-height: 1.3;
}

.case-wild__headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--tobacco);
}

.case-wild__headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--plum);
  -webkit-text-stroke: 0.5px var(--plum);
  border-bottom: 2px solid var(--fuchsia);
  padding-bottom: 4px;
  display: inline-block;
}

/* Grid: 3 columns of square cells, gracefully reflows on smaller screens */
.case-wild__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-wild__cell {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: var(--sand);
}

/* Respect the `hidden` attribute so empty cells can be omitted cleanly */
.case-wild__cell[hidden] {
  display: none;
}

.case-wild__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms cubic-bezier(.2,.8,.2,1);
}

.case-wild__cell:hover img {
  transform: scale(1.04);
}

@media (max-width: 1100px) {
  .case-wild { padding: 72px 0; }
  .case-wild__container { padding: 0 40px; }
  .case-wild__headline { font-size: 44px; }
}

@media (max-width: 720px) {
  .case-wild__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .case-wild__headline { font-size: 32px; }
}

/* ----- Social carousel: 4-wide row of auto-rotating square cells.
   Matches the case-gallery row width so it visually aligns with the
   three-column gallery directly above it. ----- */
.case-social {
  background: var(--bone);
  padding: 0 0 24px;
}

.case-social__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.case-social__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.case-social__cell {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  background: var(--sand);
}

/* Crossfade between social post slides */
.case-social__cell .carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 800ms cubic-bezier(.4, 0, .2, 1);
  display: block;
}

.case-social__cell .carousel__slide.is-active {
  opacity: 1;
}

@media (max-width: 1100px) {
  .case-social__container { padding: 0 40px; }
  .case-social__grid { gap: 16px; }
}

@media (max-width: 720px) {
  .case-social__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ----- Pull quote / testimonial (kept in stylesheet for optional future use) ----- */
.case-quote {
  position: relative;
  background: var(--bone);
  padding: 96px 0;
}

.case-quote__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 80px;
  text-align: center;
  position: relative;
}

.case-quote__mark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 120px;
  line-height: 0.5;
  color: var(--fuchsia);
  margin: 0 0 -8px;
}

.case-quote__body {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--plum);
  margin: 0 0 32px;
  -webkit-text-stroke: 0.4px var(--plum);
}

.case-quote__attribution {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.case-quote__name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--tobacco);
}

.case-quote__title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tobacco);
  opacity: 0.7;
}

/* ----- Next case link ----- */
.case-next {
  background: var(--bone);
  padding: 64px 0 96px;
  border-top: 1px solid var(--hairline);
}

.case-next__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  text-align: center;
}

.case-next__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum);
  opacity: 0.7;
  margin-bottom: 16px;
}

.case-next__link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: opacity 200ms ease;
}

.case-next__link:hover {
  opacity: 0.7;
}

.case-next__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--plum);
  -webkit-text-stroke: 0.4px var(--plum);
}

.case-next__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--fuchsia);
  color: white;
  flex-shrink: 0;
}

.case-next__arrow svg {
  width: 18px;
  height: 16px;
}

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .case-hero { padding: 72px 0 48px; }
  .case-hero__container { padding: 0 40px; }
  .case-hero__headline { font-size: 72px; }
  .case-hero-image { padding: 16px 0 56px; }
  .case-hero-image img { padding: 0 40px; max-width: none; }

  .case-meta { padding: 40px 0; }
  .case-meta__container {
    padding: 0 40px;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .case-narrative { padding: 72px 0; }
  .case-narrative__container { padding: 0 40px; }
  .case-narrative__headline { font-size: 44px; }

  .case-gallery__row { padding: 0 40px; }

  .case-quote { padding: 72px 0; }
  .case-quote__container { padding: 0 40px; }
  .case-quote__body { font-size: 28px; }

  .case-next__container { padding: 0 40px; }
  .case-next__name { font-size: 40px; }
}

@media (max-width: 720px) {
  .case-hero__headline { font-size: 52px; }
  .case-hero__lede { font-size: 17px; }
  .case-meta__container { grid-template-columns: 1fr; gap: 20px; }
  .case-narrative__headline { font-size: 32px; }
  .case-narrative__body p { font-size: 16px; }
  .case-gallery__row--two,
  .case-gallery__row--three { grid-template-columns: 1fr; }
  .case-quote__body { font-size: 22px; }
  .case-next__link { flex-direction: column; gap: 16px; }
  .case-next__name { font-size: 32px; text-align: center; }
}
