/* Teñiz — a sea chart in cut paper: sand-paper surface above, the deep sea below; scrolling is diving. */
@font-face { font-family: 'Teniz Poster'; src: url('../fonts/teniz-poster.woff') format('woff'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Onest'; src: url('../fonts/onest.woff') format('woff'); font-weight: 300 800; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/plex-mono.woff') format('woff'); font-weight: 100 900; font-display: swap; }

:root {
  --sand: #F5E9B8;      /* paper surface */
  --sand-2: #EBDCA2;    /* rules and cards on paper */
  --sea: #235CA6;       /* brand blue */
  --sea-2: #3A73BD;     /* lighter wave layer */
  --deep: #0F2B55;      /* the deep: dark sections and text */
  --kelp: #A9AB46;      /* accent, used sparingly */
  --foam: #FBF5DC;      /* text on the deep */
  --ink: #0F2B55;
  --display: 'Teniz Poster', 'Arial Black', system-ui, sans-serif;
  --text: 'Onest', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gutter: clamp(16px, 3.2vw, 48px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --fs-hero: clamp(44px, 7.4vw, 128px);
  --fs-h1: clamp(40px, 6.4vw, 112px);
  --fs-h2: clamp(32px, 4.6vw, 76px);
  --fs-h3: clamp(24px, 2.6vw, 40px);
  --fs-body: clamp(16px, 1.15vw, 19px);
  --fs-small: 14px;
  --fs-label: 12px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font-family: var(--text); font-size: var(--fs-body); line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--kelp); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--kelp); color: var(--deep); }

/* paper grain over everything (multiply), from the studio's own paper scan */
.grain { position: fixed; inset: 0; z-index: 105; pointer-events: none; mix-blend-mode: multiply;
  background: url('../img/grain.jpg') repeat; background-size: 384px; opacity: .75; }

/* type */
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0; line-height: .95; text-wrap: balance; }
.label { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; line-height: 1.35; }
.label-sm { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.lead { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.45; max-width: 36em; font-weight: 320; }
.muted { opacity: .62; }
.wrap { padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--deep); color: var(--foam); padding: 10px 14px; border-radius: 6px; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------------------------ header */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter) 14px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  color: var(--deep); transition: color .35s var(--ease-out), transform .5s var(--ease-out);
}
.hdr.on-dark { color: var(--foam); }
.hdr.hide { transform: translateY(-110%); }
.hdr .logo { width: 76px; height: auto; color: currentColor; display: block; }
.hdr .logo svg { width: 100%; height: auto; fill: currentColor; }
.hdr nav { display: flex; justify-content: center; gap: clamp(14px, 2.2vw, 34px); }
.navlink { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; position: relative; padding: 6px 0; }
.navlink::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--kelp); transition: right .45s var(--ease-out); }
.navlink:hover::after, .navlink[aria-current="page"]::after { right: 0; }
.hdr-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 14px; }
.langs { display: flex; gap: 2px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.langs button { padding: 6px 7px; border-radius: 4px; opacity: .55; text-transform: uppercase; }
.langs button[aria-pressed="true"] { opacity: 1; background: color-mix(in srgb, currentColor 12%, transparent); }
.pill { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 10px 16px 10px 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--deep); color: var(--foam); transition: background .3s, color .3s, transform .4s var(--ease-out); }
.pill:hover { background: var(--kelp); color: var(--deep); }
.hdr.on-dark .pill { background: var(--sand); color: var(--deep); }
.hdr.on-dark .pill:hover { background: var(--kelp); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.burger { display: none; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 0; }

/* mobile menu */
.mnav { position: fixed; inset: 0; z-index: 70; background: var(--sea); color: var(--foam); display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 24px);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-in-out); }
.mnav.open { clip-path: inset(0 0 0 0); }
.mnav-top { display: flex; justify-content: space-between; align-items: center; }
.mnav-links { margin-top: auto; display: grid; gap: 6px; }
.mnav-links a { font-family: var(--display); text-transform: uppercase; font-size: clamp(46px, 13vw, 84px); line-height: 1; }
.mnav-foot { margin-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------ loader: the counter is cut into a sheet of paper */
.loader { position: fixed; inset: 0; z-index: 100; overflow: hidden; cursor: pointer; }
.loader .ld-sheet { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader .ld-num, .hero-sheet .hs-num { font-family: var(--display); }
.loader .ld-line { position: absolute; left: 0; right: 0; text-align: center; color: var(--deep); }
.loader.done { pointer-events: none; }
.loader.done .ld-line { opacity: 0; transition: opacity .2s; }
/* while the first load runs the header waits and nothing under the sheet can be clicked */
.is-loading .hdr { opacity: 0; pointer-events: none; }
.hdr { transition: opacity .5s var(--ease-out), transform .45s var(--ease-out), color .3s; }
.is-loading main, .is-loading .ftr { pointer-events: none; }
/* once the page scrolls, the header gets the paper (or the deep sea) behind it so text never runs under the links */
.hdr::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--sand); opacity: 0; transition: opacity .3s, background .3s; }
.hdr.solid::before { opacity: .96; }
.hdr.solid.on-dark::before { background: var(--deep); }

