@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --paper-deep: #e8e3d7;
  --ink: #151914;
  --muted: #626961;
  --line: rgba(21, 25, 20, 0.18);
  --acid: #8cff5a;
  --acid-soft: #d9ffc7;
  --blue: #3c67ff;
  --orange: #ff7047;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    linear-gradient(rgba(21, 25, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 25, 20, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  font-family: var(--sans);
}

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

button {
  font: inherit;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--blue);
}

.skip-link:focus {
  top: 1rem;
}

.topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 240, 232, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  font: 800 0.9rem var(--mono);
  letter-spacing: -0.05em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  aspect-ratio: 1;
  color: var(--ink);
  background: var(--acid);
  font: 900 0.7rem var(--mono);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.campaign-tag {
  color: var(--muted);
  font: 650 0.65rem var(--mono);
  letter-spacing: 0.08em;
}

.lang-button {
  width: 42px;
  height: 36px;
  border: 1px solid var(--ink);
  background: transparent;
  font: 800 0.68rem var(--mono);
}

.lang-button:hover {
  color: var(--paper);
  background: var(--ink);
}

main {
  width: min(1600px, 92vw);
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(2rem, 6vw, 8rem);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(4rem, 8vw, 8rem) 0 6rem;
}

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

.eyebrow {
  margin: 0 0 1rem;
  font: 800 0.66rem/1.4 var(--mono);
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 1.7rem;
  font-size: clamp(3.4rem, 7.2vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

h1 em {
  position: relative;
  z-index: 0;
  font-style: normal;
}

h1 em::after {
  content: "";
  position: absolute;
  left: -0.02em;
  right: -0.03em;
  bottom: 0.04em;
  z-index: -1;
  height: 0.34em;
  background: var(--acid);
  transform: rotate(-0.7deg);
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font: 800 0.73rem var(--mono);
  transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

.button.primary {
  background: var(--acid);
}

.button.ghost {
  background: rgba(243, 240, 232, 0.58);
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary:hover,
.button.ghost:hover {
  color: var(--paper);
  background: var(--ink);
}

.hero-signal {
  position: relative;
  min-height: min(70vh, 720px);
  isolation: isolate;
}

.signal-orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px solid rgba(21, 25, 20, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 86%;
  aspect-ratio: 1;
  animation: breathe 7s ease-in-out infinite;
}

.orbit-two {
  width: 58%;
  aspect-ratio: 1;
  border-color: rgba(60, 103, 255, 0.28);
  animation: breathe 7s 1.2s ease-in-out infinite reverse;
}

.signal-screen {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(52%, 360px);
  aspect-ratio: 0.72;
  padding: clamp(1.3rem, 3vw, 2.4rem);
  color: #f6f8f5;
  background: var(--ink);
  box-shadow: 28px 34px 0 rgba(21, 25, 20, 0.08);
  transform: translate(-50%, -50%) rotate(2deg);
}

.signal-time {
  color: var(--acid);
  font: 700 0.7rem var(--mono);
}

.signal-message {
  font-size: clamp(1.6rem, 3.6vw, 3.8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.signal-line {
  height: 5px;
  background: linear-gradient(90deg, var(--acid) 0 67%, rgba(255, 255, 255, 0.16) 67%);
}

.signal-person {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid var(--ink);
  border-radius: 50%;
}

.signal-person::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 22px;
  width: 22px;
  height: 44px;
  border-radius: 14px 14px 4px 4px;
  background: var(--ink);
  transform: translateX(-50%);
}

.person-a {
  left: 8%;
  top: 64%;
  transform: scale(1.35);
}

.person-b {
  right: 8%;
  top: 31%;
  border-color: var(--blue);
}

.person-b::after {
  background: var(--blue);
}

.person-c {
  right: 4%;
  bottom: 13%;
  transform: scale(0.74);
  border-color: var(--orange);
}

.person-c::after {
  background: var(--orange);
}

.hero-foot {
  position: absolute;
  inset: auto 0 1.6rem;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font: 0.64rem var(--mono);
}

@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(0.96); opacity: 0.55; }
  50% { transform: translate(-50%, -50%) scale(1.04); opacity: 1; }
}

.stories-section,
.framework-section {
  padding: clamp(5rem, 9vw, 9rem) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.section-heading h2,
.audience-card h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5.2vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.section-heading > p {
  max-width: 580px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.story-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ink);
  border-bottom: 0;
}

.story-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 1rem;
  min-height: 96px;
  padding: 1.2rem;
  color: var(--ink);
  border: 0;
  border-right: 1px solid var(--ink);
  background: transparent;
  text-align: left;
}

.story-tab:last-child {
  border-right: 0;
}

.story-tab > span {
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--muted);
  font: 700 0.68rem var(--mono);
}

.story-tab strong {
  align-self: end;
  font-size: 1rem;
}

.story-tab small {
  color: var(--muted);
  font: 0.64rem var(--mono);
}

.story-tab.active {
  color: var(--paper);
  background: var(--ink);
}

.story-tab.active span,
.story-tab.active small {
  color: var(--acid);
}

.story-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
  border: 1px solid var(--ink);
}

