/* ==========================================================================
   ALEXANDER UMOH — Portfolio
   ========================================================================== */

:root {
  --ink: #0A0A0A;
  --ink-2: #161616;
  --graphite: #2A2A2A;
  --paper: #F4F1EA;
  --white: #FFFFFF;
  --fog: #8C8A85;      /* muted text on dark (5.7:1 on ink) */
  --fog-ink: #5F5D58;  /* muted text on paper (5.8:1) */
  --beam: #FFD60A;
  --beam-deep: #E6B800;

  --f-display: "Syne", "Arial Black", sans-serif;
  --f-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --f-hand: "Caveat", "Comic Sans MS", cursive;

  --pad: clamp(20px, 5vw, 80px);
  --max: 1440px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.87, 0, .13, 1);
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
em { font-style: normal; }
::selection { background: var(--beam); color: var(--ink); }
:focus-visible { outline: 2px solid var(--beam); outline-offset: 4px; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  background: var(--beam); color: var(--ink); padding: 10px 16px;
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.eyebrow { margin-bottom: clamp(20px, 3vw, 40px); opacity: .7; }
.note { font-family: var(--f-hand); font-size: clamp(1.5rem, 2.2vw, 2.2rem); line-height: 1; color: var(--beam); transform: rotate(-3deg); display: inline-block; }
h1, h2, h3, .h2, .cs__title, .case__title, .chapter h3, .panel__title { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.h2 {
  font-family: var(--f-display); font-weight: 700; text-transform: none;
  font-size: clamp(2.4rem, 6vw, 5.5rem); line-height: .95; letter-spacing: -.035em;
}
.display {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(4rem, 14vw, 16rem); line-height: .85; letter-spacing: -.045em;
  white-space: nowrap;
}

/* smooth in-page jumps; calm reveals (JS adds .reveal-ready, then .is-in once) */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 900; pointer-events: none;
  opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 950; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--beam); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; padding-inline: var(--pad);
  color: var(--paper); transition: transform .5s var(--ease), color .4s, background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
/* Solid bar once the page scrolls, so the nav never sits on top of content */
.nav.is-scrolled { background: rgba(10, 10, 10, .9); border-bottom-color: rgba(244, 241, 234, .08); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
body[data-theme="light"] .nav.is-scrolled { background: rgba(244, 241, 234, .92); border-bottom-color: rgba(10, 10, 10, .1); }
.nav__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--beam); box-shadow: 0 0 0 3px rgba(255, 214, 10, .22); flex: none; }
.nav__name { white-space: nowrap; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; flex: none; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 16px; } .nav__toggle span:last-child { top: 24px; }
.nav.is-open .nav__toggle span:first-child { top: 20px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 20px; transform: rotate(-45deg); }
@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav { gap: 12px; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 6px; padding: clamp(24px, 6vh, 56px) var(--pad); background: var(--ink); color: var(--paper);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .3s;
  }
  .nav__links .link-draw { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -.03em; line-height: 1.25; }
  .nav__links .pill { margin-top: 20px; padding: 14px 26px; font-size: 1.05rem; }
  .nav.is-open { background: var(--ink); color: var(--paper); border-bottom-color: rgba(244, 241, 234, .08); -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .3s var(--ease), visibility 0s; }
  body.menu-open { overflow: hidden; }
}
body[data-theme="light"] .nav { color: var(--ink); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); font-size: .95rem; font-weight: 500; }
.pill {
  display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 999px;
  background: var(--beam); color: var(--ink); font-weight: 600; white-space: nowrap;
  transition: background-color .3s;
}
.pill:hover { background: var(--white); }

.link-draw { position: relative; display: inline-block; }
.link-draw::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.link-draw:hover::after, .link-draw:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.mobile-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 790;
  display: none; justify-content: center; align-items: center; min-height: 52px; border-radius: 999px;
  background: var(--beam); color: var(--ink); font-weight: 600;
  transform: translateY(150%); transition: transform .5s var(--ease);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.mobile-cta.is-visible { transform: none; }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; overflow: hidden;
  min-height: 54px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 1rem; white-space: nowrap;
  isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn--beam { background: var(--beam); color: var(--ink); }