/* ------------------------------------------------------------------ page transition: a cut-paper wave sweeps up */
.sweep { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.sweep svg { width: 100%; height: 100%; }

/* ------------------------------------------------------------------ cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; width: 0; height: 0; }
.cursor .c-dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--sea);
  transition: transform .35s var(--ease-out), background .3s, width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out); }
.cursor .c-label { position: absolute; transform: translate(-50%, -50%) scale(.4); opacity: 0; white-space: nowrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--foam);
  transition: transform .45s var(--ease-out), opacity .25s; }
.cursor.big .c-dot { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--deep); }
.cursor.big .c-label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor.on-dark .c-dot { background: var(--sand); }
.cursor.big.on-dark .c-dot { background: var(--kelp); }
.cursor.big.on-dark .c-label { color: var(--deep); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ------------------------------------------------------------------ HOME: a paper sheet over the reel, the logo cut out of it, and the dive */
.hero { position: relative; height: 260vh; }
.hero-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--deep); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.hero-shade { position: absolute; inset: 0; z-index: 2; opacity: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(15, 43, 85, .62), transparent 50%), linear-gradient(to bottom, rgba(15, 43, 85, .42), transparent 22%); }
.hero-sheet { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hero-loadline { position: absolute; z-index: 4; left: 0; right: 0; text-align: center; color: var(--deep); pointer-events: none; }
.hero-ui { position: absolute; inset: 0; z-index: 6; pointer-events: none; color: var(--deep); }
.hero-ui a, .hero-ui button { pointer-events: auto; }
.hero-tl { position: absolute; left: var(--gutter); top: calc(env(safe-area-inset-top, 0px) + 96px); }
.hero-tr { position: absolute; right: var(--gutter); top: calc(env(safe-area-inset-top, 0px) + 96px); text-align: right; }
.hero-bl { position: absolute; left: var(--gutter); bottom: calc(env(safe-area-inset-bottom, 0px) + 34px); max-width: min(34em, 46vw); }
.hero-bl p { margin: 0 0 18px; font-size: clamp(16px, 1.25vw, 20px); max-width: 30em; }
.hero-br { position: absolute; right: var(--gutter); bottom: calc(env(safe-area-inset-bottom, 0px) + 38px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; transition: background .3s, color .3s, box-shadow .3s, transform .45s var(--ease-out); }
.btn-solid { background: var(--deep); color: var(--foam); }
.btn-solid:hover { background: var(--sea); }
.btn-sand { background: var(--sand); color: var(--deep); }
.btn-sand:hover { background: var(--kelp); }
.btn-line { box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-line:hover { background: var(--deep); color: var(--foam); box-shadow: inset 0 0 0 1.5px var(--deep); }
.deep .btn-line:hover, .bottle .btn-line:hover, .ftr .btn-line:hover, .modal .btn-line:hover { background: var(--sand); color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--sand); }
.btn .tri { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.btn:disabled { opacity: .6; cursor: progress; }
.hero-deep svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-reel { position: absolute; z-index: 8; inset: 0; display: grid; align-items: end; padding: 0 var(--gutter) clamp(36px, 9vh, 96px);
  color: var(--foam); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.hero-reel.show { opacity: 1; visibility: visible; }
.hero-reel .reel-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; width: 100%; flex-wrap: wrap; }
.hero-reel .label { margin-bottom: 10px; }
.hero-reel h2 { font-size: var(--fs-h1); margin: 0; text-shadow: 0 2px 30px rgba(15, 43, 85, .45); }
.reel-btn { display: inline-flex; align-items: center; gap: 16px; text-align: right; }
.reel-btn .label { margin: 0; }
.reel-btn .disc { width: clamp(76px, 7vw, 108px); aspect-ratio: 1; border-radius: 50%; background: var(--sand); color: var(--deep); display: grid; place-items: center; transition: transform .5s var(--ease-out), background .3s; }
.reel-btn:hover .disc { transform: scale(1.08); background: var(--kelp); }
.reel-btn .disc .tri { width: 0; height: 0; border-left: 16px solid currentColor; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px; }
.hero-deep { position: absolute; z-index: 9; left: 0; right: 0; bottom: -1px; height: 24vh; pointer-events: none; transform: translateY(102%); will-change: transform; }
.reduced .hero { height: auto; }
.reduced .hero-stick { position: relative; }
.reduced .hero-br, .reduced .hero-reel, .reduced .hero-deep { display: none; }

/* ------------------------------------------------------------------ manifesto (the deep) */
.deep { background: var(--deep); color: var(--foam); position: relative; }
.wave-edge { display: block; width: 100%; height: clamp(40px, 6vw, 90px); position: relative; }
.wave-edge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wave-edge.top svg { transform: scaleY(-1); }
.manifesto { padding-block: clamp(80px, 12vw, 180px) clamp(60px, 9vw, 140px); }
.manifesto p.big { font-family: var(--display); text-transform: uppercase; font-size: clamp(28px, 3.7vw, 62px); line-height: 1.04; margin: 0; max-width: 22em; }
.manifesto .w { opacity: .18; transition: opacity .25s; }
.manifesto .w.lit { opacity: 1; }
.facts { margin-top: clamp(56px, 8vw, 120px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid rgba(251, 245, 220, .25); padding-top: 22px; }
.fact .n { font-family: var(--display); font-size: clamp(54px, 6vw, 104px); line-height: .9; font-variant-numeric: tabular-nums; }
.fact .t { margin-top: 10px; }

/* ------------------------------------------------------------------ work bands (home) */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-block: clamp(70px, 9vw, 130px) 28px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; font-size: var(--fs-h2); }
.sec-head.flush { padding-top: 0; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.link-arrow .ar { transition: transform .4s var(--ease-out); }
.link-arrow:hover .ar { transform: translateX(6px); }
.bands { display: grid; gap: 0; }
.band { position: relative; display: block; height: clamp(420px, 78vh, 860px); overflow: hidden; background: var(--deep); color: var(--foam); isolation: isolate; }
.band + .band { border-top: 1px solid rgba(251, 245, 220, .12); }
.band .media { position: absolute; inset: 0; z-index: -2; transform: scale(1.06); transition: transform 1.4s var(--ease-out); }
.band:hover .media { transform: scale(1.0); }
.band .media video, .band .media img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(15, 43, 85, .78), rgba(15, 43, 85, 0) 55%); }
.band .info { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(22px, 4vw, 48px); display: grid; grid-template-columns: auto 1fr auto; gap: 18px 28px; align-items: end; }
.band .idx { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; opacity: .8; align-self: start; padding-top: .5em; }
.band h3 { margin: 0; font-size: clamp(38px, 6.2vw, 108px); }
.band .meta { text-align: right; display: grid; gap: 6px; }
.band .award-tag { display: inline-flex; align-self: start; justify-self: end; background: var(--kelp); color: var(--deep); padding: 6px 10px; border-radius: 4px; }
.band .award-tag.nom { background: none; color: var(--foam); box-shadow: inset 0 0 0 1.5px var(--kelp); }
.band.vert .media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 20px); align-content: center;
  padding: clamp(24px, 6vh, 64px) var(--gutter) clamp(24px, 6vh, 64px) 40%; background: var(--sea); transform: none; }
.band.vert .media video, .band.vert .media img { width: 100%; height: auto; aspect-ratio: 9 / 16; max-height: calc(78vh - 2 * clamp(24px, 6vh, 64px)); border-radius: 10px; object-fit: cover; }
.band.vert::after { display: none; }
.band.vert .info { right: 62%; grid-template-columns: auto minmax(0, 1fr); }
.band.vert .meta { grid-column: 2; text-align: left; justify-items: start; }
.band.vert .award-tag { justify-self: start; }

/* ------------------------------------------------------------------ clients + awards */
.clients { padding-block: clamp(70px, 9vw, 130px) clamp(40px, 6vw, 90px); }
.clients-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1.5px solid var(--deep); border-left: 1.5px solid var(--deep); margin-top: 28px; }
.client { aspect-ratio: 3 / 2; border-right: 1.5px solid var(--deep); border-bottom: 1.5px solid var(--deep); display: grid; place-items: center; position: relative; overflow: hidden; }
.client .lg { width: 62%; height: 46%; background: var(--deep); -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; transition: transform .5s var(--ease-out); }
.client:hover .lg { transform: scale(1.06); }
.client .nm { position: absolute; left: 10px; bottom: 8px; opacity: .6; }
.partners { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.awards { padding-block: clamp(40px, 6vw, 90px) clamp(80px, 10vw, 150px); }
.award-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .5fr); gap: 14px 28px; align-items: baseline; padding-block: 26px; border-top: 1.5px solid var(--deep); }
.award-row:last-child { border-bottom: 1.5px solid var(--deep); }
.award-row .an { font-family: var(--display); text-transform: uppercase; font-size: clamp(30px, 3.6vw, 58px); line-height: .95; }
.award-row a { border-bottom: 1px solid currentColor; justify-self: end; text-align: right; }
.award-row.nom .an { opacity: .55; }

/* ------------------------------------------------------------------ studio teaser */
/* a postcard from Almaty: the ident on the front, a stamp, a postmark and the text on the back */
.teaser { padding-block: clamp(70px, 10vw, 150px); }
.pc-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--foam); box-shadow: 14px 16px 0 var(--deep); transform: rotate(-.8deg); max-width: 1240px; margin: 0 auto; }
.pc-front { position: relative; padding: clamp(12px, 1.4vw, 20px); }
.pc-front video { width: 100%; height: 100%; min-height: 320px; object-fit: cover; background: var(--sea); }
.pc-greet { position: absolute; left: clamp(26px, 2.6vw, 38px); bottom: clamp(26px, 2.6vw, 38px); background: var(--foam); color: var(--deep); padding: 6px 10px; }
.pc-back { position: relative; padding: clamp(26px, 3vw, 46px); padding-top: clamp(150px, 13vw, 180px); border-left: 1.5px dashed rgba(15, 43, 85, .25); }
.pc-stamp { position: absolute; top: clamp(22px, 2.4vw, 34px); right: clamp(22px, 2.4vw, 34px); width: 92px; height: 112px; padding: 7px;
  background: radial-gradient(circle, var(--foam) 3.2px, transparent 3.7px) -5px -5px / 11px 11px, var(--sea); }
