/* ===========================================================================
   Thirteen Studio — cinematic edition.
   Pure black + bone white, gold used with discipline. Brutalist display (Anton)
   over a refined serif body (Fraunces). Ink-bloom hero, kinetic manifesto,
   hover-reveal work grid, custom gold cursor.
   =========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;1,9..144,400&family=Inter:wght@400;500&display=swap');

:root {
  --black: #0a0a0c;
  --black-2: #111114;
  --bone: #f4f1e6;
  --bone-dim: #9c988c;
  --bone-mute: #66635b;
  --gold: #e5b64a;
  --crimson: #b83a4c;
  --line: rgba(244, 241, 230, 0.11);
  --brut: 'Anton', 'Arial Narrow', sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --ui: 'Inter', system-ui, sans-serif;
  --wrap: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--black); color: var(--bone); font-family: var(--serif);
  font-size: 18px; line-height: 1.6; overflow-x: clip; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
@media (hover: hover) and (pointer: fine) { body { cursor: none; } a, button { cursor: none; } }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--black); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(22px, 5vw, 60px); }

/* brutalist display */
.brut { font-family: var(--brut); font-weight: 400; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.86; }
.serif { font-family: var(--serif); }
.ui { font-family: var(--ui); }
.gold { color: var(--gold); } .crimson { color: var(--crimson); }
.eyebrow { font-family: var(--ui); font-size: 12px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--bone-mute); }

/* --- custom cursor --- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); }
.cursor-dot { width: 7px; height: 7px; background: var(--gold); }
.cursor-ring { width: 34px; height: 34px; border: 1px solid rgba(229, 182, 74, 0.55); transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s; }
.cursor-ring.hot { width: 54px; height: 54px; background: rgba(229, 182, 74, 0.10); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* --- nav --- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 200; padding: 22px 0; mix-blend-mode: difference; }
.nav__in { display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--ui); font-weight: 500; font-size: 20px; letter-spacing: -0.02em; color: #fff; }
.brand .dot { color: var(--gold); }
.nav__links { display: flex; gap: 30px; font-family: var(--ui); font-size: 13.5px; letter-spacing: 0.02em; color: #fff; }
@media (max-width: 720px) { .nav__links { display: none; } }

/* --- hero: ink bloom + mega type --- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--black); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }
/* The mega word is a WINDOW into the footage: a black layer multiplied over the video
   knocks the letters out, so the ink + gold bloom shows THROUGH the type itself. */
.hero__knock { position: absolute; inset: 0; z-index: 1; background: var(--black); mix-blend-mode: multiply;
  display: flex; align-items: center; justify-content: center; padding: 0 3vw; }
/* CSS ink-bloom placeholder — layered blobs that morph + flash gold, scroll-scrubbed via --scrub */
.bloom { position: absolute; inset: 0; background: var(--black); overflow: hidden; }
.bloom::before, .bloom::after {
  content: ""; position: absolute; border-radius: 45% 55% 52% 48% / 55% 45% 55% 45%;
  filter: blur(48px); mix-blend-mode: screen; will-change: transform, opacity;
}
.bloom::before { width: 70vw; height: 70vw; left: 22%; top: 30%;
  background: radial-gradient(circle, rgba(40,40,48,0.95), rgba(10,10,12,0) 62%);
  transform: translate(-50%, -50%) scale(calc(0.7 + var(--scrub, 0) * 0.9)) rotate(calc(var(--scrub, 0) * 40deg)); }
.bloom::after { width: 46vw; height: 46vw; left: 60%; top: 55%;
  background: radial-gradient(circle, rgba(229,182,74,0.55), rgba(229,182,74,0) 60%);
  opacity: calc(0.15 + var(--scrub, 0) * 0.6);
  transform: translate(-50%, -50%) scale(calc(0.5 + var(--scrub, 0) * 1.1)); }
.bloom__grain { position: absolute; inset: 0; opacity: 0.5;
  background: radial-gradient(circle at 30% 20%, rgba(20,20,26,0.9), transparent 55%), radial-gradient(circle at 78% 74%, rgba(18,18,24,0.9), transparent 52%); }
.hero__mega { font-size: min(24vw, 320px); color: #ffffff; margin: 0; text-align: center; }
/* subtle vignette so the outer video darkens toward the frame edges */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 50% 46%, transparent 45%, rgba(10,10,12,0.6) 100%); }
.hero__manifesto { position: absolute; z-index: 2; left: 0; right: 0; top: calc(50% + min(11vw, 150px)); text-align: center;
  font-family: var(--ui); font-size: clamp(14px, 1.9vw, 20px); letter-spacing: 0.02em; color: var(--bone-dim); min-height: 1.5em; }
