@font-face { font-family: "Cabinet Grotesk"; src: url("/fonts/cabinet-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("/fonts/cabinet-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --night-ink: #f4efe6;
  --day-ink: #0d0f12;
  --ink: var(--night-ink);
  --glow: #ffb867;
  --shade: 1;
  --pad: clamp(20px, 4vw, 64px);
  --display: "Cabinet Grotesk", "Arial Narrow", sans-serif;
  --text: "Satoshi", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: #07080a;
  color: var(--ink);
  font: 400 18px/1.55 var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: color 0.8s ease;
}
body.is-day { --ink: var(--day-ink); }
a { color: inherit; }
img, video, canvas { display: block; }
::selection { background: var(--glow); color: #07080a; }

.skip { position: absolute; left: var(--pad); top: -60px; z-index: 50; background: var(--ink); color: #07080a; padding: 10px 16px; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 4px; border-radius: 4px; }

/* ---- the sky behind everything ---- */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #07080a; }
.sky__poster, .sky__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sky__shade {
  position: absolute; inset: 0; opacity: var(--shade);
  background:
    linear-gradient(180deg, rgba(4, 5, 7, 0.55) 0%, rgba(4, 5, 7, 0) 22%, rgba(4, 5, 7, 0) 55%, rgba(4, 5, 7, 0.7) 100%),
    radial-gradient(120% 90% at 50% 40%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.45) 100%);
}

/* ---- the bar ---- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 32px;
  padding: 22px var(--pad);
  font: 500 15px/1 var(--text);
  color: #fff;
  mix-blend-mode: difference;
}
.bar__mark { font: 800 22px/1 var(--display); letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.bar__nav { display: flex; gap: 28px; }
.bar__nav a { text-decoration: none; opacity: 0.8; transition: opacity 0.3s; padding: 6px 0; }
.bar__nav a:hover { opacity: 1; }
.bar__clock { display: flex; align-items: center; gap: 10px; font: 800 22px/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; min-width: 5ch; justify-content: flex-end; }
.bar__dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; }

/* ---- shared ---- */
section, .case { position: relative; padding: 0 var(--pad); }
.line-mask { overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* ---- hero ---- */
.hero { min-height: 100svh; display: grid; grid-template-rows: 1fr auto auto auto; padding-top: 96px; padding-bottom: clamp(20px, 3vw, 40px); }
.hero__kicker { grid-row: 2; font-size: 16px; opacity: 0.8; margin-bottom: 12px; }
.hero__title { grid-row: 3; white-space: nowrap; font: 800 clamp(80px, 25vw, 520px)/0.78 var(--display); letter-spacing: -0.055em; margin-left: -0.05em; }
.hero__word { display: block; }
.hero__line { grid-row: 4; display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: 22px; font: 500 clamp(18px, 1.6vw, 24px)/1.3 var(--text); max-width: 30ch; }
.hero__cue { position: absolute; right: var(--pad); bottom: clamp(24px, 3.4vw, 46px); font-size: 15px; opacity: 0.7; }

/* ---- intro ---- */
.intro { min-height: 130vh; display: flex; align-items: center; }
.intro__text { font: 500 clamp(30px, 4.4vw, 68px)/1.08 var(--display); letter-spacing: -0.025em; max-width: 17em; }

/* ---- the work ---- */
.case { height: 230vh; padding: 0; }
.case__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.case__time {
  position: absolute; left: var(--pad); top: 90px; z-index: 1;
  font: 800 clamp(96px, 17vw, 300px)/0.8 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums;
  color: var(--glow); text-shadow: 0 0 60px rgba(255, 184, 103, 0.35);
}
.case__window {
  position: absolute; left: 8vw; right: 8vw; top: 12svh; bottom: 12svh; z-index: 2;
  clip-path: inset(42% 44% 42% 44% round 3px);
  background: #000;
  will-change: clip-path;
}
.case__film { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transform-origin: 50% 50%; }
.case__text { position: absolute; left: var(--pad); bottom: clamp(28px, 5svh, 56px); z-index: 3; max-width: 30em; }
.case__client { font: 800 clamp(44px, 6.4vw, 108px)/0.9 var(--display); letter-spacing: -0.04em; margin-bottom: 14px; }
.case__what { font-size: clamp(17px, 1.3vw, 20px); max-width: 32ch; }
.case__tags { margin-top: 10px; font-size: 15px; opacity: 0.7; }
.case--right .case__time { left: auto; right: var(--pad); }
.case--right .case__text { left: auto; right: var(--pad); text-align: right; }
.case--right .case__what { margin-left: auto; }

/* ---- 04:00 ---- */
.low { min-height: 170vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 28px; }
.low__hour { font: 800 clamp(120px, 26vw, 460px)/0.8 var(--display); letter-spacing: -0.06em; opacity: 0.16; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.low__title { position: relative; font: 500 clamp(32px, 4.6vw, 72px)/1.06 var(--display); letter-spacing: -0.03em; max-width: 14em; }

/* ---- what we make ---- */
.make { min-height: 150vh; display: flex; flex-direction: column; justify-content: center; padding-top: 12vh; padding-bottom: 12vh; }
.make__title { font-size: 16px; font-weight: 500; opacity: 0.75; margin-bottom: 26px; }
.make__list { list-style: none; }
.make__list li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: baseline; padding: 22px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 24%, transparent); }
.make__list li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 24%, transparent); }
.make__name { font: 800 clamp(40px, 6.6vw, 112px)/0.92 var(--display); letter-spacing: -0.045em; }
.make__note { font-size: clamp(17px, 1.3vw, 20px); max-width: 30ch; opacity: 0.85; }

