:root {
  --paper: #F2F4F7;
  --paper-2: #E4E8EE;
  --ink: #0B1420;
  --ink-2: #1A2740;
  --mute: #3A4658;
  --accent: #C8100C;
  --accent-deep: #A30D0A;
  --accent-ink: #FFFFFF;
  --field: #FFFFFF;
  --rule: rgba(11, 20, 32, 0.14);
  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Literata", Georgia, "Times New Roman", serif;
  --mono: "Azeret Mono", ui-monospace, monospace;
  --measure: 38rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  font-size: 1.2rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 8;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand svg {
  width: 28px;
  height: 28px;
  fill: var(--ink);
  flex: 0 0 auto;
}
.brand span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mast nav {
  display: flex;
  gap: 22px;
}
.mast nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--ink-2);
}
.mast nav a[aria-current="page"],
.mast nav a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: end;
  padding: 72px 0 64px;
}

h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 14ch;
}
h1 .line2 {
  display: block;
  margin-top: 0.12em;
  font-size: clamp(1.75rem, 5vw, 4rem);
  font-weight: 700;
  max-width: 16ch;
}

.rule {
  display: block;
  width: min(8rem, 40%);
  height: 3px;
  margin: 22px 0 20px;
  background: var(--accent);
  transform-origin: left center;
  animation: draw 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .rule { animation: none; }
  html { scroll-behavior: auto; }
}

.deck {
  max-width: 36rem;
  color: var(--ink-2);
  margin-bottom: 28px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  border: 1px solid var(--accent);
  cursor: pointer;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn.ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.still {
  margin: 0;
  background: var(--paper-2);
}
.still img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.78) contrast(1.06);
}
.still figcaption {
  padding: 10px 2px 0;
  font-size: 1rem;
  color: var(--mute);
}

.band {
  padding: 8px 0 72px;
}

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.lede {
  max-width: var(--measure);
  color: var(--ink-2);
  margin-bottom: 28px;
}

.facts {
  display: grid;
  gap: 18px;
  max-width: 40rem;
  padding: 0;
  list-style: none;
}
.facts li {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}
.facts strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
}

.sheet {
  list-style: none;
  border-top: 1px solid var(--rule);
}
.sheet li,
.sheet a.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.sheet a.row:hover .who { color: var(--accent); }
.who {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}
.status {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--mute);
  align-self: center;
}
.empty {
  max-width: var(--measure);
  margin-bottom: 20px;
}

.host {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0 8px;
  border-top: 1px solid var(--rule);
}
.host img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.85) contrast(1.04);
}
.host p { max-width: 36rem; color: var(--ink-2); }

.site-foot {
  border-top: 1px solid var(--rule);
  padding: 28px 0 48px;
  color: var(--mute);
  font-size: 1rem;
}
.site-foot a { color: var(--ink); }
.site-foot .later { margin-top: 8px; }

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  max-width: 40rem;
}
label {
  display: grid;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--mute);
}
label.wide { grid-column: 1 / -1; }
input, select, textarea {
  background: var(--field);
  border: 1px solid var(--rule);
  color: var(--ink);
  font: 1.05rem/1.4 var(--body);
  padding: 12px;
  width: 100%;
  border-radius: 2px;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}
form .btn { grid-column: 1 / -1; justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.msg { grid-column: 1 / -1; font-family: var(--mono); font-size: 0.8125rem; }
.msg.err { color: var(--accent); }

.note { max-width: var(--measure); color: var(--ink-2); margin-bottom: 28px; }
.note.pad { margin-top: 28px; }

.page {
  padding: 64px 0 80px;
}
.page h1 { max-width: 16ch; }

@media (max-width: 800px) {
  .wrap { width: min(1180px, calc(100% - 32px)); }
  .mast { padding: 16px 0; }
  .mast nav { gap: 14px; }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0 48px;
  }
  .still img { aspect-ratio: 16 / 10; }
  .host { grid-template-columns: 88px 1fr; gap: 16px; }
  .host img { width: 88px; height: 88px; }
  form { grid-template-columns: 1fr; }
  .page { padding: 40px 0 64px; }
}

/* Studio Window: motion is part of the show surface, not a page effect. */
.codefield {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.78;
}

.codefield-quiet { opacity: 0.5; }

.mast,
main,
.site-foot {
  position: relative;
  z-index: 1;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 6;
  background: var(--paper);
}

