/* ==========================================================================
   Kris Picker — After The Impact
   Palette pulled from the "Am I Still Me?" workbook.
   ========================================================================== */

:root {
  /* Workbook palette */
  --cream: #FAF7F5;
  --paper: #FFFFFF;
  --sand: #D8CFC3;
  --sand-soft: #EEE8E0;
  --coral: #FE997E;          /* big blocks, buttons with ink text */
  --coral-soft: #FFE3D9;
  --coral-display: #D9694F;  /* large display type on cream (>= 3:1) */
  --coral-ink: #A9452D;      /* small coral text on cream (>= 4.5:1) */
  --ink: #2B2520;
  --ink-soft: #5A514A;
  --line: #E2DAD0;

  /* Ocean, from the surf photos */
  --ocean: #2B2520;        /* brown-black, same as the ink */
  --ocean-deep: #1F1B17;
  --on-ocean: #F4EEE8;
  --on-ocean-soft: #E3DBD1;
  --coral-light: #FE997E;  /* coral reads fine on the brown-black */

  /* Type */
  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;

  /* Spacing (8pt rhythm) */
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4rem; --s7: 6rem; --s8: 8rem;

  --radius: 4px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(43,37,32,.06), 0 12px 32px -12px rgba(43,37,32,.22);
  --shadow-lg: 0 30px 60px -20px rgba(43,37,32,.45);
  --ease: cubic-bezier(.2,.7,.2,1);
  --max: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

/* Easier-reading mode: bigger text, more spacing, no motion */
html.easy-read { font-size: 118%; }
html.easy-read body { letter-spacing: .01em; word-spacing: .06em; }
html.easy-read p, html.easy-read li { line-height: 1.85; }
html.easy-read *, html.easy-read *::before, html.easy-read *::after {
  animation: none !important; transition: none !important;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Keep jump-link targets clear of the sticky header */
[id] { scroll-margin-top: 100px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .on-coral :focus-visible { outline-color: var(--ink); }
.on-dark :focus-visible { outline-color: var(--coral); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 var(--s3);
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 7.5vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.75rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 400; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 var(--s2); max-width: 64ch; }
.lead { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.55; color: var(--ink-soft); }
.coral { color: var(--coral-display); }
.hand { font-family: var(--font-hand); font-weight: 500; letter-spacing: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-body);
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  margin: 0 0 var(--s3);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.skip-link {
  position: absolute; left: var(--s2); top: -100px; z-index: 1000;
  background: var(--ink); color: var(--cream); padding: .75rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: var(--s2); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 10vw, 8rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }

/* Workbook motifs: corner bracket + checker squares */
.bracket { position: relative; }
.bracket::after {
  content: ""; position: absolute; top: 0; right: 0;
  width: 28px; height: 28px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
}
.checker {
  position: absolute; width: 96px; height: 96px; pointer-events: none;
  background:
    conic-gradient(var(--sand) 25%, transparent 0 50%, var(--sand) 0 75%, transparent 0)
    0 0 / 48px 48px;
  opacity: .8;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.6rem;
  background: var(--bg); color: var(--fg);
  font: 600 1rem/1.1 var(--font-body); letter-spacing: .01em;
  border: 1.5px solid var(--bg); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  touch-action: manipulation;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--coral { --bg: var(--coral); --fg: var(--ink); }
.btn--light { --bg: var(--cream); --fg: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.on-dark .btn--ghost { color: var(--on-ocean); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; transform: none; }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.text-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 76px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__name { font: 500 1.35rem/1 var(--font-display); letter-spacing: .02em; text-transform: uppercase; }
.brand__tag { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-top: .35rem; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-size: .975rem; font-weight: 500; padding: .5rem 0; position: relative; white-space: nowrap; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1.5px;
  background: var(--coral-display); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--coral-ink); }
.nav__cta { margin-left: .5rem; }
.nav__toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink);
}
.nav__toggle svg { width: 26px; height: 26px; }

.read-toggle {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 40px; padding: .35rem .8rem; border-radius: 999px;
  background: transparent; border: 1px solid var(--line); color: var(--ink-soft);
  font: 500 .85rem var(--font-body); cursor: pointer;
}
.read-toggle svg { width: 18px; height: 18px; }
.read-toggle[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

@media (max-width: 1180px) {
  /* A blurred header traps the fixed menu inside it, so use a solid bar here */
  .site-header { background: var(--cream); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: 76px 0 0 0; background: var(--cream);
    padding: var(--s4) var(--gutter); overflow-y: auto;
    display: flex; flex-direction: column; gap: var(--s4);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
  }
  .nav__menu.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav__links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav__links a { display: block; font: 300 1.9rem/1.2 var(--font-display); padding: .9rem 0; }
  .nav__links a::after { display: none; }
  .nav__cta { margin: 0; align-self: stretch; }
}
@media (min-width: 1181px) {
  .nav__menu { display: flex; align-items: center; gap: var(--s3); }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero::before {
  /* the coral band, straight off the workbook cover */
  content: ""; position: absolute; left: 0; right: 0; top: 38%; height: 44%;
  background: var(--coral); z-index: -1;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.launch-pill { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin: 0 0 var(--s2);
  padding: .45rem .55rem .45rem 1rem; border-radius: 999px; background: var(--ink); color: var(--cream);
  font-size: .9rem; text-decoration: none; }
.launch-pill strong { color: var(--coral); }
.launch-pill span { background: var(--coral); color: var(--ink); font-weight: 700; padding: .25rem .75rem; border-radius: 999px; }
.launch-pill:hover { text-decoration: none; box-shadow: var(--shadow); }
.hero__kicker { font-family: var(--font-hand); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--coral-ink); margin: 0 0 var(--s2); line-height: 1.2; }
/* Hero title, set like the book cover (Anton, worn ink texture) */
.cover-title { font-family: "Anton", "Impact", "Arial Narrow", sans-serif; font-weight: 400; text-transform: uppercase;
  letter-spacing: .01em; line-height: .88; margin-bottom: var(--s4); }
.cover-title .ct-after { display: block; font-size: clamp(4.2rem, 10vw, 7.6rem); color: var(--ink); }
.cover-title .ct-row { display: flex; align-items: flex-end; gap: .12em; }
.cover-title .ct-the { font-size: clamp(1.9rem, 4.4vw, 3.4rem); color: var(--ink); line-height: 1; padding-bottom: .12em; }
.cover-title .ct-impact { font-size: clamp(4.2rem, 10vw, 7.6rem); color: var(--coral-display); }
@media (min-width: 861px) { .hero__cover { width: min(100%, 380px); } .hero::before { top: 50%; height: 38%; } }
.cover-title > span { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' seed='4'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -9 7.6'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' seed='4'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -9 7.6'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); -webkit-mask-size: 220px; mask-size: 220px; }
.hero__sub { font-size: clamp(1.15rem, 1.7vw, 1.35rem); max-width: 34ch; margin-bottom: var(--s4); font-weight: 500; }
.hero__cover { position: relative; justify-self: center; width: min(100%, 420px); }
.hero__cover img {
  border-radius: 3px 8px 8px 3px; box-shadow: var(--shadow-lg);
  transform: rotate(2.5deg); transition: transform .6s var(--ease);
}
.hero__cover:hover img { transform: rotate(0deg) translateY(-6px); }
.hero__cover::before {
  /* book spine shading */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; z-index: 2;
  background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.12) 40%, transparent);
  transform: rotate(2.5deg); transform-origin: center; border-radius: 3px 0 0 3px; pointer-events: none;
}
.hero__badge {
  position: absolute; left: -1.5rem; bottom: -1.25rem; z-index: 3; margin: 0;
  background: var(--cream); color: var(--ink);
  padding: .8rem 1.1rem; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  font-size: .85rem; font-weight: 600; line-height: 1.3; max-width: 190px;
  transform: rotate(-3deg);
}
.hero__badge span { display: block; font-family: var(--font-hand); font-size: 1.4rem; color: var(--coral-ink); font-weight: 600; }
.hero .checker { right: -12px; top: 0; }

@media (max-width: 860px) {
  .hero::before { top: auto; bottom: 0; height: 36%; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__cover { width: min(56%, 250px); order: -1; margin: var(--s1) 0 var(--s3); }
  .hero__badge { left: auto; right: -2.5rem; bottom: -1rem; font-size: .75rem; padding: .6rem .8rem; max-width: 150px; }
  .hero__badge span { font-size: 1.15rem; }
  .hero .checker { display: none; }
}

/* ---------- Signup form ---------- */
.signup {
  background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow); max-width: 560px; position: relative; color: var(--ink);
}
.signup__title { font: 600 1rem/1.35 var(--font-body); margin: 0 0 .35rem; }
.signup__note { font-size: .925rem; color: var(--ink-soft); margin: 0 0 var(--s2); }
.signup__fields { display: grid; grid-template-columns: 1fr 1.4fr; gap: .75rem; }
.signup__fields .btn { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .875rem; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: .75rem 1rem;
  font: 400 1.0625rem var(--font-body); color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--sand); border-radius: 10px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-soft); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--ink); background: var(--paper); box-shadow: 0 0 0 4px rgba(254,153,126,.35);
}
.field input[aria-invalid="true"] { border-color: #B42318; }
.field__error { font-size: .875rem; color: #B42318; font-weight: 500; min-height: 0; }
.field__error:empty { display: none; }
.signup__privacy { font-size: .8125rem; color: var(--ink-soft); margin: .9rem 0 0; display: flex; gap: .45rem; align-items: flex-start; }
.signup__privacy svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.signup__success { display: none; text-align: left; }
.signup.is-done .signup__form { display: none; }
.reserve__fields { display: grid; gap: 1rem; }
form[data-reserve] .signup__success { display: none; }
form[data-reserve].is-done .reserve__fields { display: none; }
form[data-reserve].is-done .signup__success { display: block; animation: rise .5s var(--ease) both; }
.signup.is-done .signup__success { display: block; animation: rise .5s var(--ease) both; }
.signup__success h3 { margin-bottom: .5rem; }
.signup__success .check {
  width: 48px; height: 48px; border-radius: 50%; background: var(--coral);
  display: grid; place-items: center; margin-bottom: var(--s2);
}
.signup__success .check svg { width: 24px; height: 24px; }
.form-status { font-size: .9375rem; margin-top: .75rem; }
.form-status:empty { display: none; }
.form-status.is-error { color: #B42318; font-weight: 500; }

@media (max-width: 520px) { .signup__fields { grid-template-columns: 1fr; } }

/* ---------- Photo statement ---------- */
.statement {
  position: relative; min-height: clamp(460px, 80vh, 760px);
  display: flex; align-items: flex-end; color: var(--on-ocean); overflow: hidden; isolation: isolate;
}
.statement__img { position: absolute; inset: 0; z-index: -2; }
.statement__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* Darken only the bottom-left corner behind the words; Kris (centre of the photo) stays untouched */
.statement::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 75% at 0% 100%, rgba(43,37,32,.6) 0%, rgba(43,37,32,.25) 55%, rgba(43,37,32,0) 100%),
    linear-gradient(180deg, rgba(43,37,32,0) 60%, rgba(43,37,32,.45) 100%);
}
/* Words live in the left ~40%; Kris sits at 46–53% of the photo's width */
.statement blockquote { margin: 0; padding: var(--s6) 0; max-width: 40%; }
.statement blockquote p {
  font: 300 clamp(1.9rem, 3.4vw, 3.4rem)/1.08 var(--font-display); letter-spacing: -.02em; max-width: none; margin: 0 0 var(--s2);
}
/* Phones & tablets: photo on top, words underneath, so they can never overlap */
@media (max-width: 899px) {
  .statement { display: block; min-height: 0; background: var(--ocean-deep); }
  .statement::before { display: none; }
  .statement__img { position: relative; inset: auto; z-index: auto; aspect-ratio: 4 / 3; }
  .statement__img img { object-position: 49% 25%; }
  .statement__img::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
    background: linear-gradient(180deg, rgba(43,37,32,0), var(--ocean-deep));
  }
  .statement blockquote { max-width: none; padding: var(--s3) 0 var(--s5); }
}
.statement cite { font-style: normal; font-family: var(--font-hand); font-size: 1.6rem; color: var(--coral); }