.story-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #a8c7ff;
  transition: background 350ms ease;
}

.scene-light {
  position: absolute;
  left: -10%;
  top: -20%;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 252, 215, 0.8);
  filter: blur(2px);
}

.scene-floor {
  position: absolute;
  inset: 61% -20% -20%;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(21, 25, 20, 0.08) 50%, transparent 50.2%),
    linear-gradient(rgba(21, 25, 20, 0.07) 1px, transparent 1px),
    #d9e4d6;
  background-size: 130px 100%, 100% 48px, auto;
  transform: perspective(400px) rotateX(48deg);
  transform-origin: top;
}

.digital-screen {
  position: absolute;
  left: 13%;
  top: 15%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 48%;
  min-width: 250px;
  aspect-ratio: 1.42;
  padding: clamp(1.2rem, 2vw, 2rem);
  color: #fff;
  background: var(--ink);
  box-shadow: 16px 20px 0 rgba(21, 25, 20, 0.14);
}

.screen-label {
  color: var(--acid);
  font: 700 0.7rem var(--mono);
}

.digital-screen strong {
  font-size: clamp(1.65rem, 3.2vw, 3.2rem);
  line-height: 0.95;
}

.screen-progress {
  display: block;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
}

.screen-progress i {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--acid);
}

.human {
  position: absolute;
  z-index: 5;
  width: 88px;
  height: 230px;
  transform-origin: bottom;
}

.human-main {
  right: 18%;
  bottom: 10%;
}

.human-side {
  right: 1%;
  bottom: 20%;
  transform: scale(0.62);
  opacity: 0.62;
}

.human-head {
  position: absolute;
  left: 50%;
  top: 0;
  width: 50px;
  height: 56px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: #e5ad79;
  transform: translateX(-50%);
}

.human-body {
  position: absolute;
  left: 50%;
  top: 52px;
  width: 84px;
  height: 155px;
  border-radius: 36px 36px 8px 8px;
  background: var(--blue);
  transform: translateX(-50%);
}

.human-shadow {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 126px;
  height: 22px;
  border-radius: 50%;
  background: rgba(21, 25, 20, 0.18);
  filter: blur(3px);
  transform: translate(-50%, 50%);
}

.help-path {
  position: absolute;
  left: 24%;
  bottom: 16%;
  z-index: 4;
  display: flex;
  gap: 1rem;
  transform: rotate(6deg);
}

.help-path span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  animation: pathPulse 1.5s ease-in-out infinite;
}

.help-path span:nth-child(2) { animation-delay: 0.2s; }
.help-path span:nth-child(3) { animation-delay: 0.4s; }

@keyframes pathPulse {
  0%, 100% { opacity: 0.28; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.15); }
}

.scene-caption {
  position: absolute;
  inset: auto 1.3rem 1.3rem;
  z-index: 8;
  display: flex;
  justify-content: space-between;
  font: 700 0.62rem var(--mono);
}

.scene-retail {
  background: #ffc978;
}

.scene-retail .human-body {
  background: var(--orange);
}

.scene-retail .scene-floor {
  background-color: #eddfc7;
}

.scene-retail .help-path span {
  background: var(--orange);
}

.scene-city {
  background: #9de3c2;
}

.scene-city .human-body {
  background: #315749;
}

.scene-city .scene-floor {
  background-color: #cfd3c9;
}

.scene-city .help-path span {
  background: #315749;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
  background: rgba(243, 240, 232, 0.92);
}

.story-kicker {
  margin-bottom: 1.1rem;
  color: var(--blue);
  font: 800 0.67rem var(--mono);
  letter-spacing: 0.14em;
}

