:root {
  color-scheme: dark;
  --table: #101a1e;
  --table-deep: #0a1114;
  --acetate: #1f2d34;
  --acetate-line: #53676f;
  --bone: #e8e2d4;
  --bone-dim: #9fadb0;
  --ink: #12181b;
  --flare: #ff7a2f;
  --content: min(1480px, calc(100vw - 56px));
  --display: "Big Shoulders", "Arial Narrow", sans-serif;
  --body: "Public Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --mx: 64%;
  --my: 28%;
}

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

html {
  background: var(--table-deep);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--bone);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(65, 79, 81, 0.27), transparent 36rem),
    var(--table-deep);
  font-family: var(--body);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.direction-contract {
  display: none !important;
}

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

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

.table-light,
.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.table-light {
  background: radial-gradient(circle at var(--mx) var(--my), rgba(232, 226, 212, 0.065), transparent 28rem);
  transition: background-position 180ms ease-out;
}

.grain {
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.page-frame {
  position: relative;
  z-index: 1;
  width: var(--content);
  margin: 0 auto;
}

.top-rail {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--acetate-line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand span {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.rail-status {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bone-dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rail-status time {
  padding-left: 12px;
  border-left: 1px solid var(--acetate-line);
  color: var(--bone);
}

.status-square {
  width: 9px;
  height: 9px;
  background: var(--flare);
  box-shadow: 0 0 18px rgba(255, 122, 47, 0.35);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 96px));
  margin-top: 34px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--acetate-line);
  background: var(--table);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.38);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 17, 20, 0.97) 0%, rgba(10, 17, 20, 0.9) 39%, rgba(10, 17, 20, 0.34) 67%, rgba(10, 17, 20, 0.7) 100%),
    linear-gradient(0deg, rgba(10, 17, 20, 0.7), transparent 45%);
}

.map-field {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.map-field img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 48%;
  opacity: 0.62;
  filter: saturate(0.7) contrast(1.04);
  transform: scale(1.025);
  animation: map-settle 16s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.plot-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.route,
.plot-ring,
.pin-outline {
  fill: none;
  stroke: var(--flare);
  vector-effect: non-scaling-stroke;
}

.route {
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-dasharray: 7 9;
  opacity: 0.7;
}

.route-two {
  opacity: 0.42;
}

.plot-ring {
  stroke-width: 2;
  opacity: 0.64;
}

.plot-ring-small {
  opacity: 0.42;
}

.plot-pin > circle:first-child {
  fill: var(--flare);
}

.pin-outline {
  stroke-width: 1.5;
  opacity: 0.7;
}

.neatline {
  position: absolute;
  inset: 22px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(159, 173, 176, 0.43);
}

.neatline::before,
.neatline::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: var(--bone-dim);
  opacity: 0.8;
}

.neatline::before {
  top: -2px;
  left: -2px;
  border-top: 3px solid;
  border-left: 3px solid;
}

.neatline::after {
  right: -2px;
  bottom: -2px;
  border-right: 3px solid;
  border-bottom: 3px solid;
}

.tick {
  position: absolute;
  background: var(--bone-dim);
  opacity: 0.65;
}

.tick-top,
.tick-bottom {
  left: 50%;
  width: 1px;
  height: 9px;
}

.tick-top { top: -5px; }
.tick-bottom { bottom: -5px; }
.tick-left,
.tick-right {
  top: 50%;
  width: 9px;
  height: 1px;
}
.tick-left { left: -5px; }
.tick-right { right: -5px; }

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(800px, 66%);
  padding: clamp(72px, 7vw, 104px) clamp(48px, 5vw, 76px) 92px;
}

.hero-copy h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--bone);
  font-family: var(--display);
  font-size: clamp(4.5rem, 6.5vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.84;
  text-wrap: balance;
  text-transform: uppercase;
  text-shadow: 0 3px 0 rgba(10, 17, 20, 0.56), 0 18px 40px rgba(0, 0, 0, 0.5);
}

.hero-copy h1 span {
  color: var(--bone);
}

.pencil-line {
  display: block;
  width: min(290px, 50vw);
  height: 14px;
  margin: 18px 0 24px;
  border-top: 6px solid var(--flare);
  border-radius: 50%;
  transform: rotate(-1.2deg) skewX(-13deg);
  transform-origin: left;
  animation: pencil-draw 900ms 240ms cubic-bezier(0.45, 0, 0.55, 1) both;
}

.lede {
  max-width: 58ch;
  margin: 0;
  color: #c7c8c2;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.65;
}

.youtube-action {
  width: fit-content;
  min-width: 300px;
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px 14px 15px;
  color: var(--ink);
  background: var(--bone);
  border: 1px solid var(--bone);
  border-radius: 3px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45), 0 16px 28px rgba(0, 0, 0, 0.36);
  text-decoration: none;
  transform: rotate(-0.35deg);
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 180ms ease-out, background-color 180ms ease-out;
}

.youtube-action::before {
  content: "";
  align-self: stretch;
  width: 7px;
  margin: -14px 0 -14px -15px;
  background: var(--flare);
}

.youtube-action > svg:first-of-type {
  width: 28px;
  flex: 0 0 28px;
  fill: var(--ink);
}

.youtube-action span {
  min-width: 176px;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
}

