/* Homepage-only sections */

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(24px, 4vw, 56px));
  padding-bottom: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero__figure {
  position: absolute;
  z-index: -1;
  top: 0;
  right: max(0px, calc((100vw - var(--max)) / 2));
  width: min(58vw, 820px);
  height: 100%;
  -webkit-mask-image: radial-gradient(75% 70% at 55% 42%, #000 50%, transparent 100%);
  mask-image: radial-gradient(75% 70% at 55% 42%, #000 50%, transparent 100%);
}
.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: grayscale(1) contrast(1.15) brightness(0.92);
  animation: hero-in 2.2s var(--ease) both;
}
@keyframes hero-in { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
.hero__glow {
  position: absolute;
  z-index: -2;
  right: 8%;
  top: 18%;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 36, 0.22), transparent 62%);
  filter: blur(20px);
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.hero__coords { text-align: right; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; line-height: 1.8; color: var(--on-ink-faint); text-transform: uppercase; }
.hero__title {
  margin-top: auto;
  padding-top: clamp(40px, 8vh, 100px);
  font-size: clamp(76px, 15.2vw, 250px);
  line-height: 0.8;
}
.hero__title .serif { color: var(--red); font-size: 0.86em; margin-left: 0.08em; }
.hero__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  gap: 40px;
  margin-top: clamp(32px, 4vw, 56px);
}
.hero__lead { max-width: 44ch; font-size: clamp(17px, 1.35vw, 20px); color: var(--on-ink-muted); }
.hero__lead strong { color: var(--on-ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-ink);
}
.stat { padding: 18px 16px 0 0; }
.stat + .stat { padding-left: 16px; border-left: 1px solid var(--line-ink); }
.stat__num { font-family: var(--f-display); font-weight: 900; font-size: clamp(40px, 4.2vw, 64px); line-height: 0.9; display: flex; align-items: baseline; gap: 2px; }
.stat__num sup { font-size: 0.45em; color: var(--red); top: 0; vertical-align: top; line-height: 1; }
.stat__label { margin-top: 8px; font-size: 13px; line-height: 1.35; color: var(--on-ink-muted); }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 1px;
  height: 44px;
  background: var(--line-ink);
  overflow: hidden;
}
.hero__scroll::after { content: ""; position: absolute; inset: 0; background: var(--red); animation: scroll-hint 2.2s var(--ease-in-out) infinite; }
@keyframes scroll-hint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (max-width: 900px) {
  .hero__figure { width: 100vw; right: 0; opacity: 0.55; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__coords { display: none; }
  .hero__scroll { display: none; }
}
@media (max-width: 520px) {
  .stat__label { font-size: 12px; }
}

/* ---------- manifesto (scroll-scrubbed words) ---------- */
.manifesto__grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 5vw, 80px); }
.manifesto__text {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(28px, 3.7vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.manifesto__text p + p { margin-top: 0.75em; }
.manifesto__text .serif { font-size: 1.1em; letter-spacing: -0.01em; }
.manifesto__text .w { opacity: 0.16; transition: opacity 0.35s linear; }
.manifesto__text .w.on { opacity: 1; }
.manifesto__text .red.w.on { color: var(--red); }
.manifesto__aside { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.manifesto__note { font-size: 15px; line-height: 1.55; color: var(--on-ink-muted); max-width: 30ch; }
.manifesto__sig { font-family: var(--f-serif); font-style: italic; font-size: 30px; line-height: 1; }
.manifesto__sig small { display: block; margin-top: 6px; font-family: var(--f-mono); font-style: normal; font-size: 11px; letter-spacing: 0.1em; color: var(--on-ink-faint); text-transform: uppercase; }
@media (max-width: 900px) {
  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__aside { order: 2; flex-direction: row; align-items: flex-end; flex-wrap: wrap; }
}

/* ---------- method: mind / muscle / fuel ---------- */
.method__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.method__head p { max-width: 44ch; justify-self: end; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-paper); }
.pillar {
  position: relative;
  padding: 36px clamp(20px, 2.4vw, 40px) 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
}
.pillar + .pillar { border-left: 1px solid var(--line-paper); }
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.7s var(--ease-in-out);
}
.pillar:hover::before { transform: scaleY(1); }
.pillar:hover { color: var(--paper); }
.pillar:hover .pillar__body { color: var(--on-ink-muted); }
.pillar:hover .pillar__n { color: var(--red); }
.pillar__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--on-paper-muted); transition: color 0.4s; }
.pillar__word { font-size: clamp(64px, 7.2vw, 124px); line-height: 0.82; margin-top: auto; }
.pillar__word.serif { font-size: clamp(70px, 7.8vw, 134px); }
.pillar__sub { font-weight: 700; font-size: 19px; }
.pillar__body { color: var(--on-paper-muted); font-size: 16px; line-height: 1.6; max-width: 36ch; transition: color 0.4s; }
.pillar__list { display: grid; gap: 6px; font-size: 14px; font-family: var(--f-mono); letter-spacing: 0.02em; }
.pillar__list li::before { content: "→ "; color: var(--red); }
.pillar__icon { width: 44px; height: 44px; }
@media (max-width: 960px) {
  .method__head { grid-template-columns: 1fr; }
  .method__head p { justify-self: start; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 0; padding-top: 32px; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line-paper); }
  .pillar__word { margin-top: 24px; }
}

