/* choque — estilos compartidos */
/* Instrument Sans (SIL Open Font License, ver fonts/OFL.txt), alojada en el propio sitio */
@font-face {
  font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #F5F4F0;
  --surface: #EAE9E3;
  --ink: #111110;
  --ink-2: #5E5D58;
  --line: rgb(17 17 16 / 0.12);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --sans: "Instrument Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
/* Protección básica de imágenes: sin menú de guardar en móvil, sin arrastrar ni seleccionar */
img, video { -webkit-touch-callout: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; letter-spacing: -0.035em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--bg);
  transform: translateY(-160%); transition: transform 200ms var(--ease-out);
}
.skip:focus-visible { transform: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
section { scroll-margin-top: 90px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 50;
  top: max(12px, env(safe-area-inset-top)); left: 50%;
  width: min(var(--max) - 2 * var(--gutter), calc(100% - 2 * var(--gutter)));
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  color: var(--ink);
  background: rgb(234 233 227 / 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 0 0 1px rgb(17 17 16 / 0.06), 0 8px 24px -12px rgb(17 17 16 / 0.18);
}
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo img { height: 28px; width: auto; }
.nav nav { display: flex; align-items: center; gap: 4px; }
.lang { display: inline-flex; align-items: center; margin-right: 4px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-2); }
.lang span { opacity: 0.5; }
.lang button {
  min-width: 40px; min-height: 40px; padding: 0 6px; border: 0; border-radius: 999px;
  background: none; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease;
}
.lang button[aria-pressed="true"] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .lang button:hover { background: rgb(17 17 16 / 0.06); color: var(--ink); } }
.nav ul { display: flex; align-items: center; gap: 2px; }
.nav ul a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  border-radius: 999px; font-size: 15px; font-weight: 500;
  transition: background-color 150ms ease;
}
.nav ul a[aria-current="page"] { background: rgb(17 17 16 / 0.06); }
@media (hover: hover) and (pointer: fine) { .nav ul a:hover { background: rgb(17 17 16 / 0.06); } }
.nav .cta { background: var(--ink); color: var(--bg); padding: 0 18px; }
@media (hover: hover) and (pointer: fine) { .nav .cta:hover { background: #2A2A28; } }
.nav .show-sm { display: none; }
/* Mobile menu */
.menu-btn {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 18px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: var(--bg); font: 500 15px/1 var(--sans);
  transition: transform 160ms var(--ease-out);
}
.menu-btn:active { transform: scale(0.96); }
.menu-btn .bars { position: relative; width: 16px; height: 10px; }
.menu-btn .bars::before, .menu-btn .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.75px; border-radius: 2px; background: currentColor;
  transition: transform 250ms var(--ease-out);
}
.menu-btn .bars::before { top: 0; }
.menu-btn .bars::after { bottom: 0; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(4.1px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-4.1px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  display: none; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(112px + env(safe-area-inset-top)) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: var(--bg);
  opacity: 0; visibility: hidden;
  transition: opacity 200ms var(--ease-out), visibility 0s linear 200ms;
}
.menu.open { opacity: 1; visibility: visible; transition: opacity 250ms var(--ease-out); }
.menu ul { display: grid; }
.menu li { border-bottom: 1px solid var(--line); }
.menu li a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-block: 14px 10px; font-size: clamp(44px, 13vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -0.05em;
  opacity: 0; transform: translateY(12px);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.menu li a small { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.menu.open li a { opacity: 1; transform: none; transition-duration: 400ms; transition-delay: calc(60ms + var(--i, 0) * 40ms); }
.menu li a:active { color: var(--ink-2); }
.menu-foot { display: grid; gap: 4px; font-size: 15px; color: var(--ink-2); }
.menu-foot a { color: var(--ink); font-size: 17px; min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 720px) {
  .nav { padding: 8px 8px 8px 16px; }
  .nav ul { display: none; }
  .logo img { height: 32px; }
  .menu-btn { display: inline-flex; }
  .menu { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 500 16px/1 var(--sans); cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 150ms ease, color 150ms ease;
}
.btn:active { transform: scale(0.96); }
.btn svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px var(--line); }
.btn-light { background: var(--bg); color: var(--ink); }
.btn .wa { width: 20px; height: 20px; transition: none; }
@media (hover: hover) and (pointer: fine) { .btn:hover .wa { transform: none; } }
@media (hover: hover) and (pointer: fine) {
  .btn-dark:hover { background: #2A2A28; }
  .btn-ghost:hover { background: rgb(17 17 16 / 0.05); }
  .btn-light:hover { background: #fff; }
  .btn:hover svg { transform: translateX(3px); }
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vw, 40px); }

/* ---------- Type helpers ---------- */
.label { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); margin-bottom: 16px; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 4vw, 40px); }
.h2 { font-size: clamp(34px, 5.5vw, 64px); line-height: 1; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(120px, 18vh, 180px); padding-bottom: clamp(48px, 8vw, 96px); }
.status {
  --status: #1F9D55;
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 16px 8px 14px; max-width: 100%;
  border-radius: 20px; background: var(--surface); line-height: 1.35; text-wrap: balance;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink);
  transition: transform 160ms var(--ease-out), background-color 150ms ease;
}
.status[data-status="cerrada"] { --status: #D93A2B; }
.status:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .status:hover { background: #DDDCD5; } }
.status .dot { flex-shrink: 0; position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--status); box-shadow: 0 0 8px var(--status); }
.status[data-status="abierta"] .dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--status);
  animation: pulse 2s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: 0.6; } to { transform: scale(3); opacity: 0; } }
