/* ==========================================================================
   Kunz Coaching 2026  |  design system
   Navy / clay / sand. Playfair Display headlines, Montserrat UI, Lato body.
   ========================================================================== */

:root{
  /* ink */
  --navy:        #14293f;
  --navy-deep:   #0d1c2c;
  --navy-soft:   #1d3550;
  --navy-line:   rgba(255,255,255,.14);

  /* accent */
  --clay:        #b97c56;
  --clay-deep:   #9d6240;
  --clay-lit:    #d2a183;
  --clay-pale:   #e7d3c3;

  /* supporting */
  --sage:        #b6c0b4;
  --sage-pale:   #d8ded6;
  --blush:       #e8d8cb;

  /* ground */
  --sand:        #f2ece2;
  --paper:       #fbf8f3;
  --white:       #ffffff;

  /* type on light */
  --ink:         #1b2b3a;
  --ink-soft:    #4d5c69;
  --ink-mute:    #7a8792;
  --rule:        rgba(27,43,58,.14);

  /* type */
  --display: "Playfair Display", "Times New Roman", serif;
  --ui:      "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body:    "Lato", "Helvetica Neue", Arial, sans-serif;

  /* rhythm */
  --gut: clamp(20px, 5vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html{ scroll-behavior:smooth; scroll-padding-top:calc(96px + var(--nbar-h,0px)); -webkit-text-size-adjust:100%; }

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--body);
  font-size:17px;
  line-height:1.72;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; }

h1,h2,h3,h4{
  font-family:var(--display);
  font-weight:600;
  line-height:1.08;
  letter-spacing:-.012em;
  margin:0;
}
h1{ font-size:clamp(2.9rem, 6.4vw, 5.1rem); }
h2{ font-size:clamp(2.1rem, 4.3vw, 3.5rem); }
h3{ font-size:clamp(1.28rem, 2vw, 1.6rem); }
p{ margin:0 0 1.05em; }
p:last-child{ margin-bottom:0; }

/* ---------- utilities ---------------------------------------------------- */

.wrap{ width:100%; max-width:var(--max); margin-inline:auto; padding-inline:var(--gut); }
.wrap-narrow{ width:100%; max-width:900px; margin-inline:auto; padding-inline:var(--gut); }

.kicker{
  font-family:var(--ui);
  font-size:.66rem;
  font-weight:600;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--clay-deep);
  margin:0 0 1.1rem;
  display:flex;
  align-items:center;
  gap:1rem;
}
.kicker::after{
  content:""; flex:1; height:1px; max-width:120px;
  background:currentColor; opacity:.4;
}
.kicker--center{ justify-content:center; }
.kicker--center::before{
  content:""; flex:1; height:1px; max-width:120px;
  background:currentColor; opacity:.4;
}
.kicker--plain::after{ display:none; }
.on-navy .kicker, .kicker--light{ color:var(--clay-lit); }

.lede{ font-size:clamp(1.06rem,1.5vw,1.22rem); color:var(--ink-soft); line-height:1.66; }
.on-navy .lede{ color:rgba(255,255,255,.76); }

