/* Self-hosted fonts (no third-party request: GDPR). Latin subset, SIL OFL licence. */
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/lato-latin-700-normal.woff2") format("woff2"); }

:root {
  --bordeaux: #6d1f2b;
  --bordeaux-dark: #521720;
  --forest: #1f3d2a;
  --forest-dark: #142a1d;
  --sand: #eae2d6;
  --sage: #a9b7a3;
  --cream: #f9f5ee;
  --ink: #2a2522;
  --muted: #5f5851;
  --white: #ffffff;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 22px;
  --max: 1040px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 18px 40px -18px rgba(31, 61, 42, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 64px 0; }
.section--sand { background: var(--sand); }
.section--forest { background: var(--forest); color: var(--cream); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--forest); line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.45rem, 9.4vw, 4.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2.05rem, 7vw, 2.9rem); margin-bottom: 18px; }
h3 { font-size: 1.45rem; margin-bottom: 8px; }
p { margin: 0 0 16px; }

.eyebrow { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bordeaux); font-weight: 700; margin: 0 0 14px; }
.lead { color: var(--muted); max-width: 34em; font-size: 1.08rem; }
.small { font-size: .88rem; color: var(--muted); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30; padding: 12px 0;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.site-header.is-stuck { background: rgba(249, 245, 238, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(31, 61, 42, .12); padding: 8px 0; }
.brand { display: block; line-height: 0; }
.brand img { height: 58px; width: auto; transition: height .3s var(--ease); }
.site-header.is-stuck .brand img { height: 46px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px; border-radius: 999px; border: 1.5px solid transparent; white-space: nowrap;
  font: 700 1rem/1 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(31, 61, 42, .55); }
.btn:active { transform: translateY(0); }
.btn--bordeaux { background: var(--bordeaux); color: var(--cream); }
.btn--bordeaux:hover { background: var(--bordeaux-dark); }
.btn--forest { background: var(--forest); color: var(--cream); }
.btn--forest:hover { background: var(--forest-dark); }
.btn--light { background: var(--cream); color: var(--forest); }
.btn--light:hover { background: var(--sand); }
.btn--small { min-height: 44px; padding: 0 8px 0 20px; gap: 10px; font-size: .92rem; }
.btn__arrow {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(249, 245, 238, .18); transition: transform .25s var(--ease), background .25s var(--ease);
}
.btn--light .btn__arrow { background: rgba(31, 61, 42, .1); }
.btn:hover .btn__arrow { transform: translateX(3px); background: rgba(249, 245, 238, .28); }
.btn--light:hover .btn__arrow { background: rgba(31, 61, 42, .16); }
.btn__arrow svg { width: 14px; height: 14px; }
.btn--block { width: 100%; }

/* ---------- photos ---------- */
.frame { position: relative; margin: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--arch { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.frame--arch img { object-position: 50% 40%; }
.frame--arch-wrap { position: relative; }
.frame--arch-wrap::before {
  content: none; position: absolute; inset: -12px -12px 12px 12px; border: 1.5px solid var(--bordeaux);
  border-radius: 12px; opacity: .6; z-index: 0;
}
.frame--arch-wrap .frame { z-index: 1; }
.frame--wide { aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.frame figcaption { font-size: .82rem; color: var(--muted); margin-top: 10px; font-style: italic; }
/* subtle warm grade so every photo feels part of the same shoot */
.frame--arch::after, .frame--wide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(109, 31, 43, 0) 55%, rgba(31, 61, 42, .18) 100%);
}

/* ---------- hero ---------- */
.hero { padding: 20px 0 64px; overflow: hidden; }
.hero__grid { display: grid; gap: 44px; }
.hero h1 { margin-bottom: 22px; }
.hero__cta { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.hero__note { margin: 0; font-size: .92rem; color: var(--muted); }
.hero .frame--arch-wrap { max-width: 420px; margin: 0 auto; width: 100%; padding: 0; }

/* ---------- quote ---------- */
.quote { text-align: center; padding: 56px 0; }
.quote blockquote { margin: 0 auto 14px; max-width: 20em; font-family: var(--serif); font-size: clamp(1.75rem, 6.2vw, 2.4rem); line-height: 1.25; }
.quote cite { font-style: normal; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; opacity: .85; }

/* ---------- compare ---------- */
.compare { display: grid; gap: 18px; margin-top: 32px; }
.card { padding: 28px 24px; border: 1px solid #d9d0c2; background: var(--white); border-radius: 6px; }
.card--forest { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.card--forest h3 { color: var(--cream); }
.dash-list { list-style: none; margin: 0; padding: 0; }
.dash-list li { position: relative; padding-left: 22px; margin-bottom: 12px; }
.dash-list li::before { content: "–"; position: absolute; left: 0; color: var(--bordeaux); }
.card--forest .dash-list li::before { color: var(--sage); }
.centered-note { text-align: center; margin-top: 22px; }

/* ---------- about ---------- */
.about__grid { display: grid; gap: 40px; }
.about .frame--arch-wrap { max-width: 380px; margin: 0 auto; width: 100%; padding: 0; }

/* ---------- method ---------- */
.principles { display: grid; gap: 26px; margin-top: 32px; }
.principle { position: relative; padding-top: 16px; }
.principle::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--bordeaux); transform-origin: left; transition: transform .9s var(--ease); }
.js .principle:not(.is-in)::before { transform: scaleX(0); }
.principle p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- journey ---------- */
.stages { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid #d3c9b9; }
.stage { display: grid; grid-template-columns: 46px 1fr; gap: 6px; padding: 24px 0; border-bottom: 1px solid #d3c9b9; }
.stage__num { font-family: var(--serif); font-size: 2.3rem; color: var(--bordeaux); line-height: 1; }
.stage p { margin-bottom: 8px; }
.stage__topics { font-size: .86rem; color: var(--muted); margin: 0; }
.photo-pair { display: grid; gap: 22px; margin-top: 40px; }

/* ---------- fit ---------- */
.fit { display: grid; gap: 28px; margin-top: 26px; }
.fit h3 { font-size: 1.3rem; }
.plus-list, .minus-list { list-style: none; margin: 12px 0 0; padding: 0; }
.plus-list li, .minus-list li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.plus-list li::before { content: "+"; position: absolute; left: 0; font-weight: 700; color: var(--forest); }
.minus-list li::before { content: "–"; position: absolute; left: 0; font-weight: 700; color: var(--bordeaux); }
.safety { margin-top: 32px; background: var(--white); border-left: 3px solid var(--bordeaux); padding: 18px 22px; font-size: .95rem; color: var(--muted); border-radius: 0 6px 6px 0; }

/* ---------- plans ---------- */
.plans { display: grid; gap: 22px; margin-top: 32px; }
.plan { background: var(--white); border: 1px solid #d9d0c2; padding: 28px 24px; display: flex; flex-direction: column; border-radius: 8px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured { border: 2px solid var(--bordeaux); }
.plan__tag { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--bordeaux); margin: 0 0 8px; }
.plan__price { font-family: var(--serif); font-size: 3.1rem; color: var(--forest); line-height: 1; margin: 18px 0 4px; }
.plan__then { font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.plan .dash-list { margin-bottom: 26px; flex: 1; }
.fineprint { text-align: center; max-width: 42em; margin: 26px auto 0; font-size: .9rem; color: var(--muted); }

/* ---------- faq ---------- */
.faq { margin-top: 26px; border-top: 1px solid #d9d0c2; }
.faq details { border-bottom: 1px solid #d9d0c2; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 700; color: var(--forest); min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--bordeaux); font-size: 1.4rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: 40em; animation: fade-down .35s var(--ease); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- final cta ---------- */
.final { text-align: center; padding: 72px 0; }
.final h2 { color: var(--cream); max-width: 18em; margin: 0 auto 18px; }
.final p { max-width: 32em; margin: 0 auto 28px; opacity: .92; }

.site-footer { padding: 28px 0 100px; text-align: center; font-size: .88rem; color: var(--muted); }
.site-footer a { display: inline-block; margin: 2px 6px; }

/* ---------- sticky mobile bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(249, 245, 238, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 -1px 0 rgba(31, 61, 42, .12);
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { width: 100%; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
.js .reveal-img.is-in img { transform: scale(1); }
.js .reveal-img { clip-path: inset(0 0 12% 0); transition: opacity .8s var(--ease), clip-path 1.1s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .frame--arch.reveal-img { clip-path: inset(0 0 12% 0 round 10px); }
.js .frame--arch.reveal-img.is-in { clip-path: inset(0 0 0 0 round 10px); }

.hero .hero-in { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- tablet / desktop ---------- */
@media (min-width: 760px) {
  :root { --gutter: 32px; }
  body { font-size: 17.5px; }
  .section { padding: 96px 0; }
  .site-header { padding: 20px 0; }
  .hero { padding: 36px 0 100px; }
  .hero__grid { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
  .hero__cta { flex-direction: row; align-items: center; gap: 22px; }
  .hero .frame--arch-wrap { max-width: none; padding-right: 0; }
  .compare { grid-template-columns: 1fr 1fr; gap: 24px; }
  .card { padding: 34px; }
  .about__grid { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
  .principles { grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
  .stage { grid-template-columns: 84px 1fr; }
  .photo-pair { grid-template-columns: 1fr 1fr; gap: 20px; }
  .fit { grid-template-columns: 1fr 1fr; gap: 48px; }
  .plans { grid-template-columns: 1fr 1fr; gap: 28px; }
  .plan { padding: 34px; }
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: 40px; }
}

/* ---------- legal pages ---------- */
.legal { padding: 28px 0 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.55rem; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 20px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.legal .meta { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.legal a { color: var(--bordeaux); }
.draft { background: #fff3b0; color: #4a3b00; border-radius: 6px; padding: 14px 18px; font-size: .92rem; margin: 0 0 28px; }
.todo { background: #fff3b0; padding: 0 4px; color: #4a3b00; }
.back { display: inline-block; margin-bottom: 20px; font-weight: 700; font-size: .92rem; color: var(--forest); text-decoration: none; }
.back:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal-img, .js .reveal-img img, .hero .hero-in, .faq .answer { animation: none; transition: none; opacity: 1; transform: none; clip-path: none; }
  .js .principle::before { transform: none !important; }
  .btn:hover, .plan:hover { transform: none; }
}

.btn.is-disabled { background: var(--sand); color: var(--muted); border-color: #cfc5b4; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* buttons inside text pages keep their own colours (the page-link colour must not override them) */
.legal a.btn--bordeaux, .legal a.btn--forest { color: var(--cream); }
.legal a.btn--light { color: var(--forest); }
.legal a.btn--outline-light { color: var(--cream); }

/* cohort choice */
.cohort { margin: 0 0 18px; }
.cohort label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--forest); }
.cohort select { width: 100%; min-height: 52px; padding: 0 14px; border: 1.5px solid #cfc5b4; border-radius: 12px; background: var(--white); font: inherit; color: var(--ink); }
.cohort select:focus { outline: none; border-color: var(--bordeaux); box-shadow: 0 0 0 3px rgba(109, 31, 43, .15); }
.cohort .small { margin: 8px 0 0; }
.cohort .small.is-alert { color: var(--bordeaux); font-weight: 700; }

/* ---------- course page hero: the photo first, the text on a cream sheet that overlaps it (phone), a large rounded photo beside the text (desktop) ---------- */
.hx { background: var(--cream); }
.hx__ph { margin: 0; overflow: hidden; }
.hx__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx__txt { display: flex; flex-direction: column; }
.hx__txt h1 { font-size: clamp(1.7rem, 6.4vw, 3.1rem); line-height: 1.1; margin: 0; }
.hx__txt .lead { margin: 22px 0 0; }
.hx__cta { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.hx__cta .btn { width: 100%; }
.hx__cta .hero__note { margin: 0; font-size: .92rem; color: var(--muted); }
.hx .hx-in { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) { .hx .hx-in { animation: none; } }
@media (max-width: 899px) {
  .hx__ph { height: min(52svh, 440px); }
  .hx__ph img { object-position: 50% 60%; }
  .hx__txt { position: relative; margin-top: -34px; background: var(--cream); border-radius: 28px 28px 0 0; padding: 30px 22px 40px; }
  .hx__txt .eyebrow { order: 1; margin-bottom: 10px; } .hx__txt h1 { order: 2; } .hx__cta { order: 3; } .hx__txt .lead { order: 4; }
}
@media (min-width: 900px) {
  .hx { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 28px max(22px, calc((100vw - 1040px) / 2)) 80px; min-height: calc(100svh - 84px); }
  .hx__txt { order: 1; }
  .hx__ph { order: 2; border-radius: 28px; aspect-ratio: 4 / 5; box-shadow: var(--shadow); max-height: calc(100svh - 150px); justify-self: end; width: 100%; }
  .hx__ph img { object-position: 50% 38%; }
  .hx__cta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
  .hx__cta .btn { width: auto; }
  .hx__cta .hero__note { flex: 1 1 100%; }
}