.youtube-action small {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 0.61rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.action-arrow {
  width: 24px;
  margin-left: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.youtube-action:hover {
  background: #f6f0e2;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45), 0 24px 42px rgba(0, 0, 0, 0.48);
  transform: translateY(-3px) rotate(-0.35deg);
}

.youtube-action:focus-visible,
.brand:focus-visible,
.social-status a:focus-visible {
  outline: 3px solid var(--flare);
  outline-offset: 5px;
}

.desk-note {
  position: absolute;
  z-index: 2;
  right: clamp(48px, 6vw, 92px);
  bottom: 86px;
  width: 220px;
  padding: 22px 24px 20px;
  color: var(--ink);
  background: var(--bone);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45), 0 22px 40px rgba(0, 0, 0, 0.5);
  transform: rotate(1.25deg);
}

.desk-note::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  background: var(--flare);
}

.desk-note img {
  display: block;
  width: 66px;
  height: 66px;
  margin: -5px 0 14px;
  object-fit: contain;
}

.desk-note p {
  margin: 0;
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 0.9;
  text-transform: uppercase;
}

.desk-note span {
  display: block;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(18, 24, 27, 0.25);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bottom-rail {
  position: absolute;
  z-index: 2;
  right: 44px;
  bottom: 0;
  left: 44px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--bone-dim);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.bottom-rail p {
  margin: 0;
}

.bottom-rail span {
  color: var(--bone);
}

.formats {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1.2fr);
  gap: clamp(54px, 8vw, 130px);
  padding: clamp(90px, 10vw, 150px) 0;
}

.formats-intro h2 {
  max-width: 8ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 5.2vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.88;
  text-transform: uppercase;
}

.formats-intro p {
  max-width: 34ch;
  margin: 28px 0 0;
  color: var(--bone-dim);
  font-size: 1rem;
  line-height: 1.6;
}

.format-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--acetate-line);
}

.format-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 25px 0;
  border-bottom: 1px solid var(--acetate-line);
}

.format-list strong {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.format-list span {
  color: #c7c8c2;
  line-height: 1.55;
}

.footer {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--acetate-line);
  color: var(--bone-dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-status {
  display: flex;
  align-items: center;
  gap: 30px;
}

.social-status > * {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.social-status a {
  min-height: 44px;
  color: var(--bone);
  text-underline-offset: 4px;
  text-decoration-color: var(--flare);
}

.social-status a span,
.social-status small {
  color: var(--bone-dim);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}

.social-status a span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  background: var(--flare);
}

.footer > p {
  margin: 0;
}

@keyframes pencil-draw {
  from { transform: rotate(-1.2deg) skewX(-13deg) scaleX(0); }
  to { transform: rotate(-1.2deg) skewX(-13deg) scaleX(1); }
}

@keyframes map-settle {
  from { transform: scale(1.08); filter: saturate(0.55) contrast(1.08) blur(3px); }
  to { transform: scale(1.025); filter: saturate(0.7) contrast(1.04) blur(0); }
}

@media (max-width: 980px) {
  :root {
    --content: min(100% - 32px, 880px);
  }

  .hero {
    min-height: 780px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(10, 17, 20, 0.9) 0%, rgba(10, 17, 20, 0.72) 53%, rgba(10, 17, 20, 0.96) 100%),
      linear-gradient(90deg, rgba(10, 17, 20, 0.82), rgba(10, 17, 20, 0.25));
  }

  .map-field img {
    object-position: 58% center;
    opacity: 0.48;
  }

  .hero-copy {
    width: 100%;
    padding: 94px 54px 240px;
  }

  .desk-note {
    right: 52px;
    bottom: 86px;
    width: 198px;
  }

  .formats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --content: calc(100% - 22px);
  }

  .top-rail {
    min-height: 78px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span {
    font-size: 1.15rem;
  }

  .rail-status > span:not(.status-square) {
    display: none;
  }

  .rail-status time {
    padding-left: 9px;
    font-size: 0.62rem;
  }

  .hero {
    min-height: 920px;
    margin-top: 18px;
  }

  .neatline {
    inset: 12px;
  }

  .hero-copy {
    padding: 82px 30px 390px;
  }

  .hero-copy h1 {
    max-width: 9ch;
    font-size: clamp(3.65rem, 19vw, 5.1rem);
  }

  .lede {
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .youtube-action {
    width: 100%;
    min-width: 0;
    gap: 10px;
    padding: 12px;
  }

  .youtube-action::before {
    margin: -12px 0 -12px -12px;
  }

  .youtube-action > svg:first-of-type {
    width: 24px;
    flex-basis: 24px;
  }

  .youtube-action span {
    min-width: 0;
  }

  .action-arrow {
    width: 20px;
  }

  .desk-note {
    right: 28px;
    bottom: 74px;
    width: 184px;
    padding: 18px 20px;
  }

  .desk-note img {
    width: 52px;
    height: 52px;
    margin-bottom: 10px;
  }

  .desk-note p {
    font-size: 1.8rem;
  }

  .bottom-rail {
    right: 28px;
    left: 28px;
  }

  .bottom-rail p:first-child {
    display: none;
  }

  .formats {
    gap: 54px;
    padding: 88px 8px;
  }

  .formats-intro h2 {
    font-size: 3.6rem;
  }

  .format-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 34px 0;
  }

  .social-status {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
