/* Pro Advisor USA. Direction: colour chapters (post red, mustard), Switzer. */
:root {
  --bg: #e2dccf;
  --surface: #d7d0c1;
  --ink: #2a1110;
  --muted: #57403b;
  --accent: #4a6f84;
  --accent-ink: #ffffff;
  --red: #dc1928;     --red-ink: #ffffff;
  --maroon: #952625;  --maroon-ink: #ffffff;
  --mustard: #e0a912; --mustard-ink: #2a1110;
  --slate: #4a6f84;   --slate-ink: #ffffff;
  --bone: #e2dccf;    --bone-ink: #2a1110;

  --font: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);

  --m: clamp(16px, 2.2vw, 28px);
  --radius: 0px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; text-wrap: balance; }
p { max-width: 62ch; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.field { position: relative; overflow: hidden; }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; transition: text-decoration-color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }

/* ---------- hero: giant cropped shape ---------- */
.hero { min-height: 100svh; background: var(--bone); color: var(--bone-ink); display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; padding: 0 var(--m); }
.wordmark-top { position: absolute; top: 32px; left: 32px; font-weight: 600; font-size: 18px; letter-spacing: -0.03em; text-decoration: none; z-index: 3; }
.toplinks { position: absolute; top: 32px; right: 32px; display: flex; gap: 24px; font-size: 16px; z-index: 3; }
.toplinks a { text-decoration: none; color: var(--bone); }
.shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; width: 120vh; height: 120vh; border-radius: 50%; top: 55%; transform: translate(-50%, -50%); }
.shape.a { left: 80%; background: var(--red); }
.shape.b { left: 66%; top: 30%; width: 62vh; height: 62vh; background: var(--mustard); mix-blend-mode: multiply; }
.hero-copy { grid-column: 1 / span 6; position: relative; z-index: 2; padding-left: 6%; }
.hero h1 { font-size: clamp(64px, 6.4vw, 100px); letter-spacing: -0.03em; }
.hero-sub { margin-top: 28px; font-size: 18px; line-height: 1.45; max-width: 34ch; }
.cta-pill { margin-top: 32px; display: inline-flex; align-items: center; min-height: 56px; padding: 0 30px; border-radius: 999px; background: var(--slate); color: var(--slate-ink); text-decoration: none; font-weight: 500; transition: transform 140ms var(--ease-out), background-color 180ms ease; }
.cta-pill:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .cta-pill:hover { background: #3c5d70; } }

/* ---------- features: statements on colour fields ---------- */
.stmt { min-height: 78svh; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr auto; padding: 28px; }
.stmt p { grid-column: 8 / span 4; grid-row: 1; font-size: 18px; line-height: 1.5; max-width: 30ch; padding-top: 12px; }
.stmt h2 { grid-column: 1 / -1; grid-row: 3; font-size: clamp(56px, 9vw, 150px); line-height: 0.9; max-width: 12ch; }
.stmt.mirror p { grid-column: 2 / span 4; }
.stmt.mirror h2 { justify-self: end; text-align: right; }
.f-red { background: var(--red); color: var(--red-ink); }
.f-bone { background: var(--bone); color: var(--bone-ink); }
.f-maroon { background: var(--maroon); color: var(--maroon-ink); }
.f-mustard { background: var(--mustard); color: var(--mustard-ink); }
.f-slate { background: var(--slate); color: var(--slate-ink); }

/* ---------- how it works: drag through the stages ---------- */
.stages { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; position: relative; }
.stage-text { background: var(--bone); color: var(--bone-ink); padding: 56px 28px 160px; }
.stage-text h2 { font-size: clamp(40px, 4.6vw, 76px); max-width: 12ch; transition: opacity 200ms ease; }
.stage-text p { margin-top: 24px; font-size: 18px; max-width: 36ch; transition: opacity 200ms ease; }
.stage-ui { background: var(--slate); display: grid; place-items: center; padding: 56px 28px 160px; }
.stage-bar { position: absolute; left: 28px; right: 28px; bottom: 36px; }
.stage-bar input { width: 100%; -webkit-appearance: none; appearance: none; height: 32px; background: transparent; cursor: pointer; }
.stage-bar input::-webkit-slider-runnable-track { height: 8px; background: linear-gradient(to right, var(--ink) var(--p, 0%), var(--surface) var(--p, 0%)); } /* taste-skill-ignore: hard-stop progress fill */
.stage-bar input::-moz-range-track { height: 8px; background: var(--surface); }
.stage-bar input::-moz-range-progress { height: 8px; background: var(--ink); }
.stage-bar input::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; background: var(--mustard); border: 0; border-radius: 0; }
.stage-bar input::-moz-range-thumb { width: 32px; height: 32px; background: var(--mustard); border: 0; border-radius: 0; }
.stage-names { display: grid; grid-template-columns: repeat(4, 1fr); font-size: 16px; margin-top: 10px; }
.stage-names button { text-align: left; color: var(--muted); transition: color 180ms ease; }
.stage-names button[aria-current="step"] { color: var(--ink); font-weight: 500; }
.stage-names button:nth-child(3), .stage-names button:nth-child(4) { color: #dfe8ee; }
.stage-names button:nth-child(3)[aria-current="step"], .stage-names button:nth-child(4)[aria-current="step"] { color: #fff; }

/* the product fragment */
[data-ui].tracker { width: min(440px, 100%); background: #f7f7f6; color: #1d1d1b; border-radius: 10px; border: 1px solid #d9d4c8; box-shadow: 0 18px 40px rgba(0,0,0,0.18); font-family: var(--font); overflow: hidden; }
[data-ui].tracker .t-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #e6e1d6; font-size: 14px; }
[data-ui].tracker .t-head b { font-weight: 600; }
[data-ui].tracker .t-tag { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: #eef3f6; color: #2f5466; }
[data-ui].tracker .t-body { padding: 16px 18px 18px; display: grid; gap: 10px; font-size: 14px; min-height: 230px; }
[data-ui].tracker .t-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #efebe2; }
[data-ui].tracker .t-row:last-child { border-bottom: 0; }
[data-ui].tracker .t-row span:last-child { font-variant-numeric: tabular-nums; color: #4a4a46; }
[data-ui].tracker .t-total { font-weight: 600; }
[data-ui].tracker .t-btn { margin-top: 4px; text-align: center; padding: 10px; border-radius: 8px; background: #4a6f84; color: #fff; font-weight: 500; }
[data-ui].tracker .t-check { color: #2e7d32; font-weight: 600; }
[data-ui].tracker .t-note { font-size: 13px; color: #6b6b66; }
[data-ui].tracker .t-pane { transition: opacity 200ms ease; }

/* ---------- pricing: the ticket ---------- */
.pricing { background: var(--maroon); color: var(--maroon-ink); min-height: 90svh; display: grid; place-items: center; padding: 80px 20px; }
.ticket { position: relative; width: 64vw; max-width: 1100px; aspect-ratio: 2.3 / 1; display: grid; grid-template-columns: 7fr 3fr; background: var(--mustard); color: var(--mustard-ink); }
.ticket-main { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.ticket-main h2 { font-size: clamp(32px, 4vw, 64px); max-width: 12ch; }
.ticket-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; font-size: 18px; }
.ticket-stub { display: flex; flex-direction: column; justify-content: center; align-items: stretch; padding: 32px 28px; position: relative; text-align: center; }
.ticket-price { font-size: clamp(48px, 6vw, 104px); font-weight: 600; letter-spacing: -0.05em; line-height: 0.9; }
.ticket-price-note { font-size: 16px; margin-top: 10px; }
.ticket-go { margin-top: 24px; display: flex; align-items: center; justify-content: center; min-height: 56px; background: var(--slate); color: var(--slate-ink); text-decoration: none; font-weight: 500; transition: transform 140ms var(--ease-out); }
.ticket-go:active { transform: scale(0.97); }
.notch { position: absolute; width: 28px; height: 28px; border-radius: 50%; background: var(--maroon); left: 70%; transform: translateX(-50%); }
.notch.top { top: -14px; } .notch.bot { bottom: -14px; }
.perf { position: absolute; left: 70%; top: 22px; bottom: 22px; width: 6px; transform: translateX(-50%); background-image: radial-gradient(circle, var(--maroon) 2.6px, transparent 3px); /* taste-skill-ignore: dot perforation */ background-size: 6px 16px; background-repeat: repeat-y; }

/* ---------- faq: a band per question ---------- */
.faq-head { min-height: 40svh; background: var(--slate); color: var(--slate-ink); display: flex; align-items: flex-end; padding: 28px; }
.faq-head h2 { font-size: clamp(48px, 7vw, 120px); }
.band { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 56px 28px; }
.band:nth-of-type(odd) { background: var(--bone); color: var(--bone-ink); }
.band:nth-of-type(even) { background: var(--surface); color: var(--ink); }
.band h3 { grid-column: 1 / span 5; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; line-height: 1.15; }
.band p { grid-column: 7 / span 6; font-size: 18px; line-height: 1.5; }

/* ---------- contact: photo strip, three-cell bar ---------- */
.contact { background: var(--red); color: var(--red-ink); min-height: 80svh; padding: 48px 0 120px; }
.strip { overflow: hidden; }
.strip-track { display: flex; gap: 8px; width: max-content; }
.strip img { height: 150px; width: auto; object-fit: cover; flex: 0 0 auto; }
.strip img.r34 { aspect-ratio: 3 / 4; } .strip img.r11 { aspect-ratio: 1; } .strip img.r32 { aspect-ratio: 3 / 2; }
.contact-inner { padding: 72px 28px 0; }
.contact h2 { font-size: clamp(36px, 4vw, 60px); }
.contact-sub { margin-top: 14px; font-size: 18px; }
.bar { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; height: 96px; }
.bar input, .bar button { height: 100%; width: 100%; border: 0; border-radius: var(--radius); background: #b8121f; color: #fff; text-align: center; font-size: 18px; transition: background-color 180ms ease, transform 140ms var(--ease-out); }
.bar input::placeholder { color: #ffd9dc; }
.bar input:focus { background: #fff; color: var(--ink); outline: 0; }
.bar button { background: var(--bone); color: var(--ink); font-weight: 600; }
.bar button:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .bar button:hover { background: #fff; } }
.bar-notes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 10px; font-size: 13px; }
.bar-notes p:last-child { grid-column: 3; }
.contact-direct { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 18px; }
.contact-direct a { text-decoration: none; }

/* ---------- footer: tiles ---------- */
.foot { background: var(--red); padding: 10px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
.tile { padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.t-statement { grid-column: 1 / span 4; height: 220px; background: var(--bone); color: var(--ink); }
.t-statement p:first-child { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.t-statement p:last-child { font-size: 13px; }
.t-nav { grid-column: 5 / span 3; height: 220px; background: var(--surface); color: var(--ink); justify-content: flex-start; }
.t-nav ul { display: grid; gap: 6px; font-size: 16px; }
.t-nav a { text-decoration: none; }
.t-time { grid-column: 8 / span 2; height: 220px; background: var(--mustard); color: var(--mustard-ink); }
.t-time .clock { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.t-time p { font-size: 16px; }
.t-mail { grid-column: 10 / span 3; height: 220px; background: var(--maroon); color: #fff; justify-content: flex-end; }
.t-mail a { font-size: 18px; text-decoration: none; overflow-wrap: anywhere; }
.t-mail p { font-size: 16px; margin-bottom: 6px; }
.t-word { grid-column: 1 / span 8; height: 320px; background: var(--ink); color: var(--bone); display: grid; place-items: center; overflow: hidden; }
.t-word span { font-size: 8.4vw; font-weight: 600; letter-spacing: -0.05em; line-height: 0.9; white-space: nowrap; }
.t-go { grid-column: 9 / span 4; height: 320px; background: var(--slate); color: #fff; text-decoration: none; transition: background-color 180ms ease; }
.t-go span { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.t-go svg { align-self: flex-end; width: 72px; height: 72px; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .t-go:hover { background: #3c5d70; } .t-go:hover svg { transform: translate(6px, -6px); } }
.credits { grid-column: 1 / -1; background: var(--bone); color: var(--ink); padding: 16px 22px; font-size: 13px; max-width: none; line-height: 1.5; columns: 3 22ch; column-gap: 40px; }
.credits a { text-underline-offset: 0.15em; }

/* ---------- doc page ---------- */
.doc-top { display: flex; justify-content: space-between; align-items: baseline; padding: 32px; background: var(--red); color: #fff; }
.doc-top a { text-decoration: none; }
.doc-top .wm { font-weight: 600; font-size: 18px; letter-spacing: -0.03em; }
.doc { padding: 80px 28px 120px; max-width: 70ch; margin-left: calc(100% / 12 * 4); }
.doc h1 { font-size: clamp(40px, 4.4vw, 72px); }
.doc .dated { margin-top: 16px; color: var(--muted); font-size: 16px; }
.doc h2 { font-size: 26px; letter-spacing: -0.02em; line-height: 1.2; margin-top: 48px; }
.doc p, .doc li { margin-top: 12px; }
.doc ul { padding-left: 1.2em; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(22px); animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
  .js .shape.a { animation: grow 1100ms var(--ease-in-out) both; }
  .js .shape.b { animation: grow 1100ms var(--ease-in-out) 160ms both; }
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .ticket[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .ticket[data-reveal].is-in { clip-path: inset(0); }
  .strip-track { animation: marquee 60s linear infinite; }
  .strip:hover .strip-track { animation-play-state: paused; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: translate(-50%, -50%) scale(0.6); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .wordmark-top { top: 20px; left: 16px; }
  .toplinks { top: 22px; right: 16px; }
  .toplinks a { color: var(--ink); }
  .toplinks a:not(:last-child) { display: none; }
  .hero { display: block; padding: 0; min-height: 100svh; }
  .shape.a { width: 130vw; height: 130vw; left: 50%; top: calc(56svh + 65vw); }
  .shape.b { width: 64vw; height: 64vw; left: 76%; top: calc(56svh + 18vw); }
  .hero-copy { padding: 15svh 16px 0; }
  .hero h1 { font-size: 11.5vw; }
  .hero-sub { font-size: 16px; margin-top: 18px; }
  .cta-pill { margin-top: 22px; }

  .stmt { min-height: 64svh; padding: 20px; grid-template-columns: 1fr; }
  .stmt p, .stmt.mirror p { grid-column: 1; font-size: 16px; max-width: 80%; }
  .stmt.mirror p { justify-self: end; text-align: right; }
  .stmt h2, .stmt.mirror h2 { font-size: 13vw; justify-self: start; text-align: left; }

  .stages { grid-template-columns: 1fr; min-height: 0; }
  .stage-ui { order: -1; min-height: 46svh; padding: 28px 16px; }
  .stage-bar { position: static; padding: 18px 16px 8px; background: var(--bone); }
  .stage-bar input::-webkit-slider-thumb { width: 40px; height: 40px; margin-top: -16px; }
  .stage-text { padding: 20px 16px 48px; }
  .stage-text h2 { font-size: 9vw; }
  .stage-names { grid-template-columns: 1fr 1fr; gap: 6px; font-size: 15px; }
  .stage-names button:nth-child(3), .stage-names button:nth-child(4) { color: var(--muted); }
  .stage-names button:nth-child(3)[aria-current="step"], .stage-names button:nth-child(4)[aria-current="step"] { color: var(--ink); }

  .ticket { width: 100%; aspect-ratio: auto; grid-template-columns: 1fr; }
  .ticket-main { padding: 28px 22px 44px; gap: 28px; }
  .ticket-stub { padding-top: 56px; }
  .ticket-main h2 { font-size: 9vw; }
  .ticket-lines { grid-template-columns: 1fr; font-size: 16px; }
  .ticket-price { font-size: 16vw; }
  .notch { left: auto; top: auto; transform: none; }
  .notch.top { left: -14px; top: calc(100% - 270px); }
  .notch.bot { right: -14px; bottom: auto; top: calc(100% - 270px); }
  .perf { left: 22px; right: 22px; top: calc(100% - 259px); bottom: auto; width: auto; height: 6px; transform: none; background-size: 16px 6px; background-repeat: repeat-x; }

  .faq-head { min-height: 30svh; padding: 20px; }
  .faq-head h2 { font-size: 13vw; }
  .band { display: block; padding: 32px 20px; }
  .band h3 { font-size: 22px; }
  .band p { margin-top: 12px; font-size: 17px; }

  .strip img { height: 110px; }
  .contact-inner { padding: 48px 20px 0; }
  .contact h2 { font-size: 9vw; }
  .bar { grid-template-columns: 1fr; height: auto; }
  .bar input, .bar button { height: 60px; }
  .bar-notes { grid-template-columns: 1fr; }
  .bar-notes p:last-child { grid-column: 1; }

  .foot { grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
  .tile { padding: 20px; justify-content: flex-start; gap: 16px; }
  .t-word { grid-column: 1 / -1; order: -2; height: 160px; }
  .t-word span { font-size: 11vw; }
  .t-go { grid-column: 1 / -1; order: -1; height: 180px; justify-content: space-between; }
  .t-nav, .t-mail, .t-time, .t-statement { grid-column: span 1; height: auto; min-height: 180px; }
  .t-mail { justify-content: flex-start; }
  .t-statement { grid-column: 1 / -1; }
  .credits { grid-column: 1 / -1; }

  .doc { margin-left: 0; padding: 48px 20px 96px; }
  .doc-top { padding: 20px 16px; }
}