/* ---------- services list ---------- */
.services__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.svc-list { border-top: 1px solid var(--line-ink); }
.svc {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1.4fr) minmax(0, 1fr) 64px;
  align-items: center;
  gap: 24px;
  padding: clamp(28px, 3.4vw, 52px) 0;
  border-bottom: 1px solid var(--line-ink);
  transition: padding 0.6s var(--ease);
}
.svc__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--on-ink-faint); align-self: start; padding-top: 12px; }
.svc__title { font-size: clamp(40px, 5.6vw, 92px); line-height: 0.86; transition: color 0.4s, transform 0.6s var(--ease); }
.svc__title .serif { display: block; font-size: 0.62em; color: var(--on-ink-muted); line-height: 1.1; margin-top: 6px; }
.svc__desc { color: var(--on-ink-muted); font-size: 16px; max-width: 40ch; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.svc__tags span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; padding: 5px 9px 4px; border: 1px solid var(--line-ink); border-radius: 100px; color: var(--on-ink-muted); }
.svc__go { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-ink); display: grid; place-items: center; transition: background 0.5s var(--ease), border-color 0.5s, transform 0.6s var(--ease); }
.svc__go svg { width: 22px; height: 22px; transition: transform 0.6s var(--ease); }
.svc:hover .svc__title { color: var(--red); transform: translateX(10px); }
.svc:hover .svc__go { background: var(--red); border-color: var(--red); color: var(--ink); }
.svc:hover .svc__go svg { transform: rotate(-45deg); }
.svc__peek {
  position: absolute;
  z-index: 3;
  width: 280px;
  aspect-ratio: 4 / 5;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85) rotate(-4deg);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}
.svc:hover .svc__peek { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
.svc__peek img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
@media (hover: none), (max-width: 900px) { .svc__peek { display: none; } }
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr 56px; gap: 16px 20px; }
  .svc__n { grid-column: 1 / -1; padding: 0; }
  .svc__title { grid-column: 1; }
  .svc__go { grid-column: 2; grid-row: 2; width: 56px; height: 56px; }
  .svc__body { grid-column: 1 / -1; }
}

/* ---------- transformations ---------- */
.tx__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.tx__head p { justify-self: end; max-width: 40ch; }
.tx-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 2.4vw, 36px); align-items: stretch; }
.tx-card { position: relative; display: flex; flex-direction: column; background: var(--ink); border: 1px solid var(--line-ink); border-radius: var(--radius); overflow: hidden; }
.tx-card__media { aspect-ratio: 1 / 1; }
.tx-card__media img { object-position: 50% 30%; }
.tx-card__body { padding: clamp(24px, 2.8vw, 40px); display: flex; flex-direction: column; gap: 20px; flex: 1; }
.tx-card__who { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.tx-card__name { font-size: clamp(36px, 3.6vw, 56px); line-height: 0.9; }
.tx-card__weeks { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.tx-card__goal { color: var(--on-ink-muted); font-size: 16px; max-width: 46ch; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-ink); margin-top: auto; }
.metric { padding-top: 18px; }
.metric + .metric { padding-left: 18px; border-left: 1px solid var(--line-ink); }
.metric__v { font-family: var(--f-display); font-weight: 900; font-size: clamp(38px, 3.8vw, 60px); line-height: 0.9; }
.metric__v small { font-size: 0.42em; margin-left: 3px; color: var(--on-ink-muted); font-weight: 800; }
.metric__k { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ink-faint); margin-top: 6px; }

/* typographic card — used when no client photo is available */
.tx-card--type { background: var(--red); color: var(--ink); border-color: var(--red); }
.tx-card--type .tx-card__weeks { color: var(--ink); }
.tx-card--type .tx-card__goal { color: rgba(11, 11, 10, 0.72); }
.tx-card--type .metrics { border-color: rgba(11, 11, 10, 0.22); }
.tx-card--type .metric + .metric { border-color: rgba(11, 11, 10, 0.22); }
.tx-card--type .metric__v small, .tx-card--type .metric__k { color: rgba(11, 11, 10, 0.6); }
.tx-card__hero {
  padding: calc(clamp(24px, 2.8vw, 40px) + 0.08em) clamp(24px, 2.8vw, 40px) 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(120px, 17vw, 280px);
  line-height: 0.78;
  letter-spacing: -0.03em;
  display: flex;
  align-items: flex-start;
}
.tx-card__hero small { font-size: 0.26em; letter-spacing: 0; margin: 0.12em 0 0 0.1em; }
.tx-card__summary { font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.25; }
@media (max-width: 900px) {
  .tx__head, .tx-grid { grid-template-columns: 1fr; }
  .tx__head p { justify-self: start; }
}