.btn--beam::before { background: var(--white); }
.btn--ghost { border: 1.5px solid currentColor; }
.btn--ghost::before { background: var(--paper); }
.btn--ghost:hover { color: var(--ink); border-color: var(--paper); }
.btn svg { flex: none; }

/* ==========================================================================
   1. HERO — instant: who, what, where, availability, actions
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--paper);
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + clamp(28px, 6vh, 72px)) 0 clamp(56px, 8vh, 96px);
}
.hero__ink { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--graphite); opacity: .6; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.hero__content { container-type: inline-size; }
.hero__status {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--graphite);
  border-radius: 999px; color: var(--paper); margin-bottom: clamp(22px, 4vh, 40px);
}
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); }
.hero__title { display: flex; flex-direction: column; gap: clamp(12px, 1.8vw, 22px); }
/* "ALEXANDER" ≈ 10.3em wide in Syne 800, so 9.4cqw always fits the column */
.hero__name { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 7vw, 8.4rem); font-size: clamp(1.6rem, 9.4cqw, 8.4rem); line-height: .9; letter-spacing: -.045em; }
.hero__role { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 2.2rem); line-height: 1.15; letter-spacing: -.02em; }
.hero__role-sub { display: inline-block; color: var(--beam); }
.hero__role-sub::before { content: "("; } .hero__role-sub::after { content: ")"; }
.hero__lede { margin-top: clamp(18px, 3vh, 28px); max-width: 40ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.5; color: #c9c6be; }
.hero__lede em { font-family: var(--f-hand); color: var(--beam); font-size: 1.4em; line-height: .6; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: clamp(22px, 4vh, 36px) 0; }
.hero__meta li { display: flex; flex-direction: column; gap: 4px; font-weight: 500; }
.hero__meta .mono { color: var(--fog); }
.hero__portrait { position: relative; margin: 0; justify-self: end; width: min(100%, 380px); }
.hero__frame { display: block; border: 3px solid var(--paper); box-shadow: 14px 14px 0 var(--beam); }
.hero__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 28%; filter: grayscale(1) contrast(1.08); }
.hero__portrait figcaption { margin-top: 24px; color: var(--fog); }
/* one quiet entrance on load */
.hero__content > *, .hero__portrait { animation: hero-in .9s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .06s; }
.hero__content > :nth-child(3) { animation-delay: .12s; }
.hero__content > :nth-child(4) { animation-delay: .18s; }
.hero__content > :nth-child(5) { animation-delay: .24s; }
.hero__portrait { animation-delay: .15s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } }

/* ==========================================================================
   2. STATS
   ========================================================================== */
.stats { background: var(--ink); border-top: 1px solid var(--graphite); padding: clamp(64px, 9vw, 120px) 0; position: relative; z-index: 2; }
.stats__grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.stats__statement { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2.3rem); line-height: 1.15; letter-spacing: -.025em; max-width: 26ch; color: var(--paper); padding-bottom: 6px; }
.stat__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(3.4rem, 8vw, 8rem); line-height: .9; letter-spacing: -.05em; color: var(--paper); }
.stat__num--word { font-size: clamp(2.6rem, 5.6vw, 5.8rem); line-height: 1.15; }
.stat__line { display: block; height: 3px; background: var(--beam); margin: 18px 0 16px; }
.stat__label { color: var(--fog); max-width: 22ch; }

/* ==========================================================================
   3. MISSION
   ========================================================================== */
.mission { background: var(--paper); color: var(--ink); padding: clamp(120px, 18vw, 240px) 0; position: relative; z-index: 3; }
.mission__text {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 5.6vw, 6.2rem);
  line-height: 1.02; letter-spacing: -.04em; max-width: 18ch;
}
.hl { position: relative; display: inline-block; z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: -.06em; right: -.06em; top: 52%; height: .4em; z-index: -1;
  background: var(--beam); transform: scaleX(0) rotate(-1.5deg); transform-origin: left; transition: transform .9s var(--ease) .35s;
  border-radius: 2px;
}
.is-in .hl::after { transform: scaleX(1) rotate(-1.5deg); }
.note--right { color: var(--ink); display: block; width: fit-content; margin: 40px 0 0 auto; }

/* ==========================================================================
   5. STORY
   ========================================================================== */