.hero h1 { margin-top: 20px; font-size: clamp(52px, 11.5vw, 168px); line-height: 0.92; letter-spacing: -0.055em; }
.hero-sub { margin-top: clamp(20px, 3vw, 32px); max-width: 30ch; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.25; letter-spacing: -0.02em; }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator > span {
  grid-area: 1 / 1; white-space: nowrap; font-weight: 600;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), filter 220ms var(--ease-out);
}
.rotator > span[aria-hidden="true"] { opacity: 0; transform: translateY(0.4em); filter: blur(4px); }
.rotator > span.out { opacity: 0; transform: translateY(-0.3em); filter: blur(4px); transition-duration: 140ms; }

/* ---------- Reel ---------- */
.reel { position: relative; padding-bottom: clamp(16px, 3vw, 32px); }
.hero { padding-bottom: clamp(32px, 5vw, 56px); }
.reel-frame { display: block; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 24px; cursor: pointer; }
@media (min-width: 700px) { .reel-frame { aspect-ratio: 3 / 2; } }
.reel-frame img { position: absolute; inset: 0; opacity: 0; transition: opacity 120ms linear; }
.reel-frame img.on { opacity: 1; }
.reel-frame::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgb(17 17 16 / 0.55), rgb(17 17 16 / 0) 45%); }
.reel-cap { position: absolute; left: clamp(16px, 3vw, 32px); right: 140px; bottom: clamp(16px, 3vw, 28px); z-index: 2; display: grid; gap: 6px; color: #F5F4F0; }
.reel-name { font-size: clamp(32px, 6vw, 80px); font-weight: 500; line-height: 0.95; letter-spacing: -0.05em; }
.reel-count { font-size: 14px; font-variant-numeric: tabular-nums; opacity: 0.8; }
.reel-frame .case-link { z-index: 2; right: clamp(12px, 2.5vw, 24px); bottom: clamp(16px, 3vw, 28px); background: var(--bg); color: var(--ink); min-height: 44px; padding: 0 16px; transition: transform 160ms var(--ease-out); }
.reel-frame:active .case-link { transform: scale(0.96); }
.reel-toggle {
  position: absolute; top: 12px; right: calc(var(--gutter) + 12px); z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 10px;
  border: 0; border-radius: 999px; cursor: pointer; font: 500 13px/1 var(--sans); color: var(--ink);
  background: rgb(245 244 240 / 0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 160ms var(--ease-out);
}
.reel-toggle:active { transform: scale(0.96); }
.reel-toggle svg { width: 16px; height: 16px; }
.reel-toggle .i-play, .reel-toggle[aria-pressed="true"] .i-pause { display: none; }
.reel-toggle[aria-pressed="true"] .i-play { display: block; }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; border-radius: 20px; background: var(--surface); }
.media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px oklch(0 0 0 / 0.1); pointer-events: none; }
.media img, .media video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Work carousel ---------- */
.work { padding: clamp(32px, 6vw, 64px) 0 clamp(64px, 10vw, 120px); }
.controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.count { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--ink-2); margin-right: 6px; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--surface); color: var(--ink);
  transition: transform 160ms var(--ease-out), background-color 150ms ease, opacity 150ms ease;
}
.icon-btn:active { transform: scale(0.96); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
.icon-btn svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .icon-btn:not(:disabled):hover { background: #DDDCD5; } }

.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 420px); gap: clamp(12px, 2vw, 20px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter) 4px;
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
@media (min-width: 1240px) {
  .track { padding-inline: calc((100vw - var(--max)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--max)) / 2 + var(--gutter)); }
}
.card { scroll-snap-align: start; scroll-margin-top: 90px; }
.card > a, .card > div { display: block; height: 100%; }
.card .media { aspect-ratio: 4 / 5; }
.card .media img, .card .media video { transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .card a:hover .media img, .card a:hover .media video { transform: scale(1.03); } }
.tag {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink);
  background: rgb(245 244 240 / 0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.case-link {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--ink); color: var(--bg);
}
.case-link svg { width: 16px; height: 16px; }
.card .name { margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.card h3 { margin-top: 4px; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.25; letter-spacing: -0.02em; text-wrap: pretty; }
.media.swatch { display: grid; place-items: center; text-align: center; padding: 24px; }
.media.swatch .sw { font-size: clamp(40px, 5vw, 60px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: clamp(16px, 2.5vw, 28px) 0; }
.marquee-inner { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span {
  display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px);
  font-size: clamp(36px, 7vw, 96px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; white-space: nowrap;
}
.marquee img { width: 0.6em; height: 0.6em; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services { padding-block: clamp(64px, 10vw, 128px); }
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 3.2ch 1fr; gap: 4px 16px; align-items: baseline;
  padding: clamp(20px, 3vw, 32px) 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) { .svc { grid-template-columns: 6ch 1.1fr 1fr; } }
.svc .n { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--ink-2); }
.svc h3 { font-size: clamp(28px, 4.2vw, 52px); line-height: 1.05; transition: transform 300ms var(--ease-out); }
.svc p { grid-column: 2; color: var(--ink-2); max-width: 44ch; }
@media (min-width: 800px) { .svc p { grid-column: 3; } }
@media (hover: hover) and (pointer: fine) { .svc:hover h3 { transform: translateX(8px); } }

/* ---------- Manifesto (Nosotros) ---------- */
.manifesto { padding-bottom: clamp(64px, 10vw, 128px); }
.manifesto p:not(.label) { font-size: clamp(28px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 500; max-width: 22ch; }
.manifesto .mute { color: #A5A49D; }

/* ---------- Contact card ---------- */
.contact { padding-bottom: var(--gutter); }
.contact-card {
  position: relative; overflow: hidden;
  border-radius: 28px; background: var(--ink); color: var(--bg);
  padding: clamp(32px, 6vw, 80px) clamp(24px, 5vw, 72px);
}
.contact-card h2 { font-size: clamp(40px, 8vw, 112px); line-height: 0.95; letter-spacing: -0.055em; max-width: 12ch; }
.contact-card p { margin-top: 20px; color: #B9B8B1; max-width: 40ch; font-size: clamp(17px, 1.6vw, 20px); }
.contact-card .btn-ghost { box-shadow: inset 0 0 0 1px rgb(245 244 240 / 0.24); }
.contact-card .actions { display: inline-grid; grid-template-columns: auto auto; }
.contact-card .btn-full { grid-column: 1 / -1; }
.btn .mail { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .btn:hover .mail { transform: none; } }
@media (hover: hover) and (pointer: fine) { .contact-card .btn-ghost:hover { background: rgb(245 244 240 / 0.08); } }
.card-mark {
  display: block; width: clamp(56px, 8vw, 96px); height: auto; margin-bottom: clamp(24px, 4vw, 40px);
}

footer.site { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 24px calc(24px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--ink-2); }
footer.site a { display: inline-flex; align-items: center; min-height: 44px; }
footer.site nav { display: flex; gap: 20px; }
footer.site { position: relative; }
.privacy-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0;
  background: none; color: inherit; font: inherit; cursor: pointer; transition: color 150ms ease;
}
.privacy-btn[aria-expanded="true"] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { footer.site a:hover, .privacy-btn:hover { color: var(--ink); } }
.privacy {
  position: fixed; z-index: 60;
  right: var(--gutter); bottom: calc(16px + env(safe-area-inset-bottom));
  width: min(440px, calc(100% - 2 * var(--gutter)));
  max-height: min(560px, calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
  overflow-y: auto; overscroll-behavior: contain;
  padding: 18px 22px 24px; border-radius: 20px;
  background: var(--ink); color: var(--bg);
  box-shadow: 0 0 0 1px rgb(245 244 240 / 0.08), 0 24px 48px -16px rgb(17 17 16 / 0.4);
  transform-origin: bottom right; opacity: 0; visibility: hidden; transform: translateY(6px) scale(0.97);
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out), visibility 0s linear 150ms;
}
.privacy.open { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.privacy-head { position: sticky; top: -18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -18px -22px 4px; padding: 18px 22px 8px; background: var(--ink); }
.privacy h3 { font-size: 20px; letter-spacing: -0.02em; }
.privacy-close {
  flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgb(245 244 240 / 0.1); color: inherit; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 150ms ease;
}
.privacy-close:active { transform: scale(0.96); }
.privacy-close svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .privacy-close:hover { background: rgb(245 244 240 / 0.18); } }
.privacy-body { font-size: 14.5px; line-height: 1.55; color: #C9C8C1; }
.privacy-body .meta { font-size: 13px; color: #8F8E88; }
.privacy-body h4 { margin: 16px 0 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bg); }
footer.site .privacy-body a { display: inline; min-height: 0; color: var(--bg); text-decoration: underline; text-underline-offset: 0.15em; }

/* ---------- Case study ---------- */
.case-hero { padding-top: clamp(120px, 18vh, 180px); padding-bottom: clamp(32px, 5vw, 56px); }
.case-hero h1 { font-size: clamp(44px, 8vw, 112px); line-height: 0.95; letter-spacing: -0.05em; max-width: 14ch; }
.case-hero .intro { margin-top: clamp(20px, 3vw, 32px); max-width: 44ch; font-size: clamp(18px, 1.8vw, 22px); color: var(--ink-2); }
.case-cover { aspect-ratio: auto; }
.case-body { display: grid; gap: clamp(40px, 6vw, 80px); padding-block: clamp(56px, 8vw, 112px); }
@media (min-width: 900px) { .case-body { grid-template-columns: 280px 1fr; } }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; align-content: start; }
@media (min-width: 900px) { .facts { grid-template-columns: 1fr; position: sticky; top: 110px; } }
.facts dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--ink-2); }
.facts .full { grid-column: 1 / -1; }
.story h2 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.story .q { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; margin-bottom: 20px; text-wrap: balance; }
.story p:not(.q) { font-size: clamp(17px, 1.5vw, 19px); color: #33332F; max-width: 60ch; }
.story p + p { margin-top: 1em; }
.story section + section { margin-top: clamp(48px, 6vw, 72px); }

.gallery { display: grid; gap: clamp(12px, 2vw, 20px); }
@media (min-width: 800px) { .gallery .pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 20px); } }
.gallery .pair { display: grid; gap: clamp(12px, 2vw, 20px); }
.gallery .trio { display: grid; gap: clamp(12px, 2vw, 20px); }
@media (min-width: 800px) { .gallery .trio { grid-template-columns: repeat(3, 1fr); } }
.statement { padding-block: clamp(56px, 9vw, 120px); }
.statement p { font-size: clamp(26px, 4vw, 52px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 500; max-width: 26ch; }

.next { display: block; padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); margin-top: clamp(56px, 8vw, 104px); }
.next .t { display: inline-flex; align-items: center; gap: 0.3em; font-size: clamp(40px, 7vw, 96px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.next .t svg { width: 0.7em; height: 0.7em; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .next:hover .t svg { transform: translateX(10px); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .media.reveal { opacity: 1; transform: none; clip-path: inset(10% 0 0 0 round 20px); transition: clip-path 900ms var(--ease-in-out); }
.js .media.reveal.in { clip-path: inset(0 0 0 0 round 20px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .media.reveal { transform: none; clip-path: none; transition: opacity 300ms ease; transition-delay: 0ms; }
  .marquee-inner, .status .dot::after { animation: none; }
  .rotator > span { transition: opacity 200ms ease; transform: none !important; filter: none !important; }
  .menu, .menu.open, .menu li a, .menu.open li a { transition: opacity 150ms ease; transform: none; transition-delay: 0ms; }
  .svc h3, .card .media img, .next .t svg { transition: none; }
}