.story-copy h3 {
  max-width: 600px;
  margin-bottom: 1.4rem;
  font-size: clamp(2.8rem, 5vw, 5.7rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.story-lede {
  max-width: 650px;
  margin-bottom: 1.7rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.story-copy blockquote {
  max-width: 620px;
  margin-bottom: 2.2rem;
  padding-left: 1.2rem;
  border-left: 5px solid var(--acid);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
}

.story-arc {
  display: grid;
  gap: 1rem;
}

.story-arc > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.story-arc span {
  color: var(--muted);
  font: 750 0.62rem var(--mono);
}

.story-arc p {
  margin-bottom: 0;
  font-size: 0.91rem;
  line-height: 1.5;
}

.principle-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(4rem, 9vw, 9rem) 4vw;
  color: #f4f6f2;
  background: var(--ink);
  text-align: center;
}

.principle-band > p {
  color: var(--acid);
  font: 750 0.66rem var(--mono);
  letter-spacing: 0.16em;
}

.principle-band blockquote {
  max-width: 1220px;
  margin: 0 auto;
  font-size: clamp(2.7rem, 6.2vw, 7rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.principle-band em {
  color: var(--acid);
  font-style: normal;
}

.impact-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ink);
}

.impact-path article {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-right: 1px solid var(--ink);
}

.impact-path article:last-child {
  border-right: 0;
}

.path-number {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  margin-bottom: auto;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font: 750 0.65rem var(--mono);
}

.path-label {
  margin: 2rem 0 0.65rem;
  color: var(--blue);
  font: 750 0.62rem var(--mono);
}

.impact-path h3 {
  margin-bottom: 1rem;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.impact-path p:not(.path-label) {
  color: var(--muted);
  line-height: 1.55;
}

.impact-path small {
  display: block;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font: 0.67rem/1.5 var(--mono);
}

.impact-path article:nth-child(2) .path-number { background: var(--acid); }
.impact-path article:nth-child(3) .path-number { color: #fff; background: var(--blue); }
.impact-path article:nth-child(4) .path-number { background: #ffc978; }

.audience-section {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  margin-bottom: clamp(5rem, 9vw, 9rem);
  border: 1px solid var(--ink);
}

.audience-card {
  padding: clamp(2rem, 5vw, 5rem);
  background: var(--acid);
}

.audience-toggle {
  display: inline-flex;
  margin-bottom: clamp(3rem, 7vw, 7rem);
  border: 1px solid var(--ink);
}

.audience-toggle button {
  min-height: 40px;
  padding: 0 1rem;
  border: 0;
  background: transparent;
  font: 750 0.66rem var(--mono);
}

.audience-toggle button.active {
  color: var(--paper);
  background: var(--ink);
}

.audience-card h2 {
  margin-bottom: 1.4rem;
}

.audience-card > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.65;
}

.button.dark {
  color: var(--paper);
  background: var(--ink);
}

.button.dark:hover {
  color: var(--ink);
  background: var(--paper);
}

.campaign-kit {
  padding: clamp(2rem, 4vw, 4rem);
  color: #f5f7f4;
  background: var(--ink);
}

.campaign-kit .eyebrow {
  color: var(--acid);
}

.campaign-kit h3 {
  max-width: 420px;
  margin-bottom: 3rem;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.campaign-kit ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.campaign-kit li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.campaign-kit li > span {
  color: var(--acid);
  font: 750 0.66rem var(--mono);
}

.campaign-kit li p {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.campaign-kit strong {
  font-size: 0.95rem;
}

.campaign-kit small {
  color: #9ba39b;
  line-height: 1.4;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  width: min(1600px, 92vw);
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 0.66rem/1.5 var(--mono);
}

.footer-brand {
  color: var(--ink);
}

footer p {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 1080px) {
  .hero,
  .story-stage,
  .audience-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 5rem;
  }

  .hero-signal {
    min-height: 620px;
  }

  .story-visual {
    min-height: 600px;
  }

  .impact-path {
    grid-template-columns: 1fr 1fr;
  }

  .impact-path article:nth-child(2) {
    border-right: 0;
  }

  .impact-path article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ink);
  }

  .audience-toggle {
    margin-bottom: 4rem;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding: 0 1rem;
  }

  .campaign-tag {
    display: none;
  }

  main {
    width: calc(100% - 1.5rem);
  }

  .hero,
  .hero > *,
  .hero-copy {
    min-width: 0;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 13vw, 4.2rem);
    overflow-wrap: anywhere;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-foot {
    gap: 0.7rem;
    flex-wrap: wrap;
  }

  .hero-signal {
    min-height: 460px;
  }

  .signal-screen {
    width: 58%;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .story-tabs {
    grid-template-columns: 1fr;
  }

  .story-tab {
    min-height: 74px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .story-tab:last-child {
    border-bottom: 0;
  }

  .story-visual {
    min-height: 480px;
  }

  .digital-screen {
    left: 7%;
    top: 12%;
    width: 62%;
    min-width: 0;
  }

  .human-main {
    right: 8%;
    transform: scale(0.84);
  }

  .story-copy {
    padding: 2rem 1.3rem;
  }

  .story-arc > div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .impact-path {
    grid-template-columns: 1fr;
  }

  .impact-path article {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .impact-path article:last-child {
    border-bottom: 0;
  }

  .audience-card,
  .campaign-kit {
    padding: 2rem 1.3rem;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer .brand {
    justify-content: center;
  }
}

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