.story { background: var(--paper); color: var(--ink); padding: clamp(120px, 14vw, 200px) 0; position: relative; z-index: 3; }
.story__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 120px); }
.story__media { position: relative; }
.story__portrait { position: sticky; top: calc(var(--nav-h) + 24px); overflow: hidden; background: var(--ink); }
.story__portrait img { width: 100%; height: auto; aspect-ratio: 944 / 1132; object-fit: cover; filter: grayscale(1) contrast(1.08); transform-origin: center; }
.story__portrait::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--ink); pointer-events: none; }
.story__portrait figcaption { position: absolute; left: 0; bottom: 0; background: var(--beam); color: var(--ink); padding: 8px 12px; }
.story__chapters { position: relative; padding-left: clamp(28px, 4vw, 60px); margin-top: clamp(40px, 6vw, 80px); }
.story__line { position: absolute; left: 0; top: 0; width: 4px; height: 100%; color: var(--ink); }
.chapter { padding-bottom: clamp(60px, 9vw, 140px); position: relative; }
.chapter::before { content: ""; position: absolute; left: calc(-1 * clamp(28px, 4vw, 60px) - 7px); top: .5em; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); transition: background-color .4s; }
.chapter.is-in::before { background: var(--beam); }
.chapter__n { color: var(--fog-ink); display: block; margin-bottom: 12px; }
.chapter h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 3.2rem); line-height: 1; letter-spacing: -.035em; margin-bottom: 18px; }
.chapter p { max-width: 46ch; font-size: clamp(1.05rem, 1.3vw, 1.3rem); color: #33322f; }
.chapter p em { background: linear-gradient(transparent 60%, var(--beam) 60%); padding: 0 2px; }
.signature { font-family: var(--f-hand); font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1; transform: rotate(-4deg); display: inline-block; }
.signature span { display: inline-block; }
.skills { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 2px solid var(--ink); display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.skills h3 { color: var(--fog-ink); margin-bottom: 16px; }
.skills .skills__sub { margin-top: 28px; }
.skills__list em { font-style: normal; color: var(--fog-ink); }
.experience { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(32px, 4vw, 48px); border-top: 2px solid var(--ink); scroll-margin-top: calc(var(--nav-h) + 16px); }
.experience__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 3.2rem); line-height: 1; letter-spacing: -.035em; margin-bottom: clamp(20px, 3vw, 32px); }
.exp { list-style: none; }
.exp__item { display: grid; grid-template-columns: 11.5rem 1fr; gap: 8px 32px; padding: 26px 0; border-bottom: 1px solid rgba(10, 10, 10, .15); }
.exp__item:first-child { padding-top: 0; }
.exp__when { color: var(--fog-ink); padding-top: .35em; }
.exp__role { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.2; letter-spacing: -.02em; }
.exp__role span { font-family: var(--f-body); font-weight: 500; color: var(--fog-ink); letter-spacing: 0; }
.exp__where { font-size: .9rem; color: var(--fog-ink); margin: 4px 0 12px; }
.exp__points { display: grid; gap: 8px; }
.exp__points li { position: relative; padding-left: 18px; color: #33322f; line-height: 1.55; max-width: 62ch; }
.exp__points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--beam); border: 1.5px solid var(--ink); border-radius: 50%; }
.exp__ref { margin-top: 24px; padding: 18px 20px; background: var(--white); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--beam); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.exp__ref .mono { color: var(--fog-ink); width: 100%; }
.exp__ref a { font-weight: 600; }
.skills__list { display: flex; flex-wrap: wrap; gap: 8px; }
.skills__list li { padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); font-size: .95rem; font-weight: 500; line-height: 1.3; }

/* ==========================================================================
   6. SERVICES
   ========================================================================== */