/* ---- sunrise ---- */
.dawn { min-height: 170vh; display: flex; flex-direction: column; justify-content: center; }
.dawn__title { font: 800 clamp(52px, 9vw, 168px)/0.88 var(--display); letter-spacing: -0.05em; max-width: 9em; }
.dawn__line { margin-top: 26px; font: 500 clamp(18px, 1.6vw, 24px)/1.3 var(--text); max-width: 30ch; }

/* ---- contact ---- */
.contact { min-height: 120vh; padding-top: 22vh; padding-bottom: 12vh; }
.contact__title { font: 800 clamp(52px, 9vw, 168px)/0.88 var(--display); letter-spacing: -0.05em; max-width: 8em; }
.contact__line { margin-top: 22px; font: 500 clamp(18px, 1.6vw, 24px)/1.3 var(--text); max-width: 30ch; }
.contact__mail {
  display: inline-block; margin-top: 34px;
  font: 800 clamp(26px, 3.4vw, 54px)/1 var(--display); letter-spacing: -0.03em;
  text-decoration: none; border-bottom: 3px solid currentColor; padding-bottom: 6px;
}
.contact__mail:hover { border-bottom-color: transparent; }
.faq { margin-top: 16vh; max-width: 760px; }
.faq__title { font-size: 16px; font-weight: 500; opacity: 0.75; margin-bottom: 12px; }
.faq details { border-top: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); }
.faq details:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 800 clamp(20px, 2vw, 28px)/1.2 var(--display); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 500; transition: transform 0.3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 58ch; }

/* ---- footer ---- */
.foot { padding: 40px var(--pad) 48px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 15px; }
.foot__note { opacity: 0.75; }

/* ---- phones ---- */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .bar { gap: 16px; padding: 16px var(--pad); }
  .bar__nav a:not(:last-child) { display: none; }
  .bar__mark, .bar__clock { font-size: 19px; }
  .hero__cue { display: none; }
  .case { height: 200vh; }
  .case__time { top: 74px; font-size: clamp(84px, 26vw, 150px); }
  .case__window { left: 0; right: 0; top: 24svh; bottom: 30svh; }
  .case__text, .case--right .case__text { left: var(--pad); right: var(--pad); bottom: 22px; text-align: left; }
  .case--right .case__time { right: var(--pad); }
  .case--right .case__what { margin-left: 0; }
  .make__list li { grid-template-columns: 1fr; gap: 8px; }
  .intro, .low, .dawn { min-height: 120vh; }
  .make { min-height: 120vh; }
  .foot { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .case { height: auto; }
  .case__stage { position: relative; height: auto; min-height: 100svh; padding: 120px var(--pad) 40px; display: flex; flex-direction: column; gap: 24px; }
  .case__time, .case__text { position: static; }
  .case__window { position: relative; inset: auto; height: 60svh; clip-path: none; }
  .case__film { transform: none; }
}