.pc-stamp-in { width: 100%; height: 100%; background: var(--sea); display: grid; place-items: center; align-content: center; gap: 8px; color: var(--foam); box-shadow: inset 0 0 0 1.5px rgba(251, 245, 220, .5); }
.pc-stamp-in svg { width: 56px; height: auto; fill: var(--foam); }
.pc-stamp-in .label { font-size: 9px; }
.pc-mark { position: absolute; top: clamp(44px, 4.2vw, 58px); right: clamp(96px, 9vw, 126px); width: 104px; height: 104px; color: rgba(15, 43, 85, .55); transform: rotate(-14deg); pointer-events: none; }
.pc-ring { width: 100%; height: 100%; border-radius: 50%; border: 2px solid currentColor; display: grid; place-content: center; text-align: center; gap: 2px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.pc-ring b { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: 0; }
.pc-waves { position: absolute; top: 26%; right: 86%; width: 150px; height: 48%; opacity: .9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='12'%3E%3Cpath d='M0 6 Q 7.5 0 15 6 T 30 6 T 45 6 T 60 6' fill='none' stroke='%230F2B55' stroke-opacity='.55' stroke-width='2'/%3E%3C/svg%3E") repeat left top / 60px 14px; }
.pc-kick { color: var(--sea); margin: 0 0 12px; }
.pc-title { font-size: clamp(30px, 3vw, 48px); color: var(--deep); margin: 0 0 16px; max-width: 11em; }
.pc-lead { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.5; margin: 0 0 22px; max-width: 30em; }
.pc-to { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1.5px dashed rgba(15, 43, 85, .45);
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.pc-to:hover { color: var(--sea); }
.pc-to .ar { transition: transform .4s var(--ease-out); }
.pc-to:hover .ar { transform: translateX(6px); }
.paper-frame { background: var(--foam); padding: clamp(10px, 1.2vw, 16px); box-shadow: 10px 12px 0 var(--deep); transform: rotate(1.4deg); }
.paper-frame img, .paper-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.paper-frame figcaption { padding-top: 10px; display: flex; justify-content: space-between; gap: 10px; }
/* ------------------------------------------------------------------ bottle CTA */
.bottle { position: relative; overflow: hidden; background: var(--sea); color: var(--foam); }
.bottle-in { position: relative; z-index: 2; padding-block: clamp(80px, 11vw, 170px) clamp(120px, 15vw, 220px); }
.bottle h2 { font-size: var(--fs-h1); margin: 0 0 clamp(34px, 5vw, 64px); max-width: 12em; }
.bottle-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.bcard { display: grid; gap: 18px; padding: clamp(22px, 3vw, 40px); border-radius: 18px; background: var(--sand); color: var(--deep); min-height: 240px; align-content: space-between;
  transition: transform .5s var(--ease-out), background .3s; }
.bcard:hover { transform: translateY(-6px) rotate(-.6deg); background: var(--foam); }
.bcard h3 { margin: 0; font-size: var(--fs-h3); }
.bcard p { margin: 0; max-width: 26em; }
.bottle-sea { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(170px, 26%, 280px); z-index: 1; pointer-events: none; }
.bottle-sea svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }


/* ------------------------------------------------------------------ footer */
.ftr { background: var(--deep); color: var(--foam); position: relative; }
/* a night sky: twinkling stars and the moon with our logo */
.ftr-night { position: relative; overflow: hidden; }
.ftr-sky { position: absolute; inset: 0; pointer-events: none; }
.ftr-sky i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--foam); animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .1; } }
.ftr-moon { position: absolute; z-index: 1; top: clamp(30px, 3.6vw, 54px); right: max(var(--gutter), 9%); width: clamp(62px, 6vw, 94px); aspect-ratio: 1; border-radius: 50%;
  background: var(--sand); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(245, 233, 184, .06), 0 0 46px rgba(245, 233, 184, .32); animation: moon 7s ease-in-out infinite alternate; }
.ftr-moon svg { width: 66%; height: auto; fill: var(--deep); }
@keyframes moon { to { transform: translateY(-7px); } }
.ftr-in { position: relative; z-index: 2; padding-block: clamp(118px, 12.5vw, 186px) calc(env(safe-area-inset-bottom, 0px) + 28px); display: grid; gap: clamp(40px, 6vw, 70px); }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 28px clamp(28px, 4vw, 70px); }
.ftr-thanks { margin: 0; font-size: clamp(19px, 1.5vw, 24px); line-height: 1.3; color: var(--sand); max-width: 15em; }
.ftr-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; }
.ftr .mail { font-size: clamp(19px, 1.5vw, 24px); }
.ftr-cols .label { opacity: .6; margin-bottom: 12px; }
.ftr-cols a, .ftr-cols button, .ftr-cols span.label { display: block; padding: 3px 0; text-align: left; }
.ftr-cols .mail { padding: 0; }
.ftr-cols a:hover { color: var(--kelp); }
.mail { font-family: var(--display); font-size: clamp(22px, 2.1vw, 34px); line-height: 1.05; word-break: break-word; }
.copybtn { margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.copybtn:hover { opacity: 1; color: var(--kelp); }
.ftr-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(251, 245, 220, .2); padding-top: 18px; }

/* ------------------------------------------------------------------ inner pages */
.page { padding-top: calc(env(safe-area-inset-top, 0px) + 120px); }
.page-head { padding-bottom: clamp(30px, 5vw, 70px); }
.page-head .crumbs { margin-bottom: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: var(--fs-h1); }
.page-head .lead { margin-top: 22px; }

/* work index */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 10px; }
/* “hover a title…” only for a mouse, and not when motion is reduced (the preview then stays still) */
.work-hint { display: none; margin: 12px 0 0; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .work-hint { display: block; } }
.chip { padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--deep); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.chip[aria-pressed="true"] { background: var(--deep); color: var(--foam); }
.windex { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); padding-bottom: clamp(80px, 10vw, 140px); }
.wlist { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--deep); }
.wrow { border-bottom: 1.5px solid var(--deep); }
.wrow a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 18px 0; transition: padding .45s var(--ease-out), color .3s; }
.wrow a:hover, .wrow a:focus-visible { padding-left: 14px; color: var(--sea); }
.wrow .t { font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 2.8vw, 46px); line-height: 1; }
.wrow .m { text-align: right; }
.wprev { position: sticky; top: 110px; align-self: start; }
.wprev .frame { position: relative; aspect-ratio: 16 / 10; background: var(--deep); border-radius: 14px; overflow: hidden; }
.wprev .frame video, .wprev .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s; }
.wprev .cap { margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; }

