@font-face {
  font-family: "Host Grotesk";
  src: url("../fonts/host-grotesk.woff2") format("woff2-variations");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #050505;
  --ink-2: #111110;
  --white: #f6f4ef;
  --grey: #93918b;
  --line: rgb(246 244 239 / 0.16);
  --paper: #f1ece3;
  --paper-ink: #12110f;
  --paper-grey: #6c675e;
  --signal: #ff4d1f;
  --gutter: clamp(16px, 3.2vw, 48px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --sans: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ol, ul, fieldset, figure { margin: 0; padding: 0; border: 0; }
ol, ul { list-style: none; }
img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

.mono { font-family: var(--mono); }
.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink);
  padding: 10px 14px; border-radius: 6px;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

/* Nav: difference blend keeps it legible on both black and paper sections */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  mix-blend-mode: difference;
  color: #fff;
  transition: transform 0.5s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo img { display: block; width: clamp(92px, 7.5vw, 112px); height: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 36px); font-size: 14px; }
.nav__links a { position: relative; padding: 6px 0; white-space: nowrap; }
.nav-login { white-space: nowrap; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  border: 1px solid #fff; border-radius: 99px;
  padding: 7px 14px !important;
  transition: background 0.25s, color 0.25s;
}
.nav__cta:hover { background: #fff; color: #000; }
/* Artist Login: the slot keeps its place in the blended nav (invisible); .nav-login is the visible orange button on top */
.nav__slot { opacity: 0; border: 1px solid transparent; border-radius: 99px; padding: 7px 14px !important; font-weight: 500; line-height: 1.4; }
.nav__slot::after { display: none; }
.nav-login {
  position: fixed; z-index: 51; top: 0; left: 0;
  display: inline-flex; align-items: center;
  border: 1px solid var(--signal); border-radius: 99px; padding: 7px 14px;
  background: var(--signal); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.4;
  transition: transform 0.5s var(--ease), background 0.25s, border-color 0.25s;
}
.nav-login:hover { background: #ff6a42; border-color: #ff6a42; }
.nav-login.is-hidden { transform: translateY(-160%); }
.nav-login.is-focus { outline: 2px solid var(--white); outline-offset: 3px; }

/* Hero */
.hero { height: 240svh; position: relative; }
.hero__stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__readout {
  position: absolute; top: 78px; left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey);
}
.hero__readout b { font-weight: 400; color: var(--white); font-variant-numeric: tabular-nums; }
.hero__copy { position: relative; padding: 0 var(--gutter) clamp(20px, 3vw, 40px); }
h1 {
  font-size: clamp(64px, 14.2vw, 248px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin-left: -0.04em;
}
.hero__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-top: clamp(18px, 2.4vw, 32px);
}
.hero__foot p { max-width: 30em; color: var(--white); }
.hero__cue { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); white-space: nowrap; }

