/* Metabolic CEO: brand tokens (locked palette and type) */
:root {
  --navy: #0B1B2E;
  --navy-2: #13283F;
  --blaze: #FF6A13;
  --ember: #D9480F;
  --bone: #F3F1EC;
  --bone-2: #E7E3DA;

  --bg: var(--bone);
  --ink: var(--navy);
  --soft: #3E4B5C;
  --accent: var(--blaze);

  --m: 32px;
  --gap: 24px;
  --axis: 42%;

  --t-xl: clamp(56px, 9.8vw, 150px);
  --t-l: clamp(36px, 4.6vw, 68px);
  --t-m: clamp(24px, 2.4vw, 36px);
  --t-s: 18px;
  --t-xs: 15px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --sec: clamp(120px, 14vw, 200px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: var(--t-s);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure, ol, ul { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blaze); outline-offset: 3px; }
::selection { background: var(--blaze); color: var(--navy); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--bone); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; }

/* Display type: brand headline style */
.hero-title, .h2, .cta-h, .spec-word, .m-fig, .plan {
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.04em;
}
.h2 { font-size: var(--t-l); line-height: .98; }
.h3 { font-size: var(--t-m); font-weight: 800; font-stretch: 112%; line-height: 1.1; letter-spacing: -.02em; }

/* Buttons: flat, square, one fill */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px;
  background: var(--blaze); color: var(--navy);
  font-weight: 700; font-size: 18px; text-decoration: none;
  transition: transform .2s var(--ease-out), background-color .2s;
}
.btn:hover { background: #FF7F33; }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--navy); color: var(--bone); }
.btn-ink:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); padding: 0; text-decoration: underline; text-underline-offset: 4px; min-height: 0; }
.btn-ghost:hover { background: transparent; color: var(--ember); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 34% 1fr;
  grid-template-rows: auto minmax(360px, 1fr);
  padding: 28px var(--m) 0;
  overflow: hidden;
}
.hero-left { grid-row: 1; grid-column: 1; }
.hero-right { grid-row: 1; grid-column: 2; min-width: 0; }
.hero-left { display: flex; flex-direction: column; padding-right: var(--gap); }
.wordmark img { width: clamp(260px, 23vw, 360px); height: auto; }
.hero-talk { margin-top: 11svh; }
.hero-tag { font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); margin-bottom: 14px; } /* taste-skill-ignore: brand data face */
.hero-lede { font-size: 22px; line-height: 1.35; max-width: 26ch; margin-bottom: 32px; }
.nav { display: flex; gap: 32px; font-size: var(--t-xs); padding-top: 10px; }
.nav a { text-decoration: none; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--blaze); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav a:hover::after { transform: scaleX(1); }
.hero-title { font-size: clamp(40px, calc((66vw - 64px) / 8.6), 120px); line-height: .84; margin-top: 7svh; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: block; animation: rise 1s var(--ease-out) both; }
.line + .line > span { animation-delay: .11s; }
.hero-talk { animation: fade .8s .5s var(--ease-out) both; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } }

.hero-photo {
  grid-row: 2; grid-column: 2; margin: 48px calc(var(--m) * -1) 0 0;
  position: relative; overflow: hidden;
}
.hero-photo video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 70%; }