/* case page */
.case-hero { position: relative; height: clamp(360px, 82vh, 900px); background: var(--deep); overflow: hidden; color: var(--foam); }
.case-hero video, .case-hero img { width: 100%; height: 100%; object-fit: cover; }
.case-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 43, 85, .7), transparent 50%); }
.case-hero .watch { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(20px, 4vw, 48px); }
.case-hero.vert { background: var(--sea); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 20px); padding: clamp(20px, 3vw, 44px) clamp(20px, 14vw, 260px) clamp(96px, 10vw, 140px); }
.case-hero.vert video { border-radius: 10px; }
.meta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 28px; padding-block: 30px; border-bottom: 1.5px solid var(--deep); }
.meta-grid .label { opacity: .6; margin-bottom: 6px; }
.case-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); padding-block: clamp(50px, 7vw, 100px); }
.case-body h2 { font-size: var(--fs-h3); margin: 0 0 16px; }
.case-body .desc { font-size: clamp(19px, 1.6vw, 26px); line-height: 1.42; margin: 0; max-width: 32em; font-weight: 320; }
/* credits next to the description and on the showreel page: the role above its names */
.cr-list { display: grid; gap: 18px; margin: 0; }
.cr-item dt { opacity: .6; margin-bottom: 4px; }
.cr-item dd { margin: 0; }
.cr-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 20px; }
.cr-names li { overflow-wrap: anywhere; }
/* an @handle: a quiet "@", the name opens their Instagram, a line grows under it on hover */
.cr-h { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease-out), color .2s; }
a.cr-h:hover, a.cr-h:focus-visible { background-size: 100% 1.5px; color: var(--sea); }
.cr-h .at { opacity: .4; }
.cr-note { opacity: .6; }
.cr-more { margin-top: 26px; }
.reel-cr { margin-top: 26px; }
/* the full credits: a film's end titles on the deep, one axis, the studio's mark at the end */
.crf { margin: clamp(10px, 3vw, 40px) 0 clamp(40px, 6vw, 90px); }
.crf-in { max-width: 1120px; margin: 0 auto; padding: clamp(30px, 4vw, 60px) var(--gutter) clamp(40px, 5vw, 70px); text-align: center; }
.crf-kick { color: var(--kelp); letter-spacing: .14em; margin: 0; }
.crf-title { font-size: clamp(46px, 6.4vw, 104px); color: var(--sand); margin: 14px 0 10px; }
.crf-sub { opacity: .55; margin: 0; }
.crf-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 40px 0 0; }
.crf-tabs .chip { box-shadow: inset 0 0 0 1.5px rgba(251, 245, 220, .55); color: var(--foam); transition: background .25s, color .25s; }
.crf-tabs .chip:hover { background: rgba(251, 245, 220, .12); }
.crf-tabs .chip[aria-pressed="true"] { background: var(--sand); color: var(--deep); box-shadow: none; }
.crf-roll { margin: clamp(44px, 6vw, 76px) 0 0; display: grid; gap: 15px; }
.crf-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: baseline; }
.crf-row.gap { margin-top: 38px; }
.crf-row dt { text-align: right; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); opacity: .62; }
.crf-row dd { margin: 0; text-align: left; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.4; }
.crf .cr-h { color: var(--foam); background-image: linear-gradient(var(--kelp), var(--kelp)); }
.crf a.cr-h:hover, .crf a.cr-h:focus-visible { color: var(--sand); }
.crf .cr-note { opacity: .5; font-size: .82em; }
.crf-end { margin: clamp(64px, 8vw, 110px) 0 0; }
.crf-logo { display: block; width: clamp(70px, 7vw, 96px); height: auto; margin: 0 auto 16px; fill: var(--sand); }
.crf-end .label { opacity: .45; margin: 0; }
/* everyone from the credits, on the studio page */
/* the drawing of the crew and photos, between the team list and the names from the credits */
.team-pics { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.team-art { margin: 0 clamp(6px, 1vw, 14px) 0 0; }
.team-art .paper-frame { transform: rotate(-1.4deg); }
.team-art img { aspect-ratio: auto; height: auto; }
.team-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); align-items: start; }
.team-ph { margin: 0; }
.team-ph:nth-child(2) { margin-top: clamp(24px, 4vw, 64px); }
.team-ph-img { overflow: hidden; background: var(--sand-2); }
.team-ph img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.team-ph figcaption { margin-top: 10px; opacity: .7; }
.crew { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0 clamp(28px, 5vw, 90px); }
.crew-head, .crew-list { border-top: 1.5px solid var(--deep); padding-top: 22px; }
.crew-head .label { opacity: .6; margin-bottom: 10px; }
.crew-head p { margin: 0; font-size: var(--fs-small); max-width: 24em; }
.crew-list { list-style: none; margin: 0; padding-left: 0; columns: 4 150px; column-gap: 26px; font-size: 15px; }
.crew-list li { break-inside: avoid; padding: 2px 0; overflow-wrap: anywhere; }
.stills { padding-bottom: clamp(70px, 9vw, 130px); }
.stills h2 { font-size: var(--fs-h3); margin: 0 0 22px; }
.stills-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); }
.still { margin: 0; background: var(--foam); padding: 8px; box-shadow: 6px 7px 0 var(--deep); }
.still img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.still:nth-child(5n+1) { grid-column: span 4; transform: rotate(-.8deg); }
.still:nth-child(5n+2) { grid-column: span 2; transform: rotate(1.2deg); align-self: end; }
.still:nth-child(5n+3) { grid-column: span 2; transform: rotate(.6deg); }
.still:nth-child(5n+4) { grid-column: span 2; transform: rotate(-1.1deg); }
.still:nth-child(5n+5) { grid-column: span 2; transform: rotate(.9deg); }
.eps { padding-bottom: clamp(70px, 9vw, 130px); }
.eps h2 { font-size: var(--fs-h3); margin: 0 0 22px; }
.eps-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.eps-grid.n3 { grid-template-columns: repeat(3, minmax(0, 240px)); }
.ep { position: relative; border-radius: 10px; overflow: hidden; background: var(--deep); color: var(--foam); text-align: left; }
.ep img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; transition: transform .7s var(--ease-out); }
.ep:hover img { transform: scale(1.05); }
.ep .label { position: absolute; left: 10px; bottom: 10px; background: var(--deep); padding: 5px 8px; border-radius: 4px; }
.next { display: block; position: relative; height: clamp(280px, 48vh, 520px); overflow: hidden; background: var(--deep); color: var(--foam); isolation: isolate; }
.next video, .next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; transition: opacity .6s, transform 1.2s var(--ease-out); transform: scale(1.05); }
.next:hover video, .next:hover img { opacity: .8; transform: scale(1); }
.next .wave-edge { position: absolute; top: -1px; left: 0; right: 0; z-index: 1; }
.next .in { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(22px, 4vw, 48px); }
.next h3 { margin: 10px 0 0; font-size: var(--fs-h1); }

/* showreel page */
.reel-page { padding-bottom: clamp(70px, 9vw, 130px); }
.player-frame { position: relative; aspect-ratio: 16 / 9; background: var(--deep); border-radius: 16px; overflow: hidden; }
.player-frame video { width: 100%; height: 100%; }
.reel-meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 30px; }
.reel-meta ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.reel-meta ol > li > a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sand-2); }
.reel-meta ol > li > a:hover { color: var(--sea); }

/* studio page */
.st-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 70px); align-items: end; }
.st-hero .paper-frame { transform: rotate(-1.2deg); }
.story { padding-block: clamp(70px, 9vw, 130px); }
.story h2, .services h2, .process h2, .founder h2 { font-size: var(--fs-h2); margin: 0 0 30px; }
.story ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.story li { display: grid; grid-template-columns: 70px 140px minmax(0, 1fr); gap: 18px; padding-block: 22px; border-top: 1.5px solid var(--deep); align-items: baseline; }
.story li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 12px; opacity: .6; }
.story .yr { font-family: var(--display); font-size: clamp(26px, 2.5vw, 40px); line-height: 1; white-space: nowrap; }
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 90px); padding-block: clamp(70px, 9vw, 130px); }
.founder .name { font-family: var(--display); text-transform: uppercase; font-size: clamp(44px, 5.6vw, 96px); line-height: .92; margin: 0 0 12px; }
.founder .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.services { padding-block: clamp(70px, 9vw, 130px); }
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid rgba(251, 245, 220, .35); border-left: 1.5px solid rgba(251, 245, 220, .35); }
.svc div { padding: 26px 22px 34px; border-right: 1.5px solid rgba(251, 245, 220, .35); border-bottom: 1.5px solid rgba(251, 245, 220, .35); font-family: var(--display); text-transform: uppercase; font-size: clamp(22px, 2.1vw, 34px); line-height: 1.05; min-height: 150px; }
.process { padding-block: clamp(70px, 9vw, 130px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 26px); }
.step { padding: 22px; border-radius: 16px; background: var(--foam); min-height: 230px; display: grid; align-content: space-between; gap: 16px; }
.step .sn { font-family: var(--display); text-transform: uppercase; font-size: clamp(34px, 3.4vw, 56px); line-height: .9; color: var(--sea); }
.step:nth-child(2) { background: var(--sand-2); }
.step:nth-child(3) { background: var(--sea-2); color: var(--foam); }
.step:nth-child(3) .sn { color: var(--foam); }
.step:nth-child(4) { background: var(--deep); color: var(--foam); }
.step:nth-child(4) .sn { color: var(--kelp); }
/* a Wavi sticker per stage; it sways a little (Bob in app.js) */
.step.has-art { align-content: start; }
.step-art { display: block; width: min(80%, 250px); aspect-ratio: 1; margin: -4px auto 4px; }
.step-art img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* Wavi riding a strip of sea along the bottom of the screen: the loader and the logo easter egg (Ride in app.js) */
.ride { position: fixed; left: 0; right: 0; bottom: 0; z-index: 101; height: clamp(64px, calc(8vh + 2vw), 132px); pointer-events: none; transform: translateY(108%); }
.ride-sea { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }


/* contact */
.ct { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 90px); padding-bottom: clamp(80px, 10vw, 140px); }
.ct-aside .mail { display: block; }
.ct-block { margin-top: 30px; display: grid; gap: 8px; justify-items: start; }
.ct-block > .label:first-child { opacity: .6; }
.form-lead { margin: 0 0 22px; max-width: 34em; }
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--deep); margin-bottom: 26px; flex-wrap: wrap; }
.tab { padding: 10px 16px; border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.tab[aria-selected="true"] { background: var(--deep); color: var(--foam); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--deep); background: var(--foam); border: 1.5px solid var(--deep); border-radius: 10px; padding: 13px 14px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sea) 25%, transparent); }
.field.err input, .field.err textarea, .field.err select { border-color: #B4442F; }
.field .msg { font-size: 13px; color: #B4442F; min-height: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choices legend { margin-bottom: 8px; }
.choices label { position: relative; text-transform: none; letter-spacing: 0; font-family: var(--text); font-size: 15px; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span { display: inline-block; padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--deep); cursor: pointer; transition: background .25s, color .25s; }
.choices input:checked + span { background: var(--deep); color: var(--foam); }
.choices input:focus-visible + span { outline: 2px solid var(--kelp); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-note { grid-column: 1 / -1; padding: 16px 18px; border-radius: 12px; background: var(--sand-2); display: grid; gap: 10px; justify-items: start; }
.form-note p { margin: 0; }
.form-note .mail { font-size: clamp(18px, 1.6vw, 24px); }
/* the stage for the message in a bottle: the form's panel gets the sticker frame and becomes a little scene */
.ct-forms [role="tabpanel"] { position: relative; border-radius: 16px; transition: height .45s var(--ease-out), box-shadow .35s; box-shadow: 0 0 0 2px transparent, 8px 10px 0 2px transparent; }
.ct-forms [role="tabpanel"].sending { overflow: hidden; box-shadow: 0 0 0 2px var(--deep), 8px 10px 0 2px var(--deep); }
.ct-forms .sending > .form, .ct-forms .sending > .form-lead { opacity: 0; pointer-events: none; transition: opacity .18s; }
.at-sea { position: absolute; z-index: 2; left: 28px; right: 28px; top: 26px; max-width: min(28em, 64%); display: grid; gap: 12px; justify-items: start; }
.at-sea.plain { position: static; max-width: none; padding: clamp(24px, 4vw, 44px); border-radius: 16px; box-shadow: 0 0 0 2px var(--deep), 8px 10px 0 2px var(--deep); }
.at-sea h3 { margin: 0; font-size: clamp(28px, 3vw, 46px); }
.at-sea p { margin: 0; }
.at-sea .mail { font-size: clamp(18px, 1.6vw, 24px); }
.at-sea .row { display: flex; flex-wrap: wrap; gap: 10px; }

/* modal player */
.modal { position: fixed; inset: 0; z-index: 110; background: rgba(9, 25, 50, .94); display: grid; place-items: center; padding: 60px var(--gutter) 40px;
  opacity: 0; pointer-events: none; transition: opacity .35s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-in { width: min(100%, 1400px); display: grid; gap: 14px; color: var(--foam); }
.modal video { width: 100%; max-height: calc(100vh - 160px); background: #000; border-radius: 12px; }
.modal.vert .modal-in { width: min(100%, 480px); }
.modal-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.modal-close { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--foam); }
.modal-close:hover { background: var(--foam); color: var(--deep); }

/* reveal (content is visible at rest; motion only adds) */
.rv { transition: transform 1s var(--ease-out), opacity 1s var(--ease-out); }
.js .rv.pre { transform: translateY(28px); }

/* 404: Wavi with the spyglass. The drawing is cut into pieces that MissArt (app.js) moves a little. */
.missing { padding-bottom: clamp(60px, 7vw, 110px); }
.miss { display: grid; justify-items: center; text-align: center; }
.miss-num { margin: 0; font-size: clamp(110px, 13vw, 200px); }
.miss-art { position: relative; margin: 0; width: min(100%, 980px); aspect-ratio: 1800 / 841; }
.ma { position: absolute; display: block; }
.ma img { display: block; width: 100%; height: auto; }
.ma[data-ma="boat"] { transform-origin: 50% 92%; }
.ma-glint { position: absolute; left: 94.97%; top: 22.09%; width: 4.63%; height: auto; overflow: visible; transform: scale(0); }
.miss-lead { margin: 6px auto 24px; }

/* ------------------------------------------------------------------ responsive */
/* ------------------------------------------------------------------ materials: the journal */
/* cards are pictures cut out like stickers: a navy outline and a navy plate offset down-right, lifting on hover */
.mgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(34px, 4vw, 60px) clamp(18px, 2.4vw, 36px); padding-bottom: clamp(90px, 11vw, 160px); align-items: start; }
.mgrid .mcard { grid-column: span 4; }
.mgrid .mcard.big { grid-column: 1 / span 7; }
.mgrid .mcard.mid { grid-column: 8 / span 5; margin-top: clamp(40px, 7vw, 110px); }
.mgrid .mcard.alt { grid-column: 6 / span 7; }
.mcard { display: grid; gap: 10px; align-content: start; color: var(--deep); }
.mc-media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--deep);
  box-shadow: 0 0 0 2px var(--deep), 8px 10px 0 2px var(--deep); transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out); margin-bottom: 8px; }
.mcard:hover .mc-media, .mcard:focus-visible .mc-media { transform: translate(-3px, -4px) rotate(-.5deg); box-shadow: 0 0 0 2px var(--deep), 12px 15px 0 2px var(--deep); }
.mc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mcard:hover .mc-media img { transform: scale(1.035); }
.mc-badge { position: absolute; right: 10px; top: 10px; z-index: 1; background: var(--kelp); color: var(--deep); padding: 5px 8px; border-radius: 4px; }
.mc-meta { display: flex; justify-content: space-between; gap: 12px; }
.mc-cat { display: inline-flex; align-items: center; gap: 8px; }
.mdot { width: 9px; height: 9px; border-radius: 50%; background: var(--sea); flex: none; }
.mdot-process { background: var(--kelp); }
.mdot-art { background: var(--deep); }
.mc-title { font-size: clamp(28px, 2.5vw, 42px); line-height: .95; }
.mcard.big .mc-title { font-size: clamp(36px, 4.2vw, 72px); }
.mc-sum { max-width: 34em; }
.mc-go { color: var(--sea); }
.mteaser { padding-block: 0 clamp(90px, 11vw, 160px); }
.mteaser .sec-head { padding-bottom: clamp(26px, 3vw, 40px); }
.mrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); align-items: start; }
.mrow .mcard:nth-child(2) { margin-top: clamp(24px, 4vw, 64px); }

/* an entry */
.entry .page-head h1 { max-width: 12em; }
.entry-hero { position: relative; border-radius: 16px; overflow: hidden; background: var(--deep); color: var(--foam); box-shadow: 0 0 0 2px var(--deep), 10px 12px 0 2px var(--deep); }
.entry-hero.video { aspect-ratio: 16 / 9; }
.entry-hero video { width: 100%; height: 100%; object-fit: cover; }
.entry-hero .watch { position: absolute; z-index: 2; left: clamp(14px, 2.4vw, 32px); bottom: clamp(14px, 2.4vw, 32px); }
.entry-hero .eb-fig { margin: 0; }
.entry-hero .eb-zoom { border-radius: 0; box-shadow: none; }
.entry-hero .eb-zoom img { width: 100%; height: auto; }
.entry-hero .eb-fig figcaption { display: none; }
.entry-meta { margin-top: clamp(26px, 3vw, 40px); }
.entry-meta a { border-bottom: 1px solid currentColor; display: inline-block; margin-right: 12px; }
.entry-body { display: grid; gap: clamp(22px, 2.6vw, 36px); padding-block: clamp(44px, 6vw, 90px) clamp(80px, 10vw, 150px); }
.entry-body > * { margin: 0; min-width: 0; }
.eb-p { font-size: clamp(18px, 1.45vw, 23px); line-height: 1.5; max-width: 38em; font-weight: 340; }
.entry-body > .eb-h { font-size: var(--fs-h3); margin-top: clamp(20px, 3vw, 46px); }
.eb-fig { margin: 0; display: grid; gap: 12px; }
.eb-fig figcaption { opacity: .72; max-width: 60em; }
.eb-zoom { display: block; width: 100%; padding: 0; cursor: zoom-in; border-radius: 12px; overflow: hidden; background: var(--foam); }
.eb-zoom img { width: 100%; height: auto; transition: transform .8s var(--ease-out); }
.eb-zoom:hover img { transform: scale(1.015); }
.entry-body > .eb-fig:not(.wide) { max-width: min(100%, 1100px); }
.eb-fig .eb-zoom { box-shadow: 0 0 0 2px var(--deep), 8px 10px 0 2px var(--deep); }
.eb-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); max-width: 1100px; }
.eb-pair .eb-fig:nth-child(1) .eb-zoom { transform: rotate(-1.1deg); }
.eb-pair .eb-fig:nth-child(2) .eb-zoom { transform: rotate(.9deg); }
.entry-body > .eb-cap { opacity: .72; margin-top: -6px; }
.eb-gal { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(22px, 2.4vw, 34px) clamp(12px, 1.6vw, 22px); }
.eb-gal .eb-fig { gap: 10px; }
.eb-gal .eb-zoom { border-radius: 6px; box-shadow: 0 0 0 1.5px var(--deep), 5px 6px 0 1.5px var(--deep); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.eb-gal .eb-fig:nth-child(odd) .eb-zoom { transform: rotate(-.8deg); }
.eb-gal .eb-fig:nth-child(even) .eb-zoom { transform: rotate(.7deg); }
.eb-gal .eb-fig .eb-zoom:hover { transform: translate(-2px, -3px) rotate(0deg); box-shadow: 0 0 0 1.5px var(--deep), 8px 10px 0 1.5px var(--deep); }
.eb-gal figcaption { font-size: 11px; line-height: 1.4; }
.eb-fig.vert { justify-items: start; }
.eb-fig.vert .eb-vid { width: min(340px, 100%); border-radius: 26px; overflow: hidden; background: var(--deep); box-shadow: 0 0 0 3px var(--deep), 8px 10px 0 3px var(--deep); }
.eb-vid video { width: 100%; height: auto; display: block; }
.entry-body > .eb-quote { font-size: clamp(36px, 5vw, 86px); line-height: .95; max-width: 14em; margin-top: clamp(20px, 4vw, 60px); color: var(--sea); }
.eb-works { display: grid; gap: 12px; }
.eb-works .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.eb-works .chip { transition: background .25s, color .25s; }
.eb-works .chip:hover { background: var(--deep); color: var(--foam); }
.eb-files { display: grid; gap: 12px; max-width: 760px; }
.dl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--foam);
  box-shadow: 0 0 0 2px var(--deep), 8px 10px 0 2px var(--deep); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.dl:hover { transform: translate(-2px, -3px); box-shadow: 0 0 0 2px var(--deep), 11px 14px 0 2px var(--deep); }