.services { background: var(--ink); color: var(--paper); padding: clamp(120px, 14vw, 200px) 0; position: relative; z-index: 3; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(40px, 5vw, 64px); }
.mode { background: var(--ink-2); border: 1px solid var(--graphite); padding: clamp(22px, 2.4vw, 32px); transition: border-color .3s; }
.mode:hover { border-color: var(--beam); }
.mode__n { color: var(--beam); }
.mode h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1; letter-spacing: -.03em; margin: 14px 0 10px; }
.mode p { color: #c9c6be; }
.modes__note { margin-top: 20px; max-width: 72ch; color: #c9c6be; }
.modes__note .mono { color: var(--beam); margin-right: 12px; }
.svc__label { color: var(--fog); margin-top: clamp(64px, 8vw, 110px); }
.svc { margin-top: 20px; border-top: 1px solid var(--graphite); }
.svc__item { border-bottom: 1px solid var(--graphite); position: relative; }
.svc__head { width: 100%; display: flex; align-items: center; gap: clamp(16px, 3vw, 48px); padding: clamp(20px, 3vw, 40px) 0; text-align: left; transition: color .4s, padding .5s var(--ease); }
.svc__n { color: var(--fog); min-width: 2.5em; }
.svc__title { flex: 1; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 5.2vw, 5.8rem); line-height: .95; letter-spacing: -.045em; }
.svc__plus { position: relative; width: 36px; height: 36px; flex: none; }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 100%; height: 3px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.svc__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc__item.is-open .svc__plus::after { transform: translate(-50%, -50%) rotate(0); }
.svc__item:hover .svc__head, .svc__item.is-open .svc__head { color: var(--beam); }
@media (hover: hover) { .svc__item:hover .svc__head { padding-left: 24px; } }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.svc__item.is-open .svc__body { grid-template-rows: 1fr; }
.svc__inner { overflow: hidden; display: flex; flex-wrap: wrap; gap: 12px 48px; align-items: baseline; padding-left: calc(2.5em + clamp(16px, 3vw, 48px)); }
.svc__item.is-open .svc__inner { padding-bottom: clamp(24px, 3vw, 40px); }
.svc__inner p { color: #c9c6be; }
.svc__inner strong { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fog); font-weight: 500; }
.link-beam { color: var(--beam); font-weight: 600; border-bottom: 1.5px solid var(--beam); padding-bottom: 2px; }
.link-beam:hover { color: var(--white); border-color: var(--white); }


/* ==========================================================================
   7. WORK
   ========================================================================== */
.work { background: var(--ink); color: var(--paper); padding: clamp(120px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); position: relative; z-index: 3; }
.work__head { margin-bottom: clamp(60px, 8vw, 120px); }
.work__intro { margin-top: 20px; max-width: 52ch; color: #c9c6be; font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.case { margin-bottom: clamp(80px, 12vw, 180px); }
.case__link { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.case__media { grid-column: 1 / span 8; overflow: hidden; border: 1px solid var(--graphite); }
.case__img { aspect-ratio: 16 / 10; transition: transform 1s var(--ease); will-change: transform; position: relative; overflow: hidden; }
.case__link:hover .case__img { transform: scale(1.03); }
.case__info { grid-column: 9 / span 4; padding-bottom: 8px; }
.case--b .case__media { grid-column: 5 / span 8; grid-row: 1; }
.case--b .case__info { grid-column: 1 / span 4; grid-row: 1; }
.case--c .case__media { grid-column: 2 / span 7; }
.case--c .case__info { grid-column: 9 / span 4; }
.case__tags { line-height: 1.5; }
.case__n { color: var(--fog); }
.case__info { container-type: inline-size; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
/* MULTINATIONAL = 13.25em wide, so 7.2cqw always fits the column */
.case__title { display: block; width: 100%; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.15rem, 2.2vw, 2.6rem); font-size: clamp(1.15rem, 7.2cqw, 2.6rem); line-height: 1.04; letter-spacing: -.04em; text-transform: uppercase; margin: 0; }
.case__link:hover .case__title { text-decoration: underline; text-decoration-color: var(--beam); text-decoration-thickness: .14em; text-underline-offset: .1em; }
.case__more { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); border-bottom: 1.5px solid var(--paper); padding-bottom: 4px; margin-top: 4px; }
.case__more i { font-style: normal; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--beam); color: var(--ink); transition: transform .5s var(--ease); }
.case__link:hover .case__more i { transform: rotate(90deg); }
.case__tags { color: var(--ink); background: var(--beam); display: inline-block; padding: 4px 8px; margin: 0; }
.case__desc { color: #c9c6be; max-width: 40ch; margin: 0; }
.case__link { cursor: pointer; display: grid; }
.case__link:focus-visible { outline: 2px solid var(--beam); outline-offset: 8px; }
/* three-brand collage on the Brand Systems card */
.case__img--trio { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; background: var(--ink); }
.case__img--trio img { width: 100%; height: 100%; object-fit: cover; }
.case__img--trio img:first-child { grid-row: span 2; }

/* real project image on a card */
.case__img--photo { background: var(--ink); }
.case__img--photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* ==========================================================================
   8. CTA
   ========================================================================== */
.cta { position: relative; z-index: 3; background: var(--beam); color: var(--ink); display: flex; align-items: center; overflow: hidden; padding: clamp(120px, 14vw, 180px) 0 clamp(80px, 10vw, 120px); }
.cta__inner { position: relative; container-type: inline-size; }
.cta__title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: min(8.6vw, 11rem); font-size: min(9.4cqw, 11rem); line-height: .86; letter-spacing: -.05em; }
.cta__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.cta__title em { font-family: var(--f-hand); text-transform: none; font-weight: 600; letter-spacing: 0; font-size: 1.15em; line-height: .7; display: inline-block; transform: rotate(-4deg); }
.cta__row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 80px); }
.cta__sub { max-width: 34ch; font-size: clamp(1.1rem, 1.6vw, 1.5rem); line-height: 1.4; font-weight: 500; }
.cta__btn {
  width: clamp(160px, 16vw, 240px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--ink); color: var(--beam); font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.1rem, 1.6vw, 1.5rem); line-height: 1;
  transition: background-color .4s, color .4s; position: relative;
}
.cta__btn::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid var(--ink); opacity: .35; }
.cta__btn:hover { background: var(--paper); color: var(--ink) !important; }
.cta__email { margin-top: clamp(40px, 6vw, 72px); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 2.4rem); letter-spacing: -.02em; word-break: break-all; }
.copy { border: 1.5px solid currentColor; border-radius: 999px; padding: 10px 18px; min-height: 44px; transition: background-color .3s, color .3s; }
.copy:hover { background: var(--ink); color: var(--beam); border-color: var(--ink); }
.cta__facts { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 56px; margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 2px solid var(--ink); }
.cta__facts > p, .cta__social { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.cta__facts .mono { opacity: .7; }
.cta__links { display: flex; flex-wrap: wrap; gap: 10px; }
.social { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; transition: background-color .3s, color .3s; }
.social:hover { background: var(--paper); color: var(--ink); }

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.footer { background: var(--ink); color: var(--paper); padding-top: clamp(80px, 10vw, 140px); position: relative; z-index: 3; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer__col .mono { color: var(--fog); margin-bottom: 8px; }
.footer__col--end { align-items: flex-end; justify-content: flex-end; }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(60px, 8vw, 100px); padding-top: 24px; border-top: 1px solid var(--graphite); color: var(--fog); font-size: .9rem; }
.footer__word { padding: 0 var(--pad); margin-top: 24px; line-height: .78; overflow: hidden; container-type: inline-size; }
.footer__word span { display: block; font-family: var(--f-display); font-weight: 800; letter-spacing: -.05em; white-space: nowrap; color: var(--paper); font-size: 6vw; font-size: 6.2cqw; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 1200; transform: translate(-50%, calc(100% + 80px)); background: var(--paper); color: var(--ink); padding: 12px 20px; border-radius: 999px; transition: transform .5s var(--ease); }
.toast.is-on { transform: translate(-50%, 0); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stats__statement { grid-column: 1 / -1; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__portrait { justify-self: start; width: min(100%, 380px); }
  .modes { grid-template-columns: 1fr; }
  .skills { grid-template-columns: 1fr; }
  .story__grid { grid-template-columns: 1fr; }
  .story__portrait { position: relative; top: 0; max-width: 520px; }
  .case__link, .case--b .case__link { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
  .case--b .case__media { order: 0; }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .footer__col--end { align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .mobile-cta { display: flex; }
  .btns { width: 100%; }
  .btn { flex: 1; justify-content: center; padding: 0 18px; }
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 32px); }
  .hero__meta { flex-direction: column; gap: 12px; }
  .hero__frame { box-shadow: 8px 8px 0 var(--beam); }
  .nav__logo { font-size: .95rem; gap: 8px; }
  .svc__plus { width: 24px; height: 24px; }
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  h1, h2, h3, .h2, .cs__title, .case__title, .chapter h3, .panel__title { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .svc__inner { padding-left: 0; }
  .svc__head { gap: 14px; }
  .svc__title { font-size: 6.4vw; overflow-wrap: anywhere; }
  .svc__n { min-width: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer { padding-bottom: 76px; } /* room for the sticky mobile CTA */
  .toast { bottom: 84px; }
  .cta__row { flex-direction: column; align-items: center; text-align: center; }
  .cta__sub { align-self: flex-start; text-align: left; }
  .cta__email { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .cta__btn { width: 150px; }
  .cta__facts { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .cta__facts > p, .cta__social { align-items: center; }
  .exp__item { grid-template-columns: 1fr; gap: 6px; }
  .exp__when { padding-top: 0; }
  .story__chapters { padding-left: 32px; }
  .chapter::before { left: -39px; }
  .footer__bar { flex-direction: column; gap: 6px; }
}

@media (max-width: 400px) {
  .btns { flex-direction: column; }
  .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; }
}

/* Short landscape screens (phones turned sideways) */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 0; }
  .btn { min-height: 44px; }
}

/* ==========================================================================
   CASE STUDY VIEWER
   ========================================================================== */
.cs { position: fixed; inset: 0; z-index: 1100; display: flex; justify-content: center; align-items: flex-end; }
.cs[hidden] { display: none; }
.cs__backdrop { position: absolute; inset: 0; background: rgba(10, 10, 10, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cs__panel {
  position: relative; width: min(1280px, calc(100% - 2 * clamp(0px, 3vw, 40px))); height: calc(100% - clamp(0px, 4vh, 40px));
  background: var(--paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
  border-radius: 24px 24px 0 0; outline: none; -webkit-overflow-scrolling: touch;
}
.wrap-cs { padding-inline: clamp(20px, 5vw, 72px); }
.cs__bar {
  position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center;
  padding: 16px clamp(20px, 5vw, 72px); background: rgba(244, 241, 234, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10, 10, 10, .1);
}
.cs__count { color: var(--fog-ink); }
.cs__close { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--paper); transition: background-color .3s, color .3s; }
.cs__close:hover { background: var(--beam); color: var(--ink); }
.cs__head { container-type: inline-size; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(24px, 4vw, 48px); }
.cs__tags { display: inline-block; background: var(--beam); padding: 4px 8px; line-height: 1.5; }
.cs__title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; line-height: .95; font-size: clamp(1.4rem, 6vw, 5.6rem); font-size: clamp(1.4rem, 8.4cqw, 5.6rem); margin: 18px 0 18px; }
.cs__highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: clamp(24px, 4vw, 40px); }
.cs__highlights li { padding: 16px 18px; background: var(--ink); color: var(--paper); border-left: 4px solid var(--beam); }
.cs__highlights strong { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--beam); letter-spacing: -.04em; }
.cs__highlights span { display: block; margin-top: 6px; font-size: .9rem; line-height: 1.35; color: #c9c6be; }
.cs__quote { margin-top: 24px; padding: 18px 22px; border-left: 4px solid var(--beam); background: var(--white); font-family: var(--f-hand); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.2; }
.cs__lede { max-width: 52ch; font-size: clamp(1.05rem, 1.6vw, 1.4rem); line-height: 1.45; color: #33322f; }

.cs__viewport { position: relative; overflow: hidden; border: 3px solid var(--ink); background: var(--ink); aspect-ratio: 16 / 10; touch-action: pan-y; }
.cs__track { display: flex; height: 100%; transition: transform .7s var(--ease); }
.cs__slide { flex: 0 0 100%; height: 100%; position: relative; overflow: hidden; }
.cs__slide > img { width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.cs__slide .case__img { aspect-ratio: auto; height: 100%; }
.cs__ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: clamp(16px, 3vw, 36px);
  background: var(--ink-2); color: var(--paper);
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cs__ph::before { content: ""; position: absolute; left: 50%; top: 44%; width: clamp(60px, 10vw, 120px); aspect-ratio: 1; transform: translate(-50%, -50%); border: 3px solid var(--beam); border-radius: 50%; background: radial-gradient(var(--beam) 2px, transparent 2.5px) 0 0 / 10px 10px; opacity: .8; }
.cs__ph strong { font-family: var(--f-display); font-size: clamp(1.2rem, 3vw, 2.4rem); letter-spacing: -.03em; text-transform: uppercase; line-height: 1; position: relative; }
.cs__ph small { font-family: var(--f-mono); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fog); position: relative; }
.cs__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  background: var(--paper); color: var(--ink); font-size: 1.3rem; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: background-color .3s, opacity .3s;
}
.cs__nav:hover { background: var(--beam); }
.cs__nav:disabled { opacity: .3; cursor: default; }
.cs__nav--prev { left: 16px; } .cs__nav--next { right: 16px; }
.cs__gbar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; }
.cs__caption { font-size: .95rem; color: #3d3c39; }
.cs__gcount { color: var(--fog-ink); white-space: nowrap; }
.cs__thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.cs__thumb { flex: 0 0 auto; width: clamp(72px, 10vw, 120px); aspect-ratio: 16 / 10; border: 2px solid transparent; outline: 1px solid rgba(10,10,10,.2); background: var(--ink-2); color: var(--paper); font-family: var(--f-mono); font-size: .65rem; display: grid; place-items: center; overflow: hidden; opacity: .55; transition: opacity .3s, border-color .3s; }
.cs__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cs__thumb[aria-selected="true"] { opacity: 1; border-color: var(--beam); }
.cs__thumb:hover { opacity: 1; }

.cs__body { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 80px); padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.cs__meta { align-self: start; position: sticky; top: 96px; }
.cs__dl { display: grid; gap: 18px; padding: 24px; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--beam); background: var(--white); }
.cs__dl dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fog-ink); }
.cs__dl dd { font-weight: 600; margin-top: 2px; }
.cs__link { margin-top: 28px; }
.cs__link .btn { width: 100%; justify-content: center; }
.cs__link .btn--dark { background: var(--ink); color: var(--paper); }
.cs__link .btn--dark::before { background: var(--beam); }
.cs__link .btn--dark:hover { color: var(--ink); }
.cs__link .btn--soon { border: 1.5px dashed var(--ink); color: var(--ink); cursor: default; }
.cs__link .btn--soon::before { display: none; }

