/* /app-shell.css */
@font-face{font-family:AHDDisplay;src:url(/assets/fonts/ahd-display.woff) format('woff');font-weight:100 900;font-style:normal;font-display:swap;size-adjust:70%}@font-face{font-family:AHDDisplay;src:url(/assets/fonts/ahd-display.woff) format('woff');font-weight:100 900;font-style:italic;font-display:swap;size-adjust:70%}
:where(h1,h2):not(.ed-post *):not(.article-body *):not(.post-card *):not(#homeHeroTitle):not(.brand-keep){font-family:AHDDisplay,Anton,Impact,sans-serif!important;font-weight:900!important;letter-spacing:-.005em!important}
.ahd-creed{display:block;flex-basis:100%;margin:-40px -18px 30px;padding:24px 16px 22px;background:linear-gradient(120deg,#121110 0%,#2a1218 55%,#5a1424 100%);border-bottom:3px solid #9e1b32;text-align:center;font:900 clamp(16px,2.5vw,30px)/1.2 AHDDisplay,Anton,Impact,sans-serif;color:#fff;text-transform:uppercase;letter-spacing:-.005em}.ahd-creed span{display:inline-block;margin:0 .28em}.ahd-creed .c{color:#9e1b32;-webkit-text-stroke:1.2px #fff;paint-order:stroke fill}.ahd-creed-band{margin:0;padding:clamp(36px,6vw,72px) 18px;background:linear-gradient(120deg,#121110 0%,#2a1218 55%,#5a1424 100%);text-align:center;border-top:3px solid #9e1b32;border-bottom:3px solid #9e1b32}.ahd-creed-band h2{margin:0 auto;max-width:1100px;font-size:clamp(26px,5.2vw,64px)!important;line-height:1.08;color:#fff;text-transform:uppercase}.ahd-creed-band h2 span{display:block}.ahd-creed-band h2 .c{color:#9e1b32;-webkit-text-stroke:clamp(1.4px,.05em,3px) #fff;paint-order:stroke fill}.ahd-creed-band p{margin:16px auto 0;max-width:640px;color:#d8cdb8;font:600 clamp(15px,1.6vw,18px)/1.5 Inter,system-ui,sans-serif}
/* AHD app shell (v4.18.0) — tab bar, transitions, install sheet, app touch feel. */
:root{--ahd-bar-h:64px;--ahd-ink:#121212;--ahd-khaki:#c9ae7e;--ahd-red:#9e1b32}

/* ---------- smooth page transitions (Chrome, Edge, Safari 18+) ---------- */
@view-transition{navigation:auto}
::view-transition-old(root){animation:ahd-out .16s ease-in both}
::view-transition-new(root){animation:ahd-in .22s cubic-bezier(.2,.7,.2,1) both}
@keyframes ahd-out{to{opacity:0;transform:translateY(-6px)}}
@keyframes ahd-in{from{opacity:0;transform:translateY(10px)}}
.topbar,.blog-top{view-transition-name:ahd-topbar}
nav.ahd-tabbar{view-transition-name:ahd-tabbar}
@media (prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none}}

/* ---------- app touch feel ---------- */
html{-webkit-tap-highlight-color:transparent;scroll-behavior:smooth}
a,button{touch-action:manipulation}
.btn,.ap-btn,.local-btn,.pz-card .btn,a.primary,a.secondary{transition:transform .12s ease,filter .12s ease}
.btn:active,.ap-btn:active,.local-btn:active,a.primary:active,a.secondary:active{transform:scale(.97);filter:brightness(.95)}

/* ---------- one tab bar on every page ---------- */
nav.ahd-tabbar{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;z-index:60!important;
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:2px!important;align-items:stretch!important;
  margin:0!important;padding:6px 6px calc(6px + env(safe-area-inset-bottom))!important;min-height:var(--ahd-bar-h)!important;width:auto!important;max-width:none!important;
  background:rgba(18,18,18,.94)!important;-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);
  border-top:1px solid rgba(201,174,126,.35)!important;box-shadow:0 -8px 24px rgba(0,0,0,.18)!important;transform:none!important}
html body nav.ahd-tabbar a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;
  min-height:50px!important;padding:4px 2px!important;margin:0!important;border-radius:12px!important;background:transparent!important;
  color:#cfc3ad!important;text-decoration:none!important;font:800 10.5px/1.1 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:.02em!important;text-transform:none!important;box-shadow:none!important}
html body nav.ahd-tabbar a i{color:inherit!important;opacity:1!important;font-style:normal!important;font-size:19px!important;line-height:1!important;display:block!important}
html body nav.ahd-tabbar a span{color:inherit!important;opacity:1!important;font:inherit!important;display:block!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
html body nav.ahd-tabbar a[aria-current="page"]{color:#fff!important;background:rgba(201,174,126,.16)!important}
html body nav.ahd-tabbar a[aria-current="page"] i{color:var(--ahd-khaki)!important}
html body nav.ahd-tabbar a.nav-start{background:var(--ahd-red)!important;color:#fff!important}
nav.ahd-tabbar a:active{transform:scale(.94)}
body.has-ahd-tabbar{padding-bottom:calc(var(--ahd-bar-h) + env(safe-area-inset-bottom) + 8px)!important}
/* the old bars this replaces */
.blog-bottom:not(.ahd-tabbar),.ahd-student-bottom{display:none!important}
/* wide screens: top tabs do the job where a page has them */
@media (min-width:1100px){
  body:has(.topbar .tabs) nav.ahd-tabbar{display:none!important}
  body:has(.topbar .tabs).has-ahd-tabbar{padding-bottom:0!important}
  nav.ahd-tabbar{left:50%!important;right:auto!important;transform:translateX(-50%)!important;bottom:14px!important;width:520px!important;border:1px solid rgba(201,174,126,.35)!important;border-radius:18px!important;padding:6px!important}
}

/* ---------- installed app mode ---------- */
html.ahd-standalone .seo-program-strip{display:none!important}
html.ahd-standalone .topbar,html.ahd-standalone .blog-top{padding-top:env(safe-area-inset-top)}
html.ahd-standalone .footer-links,html.ahd-standalone .footer-contact span{display:none!important}
.drawer-install{color:var(--ahd-khaki)!important;font-weight:900!important}
html.ahd-standalone .drawer-install{display:none!important}

/* ---------- install sheet (opens only when tapped) ---------- */
.ahd-sheet{position:fixed;inset:0;z-index:90;display:none;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.5);padding:12px}
.ahd-sheet.show{display:flex}
.ahd-sheet-card{position:relative;width:100%;max-width:420px;background:#fffdfa;color:var(--ahd-ink);border-radius:22px;padding:24px 22px calc(18px + env(safe-area-inset-bottom));text-align:center;animation:ahd-up .22s cubic-bezier(.2,.7,.2,1)}
@keyframes ahd-up{from{transform:translateY(30px);opacity:0}}
.ahd-sheet-card img{border-radius:16px}
.ahd-sheet-card h2{font-size:22px;letter-spacing:-.02em;margin:10px 0 12px}
.ahd-sheet-card ol{text-align:left;margin:0 auto 16px;padding-left:22px;line-height:1.6;max-width:320px}
.ahd-sheet-x{position:absolute;top:8px;right:10px;border:0;background:none;font-size:28px;line-height:1;color:#6d6255;cursor:pointer}
.ahd-sheet-ok{width:100%;border:0;border-radius:14px;background:var(--ahd-red);color:#fff;font-weight:900;letter-spacing:.06em;padding:15px;cursor:pointer}

/* ---------- lean app header on phones/tablets: one top bar, one tab bar ---------- */
@media (max-width:1099px){
  body.has-ahd-tabbar .tabs-mobile,body.has-ahd-tabbar .ahd-academy-ribbon{display:none!important}
  .seo-program-strip{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px!important;padding:5px 12px!important;letter-spacing:.09em!important}
}
.ahd-sheet{z-index:1000}

/* 6-tab public bar (Oct 2026: Tools added) */
nav.ahd-tabbar.bottom-6,nav.bottom.bottom-6{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.bottom-6 .nav-start i,.bottom.bottom-6 .nav-start span{color:#fff}
.bottom-6 .nav-start{box-shadow:none}
@media(max-width:380px){.ahd-tabbar.bottom-6 a span{font-size:10px!important}}
/* Thumb-size touch areas for small text links (phone path test, Oct 11). Padding only; the look is unchanged. */
.lp-crumbs a,a.lp-all,.academy-promise a:not(.btn),.pt-decide a:not(.btn),.pt-free a:not(.btn),.gc-pillar-cta a,.al-course b a,.ahd-done-help{display:inline-block;padding-top:11px;padding-bottom:11px}


/* /backspin-cards.css */
/* Backspin slide cards (v4.19.0) — AHD photo + live-text graphics inside blog posts. */
.bx{margin:2.2rem auto 2.4rem;max-width:520px;padding:0}
.bx-card{position:relative;container-type:inline-size;aspect-ratio:4/5;overflow:hidden;border-radius:16px;background:linear-gradient(120deg,#121110 0%,#2a1218 55%,#5a1424 100%);color:#fff;
  box-shadow:0 16px 38px rgba(0,0,0,.24);isolation:isolate;font-family:AHDDisplay,"Anton",Impact,"Haettenschweiler","Arial Narrow Bold","Arial Black",sans-serif}
.bx-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3;filter:saturate(.9) contrast(1.05)}
.bx-shade{position:absolute;inset:0;z-index:-2;background:
  linear-gradient(180deg,rgba(8,7,6,.82) 0%,rgba(8,7,6,.38) 34%,rgba(8,7,6,.42) 58%,rgba(8,7,6,.94) 100%),
  radial-gradient(120% 70% at 50% 45%,transparent 40%,rgba(0,0,0,.45) 100%)}
.bx-card::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.22;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.bx-in{position:absolute;inset:0;display:flex;flex-direction:column;padding:6cqw 7cqw 5.5cqw}
.bx-top{display:flex;justify-content:space-between;align-items:center;font:700 2.6cqw/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.32em;color:#e9dcc4;text-transform:uppercase}
.bx-top b{letter-spacing:.08em;color:#fff;border-bottom:.5cqw solid #9e1b32;padding-bottom:.6cqw}
.bx-kick{margin:5cqw 0 0;font-family:AHDDisplay,"Anton",Impact,"Arial Narrow Bold",sans-serif;font-size:5cqw;line-height:1.05;letter-spacing:.01em;text-transform:uppercase;color:#f3ead9;max-width:92%}
.bx-kick::after{content:"";display:block;width:16cqw;height:.8cqw;background:#9e1b32;margin-top:2.2cqw}
.bx-h{margin:3cqw 0 0;line-height:.86;text-transform:uppercase}
.bx-a{display:block;font-size:12.5cqw;letter-spacing:-.01em;color:#f6efe2;text-shadow:0 .6cqw 2cqw rgba(0,0,0,.45)}
.bx-b{position:relative;display:inline-block;margin-top:1cqw;font-family:"Permanent Marker",AHDDisplay,"Anton",Impact,"Arial Narrow Bold",sans-serif;font-size:17cqw;line-height:.95;
  color:#d8bf86;transform:rotate(-4deg);transform-origin:left center;text-shadow:0 .7cqw 2.4cqw rgba(0,0,0,.55);z-index:0}
.bx-b::after{content:"";position:absolute;left:-3cqw;right:-5cqw;bottom:.4cqw;height:5cqw;z-index:-1;background:#9e1b32;opacity:.9;
  clip-path:polygon(0 38%,6% 20%,22% 30%,38% 12%,55% 26%,72% 8%,88% 22%,100% 10%,98% 62%,84% 78%,66% 66%,48% 88%,30% 72%,14% 92%,2% 76%)}
.bx-b.m{font-size:13.5cqw}.bx-b.l{font-size:11cqw}
.bx-list{list-style:none;margin:auto 0 0;padding:0;font:600 4.4cqw/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.02em;color:#f3ead9}
.bx-list li{margin:.6cqw 0;text-shadow:0 .3cqw 1.4cqw rgba(0,0,0,.6)}
.bx-band{position:relative;margin:4cqw -2cqw 0;padding:3.2cqw 5cqw;text-align:center;font-family:AHDDisplay,"Anton",Impact,"Arial Narrow Bold",sans-serif;font-style:italic;
  font-size:5.6cqw;line-height:1.05;letter-spacing:.01em;text-transform:uppercase;color:#fff;transform:rotate(-1.5deg);z-index:0}
.bx-band::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#9e1b32,#9e1b32 45%,#9e1b32);
  clip-path:polygon(1% 14%,9% 4%,26% 10%,44% 0,63% 8%,81% 2%,99% 9%,97% 50%,100% 88%,82% 96%,61% 90%,40% 100%,21% 93%,4% 98%,0 60%)}
.bx-mark{display:flex;align-items:flex-end;justify-content:space-between;margin-top:4cqw}
.bx-mark span{display:block;border-left:.7cqw solid #9e1b32;padding-left:2cqw;font:700 3.2cqw/1 system-ui,-apple-system,sans-serif;color:#e9dcc4}
.bx-mark span b{display:block;font-family:AHDDisplay,"Anton",Impact,sans-serif;font-weight:400;font-size:5cqw;letter-spacing:.06em;color:#d8bf86;margin-bottom:.6cqw}
.bx-mark i{font:700 2.3cqw/1 system-ui,sans-serif;font-style:normal;letter-spacing:.3em;color:#bfb29b;text-transform:uppercase}

/* paper style (newsprint, like the Galvan slides) */
.bx-paper .bx-card{background:#efe4cf;color:#16120e}
.bx-paper .bx-card::before{content:"";position:absolute;inset:0;z-index:-2;background:
  radial-gradient(90% 60% at 50% 40%,rgba(255,250,238,.7),transparent 70%),
  radial-gradient(60% 40% at 0 100%,rgba(158,27,50,.16),transparent 70%),
  radial-gradient(50% 35% at 100% 0,rgba(158,27,50,.12),transparent 70%)}
.bx-paper .bx-card::after{opacity:.35;mix-blend-mode:multiply}
.bx-paper .bx-top{color:#16120e}.bx-paper .bx-top b{color:#16120e}
.bx-paper .bx-kick{color:#9e1b32}
.bx-paper .bx-a{color:#16120e;text-shadow:none}
.bx-paper .bx-b{color:#9e1b32;text-shadow:none;font-family:AHDDisplay,"Anton",Impact,"Arial Narrow Bold",sans-serif;transform:none}
.bx-paper .bx-b::after{background:#200d12;opacity:.12;height:3cqw;bottom:1cqw}
.bx-paper .bx-list{font-weight:600;color:#16120e;font-size:4.6cqw}
.bx-paper .bx-list li{text-shadow:none;padding-left:5.6cqw;position:relative}
.bx-paper .bx-list li::before{content:"";position:absolute;left:0;top:1.6cqw;width:2.6cqw;height:2.6cqw;border-radius:50%;background:#9e1b32}
.bx-paper .bx-mark span{color:#16120e}.bx-paper .bx-mark span b{color:#9e1b32}.bx-paper .bx-mark i{color:#5d5244}

/* lesson style (checklist takeaway) */
.bx-lesson .bx-shade{background:linear-gradient(90deg,rgba(8,7,6,.55) 0%,rgba(8,7,6,.86) 52%,rgba(8,7,6,.94) 100%),linear-gradient(0deg,rgba(8,7,6,.96) 0%,rgba(8,7,6,.2) 55%)}
.bx-lesson .bx-h{text-align:right}
.bx-lesson .bx-b{transform:rotate(-5deg);transform-origin:right center}
.bx-lesson .bx-list{margin:auto 0 0 auto;max-width:72%;font-size:4.3cqw}
.bx-lesson .bx-list li{position:relative;padding-left:7cqw;margin:1.4cqw 0}
.bx-lesson .bx-list li::before{content:"✓";position:absolute;left:0;top:-.2cqw;width:4.6cqw;height:4.6cqw;border:.5cqw solid #d8bf86;border-radius:.8cqw;
  display:grid;place-items:center;font:900 3.4cqw/1 system-ui,sans-serif;color:#d8bf86}
.bx-earned{margin:4.5cqw 0 0;text-transform:uppercase;line-height:.9}
.bx-earned span{display:block;font-family:"Permanent Marker",AHDDisplay,"Anton",Impact,sans-serif;font-size:6.6cqw;color:#d8bf86;transform:rotate(-2deg)}
.bx-earned b{display:inline-block;position:relative;font-family:"Permanent Marker",AHDDisplay,"Anton",Impact,sans-serif;font-weight:400;font-size:12cqw;color:#9e1b32;transform:rotate(-4deg);margin:1cqw 0 0 8cqw;text-shadow:0 .6cqw 2cqw rgba(0,0,0,.5)}

.bx figcaption{font-size:.86rem;line-height:1.45;color:#6d6255;margin:.65rem 6px 0;text-align:center}
@media (prefers-reduced-motion:no-preference){.bx-card{transition:transform .2s ease}.bx-card:hover{transform:translateY(-2px)}}

/* reset blog-article typography inside cards */
.article-body .bx p,.article-body .bx ul,.article-body .bx li,.bx p,.bx ul,.bx li{max-width:none;font-weight:inherit}
.article-body .bx .bx-kick{margin:5cqw 0 0!important;font-size:5cqw!important;line-height:1.05!important;color:#f3ead9!important;font-weight:400!important}
.article-body .bx .bx-h{margin:3cqw 0 0!important;font-size:inherit!important;line-height:.86!important;font-weight:400!important}
.article-body .bx .bx-list{margin:auto 0 0!important;padding:0!important;font-size:4.4cqw!important;line-height:1.28!important;color:#f3ead9!important;list-style:none!important}
.article-body .bx .bx-list li{margin:.5cqw 0!important;font-size:inherit!important;line-height:inherit!important;color:inherit!important}
.article-body .bx .bx-band{margin:4cqw -2cqw 0!important;font-size:5.6cqw!important;line-height:1.05!important;color:#fff!important;font-weight:400!important}
.article-body .bx .bx-earned{margin:4.5cqw 0 0!important;font-size:inherit!important;line-height:.9!important}
.article-body .bx-paper .bx-kick{color:#9e1b32!important}
.article-body .bx-paper .bx-list{color:#16120e!important;font-size:4.6cqw!important}
.article-body .bx-lesson .bx-list{margin:auto 0 0 auto!important;font-size:4.3cqw!important}
.article-body .bx-lesson .bx-list li{margin:1.2cqw 0!important}
.article-body .bx figcaption{font-size:.86rem;line-height:1.45;color:#6d6255}
.bx-a.m{font-size:10cqw}
.article-body .bx-paper .bx-list.bx-num li{padding-left:7.5cqw!important}
.bx-paper .bx-list.bx-num li::before{display:none}
.bx-list.bx-num li b{position:absolute;left:0;top:.2cqw;width:5.2cqw;height:5.2cqw;border-radius:50%;background:#9e1b32;color:#fff;display:grid;place-items:center;font:800 3cqw/1 system-ui,sans-serif}
.bx-lesson .bx-a{font-size:10.5cqw}.bx-lesson .bx-b{font-size:15cqw}
.article-body .bx-lesson .bx-list{margin-top:3cqw!important}

/* v4.48 stitched sand cards (match BackSpin slide art) */
.bx-paper .bx-card::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20200%20200'%3E%3Cg%3E%3Cpath%20d='M118.5%20-10.7L133.9%20-19.6M146.2%20-6.8L133.9%20-19.6M114.8%204.7L131.0%20-2.7M142.1%2011.2L131.0%20-2.7M109.7%2019.6L126.6%2013.8M136.2%2028.8L126.6%2013.8M103.2%2033.9L120.5%2029.8M128.6%2045.6L120.5%2029.8M95.3%2047.5L113.0%2045.1M119.5%2061.7L113.0%2045.1M86.1%2060.3L103.9%2059.6M108.8%2076.8L103.9%2059.6M75.7%2072.1L93.5%2073.2M96.7%2090.7L93.5%2073.2M64.3%2082.9L81.8%2085.7M83.3%20103.4L81.8%2085.7M51.8%2092.5L69.0%2097.0M68.7%20114.8L69.0%2097.0M38.4%20100.8L55.1%20107.0M53.1%20124.6L55.1%20107.0M24.3%20107.8L40.3%20115.5M36.6%20132.9L40.3%20115.5M9.6%20113.3L24.7%20122.6M19.3%20139.6L24.7%20122.6M-5.6%20117.4L8.6%20128.2M1.5%20144.5L8.6%20128.2M-21.2%20120.0L-8.1%20132.1M-16.7%20147.7L-8.1%20132.1'%20stroke='%23a3172e'%20stroke-width='5'%20stroke-linecap='round'%20fill='none'%20opacity='.85'/%3E%3C/g%3E%3C/svg%3E") -6% -5%/26% no-repeat,url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20200%20200'%3E%3Cg%20transform='rotate(180%20100%20100)'%3E%3Cpath%20d='M118.5%20-10.7L133.9%20-19.6M146.2%20-6.8L133.9%20-19.6M114.8%204.7L131.0%20-2.7M142.1%2011.2L131.0%20-2.7M109.7%2019.6L126.6%2013.8M136.2%2028.8L126.6%2013.8M103.2%2033.9L120.5%2029.8M128.6%2045.6L120.5%2029.8M95.3%2047.5L113.0%2045.1M119.5%2061.7L113.0%2045.1M86.1%2060.3L103.9%2059.6M108.8%2076.8L103.9%2059.6M75.7%2072.1L93.5%2073.2M96.7%2090.7L93.5%2073.2M64.3%2082.9L81.8%2085.7M83.3%20103.4L81.8%2085.7M51.8%2092.5L69.0%2097.0M68.7%20114.8L69.0%2097.0M38.4%20100.8L55.1%20107.0M53.1%20124.6L55.1%20107.0M24.3%20107.8L40.3%20115.5M36.6%20132.9L40.3%20115.5M9.6%20113.3L24.7%20122.6M19.3%20139.6L24.7%20122.6M-5.6%20117.4L8.6%20128.2M1.5%20144.5L8.6%20128.2M-21.2%20120.0L-8.1%20132.1M-16.7%20147.7L-8.1%20132.1'%20stroke='%23a3172e'%20stroke-width='5'%20stroke-linecap='round'%20fill='none'%20opacity='.85'/%3E%3C/g%3E%3C/svg%3E") 106% 105%/26% no-repeat;opacity:.75}
.bx-paper .bx-in{z-index:1}
.bx-paper .bx-card{background:radial-gradient(ellipse at 50% 40%,#f1e6d0 0%,#e6d6b8 60%,#d9c5a0 100%)}
.bx-paper .bx-a{font-family:AHDDisplay,"Anton",Impact,"Arial Narrow Bold",sans-serif;letter-spacing:.01em}