.dl-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--kelp); display: grid; place-items: center; font-size: 22px; line-height: 1; }
.dl-t { display: grid; gap: 4px; }
.dl-n { font-family: var(--display); text-transform: uppercase; font-size: clamp(22px, 2vw, 32px); line-height: .95; }
.beats { list-style: none; padding: 0; border-top: 1.5px solid var(--deep); max-width: 1100px; }
.beats li { display: grid; grid-template-columns: 120px minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px 28px; align-items: baseline; padding-block: 18px; border-bottom: 1.5px solid var(--deep); }
.bt-t { font-size: clamp(30px, 2.6vw, 44px); line-height: .9; color: var(--sea); }
.bt-x { font-size: clamp(17px, 1.3vw, 20px); }
.bt-n { opacity: .7; }

/* the flipbook */
.flip { margin: 0; display: grid; gap: 14px; max-width: 1100px; }
.flip-view { aspect-ratio: 16 / 9; border-radius: 14px; background-color: var(--foam); background-repeat: no-repeat; cursor: ew-resize; touch-action: pan-y;
  box-shadow: 0 0 0 2px var(--deep), 8px 10px 0 2px var(--deep); user-select: none; -webkit-user-select: none; }
.flip-view.drag { cursor: grabbing; }
.flip-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.flip-play { padding: 11px 16px; }
.flip-play[aria-pressed="true"] .tri { border: 0; width: 9px; height: 11px; box-shadow: inset 3px 0 0 currentColor, inset -3px 0 0 currentColor; }
.flip-range { width: 100%; accent-color: var(--deep); }
.flip-count { white-space: nowrap; font-variant-numeric: tabular-nums; }
.flip figcaption { opacity: .72; }

/* the lightbox */
.lightbox { position: fixed; inset: 0; z-index: 112; background: rgba(9, 25, 50, .95); color: var(--foam); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 16px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-top, .lb-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lb-nav { justify-content: center; gap: 28px; }
.lb-nav .link-arrow { font-size: 22px; padding: 6px 12px; }
.lb-stage { min-height: 0; display: grid; place-items: center; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }

/* ---------------------------------------------------------------- the shop: until it opens, a drawing and one line over it */
.shs { min-height: calc(100svh - 120px); display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding-block: clamp(10px, 2vw, 30px) clamp(40px, 6vw, 90px); }
.shs-art { position: relative; margin: 0; width: min(100%, 1240px); }
.shs-art img { display: block; width: 100%; height: auto; }
/* the line sits in the empty band over the drawing, centred on its letters (the dots hang after them) */
.shs-cap { position: absolute; left: 50%; top: 10%; width: max-content; max-width: 90%; transform: translate(-50%, -50%); margin: 0;
  font-size: clamp(24px, 3vw, 48px); line-height: 1; text-align: center; white-space: nowrap; }
.shs-dots { position: absolute; left: 100%; top: 0; }
.shs-dots i { font-style: normal; animation: wipDot 1.6s steps(1) infinite; }
.shs-dots i:nth-child(2) { animation-delay: .4s; } .shs-dots i:nth-child(3) { animation-delay: .8s; }
@keyframes wipDot { 0% { opacity: 0; } 25%, 75% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 680px) {
  .shs { min-height: 0; padding-top: 30px; }
  .shs-art { width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); }
  .shs-cap { position: relative; left: auto; top: auto; width: max-content; max-width: calc(100% - 2 * var(--gutter) - 30px); transform: none; margin: 0 auto 10px; font-size: min(24px, 6.2vw); }
  .shs-art { display: flex; flex-direction: column-reverse; }
  .shs-art img { aspect-ratio: 1800 / 800; object-fit: cover; object-position: 50% 100%; }
}
@media (prefers-reduced-motion: reduce) { .shs-dots i { animation: none; } }

/* the crew on the studio page */
.team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 90px); padding-block: clamp(20px, 3vw, 40px) clamp(70px, 9vw, 130px); }
.team h2 { font-size: var(--fs-h2); margin: 0 0 18px; }
/* the core team: a numbered roll in two columns, the name in the poster face and the roles under it */
.team-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 2.6vw, 44px); border-top: 1.5px solid var(--deep); }
.tm { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); align-content: start; padding: 18px 0 22px; border-bottom: 1px solid rgba(15, 43, 85, .22); }
.tm-n { opacity: .5; padding-top: .3em; }
.tm-name { grid-column: 2; margin: 0; font-family: var(--display); text-transform: uppercase; font-size: clamp(22px, 1.9vw, 30px); line-height: 1.02; }
.tm-role { grid-column: 2; margin: 8px 0 0; font-size: var(--fs-small); line-height: 1.45; opacity: .78; max-width: 24em; }
.team-partners { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 20px 0 0; }