.cs__block + .cs__block { margin-top: clamp(40px, 5vw, 64px); }
.cs__h { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 2px solid var(--ink); }
.cs__h span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--beam); font-size: .7rem; }
.cs__overview, .cs__concept { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.6; max-width: 60ch; }
.cs__concept { font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.25; }
.cs__notes { display: grid; gap: 14px; }
.cs__notes li { position: relative; padding-left: 30px; line-height: 1.55; max-width: 62ch; }
.cs__notes li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--ink); background: var(--beam); width: 20px; height: 20px; display: grid; place-items: center; font-size: .6rem; border-radius: 50%; margin-top: .2em; }
.cs__timeline { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; counter-reset: tl; }
.cs__timeline li { position: relative; padding: 28px 16px 0 0; border-top: 3px solid var(--ink); }
.cs__timeline li::before { content: ""; position: absolute; top: -10px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--beam); border: 3px solid var(--ink); }
.cs__timeline .mono { color: var(--fog-ink); display: block; margin-bottom: 6px; }
.cs__timeline strong { display: block; font-family: var(--f-display); font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 6px; }
.cs__timeline p { font-size: .95rem; color: #3d3c39; line-height: 1.5; }
.cs__next {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; text-align: left;
  padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 90px); background: var(--ink); color: var(--paper);
  transition: background-color .4s, color .4s; container-type: inline-size;
}
.cs__next .mono { color: var(--fog); }
.cs__next-title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; font-size: clamp(1.4rem, 6vw, 5rem); font-size: clamp(1.4rem, 8.4cqw, 5rem); line-height: .95; max-width: 100%; }
.cs__next:hover { background: var(--beam); color: var(--ink); }
.cs__next:hover .mono { color: var(--ink); }
body.cs-open { overflow: hidden; }