/* ---------- Book overview ---------- */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s4) clamp(1.5rem, 4vw, 4rem); align-items: start; }
.split__aside { grid-column: 1 / span 5; position: sticky; top: 110px; }
.split__main { grid-column: 7 / span 6; }
@media (max-width: 860px) {
  .split__aside, .split__main { grid-column: 1 / -1; position: static; }
}
.book-points { list-style: none; padding: 0; margin: var(--s4) 0 0; counter-reset: pt; }
.book-points li {
  counter-increment: pt; display: grid; grid-template-columns: 3.25rem 1fr; gap: var(--s2);
  padding: var(--s3) 0; border-top: 1px solid var(--line);
}
.book-points li:last-child { border-bottom: 1px solid var(--line); }
.book-points li::before {
  content: counter(pt, decimal-leading-zero);
  font: 300 1.6rem/1 var(--font-display); color: var(--coral-display);
}
.book-points h3 { margin-bottom: .35rem; font-size: 1.3rem; }
.book-points p { margin: 0; color: var(--ink-soft); }

/* ---------- From / To words ---------- */
.shift { background: var(--ocean); color: var(--on-ocean); overflow: hidden; }
.shift .eyebrow { color: var(--coral-light); }
.shift h2 { max-width: 18ch; }
.shift__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1rem, 4vw, 4rem); align-items: center; margin-top: var(--s5); }
.shift__list { list-style: none; margin: 0; padding: 0; font-family: var(--font-hand); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.25; }
.shift__list--from li { color: var(--on-ocean-soft); opacity: .7; position: relative; width: fit-content; }
.shift__list--from li:not(.shift__label)::after {
  content: ""; position: absolute; left: -4%; right: -4%; top: 55%; height: 2px; background: var(--coral);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.shift.is-visible .shift__list--from li::after { transform: scaleX(1); }
.shift__list--from li:nth-child(3)::after { transition-delay: .12s; }
.shift__list--from li:nth-child(4)::after { transition-delay: .24s; }
.shift__list--from li:nth-child(5)::after { transition-delay: .36s; }
.shift__list--from li:nth-child(6)::after { transition-delay: .48s; }
.shift__list--from li:nth-child(7)::after { transition-delay: .6s; }
.shift__list .shift__label { opacity: 1; }
.shift__list--to { text-align: right; }
.shift__list--to li { color: var(--cream); }
.shift__list--to li:last-child { color: var(--coral); font-size: 1.25em; }
.shift__list--to li:last-child svg { display: inline-block; width: .55em; height: .55em; vertical-align: middle; margin-left: .2em; }
.shift__arrow { width: clamp(48px, 7vw, 96px); color: var(--coral); }
.shift__label { display: block; font: 700 .75rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: var(--s2); color: var(--on-ocean-soft); }
.shift__list--to .shift__label { text-align: right; }
@media (max-width: 640px) {
  .shift__grid { grid-template-columns: 1fr 1fr; }
  .shift__arrow { display: none; }
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about__photo { position: relative; }
.about__photo img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about__photo .checker { left: -24px; bottom: -24px; }
.about__sign { font-family: var(--font-hand); font-size: 2.4rem; color: var(--coral-ink); line-height: 1; margin-top: var(--s3); }
.about__roles { display: flex; flex-wrap: wrap; gap: .5rem; margin: var(--s3) 0; padding: 0; list-style: none; }
.about__roles li { padding: .4rem .9rem; border: 1px solid var(--sand); border-radius: 999px; font-size: .9rem; font-weight: 500; background: var(--paper); }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }
.coach-photo { width: 100%; max-width: 440px; justify-self: end; }
.photo-credit { margin: .6rem 0 0; font-size: .8125rem; color: var(--on-ocean-soft); }
.photo-credit a { color: inherit; }
@media (max-width: 800px) { .coach-photo { justify-self: start; } }

/* ---------- Path cards ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s5); }
.path {
  position: relative; display: flex; flex-direction: column; gap: var(--s2);
  padding: var(--s4); border-radius: var(--radius-lg);
  background: var(--paper); border: 1px solid var(--line); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  min-height: 320px;
}
.path:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sand); text-decoration: none; }
.path__num { font: 300 3.5rem/1 var(--font-display); color: var(--coral-display); }
.path h3 { margin: 0; }
.path p { color: var(--ink-soft); margin: 0; flex: 1; }
.path .text-link { align-self: flex-start; }
.path--coral { background: var(--coral); border-color: var(--coral); }
.path--coral .path__num { color: var(--ink); }
.path--coral p { color: var(--ink); }
.path--dark { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.path--dark p { color: var(--sand); }
.path--dark .path__num { color: var(--coral); }
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; } .path { min-height: 0; } }

/* ---------- Freebie block (workbook cover homage) ---------- */
.freebie {
  display: grid; grid-template-columns: 1.2fr .8fr; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--coral); box-shadow: var(--shadow);
}
.freebie__body { padding: clamp(2rem, 5vw, 4rem); position: relative; }
.freebie__body.bracket::after { top: clamp(1.25rem, 3vw, 2rem); right: clamp(1.25rem, 3vw, 2rem); }
.freebie__body h2 { font-size: clamp(2.4rem, 5vw, 4rem); text-transform: uppercase; font-weight: 300; margin-bottom: var(--s2); }
.freebie__body .sub { font: 400 clamp(1.2rem, 2vw, 1.6rem)/1.15 var(--font-display); text-transform: uppercase; margin-bottom: var(--s3); }
.freebie__body p { color: var(--ink); }
.freebie__side { background: var(--ink); color: var(--cream); padding: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: space-between; gap: var(--s4); }
.freebie__side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.freebie__side li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; }
.freebie__side li svg { width: 20px; height: 20px; flex: none; color: var(--coral); margin-top: 3px; }
.freebie__meta { font-size: .875rem; color: var(--sand); margin: 0; }
@media (max-width: 860px) { .freebie { grid-template-columns: 1fr; } }