/* social profiles */
.ct-block .socials { display: grid; gap: 6px; justify-items: start; }
.mnav-social { display: flex; flex-wrap: wrap; gap: 6px 16px; width: 100%; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 1080px) {
  .hdr nav { display: none; }
  .burger { display: inline-flex; }
  .hdr .pill { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .windex { grid-template-columns: 1fr; }
  .wprev { display: none; }
  .meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-body, .founder, .ct, .st-hero, .reel-meta, .team { grid-template-columns: 1fr; }

  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr-top { grid-template-columns: 1fr; }
  .pc-card { grid-template-columns: 1fr; }
  .pc-front video { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .pc-back { border-left: 0; border-top: 1.5px dashed rgba(15, 43, 85, .25); }
  .ftr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mgrid .mcard, .mgrid .mcard.big, .mgrid .mcard.mid, .mgrid .mcard.alt { grid-column: span 6; margin-top: 0; }
  .mgrid .mcard.big { grid-column: 1 / -1; }
  .mrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mrow .mcard:nth-child(2) { margin-top: 0; }
  .mrow .mcard:nth-child(3) { display: none; }
  .eb-gal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .crew { grid-template-columns: 1fr; gap: 18px; }
  .team-pics { grid-template-columns: 1fr; gap: 30px; }
  .team-art { max-width: 560px; }
  .crew-list { border-top: 0; padding-top: 0; columns: 4 140px; }
}
@media (max-width: 1080px) and (min-width: 681px) and (orientation: portrait) {
  .hero-bl { max-width: min(560px, 80vw); }
}
@media (max-height: 560px) and (min-width: 681px) {
  .hero-tl, .hero-tr { top: calc(env(safe-area-inset-top, 0px) + 78px); }
  .hero-bl p { display: none; }
}
@media (max-width: 680px) {
  .hero-tr, .hero-br { display: none; }
  .hero-tl { top: calc(env(safe-area-inset-top, 0px) + 84px); }
  .hero-bl { right: var(--gutter); max-width: none; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); }
  .hero-bl p { font-size: 15px; margin-bottom: 14px; }
  .hero-bl .btn { padding: 12px 16px; }
  .hero-reel .reel-row { align-items: flex-start; }
  .reel-btn { text-align: left; flex-direction: row-reverse; }
  .band .info { grid-template-columns: 1fr; }
  .band .meta { text-align: left; }
  .band .idx { display: none; }
  .band .award-tag { justify-self: start; }
  .band.vert .media { padding: 20px 16px 150px; align-content: start; }
  .band.vert .info { right: var(--gutter); }
  .band.vert .meta { grid-column: 1; }
  .bottle-cards, .form { grid-template-columns: 1fr; }
  .at-sea { left: 20px; right: 20px; top: 20px; max-width: none; }
  .award-row { grid-template-columns: 1fr; }
  .story li { grid-template-columns: 40px 1fr; }
  .story li .tx { grid-column: 1 / -1; }
  .svc, .steps { grid-template-columns: 1fr; }
  /* on a phone the sticker sits beside the stage's name and text, so four stages stay short */
  .step.has-art { grid-template-columns: minmax(0, 1fr) min(42%, 170px); column-gap: 10px; row-gap: 10px; min-height: 0; align-content: center; }
  .step.has-art .label { grid-area: 1 / 1; }
  .step.has-art .step-art { grid-area: 1 / 2 / span 3; width: 100%; margin: 0; align-self: center; }
  .step.has-art .sn { grid-area: 2 / 1; align-self: end; }
  .step.has-art .sn + span { grid-area: 3 / 1; align-self: start; }
  .stills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .still:nth-child(n) { grid-column: span 2; }
  .eps-grid, .eps-grid.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-hero.vert { padding: 16px 16px 96px; }
  .ftr-cols { grid-template-columns: 1fr; }
  .wrow a { grid-template-columns: 30px minmax(0, 1fr); }
  .wrow .m { grid-column: 2; text-align: left; }
  .mgrid { grid-template-columns: 1fr; }
  .mgrid .mcard, .mgrid .mcard.big, .mgrid .mcard.mid, .mgrid .mcard.alt { grid-column: 1 / -1; }
  .mrow { grid-template-columns: 1fr; }
  .mrow .mcard:nth-child(3) { display: grid; }
  .eb-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eb-pair { grid-template-columns: 1fr; }
  .beats li { grid-template-columns: 64px minmax(0, 1fr); }
  .bt-n { grid-column: 2; }
  .flip-bar { grid-template-columns: auto minmax(0, 1fr); }
  .flip-count { grid-column: 1 / -1; }
  .dl { grid-template-columns: auto minmax(0, 1fr); }
  .dl .btn { grid-column: 1 / -1; justify-content: center; }
  .entry-hero.video { aspect-ratio: auto; }
  .entry-hero.video video { aspect-ratio: 16 / 9; height: auto; }
  .entry-hero .watch { position: static; margin: 12px; }
  .award-row a { justify-self: start; text-align: left; }
  .team-list { grid-template-columns: 1fr; }
  .tm { padding: 16px 0 18px; }
  .cr-names { gap: 2px 16px; }
  .crf-row { grid-template-columns: 1fr; row-gap: 6px; }
  .crf-row dt, .crf-row dd { text-align: center; }
  .crf .cr-names { justify-content: center; }
  .crf-row.gap { margin-top: 30px; }
  .crew-list { columns: auto; display: flex; flex-wrap: wrap; gap: 5px 16px; font-size: 14px; }
  .team-photos { grid-template-columns: 1fr; }
  .team-ph:nth-child(2) { margin-top: 0; }
  .crew-list li { padding: 0; }
  .pc-stamp { width: 76px; height: 92px; padding: 6px; }
  .pc-stamp-in svg { width: 44px; }
  .pc-mark { width: 84px; height: 84px; right: 92px; top: 34px; }
  .pc-ring b { font-size: 18px; }
  .pc-waves { width: 90px; }
  .pc-back { padding-top: 130px; }
  .pc-card { box-shadow: 8px 10px 0 var(--deep); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* ------------------------------------------------------------------ contact page: a sand card over the sea, then who to write to,
   a crew call in the blue, the bottle forms, questions, and one last big hello */
.ct-page { --ct-top: clamp(84px, 8.4vw, 124px); --ct-left: clamp(12px, 6.4vw, 104px); }
.ct-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--deep); overflow: hidden; }
.ct-hero-bg { position: absolute; inset: 0; }
.ct-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.06); animation: ctDrift 28s var(--ease-in-out) infinite alternate; }
.ct-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 43, 85, .5), rgba(15, 43, 85, .08) 34%, rgba(15, 43, 85, .3)); }
@keyframes ctDrift { to { transform: scale(1.13) translate(-1.6%, 1.2%); } }
.ct-hero-tone { position: absolute; left: 0; right: 0; top: 0; height: var(--ct-top); }
.ct-panel { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; margin: var(--ct-top) 0 0 var(--ct-left);
  background: var(--sand); box-shadow: -12px 12px 0 var(--deep); padding: clamp(16px, 1.8vw, 26px) var(--gutter) 0 clamp(18px, 2.6vw, 40px); }
.ct-panel .crumbs { margin-bottom: 8px; opacity: .7; }
.ct-giant { font-size: clamp(56px, 11.2vw, 200px); line-height: .92; margin: 0; }
.ct-hero .ct-giant { font-size: clamp(52px, 9.3vw, 172px); max-width: 9.5ch; }
.ct-hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) clamp(250px, 29vw, 460px); gap: clamp(20px, 3vw, 56px); }
.ct-hero-main { display: flex; flex-direction: column; min-width: 0; padding-bottom: clamp(22px, 3vw, 46px); }
.ct-hero-info { display: flex; flex-wrap: wrap; gap: 24px clamp(30px, 4.6vw, 72px); margin: clamp(20px, 2.8vw, 42px) 0 clamp(18px, 2vw, 30px); }
.ct-k > .label:first-child { opacity: .6; margin-bottom: 10px; }
.ct-mail { display: block; font-size: clamp(24px, 2.5vw, 42px); }
.ct-addr { margin: 0; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.3; }
.ct-status { display: flex; align-items: center; gap: 10px; margin: 10px 0 6px; font-size: clamp(15px, 1.1vw, 17px); }
.ct-dot { width: 11px; height: 11px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 2px var(--deep); }
.ct-dot.on { background: var(--kelp); box-shadow: 0 0 0 0 rgba(169, 171, 70, .6); animation: ctPulse 2.4s ease-out infinite; }
@keyframes ctPulse { to { box-shadow: 0 0 0 12px rgba(169, 171, 70, 0); } }
.ct-k .label.muted { line-height: 1.7; }
.ct-down { margin-top: auto; width: clamp(44px, 4.4vw, 76px); color: var(--deep); align-self: flex-start; }
.ct-down svg { width: 100%; height: auto; animation: ctBob 2.2s var(--ease-in-out) infinite; }
.ct-down:hover { color: var(--sea); }
@keyframes ctBob { 50% { transform: translateY(12px); } }
.ct-hero-pic { position: relative; margin: clamp(18px, 2.6vw, 40px) 0 clamp(30px, 4vw, 60px); align-self: center; width: min(100%, calc((100svh - var(--ct-top) - 120px) * .76)); justify-self: end; }
.ct-pic-frame { display: block; background: var(--foam); padding: clamp(10px, 1.1vw, 16px); box-shadow: 12px 14px 0 var(--deep); transform: rotate(-1.6deg); transition: transform .6s var(--ease-out); }
.ct-pic-frame:hover { transform: rotate(-.4deg) translateY(-4px); }
.ct-pic-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 32%; }
.ct-tag { position: absolute; left: clamp(-26px, -1.6vw, -10px); bottom: clamp(26px, 3vw, 46px); display: grid; gap: 4px; padding: 12px 16px;
  background: var(--sea); color: var(--foam); transform: rotate(1.4deg); box-shadow: 6px 7px 0 var(--deep); }