@media (max-width: 900px) {
  .cs__body { grid-template-columns: 1fr; }
  .cs__meta { position: static; order: 2; }
  .cs__timeline { row-gap: 32px; }
}
@media (max-width: 640px) {
  .cs__panel { width: 100%; height: 100%; border-radius: 0; }
  .cs__viewport { aspect-ratio: 4 / 3; }
  .cs__nav { width: 42px; height: 42px; font-size: 1.1rem; }
  .cs__nav--prev { left: 10px; } .cs__nav--next { right: 10px; }
  .cs__timeline { grid-template-columns: 1fr; row-gap: 0; border-left: 3px solid var(--ink); margin-left: 8px; }
  .cs__timeline li { border-top: 0; padding: 0 0 28px 26px; }
  .cs__timeline li::before { top: 2px; left: -11px; }
  .cs__dl { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reduced motion / no JS fallback states ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media (max-width: 350px) { .nav__logo { font-size: .82rem; gap: 6px; } }

/* Case-study sheet: gentle fade + rise (JS toggles .is-open) */
.cs .cs__backdrop { opacity: 0; transition: opacity .3s ease; }
.cs .cs__panel { opacity: 0; transform: translateY(24px); transition: opacity .3s ease, transform .45s var(--ease); }
.cs.is-open .cs__backdrop { opacity: 1; }
.cs.is-open .cs__panel { opacity: 1; transform: none; }

/* ---------- Carousel extras ---------- */
.cs__progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 4px; background: var(--beam); transform-origin: left; transform: scaleX(0); pointer-events: none; }
.cs__progress.is-running { animation: cs-progress 2s linear forwards; }
@keyframes cs-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
button.cs__slide { display: block; padding: 0; border: 0; background: var(--ink); cursor: zoom-in; text-align: left; }
button.cs__slide:focus-visible { outline: 3px solid var(--beam); outline-offset: -6px; }
.cs__open {
  position: absolute; left: clamp(12px, 2vw, 24px); bottom: clamp(16px, 2.4vw, 28px); z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--beam); color: var(--ink); box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: background-color .3s;
}
.cs__open i { font-style: normal; }
button.cs__slide:hover .cs__open { background: var(--white); }
.cs__thumb { position: relative; }
.cs__thumb span { position: absolute; left: 4px; bottom: 4px; padding: 1px 6px; background: rgba(10,10,10,.75); color: var(--paper); font-size: .7rem; line-height: 1.5; }
.cs__thumb[aria-current="true"] { opacity: 1; border-color: var(--beam); }
.cs__thumb--brand { width: clamp(110px, 16vw, 180px); }
.cs__thumb--brand span { font-family: var(--f-body); font-weight: 600; letter-spacing: 0; }

