:root {
  --red: #ff2442;
  --red-deep: #d90d2d;
  --pink: #ff8cc6;
  --yellow: #ffe86a;
  --blue: #8dd7ff;
  --green: #7bd88f;
  --purple: #b59cff;
  --ink: #171513;
  --muted: #6e6862;
  --paper: #f6f1e8;
  --paper-light: #fffdf7;
  --line: rgba(23, 21, 19, 0.14);
  --shadow: 0 24px 80px rgba(34, 23, 10, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

button,
a,
summary {
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  color: white;
  background: var(--red);
}

.page-shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-content: center;
  gap: 18px;
  color: var(--paper-light);
  background: var(--ink);
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.loader.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.loader__mark {
  font-size: clamp(42px, 7vw, 92px);
  font-weight: 900;
  letter-spacing: -0.07em;
}

.loader__mark span {
  color: var(--red);
}

.loader__line {
  width: 100%;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.loader__line i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  transform: translateX(-100%);
  animation: loadLine 1.3s cubic-bezier(0.8, 0, 0.2, 1) forwards;
}

.loader p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
}

@keyframes loadLine {
  to { transform: translateX(0); }
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1200;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(23, 21, 19, 0.55);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

.cursor-ring.is-hovering {
  width: 58px;
  height: 58px;
  border-color: var(--red);
  background: rgba(255, 36, 66, 0.08);
}

.scroll-progress {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 100;
  height: 3px;
}

.scroll-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  z-index: 90;
  left: 24px;
  right: 24px;
  top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: white;
  background: rgba(23, 21, 19, 0.72);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, color 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(255, 36, 66, 0.17);
}

.desktop-nav {
  display: flex;
  gap: 28px;
}

.desktop-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: var(--red);
  transition: right 0.25s ease;
}

.desktop-nav a:hover {
  color: white;
}

.desktop-nav a:hover::after {
  right: 0;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.icon-button,
.menu-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
}

.icon-button svg {
  width: 17px;
}

.menu-button {
  display: none;
  align-content: center;
  gap: 5px;
}

.menu-button span {
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease;
}

.menu-open .menu-button span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-open .menu-button span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.menu-panel {
  position: fixed;
  z-index: 80;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  color: white;
  background: var(--ink);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.menu-panel.is-open {
  visibility: visible;
  opacity: 1;
}

.menu-panel__inner {
  width: min(760px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.menu-panel__inner > a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: clamp(30px, 7vw, 62px);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.menu-panel__inner > a span {
  color: var(--red);
  font-size: 13px;
}

.menu-panel__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: white;
  background: var(--ink);
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  animation: floatOrb 7s ease-in-out infinite alternate;
}

.hero__orb--one {
  right: -7vw;
  top: 20%;
  width: 31vw;
  height: 31vw;
  background: var(--red);
}

.hero__orb--two {
  left: 34%;
  bottom: -12vw;
  width: 22vw;
  height: 22vw;
  background: var(--blue);
  animation-delay: -2s;
}

@keyframes floatOrb {
  to { transform: translate3d(2vw, -2.5vw, 0) scale(1.05); }
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 64px));
  min-height: 100svh;
  margin-inline: auto;
  padding: 126px 0 54px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__kicker,
.hero__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__kicker span:last-child {
  color: rgba(255, 255, 255, 0.55);
}

.hero__title {
  position: relative;
  margin: 4vh 0;
  font-size: clamp(64px, 9.8vw, 146px);
  line-height: 0.86;
  letter-spacing: -0.09em;
  font-weight: 900;
}

.title-line {
  display: block;
}

.title-line em {
  position: relative;
  color: var(--red);
  font-style: normal;
}

.title-line em::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -8%;
  bottom: 2%;
  height: 9%;
  background: var(--pink);
  transform: rotate(-2deg);
  z-index: -1;
}

.title-line--shift {
  padding-left: 13vw;
}

.title-spark {
  display: inline-block;
  margin-left: 0.08em;
  color: var(--yellow);
  font-size: 0.35em;
  vertical-align: top;
  animation: spinSpark 7s linear infinite;
}

@keyframes spinSpark {
  to { transform: rotate(360deg); }
}