.ct-intro { padding-block: clamp(80px, 10vw, 170px) clamp(44px, 6vw, 90px); }
.ct-big { font-size: clamp(25px, 3vw, 50px); line-height: 1.16; font-weight: 400; letter-spacing: -.01em; margin: 0; max-width: 23em; text-wrap: pretty; }

.ct-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); padding-bottom: clamp(80px, 10vw, 160px); }
.ct-shot { margin: 0; }
.ct-shot:nth-child(2) { margin-top: clamp(28px, 6vw, 96px); }
.ct-shot a, .ct-ph { display: block; overflow: hidden; background: var(--sand-2); }
.ct-shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .9s var(--ease-out); }
.ct-shot a:hover img { transform: scale(1.04); }
.ct-shot figcaption { margin-top: 10px; opacity: .7; }

.ct-sec { margin: 0 0 clamp(20px, 2.6vw, 36px); opacity: .7; font-weight: 400; }
.ct-reach { padding-bottom: clamp(70px, 9vw, 150px); }
.ct-reach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 3.6vw, 56px) clamp(20px, 3vw, 48px); }
.ct-dept { border-top: 1.5px solid var(--deep); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.ct-dept h3 { margin: 0; font-weight: 400; }
.ct-dept p { margin: 0; font-size: clamp(18px, 1.45vw, 23px); line-height: 1.32; }
.ct-person { display: grid; gap: 4px; }
.ct-person b { font-weight: 560; }
.ct-acts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: auto; padding-top: 10px; }
.ct-act { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1.5px solid currentColor;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ct-act .ar { display: inline-block; transition: transform .4s var(--ease-out); }
.ct-act:hover { color: var(--sea); }
.ct-act:hover .ar { transform: translate(3px, -2px); }
.ct-social-list { display: grid; gap: 2px; justify-items: start; }
.ct-social-list a { font-family: var(--display); font-size: clamp(28px, 2.7vw, 46px); line-height: 1.04; text-transform: uppercase; }
.ct-social-list a:hover { color: var(--sea); }

.ct-join { position: relative; background: var(--sea); color: var(--foam); overflow: hidden; }
.ct-join-body { position: relative; }
.ct-join-in { position: relative; z-index: 2; padding-block: clamp(40px, 6vw, 100px) clamp(60px, 8vw, 130px); max-width: min(100%, 1060px); }
.ct-join-in > .label { opacity: .75; }
.ct-join .ct-giant { margin: 12px 0 clamp(20px, 2.6vw, 36px); max-width: 8ch; line-height: 1; }
.ct-join .lead { margin: 0 0 30px; max-width: 30em; }
.ct-creatures { position: absolute; z-index: 1; top: 0; bottom: 0; right: 0; width: min(42vw, 600px); pointer-events: none; }
.cr { position: absolute; height: auto; animation: ctFloat 7s var(--ease-in-out) infinite alternate; filter: drop-shadow(6px 7px 0 rgba(15, 43, 85, .9)); }
.cr-fish { width: 46%; right: 8%; top: 8%; animation-duration: 6.2s; }
.cr-drops { width: 15%; right: 56%; top: 14%; animation-delay: -3s; }
.cr-seaweed { width: 20%; right: 66%; bottom: 14%; animation-delay: -1.2s; animation-duration: 8s; }
.cr-crab { width: 34%; right: 30%; bottom: 30%; animation-delay: -2.2s; }
.cr-jellyfish { width: 22%; right: 6%; bottom: 8%; animation-duration: 8.6s; animation-delay: -4.4s; }
@keyframes ctFloat { from { transform: translateY(-10px) rotate(-4deg); } to { transform: translateY(12px) rotate(4deg); } }

.ct-write { padding-top: clamp(60px, 8vw, 130px); }
.ct-write .ct-aside > .label { opacity: .7; }
.ct-write .ct-aside h2 { font-size: var(--fs-h2); margin: 14px 0 22px; max-width: 9em; }

.ct-faq { padding-bottom: clamp(80px, 10vw, 160px); }
.ct-faq .ct-giant { margin-bottom: clamp(28px, 4vw, 64px); }
.ct-faq-grid { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: clamp(24px, 4.4vw, 80px); align-items: start; }
.ct-faq-pic { margin: 0; position: sticky; top: 110px; }
.ct-faq-pic .paper-frame { display: block; transform: rotate(-1.4deg); }
.ct-faq-pic .paper-frame img { aspect-ratio: 640 / 908; }
.qa { border-top: 1.5px solid var(--deep); }
.qa:last-child { border-bottom: 1.5px solid var(--deep); }
.qa summary { list-style: none; display: grid; grid-template-columns: 52px minmax(0, 1fr) 26px; gap: 12px; align-items: baseline; padding: 20px 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary > .label { opacity: .6; }
.qa .q { font-size: clamp(20px, 1.9vw, 30px); line-height: 1.2; font-weight: 450; transition: color .3s; }
.qa summary:hover .q { color: var(--sea); }
.qa .pm { position: relative; width: 22px; height: 22px; align-self: center; }
.qa .pm::before, .qa .pm::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transition: transform .35s var(--ease-out); }
.qa .pm::after { transform: rotate(90deg); }
.qa[open] .pm::after { transform: rotate(0deg); }
.qa .a { padding: 0 38px 26px 64px; }
.qa .a p { margin: 0; max-width: 40em; }

.ct-cta { padding-bottom: clamp(60px, 8vw, 130px); }
.ct-cta-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 12px; border-bottom: 3px solid currentColor; transition: color .35s; }
.ct-cta-link .display { font-size: clamp(56px, 11.6vw, 204px); line-height: .86; }
.ct-cta-ar { width: clamp(56px, 8vw, 140px); flex: none; transition: transform .5s var(--ease-out); }
.ct-cta-ar svg { width: 100%; height: auto; }
.ct-cta-link:hover { color: var(--sea); }
.ct-cta-link:hover .ct-cta-ar { transform: translateX(14px); }

@media (max-width: 1080px) {
  .ct-hero-grid { grid-template-columns: 1fr; }
  .ct-hero-main { padding-bottom: 0; }
  .ct-down { display: none; }
  .ct-hero-pic { justify-self: start; align-self: start; width: min(100%, 440px); margin: 6px 0 44px 14px; }
  .ct-reach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-faq-grid { grid-template-columns: 1fr; }
  .ct-faq-pic { position: static; width: min(100%, 300px); }
  .ct-creatures { width: min(46vw, 420px); opacity: .9; }
}
@media (max-width: 680px) {
  .ct-page { --ct-top: 78px; --ct-left: 10px; }
  .ct-panel { padding-right: 16px; }
  .ct-giant { font-size: clamp(54px, 17vw, 96px); }
  .ct-hero-pic { width: calc(100% - 22px); }
  .ct-tag { left: -8px; }
  .ct-cta-link { gap: 14px; }
  .ct-cta-link .display { flex: 1 1 0; font-size: clamp(32px, 9.6vw, 56px); min-width: 0; overflow-wrap: anywhere; }
  .ct-cta-ar { width: 44px; }
  .ct-strip { grid-template-columns: repeat(3, 74%); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 70px; scrollbar-width: none; }
  .ct-strip::-webkit-scrollbar { display: none; }
  .ct-shot { scroll-snap-align: start; }
  .ct-shot:nth-child(2) { margin-top: 0; }
  .ct-reach-grid { grid-template-columns: 1fr; }
  .ct-creatures { position: relative; width: auto; height: 190px; margin: -30px var(--gutter) 0; }
  .cr-fish { width: 34%; right: 4%; top: 6%; }
  .cr-drops { width: 11%; right: 44%; top: 0; }
  .cr-seaweed { width: 15%; right: auto; left: 0; bottom: 6%; }
  .cr-crab { width: 28%; right: 46%; bottom: 4%; }
  .cr-jellyfish { width: 17%; right: 22%; bottom: 0; }
  .ct-join-in { padding-bottom: 20px; }
  .qa summary { grid-template-columns: 38px minmax(0, 1fr) 22px; }
  .qa .a { padding: 0 0 22px 50px; }
}
