/* ERB Academy · 2027 design layer (loads after site.css).
   Direction: professional and warm. Ink navy on warm paper, one green, one gold.
   Bricolage Grotesque for headings, Inter for text. Cards have depth and react to touch and pointer. */
:root {
  --paper: #F6F3EC; --ink: #111A36; --slate: #59617A; --line: #E4DFD3;
  --teal: #0B7A64; --teal2: #14A383; --tealpale: #DFF3EC; --gold: #F6B429; --goldpale: #FFF2CF; --sun: #FFD24D;
  --r: 20px;
  --shadow: 0 1px 1px rgba(17,26,54,.04), 0 4px 10px rgba(17,26,54,.05), 0 18px 40px rgba(17,26,54,.08);
  --shadow-up: 0 2px 2px rgba(17,26,54,.05), 0 10px 22px rgba(17,26,54,.08), 0 30px 60px rgba(17,26,54,.14);
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}
body { font-size: 16.5px; line-height: 1.6; letter-spacing: -.003em; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; }
h1 { line-height: 1.02; }
h2 { line-height: 1.06; }
h3 { font-weight: 700; letter-spacing: -.018em; line-height: 1.15; }
b, strong { font-weight: 700; }
::selection { background: #BFEBDD; }
:focus-visible { outline: 3px solid rgba(20,163,131,.45); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--slate); }
.kicker { font: 700 .74rem var(--sans); letter-spacing: .16em; display: inline-flex; align-items: center; gap: .6rem; color: var(--teal); }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.pill { background: #fff; border: 1px solid var(--line); color: var(--ink); font: 700 .8rem var(--sans); padding: .42rem .85rem; box-shadow: 0 1px 2px rgba(17,26,54,.05); }
.lead { font-size: 1.14rem; line-height: 1.6; }

/* scroll progress */
#sp27 { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--teal2), var(--gold)); pointer-events: none; }

/* buttons */
.btn { font: 700 .98rem var(--sans); letter-spacing: -.005em; border-radius: 14px; padding: .9rem 1.35rem; position: relative; overflow: hidden; border-width: 1px; transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .2s, border-color .2s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.34) 48%, transparent 66%); transform: translateX(-120%); transition: transform .7s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { background: linear-gradient(180deg, #16A888 0%, #0B7A64 100%); color: #fff; border-color: #0A6C59; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 1px 2px rgba(11,122,100,.4), 0 10px 24px rgba(11,122,100,.26); }
.btn-primary:hover { background: linear-gradient(180deg, #19B694 0%, #0C846C 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 2px 4px rgba(11,122,100,.4), 0 16px 34px rgba(11,122,100,.34); }
.btn-gold { background: linear-gradient(180deg, #FFCF52 0%, #F6B429 100%); color: var(--ink); border-color: #E2A21B; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 24px rgba(246,180,41,.3); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 1px 2px rgba(17,26,54,.05); }
.btn-ghost:hover { border-color: #C9C2B2; box-shadow: 0 8px 20px rgba(17,26,54,.08); }
.btn-sm { padding: .58rem .95rem; font-size: .9rem; border-radius: 11px; }

/* header */
.top { background: rgba(246,243,236,.8); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); }
.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(17,26,54,.06); }
.brand { font-weight: 800; letter-spacing: -.025em; }
.brand small { font: 600 .64rem var(--sans); letter-spacing: .14em; }
.nav a { font-weight: 600; font-size: .95rem; border-radius: 10px; transition: background .18s, color .18s; }
.nav a:hover, .nav a[aria-current="page"] { background: #fff; color: var(--teal); box-shadow: inset 0 0 0 1px var(--line); }
.nav a.nav-coach { background: var(--ink); color: #fff; font-weight: 700; border-radius: 10px; padding: .5rem .85rem; display: inline-flex; align-items: center; gap: .5rem; box-shadow: none; }
.nav a.nav-coach::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF5A4E; box-shadow: 0 0 0 0 rgba(255,90,78,.6); animation: live27 1.8s infinite; }
.nav a.nav-coach:hover, .nav a.nav-coach[aria-current="page"] { background: var(--teal); color: #fff; box-shadow: none; }
@keyframes live27 { 70% { box-shadow: 0 0 0 8px rgba(255,90,78,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,78,0); } }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 6px 16px rgba(11,122,100,.24); }
.nav a.btn-primary:hover { background: linear-gradient(180deg, #19B694 0%, #0C846C 100%); }
.nav a.btn-ghost:hover { background: #fff; color: var(--ink); }
.cartbtn .n { background: var(--gold); }
.wa-bar { background: var(--ink); font-size: .9rem; letter-spacing: 0; }
.wa-bar b { font-weight: 700; }

/* hero */
.hero { padding: 72px 0 52px; background:
  radial-gradient(1100px 560px at 88% -12%, rgba(20,163,131,.17), transparent 62%),
  radial-gradient(900px 520px at -8% 18%, rgba(246,180,41,.17), transparent 60%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(17,26,54,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(17,26,54,.05) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000 30%, transparent 75%); }
.orb { opacity: .3; }
.hero h1 .hl { color: var(--teal); }
.hero h1 .hl::after { background: linear-gradient(90deg, var(--sun), var(--gold)); height: .15em; bottom: .03em; border-radius: 99px; }
.hero-facts li { font: 600 .88rem var(--sans); border-radius: 10px; padding: 7px 12px; box-shadow: 0 1px 2px rgba(17,26,54,.05); }
.hero-facts li::before { content: "✓"; color: var(--teal2); font-weight: 800; margin-right: 7px; }
.trust { gap: 28px; font: 500 .9rem var(--sans); margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.trust b { display: block; font: 800 1.7rem/1 var(--display); letter-spacing: -.03em; color: var(--ink); margin-bottom: 4px; }
.hero-art .notif { display: none; }
.hero-art { perspective: 1200px; }
.hero-art .phone, .hero-art .eole { will-change: transform; z-index: 3; }
.hero-art .phone img { border-radius: 34px; box-shadow: 0 2px 4px rgba(17,26,54,.1), 0 30px 60px rgba(17,26,54,.22); }
#hero3d { position: absolute; left: -14%; top: -10%; width: 84%; height: 78%; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .9s var(--ease); }
#hero3d.on { opacity: 1; }
#hero3d canvas { width: 100% !important; height: 100% !important; display: block; }

/* surfaces: cards that feel physical */
.card, .choice, .bk3 a, .cx-p, .faq, .cx-card, .xb-row { border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.card, .choice, .bk3 a, .cx-p { transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .2s; }
.card:hover, .choice:hover, .bk3 a:hover, .cx-p:hover { box-shadow: var(--shadow-up); border-color: #D5CEBE; }
.tilt { position: relative; transform-style: preserve-3d; will-change: transform; }
.tilt::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; z-index: 1;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.75), transparent 46%); mix-blend-mode: soft-light; }
.tilt.lit::before { opacity: 1; }
.tilt > * { position: relative; z-index: 2; }
@media (hover: none) { .card:active, .choice:active, .bk3 a:active, .cx-p:active { transform: scale(.985); } }

/* coaching block: the main product gets the frame */
.cx-card { border: 2px solid transparent; border-radius: 26px; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--teal2), var(--gold)) border-box; box-shadow: var(--shadow-up); }
.cx-ul { list-style: none; padding-left: 0; }
.cx-ul li { padding-left: 30px; position: relative; margin: 9px 0; }
.cx-ul li::before { content: "✓"; position: absolute; left: 0; top: .1em; width: 20px; height: 20px; border-radius: 50%; background: var(--tealpale); color: var(--teal); font-weight: 800; font-size: .78rem; display: grid; place-items: center; }
.cx-tt div { background: #F3F7F5; border: 1px solid #DCEBE5; border-radius: 12px; }
.cx-tt b { font-weight: 800; }
.cx-p { border-radius: 16px; background: #fff; }
.cx-p.hot { border: 1px solid #F1D48A; background: linear-gradient(180deg, #FFF8E3, #FFF2CF); }
.cx-p b { font-weight: 800; letter-spacing: -.03em; }

/* books: three kinds */
.bk3 a { border-radius: 20px; border-width: 1px; padding: 24px 22px; }
.bk3 a.hot { border: 2px solid transparent; background: linear-gradient(180deg, #FFFAEA, #FFF2CF) padding-box, linear-gradient(135deg, var(--gold), #FF9F43) border-box; }
.bk3 .ic { width: 52px; height: 52px; border-radius: 14px; background: #F3F7F5; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 6px; }
.bk3 a.hot .ic { background: #fff; }
.bk3 b { font-weight: 800; letter-spacing: -.02em; }
.bk3 em { font-weight: 700; }
.bk3 .pr { font: 800 1.35rem var(--display); letter-spacing: -.02em; border-top: 1px dashed var(--line); margin-top: 14px; padding-top: 12px; }
.bk3 .pr small { font: 500 .85rem var(--sans); letter-spacing: 0; margin-top: 2px; }
.bk3-foot { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: table; margin: 14px auto 0; font-weight: 500; font-size: .95rem; }

/* shop */
.card { border-radius: 18px; padding: 18px 18px 16px; }
.card h3 { font-size: 1.12rem; }
.card .k { font: 700 .68rem var(--sans); letter-spacing: .12em; }
.card .p { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; }
.chip { font: 600 .9rem var(--sans); border-radius: 10px; transition: background .18s, color .18s, border-color .18s, transform .18s; }
.chip:hover { border-color: #C9C2B2; transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.search { border-radius: 14px; font: 500 1rem var(--sans); box-shadow: 0 1px 2px rgba(17,26,54,.05); }
.search:focus { outline: 3px solid rgba(20,163,131,.3); border-color: var(--teal2); }
.giftbar { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 14px; font-size: .95rem; }
.xh { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.pk-in li { border-bottom-color: var(--line); }
.pk-save { background: #E9F7F1; border-color: #BFE5D6; color: #0A6C59; border-radius: 8px; }
.xdone { border-radius: 8px; }
.drawer { background: var(--paper); }
.drawer header h3 { font-weight: 800; }

/* forms */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { border-radius: 12px; font-family: var(--sans); }
input:not([type="checkbox"]):not([type="radio"]):focus, select:focus, textarea:focus { outline: 3px solid rgba(20,163,131,.28); outline-offset: 0; border-color: var(--teal2); }
label { font-weight: 600; }

/* faq and lists */
.faq { border-radius: 14px; transition: box-shadow .25s var(--ease), border-color .2s; }
.faq[open] { box-shadow: var(--shadow-up); border-color: #D5CEBE; }
.faq summary { font-weight: 700; cursor: pointer; }

/* price words */
.price { font-weight: 800; letter-spacing: -.03em; }

/* footer */
footer.site { background: var(--ink); color: #B9C0D6; border-top: 0; }
footer.site h4, footer.site h3, footer.site .brand, footer.site b { color: #fff; }
footer.site a { color: #DDE2F1; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site .muted, footer.site small, footer.site p { color: #9AA3BF; }

/* reveal: a touch more depth */
.reveal { transform: translateY(24px) scale(.985); }
.reveal.in { transform: none; }

@media (max-width: 900px) {
  .hero { padding: 40px 0 30px; }
  .trust { gap: 18px; }
  .trust b { font-size: 1.4rem; }
  #hero3d { left: -6%; top: -4%; width: 70%; height: 62%; }
  .nav a.nav-coach { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .btn::after, .nav a.nav-coach::before { animation: none; transition: none; }
  .tilt { transform: none !important; }
  #hero3d { display: none; }
}

@media (max-width: 700px) { footer.site .wrap > div:first-child, footer.site .fgrid > div:first-child { grid-column: 1 / -1; } }

/* free open sessions */
.fo27{border:2px solid var(--gold,#E0A21B);background:var(--goldpale,#FFF6DC);border-radius:20px;padding:16px 18px;margin:16px 0}
.fo27-h{display:block;font:700 1.1rem/1.3 var(--display,inherit);margin-bottom:8px}
.fo27 ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.fo27 li{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline}
.fo27 li span{color:var(--slate,#5E6678);font-size:.88rem}
.fo27 li em{font-style:normal;font-weight:700;margin-left:auto}
.fo27 p{margin:10px 0 0;font-size:.92rem;color:var(--slate,#5E6678)}
@media(max-width:560px){.fo27 li em{margin-left:0;flex-basis:100%}}

/* calmer phone home (11 Nov 2026): shorter cards, the same content one tap away */
@media (max-width: 640px) {
  .hero .hero-art { display: none; }
  .hero { padding-bottom: 8px; }
  .cx-card .cx-l > p.muted { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .cx-ul li:nth-child(n+4) { display: none; }
  .cx-tt { grid-template-columns: 1fr 1fr; gap: 6px; }
  .cx-tt div { padding: 8px 10px; border-radius: 12px; }
  .cx-r { gap: 8px; }
  .cx-r .cx-p { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 8px; padding: 12px 14px; border-radius: 16px; }
  .cx-r .cx-p span { flex-basis: 100%; }
  .cx-r .cx-p b { font-size: 1.45rem; }
  .cx-r .cx-p em { flex-basis: 100%; margin-top: 2px; }
  .bk3 { gap: 10px; }
  .bk3 a { display: grid; grid-template-columns: 48px 1fr auto; gap: 0 12px; align-items: center; padding: 14px 14px; }
  .bk3 .ic { grid-row: 1 / 3; width: 46px; height: 46px; margin: 0; font-size: 1.4rem; }
  .bk3 a > b { grid-column: 2; font-size: 1.08rem; align-self: end; }
  .bk3 a > em { grid-column: 2; font-size: .88rem; align-self: start; }
  .bk3 a > span:not(.ic):not(.pr) { display: none; }
  .bk3 .pr { grid-column: 3; grid-row: 1 / 3; border: 0; margin: 0; padding: 0; text-align: right; font-size: 1.15rem; }
  .bk3 .pr small { font-size: .72rem; max-width: 92px; margin-left: auto; }
  .duo { padding: 18px 14px; }
  .duo-head img { display: none; }
  .duo-head .muted { display: none; }
  .duo-switch { display: none; }
  .duo-pane { padding: 16px; }
  .duo-pane > p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .evx p.l { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .evx .evx-g a:nth-child(n+3) { display: none; }
  .evx .evx-t { display: none; }
}
.card .k.guide{background:#14213D;color:#E3B45B;display:inline-block;width:auto;align-self:flex-start;padding:3px 9px;border-radius:7px}

/* the site-wide Christmas ribbon (site.js) and nav link */
.xribbon{display:block;background:linear-gradient(90deg,#12392C,#1d5a45 50%,#12392C);color:#fff;text-align:center;font:800 14px/1.3 Nunito,sans-serif;padding:9px 14px;text-decoration:none}
.xribbon b{color:#E3B45B}
.nav a.nav-xmas{color:#B3242E;font-weight:800}
/* Home · Christmas band (until 31 Dec 2026) */
.xband{position:relative;overflow:hidden;background:radial-gradient(120% 90% at 85% 0%,#1d5a45 0%,#12392C 50%,#0B2A20 100%);color:#fff;padding:46px 0 52px}
.xband:after{content:'';position:absolute;left:0;right:0;bottom:0;height:8px;background:repeating-linear-gradient(45deg,#B3242E 0 12px,#fff 12px 24px)}
.xband .wrap{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:center}
.xband .k{font:500 12px 'IBM Plex Mono',ui-monospace,monospace;letter-spacing:.18em;text-transform:uppercase;color:#E3B45B}
.xband h2{font-family:'Source Serif 4',Georgia,serif;font-weight:700;font-size:clamp(34px,5.5vw,60px);line-height:1;margin:10px 0 0;color:#fff}
.xband h2 em{font-style:italic;color:#E3B45B}
.xband p{color:#DCE8E1;font-size:17px;line-height:1.55;margin:14px 0 0;max-width:58ch}
.xband p b{color:#fff}
.xband .row{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.xband .go{background:#E3B45B;color:#241a04;font:800 16px Nunito,sans-serif;padding:15px 22px;border-radius:14px;text-decoration:none;box-shadow:0 5px 0 #8f6a1f}
.xband .lk{color:#fff;font:800 16px Nunito,sans-serif;padding:15px 22px;border-radius:14px;text-decoration:none;border:2px solid rgba(255,255,255,.5)}
.xband .gift{background:#FBF6EC;color:#1A2430;border-radius:20px;padding:20px;border:2px dashed #E3B45B;text-align:center;transform:rotate(2deg);box-shadow:0 20px 40px rgba(0,0,0,.3)}
.xband .gift b{display:block;font-family:'Source Serif 4',Georgia,serif;font-size:44px;color:#B3242E;line-height:1}
.xband .gift s{color:#5D6676}
.xband .gift span{display:block;font-size:14px;color:#5D6676;margin-top:6px}
@media(max-width:820px){.xband .wrap{grid-template-columns:1fr}.xband .gift{transform:none}}

.xribbon.bfr{background:#0A0A0C;color:#fff}.xribbon.bfr b{color:#F6B429}
.nav a.nav-bf{color:#0A0A0C!important;font-weight:900;background:#F6B429;border-radius:8px;padding:4px 9px}
/* Black Friday band on the coaching page (until 30 Nov 2026) */
.co-bf{background:#0A0A0C;color:#fff;padding:34px 0 30px;position:relative}
.co-bf:after{content:'';position:absolute;left:0;right:0;bottom:0;height:7px;background:repeating-linear-gradient(90deg,#F6B429 0 40px,#0A0A0C 40px 52px)}
.co-bf .k{font:500 12px 'IBM Plex Mono',monospace;letter-spacing:.18em;text-transform:uppercase;color:#F6B429}
.co-bf h2{color:#fff!important;font-family:'Source Serif 4',Fraunces,Georgia,serif;font-size:clamp(28px,4.4vw,44px);line-height:1.05;margin:10px 0 18px;color:#fff}.co-bf h2 em{color:#F6B429}
.co-bf .g{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.co-bf .g a{display:flex;align-items:center;gap:14px;background:#17171b;border:1px solid #2b2b31;border-radius:16px;padding:14px 16px;color:#fff;text-decoration:none}
.co-bf .g a.best{background:#F6B429;color:#0A0A0C;border-color:#F6B429}
.co-bf .g b{font:700 44px/1 'Source Serif 4',Georgia,serif;color:#F6B429}.co-bf .g a.best b{color:#0A0A0C}
.co-bf .g span{font:800 14px/1.2 Nunito,sans-serif}
.co-bf p{color:#CFCAC0;margin:14px 0 0;font-size:14px}
@media(max-width:720px){.co-bf .g{grid-template-columns:1fr}}
