/* Academy home: a compact editorial introduction to PipsLab, September 2026. */
body[data-preview-page="home"] {--ah-gold:#e8b44a;--ah-paper:#f4f0e8;--ah-muted:#b3ada2;--ah-rule:#3f3219;--ah-panel:#100e09}
body[data-preview-page="home"] .site-header .nav-inner{height:84px!important;min-height:84px!important}
body[data-preview-page="home"] .site-header .site-logo{display:block;width:84px!important;height:76px!important;overflow:visible!important;flex-shrink:0}
body[data-preview-page="home"] .site-header .site-logo img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important}
body[data-preview-page="home"] .footer-logo{width:84px;height:84px;object-fit:contain;transform:none}
body[data-preview-page="home"] .site-footer{padding:36px 0 24px!important;background:#090806}
body[data-preview-page="home"] .site-footer p{max-width:340px;font-size:15px!important;line-height:1.6}
body[data-preview-page="home"] .footer-grid{gap:28px!important}
body[data-preview-page="home"] .footer-meta{gap:14px;font-size:12px!important;line-height:1.6}
#academy-home{color:var(--ah-paper);overflow:clip}
#academy-home .ah-wrap{width:min(1140px,calc(100% - 80px));margin-inline:auto}
#academy-home h1,#academy-home h2,#academy-home h3{font-family:var(--display);font-weight:700;letter-spacing:-.04em;text-wrap:balance;line-height:1.12!important;color:var(--ah-paper)!important}
#academy-home h1 span,#academy-home h2 span{color:var(--ah-gold)!important}
#academy-home h1{font-size:clamp(36px,4.1vw,58px)!important;margin:16px 0 22px;max-width:620px!important}
#academy-home h1 span{display:block;margin-top:10px}
#academy-home h2{font-size:clamp(28px,3vw,40px)!important;margin:12px 0 18px}
#academy-home h3{font-size:22px!important;margin:0 0 10px}
#academy-home p{font-size:16px!important;line-height:1.65!important;color:var(--ah-muted);margin:0 0 16px}
#academy-home .ah-kicker{font:500 10px/1.5 var(--mono)!important;letter-spacing:.14em;color:var(--ah-gold);margin:0;text-transform:uppercase}
#academy-home .ah-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:60px;align-items:center;padding-block:56px 42px}
#academy-home .ah-lead{max-width:540px;font-size:18px!important}
#academy-home .ah-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-top:26px}
#academy-home .gold-button,#academy-home .outline-button{min-height:50px!important;padding:13px 20px!important;border-radius:10px!important;font:700 15px/1.3 var(--body)!important;display:inline-flex;align-items:center;justify-content:center;gap:16px;white-space:normal;text-align:center}
#academy-home .gold-button{background:linear-gradient(180deg,#f6cc6c,#dfa733)!important;color:#211705!important;border:1px solid #f4cf7a!important;box-shadow:inset 0 1px 0 #ffe7af,0 3px 0 #86601e,0 8px 22px #0005!important}
#academy-home .outline-button{background:#18130b!important;border:1px solid #725723!important;color:#edc977!important;box-shadow:inset 0 1px 0 #fff1!important}
#academy-home a{transition:transform .18s ease,background .18s ease,border-color .18s ease}
#academy-home .gold-button:active,#academy-home .outline-button:active{transform:translateY(1px)!important}
#academy-home .ah-text-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;color:var(--ah-paper);font-size:14px;font-weight:700;border-bottom:1px solid var(--ah-rule)}
#academy-home .ah-text-link:hover{color:var(--ah-gold);border-color:var(--ah-gold)}
#academy-home .ah-reassurance{font-size:12px!important;margin-top:18px;color:#aca393}
#academy-home figure{margin:0}
#academy-home .ah-portrait{position:relative;overflow:hidden;border-radius:14px;border:1px solid var(--ah-rule);height:450px;background:var(--ah-panel)}
#academy-home .ah-portrait>img{width:100%;height:100%;object-fit:cover;object-position:center 32%}
#academy-home .ah-portrait::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#080704f2);pointer-events:none}
#academy-home .ah-portrait figcaption{position:absolute;z-index:1;bottom:22px;left:24px;right:24px;display:flex;align-items:center;justify-content:space-between}
#academy-home .ah-portrait b{font-size:22px;font-family:var(--display)}
#academy-home .ah-portrait small{display:block;color:#d1c8b6;font-size:12px;margin-top:4px}
#academy-home .ah-photo-mark{font:500 16px var(--mono);color:var(--ah-gold);border:1px solid #b58b4455;padding:12px}
#academy-home .ah-index{display:flex;justify-content:space-between;border-block:1px solid var(--ah-rule);gap:16px}
#academy-home .ah-index a{display:flex;align-items:center;min-height:58px;font-size:13px;color:#c4baa9}
#academy-home .ah-index a::after{content:'↘';margin-left:20px;color:var(--ah-gold)}
#academy-home .ah-section{padding-block:64px;border-bottom:1px solid var(--ah-rule);scroll-margin-top:100px}
#academy-home .ah-heading{max-width:660px;margin-bottom:30px}
#academy-home .ah-heading>p:last-child{max-width:610px;margin-bottom:0}
#academy-home .ah-resources{display:grid;grid-template-columns:1.1fr 1fr;gap:36px;align-items:stretch}
#academy-home .ah-live-resource{background:var(--ah-panel);border:1px solid var(--ah-rule);border-radius:14px;overflow:hidden}
#academy-home .ah-live-resource picture{display:block;aspect-ratio:1.8;background:#060504}
#academy-home .ah-live-resource img{width:100%;height:100%;object-fit:cover;filter:brightness(.85)}
#academy-home .ah-live-resource>div{padding:24px}
#academy-home .ah-live-resource h3{margin-top:12px}
#academy-home .ah-live-resource p:last-child{margin:0}
#academy-home .ah-tool-list{display:grid;align-content:space-between}
#academy-home .ah-tool-list article{display:grid;grid-template-columns:90px 1fr;gap:20px;align-items:center;padding:20px 0;border-bottom:1px solid var(--ah-rule)}
#academy-home .ah-tool-list article:first-child{padding-top:0}
#academy-home .ah-tool-list article:last-child{border-bottom:0}
#academy-home .ah-tool-list img{width:90px;height:90px;object-fit:contain}
#academy-home .ah-tool-list p{margin:0;font-size:15px!important}
#academy-home .ah-tool-list h3{font-size:20px!important}
#academy-home .ah-mentor{display:grid;grid-template-columns:.8fr 1.2fr;gap:64px;align-items:center}
#academy-home .ah-mentor figure{height:380px;overflow:hidden;border-radius:14px;border:1px solid var(--ah-rule)}
#academy-home .ah-mentor img{width:100%;height:100%;object-fit:cover;object-position:center 36%}
#academy-home .ah-mentor-note{padding:14px 0 14px 18px;border-left:2px solid var(--ah-gold);color:var(--ah-paper);font-weight:700}
#academy-home .ah-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
#academy-home .ah-entry{display:flex;flex-direction:column;padding:28px;border:1px solid var(--ah-rule);border-radius:14px;background:#0c0b08}
#academy-home .ah-entry-free{background:linear-gradient(140deg,#261d0c,#100e09 65%);border-color:#715523}
#academy-home .ah-entry-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-bottom:22px;margin-bottom:24px;border-bottom:1px solid var(--ah-rule)}
#academy-home .ah-entry-top>span{font:500 10px var(--mono);letter-spacing:.1em;color:#d6bd8a}
#academy-home .ah-entry-top strong{font-size:26px;color:var(--ah-gold)}
#academy-home .ah-entry-top small{font-size:13px;color:var(--ah-muted);font-weight:400}
#academy-home .ah-entry ul{list-style:none;padding:0;margin:4px 0 26px;color:#c4bcae;font-size:14px}
#academy-home .ah-entry li{display:flex;align-items:baseline;gap:10px;margin:8px 0}
#academy-home .ah-entry li::before{content:'✓';color:var(--ah-gold)}
#academy-home .ah-entry>a{margin-top:auto}
#academy-home .ah-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;list-style:none;padding:0;margin:0}
#academy-home .ah-steps li{display:flex;align-items:flex-start;gap:16px}
#academy-home .ah-steps li>span{flex:0 0 34px;height:34px;display:grid;place-items:center;border:1px solid #8a682b;border-radius:50%;font:500 11px var(--mono);color:var(--ah-gold)}
#academy-home .ah-steps h3{font-size:18px!important;margin:6px 0 10px}
#academy-home .ah-steps p{font-size:14px!important;margin:0}
#academy-home .ah-close{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:40px;margin-block:56px;border:1px solid #685026;border-radius:16px;background:radial-gradient(ellipse at 0 0,#30220b,#0d0b07 70%)}
#academy-home .ah-close h2{font-size:32px!important}
#academy-home .ah-close p:last-child{margin:0}
#academy-home .ah-close>a{flex-shrink:0}
@media(max-width:900px){
 #academy-home .ah-wrap{width:calc(100% - 48px)}
 #academy-home .ah-hero{gap:28px;grid-template-columns:1.1fr .9fr}
 #academy-home .ah-portrait{height:390px}
 #academy-home .ah-resources{gap:24px}
 #academy-home .ah-mentor{gap:32px}
 #academy-home .ah-steps{grid-template-columns:1fr;gap:22px}
 #academy-home .ah-close{align-items:flex-start;flex-direction:column;padding:28px}
}
@media(max-width:600px){
 body[data-preview-page="home"] .site-header .nav-inner{height:72px!important;min-height:72px!important}
 body[data-preview-page="home"] .site-header .site-logo{width:72px!important;height:68px!important}
 body[data-preview-page="home"] .review-language{right:14px!important}
 body[data-preview-page="home"] .review-language a{min-width:40px!important;min-height:40px!important;width:40px!important;height:40px!important}
 #academy-home .ah-wrap{width:calc(100% - 36px)}
 #academy-home .ah-hero{grid-template-columns:1fr;gap:24px;padding-block:28px 24px}
 #academy-home h1{font-size:clamp(29px,7.9vw,39px)!important;line-height:1.12!important;margin:12px 0 16px}
 #academy-home h1 span{margin-top:6px}
 #academy-home h2{font-size:27px!important;line-height:1.15!important}
 #academy-home .ah-lead{font-size:16px!important;line-height:1.55!important;margin-bottom:0}
 #academy-home .ah-actions{margin-top:20px;gap:8px}
 #academy-home .ah-actions .gold-button{width:100%}
 #academy-home .ah-actions .ah-text-link{margin-inline:auto}
 #academy-home .ah-reassurance{font-size:11px!important;text-align:center;margin:8px 0 0}
 #academy-home .ah-portrait{height:260px;border-radius:12px}
 #academy-home .ah-portrait>img{object-position:center 28%}
 #academy-home .ah-portrait figcaption{left:18px;right:18px;bottom:16px}
 #academy-home .ah-photo-mark{font-size:13px;padding:8px}
 #academy-home .ah-index{gap:8px}
 #academy-home .ah-index a{font-size:11px;min-height:48px}
 #academy-home .ah-index a::after{margin-left:7px}
 #academy-home .ah-section{padding-block:38px;scroll-margin-top:84px}
 #academy-home .ah-heading{margin-bottom:24px}
 #academy-home .ah-resources,#academy-home .ah-mentor,#academy-home .ah-entry-grid{grid-template-columns:1fr;gap:20px}
 #academy-home .ah-live-resource>div{padding:20px}
 #academy-home .ah-tool-list article{grid-template-columns:76px 1fr;gap:14px;padding:18px 0}
 #academy-home .ah-tool-list img{width:76px;height:76px}
 #academy-home .ah-tool-list h3{font-size:18px!important}
 #academy-home .ah-tool-list p{font-size:14px!important}
 #academy-home .ah-mentor figure{height:250px}
 #academy-home .ah-entry{padding:22px}
 #academy-home .ah-entry-top{padding-bottom:16px;margin-bottom:18px}
 #academy-home .ah-entry-top strong{font-size:24px}
 #academy-home .ah-close{padding:24px;margin-block:36px;gap:22px}
 #academy-home .ah-close h2{font-size:27px!important}
 #academy-home .ah-close>a{width:100%}
}
@media(prefers-reduced-motion:reduce){#academy-home *,#academy-home *::before,#academy-home *::after{animation:none!important;transition:none!important}html:has(#academy-home){scroll-behavior:auto}}
body[data-preview-page="home"] .site-header .site-nav .nav-cta{min-height:44px!important;height:auto!important;align-self:center;padding:12px 18px!important;border:1px solid #735627!important;border-radius:9px!important;background:#171107!important;color:#edc977!important}
#academy-home .ah-footer{display:grid;grid-template-columns:1fr auto;gap:20px;padding-bottom:30px}
#academy-home .ah-footer-brand img{width:76px;height:76px;object-fit:contain}
#academy-home .ah-footer-brand p{font-size:13px!important;margin:0}
#academy-home .ah-footer nav{display:flex;align-items:center;gap:24px;font-size:13px}
#academy-home .ah-footer nav a{display:flex;align-items:center;min-height:44px}
#academy-home .ah-footer-legal{grid-column:1/-1;border-top:1px solid var(--ah-rule);padding-top:20px;display:flex;gap:32px;justify-content:space-between;color:#aba190;font-size:12px}
#academy-home .ah-footer-legal p{max-width:650px;font-size:12px!important;margin:0}
@media(max-width:600px){#academy-home .ah-footer{grid-template-columns:1fr;gap:10px}#academy-home .ah-footer nav{gap:22px;flex-wrap:wrap}#academy-home .ah-footer-legal{display:block}#academy-home .ah-footer-legal p{margin-top:12px}}
/* The review language switch gets its own ribbon; it must never cover navigation. */
body[data-preview-page="home"]:not([data-design-variant="hallmark"]) .review-language{position:absolute;top:2px!important;right:14px!important}
body[data-preview-page="home"]:not([data-design-variant="hallmark"]) .preview-ribbon{min-height:64px;padding-right:150px;justify-content:flex-start}
body[data-preview-page="home"]:not([data-design-variant="hallmark"]) .preview-ribbon span:last-child{display:none}
