:root {
  color-scheme: dark;
  --ink: #f4efe3;
  --muted: #aaa79f;
  --line: rgba(244, 239, 227, 0.16);
  --background: #0c0e0d;
  --panel: #131614;
  --accent: #ff6248;
  --accent-light: #ffc35c;
  --blue: #54b8ff;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 98, 72, 0.09), transparent 27rem),
    var(--background);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.noise {
  position: fixed;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

main {
  display: flex;
  width: min(100% - 48px, 1500px);
  min-height: 100vh;
  margin: 0 auto;
  flex-direction: column;
}

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 104px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark-mark {
  position: relative;
  width: 28px;
  height: 18px;
}

.wordmark-mark::before,
.wordmark-mark::after {
  position: absolute;
  left: 0;
  width: 28px;
  height: 2px;
  content: "";
  transform-origin: left center;
}

.wordmark-mark::before {
  top: 10px;
  background: var(--ink);
  transform: rotate(-12deg);
}

.wordmark-mark::after {
  top: 14px;
  background: var(--accent);
  transform: rotate(-28deg);
}

.status {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 98, 72, 0.45);
  animation: pulse 2.4s infinite;
}

.hero {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: center;
  padding: clamp(60px, 8vh, 110px) 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-weight: 400;
}

.title-primary {
  display: block;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 7vw, 126px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.07em;
  line-height: 0.82;
}

.title-secondary {
  display: block;
  max-width: 570px;
  margin-top: 28px;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(19px, 1.65vw, 28px);
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1.18;
  text-transform: uppercase;
}

.title-secondary strong {
  color: inherit;
  font-weight: inherit;
  white-space: nowrap;
}

.chart-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 227, 0.19);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 45%),
    rgba(19, 22, 20, 0.86);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(20px);
  animation: chart-in 1s 0.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.chart-wrap::after {
  position: absolute;
  top: -45%;
  left: -70%;
  width: 80%;
  height: 190%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.035), transparent);
  content: "";
  pointer-events: none;
  transform: rotate(18deg);
  animation: sheen 7s 1.5s ease-in-out infinite;
}

.chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.guide-lines line {
  stroke: rgba(244, 239, 227, 0.07);
  stroke-width: 1;
  stroke-dasharray: 3 8;
}

.axes path {
  fill: none;
  stroke: rgba(244, 239, 227, 0.8);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw-line 1s 0.45s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.axes line {
  stroke: rgba(244, 239, 227, 0.5);
  stroke-width: 2;
}

.axis-labels {
  fill: rgba(244, 239, 227, 0.82);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.axis-labels .axis-title {
  font-size: 17px;
  letter-spacing: 0.03em;
}

.line {
  fill: none;
  stroke-linecap: round;
  stroke-width: 4;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.line-steady,
.line-steady-glow {
  stroke: var(--blue);
  animation: draw-line 1.4s 0.7s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.line-steady {
  stroke-width: 5;
}

.line-steady-glow {
  opacity: 0.2;
  stroke-width: 11;
  filter: url("#glow");
}

.line-slope,
.line-slope-glow {
  stroke: url("#lineGlow");
  animation: draw-line 1.5s 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.line-slope {
  stroke-width: 6;
}

.line-slope-glow {
  opacity: 0.45;
  stroke-width: 13;
  filter: url("#glow");
}

.point {
  opacity: 0;
  stroke: var(--panel);
  stroke-width: 4;
  animation: point-in 0.5s 1.9s ease forwards;
}

.point-steady {
  fill: var(--blue);
}

.point-slope {
  fill: var(--accent);
}

.point-end {
  fill: var(--accent-light);
  animation-delay: 2.35s;
}

.mindset-statement {
  display: flex;
  gap: clamp(16px, 2.5vw, 36px);
  align-items: baseline;
  justify-content: center;
  margin: 0;
  padding: clamp(38px, 5vw, 72px) 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.6vw, 58px);
  letter-spacing: -0.045em;
}

.mindset-statement strong {
  color: var(--accent);
  font-weight: 400;
  font-style: italic;
}

.mindset-statement span {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.65em;
  font-weight: 400;
}

.video-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.video-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.video-callout h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.video-callout > div > p:last-child {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.video-link {
  display: flex;
  min-width: 235px;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid rgba(244, 239, 227, 0.22);
  background: rgba(244, 239, 227, 0.025);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.video-link:hover {
  border-color: rgba(255, 98, 72, 0.65);
  background: rgba(255, 98, 72, 0.06);
  transform: translateY(-2px);
}

.video-link small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.play-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 10px;
  line-height: 1;
  text-indent: 2px;
}

footer {
  min-height: 92px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

footer p {
  margin: 0;
}

footer a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

footer a span {
  color: var(--accent);
  transition: transform 180ms ease;
}

footer a:hover {
  color: var(--accent);
}

footer a:hover span {
  transform: translate(2px, -2px);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 98, 72, 0);
  }
  45% {
    box-shadow: 0 0 0 7px rgba(255, 98, 72, 0.08);
  }
}

@keyframes chart-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes point-in {
  from {
    opacity: 0;
    transform: scale(0);
    transform-box: fill-box;
    transform-origin: center;
  }
  to {
    opacity: 1;
    transform: scale(1);
    transform-box: fill-box;
    transform-origin: center;
  }
}

@keyframes label-in {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes sheen {
  0%,
  65% {
    transform: translateX(0) rotate(18deg);
  }
  90%,
  100% {
    transform: translateX(245%) rotate(18deg);
  }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero-copy {
    display: block;
  }

  .chart-wrap {
    width: min(100%, 780px);
    margin-left: auto;
  }

  .video-callout {
    margin-top: 12px;
  }
}

@media (max-width: 680px) {
  main {
    width: min(100% - 28px, 1500px);
  }

  .site-header {
    min-height: 82px;
  }

  .wordmark {
    font-size: 10px;
  }

  .status {
    font-size: 9px;
  }

  .hero {
    gap: 48px;
    padding: 56px 0;
  }

  .hero-copy {
    display: block;
  }

  .title-primary {
    font-size: clamp(64px, 19vw, 88px);
  }

  .title-secondary {
    margin-top: 24px;
    font-size: clamp(17px, 4.8vw, 21px);
  }

  .mindset-statement {
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: flex-start;
    font-size: clamp(28px, 9vw, 38px);
  }

  .video-callout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }

  .video-link {
    width: 100%;
  }

  footer {
    min-height: 80px;
  }
}

@media (max-width: 430px) {
  .wordmark span:last-child {
    max-width: 130px;
    line-height: 1.3;
  }

  footer p {
    display: none;
  }

  footer {
    justify-content: flex-end;
  }
}

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