@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --ink: #0b0d0c;
  --studio: #0e120f;
  --live: #17120f;
  --show: #070807;
  --paper: #f2ecdf;
  --chalk: #f4f0e6;
  --muted: #c1bfb5;
  --rule: #353a33;
  --blue: #7382ff;
  --coral: #ff665e;
  --coral-dark: #9e2520;
  --mint: #a7d8b2;
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --page-gutter: 64px;
  --rail-x: 68px;
}

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

html {
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--display);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.company-footer :focus-visible,
.policy :focus-visible,
.support-record :focus-visible {
  outline-color: var(--ink);
}

.site-header,
.legal-header {
  position: relative;
  z-index: 20;
  min-height: 96px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 38px;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
  color: var(--muted);
  font-size: 13px;
}

.site-origin,
.legal-header__brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 16px;
  color: var(--chalk);
  text-decoration: none;
  min-height: 44px;
}

.signal-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--coral);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a,
.legal-header > a,
.motion-toggle {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a,
.legal-header > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover,
.legal-header > a:hover,
.motion-toggle:hover {
  color: var(--chalk);
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.motion-toggle__mark {
  width: 17px;
  height: 1px;
  background: currentColor;
}

html[data-motion="on"] .motion-toggle__mark {
  background: var(--blue);
  box-shadow: 6px 0 0 var(--blue);
}

.scene {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(380px, 650px) minmax(480px, 1fr);
  gap: clamp(40px, 5vw, 90px);
  align-items: center;
  overflow: hidden;
  padding: 90px var(--page-gutter) 86px 160px;
}

.scene::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: var(--rail-x);
  width: 1px;
  background: var(--blue);
}

.scene--hero {
  min-height: 760px;
  background: var(--ink);
}

.scene--studio {
  background: var(--studio);
}

.scene--live {
  background: var(--live);
}

.scene--live::before {
  background: var(--coral);
}

.scene--show {
  min-height: 760px;
  background: var(--show);
}

.scene--show::before {
  background: var(--mint);
}

.scene__copy {
  position: relative;
  z-index: 3;
  min-width: 0;
  align-self: start;
}

.scene__copy--hero {
  padding-top: 28px;
}

.scene h1,
.scene h2 {
  max-width: 850px;
  margin: 0;
  color: var(--chalk);
  font-size: clamp(60px, 6vw, 82px);
  font-weight: 600;
  font-variation-settings: "opsz" 72, "wdth" 100;
  letter-spacing: -0.018em;
  line-height: 0.98;
}

.scene h2 {
  font-size: clamp(52px, 4.7vw, 68px);
  line-height: 1;
}

.scene--live h2 {
  color: var(--coral);
}

.scene--show h2 {
  color: var(--mint);
}

.scene__lede {
  max-width: 650px;
  margin: 48px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.48;
}

.scene__status {
  margin: 108px 0 0;
  font-size: 16px;
  line-height: 1.5;
}

.scene__status--blue {
  color: var(--blue);
}

.scene__status--coral {
  color: var(--coral);
}

.scene__link {
  display: inline-block;
  margin-top: 128px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 14px;
}

.scene__art {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  height: 560px;
  align-self: center;
}

.scene__art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.art-rule,
.signal-path,
.boundary-path,
.waveform,
.footer-cable {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.art-rule {
  stroke: var(--rule);
  stroke-width: 1;
}

.art-light {
  opacity: 0.08;
}

.art-light--coral {
  fill: var(--coral);
}

.art-light--mint {
  fill: var(--mint);
}

.signal-path {
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
}

.signal-path--coral {
  stroke: var(--coral);
}

.signal-path--mint {
  stroke: var(--mint);
}

.boundary-path {
  stroke: var(--mint);
  stroke-width: 2;
}

.waveform {
  stroke: var(--coral);
  stroke-width: 2;
  opacity: 0.56;
}

.art-tally {
  fill: var(--coral);
}

.art-tally--mint {
  fill: var(--mint);
}

.art-label,
.signal-port text {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.art-label--blue {
  fill: var(--blue);
}

.art-label--coral {
  fill: var(--coral);
}

.signal-port > circle:first-child {
  fill: var(--studio);
  stroke: var(--blue);
  stroke-width: 1.5;
}

.signal-port__core {
  fill: var(--coral);
}

.signal-port text {
  fill: var(--muted);
  text-anchor: middle;
}

.live-principle {
  position: absolute;
  z-index: 3;
  top: 94px;
  left: 30px;
  width: min(430px, 68%);
}

.live-principle p,
.live-principle span {
  display: block;
  margin: 0;
  color: var(--coral);
  font-size: 20px;
  line-height: 1.4;
}

.live-principle strong {
  display: block;
  margin: 34px 0 50px 22px;
  color: var(--chalk);
  font-size: clamp(44px, 4.4vw, 62px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 0.98;
}

.live-principle span {
  margin-left: 112px;
  color: var(--muted);
  font-size: 17px;
}

.broadcast-slate {
  position: absolute;
  z-index: 3;
  top: 176px;
  left: 48px;
  width: min(470px, 70%);
  margin: 0;
  font-size: 18px;
}

.broadcast-slate div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 24px;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--rule);
}

.broadcast-slate div:nth-child(2) {
  margin-left: 30px;
  color: var(--blue);
}

.broadcast-slate div:nth-child(3) {
  margin-left: 60px;
  color: var(--coral);
}

.broadcast-slate div:nth-child(4) {
  margin-left: 90px;
  color: var(--muted);
}

.broadcast-slate dt,
.broadcast-slate dd {
  margin: 0;
}

.broadcast-slate dt {
  color: var(--muted);
}

@media (min-width: 981px) {
  .scene--studio .scene__art {
    width: calc(100% + 72px);
    margin-left: -72px;
  }

  .scene--live .scene__art {
    width: calc(100% + 112px);
    margin-left: -112px;
  }

  .scene--show .scene__art {
    transform: translate(34px, 38px);
  }

  .scene--show .broadcast-slate {
    top: 208px;
    left: 112px;
    width: 74%;
  }
}

.company-footer {
  position: relative;
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(420px, 650px) minmax(420px, 1fr);
  grid-template-rows: auto auto 1fr auto;
  gap: 34px 90px;
  padding: 60px 64px 34px 160px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.company-footer__signal {
  position: absolute;
  top: 26px;
  right: 40px;
  width: 420px;
  height: 120px;
  opacity: 0.36;
}

.company-footer__signal svg {
  width: 100%;
  height: 100%;
}

.footer-cable,
.company-footer__signal circle {
  stroke: var(--ink);
  stroke-width: 1.5;
  fill: none;
}

.company-footer__statement {
  grid-column: 1;
  max-width: 650px;
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.002em;
  line-height: 1.15;
}

.company-footer__place {
  grid-column: 1;
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 25px;
  max-width: 650px;
  padding-top: 14px;
  border-top: 1px solid rgba(11, 13, 12, 0.42);
  align-self: end;
}

.company-footer__place span,
.company-footer__contact span {
  color: var(--coral-dark);
  font-size: 15px;
}

.company-footer__place strong {
  font-size: 20px;
  font-weight: 600;
}

.company-footer__contact {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.company-footer__contact a {
  width: fit-content;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  white-space: nowrap;
}

.company-footer__record {
  grid-column: 1 / -1;
  align-self: end;
  margin: 26px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.motion-toggle--footer {
  width: fit-content;
  min-height: 44px;
  margin-top: 16px;
  color: var(--ink);
  font-size: 13px;
}

.motion-toggle--footer:hover {
  color: var(--coral-dark);
}

/* Legal and support pages */
.legal-header {
  grid-template-columns: 1fr auto;
}

.legal-hero {
  position: relative;
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(380px, 640px) 1fr;
  gap: 60px;
  align-items: center;
  padding: 78px var(--page-gutter) 78px 160px;
  overflow: hidden;
  background: var(--ink);
}

.legal-hero::before,
.policy::before,
.support-record::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--rail-x);
  width: 1px;
  background: var(--blue);
}

.legal-hero__copy {
  position: relative;
  z-index: 2;
}

.legal-hero h1 {
  margin: 0;
  color: var(--chalk);
  font-size: clamp(68px, 7vw, 96px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.9;
}

.legal-hero h1 em {
  color: var(--coral);
  font-style: normal;
}

.legal-hero__copy > p {
  max-width: 590px;
  margin: 42px 0 0;
  color: var(--coral);
  font-size: 15px;
  line-height: 1.55;
}

.legal-hero--support .legal-hero__copy > p {
  color: var(--muted);
  font-size: 18px;
}

.legal-hero__art {
  position: absolute;
  right: 18px;
  bottom: 0;
  width: min(52vw, 720px);
  height: 520px;
  opacity: 0.72;
}

.signal-path--static {
  stroke-dasharray: none;
}

.policy,
.support-record {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 480px));
  justify-content: space-between;
  gap: 80px 120px;
  padding: 150px 11vw 100px 160px;
  background: var(--paper);
  color: var(--ink);
}

.policy::before,
.support-record::before {
  background: rgba(11, 13, 12, 0.5);
}

.policy__column {
  min-width: 0;
}

.policy-section {
  position: relative;
  min-height: 240px;
  margin-bottom: 40px;
  padding-bottom: 42px;
}

.policy-section::after {
  content: "";
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 64px;
  height: 1px;
  background: rgba(11, 13, 12, 0.34);
}

.policy-section > span,
.policy-contact > span,
.support-record section > span {
  display: block;
  margin-bottom: 15px;
  color: var(--coral-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.policy-section h2,
.support-record h2 {
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.002em;
  line-height: 1.14;
}

.policy-section p,
.policy-contact p,
.support-record p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.policy-contact {
  margin-top: 54px;
}

.policy-contact > a {
  display: inline-block;
  margin: 10px 0 28px;
  font-size: 21px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.policy-contact p {
  max-width: 440px;
}

.support-record {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 70px;
  min-height: 620px;
  padding-bottom: 150px;
}

.support-record section {
  position: relative;
  padding-top: 12px;
}

.support-record section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(11, 13, 12, 0.35);
}

.support-record h2 {
  min-height: 74px;
}

.legal-footer {
  min-height: 220px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 24px;
  padding: 58px var(--page-gutter);
  border-top: 1px solid var(--rule);
  background: var(--ink);
  color: var(--muted);
  font-size: 13px;
}

.legal-footer p {
  margin: 0;
}

.legal-footer > a {
  text-decoration: none;
}

/* Motion is progressive enhancement. Static content remains complete without it. */
@keyframes entry-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes line-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes tally-confirm {
  0%,
  55% {
    opacity: 0;
    transform: scale(0.72);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

html.motion-fallback[data-motion="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 360ms var(--ease-out),
    transform 360ms var(--ease-out);
}

html.motion-fallback[data-motion="on"] [data-reveal-path] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 620ms var(--ease-out);
}

html.motion-fallback[data-motion="on"] .art-tally {
  opacity: 0;
  transform: scale(0.72);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 240ms var(--ease-out),
    transform 240ms var(--ease-out);
}

html.motion-fallback[data-motion="on"] [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.motion-fallback[data-motion="on"] [data-reveal-path].is-visible {
  stroke-dashoffset: 0;
}

html.motion-fallback[data-motion="on"] .art-tally.is-visible {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 1200px) {
  :root {
    --page-gutter: 40px;
    --rail-x: 40px;
  }

  .site-header {
    gap: 24px;
  }

  .site-nav {
    gap: 16px;
  }

  .scene {
    grid-template-columns: minmax(330px, 0.85fr) minmax(430px, 1.15fr);
    gap: 36px;
    padding-left: 104px;
  }

  .company-footer {
    grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr);
    gap: 34px 60px;
    padding-left: 104px;
    padding-right: 64px;
  }

  .legal-hero,
  .policy,
  .support-record {
    padding-left: 104px;
  }

  .policy {
    gap: 72px;
  }
}

@media (max-width: 980px) {
  :root {
    --page-gutter: 24px;
    --rail-x: 24px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding-top: 22px;
    padding-bottom: 18px;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
  }

  .scene {
    min-height: auto;
    display: block;
    padding: 74px 24px 56px 64px;
  }

  .scene__copy--hero {
    padding-top: 0;
  }

  .scene h1 {
    font-size: clamp(52px, 11.5vw, 76px);
  }

  .scene h2 {
    font-size: clamp(46px, 10vw, 64px);
  }

  .scene__lede {
    margin-top: 32px;
    font-size: 19px;
  }

  .scene__status,
  .scene__link {
    margin-top: 58px;
  }

  .scene__art {
    height: 470px;
    margin-top: 48px;
  }

  .live-principle {
    top: 66px;
    width: 74%;
  }

  .broadcast-slate {
    top: 145px;
    width: 74%;
  }

  .company-footer {
    display: block;
    padding: 54px 36px 34px 64px;
  }

  .company-footer__contact a {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .company-footer__signal {
    right: -120px;
    opacity: 0.2;
  }

  .company-footer__statement {
    max-width: 560px;
    padding-right: 40px;
  }

  .company-footer__place,
  .company-footer__contact,
  .company-footer__record {
    margin-top: 58px;
  }

  .legal-hero {
    min-height: 570px;
    display: block;
    padding: 78px 24px 64px 64px;
  }

  .legal-hero__art {
    right: -220px;
    width: 700px;
    opacity: 0.3;
  }

  .policy,
  .support-record {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 96px 32px 90px 64px;
  }

  .policy-section {
    min-height: 0;
    margin-bottom: 54px;
    padding-bottom: 54px;
  }

  .support-record section {
    margin-bottom: 72px;
  }

  .support-record h2 {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .site-nav {
    flex-wrap: wrap;
    gap: 10px 16px;
    justify-content: flex-start;
  }

  .scene {
    padding-left: 48px;
    padding-right: 18px;
  }

  .scene h1 {
    font-size: clamp(47px, 14vw, 64px);
  }

  .scene h2 {
    font-size: clamp(42px, 12vw, 56px);
  }

  .scene__lede {
    font-size: 18px;
  }

  .scene__art {
    height: 390px;
    margin-left: -20px;
    width: calc(100% + 20px);
  }

  .live-principle {
    top: 32px;
    left: 22px;
    width: 82%;
  }

  .live-principle p {
    font-size: 17px;
  }

  .live-principle strong {
    margin-top: 24px;
    margin-bottom: 32px;
    font-size: 42px;
  }

  .live-principle span {
    margin-left: 48px;
    font-size: 15px;
  }

  .broadcast-slate {
    top: 90px;
    left: 24px;
    width: 82%;
    font-size: 15px;
  }

  .broadcast-slate div {
    grid-template-columns: 88px 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .broadcast-slate div:nth-child(2),
  .broadcast-slate div:nth-child(3),
  .broadcast-slate div:nth-child(4) {
    margin-left: 0;
  }

  .company-footer {
    padding-left: 48px;
    padding-right: 22px;
  }

  .company-footer__statement {
    font-size: 26px;
  }

  .company-footer__place {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .company-footer__contact a {
    font-size: 21px;
  }

  .legal-header__brand > span:last-child {
    font-size: 12px;
  }

  .legal-hero {
    min-height: 520px;
    padding-left: 48px;
  }

  .legal-hero h1 {
    font-size: 64px;
  }

  .policy,
  .support-record {
    padding-left: 48px;
    padding-right: 22px;
  }

  .policy-section h2,
  .support-record h2 {
    font-size: 27px;
  }

  .legal-footer {
    grid-template-columns: auto 1fr;
    padding-left: 24px;
  }

  .legal-footer > a {
    grid-column: 2;
  }
}

@media (max-width: 360px) {
  .scene h2 {
    font-size: 36px;
  }
}

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

html[data-motion="off"] [data-reveal],
html[data-motion="off"] [data-reveal-path],
html[data-motion="off"] .art-tally {
  opacity: 1;
  transform: none;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}