[data-parallax] {
  transform: translate3d(0, var(--parallax-y, 0), 0) rotate(var(--parallax-r, 0));
  transform-origin: center;
  will-change: transform;
}

.studio-hero {
  min-height: calc(100vh - 77px);
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.7fr);
  gap: 0;
  align-items: center;
  padding: clamp(54px, 7vw, 96px) 0;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: 32px 0;
  margin-right: -16%;
}

.studio-hero h1 {
  width: 10.5ch;
  max-width: none;
  font-size: clamp(4.4rem, 8.8vw, 7.65rem);
  line-height: 0.82;
  text-wrap: balance;
}

.studio-hero h1 .line2 {
  width: 15ch;
  max-width: none;
  margin-top: 0.24em;
  padding: 0.08em 0.1em 0.1em 0;
  color: var(--accent);
  background: var(--paper);
  font-size: 0.48em;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.studio-hero .deck {
  max-width: 34rem;
  padding-right: 24px;
  background: var(--paper);
  font-size: clamp(1.14rem, 1.7vw, 1.32rem);
}

.studio-hero .rule {
  width: clamp(7rem, 18vw, 13rem);
  height: 5px;
  margin-block: 26px 22px;
}

.studio-window {
  position: relative;
  z-index: 1;
  margin: 0;
  border: 1px solid var(--ink);
  border-left: 12px solid var(--accent);
  background: var(--paper-2);
  box-shadow: 22px 22px 0 var(--paper-2);
  overflow: visible;
}

.studio-window::before,
.studio-window::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: var(--paper);
}

.studio-window::before {
  top: 23%;
  left: -13px;
  width: calc(100% + 14px);
  height: 1px;
  background: rgba(242, 244, 247, 0.68);
}

.studio-window::after {
  top: 0;
  bottom: 0;
  left: 64%;
  width: 1px;
  background: rgba(242, 244, 247, 0.68);
}

.studio-window img {
  aspect-ratio: 3 / 4;
  filter: saturate(0.72) contrast(1.09);
}

.studio-window figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  max-width: 15rem;
  padding: 9px 12px;
  background: var(--paper);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.35;
}

.band,
.page {
  background: rgba(242, 244, 247, 0.9);
}

.band {
  padding-top: 72px;
  border-top: 1px solid var(--ink);
}

.band h2,
.page h1 {
  font-size: clamp(2.75rem, 6vw, 5.4rem);
  line-height: 0.88;
}

.sheet li,
.sheet a.row {
  min-height: 86px;
  padding: 24px 0;
}

.sheet li {
  position: relative;
}

.sheet li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.sheet li:hover::before { width: min(9rem, 30%); }

.who {
  font-size: clamp(1.55rem, 3.5vw, 2.6rem);
  line-height: 1;
}

.status {
  padding-left: 18px;
  border-left: 1px solid var(--accent);
  color: var(--ink);
  text-transform: uppercase;
}

.host {
  grid-template-columns: 160px minmax(0, 1fr);
  border-top-color: var(--ink);
}

.host img {
  width: 160px;
  height: 160px;
  border-left: 8px solid var(--accent);
}

.site-foot {
  background: var(--paper);
  border-top-color: var(--ink);
}

.page {
  min-height: calc(100vh - 77px);
  padding-top: clamp(68px, 10vw, 132px);
}

.page > h1 {
  width: min(13ch, 100%);
  max-width: none;
}

@media (max-width: 800px) {
  .studio-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 50px 0 72px;
  }

  .hero-copy {
    margin-right: 0;
    padding: 0;
  }

  .studio-hero h1 {
    width: auto;
    font-size: clamp(3.75rem, 18vw, 6rem);
  }

  .studio-hero h1 .line2 {
    width: auto;
    font-size: 0.43em;
  }

  .studio-hero .deck {
    padding-right: 0;
  }

  .studio-window {
    width: calc(100% - 14px);
    margin-left: 0;
    box-shadow: 14px 14px 0 var(--paper-2);
  }

  .studio-window img { aspect-ratio: 16 / 11; }

  .band { padding-top: 52px; }
  .host { grid-template-columns: 104px 1fr; }
  .host img { width: 104px; height: 104px; }
}

@media (max-width: 480px) {
  .wrap { width: calc(100% - 24px); }
  .mast { gap: 12px; }
  .mast nav { gap: 12px; }
  .mast nav a { font-size: 0.94rem; }
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-parallax] {
    transform: none !important;
    will-change: auto;
  }
}