.hero__statement {
  position: absolute;
  right: 4%;
  top: 40%;
  width: 260px;
  padding: 22px;
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 12px 12px 0 var(--red);
  transform: rotate(2deg);
}

.hero__statement p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.hero__statement strong {
  font-size: 34px;
}

.statement-arrow {
  margin: 5px 0;
  text-align: center;
}

.statement-arrow svg {
  width: 30px;
  height: 30px;
}

.hero__footer {
  align-items: flex-end;
}

.hero__footer p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 58px;
  padding: 0 18px 0 28px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--red);
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(255, 36, 66, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.primary-button svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  color: var(--red);
  background: white;
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(255, 36, 66, 0.34);
}

.hero-card {
  position: absolute;
  z-index: 3;
  width: 170px;
  min-height: 150px;
  padding: 20px;
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.hero-card small,
.hero-card p {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.hero-card strong {
  display: block;
  margin: 22px 0 8px;
  font-size: 29px;
  letter-spacing: -0.06em;
}

.hero-card__pin {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.hero-card--a {
  left: 4vw;
  top: 30%;
  transform: rotate(-7deg);
}

.hero-card--b {
  left: 20vw;
  bottom: 11%;
  color: white;
  background: var(--red);
  transform: rotate(6deg);
}

.hero-card--b small,
.hero-card--b p {
  color: rgba(255, 255, 255, 0.65);
}

.hero-card--c {
  right: 8vw;
  bottom: 9%;
  background: var(--blue);
  transform: rotate(-5deg);
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  right: 25px;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.scroll-cue svg {
  width: 16px;
  animation: nudge 1.6s ease-in-out infinite;
}

@keyframes nudge {
  50% { transform: translateY(6px); }
}

.marquee {
  overflow: hidden;
  padding: 22px 0;
  color: white;
  background: var(--red);
  transform: rotate(-1.2deg) scale(1.02);
}

.marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 34px;
  animation: marquee 22s linear infinite;
}

.marquee__track span {
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.marquee__track b {
  color: var(--yellow);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.manifesto {
  padding: 120px 0 150px;
  background: var(--paper);
}

.manifesto__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr 0.75fr;
  gap: 44px;
  align-items: end;
}

.section-index,
.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.manifesto__copy h2 {
  margin: 0;
  font-size: clamp(42px, 5.5vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.07em;
}

.manifesto__copy h2 span {
  color: var(--red);
}

.manifesto__photo {
  position: relative;
  padding: 12px;
  background: white;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.manifesto__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.photo-label {
  position: absolute;
  left: -26px;
  bottom: 28px;
  padding: 9px 14px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  transform: rotate(-7deg);
}

.manifesto__aside {
  padding-bottom: 18px;
}

.manifesto__aside > p {
  color: var(--muted);
  line-height: 1.9;
}

.manifesto__aside blockquote {
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.section {
  padding: 130px 0;
}

.section-heading {
  margin-bottom: 72px;
}

.section-heading h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(52px, 8vw, 120px);
  line-height: 0.96;
  letter-spacing: -0.08em;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.proposal {
  background: var(--paper-light);
}

.theme-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
  gap: 28px;
}

.theme-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.theme-card__number {
  display: grid;
  place-items: center;
  align-self: start;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: white;
  background: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.theme-card h3,
.subsection-heading h3,
.budget-visual h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.theme-card p:not(.eyebrow) {
  max-width: 730px;
  color: var(--muted);
  line-height: 1.85;
}

.profile-note {
  position: relative;
  padding: 44px 34px 34px;
  background: var(--yellow);
  transform: rotate(1.5deg);
}

.tape {
  position: absolute;
  left: 50%;
  top: -18px;
  width: 92px;
  height: 34px;
  background: rgba(255, 255, 255, 0.62);
  transform: translateX(-50%) rotate(-3deg);
}

.profile-note h3 {
  margin: 0 0 20px;
  font-size: 31px;
  letter-spacing: -0.05em;
}

.profile-note > p:not(.eyebrow) {
  line-height: 1.75;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag-cloud span {
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.fact-card {
  min-height: 210px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--paper-light);
}

.fact-card svg {
  width: 23px;
  color: var(--red);
}

.fact-card small {
  margin: auto 0 8px;
  color: var(--muted);
}

.fact-card strong {
  font-size: 19px;
}

.fact-card span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.fact-card--wide {
  grid-column: span 4;
  min-height: 150px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 22px;
  align-items: center;
}

.fact-card--wide svg {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
}

.fact-card--wide small {
  align-self: end;
  margin: 0 0 5px;
}

.fact-card--wide strong {
  grid-column: 2;
  align-self: start;
  font-size: 27px;
}

.fact-card--wide span {
  grid-column: 2;
}

.subsection-heading {
  margin-top: 130px;
  margin-bottom: 44px;
}

.subsection-heading > p:last-child {
  color: var(--muted);
}

.timeline-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
  gap: 42px;
  align-items: start;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 74px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  width: 100%;
  min-height: 86px;
  padding: 17px 16px 17px 110px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-align: left;
  background: transparent;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.timeline-item:hover,
.timeline-item.is-active {
  color: var(--red);
  padding-left: 118px;
}

.timeline-item__time {
  position: absolute;
  left: 0;
  top: 24px;
  width: 60px;
  color: var(--muted);
  font-size: 12px;
}

.timeline-item__dot {
  position: absolute;
  left: 69px;
  top: 28px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--paper-light);
  border-radius: 50%;
  background: #c9c2b8;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform 0.25s ease, background 0.25s ease;
}

.timeline-item.is-active .timeline-item__dot {
  background: var(--red);
  transform: scale(1.45);
}

.timeline-item strong {
  font-size: 18px;
}

.timeline-item small {
  grid-column: 2;
  color: var(--muted);
}

.timeline-detail {
  position: sticky;
  top: 110px;
  min-height: 390px;
  padding: 34px;
  color: white;
  background: var(--ink);
  border-radius: var(--radius);
}

.timeline-detail::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.85;
}

.timeline-detail__count {
  position: absolute;
  right: 32px;
  top: 30px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
}

.timeline-detail h4 {
  max-width: 280px;
  margin: 72px 0 20px;
  font-size: 37px;
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.timeline-detail > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
}

.timeline-detail > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
}

.timeline-detail > div svg {
  width: 17px;
  color: var(--yellow);
}

.mechanics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mechanic-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mechanic-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.mechanic-card--red {
  color: white;
  background: var(--red);
}

.mechanic-card--yellow {
  background: var(--yellow);
}

.mechanic-card__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 75px;
}

.mechanic-card__top span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
}

.mechanic-card__top svg {
  width: 30px;
  height: 30px;
}

.mechanic-card h4 {
  margin: 0 0 14px;
  font-size: 34px;
  letter-spacing: -0.05em;
}

.mechanic-card > p {
  min-height: 80px;
  color: var(--muted);
  line-height: 1.75;
}

.mechanic-card--red > p {
  color: rgba(255, 255, 255, 0.75);
}

details {
  border-top: 1px solid currentColor;
}

summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 0;
  font-size: 13px;
  font-weight: 700;
}

summary::-webkit-details-marker {
  display: none;
}

summary svg {
  width: 18px;
  transition: transform 0.25s ease;
}

details[open] summary svg {
  transform: rotate(45deg);
}

details > div {
  padding: 16px 0 0;
  line-height: 1.75;
}

.formula {
  font-weight: 700;
}

.budget-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
  margin-top: 130px;
  align-items: center;
}

.budget-visual > p:last-child {
  color: var(--muted);
  line-height: 1.8;
}

.budget-donut {
  position: relative;
  width: min(330px, 80vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 50px 0 34px;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.budget-donut svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.budget-donut circle {
  fill: none;
  stroke-width: 29;
}

.budget-donut__base {
  stroke: var(--pink);
}

.budget-donut__value {
  stroke: var(--red);
  stroke-linecap: butt;
  stroke-dasharray: 80 20;
}

.budget-donut > div {
  position: relative;
  text-align: center;
}

.budget-donut strong {
  display: block;
  font-size: 64px;
  letter-spacing: -0.08em;
}

.budget-donut span {
  color: var(--muted);
  font-size: 12px;
}

.budget-list {
  border-top: 1px solid var(--ink);
}

.budget-row {
  display: grid;
  grid-template-columns: 12px minmax(150px, 0.85fr) minmax(170px, 1.2fr) auto;
  gap: 16px;
  align-items: center;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.budget-row__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.budget-row small {
  color: var(--muted);
}

.budget-row b {
  text-align: right;
}

.c-red { background: var(--red); }
.c-pink { background: var(--pink); }
.c-blue { background: var(--blue); }
.c-yellow { background: var(--yellow); }
.c-green { background: var(--green); }
.c-purple { background: var(--purple); }
.c-gray { background: #aaa; }

.budget-row--total {
  grid-template-columns: 1fr auto;
  padding-top: 30px;
  border: 0;
  font-size: 26px;
}

.logic {
  padding-top: 0;
  color: white;
  background: var(--ink);
}

.logic__photo {
  position: relative;
  height: min(82vh, 850px);
}

.logic__photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logic__photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 21, 19, 0.42);
  box-shadow: inset 0 -300px 220px -150px var(--ink);
}

.logic__photo-copy {
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
}

.logic__photo-copy h2 {
  margin: 0;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.logic__photo-copy > p:last-child {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
}

.logic-steps {
  position: relative;
  padding-top: 60px;
}

.logic-step {
  display: grid;
  grid-template-columns: 70px 74px minmax(0, 1fr);
  gap: 30px;
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.logic-step__index {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
}

.logic-step__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
}

.logic-step:nth-child(2) .logic-step__icon {
  background: var(--blue);
}

.logic-step:nth-child(3) .logic-step__icon {
  background: var(--pink);
}

.logic-step:nth-child(4) .logic-step__icon {
  background: var(--red);
  color: white;
}

.logic-step__body {
  max-width: 830px;
}

.logic-step__body h3 {
  margin: 0 0 28px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.logic-step__body > p:not(.eyebrow),
.logic-step__body li {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.85;
}

.logic-step__body ul,
.logic-step__body ol {
  margin: 28px 0;
  padding-left: 22px;
}

.connection-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.connection-types span {
  min-height: 140px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

.connection-types b {
  display: block;
  margin-bottom: 14px;
  color: white;
}

.trust-ladder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin: 36px 0;
}

.trust-ladder > div {
  min-height: 210px;
  padding: 24px;
  color: var(--ink);
  background: var(--paper);
}

.trust-ladder > div:nth-child(2) {
  background: var(--pink);
  transform: translateY(-14px);
}

.trust-ladder > div:nth-child(3) {
  color: white;
  background: var(--red);
  transform: translateY(-28px);
}

.trust-ladder span {
  font-size: 9px;
  letter-spacing: 0.14em;
}

.trust-ladder strong {
  display: block;
  margin: 52px 0 8px;
  font-size: 24px;
}

.trust-ladder p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.receipt {
  position: relative;
  margin: 55px 0 30px;
  padding: 42px;
  color: var(--ink);
  background: var(--yellow);
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.7;
  transform: rotate(-1deg);
}

.receipt span {
  position: absolute;
  top: -14px;
  left: 30px;
  padding: 7px 12px;
  color: white;
  background: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.logic-step--aha {
  border: 0;
}

.logic-step--aha blockquote {
  margin: 16px 0;
  padding: 28px;
  border-left: 4px solid var(--red);
  color: white;
  background: rgba(255, 255, 255, 0.06);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.65;
}

.metrics {
  background: var(--paper);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.metric-card {
  min-height: 700px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
}

.metric-card--dark {
  color: white;
  background: var(--ink);
}

.metric-card--blue {
  background: var(--blue);
}

.metric-card__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 75px;
}

.metric-card__head span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
}

.metric-card__head svg {
  width: 28px;
  height: 28px;
}

.metric-card h3 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.metric-card > p:not(.eyebrow) {
  min-height: 72px;
  color: var(--muted);
  line-height: 1.7;
}

.metric-card--dark > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.62);
}

.metric-numbers {
  margin: auto 0 30px;
}

.metric-numbers > div {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 2px;
  padding: 17px 0;
  border-bottom: 1px solid currentColor;
}

.metric-numbers strong {
  font-size: 38px;
  letter-spacing: -0.06em;
}

.metric-numbers em {
  font-style: normal;
  font-weight: 800;
}

.metric-numbers span {
  justify-self: end;
  color: var(--muted);
  font-size: 11px;
}

.metric-card--dark .metric-numbers span {
  color: rgba(255, 255, 255, 0.55);
}

.metric-card details > div {
  color: var(--muted);
  font-size: 13px;
}

.metric-card--dark details > div {
  color: rgba(255, 255, 255, 0.64);
}

.metric-card details[open] summary svg {
  transform: rotate(180deg);
}

.roadmap {
  background: var(--paper-light);
}

.roadmap-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}

.roadmap-tab {
  min-height: 78px;
  border: 0;
  border-radius: 15px;
  color: var(--muted);
  background: var(--paper-light);
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease;
}

.roadmap-tab span {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.roadmap-tab.is-active {
  color: white;
  background: var(--red);
}

.roadmap-panels {
  margin-top: 28px;
}

.phase-panel {
  display: none;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 70px;
  padding: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  animation: panelIn 0.45s ease both;
}

.phase-panel.is-active {
  display: grid;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.phase-panel__intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.priority {
  display: inline-block;
  margin-bottom: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 10px;
  font-weight: 800;
}

.priority--urgent {
  color: white;
  background: var(--red);
}

.phase-panel__intro h3 {
  margin: 0 0 20px;
  font-size: 46px;
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.phase-panel__intro > p:last-child {
  color: var(--muted);
  line-height: 1.8;
}

.phase-panel__tasks > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.phase-panel__tasks > div > span {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}

.phase-panel__tasks p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.phase-panel__tasks b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.deliverables {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  margin-top: 12px;
  padding: 25px;
  border-radius: 16px;
  color: var(--ink);
  background: var(--yellow);
}

.deliverables span {
  font-size: 12px;
  font-weight: 800;
}

.deliverables p {
  margin: 0;
  line-height: 1.7;
}

.risk-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 15px;
  background: var(--line);
  border: 1px solid var(--line);
}

.risk-grid span {
  min-height: 135px;
  padding: 20px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.risk-grid b {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 15px;
}

.closing {
  position: relative;
  min-height: 100svh;
  padding: 140px 0 100px;
  overflow: hidden;
  color: white;
  background: var(--red);
}

.closing__orb {
  position: absolute;
  right: -10vw;
  top: -14vw;
  width: 45vw;
  height: 45vw;
  border-radius: 50%;
  background: var(--pink);
  mix-blend-mode: screen;
}

.closing__content {
  position: relative;
  z-index: 2;
}

.closing__content .eyebrow {
  color: var(--yellow);
}

.closing h2 {
  margin: 0;
  font-size: clamp(64px, 10vw, 154px);
  line-height: 0.88;
  letter-spacing: -0.085em;
}

.closing__accent {
  color: var(--yellow);
  padding-left: 10vw;
}

.closing__summary {
  max-width: 680px;
  margin: 70px 0 38px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.8;
}

.closing__actions {
  display: flex;
  gap: 18px;
}

.primary-button--light {
  color: var(--ink);
  background: white;
}

.primary-button--light svg {
  color: white;
  background: var(--ink);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  color: white;
  background: transparent;
}

.text-button svg {
  width: 17px;
}

.closing__word {
  position: absolute;
  left: -1vw;
  bottom: -0.26em;
  color: rgba(255, 255, 255, 0.1);
  font-size: 24vw;
  font-weight: 900;
  letter-spacing: -0.1em;
  white-space: nowrap;
}

footer {
  padding: 50px 0;
  color: white;
  background: var(--ink);
}

footer .page-shell {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 28px;
}

footer div > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

footer span,
footer a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

footer strong {
  font-size: 18px;
}

.footer-credit {
  align-items: flex-end;
}

.footer-credit a {
  text-decoration: underline;
}

.toast {
  position: fixed;
  z-index: 150;
  left: 50%;
  bottom: 28px;
  padding: 13px 20px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  box-shadow: var(--shadow);
  transform: translate(-50%, 120px);
  transition: transform 0.35s ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .hero-card--a,
  .hero-card--b,
  .hero-card--c {
    display: none;
  }

  .hero__statement {
    right: 0;
  }

  .manifesto__grid {
    grid-template-columns: 1fr 0.75fr;
  }

  .manifesto__aside {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .theme-stage,
  .timeline-shell,
  .budget-section {
    grid-template-columns: 1fr;
  }

  .profile-note {
    max-width: 620px;
  }

  .timeline-detail {
    position: relative;
    top: 0;
  }

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

  .metric-card {
    min-height: auto;
  }

  .metric-numbers {
    margin-top: 50px;
  }

  .phase-panel {
    grid-template-columns: 1fr;
  }

  .phase-panel__intro {
    position: relative;
    top: 0;
  }

  .risk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .page-shell,
  .hero__content {
    width: min(100% - 32px, 1240px);
  }

  .site-header {
    left: 10px;
    right: 10px;
    top: 10px;
  }

  .desktop-nav,
  .icon-button {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .hero__content {
    padding-top: 105px;
  }

  .hero__kicker {
    flex-direction: column;
    gap: 6px;
  }

  .hero__title {
    margin-top: 14vh;
    font-size: clamp(52px, 16vw, 78px);
  }

  .title-line--shift {
    padding-left: 0;
  }

  .hero__statement {
    position: relative;
    top: auto;
    right: auto;
    width: 230px;
    margin: -6vh 0 5vh auto;
    padding: 17px;
  }

  .hero__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }

  .scroll-cue {
    display: none;
  }

  .manifesto,
  .section {
    padding: 90px 0;
  }

  .manifesto__grid,
  .manifesto__aside {
    grid-template-columns: 1fr;
  }

  .manifesto__photo {
    width: 82%;
    margin-left: auto;
  }

  .section-heading {
    margin-bottom: 50px;
  }

  .section-heading h2 {
    font-size: clamp(48px, 16vw, 82px);
  }

  .theme-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }

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

  .fact-card {
    min-height: 175px;
    padding: 22px;
  }

  .fact-card--wide {
    grid-column: span 2;
  }

  .timeline-item {
    padding-right: 0;
  }

  .timeline-item small {
    display: none;
  }

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

  .mechanic-card {
    padding: 28px;
  }

  .mechanic-card__top {
    margin-bottom: 46px;
  }

  .budget-row {
    grid-template-columns: 12px 1fr auto;
  }

  .budget-row small {
    display: none;
  }

  .logic__photo {
    height: 70vh;
  }

  .logic-step {
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 60px 0;
  }

  .logic-step__index {
    display: none;
  }

  .logic-step__icon {
    width: 48px;
    height: 48px;
  }

  .connection-types,
  .trust-ladder {
    grid-template-columns: 1fr;
  }

  .trust-ladder > div:nth-child(2),
  .trust-ladder > div:nth-child(3) {
    transform: none;
  }

  .receipt {
    padding: 32px 22px;
  }

  .metric-card {
    padding: 28px;
  }

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

  .roadmap-tab {
    min-height: 68px;
  }

  .phase-panel {
    padding: 28px;
    gap: 30px;
  }

  .phase-panel__intro h3 {
    font-size: 38px;
  }

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

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

  .closing {
    min-height: auto;
  }

  .closing__accent {
    padding-left: 0;
  }

  .closing__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  footer .page-shell {
    grid-template-columns: 1fr;
  }

  .footer-credit {
    align-items: flex-start;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .loader,
  .cursor-dot,
  .cursor-ring,
  .scroll-progress,
  .scroll-cue,
  .closing__actions,
  .marquee {
    display: none !important;
  }

  body {
    background: white;
  }

  .hero {
    min-height: 720px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .section,
  .manifesto {
    padding: 60px 0;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  details > div {
    display: block !important;
  }

  .phase-panel {
    display: grid !important;
    break-inside: avoid;
    margin-bottom: 20px;
  }

  .roadmap-tabs {
    display: none;
  }
}