/* ---------- Big final CTA ---------- */
.final { position: relative; color: var(--on-ocean); isolation: isolate; overflow: hidden; }
.final__img { position: absolute; inset: 0; z-index: -2; }
.final__img img { width: 100%; height: 100%; object-fit: cover; object-position: 88% 70%; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(43,37,32,.85) 0%, rgba(43,37,32,.5) 50%, rgba(43,37,32,.05) 100%); }
.final__inner { max-width: 620px; }
/* Text on the right, for photos where Kris is centre-left */
.final--right .final__inner { margin-left: auto; }
.final--right::before { background: linear-gradient(270deg, rgba(43,37,32,.85) 0%, rgba(43,37,32,.5) 50%, rgba(43,37,32,.05) 100%); }
@media (max-width: 860px) {
  .final::before, .final--right::before { background: rgba(43,37,32,.72); }
}
.final h2 { color: var(--cream); }
.final .lead { color: var(--on-ocean-soft); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); max-width: 16ch; }
.page-hero .lead { max-width: 56ch; }
.page-hero .checker { right: var(--gutter); top: clamp(2rem, 6vw, 4rem); }
.page-hero--coral { background: var(--coral); }
.page-hero--coral .lead { color: var(--ink); }
.page-hero--dark { background: var(--ocean); color: var(--on-ocean); }
.page-hero--dark .lead { color: var(--on-ocean-soft); }
.page-hero--dark .eyebrow { color: var(--coral-light); }
@media (max-width: 700px) { .page-hero .checker { display: none; } }