.hero__manifesto .caret { color: var(--gold); font-weight: 500; }
.scrollcue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; font-family: var(--ui); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bone-mute); }

/* --- kinetic manifesto (scroll-pinned word slam) --- */
.kinetic { height: 300vh; position: relative; }
.kinetic__stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.kinetic__word { position: absolute; font-size: min(20vw, 260px); color: var(--bone); opacity: 0; transform: scale(1.35); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.kinetic__word.on { opacity: 1; transform: scale(1); }
.kinetic__word.gold { color: var(--gold); }
.kinetic__meta { position: absolute; bottom: 8vh; font-family: var(--ui); font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bone-mute); }

/* --- section rhythm --- */
.band { padding: clamp(90px, 13vw, 190px) 0; position: relative; }
.band--line { border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: baseline; justify-content: space-between; margin-bottom: 60px; }
.sec-head h2 { font-family: var(--brut); font-size: clamp(40px, 7vw, 104px); color: var(--bone); }
.sec-head p { font-family: var(--serif); font-size: 20px; color: var(--bone-dim); max-width: 34ch; }
.rv { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* --- work grid with hover reveals --- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 720px) { .work-grid { grid-template-columns: 1fr; } }
.wtile { position: relative; aspect-ratio: 16 / 11; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--black-2); display: flex; align-items: flex-end; }
.wtile__reveal { position: absolute; inset: 0; z-index: 0; opacity: 0; transform: scale(1.08); transition: opacity 0.6s var(--ease), transform 0.9s var(--ease);
  background: radial-gradient(circle at 70% 40%, rgba(229,182,74,0.18), transparent 46%), radial-gradient(circle at 26% 80%, rgba(40,40,50,0.7), transparent 55%), var(--black-2); }
.wtile:hover .wtile__reveal { opacity: 1; transform: scale(1); }
.wtile__reveal video { width: 100%; height: 100%; object-fit: cover; }
.wtile__body { position: relative; z-index: 1; padding: 30px 32px; width: 100%; }
.wtile__k { font-family: var(--ui); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.wtile h3 { font-family: var(--brut); font-size: clamp(26px, 3.4vw, 46px); color: var(--bone); margin: 8px 0 4px; }
.wtile p { font-family: var(--serif); font-size: 15.5px; color: var(--bone-dim); max-width: 40ch; }
.wtile__live { position: absolute; top: 24px; right: 26px; z-index: 1; font-family: var(--ui); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 7px; }
.wtile__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* --- services editorial two-column --- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: background 0.4s; }
.svc-row:hover { background: rgba(244,241,230,0.02); }
.svc-row .n { font-family: var(--ui); font-size: 13px; color: var(--bone-mute); }
.svc-row h3 { font-family: var(--brut); font-size: clamp(24px, 3vw, 40px); color: var(--bone); }
.svc-row p { font-family: var(--serif); font-size: 16px; color: var(--bone-dim); }
@media (max-width: 720px) { .svc-row { grid-template-columns: 40px 1fr; } .svc-row p { grid-column: 2; } }

/* --- studio / mood section --- */
.studio { position: relative; overflow: hidden; }
.studio__media { position: absolute; inset: 0; z-index: 0; }
.studio__media .bloom { opacity: 0.7; }
.studio__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--black) 0%, rgba(10,10,12,0.55) 40%, var(--black) 100%); }
.studio__in { position: relative; z-index: 2; max-width: 760px; }
.studio__in .big { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.25; color: var(--bone); }
.studio__in .big em { font-style: italic; color: var(--gold); }
.studio__meta { font-family: var(--ui); font-size: 14px; color: var(--bone-dim); margin-top: 28px; }

/* --- oversized footer --- */
.foot { border-top: 1px solid var(--line); padding: clamp(80px, 12vw, 150px) 0 50px; }
.foot__mega { font-family: var(--brut); font-size: clamp(38px, 9vw, 150px); color: var(--bone); line-height: 0.9; }
.foot__row { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; align-items: flex-end; margin-top: 50px; }
.foot__contact { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { font-family: var(--ui); font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border: 1px solid var(--line); border-radius: 100px; color: var(--bone); transition: all 0.4s var(--ease); }
.btn:hover { border-color: var(--bone); }
.btn--gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.foot__base { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 46px; font-family: var(--ui); font-size: 13px; color: var(--bone-mute); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .kinetic__word { opacity: 1; position: static; transform: none; display: block; }
  .kinetic { height: auto; } .kinetic__stage { height: auto; position: static; display: block; padding: 80px 0; }
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; } a, button { cursor: pointer; }
}