/* Statement */
.statement {
  padding: clamp(96px, 16vw, 240px) var(--gutter) clamp(72px, 10vw, 150px);
  display: grid; gap: clamp(28px, 4vw, 60px);
}
.statement__text {
  max-width: 21em;
  font-size: clamp(32px, 5.1vw, 86px);
  font-weight: 450;
  line-height: 1.06;
  letter-spacing: -0.028em;
}
.statement__text--end { color: var(--signal); }
.statement .w { display: inline-block; }

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey);
}
.marquee__track { display: flex; width: max-content; animation: slide 48s linear infinite; }
.marquee__track span { padding-inline: 28px; position: relative; white-space: nowrap; }
.marquee__track span::after {
  content: ""; position: absolute; right: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px;
  border-radius: 50%; background: var(--signal);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Services */
.services {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  position: relative;
}
.services__scope {
  position: sticky; top: 0; height: 100svh;
  border-right: 1px solid var(--line);
  padding: 84px var(--gutter) 28px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.scope { position: absolute; inset: 0; width: 100%; height: 100%; }
.services__scope > *:not(.scope) { position: relative; z-index: 1; }
.services__count { font-size: 12px; letter-spacing: 0.06em; color: var(--grey); }
.services__count b { font-weight: 400; color: var(--white); }
.services__list { padding-inline: clamp(24px, 5vw, 80px) var(--gutter); }
.service {
  min-height: 78svh;
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  opacity: 0.22;
  transition: opacity 0.5s;
}
.service.is-active { opacity: 1; }
.no-motion .service, .no-js .service { opacity: 1; }
.service h3 {
  font-size: clamp(34px, 4.2vw, 68px);
  font-weight: 450;
  line-height: 1.04;
  letter-spacing: -0.028em;
  max-width: 13em;
}
.service__body { max-width: 30em; color: var(--grey); }
.service.is-active .label { color: var(--signal); }

/* Work */
.work {
  background: var(--paper); color: var(--paper-ink);
  border-radius: clamp(16px, 2vw, 28px);
  padding: clamp(72px, 10vw, 150px) var(--gutter);
  position: relative;
}
.work__head {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 40px;
  margin-bottom: clamp(36px, 5vw, 72px);
}
.work h2 {
  font-size: clamp(44px, 7.6vw, 128px);
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.work__head p { color: var(--paper-grey); max-width: 22em; }
.work__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 72px) clamp(14px, 2vw, 28px);
}
.tile { min-width: 0; }
.tile--wide { grid-column: 1 / -1; }
.tile__media {
  position: relative; overflow: hidden; background: var(--ink);
  border-radius: 6px;
  margin-bottom: 14px;
}
.tile--wide .tile__media { aspect-ratio: 21 / 9; }
.tile--half { grid-column: span 6; }
.tile--half .tile__media { aspect-ratio: 4 / 3; }
.tile--half .tile__word { font-size: clamp(40px, 5.4vw, 96px); }
.tile h3 a { transition: color 0.3s var(--ease); }
.tile h3 a:hover { color: var(--signal); }
.tile__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile__word {
  position: absolute; left: 0.3em; bottom: 0.12em;
  color: var(--tile-ink, #fff);
  font-size: clamp(44px, 8.6vw, 148px);
  font-weight: 500; letter-spacing: -0.04em; line-height: 1;
  pointer-events: none;
}
.tile__media--dao { --tile-ink: #5dff8f; background: #060a07; }
.tile__media--dpm { --tile-ink: #ff6ad5; background: #0c0510; }
.tile h3 { font-size: clamp(19px, 1.7vw, 26px); font-weight: 500; letter-spacing: -0.012em; }
.tile > p { color: var(--paper-grey); max-width: 30em; }

/* Contact */
.contact {
  padding: clamp(84px, 11vw, 170px) var(--gutter);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(24px, 4vw, 64px);
}
.contact h2 {
  font-size: clamp(56px, 10vw, 176px);
  font-weight: 500; letter-spacing: -0.045em; line-height: 0.94;
}
.brief { display: grid; gap: 26px; align-content: start; }
.brief__who { display: flex; flex-wrap: wrap; gap: 8px; }
.brief__who legend { margin-bottom: 12px; }
.brief__who label { cursor: pointer; }
.brief__who input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.brief__who span {
  display: block; padding: 10px 15px; min-height: 44px; line-height: 22px;
  border: 1px solid var(--line); border-radius: 99px; font-size: 15px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.brief__who label:hover span { border-color: var(--white); }
.brief__who input:checked + span { background: var(--white); color: var(--ink); border-color: var(--white); }
.brief__who input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.brief__field { display: grid; gap: 4px; }
.brief__field input, .brief__field textarea {
  width: 100%; background: none; color: var(--white);
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 8px 0 10px; font: inherit; font-size: max(16px, 1em); resize: vertical;
  transition: border-color 0.25s;
}
.brief__field input:focus, .brief__field textarea:focus { outline: 0; border-color: var(--signal); }
.brief__send {
  justify-self: start; display: inline-flex; gap: 12px; align-items: center;
  min-height: 48px; padding: 12px 22px; border: 0; border-radius: 99px;
  background: var(--signal); color: var(--ink);
  font: inherit; font-weight: 500; cursor: pointer;
}
.brief__send span { transition: transform 0.45s var(--ease); }
.brief__send:hover span { transform: translateX(6px); }
.brief__note { font-size: 14px; color: var(--grey); margin-top: -14px; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(36px, 4vw, 60px) var(--gutter) 24px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px;
  font-size: 15px;
}
.footer__col { display: grid; gap: 6px; align-content: start; }
.footer__col .label { margin-bottom: 6px; }
.footer__col > img { width: 110px; height: auto; margin-bottom: 8px; }
.footer__col > p:not(.label) { color: var(--grey); }
.footer__col a { width: fit-content; }
.footer__col a:hover { color: var(--signal); }
.footer__clocks { font-size: 13px; }
.footer__clocks > p:not(.label) { color: var(--white) !important; display: flex; align-items: center; gap: 8px; }
.footer__clocks i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); animation: pulse 2s ease-in-out infinite; }
.footer__clocks time { color: var(--grey); font-variant-numeric: tabular-nums; }
@keyframes pulse { 50% { opacity: 0.25; } }
.footer__legal { grid-column: 1 / -1; font-size: 12px; color: var(--grey); padding-top: 18px; }

/* Tablet and phone */
@media (max-width: 860px) {
  .hero__cue { display: none; }
  .services { grid-template-columns: 1fr; }
  .services__scope {
    top: 0; height: 40svh; z-index: 2;
    border-right: 0; border-bottom: 1px solid var(--line);
    background: var(--ink);
    padding: 70px var(--gutter) 12px;
  }
  .services__list { padding-inline: var(--gutter); }
  .service { min-height: 60svh; padding-block: 28px; }
  .tile--wide .tile__media { aspect-ratio: 4 / 3; }
  .tile--half { grid-column: 1 / -1; }
  .tile--half .tile__word { font-size: clamp(44px, 14vw, 96px); }
  .contact { grid-template-columns: 1fr; }
  .footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .nav__work { display: none; }
}
@media (max-width: 480px) {
  .nav__links { font-size: 12px; gap: 10px; }
  .nav__logo img { width: 82px; }
  .nav__cta, .nav__slot { padding: 6px 10px !important; }
  .nav-login { font-size: 12px; padding: 6px 10px; }
  .footer { grid-template-columns: 1fr; }
}

/* Reduced motion: everything is static and fully visible */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: 100svh; }
  .marquee__track, .footer__clocks i { animation: none; }
  .service { opacity: 1; transition: none; }
}
.footer__portal { margin-left: 16px; text-decoration: underline; text-underline-offset: 3px; }
.footer__portal:hover { color: var(--white); }