.section{ padding-block:clamp(72px, 9vw, 140px); position:relative; }
.section--sand{ background:var(--sand); }
.section--paper{ background:var(--paper); }
.section--white{ background:var(--white); }
.section--navy{ background:var(--navy); color:#fff; }
.section--tight{ padding-block:clamp(52px,6vw,92px); }

.on-navy{ color:#fff; }
.on-navy h1,.on-navy h2,.on-navy h3{ color:#fff; }

.center{ text-align:center; }
.sec-head{ max-width:760px; margin-inline:auto; text-align:center; margin-bottom:clamp(42px,5vw,68px); }
.sec-head .kicker{ justify-content:center; }
.sec-head .kicker::before{
  content:""; flex:1; height:1px; max-width:120px; background:currentColor; opacity:.4;
}
.sec-head p{ margin-top:1rem; }

/* ---------- buttons ------------------------------------------------------ */

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.7em;
  font-family:var(--ui);
  font-size:.74rem;
  font-weight:600;
  letter-spacing:.17em;
  text-transform:uppercase;
  text-decoration:none;
  padding:1.12em 2.1em;
  border:1px solid transparent;
  border-radius:3px;
  cursor:pointer;
  position:relative;
  overflow:hidden;
  transition:background-color .5s var(--ease), color .5s var(--ease),
             border-color .5s var(--ease), transform .5s var(--ease),
             box-shadow .5s var(--ease);
}
.btn::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(105deg, transparent 38%, rgba(255,255,255,.22) 50%, transparent 62%);
  transform:translateX(-120%);
  transition:transform 1.1s var(--ease);
}
.btn:hover::after{ transform:translateX(120%); }
.btn:hover{ transform:translateY(-2px); }

.btn--clay{ background:var(--clay); color:#fff; box-shadow:0 10px 30px -14px rgba(157,98,64,.85); }
.btn--clay:hover{ background:var(--clay-deep); box-shadow:0 16px 38px -14px rgba(157,98,64,.9); }

.btn--ghost{ border-color:rgba(255,255,255,.4); color:#fff; }
.btn--ghost:hover{ border-color:#fff; background:rgba(255,255,255,.07); }

.btn--ink{ border-color:rgba(27,43,58,.32); color:var(--ink); }
.btn--ink:hover{ border-color:var(--navy); background:var(--navy); color:#fff; }

.btn--wide{ width:100%; }
.btn--lg{ padding:1.3em 2.6em; font-size:.78rem; }

.btn-note{
  font-family:var(--ui); font-size:.72rem; letter-spacing:.09em;
  color:var(--ink-mute); margin-top:1.1rem;
}
.on-navy .btn-note{ color:rgba(255,255,255,.58); }

.play{
  width:2.2em; height:2.2em; border-radius:50%;
  border:1px solid currentColor;
  display:inline-flex; align-items:center; justify-content:center;
  flex:none;
}
.play svg{ width:.7em; height:.7em; margin-left:.12em; fill:currentColor; }

/* ---------- header ------------------------------------------------------- */

.hdr{
  position:fixed; inset:0 0 auto 0; z-index:80;
  background:transparent;
  transition:background-color .55s var(--ease),
             box-shadow .55s var(--ease), backdrop-filter .55s var(--ease);
}
.hdr--solid{
  background:rgba(13,28,44,.94);
  backdrop-filter:blur(14px);
  box-shadow:0 1px 0 rgba(255,255,255,.08);
}
.hdr--solid .hdr__in{ padding-block:.85rem; }
.hdr__in{
  padding-block:1.35rem; transition:padding .55s var(--ease);
  display:flex; align-items:center; gap:2rem;
  width:100%; max-width:1480px; margin-inline:auto; padding-inline:var(--gut);
}

.brand{ text-decoration:none; color:#fff; flex:none; line-height:1; }
.brand__name{
  font-family:var(--display);
  font-size:clamp(1.02rem,1.5vw,1.28rem);
  letter-spacing:.11em;
  text-transform:uppercase;
  display:block;
}
.brand__rule{
  display:flex; align-items:center; gap:.6rem;
  margin-top:.42rem;
  font-family:var(--ui); font-size:.5rem; font-weight:500;
  letter-spacing:.3em; text-transform:uppercase;
  color:rgba(255,255,255,.62);
}
.brand__rule::before,.brand__rule::after{
  content:""; height:1px; flex:1; background:rgba(255,255,255,.34);
}

.nav{ display:flex; gap:1.75rem; margin-inline:auto; align-items:center; }
.nav a{
  font-family:var(--ui); font-size:.68rem; font-weight:500;
  letter-spacing:.17em; text-transform:uppercase;
  color:rgba(255,255,255,.85); text-decoration:none; white-space:nowrap;
  padding-block:.4rem; position:relative;
  transition:color .4s var(--ease);
}
.nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:1px;
  background:var(--clay-lit);
  transform:scaleX(0); transform-origin:left;
  transition:transform .55s var(--ease);
}
.nav a:hover{ color:#fff; }
.nav a:hover::after,.nav a[aria-current="page"]::after{ transform:scaleX(1); }
.nav a[aria-current="page"]{ color:#fff; }

.hdr__cta{ flex:none; padding:1em 1.9em; font-size:.68rem; }
.nav__cta{ display:none; }

.hdr__tag{
  flex:none;
  font-family:var(--ui); font-size:.46rem; font-weight:500;
  letter-spacing:.26em; text-transform:uppercase;
  color:rgba(255,255,255,.5); line-height:1.9;
  border-left:1px solid rgba(255,255,255,.2);
  padding-left:1.1rem;
}

.burger{
  display:none; flex:none; width:44px; height:44px;
  background:none; border:0; cursor:pointer; padding:0;
  align-items:center; justify-content:center;
}
.burger span{
  display:block; width:22px; height:1.5px; background:#fff; position:relative;
  transition:background-color .35s var(--ease);
}
.burger span::before,.burger span::after{
  content:""; position:absolute; left:0; width:22px; height:1.5px; background:#fff;
  transition:transform .45s var(--ease), top .45s var(--ease);
}
.burger span::before{ top:-7px; }
.burger span::after{ top:7px; }
.nav-open .burger span{ background:transparent; }
.nav-open .burger span::before{ top:0; transform:rotate(45deg); }
.nav-open .burger span::after{ top:0; transform:rotate(-45deg); }

/* ---------- cart button in the header ------------------------------------ */

/* The shop is not open yet, so there is no bag to show. Delete this rule when
   the shop launches (js/products.js "open": true). */
.cartbtn{ display:none !important; }

.cartbtn{
  flex:none; position:relative;
  width:42px; height:42px; border:0; background:transparent; cursor:pointer;
  display:grid; place-items:center; text-decoration:none;
}
.cartbtn svg{
  width:20px; height:20px; stroke:#fff; fill:none; stroke-width:1.5;
  transition:stroke .4s var(--ease);
}
.cartbtn:hover svg{ stroke:var(--clay-lit); }
.cartbtn b{
  position:absolute; top:2px; right:0;
  min-width:17px; height:17px; padding:0 4px;
  border-radius:9px; background:var(--clay); color:#fff;
  font-family:var(--ui); font-size:.56rem; font-weight:700;
  display:grid; place-items:center;
  transform:scale(0); transition:transform .5s var(--ease);
}
.cartbtn b.is-on{ transform:scale(1); }

/* ---------- hero --------------------------------------------------------- */

.hero{
  position:relative;
  background:var(--navy);
  color:#fff;
  min-height:min(96vh, 920px);
  display:flex; align-items:center;
  padding-top:clamp(120px,13vw,150px); padding-bottom:clamp(70px,8vw,110px);
  overflow:hidden;
}
.hero::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:radial-gradient(120% 90% at 6% 26%, rgba(185,124,86,.2), transparent 56%);
  pointer-events:none;
}

/* the photo panel sits on the right, slanted on its left edge, with its right
   edge lined up with the header's Join the Course button (header: 1480px max) */
.hero__art{
  position:absolute; z-index:1;
  top:66px; bottom:0;
  --hero-right:calc(max(0px, (100% - 1480px) / 2) + var(--gut));
  right:var(--hero-right);
  /* the headline starts the same distance from the left as the panel ends on
     the right; leave it about 740px, and keep the panel between 40% (560px at
     most) and 860px */
  width:clamp(min(40%, 560px), calc(100% - 2 * var(--hero-right) - 740px), min(54%, 860px));
}
.hero__photo{
  position:absolute; inset:0;
  clip-path:polygon(13% 0, 100% 0, 100% 100%, 0 100%);
  overflow:hidden;
}
.hero__photo img{
  width:100%; height:100%; object-fit:cover; object-position:58% 30%;
  transform:scale(1.07);
  transition:transform 2.4s var(--ease);
}
.hero__book{
  position:absolute; z-index:3; right:11%; bottom:8%;
  width:min(27%, 182px);
  aspect-ratio:3/4;
  background:linear-gradient(162deg,#f7f2ea,#e6ddcf);
  box-shadow:0 34px 66px -24px rgba(0,0,0,.66);
  display:flex; flex-direction:column; align-items:center;
  text-align:center; padding:1.5rem 1.05rem 1.2rem;
  transform:rotate(1.4deg);
}
.hero__book b{
  font-family:var(--display); font-weight:600;
  font-size:clamp(.92rem,1.35vw,1.22rem);
  letter-spacing:.075em; text-transform:uppercase; color:var(--navy);
  line-height:1.26;
}
.hero__book small{
  font-family:var(--ui); font-size:.44rem; font-weight:600;
  letter-spacing:.26em; text-transform:uppercase; color:var(--clay-deep);
  margin-top:.7rem;
}
.hero__book i{
  font-style:normal; display:block; width:34px; height:1px;
  background:var(--clay); margin:1rem auto;
}
.hero__book em{
  font-style:normal; font-family:var(--ui); font-size:.4rem; font-weight:500;
  letter-spacing:.2em; text-transform:uppercase; color:var(--ink-mute);
  line-height:2; margin-top:auto;
}
.hero__card{
  position:absolute; z-index:2; right:3.5%; top:15%;
  width:min(37%, 248px);
  background:var(--paper);
  padding:9px 9px 0;
  box-shadow:0 36px 70px -26px rgba(0,0,0,.68);
  transform:rotate(-2deg);
  margin:0;
}
.hero__card img{ width:100%; aspect-ratio:4/3; object-fit:cover; }
.hero__card figcaption{
  font-family:var(--ui); font-size:.5rem; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase;
  color:var(--ink-mute); text-align:center; padding:.8rem .5rem .85rem; line-height:1.9;
}

/* the thin drawn line sweeping under the copy */
.hero__flourish{
  position:absolute; z-index:2; left:0; bottom:0;
  width:62%; height:clamp(70px,9vw,120px); pointer-events:none;
}
.hero__flourish path{ fill:none; stroke:var(--clay-lit); stroke-width:1; opacity:.55; }

/* copy column sits above, sized to clear the slab */
.hero__grid{
  position:relative; z-index:4;
  width:100%; max-width:1480px; margin-inline:auto; padding-inline:var(--gut);
}
.hero__copy{ max-width:min(50%, 640px); }
.hero h1{ margin-bottom:1.5rem; }
.hero h1 em{ font-style:normal; color:var(--clay-lit); }
.hero__lede{ font-size:clamp(1.02rem,1.25vw,1.14rem); color:rgba(255,255,255,.78); max-width:31em; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:.85rem; margin-top:2.2rem; }
.hero__actions .btn{ padding-inline:1.7em; font-size:.7rem; }
.hero__meta{
  font-family:var(--ui); font-size:.64rem; letter-spacing:.12em;
  color:rgba(255,255,255,.56); margin-top:1.45rem;
}
.hero__meta span{ margin-inline:.5rem; color:var(--clay-lit); }

/* ---------- stat band ---------------------------------------------------- */

.stats{ background:var(--sand); }
.stats__in{
  display:grid; grid-template-columns:repeat(4,1fr);
  padding-block:clamp(26px,3.2vw,40px);
}
.stat{ text-align:center; padding-inline:1rem; position:relative; }
.stat + .stat::before{
  content:""; position:absolute; left:0; top:12%; bottom:12%; width:1px;
  background:var(--rule);
}
.stat b, .stat b span{
  display:block; font-family:var(--display); font-weight:600;
  font-size:clamp(1.65rem,3vw,2.35rem); color:var(--navy); line-height:1.1;
}
.stat > span{
  display:block; margin-top:.4rem;
  font-family:var(--ui); font-size:.64rem; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase; color:var(--ink-soft);
}
.stat--wide b{ font-family:var(--ui); font-size:clamp(.82rem,1.4vw,1rem); letter-spacing:.16em; text-transform:uppercase; padding-top:.45rem; }

/* ---------- pillar cards ------------------------------------------------- */

.pillars{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(18px,2vw,28px); }
.pillar{
  background:var(--white);
  border:1px solid var(--rule);
  border-radius:4px;
  padding:clamp(28px,3vw,38px);
  display:flex; flex-direction:column; gap:1.3rem; align-items:flex-start;
  transition:transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease);
}
.pillar:hover{
  transform:translateY(-4px);
  box-shadow:0 26px 52px -32px rgba(20,41,63,.5);
  border-color:rgba(185,124,86,.4);
}
.pillar__icon{
  flex:none; width:62px; height:62px; border-radius:50%;
  display:grid; place-items:center;
  background:var(--blush);
}
.pillar:nth-child(2) .pillar__icon{ background:var(--sage-pale); }
.pillar:nth-child(3) .pillar__icon{ background:var(--clay-pale); }
.pillar__icon svg{ width:27px; height:27px; stroke:var(--navy); fill:none; stroke-width:1.3; }
.pillar__weeks{
  font-family:var(--ui); font-size:.62rem; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase; color:var(--clay-deep);
}
.pillar h3{
  font-family:var(--display); font-size:clamp(1.4rem,1.9vw,1.65rem); font-weight:600;
  line-height:1.2; color:var(--navy);
  margin:.55rem 0 .8rem;
}
.pillar p{ font-size:.95rem; color:var(--ink-soft); margin:0; }
.pillar p + p{ margin-top:.7rem; }

/* ---------- split ("problem" / narrative) -------------------------------- */

.split{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(34px,5vw,80px); align-items:center;
}
.split--reverse .split__art{ order:-1; }
.split__art{ position:relative; }
.split__art img{ width:100%; border-radius:3px; }
.split__art--framed img{
  box-shadow:0 34px 70px -36px rgba(20,41,63,.62);
}
.split__stack{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.split__stack img:first-child{ grid-column:1 / -1; }
.split__badge{
  position:absolute; left:-18px; bottom:-18px;
  background:var(--navy); color:#fff;
  padding:1.3rem 1.6rem; border-radius:3px; max-width:230px;
  box-shadow:0 26px 52px -26px rgba(0,0,0,.6);
}
.split__badge b{
  display:block; font-family:var(--display); font-size:1.85rem; line-height:1;
  color:var(--clay-lit);
}
.split__badge span{
  display:block; margin-top:.4rem;
  font-family:var(--ui); font-size:.58rem; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase; color:rgba(255,255,255,.76);
}

/* pain list */
.pain{ list-style:none; margin:1.8rem 0 0; padding:0; display:grid; gap:.85rem; }
.pain li{
  display:flex; gap:.9rem; align-items:flex-start;
  font-size:1rem; color:var(--ink-soft);
}
.pain li::before{
  content:""; flex:none; width:7px; height:7px; margin-top:.62em;
  background:var(--clay); transform:rotate(45deg);
}
.on-navy .pain li{ color:rgba(255,255,255,.8); }

/* ---------- value stack -------------------------------------------------- */

.offer{
  display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);
  gap:clamp(30px,4vw,56px); align-items:start;
}
.stack{ list-style:none; margin:0; padding:0; }
.stack li{
  display:grid; grid-template-columns:1fr auto; gap:1.5rem; align-items:baseline;
  padding:1.15rem 0;
  border-bottom:1px solid var(--rule);
}
.on-navy .stack li{ border-color:var(--navy-line); }
.stack li:first-child{ border-top:1px solid var(--rule); }
.on-navy .stack li:first-child{ border-color:var(--navy-line); }
.stack b{
  font-family:var(--ui); font-size:.82rem; font-weight:600;
  letter-spacing:.06em; text-transform:uppercase;
}
.stack small{
  display:block; font-family:var(--body); font-size:.92rem;
  font-weight:400; letter-spacing:0; text-transform:none;
  color:var(--ink-soft); margin-top:.3rem;
}
.on-navy .stack small{ color:rgba(255,255,255,.66); }
.stack i{
  font-style:normal; font-family:var(--ui); font-size:.78rem; font-weight:600;
  letter-spacing:.08em; color:var(--clay-deep); white-space:nowrap;
}
.on-navy .stack i{ color:var(--clay-lit); }
.stack__total{
  display:flex; justify-content:space-between; align-items:baseline;
  gap:1.5rem; padding-top:1.35rem;
  font-family:var(--ui); font-size:.82rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
}
.stack__total i{ font-style:normal; font-size:1rem; }

/* price card */
.price{
  background:var(--white);
  border:1px solid var(--rule);
  border-radius:4px;
  padding:clamp(28px,3.2vw,40px);
  text-align:center;
  box-shadow:0 30px 64px -40px rgba(20,41,63,.55);
  position:sticky; top:calc(104px + var(--nbar-h,0px));
}
.price--navy{ background:var(--navy-deep); border-color:var(--navy-line); color:#fff; }
.price__tag{
  font-family:var(--ui); font-size:.6rem; font-weight:600;
  letter-spacing:.24em; text-transform:uppercase; color:var(--clay-deep);
}
.price--navy .price__tag{ color:var(--clay-lit); }
.price__strike{
  font-family:var(--ui); font-size:.82rem; letter-spacing:.08em;
  color:var(--ink-mute); text-decoration:line-through; margin-top:1.1rem;
}
.price--navy .price__strike{ color:rgba(255,255,255,.5); }
.price__now{
  font-family:var(--display); font-size:clamp(3rem,5vw,3.9rem);
  line-height:1; color:var(--navy); margin:.25rem 0 .1rem;
}
.price--navy .price__now{ color:#fff; }
.price__terms{ font-family:var(--ui); font-size:.7rem; letter-spacing:.1em; color:var(--ink-soft); }
.price--navy .price__terms{ color:rgba(255,255,255,.66); }
.price .btn{ margin-top:1.6rem; }
.price__rule{ height:1px; background:var(--rule); margin:1.6rem 0; }
.price--navy .price__rule{ background:var(--navy-line); }
.price__list{ list-style:none; margin:0; padding:0; text-align:left; display:grid; gap:.6rem; }
.price__list li{
  display:flex; gap:.7rem; align-items:flex-start;
  font-size:.9rem; color:var(--ink-soft);
}
.price--navy .price__list li{ color:rgba(255,255,255,.72); }
.price__list svg{ flex:none; width:14px; height:14px; margin-top:.42em; stroke:var(--clay); fill:none; stroke-width:2; }

/* ---------- how it works (timeline) -------------------------------------- */

.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(16px,2vw,26px); position:relative; }
.steps::before{
  content:""; position:absolute; left:6%; right:6%; top:26px; height:1px;
  background:var(--rule);
}
.on-navy .steps::before{ background:var(--navy-line); }
.step{ position:relative; text-align:center; }
.step__n{
  width:52px; height:52px; border-radius:50%;
  background:var(--clay); color:#fff;
  display:grid; place-items:center; margin:0 auto 1.25rem;
  font-family:var(--ui); font-size:.8rem; font-weight:700; letter-spacing:.08em;
  box-shadow:0 0 0 8px var(--paper);
  position:relative; z-index:2;
}
.section--sand .step__n{ box-shadow:0 0 0 8px var(--sand); }
.section--navy .step__n{ box-shadow:0 0 0 8px var(--navy); }
.step h3{
  font-family:var(--ui); font-size:.85rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; margin-bottom:.6rem;
}
.step p{ font-size:.93rem; color:var(--ink-soft); }
.on-navy .step p{ color:rgba(255,255,255,.7); }

/* ---------- curriculum weeks --------------------------------------------- */

.weeks{ display:grid; grid-template-columns:repeat(auto-fit,minmax(248px,1fr)); gap:14px; }
.week{
  background:var(--white); border:1px solid var(--rule); border-radius:4px;
  padding:1.6rem 1.5rem;
  transition:transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease);
}
.week:hover{ transform:translateY(-3px); box-shadow:0 22px 44px -30px rgba(20,41,63,.5); border-color:rgba(185,124,86,.42); }
.week b{
  font-family:var(--ui); font-size:.58rem; font-weight:700;
  letter-spacing:.24em; text-transform:uppercase; color:var(--clay-deep);
}
.week h3{
  font-family:var(--display); font-size:1.2rem; margin:.5rem 0 .55rem; color:var(--navy);
}
.week p{ font-size:.92rem; color:var(--ink-soft); margin:0; }

/* ---------- testimonials ------------------------------------------------- */

.quotes{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(16px,2vw,26px); }
.quote{
  background:var(--white); border:1px solid var(--rule); border-radius:4px;
  padding:clamp(26px,2.6vw,34px);
  display:flex; flex-direction:column;
  transition:transform .6s var(--ease), box-shadow .6s var(--ease);
}
.quote:hover{ transform:translateY(-4px); box-shadow:0 26px 52px -32px rgba(20,41,63,.5); }
.quote__mark{
  font-family:var(--display); font-size:3.2rem; line-height:.7;
  color:var(--clay-pale); margin-bottom:.7rem;
}
.quote p{ font-size:.98rem; color:var(--ink-soft); }
.quote footer{
  margin-top:auto; padding-top:1.3rem;
  display:flex; align-items:center; gap:.85rem;
  font-family:var(--ui); font-size:.64rem; font-weight:600;
  letter-spacing:.16em; text-transform:uppercase; color:var(--navy);
}
.quote footer img{ width:38px; height:38px; border-radius:50%; object-fit:cover; flex:none; }
.quote footer span{ display:block; color:var(--ink-mute); font-weight:500; letter-spacing:.12em; margin-top:.18rem; }

.quote--feature{
  grid-column:1 / -1; background:var(--navy); border-color:transparent; color:#fff;
}
.quote--feature p{ color:rgba(255,255,255,.86); font-size:clamp(1.05rem,1.6vw,1.24rem); line-height:1.7; }
.quote--feature footer{ color:#fff; }
.quote--feature .quote__mark{ color:var(--clay); }

/* Quotes read as real quotations: the big decorative mark is hidden and the
   words get ordinary curly quotes in the same font. A quote that runs over
   several paragraphs opens each one and closes only at the end. */
.quote__mark{ display:none; }

/* Featured quote with a photo (Home): photo on the left, words on the right;
   stacked on phones. */
.quote--photo{
  display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  padding:0; overflow:hidden;
}
.quote__photo{ margin:0; position:relative; min-height:520px; }
.quote__photo img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:50% 22%;
}
.quote__body{
  display:flex; flex-direction:column; justify-content:center;
  padding:clamp(30px,4vw,60px);
}
.quote--photo footer{ margin-top:0; padding-top:1.6rem; }
@media (max-width:900px){
  .quote--photo{ grid-template-columns:1fr; }
  .quote__photo{ min-height:0; height:min(125vw, 560px); }
}
/* Browsers indent every blockquote 40px a side. On wide screens that lines the
   cards up with the couple photos above, so it stays; on phones it squeezes
   the cards, so it goes. */
@media (max-width:620px){
  .quote{ margin-inline:0; }
}
.quote__mark ~ p::before{ content:"\201C"; }
.quote__mark ~ p:last-of-type::after{ content:"\201D"; }

/* married couples strip */
.couples{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(14px,1.8vw,22px); }
.couple{ position:relative; border-radius:3px; overflow:hidden; }
.couple img{ width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform 1.3s var(--ease); }
.couple:hover img{ transform:scale(1.045); }
.couple figcaption{
  position:absolute; inset:auto 0 0 0;
  background:linear-gradient(transparent, rgba(13,28,44,.88));
  padding:2.6rem 1.25rem 1.1rem;
  font-family:var(--ui); font-size:.64rem; font-weight:600;
  letter-spacing:.18em; text-transform:uppercase; color:#fff;
}

/* ---------- coaches ------------------------------------------------------ */

.coach-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(18px,2.4vw,30px); }
.coach{ text-align:left; }
.coach img{ width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:3px; }
.coach h3{ margin:1.25rem 0 .35rem; }
.coach .role{
  font-family:var(--ui); font-size:.6rem; font-weight:600;
  letter-spacing:.24em; text-transform:uppercase; color:var(--clay-deep);
}
.on-navy .coach .role{ color:var(--clay-lit); }
.coach p{ margin-top:.85rem; font-size:.96rem; color:var(--ink-soft); }
.on-navy .coach p{ color:rgba(255,255,255,.74); }

/* ---------- track cards (coaching page) ---------------------------------- */

.tracks{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(18px,2.4vw,28px); }
.track{
  background:var(--white); border:1px solid var(--rule); border-radius:4px;
  overflow:hidden; display:flex; flex-direction:column;
  transition:transform .6s var(--ease), box-shadow .6s var(--ease);
}
.track:hover{ transform:translateY(-4px); box-shadow:0 30px 60px -36px rgba(20,41,63,.55); }
.track img{ width:100%; aspect-ratio:16/9; object-fit:cover; }
.track__body{ padding:clamp(24px,2.6vw,34px); display:flex; flex-direction:column; flex:1; }
.track b{
  font-family:var(--ui); font-size:.58rem; font-weight:700;
  letter-spacing:.24em; text-transform:uppercase; color:var(--clay-deep);
}
.track h3{ margin:.55rem 0 .7rem; color:var(--navy); }
.track p{ font-size:.96rem; color:var(--ink-soft); }
.track .track__who{
  margin-top:auto; padding-top:1.2rem;
  font-family:var(--ui); font-size:.66rem; font-weight:600;
  letter-spacing:.13em; text-transform:uppercase; color:var(--navy);
  border-top:1px solid var(--rule);
}

/* ---------- guarantee ---------------------------------------------------- */

.guarantee{
  display:grid; grid-template-columns:auto minmax(0,1fr); gap:clamp(24px,3vw,44px);
  align-items:center;
  background:var(--white); border:1px solid var(--rule); border-radius:4px;
  padding:clamp(30px,3.4vw,48px);
  box-shadow:0 30px 64px -44px rgba(20,41,63,.5);
}
.guarantee__seal{
  width:clamp(92px,10vw,124px); aspect-ratio:1; border-radius:50%;
  background:var(--sand); display:grid; place-items:center; flex:none;
  border:1px solid var(--clay-pale);
}
.guarantee__seal svg{ width:46%; stroke:var(--clay-deep); fill:none; stroke-width:1.3; }
.guarantee h3{ font-family:var(--display); font-size:clamp(1.4rem,2.3vw,1.85rem); color:var(--navy); margin-bottom:.7rem; }
.guarantee p{ color:var(--ink-soft); font-size:1rem; }

/* ---------- faq ---------------------------------------------------------- */

.faq{ max-width:860px; margin-inline:auto; border-top:1px solid var(--rule); }
.faq details{ border-bottom:1px solid var(--rule); }
.faq summary{
  list-style:none; cursor:pointer; padding:1.5rem 3rem 1.5rem 0;
  position:relative;
  font-family:var(--ui); font-size:.92rem; font-weight:600;
  letter-spacing:.04em; color:var(--navy);
  transition:color .4s var(--ease);
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary:hover{ color:var(--clay-deep); }
.faq summary::after{
  content:""; position:absolute; right:.4rem; top:50%; width:13px; height:13px;
  margin-top:-7px;
  background:
    linear-gradient(currentColor,currentColor) center/13px 1.4px no-repeat,
    linear-gradient(currentColor,currentColor) center/1.4px 13px no-repeat;
  transition:transform .5s var(--ease);
  color:var(--clay);
}
.faq details[open] summary::after{ transform:rotate(135deg); }
.faq__a{ padding:0 3rem 1.7rem 0; color:var(--ink-soft); font-size:.98rem; }
.faq__more{ max-width:860px; margin:2.4rem auto 0; text-align:center; }
.faq details[open] .faq__a{ animation:faqIn .55s var(--ease) both; }
@keyframes faqIn{ from{ opacity:0; transform:translateY(-6px); } to{ opacity:1; transform:none; } }

/* ---------- final cta ---------------------------------------------------- */

.finale{ position:relative; overflow:hidden; background:var(--navy-deep); color:#fff; }
.finale__bg{ position:absolute; inset:0; opacity:.2; }
.finale__bg img{ width:100%; height:100%; object-fit:cover; }
.finale::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg, var(--navy-deep) 8%, rgba(13,28,44,.78) 62%, rgba(13,28,44,.55));
}
.finale__in{ position:relative; z-index:3; text-align:center; max-width:780px; margin-inline:auto; }
.finale h2{ margin-bottom:1.2rem; }
.finale .btn{ margin-top:2rem; }

/* ---------- forms -------------------------------------------------------- */

.form{ display:grid; gap:1.05rem; }
.form .row{ display:grid; grid-template-columns:1fr 1fr; gap:1.05rem; }
.field label{
  display:block; font-family:var(--ui); font-size:.6rem; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:.5rem;
}
.field input,.field select,.field textarea{
  width:100%; font-family:var(--body); font-size:1rem; color:var(--ink);
  background:var(--white); border:1px solid var(--rule); border-radius:3px;
  padding:.92rem 1rem;
  transition:border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none; border-color:var(--clay);
  box-shadow:0 0 0 3px rgba(185,124,86,.16);
}
.field textarea{ min-height:150px; resize:vertical; }

/* ---------- footer ------------------------------------------------------- */

.ftr{ background:var(--navy-deep); color:rgba(255,255,255,.7); padding-block:clamp(56px,6vw,84px) 2.2rem; }
.ftr__grid{
  display:grid; grid-template-columns:1.5fr 1fr 1fr 1.2fr; gap:clamp(24px,3vw,48px);
}
.ftr h4{
  font-family:var(--ui); font-size:.6rem; font-weight:700;
  letter-spacing:.24em; text-transform:uppercase; color:#fff; margin-bottom:1.15rem;
}
.ftr ul{ list-style:none; margin:0; padding:0; display:grid; gap:.68rem; }
.ftr a{ color:rgba(255,255,255,.7); text-decoration:none; font-size:.92rem; transition:color .4s var(--ease); }
.ftr a:hover{ color:var(--clay-lit); }
.ftr__brand p{ font-size:.94rem; margin-top:1.2rem; max-width:32ch; }
.ftr__base{
  margin-top:clamp(40px,4.5vw,64px); padding-top:1.8rem;
  border-top:1px solid var(--navy-line);
  display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between;
  font-family:var(--ui); font-size:.62rem; letter-spacing:.14em; text-transform:uppercase;
  color:rgba(255,255,255,.45);
}

/* ---------- page hero (interior) ----------------------------------------- */

.phero{
  background:var(--navy); color:#fff; position:relative; overflow:hidden;
  padding-top:clamp(150px,15vw,200px); padding-bottom:clamp(64px,7vw,104px);
}
.phero::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(90% 110% at 78% 12%, rgba(185,124,86,.2), transparent 60%);
}
.phero__in{ position:relative; z-index:2; max-width:840px; }
.phero__in .lede{ max-width:640px; color:rgba(255,255,255,.88); }
.phero h1{ font-size:clamp(2.5rem,5.4vw,4.2rem); margin-bottom:1.2rem; }
.phero__img{
  position:absolute; inset:0; opacity:.3;
  clip-path:polygon(44% 0, 100% 0, 100% 100%, 28% 100%);
}
.phero__img img{ width:100%; height:100%; object-fit:cover; }
.phero__img::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(95deg, var(--navy) 10%, rgba(20,41,63,.74) 52%, rgba(20,41,63,.15) 92%);
}

/* ---------- scroll reveal ------------------------------------------------ */

[data-rise]{
  opacity:0;
  transform:translateY(22px);
  transition:opacity 1.05s var(--ease), transform 1.05s var(--ease);
  will-change:opacity, transform;
}
[data-rise].is-in{ opacity:1; transform:none; }

/* ---------- responsive --------------------------------------------------- */

@media (max-width:1240px){
  .hdr__tag{ display:none; }
  .nav{ gap:1.2rem; }
  .nav a{ font-size:.63rem; letter-spacing:.14em; }
  .hdr__cta{ padding-inline:1.4em; }
}

@media (max-width:1080px){
  .nav{ gap:1.15rem; }
  .pillars{ grid-template-columns:1fr; }
  .quotes{ grid-template-columns:1fr 1fr; }
  .quote--feature{ grid-column:1 / -1; }
  .offer{ grid-template-columns:1fr; }
  .price{ position:static; }
}

/* The header runs out of room for six links plus the button well before the
   page layout does, so it switches to the menu at its own, wider breakpoint. */
@media (max-width:1160px){
  .nav,.hdr__cta{ display:none; }
  .cartbtn{ margin-left:auto; }
  .burger{ display:flex; }
  .hdr__in{ justify-content:space-between; }
  .nav-open .nav{
    display:flex; flex-direction:column; gap:0;
    position:fixed; inset:var(--hdr-h,72px) 0 auto 0;
    background:rgba(13,28,44,.985); backdrop-filter:blur(16px);
    padding:1.1rem var(--gut) 1.9rem; margin:0;
  }
  .nav-open .nav a{ padding:1.05rem 0; border-bottom:1px solid rgba(255,255,255,.1); font-size:.76rem; }
  .nav-open .nav__cta{ display:block; color:var(--clay-lit); border-bottom:0; padding-top:1.35rem; }
  .nav-open .nav a::after{ display:none; }
}

@media (max-width:900px){
  .hero{
    display:flex; flex-direction:column; min-height:0;
    padding-top:clamp(112px,28vw,146px); padding-bottom:0;
  }
  .hero__grid{ order:1; }
  .hero__copy{ max-width:none; }
  .hero__art{
    order:2;
    position:relative; top:0; right:auto; width:100%;
    height:min(90vw,480px);
    margin-top:clamp(34px,6vw,52px);
  }
  .hero__photo{ clip-path:none; }
  .hero__flourish{ display:none; }
  /* same stacked-on-the-right arrangement as desktop, scaled down, so the
     couple stays clear on the left of the frame */
  .hero__card{ right:4%; top:5%; bottom:auto; width:min(38%,148px); }
  .hero__book{ right:14%; bottom:5%; top:auto; left:auto; width:min(26%,104px); }
  /* the book's type has to come down with it, or the copy pushes the card
     past its 3:4 box and it swallows the photo card above it */
  .hero__book{ padding:.85rem .55rem .7rem; }
  .hero__book b{ font-size:.6rem; letter-spacing:.05em; line-height:1.2; }
  .hero__book small{ font-size:.32rem; letter-spacing:.18em; margin-top:.4rem; }
  .hero__book i{ width:20px; margin:.55rem auto; }
  .hero__book em{ font-size:.28rem; letter-spacing:.14em; line-height:1.8; }
  .hero__card figcaption{ font-size:.4rem; letter-spacing:.14em; padding:.5rem .25rem .55rem; line-height:1.7; }
  .split,.tracks,.coach-grid{ grid-template-columns:1fr; }
  .split--reverse .split__art{ order:0; }
  .steps{ grid-template-columns:1fr 1fr; gap:34px 20px; }
  .steps::before{ display:none; }
  .stats__in{ grid-template-columns:1fr 1fr; gap:26px 0; }
  .stat:nth-child(3)::before{ display:none; }
  .ftr__grid{ grid-template-columns:1fr 1fr; }
  .guarantee{ grid-template-columns:1fr; text-align:center; justify-items:center; }
}

@media (max-width:620px){
  body{ font-size:16px; }
  h1{ font-size:clamp(2.5rem,10.5vw,3.2rem); }
  .kicker{ font-size:.58rem; letter-spacing:.2em; gap:.7rem; }
  .kicker::after,.kicker::before{ max-width:46px; }
  .hero__meta{ font-size:.58rem; letter-spacing:.09em; line-height:2; }
  .hero__actions{ gap:.7rem; }
  .quotes,.couples{ grid-template-columns:1fr; }
  .form .row{ grid-template-columns:1fr; }
  .ftr__grid{ grid-template-columns:1fr; }
  .hero__actions .btn{ width:100%; }
  .split__badge{ left:0; top:-14px; bottom:auto; }  /* top on phones, so it never covers the subject at the bottom of the photo */
}

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

/* ---------- Stories: married alumni as a pile of still polaroids ---------- */
.pols{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:clamp(18px,2.6vw,38px) clamp(14px,2vw,28px); max-width:1120px; margin:0 auto;
}
.pol{
  margin:0; background:#fbf8f3; padding:9px 9px 0;
  box-shadow:0 26px 52px -28px rgba(20,41,63,.55);
  /* its own property, so the fade-in (which sets transform) keeps the tilt */
  rotate:var(--rot,0deg);
}
.pol img{ display:block; width:100%; aspect-ratio:1; object-fit:cover; }
.pol figcaption{
  font-family:var(--ui); font-size:.56rem; font-weight:600; letter-spacing:.2em;
  text-transform:uppercase; color:var(--ink-mute); text-align:center; padding:.9rem .4rem 1rem;
}
@media (max-width:900px){ .pols{ grid-template-columns:1fr 1fr; } }
@media (max-width:620px){ .pol figcaption{ font-size:.5rem; letter-spacing:.14em; padding:.7rem .3rem .8rem; } }

/* Home, Meet your coaches: a real photo from Michael and Lisa's phone, framed
   like a snapshot. Still; no motion. */
.snapshot{
  margin:0 auto; max-width:440px; background:#fbf8f3; padding:10px 10px 34px;
  box-shadow:0 30px 60px -28px rgba(0,0,0,.6); transform:rotate(-1.5deg);
}
.snapshot img{ display:block; width:100%; aspect-ratio:4/5; object-fit:cover; object-position:50% 40%; }
@media (max-width:900px){ .snapshot{ max-width:360px; } }

/* Course page header photo (kunz-wide.jpg): Michael and Lisa sit in the left
   third of the frame, which would put them behind the text. A gentle zoom
   anchored off the left edge slides them into the photo panel on the right. */
.phero__img .course-hero-img{ transform:scale(1.5); transform-origin:-62% 46%; }

/* one card on its own (coaching: DARE2BUDGET) sits centered at card width */
.tracks--one{ grid-template-columns:minmax(0, 560px); justify-content:center; }

/* Course page: the free mini course, a gentler first step near the bottom */
.mini{
  display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.15fr); align-items:center;
  max-width:1000px; margin:0 auto; background:var(--white); border-radius:4px; overflow:hidden;
  box-shadow:0 26px 52px -36px rgba(20,41,63,.45);
}
.mini__img{ width:100%; height:100%; min-height:300px; object-fit:cover; }
.mini__body{ padding:clamp(28px, 4vw, 52px); }
.mini__body h2{ font-size:clamp(1.6rem, 2.8vw, 2.2rem); margin:.5rem 0 .9rem; }
.mini__body p{ color:var(--ink-soft); }
.mini__body .btn{ margin-top:1.2rem; }
@media (max-width:760px){
  .mini{ grid-template-columns:1fr; }
  .mini__img{ min-height:0; aspect-ratio:16 / 9; }
}

/* a course's schedule inside a card (Coaching: DARE2BUDGET) */
.track__dates{
  list-style:none; margin:1.1rem 0 0; padding:1rem 0 0; border-top:1px solid var(--rule);
  display:grid; gap:.5rem; font-size:.94rem; color:var(--ink-soft);
}
.track__dates b{
  font-family:var(--ui); font-size:.62rem; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color:var(--clay-deep); margin-right:.35rem;
}

/* About, What we believe: one photo fills the whole column beside the list */
.split__art--solo{ align-self:stretch; }
.split__art--solo .split__solo{ height:100%; min-height:380px; object-fit:cover; object-position:42% 40%; }
@media (max-width:900px){
  .split__art--solo .split__solo{ height:auto; min-height:0; aspect-ratio:4 / 3; }
}

/* Next Steps, DARE2BUDGET: the course schedule as three short steps */
.sched{ list-style:none; margin:clamp(32px,4vw,48px) auto 0; padding:0; max-width:960px; display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(14px,2vw,24px); }
.sched li{ background:var(--paper); border-top:2px solid var(--clay); padding:1.3rem 1.4rem 1.4rem; }
.sched b{ display:block; font-family:var(--ui); font-size:.64rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--clay-deep); margin-bottom:.5rem; }
.sched span{ display:block; font-size:.96rem; line-height:1.55; color:var(--ink-soft); }
.quotes--two{ grid-template-columns:repeat(2,1fr); max-width:960px; margin:clamp(36px,4.5vw,56px) auto 0; }
@media (max-width:760px){
  .sched,.quotes--two{ grid-template-columns:1fr; }
}

/* a closing call to action on the light tan, for pages whose last section is already navy (Coaching) */
.finale--light{ background:var(--sand); color:var(--ink); }
.finale--light::after{ display:none; }

/* Next Steps: the two courses as wide cards, photo and text side by side,
   the second one mirrored */
.duo{ display:grid; gap:clamp(18px,2.2vw,30px); }
.duo__item{ display:grid; grid-template-columns:1fr 1fr; min-height:clamp(380px,37vw,520px); background:var(--sand); }
.duo__item--flip{ background:var(--sage-pale); }
.duo__item--flip .duo__img{ order:2; }
.duo__img{ position:relative; overflow:hidden; }
.duo__img img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.duo__item--flip .duo__img img{ object-position:30% 50%; }
.duo__body{ display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding:clamp(32px,4.5vw,64px); }
.duo__body b{ font-family:var(--ui); font-size:.66rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--clay-deep); }
.duo__body h3{ font-size:clamp(2rem,3.6vw,3.1rem); line-height:1.08; margin:1rem 0 1.1rem; }
.duo__body p{ font-size:1.06rem; line-height:1.7; color:var(--ink-soft); max-width:34em; }
.duo__more{ margin-top:1.8rem; font-family:var(--ui); font-size:.7rem; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:var(--ink); text-decoration:none; padding-bottom:.45rem; border-bottom:1px solid var(--clay); }
.duo__more::after{ content:"\2197"; margin-left:.9em; font-size:.9rem; letter-spacing:0; }
.duo__more:hover{ color:var(--clay-deep); }
@media (max-width:760px){
  .duo__item{ grid-template-columns:1fr; min-height:0; }
  .duo__item--flip .duo__img{ order:0; }
  .duo__img{ aspect-ratio:16 / 10; }
}

