*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --plum: #3a1c2c;
  --plum-deep: #2a1420;
  --ink: #2b1721;
  --blush: #f3e9ed;
  --paper: #fbf8f6;
  --mauve: #c9a9b9;

  /* Session panels run dark to light */
  --field-3: #3a1c2c; --field-3-ink: #fbf8f6;
  --field-4: #54293f; --field-4-ink: #fbf8f6;
  --field-1: #7d5c6d; --field-1-ink: #ffffff;
  --field-2: #dcc8d2; --field-2-ink: #2b1721;

  --step-small: 0.9375rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-sub: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  --step-head: clamp(2.5rem, 1.6rem + 3vw, 4.25rem);
  --step-display: clamp(2.875rem, 6.3vw, 6.75rem);

  --margin: clamp(20px, 4vw, 64px);
  --gap: clamp(88px, 10vw, 150px);
  --out: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: var(--step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, .footer-invite, .footer-name, .stage-name, .gap-row output, .gap-result strong, .rates-table tbody th {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
}
h1, h2, .footer-invite { letter-spacing: -0.022em; line-height: 1.03; }
h2 { font-size: var(--step-head); color: var(--plum); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
::selection { background: var(--plum); color: var(--blush); }
.wrap { padding-inline: var(--margin); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.btn {
  display: inline-block;
  padding: 16px 28px;
  border: 0;
  border-radius: 99px;
  background: var(--blush);
  color: var(--plum);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--out), background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); background: #fff; }
.btn:active { transform: translateY(1px) scale(.985); transition-duration: .08s; }

/* Hero */
.hero { background: var(--plum); color: var(--blush); overflow: clip; }
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px var(--margin);
}
.nav a { text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.nav nav a:not(.nav-cta) { position: relative; }
.nav nav a:not(.nav-cta)::after { content: ''; position: absolute; inset: auto 0 -3px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--out); }
.nav nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.wordmark { font-weight: 600; white-space: nowrap; }
.nav-cta { white-space: nowrap; padding: 9px 16px; border-radius: 99px; background: var(--blush); color: var(--plum); font-weight: 600; transition: background-color .2s ease; }
.nav-cta:hover { background: #fff; }

.hero-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--margin);
  align-items: end;
  padding: clamp(12px, 2.5vw, 36px) var(--margin) 0;
}
.hero-portrait { align-self: end; width: 122%; max-width: none; margin-left: -11%; }
.js .hero-portrait { animation: settle 1100ms 100ms var(--out) both; }
@keyframes settle { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.hero-text { align-self: center; padding-bottom: 32px; }
.hero-title { font-size: var(--step-display); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-title .line > span { display: block; }
.js .hero-title .line > span { animation: rise 900ms var(--out) both; }
.js .hero-title .line:nth-child(2) > span { animation-delay: 110ms; }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
.hero-foot { margin-top: 30px; }
.js .hero-foot { animation: fade 700ms 480ms var(--out) both; }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-sub { max-width: 32em; font-size: var(--step-lead); line-height: 1.38; text-wrap: pretty; }
.hero-action { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }

/* Credentials */
.creds {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 40px;
  padding-block: 24px;
  background: var(--blush);
  color: var(--plum);
  font-size: var(--step-body);
  font-weight: 500;
  line-height: 1.3;
}

/* Sessions */
.offer { padding-top: var(--gap); }
.offer-intro { display: grid; grid-template-columns: 5fr 1fr 6fr; align-items: start; }
.offer-intro h2 { grid-column: 1; }
.offer-intro p { grid-column: 3; max-width: 66ch; }

.stages { display: flex; margin: 56px var(--margin) 0; padding: 0; height: 400px; container-type: inline-size; }
.stage {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  background: var(--f);
  color: var(--i);
  overflow: hidden;
  transition: flex-grow .45s var(--out);
}
.stage.is-open { flex-grow: 7; }
.stage:not(.is-open):hover { flex-grow: 1.3; }
.stage h3 { position: absolute; inset: 0; z-index: 2; font-size: var(--step-lead); line-height: 1.1; }
.stage h3 button {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding: 22px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.stage.is-open h3 { inset: 0 auto auto 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.js .stage:not(.is-open) .stage-body { visibility: hidden; opacity: 0; }
.stage-body { position: absolute; inset: 0 auto 0 0; width: 70cqw; transition: opacity .3s ease; }
.stage-text { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; height: 100%; padding: clamp(28px, 3vw, 44px); }
.stage-name { font-size: var(--step-head); line-height: 1.03; letter-spacing: -0.022em; }
.stage-text p:last-child { max-width: 38em; font-size: var(--step-lead); line-height: 1.38; }

html:not(.js) .stages { flex-direction: column; height: auto; }
html:not(.js) .stage h3 { display: none; }
html:not(.js) .stage-body { position: static; width: auto; }

/* Rates */
.rates { display: grid; grid-template-columns: 1fr 1fr; margin-top: var(--gap); }
.rates-gap, .rates-table-field { display: flex; flex-direction: column; padding: clamp(44px, 6vw, 88px) var(--margin); }
.rates-gap { background: var(--plum); color: var(--blush); gap: 30px; }
.rates-gap h2 { color: inherit; }
.rates-table-field { background: var(--blush); }
.gap-tool { display: grid; gap: 14px; }
.gap-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; }
.gap-row label { font-weight: 500; }
.gap-row output { font-size: var(--step-head); line-height: 1; font-variant-numeric: tabular-nums; }
.gap-row input { grid-column: 1 / -1; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: none; cursor: grab; }
input[type="range"]:active { cursor: grabbing; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: #7d5c6d; }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: #7d5c6d; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border: 0; border-radius: 50%; background: var(--blush); transition: transform .25s var(--out); }
input[type="range"]::-moz-range-thumb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--blush); }
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.12); }