/* brand guide list in the case-study sidebar */
.cs__guides-label { color: var(--fog-ink); margin-bottom: 10px; }
.cs__guide {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; width: 100%; text-align: left;
  padding: 14px 16px; margin-bottom: 10px; border: 2px solid var(--ink); background: var(--white); min-height: 44px;
  transition: background-color .3s, transform .3s var(--ease);
}
.cs__guide span { font-weight: 700; }
.cs__guide small { grid-column: 1; font-size: .85rem; color: var(--fog-ink); }
.cs__guide i { grid-column: 2; grid-row: 1 / span 2; font-style: normal; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--beam); }
.cs__guide:hover { background: var(--beam); transform: translateX(4px); }
.cs__guide:hover i { background: var(--ink); color: var(--beam); }

/* ==========================================================================
   FULL BRAND GUIDE VIEWER
   ========================================================================== */
.gv { position: fixed; inset: 0; z-index: 1200; display: flex; flex-direction: column; background: #111; color: var(--paper); }
.gv[hidden] { display: none; }
.gv__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px); background: var(--ink); border-bottom: 1px solid var(--graphite);
}
.gv__meta { color: var(--fog); }
.gv__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.8rem); letter-spacing: -.03em; line-height: 1.1; margin-top: 4px; }
.gv__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.gv__close { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; transition: background-color .3s, color .3s; }
.gv__close { background: var(--beam); color: var(--ink); }
.gv__close:hover { background: var(--white); }
.gv__pages { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: clamp(12px, 3vw, 40px) clamp(8px, 4vw, 48px) 60px; outline: none; -webkit-overflow-scrolling: touch; }
.gv__page { max-width: 1200px; margin: 0 auto clamp(12px, 2vw, 24px); }
.gv__page img { width: 100%; height: auto; aspect-ratio: 1600 / 966; background: #1c1c1c; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.gv__page figcaption { margin-top: 8px; color: var(--fog); text-align: right; }
@media (max-width: 640px) {
  .cs__open { padding: 8px 12px; font-size: .65rem; }
}

.cs__gallery.is-brands .cs__slide > img { object-fit: cover; }