.banner-img { aspect-ratio: 21 / 8; overflow: hidden; }
.banner-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .banner-img { aspect-ratio: 4 / 3; } }

/* ---------- Generic cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: var(--s2);
}
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--ink-soft); }
.card__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral-ink); }
.card__icon svg { width: 24px; height: 24px; }
.card--feature { border-color: var(--ink); box-shadow: var(--shadow); position: relative; }
.card--coral { background: var(--coral); border-color: var(--coral); }
.card--coral p { color: var(--ink); }
.card--coral .card__icon { background: rgba(255,255,255,.55); color: var(--ink); }
.card--dark { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.card--dark p { color: var(--sand); }
.card--dark .card__icon { background: rgba(255,255,255,.1); color: var(--coral); }
.card--coral .card__tag { background: var(--ink); color: var(--cream); }
.card--coral li svg, .card--coral .card__price small { color: var(--ink); }
.card--dark li svg { color: var(--coral); }
.card--dark .card__price small { color: var(--sand); }
.card--dark .btn--ghost { color: var(--cream); }
.card--dark .btn--light:hover, .card--dark .btn--ghost:hover { box-shadow: 0 8px 24px -10px rgba(0,0,0,.6); }
.card__tag { position: absolute; top: -12px; left: 1.5rem; background: var(--coral); color: var(--ink); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.card__price { font: 300 2.4rem/1 var(--font-display); }
.card__price small { font: 500 .9rem var(--font-body); color: var(--ink-soft); }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.card li { display: flex; gap: .6rem; align-items: flex-start; font-size: 1rem; }
.card li svg { width: 18px; height: 18px; flex: none; color: var(--coral-ink); margin-top: 4px; }
.card .btn { margin-top: auto; align-self: flex-start; }

.checklist { list-style: none; padding: 0; margin: var(--s3) 0; display: grid; gap: .9rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--coral-ink); margin-top: 3px; }

.quote-card { background: var(--sand-soft); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); position: relative; }
.quote-card p { font: 300 clamp(1.4rem, 2.6vw, 2rem)/1.3 var(--font-display); max-width: none; }
.quote-card footer { font-size: .95rem; color: var(--ink-soft); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); counter-reset: st; }
.steps li { counter-increment: st; border-top: 2px solid var(--ink); padding-top: var(--s2); }
.steps li::before { content: counter(st, decimal-leading-zero); display: block; font: 300 2rem/1 var(--font-display); color: var(--coral-display); margin-bottom: var(--s2); }
.steps h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.steps p { font-size: 1rem; color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
@media (max-width: 900px) { .topics { grid-template-columns: 1fr; } }
.topic { padding: var(--s4); border-radius: var(--radius-lg); background: var(--ocean); color: var(--on-ocean); display: flex; flex-direction: column; gap: var(--s2); }
.topic__num { font-family: var(--font-hand); font-size: 1.8rem; color: var(--coral); line-height: 1; }
.topic h3 { margin: 0; }
.topic p { color: var(--on-ocean-soft); margin: 0; font-size: 1rem; }
.topic__for { margin-top: auto; font-size: .85rem; color: var(--sand); border-top: 1px solid rgba(244,238,232,.15); padding-top: var(--s2); }
.topic--coral { background: var(--coral); color: var(--ink); }
.topic--coral p, .topic--coral .topic__num, .topic--coral .topic__for { color: var(--ink); }
.topic--coral .topic__for { border-top-color: rgba(43,37,32,.2); }
.topic--light { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.topic--light p, .topic--light .topic__for { color: var(--ink-soft); }
.topic--light .topic__num { color: var(--coral-ink); }
.topic--light .topic__for { border-top-color: var(--line); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--s3) 3rem var(--s3) 0; position: relative;
  font: 400 1.25rem/1.3 var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 var(--s3); color: var(--ink-soft); }

.order-opts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 800px) { .order-opts { grid-template-columns: 1fr; } }

.notice {
  display: flex; gap: .8rem; align-items: flex-start; padding: var(--s2) var(--s3); border-radius: 10px;
  background: var(--coral-soft); font-size: 1rem;
}
.notice svg { width: 22px; height: 22px; flex: none; color: var(--coral-ink); margin-top: 2px; }

.prose { max-width: 68ch; margin: 0 auto; }
.prose p, .prose li { font-size: 1.1875rem; line-height: 1.8; }
.prose h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-top: var(--s5); }
.prose blockquote { margin: var(--s4) 0; padding-left: var(--s3); border-left: 3px solid var(--coral); font: 300 1.5rem/1.4 var(--font-display); }
.prose img { border-radius: var(--radius-lg); margin: var(--s4) 0; }

.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4) var(--s3); }
@media (max-width: 900px) { .post-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-list { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; gap: var(--s2); text-decoration: none; }
.post__img { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand-soft); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post:hover .post__img img { transform: scale(1.04); }
.post__meta { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-ink); }
.post h3 { margin: 0; }
.post:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.post p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.post--soon { opacity: .75; pointer-events: none; }
.post__placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-hand); font-size: 1.8rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--sand); padding: var(--s6) 0 var(--s4); }
.site-footer a { color: var(--cream); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--s5); }
.footer__brand .brand__name { color: var(--cream); font-size: 1.6rem; }
.footer__brand p { font-size: 1rem; margin-top: var(--s2); max-width: 36ch; }
.footer__col h2 { font: 700 .75rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin-bottom: var(--s2); }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer__col a { text-decoration: none; font-size: 1rem; }
.footer__col a:hover { text-decoration: underline; }
.footer__social { display: flex; gap: .75rem; margin-top: var(--s3); }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(216,207,195,.35); display: grid; place-items: center; }
.footer__social a:hover { background: var(--coral); color: var(--ink); border-color: var(--coral); }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom {
  margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid rgba(216,207,195,.2);
  display: flex; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; font-size: .875rem;
}
.footer__bottom a { color: var(--cream); }
.footer__care { font-size: .875rem; color: var(--sand); max-width: 70ch; margin-top: var(--s3); }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

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

/* utilities */
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: var(--s2); } .mt-3 { margin-top: var(--s3); } .mt-4 { margin-top: var(--s4); } .mt-5 { margin-top: var(--s5); }
.bg-paper { background: var(--paper); }
.bg-sand { background: var(--sand-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