/* Home, "Dating is not supposed to feel like this.": the photo fills the right
   side of the section and dissolves left into the navy behind the text */
.fade-photo{ overflow:hidden; }
.fade-photo__bg{ position:absolute; top:0; right:0; bottom:0; width:68%; }
.fade-photo__bg img{ width:100%; height:100%; object-fit:cover; object-position:62% 50%; }
.fade-photo__bg::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg, var(--navy) 0%, rgba(20,41,63,.88) 18%, rgba(20,41,63,.45) 42%, rgba(20,41,63,0) 70%);
}
.fade-photo .wrap{ position:relative; z-index:1; }
.fade-photo__in{ max-width:560px; }
@media (max-width:900px){
  .fade-photo{ padding-top:0; }
  .fade-photo__bg{ position:relative; width:auto; height:clamp(300px,82vw,480px); margin-bottom:1.6rem; }
  .fade-photo__bg img{ object-position:66% 72%; }
  .fade-photo__bg::after{ background:linear-gradient(180deg, rgba(20,41,63,0) 70%, var(--navy) 100%); }
}

/* the same dissolve into the light paper background (Home, light version) */
.fade-photo--light .fade-photo__bg::after{
  background:linear-gradient(90deg, var(--paper) 0%, rgba(251,248,243,.9) 18%, rgba(251,248,243,.45) 42%, rgba(251,248,243,0) 70%);
}
@media (max-width:900px){
  .fade-photo--light .fade-photo__bg::after{ background:linear-gradient(180deg, rgba(251,248,243,0) 70%, var(--paper) 100%); }
}