/* ---------- reviews ---------- */
.reviews__grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.score { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 18px; }
.score__big { font-family: var(--f-display); font-weight: 900; font-size: clamp(120px, 14vw, 200px); line-height: 0.78; letter-spacing: -0.03em; }
.score__big span { color: var(--red); }
.score__meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--on-ink-muted); }
.review-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
.review-cards { padding-bottom: clamp(0px, 5vw, 72px); }
.review-cards .review:nth-child(even) { transform: translateY(clamp(0px, 5vw, 72px)); }
.review__lead { font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 2.1vw, 32px); line-height: 1.12; }
.review__txt { color: var(--on-ink-muted); font-size: 16px; line-height: 1.6; }
.review--accent { background: var(--paper); color: var(--on-paper); border-color: var(--paper); }
.review--accent .review__txt { color: var(--on-paper-muted); }
.review--accent figcaption { border-color: var(--line-paper); }
.review--accent .review__meta { color: var(--on-paper-muted); }
@media (max-width: 1000px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .score { position: static; grid-template-columns: auto 1fr; align-items: end; }
}
@media (max-width: 680px) {
  .review-cards { grid-template-columns: 1fr; }
  .review-cards { padding-bottom: 0; }
  .review-cards .review:nth-child(even) { transform: none; }
  .score { grid-template-columns: 1fr; }
}

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.about__media { position: relative; }
.about__media .photo { aspect-ratio: 4 / 5; }
.about__media .photo img { object-position: 30% 40%; }
.about__badge {
  position: absolute;
  right: -28px;
  bottom: 48px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--red);
  color: var(--ink);
  display: grid;
  place-items: center;
  text-align: center;
  animation: spin 22s linear infinite;
}
.about__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.about__badge b { font-family: var(--f-display); font-weight: 900; font-size: 44px; line-height: 0.8; animation: spin 22s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__title { margin-bottom: 32px; }
.about__copy { display: grid; gap: 18px; max-width: 54ch; }
.about__copy p { color: var(--on-paper-muted); }
.about__copy p:first-child { color: var(--on-paper); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 40px 0 36px; border-top: 1px solid var(--line-paper); }
.fact { padding: 16px 16px 0 0; }
.fact + .fact { padding-left: 16px; border-left: 1px solid var(--line-paper); }
.fact b { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; text-transform: uppercase; }
.fact span { font-size: 13px; line-height: 1.35; color: var(--on-paper-muted); display: block; margin-top: 6px; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__badge { right: 12px; bottom: -40px; width: 120px; height: 120px; }
  .about__badge b { font-size: 36px; }
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { position: relative; padding: 0 clamp(16px, 2vw, 32px) 0 0; }
.step__bar { position: relative; height: 2px; background: var(--line-ink); margin-bottom: 28px; overflow: hidden; }
.step__bar::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-in-out); transition-delay: calc(var(--d, 0) * 250ms + 200ms); }
.steps.is-in .step__bar::after { transform: scaleX(1); }
.step__n { font-family: var(--f-display); font-weight: 900; font-size: 80px; line-height: 0.8; color: var(--ink-4); margin-bottom: 20px; }
.step h3 { font-size: 21px; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.step p { color: var(--on-ink-muted); font-size: 15px; line-height: 1.6; }
.step__when { display: inline-block; margin-top: 16px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 48px 0; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- faq layout ---------- */
.faq-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.faq-layout__side { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 28px; }
.faq-layout__side p { color: var(--on-paper-muted); max-width: 36ch; }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout__side { position: static; }
}

/* 24-week strip inside the typographic case card */
.weeks { display: grid; grid-template-columns: repeat(24, 1fr); gap: 4px; align-items: end; height: 64px; }
.weeks i { display: block; background: var(--ink); height: calc(30% + var(--h) * 70%); transform-origin: bottom; transform: scaleY(0); transition: transform 0.8s var(--ease); transition-delay: calc(var(--n) * 35ms + 300ms); }
.is-in .weeks i, .weeks.is-in i { transform: scaleY(1); }
.weeks-legend { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(11, 11, 10, 0.6); margin-top: 8px; }

@media (max-width: 520px) {
  .metric__v { font-size: 32px; }
  .metric + .metric { padding-left: 12px; }
  .metric__v small { font-size: 0.5em; margin-left: 2px; }
}