/* Orange P&L teaser, fills the band left of the video */
.hero-pnl {
  grid-row: 2; grid-column: 1; margin: 48px 0 0 calc(var(--m) * -1);
  padding: 32px var(--gap) 32px var(--m);
  display: flex; flex-direction: column;
  background: var(--blaze); color: var(--navy); text-decoration: none;
  font-family: 'IBM Plex Mono', monospace; font-size: 16px; /* taste-skill-ignore: brand data face */
  transition: background-color .25s;
}
.hero-pnl:hover { background: #FF7F33; }
.hp-head { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.hp-row, .hp-total { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.hp-total { margin-top: 8px; padding-top: 12px; border-top: 3px solid var(--navy); font-size: 24px; font-weight: 500; }
.hp-link { margin-top: auto; padding-top: 16px; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 18px; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Section rhythm ---------- */
main > section { padding: var(--sec) var(--m); }

/* ---------- The day ---------- */
.day-top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.day-h { grid-column: 1 / 7; padding-left: 3vw; }
.day-intro { grid-column: 8 / 13; font-size: 22px; line-height: 1.4; max-width: 34ch; }
.day-body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); margin-top: 96px; align-items: start; }
.day-photos { grid-column: 1 / 5; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.day-photo { width: 86%; }
.day-photo + .day-photo { align-self: flex-end; }
.day-photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.day-table { grid-column: 5 / 13; padding-left: 4vw; border-collapse: collapse; font-size: 17px; width: 100%; }
.day-table thead th { font-size: 14px; font-weight: 600; color: var(--soft); padding: 0 0 16px; }
.day-table th, .day-table td { padding: 15px 0; text-align: left; vertical-align: middle; }
.day-table tbody th { font-weight: 400; color: var(--soft); width: 13%; font-variant-numeric: tabular-nums; }
.day-table .cost { text-align: right; font-weight: 600; padding-right: 28px; white-space: nowrap; }
.day-table .bar, .day-table .bar-h { width: 26%; }
.bar span:first-child { display: block; height: 14px; width: var(--e); background: var(--blaze); transform-origin: left; transition: transform 1s var(--ease-out); }
.bar.low span:first-child { background: var(--ember); }
.bar { background: linear-gradient(var(--bone-2), var(--bone-2)) left center / 100% 14px no-repeat; } /* taste-skill-ignore: flat track behind the bar */
.js .day-table:not(.in) .bar span:first-child { transform: scaleX(0); }
.day-table tbody tr:nth-child(n) .bar span:first-child { transition-delay: calc(var(--r, 0) * 70ms + .2s); }
.day-table tr.grp th, .day-table tr.grp td { padding-top: 44px; }
.day-table tr.grp .bar { background-position: left calc(50% + 14.5px); }

/* ---------- Fine vs flat ---------- */
.versus { position: relative; z-index: 1; background: var(--navy); color: var(--bone); overflow: hidden; padding-bottom: 0 !important; }
.versus-top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.versus-top .h3 { grid-column: 1 / 6; }
.versus-top p { grid-column: 7 / 13; font-size: 18px; max-width: 60ch; }
.versus-pair { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); margin-top: 12vh; font-size: clamp(120px, 15vw, 300px); }
.spec-word { height: .6em; overflow: hidden; }
.spec-cap { font-size: 16px; margin-bottom: 8px; }
.spec-word { font-size: 1em; line-height: .8; font-stretch: 100%; letter-spacing: -.05em; }
.spec-b .spec-word { color: var(--blaze); }

/* ---------- Live P&L ---------- */
.pnl { display: grid; grid-template-columns: var(--axis) 1fr; column-gap: var(--gap); align-items: start; background: var(--bone-2); }
.pnl-talk p { margin: 28px 0 36px; max-width: 38ch; }
.statement {
  background: var(--bg); padding: 36px 40px 40px;
  font-family: 'IBM Plex Mono', monospace; font-size: 16px; /* taste-skill-ignore: brand data face, P&L statement only */
}
.st-head { display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 500; padding-bottom: 16px; border-bottom: 2px solid var(--navy); }
.st-row { display: grid; grid-template-columns: 1fr auto 90px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid #C9C4B8; } /* taste-skill-ignore: statement ledger lines */
.st-row label { font-family: 'Archivo', sans-serif; font-size: 18px; }
.st-row select {
  font: inherit; color: var(--navy); background: var(--bone-2);
  border: 0; padding: 10px 34px 10px 12px; min-height: 44px; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B1B2E' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  transition: background-color .2s;
}
.st-row select:hover { background-color: #DCD7CB; }
.st-row output { font-size: 24px; }
.st-row output, .st-total output { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; transition: color .3s; }
.neg { color: var(--ember); }
.st-total { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 0 6px; border-bottom: 4px double var(--navy); font-weight: 500; font-size: 22px; }
.st-total output { font-size: 36px; }
.st-verdict { font-family: 'Archivo', sans-serif; font-size: 18px; margin-top: 20px; font-weight: 600; }
.bump { animation: bump .35s var(--ease-out); }
@keyframes bump { 50% { transform: scale(1.12); } }
.st-total output { display: inline-block; }

/* ---------- Sprint ---------- */
.sprint-talk p { margin-top: 24px; max-width: 46ch; }
.flow { margin-top: 72px; }
.flow svg { width: 100%; height: auto; display: block; }
.flow-mini { display: none; }
.flow-names { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); margin-top: 32px; }
.flow-names h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.flow-names p { font-size: 16px; max-width: 34ch; }
.weeks { list-style: none; padding: 0; margin-top: var(--sec); margin-left: var(--axis); columns: 2; column-gap: 56px; }
.weeks li { break-inside: avoid; margin-bottom: 22px; font-size: 18px; max-width: 40ch; }

/* ---------- Mosaic ---------- */
.mosaic { padding: 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); }
.m-cell { aspect-ratio: 1 / 1; overflow: hidden; }
.m-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.m-photo:hover img { transform: scale(1.05); }
.m-cell:not(.m-photo) { padding: 32px; display: flex; flex-direction: column; justify-content: space-between; font-size: 18px; }
.m-fig { font-size: clamp(64px, 9vw, 140px); line-height: .85; }
.m-blaze { background: var(--blaze); color: var(--navy); }
.m-bone { background: var(--bone); color: var(--navy); }
.m-navy { background: var(--navy); color: var(--bone); }
.m-ember { background: var(--navy-2); color: var(--bone); }
.m-ember .m-fig { color: var(--blaze); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr; column-gap: var(--gap); align-items: start; }
.about-photo { grid-column: 1 / 6; grid-row: 1 / 3; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-text { grid-column: 6 / 13; padding-left: var(--gap); grid-row: 1; font-size: var(--t-m); line-height: 1.2; padding-top: 8vh; }
.about-text p + p { margin-top: 1.2em; }
.about-text .soft { font-size: var(--t-s); line-height: 1.5; max-width: 52ch; }
.about-facts { grid-column: 6 / 13; padding-left: var(--gap); grid-row: 2; align-self: end; list-style: none; padding: 0; font-size: 16px; display: flex; gap: 32px; }

/* ---------- Pricing ---------- */
.price-table { width: 100%; border-collapse: collapse; font-size: 22px; table-layout: fixed; }
.price-table th, .price-table td { padding: 20px 24px; text-align: left; vertical-align: top; }
.price-table thead th { vertical-align: bottom; padding-top: 32px; padding-bottom: 32px; }
.price-table thead th:first-child { width: 34%; padding-left: 0; }
.price-table tbody th { font-weight: 400; padding-left: 0; }
.price-table tbody tr:nth-child(even) { background: var(--bone-2); }
.price-table tbody th, .price-table thead th:first-child { padding-left: 16px !important; }
.plan { display: block; font-size: var(--t-m); line-height: 1; }
.plan-price { display: block; font-size: var(--t-m); margin-top: 8px; font-weight: 400; }
.per { display: block; font-size: 16px; font-weight: 400; margin-top: 4px; }
.price-table .rec { background: var(--blaze); color: var(--navy); }
.price-table tbody tr:nth-child(even) .rec { background: #F7600A; }
.price-cta th { font-size: 16px; }
.price-cta td { vertical-align: middle; }

.price-phone { display: none; }
.price-phone .plan, .price-phone .plan-price { font-size: 9vw; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.faq .h3 { grid-column: 1 / 4; }
.faq-text { grid-column: 5 / 13; columns: 2; column-gap: 56px; font-size: 18px; line-height: 1.55; }
.faq-text p { break-inside: avoid; margin-bottom: 20px; }
.faq-text strong { font-weight: 600; }

/* ---------- CTA ---------- */
.cta { background: var(--navy); color: var(--bone); min-height: 90svh; display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 40px !important; }
.cta-h { font-size: clamp(56px, 10vw, 160px); line-height: .9; }
.cta-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 80px; }
.cta-foot p { font-size: 22px; max-width: 34ch; }

/* ---------- Footer ---------- */
.foot { background: var(--navy); color: var(--bone); min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: 160px var(--m) 20px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--gap); }
.foot-cols ul { list-style: none; padding: 0; font-size: 16px; color: #AEB6C2; }
.foot-cols li:first-child { color: var(--bone); font-weight: 600; }
.foot-cols li + li { margin-top: 6px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { color: var(--blaze); }
.foot-mark { grid-row: 3; }
.foot-mark svg { width: 100%; height: auto; display: block; }
.foot-mark text { font-family: 'Archivo', sans-serif; font-stretch: 125%; font-weight: 900; font-size: 104px; fill: var(--bone); letter-spacing: -.04em; }
.legal { font-size: 13px; color: #AEB6C2; margin-top: 20px; max-width: 110ch; }

/* ---------- Reveal (only when JS runs) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: none; }
  .hero-left, .hero-right, .hero-photo, .hero-pnl { grid-row: auto; grid-column: auto; }
  .hero-photo video { position: static; }
  .hero-left { display: contents; }
  .wordmark { order: 0; }
  .hero-right { order: 1; }
  .hero-talk { order: 2; margin-top: 28px; }
  .nav { display: none; }
  .hero-title { margin-top: 18svh; }
  .hero-photo { position: relative; left: auto; right: auto; top: auto; bottom: auto; order: 3; margin: 48px calc(var(--m) * -1) 0; height: auto; aspect-ratio: 4 / 3; }
  .hero-pnl { position: relative; left: auto; top: auto; bottom: auto; order: 4; width: auto; margin: 0 calc(var(--m) * -1); padding: 28px var(--m); }
  .hero-talk { margin-top: 28px; }
  .hero { padding-bottom: 0; }
  .pnl { grid-template-columns: 1fr; row-gap: 48px; }
  .day-photos { grid-column: 1 / 6; }
  .day-table { grid-column: 6 / 13; padding-left: 0; }
  .day-h { grid-column: 1 / 13; }
  .day-intro { grid-column: 1 / 13; margin-top: 24px; }
  .about-photo { grid-column: 1 / 7; }
  .about-text, .about-facts { grid-column: 7 / 13; }
  .about-text { padding-top: 0; font-size: 22px; }
  .about-facts { flex-direction: column; gap: 6px; margin-top: 32px; }
  .faq .h3 { grid-column: 1 / 13; margin-bottom: 32px; }
  .faq-text { grid-column: 1 / 13; }
  .weeks { margin-left: 0; }
  .plan, .plan-price { font-size: 22px; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  :root { --m: 20px; --sec: 104px; }
  .hero { min-height: 0; padding-top: 20px; }
  .wordmark img { width: 230px; }
  .hero-title { font-size: 11vw; line-height: .86; margin-top: 64px; }
  .hero-lede { font-size: 18px; }
  .hero-talk .btn { width: 100%; }

  .h2 { font-size: 9.2vw; }
  .day-h { padding-left: 0; }
  .day-body { display: flex; flex-direction: column; margin-top: 48px; }
  .day-table { order: 1; }
  .day-photos { order: 2; flex-direction: row; gap: 12px; margin-top: 48px; }
  .day-photo { width: 50%; }
  .day-table tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; }
  .day-table th, .day-table td { padding: 0; }
  .day-table th { grid-column: 1; grid-row: 1; width: auto; }
  .day-top { display: block; }
  .day-intro { font-size: 18px; }
  .day-table thead { display: none; }
  .day-table .cost { grid-column: 2; grid-row: 1; padding-right: 0; }
  .day-table td:nth-child(2) { grid-column: 1 / 3; grid-row: 2; }
  .day-table .bar { grid-column: 1 / 3; grid-row: 3; width: 100%; margin-top: 10px; }
  .bar span:first-child { height: 10px; }
  .bar { background-size: 100% 10px; }
  .day-table tr.grp { padding-top: 36px; }
  .day-table tr.grp th, .day-table tr.grp td { padding-top: 0; }
  .day-table tr.grp .bar { background-position: left center; }
  .versus { height: auto; padding-bottom: var(--sec) !important; }
  .versus-top { display: block; }
  .versus-top p { margin-top: 16px; }
  .versus-pair { grid-template-columns: 1fr; margin-top: 48px; row-gap: 0; }
  .versus-pair { font-size: 31vw; }
  .spec { padding: 20px 20px 0; margin: 0 -20px; }
  .spec-word { height: .66em; }
  .spec-b { background: var(--bone); color: var(--navy); }
  .spec-b .spec-word { color: var(--ember); }
  .statement { padding: 24px 20px 28px; margin: 0 -8px; }
  .st-row { grid-template-columns: 1fr auto; row-gap: 8px; }
  .st-row label { grid-column: 1 / 3; font-size: 16px; }
  .st-row output { text-align: right; }
  .st-total output { font-size: 30px; }
  .flow { display: none; }
  .flow-names { grid-template-columns: 1fr; row-gap: 32px; margin-top: 48px; }
  .flow-names > div { display: grid; grid-template-columns: 96px 1fr; column-gap: 20px; align-items: start; }
  .flow-mini { display: block; grid-row: 1 / 3; width: 96px; height: auto; margin-top: 4px; }
  .flow-names h3 { font-size: 20px; margin-bottom: 4px; }
  .flow-names p { font-size: 16px; line-height: 1.45; }
  .weeks { columns: 1; margin-top: 64px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic > :nth-child(3) { order: 4; } .mosaic > :nth-child(4) { order: 3; } .mosaic > :nth-child(5) { order: 6; } .mosaic > :nth-child(6) { order: 5; } .mosaic > :nth-child(1) { order: 1; } .mosaic > :nth-child(2) { order: 2; } .mosaic > :nth-child(7) { order: 7; } .mosaic > :nth-child(8) { order: 8; }
  .m-cell:not(.m-photo) { padding: 18px; font-size: 16px; }
  .m-fig { font-size: 64px; }
  .about { display: flex; flex-direction: column; }
  .about-photo { margin: 0 -20px 40px; }
  .about-text { font-size: 22px; line-height: 1.25; }

  .about-facts { margin-top: 32px; }
  .about-text, .about-facts { padding-left: 0; }
  .price-table, .price-table thead, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; }
  .price-table thead tr { display: none; }
  .price-table tbody tr { display: grid; grid-template-columns: 1fr; padding: 14px 0; background: none !important; }
  .price-table tbody th, .price-table thead th:first-child { padding-left: 0 !important; }
  .price-table th, .price-table td { padding: 0; font-size: 18px; }
  .price-table tbody th { color: var(--soft); }
  .price-table tbody td:not(.rec) { display: none; }
  .price-table .rec { background: none !important; color: var(--navy); font-weight: 600; }
  .price-cta td:not(.rec) { display: none; }
  .price-cta .rec { margin-top: 16px; }
  .price-cta .btn { width: 100%; }
  .price-phone { display: block !important; margin-bottom: 24px; }
  .price { background: var(--blaze); }
  .faq-text { columns: 1; font-size: 16px; }
  .faq-text p { margin-bottom: 18px; }
  .cta { min-height: 80svh; }
  .cta-h { font-size: 13vw; }
  .cta-foot { flex-direction: column; align-items: stretch; }
  .cta-foot p { font-size: 18px; }
  .cta-foot .btn { width: 100%; }
  .foot { padding-top: 64px; }
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 32px; font-size: 16px; }
  .legal { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