/* the featured story card is navy; on a navy section it steps up a shade */
.section--navy .quote--feature{ background:var(--navy-soft); border:1px solid var(--navy-line); }

/* FAQ on a navy section */
.on-navy .faq, .on-navy .faq details{ border-color:var(--navy-line); }
.on-navy .faq summary{ color:#fff; }
.on-navy .faq summary:hover{ color:var(--clay-lit); }
.on-navy .faq summary::after{ border-color:var(--clay-lit); color:var(--clay-lit); }
.on-navy .faq__a{ color:rgba(255,255,255,.74); }

/* ---------- next-class banner (top of Home and the course page) ---------- */
.nbar{
  position:relative;
  background:var(--clay); color:#fff;
  font-family:var(--ui); font-size:.74rem; letter-spacing:.04em;
}
.nbar__in{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:.35rem 1.6rem; padding:.55rem calc(var(--gut) + 1.6rem) .55rem var(--gut); text-align:center;
}
.nbar__txt{ margin:0; line-height:1.4; }
.nbar__txt b{ font-weight:700; text-transform:uppercase; letter-spacing:.14em; font-size:.68rem; }
.nbar__time{ margin:0; display:flex; gap:.9rem; font-variant-numeric:tabular-nums; }
.nbar__time b{ font-weight:700; font-size:.95rem; }
.nbar__cta{
  color:#fff; font-weight:700; text-transform:uppercase; letter-spacing:.14em; font-size:.68rem;
  text-decoration:none; border-bottom:1px solid rgba(255,255,255,.7); padding-bottom:1px;
}
.nbar__cta:hover{ border-bottom-color:#fff; }
@media (max-width:640px){
  .nbar{ font-size:.66rem; }
  .nbar__in{ padding:.45rem 2.4rem .45rem var(--gut); gap:.2rem .8rem; justify-content:flex-start; }
  .nbar__txt span{ display:none; }   /* the dates line is long: phones show the label and the timer */
  .nbar__time{ gap:.45rem; }
  .nbar__time b{ font-size:.86rem; }
  .nbar__x{ right:calc(var(--gut) - .7rem); }
}
.nbar__x{
  position:absolute; right:calc(var(--gut) - .4rem); top:50%; transform:translateY(-50%);
  width:2rem; height:2rem; display:flex; align-items:center; justify-content:center;
  background:none; border:0; color:#fff; font-size:1.5rem; line-height:1; cursor:pointer; opacity:.85;
}
.nbar__x:hover{ opacity:1; }
.nbar__x:focus-visible{ outline:2px solid #fff; outline-offset:-2px; }
/* the page starts below the banner (banner and header are fixed together; JS sets --nbar-h) */
body{ padding-top:var(--nbar-h,0px); }
.nbar-off .nbar{ display:none; }