.gap-result strong { display: block; font-size: var(--step-sub); line-height: 1.15; margin-bottom: 4px; }
#gap-cta { align-self: flex-start; }
.gap-note { max-width: 46ch; font-size: var(--step-small); line-height: 1.45; margin-top: -14px; }

.rates-table-field h2 { margin-bottom: 28px; }
.rates-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rates-table tbody th, .rates-table td { padding: 20px 12px; text-align: left; vertical-align: baseline; transition: background-color .25s ease, color .25s ease; }
.rates-table td { white-space: nowrap; }
.rates-table tbody th { font-size: var(--step-sub); line-height: 1; color: var(--plum); }
.rates-table tr.is-picked th, .rates-table tr.is-picked td { background: var(--plum); color: var(--blush); }
.rates-note { margin-top: 26px; max-width: 52ch; }

/* About */
.about { padding-block: var(--gap); }
.about-grid { display: grid; grid-template-columns: 5fr 1fr 6fr; align-items: start; }
.about-side { grid-column: 1; position: sticky; top: var(--margin); }
.about-portrait { width: 62%; margin-top: 32px; }
.about-copy { grid-column: 3; display: grid; gap: 1.1em; font-size: var(--step-lead); line-height: 1.42; }
.about-copy mark { background: var(--blush); color: var(--plum); padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Questions */
.faq-head { padding-block: 40px 28px; background: var(--blush); }
.faq-band { padding-block: clamp(30px, 3.6vw, 48px); }
.faq-band:nth-child(odd) { background: var(--blush); }
.faq-band > .wrap { display: grid; grid-template-columns: 5fr 1fr 6fr; }
.faq-band h3 { grid-column: 1; font-size: var(--step-sub); line-height: 1.12; color: var(--plum); }
.faq-band p { grid-column: 3; max-width: 62ch; }

/* Contact */
.contact { padding-block: var(--gap); background: var(--plum); color: var(--blush); }
.contact h2 { color: inherit; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; align-items: start; }
.contact-side p { max-width: 30em; margin-top: 24px; font-size: var(--step-lead); line-height: 1.38; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.field.half { grid-column: auto; justify-content: flex-end; }
.field label { font-weight: 500; line-height: 1.25; }
.field label span { font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px;
  border: 0;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%233a1c2c' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.field ::placeholder { color: #6a5460; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--mauve); outline-offset: 2px; }
.form-end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-status { font-weight: 500; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { background: var(--plum-deep); color: var(--blush); overflow: hidden; padding-top: clamp(56px, 7vw, 96px); }
.footer-top { display: flex; justify-content: space-between; gap: 32px; }
.footer-invite { font-size: var(--step-head); margin-bottom: 28px; }
.footer nav { display: flex; flex-direction: column; gap: 8px; min-width: 18%; }
.footer nav a { text-decoration: none; font-weight: 500; }
.footer nav a:hover { color: var(--mauve); }
.footer-legal { margin-top: clamp(48px, 6vw, 80px); font-size: var(--step-small); }
.footer-name {
  font-size: 24vw;
  line-height: .8;
  letter-spacing: -0.03em;
  white-space: nowrap;
  padding-left: var(--margin);
  margin-top: 5.5vw;
  margin-bottom: -3.4vw;
  color: var(--mauve);
}

/* Entrances, only when the script is there to finish them */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--out), transform .8s var(--out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .offer-intro, .about-grid, .faq-band > .wrap, .contact-grid, .rates { grid-template-columns: 1fr; }
  .offer-intro p, .about-copy, .faq-band h3, .faq-band p { grid-column: 1; }
  .offer-intro p { margin-top: 24px; }
  .faq-band p { margin-top: 10px; }
  .about-side { position: static; }
  .about-copy { margin-top: 40px; }
  .about-portrait { width: min(64%, 340px); }
  .contact-grid { gap: 44px; }

  .stages { flex-direction: column; height: auto; margin-top: 40px; container-type: normal; }
  .stage { flex: none; transition: none; }
  .stage h3 { position: static; }
  .stage.is-open h3 { width: auto; height: auto; overflow: visible; clip-path: none; }
  .stage h3 button { writing-mode: horizontal-tb; transform: none; align-items: center; height: 64px; padding: 0 20px; text-align: left; }
  .stage-body { position: static; width: auto; }
  .js .stage:not(.is-open) .stage-body { display: none; }
  .stage-name { display: none; }
  .stage-text { height: auto; padding: 0 20px 26px; }
  .stage-text p:last-child { font-size: var(--step-body); line-height: 1.5; }
}

@media (max-width: 1100px) {
  .creds { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 20px; gap: 12px; }
  .hero-text { order: 1; padding-bottom: 12px; }
  .hero-portrait { order: 2; width: 100%; margin-left: 0; justify-self: center; }
  .nav { gap: 12px; font-size: 1rem; }
  .nav-cta { padding: 8px 13px; font-size: .9375rem; }
  .hero-title { font-size: 12.4vw; }
  .hero-action { flex-direction: column; align-items: stretch; }
  .hero-action .btn { text-align: center; }
  .creds { display: flex; flex-direction: column; gap: 4px; }
  .rates-table tbody th, .rates-table td { padding: 15px 7px; font-size: 1rem; }
  .rates-table td:nth-child(3) { white-space: normal; }
  .rates-table tbody th { font-size: var(--step-lead); }
  .rates-table td:nth-child(4) { display: none; }
  #gap-cta { align-self: stretch; text-align: center; }
  .lead-form { grid-template-columns: 1fr; }
  .form-end .btn { width: 100%; text-align: center; }
  .footer-top { flex-direction: column; }
  .footer-top .btn { display: block; text-align: center; }
  .footer nav { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
}

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