/* ========== TOKENS ========== */
:root{
  /* PAPER — linen, less yellow, with cooler depth */
  --paper:    #EFE9DD;        /* primary linen */
  --paper-2:  #E7E0D2;        /* card / band */
  --paper-3:  #DCD2C0;        /* deep recess */
  --paper-4:  #F6F2E8;        /* bright pop (rare) */

  /* BRAND — bordeaux deepened, with ember sister */
  --bordeaux:    #4E1838;      /* primary, deeper */
  --bordeaux-2:  #6B254F;      /* hover / accent */
  --ember:       #A04A2C;      /* tertiary warm accent (very rare) */
  --brass:       #9C7B4D;      /* metallic detail */

  /* INK — bordeaux typographic scale */
  --ink:    #4E1838;
  --ink-2:  #6B254F;
  /* .58 measured 3.60:1 on --paper, under the 4.5:1 WCAG AA floor for body
     text. .70 clears it on both --paper (5.03) and --paper-2 (4.82) while
     staying visibly lighter than --ink-2. */
  --ink-3:  rgba(78, 24, 56, .70);
  /* Decorative only — placeholders, hairline meta. Never load-bearing text. */
  --ink-4:  rgba(78, 24, 56, .38);

  --line:        rgba(78, 24, 56, .10);
  --line-strong: rgba(78, 24, 56, .22);
  --line-paper:  rgba(239,233,221,.18);

  /* Structural rule — single style for all horizontal dividers, grids, separators */
  --rule: 1px solid var(--line);

  /* IMAGERY tints */
  --warm: #DCC9AE;
  --cool: #C6CCD0;
  --sand: #C9B89A;

  /* TYPE — Cormorant Garamond display, Geist sans, JetBrains Mono */
  --serif: "Cormorant Garamond", "Libre Baskerville", "Times New Roman", Georgia, serif;
  --serif-body: "EB Garamond", "Cormorant Garamond", "Libre Baskerville", Georgia, serif;
  --sans:  "Geist", "Söhne", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", "Menlo", "Consolas", monospace;

  --ease:     cubic-bezier(.22,1,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --maxw: 1440px;
  --pad:  clamp(20px, 4vw, 56px);

  /* Spacing scale */
  --page-top:  clamp(96px, 11vh, 120px);
  --section-y: clamp(72px, 8vw, 120px);
  --stack-sm:  16px;
  --stack-md:  24px;
  --stack-lg:  40px;
  --stack-xl:  56px;

  --cover-title-min: clamp(168px, 20vh, 264px);

  --rad: 3px;
}

/* ========== RESET ========== */
*,*::before,*::after{ box-sizing: border-box; }
html,body{
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
html{
  scroll-behavior: auto;
  scrollbar-width: none;
  overflow-x: clip;
  /* Chrome Android inflates text inside wide blocks, which pushed monospace
     labels and the footer email past the right edge on phones. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::-webkit-scrollbar{ display: none; }
body{
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: .002em;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
}
/* paper grain disabled */
img{ max-width: 100%; display: block; }
button{ font-family: inherit; font-size: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a{ color: inherit; text-decoration: none; cursor: pointer; }
::selection{ background: var(--bordeaux); color: var(--paper); }

/* keep content above grain — fixed overlays set their own z-index */
header, main, footer{ position: relative; z-index: 2; }

/* ========== TYPE ========== */
h1,h2,h3,h4{
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.012em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.h-display{
  font-family: var(--serif);
  font-size: clamp(58px, 9.4vw, 168px);
  line-height: 0.96;
  letter-spacing: -.025em;
  font-weight: 400;
  text-wrap: balance;
}
.italic{ font-style: italic; }
.bordeaux{ color: var(--bordeaux); }

.eyebrow{
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 400;
}
.mono-cap{
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 400;
}
.lede{
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
  font-weight: 400;
  letter-spacing: -.005em;
}
.lede-serif{
  font-family: var(--serif-body);
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 400;
  font-style: italic;
}

/* ========== LAYOUT ========== */
.container{ width: 100%; max-width: 940px; margin: 0 auto; padding-inline: max(var(--pad), env(safe-area-inset-left)) max(var(--pad), env(safe-area-inset-right)); }
.container-wide{ width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: max(var(--pad), env(safe-area-inset-left)) max(var(--pad), env(safe-area-inset-right)); }
.container > *,
.container-wide > *{ min-width: 0; max-width: 100%; }

/* ========== BUTTONS ========== */
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}
.btn-primary{
  background: var(--bordeaux);
  color: var(--paper);
  box-shadow: 0 1px 0 0 rgba(0,0,0,.18), 0 10px 24px -12px rgba(78,24,56,.55);
}
.btn-primary:hover{
  background: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 0 rgba(0,0,0,.25), 0 14px 30px -10px rgba(0,0,0,.45);
}
.btn-ghost{ background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover{ border-color: var(--bordeaux); color: var(--bordeaux); }

.btn-link{
  display: inline-flex; gap: 8px; align-items: center;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  /* 4px was an 20px-tall target; the extra top padding clears 24px without
     moving the underline, which stays pinned to the text. */
  padding-top: 4px;
  padding-bottom: 4px;
  min-height: 24px;
  border-bottom: var(--rule);
  background: linear-gradient(var(--bordeaux), var(--bordeaux)) no-repeat left bottom / 0 1px;
  transition: color .3s, gap .3s var(--ease), background-size .35s var(--ease), border-color .3s;
}
.btn-link:hover{
  color: var(--bordeaux);
  border-color: transparent;
  background-size: 100% 1px;
  gap: 12px;
}
.btn-link.right{ margin-left: auto; }

/* ========== NAV ========== */
.nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  padding: max(18px, env(safe-area-inset-top)) max(var(--pad), env(safe-area-inset-right)) 18px max(var(--pad), env(safe-area-inset-left));
  background: rgba(239,233,221, 0);
  transition: background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.nav.scrolled{
  background: rgba(239, 233, 221, 0.94);
  border-color: var(--line);
}
.nav-inner{ display: flex; align-items: center; gap: 40px; width: 100%; max-width: var(--maxw); margin: 0 auto; min-width: 0; }
.nav-logo{
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: -.012em;
  white-space: nowrap;
  font-style: italic;
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-logo-mark{
  height: 28px; width: auto; display: block;
  transform: translateY(-3px);
  transition: height .35s var(--ease);
}
.nav.scrolled .nav-logo-mark{ height: 24px; transform: translateY(-2px); }
.nav-logo .dot{ color: var(--bordeaux); margin: 0 1px; font-style: normal; }
.nav-links{ display: flex; gap: 34px; margin-left: 40px; align-items: center; }
.nav-link{
  font-size: 13px;
  letter-spacing: .02em;
  font-weight: 450;
  position: relative;
  padding: 8px 0;
  color: var(--ink-2);
  transition: color .3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}
.nav-link-drop{ padding-right: 2px; }
.nav-link-drop .caret{
  display: inline-block;
  font-size: 8px;
  color: var(--ink-3);
  line-height: 1;
  transform: translateY(1px);
  transition: transform .3s var(--ease), color .3s;
}
.nav-dropdown:hover .nav-link-drop .caret{ transform: translateY(3px); color: var(--bordeaux); }
.nav-link:hover, .nav-link.active{ color: var(--ink); }
.nav-link.active::after{
  content:''; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 1px; background: var(--bordeaux);
}

.nav-dropdown{ position: relative; }
.nav-dropdown-panel{
  position: absolute; top: 100%; left: -20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 10px;
  min-width: 300px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.18), 0 1px 0 rgba(0,0,0,.04);
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nav-dropdown:hover .nav-dropdown-panel{
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.nav-dropdown-item{
  display: flex; flex-direction: column; gap: 4px;
  padding: 13px 16px;
  border-radius: 2px;
  transition: background .25s;
}
.nav-dropdown-item:hover{ background: var(--paper-2); }
.nav-dropdown-item .t{ font-family: var(--serif); font-size: 18px; color: var(--ink); }
.nav-dropdown-item .d{ font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }

.nav-right{ margin-left: auto; display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.nav-right .nav-cta{ align-self: baseline; }
.lang{ display: flex; align-items: baseline; flex-shrink: 0; position: relative; z-index: 2; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--ink-3); }
.lang button{
  padding: 0 11px;
  font-size: 13px;
  letter-spacing: .14em;
  line-height: 1;
  color: var(--ink-3);
  transition: color .25s;
  font-weight: 400;
  text-decoration: none;
  position: relative;
}
/* The label stays small for the editorial look, but the hit area is stretched
   to 44px tall so the language switch is actually tappable on a phone. The
   overlay is positioned, so the nav height is unchanged. Width is left at the
   button's own box on purpose — a wider overlay would spill into the
   neighbouring language and a mistap would switch to the wrong one. */
.lang button::after{
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  height: 44px;
}
.lang button.active{
  color: var(--bordeaux);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.lang button:hover:not(.active){ color: var(--ink-2); }
.lang button.lang-soon{
  opacity: 0.3;
  pointer-events: none;
  cursor: not-allowed;
}
.lang span{
  padding: 0;
  color: var(--ink-4);
  font-size: 13px;
  line-height: 1;
  user-select: none;
}

.menu-btn{ display: none; width: 44px; height: 44px; padding: 0; position: relative; flex: 0 0 44px; overflow: visible; touch-action: manipulation; }
.menu-btn span{
  position: absolute; left: 9px; right: 9px; top: 50%; height: 1px; background: var(--ink);
}
.menu-btn span::before, .menu-btn span::after{
  content:''; position: absolute; left: 0; right: 0; height: 1px; background: var(--ink); transition: transform .3s, top .3s;
}
.menu-btn span::before{ top: -8px; }
.menu-btn span::after{ top: 8px; }

@media (max-width: 980px){
  .nav-links, .nav-cta{ display: none; }
  .menu-btn{ display: block; }
  .nav-inner{ gap: var(--stack-sm); }
}
@media (max-width: 600px){
  /* Phone: logo + top language switch + burger overflow the row and clipped the
     burger at the edge. Drop the top switch here (the drawer already has EN/FR/TH). */
  .nav-right .lang{ display: none; }
}
@media (max-width: 360px){
  .nav-logo{ font-size: 19px; }
  .nav-logo-mark{ height: 24px; }
}

/* mobile menu */
.mobile-menu{
  position: fixed; inset: 0; z-index: 90;
  background: var(--paper);
  display: flex; flex-direction: column;
  padding:
    max(80px, calc(env(safe-area-inset-top) + 64px))
    max(var(--pad), env(safe-area-inset-right))
    max(40px, env(safe-area-inset-bottom))
    max(var(--pad), env(safe-area-inset-left));
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.mobile-menu.in{ transform: translateY(0); }
.mobile-menu-close{
  position: absolute;
  top: max(20px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  width: 44px; height: 44px; font-size: 28px;
}
.mobile-menu-list{ display: flex; flex-direction: column; gap: 4px; flex: 1; padding-top: 20px; }
.mobile-menu-list a{
  font-family: var(--serif); font-size: 40px; line-height: 1.15; font-style: italic;
  border-bottom: var(--rule); padding: 16px 0;
  color: var(--ink);
}
.mobile-menu-foot{
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-3); padding-top: 30px; border-top: var(--rule);
}

/* ========== REVEAL — scroll entrance ========== */
.reveal{
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.reveal.in{
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal-2.in{ transition-delay: .08s; }
.reveal-3.in{ transition-delay: .16s; }
.reveal-4.in{ transition-delay: .24s; }
.reveal-5.in{ transition-delay: .32s; }

.chart-card .chart-svg .line2{
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2s var(--ease) .2s;
}
.chart-card.in-view .chart-svg .line2{ stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce){
  .reveal, .reveal.in{
    opacity: 1;
    transform: none;
    transition: none;
  }
  .chart-card .chart-svg .line2{
    stroke-dashoffset: 0;
    transition: none;
  }
}

/* page enter veil (route change) */
.veil{
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink);
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.veil.show{ opacity: 1; }

/* ========== WORK IMAGE (duotone + grain + vignette) ========== */
.cc-work-image{
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper-3);
  border-radius: var(--rad);
}
.cc-work-image img{
  width: 100%;
  height: auto;
  display: block;
  filter: none;
}
.cc-work-image video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.cc-work-image:has(img){
  aspect-ratio: auto;
  height: auto;
}
.cc-work-image:has(img)::before,
.cc-work-image:has(img)::after{
  content: none;
  display: none;
}
.cc-work-image[data-placeholder]::before{
  content:'';
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E"),
    linear-gradient(145deg, rgba(78,24,56,.22) 0%, rgba(239,233,221,.08) 48%, rgba(78,24,56,.28) 100%);
  mix-blend-mode: multiply;
}
.cc-work-image[data-placeholder]::after{
  content:'';
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse 85% 75% at 50% 50%, transparent 42%, rgba(27,23,20,.28) 100%);
}
.cc-work-image[data-placeholder]{
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E"),
    linear-gradient(155deg, #E7D9C4 0%, #C9B59E 42%, #8B5A6E 100%);
}
.cc-work-image[data-placeholder]::before{
  mix-blend-mode: normal;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E"),
    linear-gradient(145deg, rgba(78,24,56,.18) 0%, rgba(239,233,221,.12) 50%, rgba(78,24,56,.24) 100%);
}
.cc-work-image__label{
  position: absolute;
  bottom: 16px; left: 18px; z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(27,23,20,.72);
  pointer-events: none;
}
.cc-work-image[data-placeholder] .cc-work-image__label::before{
  content: 'Photo · ';
  color: var(--bordeaux);
}
.feature-card .cc-work-image{ transition: transform .8s var(--ease); }
.feature-card .cc-work-image:hover{ transform: translateY(-6px); }
.work-row .cc-work-image{ transition: transform .35s var(--ease); }
.work-row:hover .cc-work-image{ transform: translateY(-3px); }
.work-row .cc-work-image.thumb{ width: 100%; }
.work-row .cc-work-image.thumb:not(:has(img)){ aspect-ratio: 1; }
.cc-work-image.thumb--logo{ background: transparent; }
.case-bigimg.cc-work-image{ width: 100%; overflow: hidden; }
.case-bigimg.cc-work-image:not(:has(img)){ aspect-ratio: 16/9; }
.case-bigimg--fit.cc-work-image{ display: flex; justify-content: center; }
.case-bigimg--fit.cc-work-image img{ width: auto; max-width: 100%; height: auto; }
.case-bigimg--cover.cc-work-image{
  width: 100%;
  aspect-ratio: 21 / 9;
  background: transparent;
  border-radius: 0;
}
.case-bigimg--cover.cc-work-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 42%;
}
@media (max-width: 720px){
  .case-bigimg--cover.cc-work-image{ aspect-ratio: 4 / 3; }
  .case-bigimg--cover.cc-work-image img{ object-position: 42% 38%; }
}
.case-grid .cc-work-image{ width: 100%; }
.case-grid .cc-work-image:not(:has(img)){ aspect-ratio: 4/3; }

.case-split{
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, var(--stack-xl));
  align-items: start;
}
.case-split--reverse .case-split__media{ order: 2; }
.case-split__media.cc-work-image:not(:has(img)){
  aspect-ratio: 9/16;
  width: 100%;
  max-width: 100%;
}
.case-split__media.cc-work-image video{ object-fit: contain; }
.case-split__text h1{
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin: 14px 0 0;
}
.case-split__text h2{
  font-size: clamp(22px, 2.5vw, 32px);
  margin: var(--stack-lg) 0 12px;
  line-height: 1.15;
}
.case-split__text p{
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* Video case pages — intro only: small video + big text, top-aligned */
main[data-route="case-cellar"] .case-hero--video,
main[data-route="case-bewtr"] .case-hero--video{
  padding: 0 0 var(--stack-md);
  box-sizing: border-box;
}
main[data-route="case-cellar"] .case-hero--video + section .case-meta,
main[data-route="case-bewtr"] .case-hero--video + section .case-meta{
  margin-top: 0;
}
main[data-route="case-cellar"] .case-hero--video .case-split,
main[data-route="case-bewtr"] .case-hero--video .case-split{
  margin-top: 30px;
  padding: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, var(--stack-xl));
}
main[data-route="case-cellar"] .case-hero--video .case-split--reverse,
main[data-route="case-bewtr"] .case-hero--video .case-split--reverse{
  grid-template-columns: minmax(0, 1fr) auto;
}
main[data-route="case-cellar"] .case-hero--video .case-split__media.cc-work-image:not(:has(img)),
main[data-route="case-bewtr"] .case-hero--video .case-split__media.cc-work-image:not(:has(img)){
  aspect-ratio: 9/16;
  width: auto;
  height: auto;
  max-width: min(320px, 38vw);
  flex-shrink: 0;
  margin-inline: 0;
}
main[data-route="case-cellar"] .case-hero--video .case-split--reverse .case-split__media,
main[data-route="case-bewtr"] .case-hero--video .case-split--reverse .case-split__media{
  justify-self: start;
}
main[data-route="case-cellar"] .case-hero--video .case-split__text,
main[data-route="case-bewtr"] .case-hero--video .case-split__text{
  align-self: start;
}
main[data-route="case-cellar"] .case-hero--video .case-split__text h1,
main[data-route="case-bewtr"] .case-hero--video .case-split__text h1{
  font-size: clamp(48px, 7vw, 110px);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 14px 0 0;
}
main[data-route="case-cellar"] .case-hero--video .case-split__text h2,
main[data-route="case-bewtr"] .case-hero--video .case-split__text h2{
  font-size: clamp(28px, 3.5vw, 44px);
  margin: clamp(18px, 2.2vw, 32px) 0 12px;
  line-height: 1.1;
}
main[data-route="case-cellar"] .case-hero--video .case-split__intro + .case-split__block h2,
main[data-route="case-bewtr"] .case-hero--video .case-split__intro + .case-split__block h2{
  margin-top: clamp(14px, 1.8vw, 24px);
}
main[data-route="case-cellar"] .case-hero--video .case-split__text p,
main[data-route="case-bewtr"] .case-hero--video .case-split__text p{
  font-size: 19px;
  line-height: 1.6;
}
main[data-route="case-cellar"] .case-grid .cc-work-image:has(img),
main[data-route="case-bewtr"] .case-grid .cc-work-image:has(img){
  --case-grid-img-h: min(52vh, 480px);
  height: var(--case-grid-img-h);
  max-height: var(--case-grid-img-h);
  overflow: hidden;
}
main[data-route="case-cellar"] .case-grid .cc-work-image img,
main[data-route="case-bewtr"] .case-grid .cc-work-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
main[data-route="case-cellar"] .case-grid .cc-work-image:first-child img{
  object-position: 50% 58%;
}
main[data-route="case-cellar"] .case-grid .cc-work-image:last-child img{
  object-position: 50% 42%;
}
main[data-route="case-bewtr"] .case-grid .cc-work-image:has(img){
  --case-grid-img-h: min(56vh, 520px);
}
main[data-route="case-bewtr"] .case-grid .cc-work-image:first-child img{
  object-position: 72% 12%;
}
main[data-route="case-bewtr"] .case-grid .cc-work-image:last-child img{
  object-position: 50% 74%;
}
@media (max-width: 900px){
  main[data-route="case-cellar"] .case-grid .cc-work-image:has(img),
  main[data-route="case-bewtr"] .case-grid .cc-work-image:has(img){
    --case-grid-img-h: min(58vh, 420px);
  }
  main[data-route="case-bewtr"] .case-grid .cc-work-image:has(img){
    --case-grid-img-h: min(62vh, 460px);
  }
  .case-split, .case-split--reverse{ grid-template-columns: 1fr; gap: var(--stack-lg); }
  .case-split--reverse .case-split__media{ order: 0; }
  main[data-route="case-cellar"] .case-hero--video .case-split,
  main[data-route="case-bewtr"] .case-hero--video .case-split,
  main[data-route="case-cellar"] .case-hero--video .case-split--reverse,
  main[data-route="case-bewtr"] .case-hero--video .case-split--reverse{
    grid-template-columns: 1fr;
  }
  main[data-route="case-cellar"] .case-hero--video .case-split__media.cc-work-image:not(:has(img)),
  main[data-route="case-bewtr"] .case-hero--video .case-split__media.cc-work-image:not(:has(img)){
    width: min(240px, 72vw) !important;
    height: calc(min(240px, 72vw) * 16 / 9) !important;
    margin-inline: auto;
  }
}

.testimonial-card__name span + span::before{ content: none; }
.testimonial-card__person{ display: block; font-style: normal; }
.testimonial-card__role{ display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; font-style: normal; }
.testimonial-card__company{ display: block; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.cover-actions .btn-primary--hero{ font-weight: 600; }

/* Portrait = arch · work = sharp frame */
.cc-portrait-image{
  border-radius: 999px 999px 0 0;
}
.cc-work-image,
.case-bigimg.cc-work-image,
.case-grid .cc-work-image{
  border-radius: var(--rad);
}

/* ========== PORTRAIT FIGURE (Flore) ========== */
.portrait-figure{ margin: 0; display: flex; flex-direction: column; gap: 18px; }
.portrait-figure .portrait-frame{
  position: relative;
  aspect-ratio: 1066/1600;
  overflow: hidden;
  border-radius: 3px;
  background: var(--paper-3, #e7e1d3);
  box-shadow: 0 12px 36px -22px rgba(27,23,20,.22);
}
.portrait-figure .portrait-frame img{
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  display: block;
  filter: saturate(.92) contrast(1.02);
}
.portrait-figure .portrait-tag{
  position: absolute; top: 14px; left: 14px;
  padding: 6px 10px;
  background: rgba(247,243,235,.92);
  color: var(--ink, #4E1838);
  font-size: 10.5px; letter-spacing: .14em;
  border: 1px solid rgba(27,23,20,.08);
}
.portrait-figure .portrait-caption{
  display: flex; flex-direction: column; gap: 4px;
  padding-top: 4px;
  border-top: var(--rule);
  padding-top: 14px;
}
.portrait-figure .portrait-name{
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -.012em;
  color: var(--ink, #4E1838);
}
.portrait-figure .portrait-name em{
  font-style: italic;
  color: var(--bordeaux);
}
.portrait-figure .portrait-role{
  font-family: var(--mono, ui-monospace, Menlo, monospace);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3, #6b6359);
}

/* ========== COVER HERO OVERRIDES ========== */
.cover-portrait .portrait-frame{
  background-color: #ede8e0;
  width: 420px;
  height: 560px;
  max-width: 420px;
  max-height: 560px;
  aspect-ratio: auto;
  padding-top: 0;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: none;
}
.cover-portrait .portrait-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%;
  display: block;
  flex: none;
  min-height: 0;
  filter: none;
  transform: none;
}
.cover-actions .btn-primary{
  display: inline-block;
  width: fit-content;
  max-width: 320px;
  padding: 16px 36px;
}
.founder-caption{
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--ink-3);
  margin-top: 0.5rem;
  text-align: center;
}

/* Chart labels */
.chart-axis-y,
.chart-tick,
.chart-annotation{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  fill: #666;
}
.chart-annotation{ font-size: 11px; font-weight: 500; fill: var(--bordeaux); }
.chart-annotation--muted{ fill: var(--ink-3); font-weight: 400; }
.chart-svg .line1{ stroke: var(--sand); }
.chart-svg .line2{ stroke: var(--bordeaux); }
.chart-svg circle[fill="#5C1E49"]{ fill: var(--bordeaux); }
.chart-x-labels{
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-left: 48px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Mobile CTA full width */
@media (max-width: 520px){
  .cover-actions .btn-primary,
  .cta-section .btn-primary,
  .manifesto-cta .btn-primary{ width: 100%; justify-content: center; }
}
