/* v2_22 home tidy #2 (Rowan 1:1 2 Nov 11:34 via Relay; amendments Relay 11:49 / MKT-V222-PRE-01). Preview only. */
/* N1/N2: one baseline for every top-level label (desktop). Chevrons dropped; dropdown parents get a hover/focus underline. */
@media (min-width:1021px){
 .nav-v220>ul{align-items:center}
 .nav-v220>ul>li>a,.nav-v220>ul>li>button.dd{display:inline-flex;align-items:center;box-sizing:border-box;height:40px;line-height:24px;padding-top:8px;padding-bottom:8px;vertical-align:middle}
 .nav-v220>ul>li>button.dd::after,.nav-v220>ul>li>a.dd::after{content:none;display:none}
 .nav-v220>ul>li>.dd{position:relative}
 .nav-v220>ul>li>.dd::before{content:"";position:absolute;left:12px;right:12px;bottom:5px;height:2px;border-radius:2px;background:#BF5508;opacity:0;transform:scaleX(.35);transition:opacity .18s,transform .18s}
 .nav-v220>ul>li:hover>.dd::before,.nav-v220>ul>li:focus-within>.dd::before,.nav-v220>ul>li>.dd[aria-expanded="true"]::before{opacity:1;transform:none}
 .nav-v220 .nav-cta{align-self:center}
 .nav-v220 a.nav-login{display:inline-flex;align-items:center;box-sizing:border-box;height:40px;line-height:24px;padding:8px 8px;font-size:15px;align-self:center}
}
@media (min-width:1021px) and (max-width:1279px){.nav-v220>ul>li>.dd::before{left:7px;right:7px}}
@media (prefers-reduced-motion:reduce){.nav-v220>ul>li>.dd::before{transition:none}}
/* N2: "My courses / Log in" is now a link (COURSES_BASE placeholder), no COMING SOON chip */
a.login-link{color:#3E4866;text-decoration:none;white-space:nowrap;border-radius:999px}
a.login-link:hover,a.login-link:focus-visible{color:#14204A;text-decoration:underline;text-underline-offset:3px;background:none}
.site-footer a.login-link,body .site-footer a.login-link{color:#C9D3EA;font-size:inherit}
.site-footer a.login-link:hover,.site-footer a.login-link:focus-visible{color:#fff}
@media (max-width:980px){.nav-v220 a.nav-login{padding:10px 4px}}
/* F1 footer box line */
.site-footer .ph .ph-l{display:block;margin-top:2px}
/* H1 hero spacing + H4 wider photo (home only) */
body[data-page="index"] .hero .reveal>.eyebrow{display:inline-flex;margin-bottom:20px}
body[data-page="index"] .hero .reveal>h1{margin-top:0;margin-bottom:0}
body[data-page="index"] .hero .reveal>.hero-sub{margin-top:26px}
body[data-page="index"] .hero .reveal>.btn-row{margin-top:36px}
body[data-page="index"] .hero .reveal>.hero-info{margin-top:24px}
@media (min-width:861px){
 body[data-page="index"] .hero.hero-a1-wrap .wrap{grid-template-columns:.84fr 1.16fr;gap:40px}
 body[data-page="index"] .hero.hero-a1-wrap .hero-art.hero-a1{max-width:none;width:100%}
}
@media (max-width:860px){
 body[data-page="index"] .hero .reveal>.eyebrow{margin-bottom:14px}
 body[data-page="index"] .hero .reveal>.hero-sub{margin-top:18px}
 body[data-page="index"] .hero .reveal>.btn-row{margin-top:26px}
 body[data-page="index"] .hero .reveal>.hero-info{margin-top:18px}
}
/* H3 hero Teddy dog-tag: a separate overlay element, the Teddy art itself is untouched. Cream tag, navy border/text (14.5:1). */
.hero-teddy .ht-wrap{position:relative;display:inline-block;flex:none;line-height:0}
.tg-tag{position:absolute;left:50%;top:80%;transform:translateX(-50%) rotate(-5deg);z-index:2;display:inline-block;background:#FFF4E8;color:#14204A;border:1.5px solid #14204A;border-radius:5px 5px 10px 10px;font:800 10px/1 var(--font-d,system-ui,sans-serif);letter-spacing:.14em;padding:5px 5px 4px 7px;box-shadow:0 2px 5px rgba(20,32,74,.2);white-space:nowrap;pointer-events:none}
.tg-tag .tg-ring{position:absolute;left:50%;top:-7px;width:7px;height:7px;margin-left:-4px;box-sizing:border-box;border:1.5px solid #14204A;border-radius:50%;background:#FFF4E8}
@media (max-width:860px){.tg-tag{font-size:9.5px;padding:4px 4px 3px 6px}}
/* P1 tiny plain tag (no text) on the 46px Teddy-face icons; aria-hidden by being CSS-only */
.card .ic.ic-tf{position:relative;overflow:visible}
.card .ic.ic-tf::after{content:"";position:absolute;left:50%;bottom:-4px;width:13px;height:8px;margin-left:-6.5px;box-sizing:border-box;background:#FFF4E8;border:1.5px solid #14204A;border-radius:2px 2px 5px 5px;box-shadow:0 1px 2px rgba(20,32,74,.2);pointer-events:none}
/* P2 format comparison (replaces the 5-vs-1 time bars) */
.pc-cmp .cmp-t{width:100%;border-collapse:collapse;font-size:12.5px;line-height:1.25;color:#14204A}
.pc-cmp .cmp-t thead th{font:700 12px/1.2 var(--font-d,inherit);color:#3E4866;text-align:left;padding:0 0 4px}
.pc-cmp .cmp-t tbody th{font:700 12.5px/1.25 var(--font-d,inherit);text-align:left;padding:5px 8px 5px 0;width:40%}
.pc-cmp .cmp-t td{padding:5px 6px 5px 0;vertical-align:middle;width:30%}
.pc-cmp .cm{display:block;height:10px;border-radius:5px;background:#E6E9F0;overflow:hidden}
.pc-cmp .cm i{display:block;height:100%;border-radius:5px}
.pc-cmp .cm-full i{width:100%;background:var(--c,#BF5508)}
.pc-cmp .cm-none i{width:0}
.pc-cmp .cm-txt{display:inline-block;font-weight:600;font-size:12px;color:#3E4866;background:#F1EEE8;border-radius:999px;padding:2px 8px;white-space:nowrap}
.pc-cmp .pt-v{margin:2px 0 0;font-size:13px;color:#3E4866;line-height:1.35}
.pc-cmp .pt-v b{color:#14204A;font-weight:700}
.pc-cmp .pt-v:first-of-type{margin-top:8px}
.pc-time.pc-cmp{display:block}
.pc-cmp .pt-v{grid-column:auto}
.pc-cmp .cmp-t thead th{padding-right:6px}
/* H4: let the illustration use part of the right page gutter (stays inside the viewport, no sideways scroll) */
@media (min-width:861px){body[data-page="index"] .hero.hero-a1-wrap .wrap{gap:32px}body[data-page="index"] .hero.hero-a1-wrap .hero-ill{width:calc(100% + 20px);margin-right:-20px}}
@media (min-width:1240px){body[data-page="index"] .hero.hero-a1-wrap .hero-ill{width:calc(100% + 36px);margin-right:-36px}}
@media (min-width:861px) and (max-width:1099px){body[data-page="index"] .hero.hero-a1-wrap .hero-ill{width:calc(100% + 12px);margin-right:-12px}}
/* A1 "Choose the right starting point" top accent bars (palette: #BF5508 brand orange 4.65:1, --teal #14A38B 3.16:1, --blue #124A92 8.68:1 on white; non-text 3:1 met) */
body[data-page="index"] #for-students-parents-schools .card.sp-parents{--c:#BF5508}
body[data-page="index"] #for-students-parents-schools .card.sp-students{--c:#14A38B}
body[data-page="index"] #for-students-parents-schools .card.sp-schools{--c:#124A92}
/* A3 footer bottom row: copyright left, Policies · Accessibility right, then the emergency line and photo credit left-aligned */
html body .site-footer .fbase{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:24px;row-gap:0;justify-content:stretch}
html body .site-footer .fbase>span:first-child{grid-column:1;justify-self:start}
html body .site-footer .fbase>span:nth-child(2){grid-column:2;justify-self:end;text-align:right;white-space:nowrap}
html body .site-footer .fbase>p{grid-column:1/-1;justify-self:start;text-align:left;margin:12px 0 0;max-width:80ch}
@media (max-width:760px){html body .site-footer .fbase{grid-template-columns:1fr}html body .site-footer .fbase>span:nth-child(2){grid-column:1;justify-self:start;text-align:left;margin-top:4px}}
html body .site-footer .ph .ph-l a[href^="mailto"]{display:inline;min-height:0;padding:0}
/* v2_22.1 (Rowan 12:16 via Relay): hero tag reads "Ted", mixed case; no uppercase/capitalize/small-caps */
.tg-tag{text-transform:none!important;font-variant:normal!important;font-variant-caps:normal!important;letter-spacing:.04em;font-size:11px;padding:4px 7px 4px 7px}
@media (max-width:860px){.tg-tag{font-size:10.5px;padding:3px 6px}}
/* v2_22.1 (Rowan 12:19 via Relay): Fun / Flexibility bars, filled in the card colour, no grey track */
.pc-cmp .cm{background:none;border-radius:5px;overflow:visible}
.pc-cmp .cm i{background:var(--c,#BF5508)}
.pc-cmp .cm-full i{width:100%}
.pc-cmp .cm-half i{width:50%}
/* v2_22.1 (Rowan 12:26): lesson detail under each column heading, small grey (#3E4866 on #fff = 9.04:1) */
.pc-cmp .cmp-t thead th{vertical-align:bottom}
.pc-cmp .cmp-t thead th .cm-d{display:block;margin-top:2px;font:400 11.5px/1.3 var(--font,inherit);color:#3E4866}
.pc-cmp .cmp-t tbody tr:first-child th,.pc-cmp .cmp-t tbody tr:first-child td{padding-top:8px}
/* v2_22.1 (Rowan 12:26): program cards have no Teddy icon; title sits under the cover */
#current-student-programs .grid.shelf>.card>h3{margin-top:4px}
/* v2_22.1 (Rowan 12:26 via Relay): measured hero gaps. Desktop 24/40/40/28; <=860px 16/28/28/20 (element box to element box) */
body[data-page="index"] .hero .reveal>.eyebrow{margin-bottom:24px}
body[data-page="index"] .hero .reveal>.hero-sub{margin-top:40px}
body[data-page="index"] .hero .reveal>.btn-row{margin-top:40px}
body[data-page="index"] .hero .reveal>.hero-info{margin-top:28px}
@media (max-width:860px){
 body[data-page="index"] .hero .reveal>.eyebrow{margin-bottom:16px}
 body[data-page="index"] .hero .reveal>.hero-sub{margin-top:28px}
 body[data-page="index"] .hero .reveal>.btn-row{margin-top:28px}
 body[data-page="index"] .hero .reveal>.hero-info{margin-top:20px}
}
.pc-cmp .cmp-t thead th{vertical-align:top}
/* Rowan 12:38 via Relay: hero gaps desktop 32 / 64 (from underline bottom) / 64 / 40, paragraph line-height 1.75; <=860px 24/40/40/28 */
body[data-page="index"] .hero .reveal>.hero-sub{line-height:1.75}
body[data-page="index"] .hero .reveal>.eyebrow{margin-bottom:var(--g1,32px)}
body[data-page="index"] .hero .reveal>.hero-sub{margin-top:var(--g2,64px)}
body[data-page="index"] .hero .reveal>.btn-row{margin-top:64px}
body[data-page="index"] .hero .reveal>.hero-info{margin-top:40px}
@media (max-width:860px){
 body[data-page="index"] .hero .reveal>.eyebrow{margin-bottom:var(--g1m,24px)}
 body[data-page="index"] .hero .reveal>.hero-sub{margin-top:var(--g2m,40px)}
 body[data-page="index"] .hero .reveal>.btn-row{margin-top:40px}
 body[data-page="index"] .hero .reveal>.hero-info{margin-top:28px}
}
/* Rowan 12:39: course pills on 2 explicit rows (row 1: 3 pills, row 2: 2), centred as before; natural wrap on phones */
.gicons.gi-rows{flex-direction:column;align-items:center;flex-wrap:nowrap;max-width:none;gap:10px}
.gicons.gi-rows .gi-row{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px}
@media (max-width:600px){.gicons.gi-rows{flex-direction:row;flex-wrap:wrap;justify-content:center}.gicons.gi-rows .gi-row{display:contents}}
:root{--g2:74.3px;--g2m:44.8px} /* 64 / 40 from the bottom of the yellow underline (squiggle hangs 10.3 / 4.8 px below the h1 box) */
/* Rowan 12:40: detail lines with deliberate breaks, label column fits its text, bar columns share the rest equally, top-aligned */
.pc-cmp .cmp-t{table-layout:auto}
.pc-cmp .cmp-t thead td:first-child,.pc-cmp .cmp-t tbody th{width:1px;white-space:nowrap;padding-right:10px}
.pc-cmp .cmp-t thead th,.pc-cmp .cmp-t td{width:50%}
.pc-cmp .cmp-t th,.pc-cmp .cmp-t td{vertical-align:top}
.pc-cmp .cmp-t tbody th,.pc-cmp .cmp-t tbody td{vertical-align:middle}
.pc-cmp .cmp-t thead th .cm-d>span{display:block;white-space:nowrap}
#current-student-programs .grid.shelf>.card{padding-left:20px;padding-right:20px}
/* equal bar columns (1fr 1fr) when wide enough */
#current-student-programs .grid.shelf>.card{padding-left:16px;padding-right:16px}
.pc-cmp .cmp-t thead td:first-child,.pc-cmp .cmp-t tbody th{padding-right:6px}
.pc-cmp .cmp-t{table-layout:fixed}
.pc-cmp .cmp-t col.c-l{width:72px}
/* narrow cards (<1200px viewport, incl. 1024 and 390): stack Teacher-led above Self-paced; labels repeat via data-l (real row headers stay for screen readers) */
@media (max-width:1199px){
 .pc-cmp .cmp-t{display:grid;grid-template-columns:1fr;row-gap:6px}
 .pc-cmp .cmp-t caption{position:absolute}
 .pc-cmp .cmp-t thead,.pc-cmp .cmp-t tbody,.pc-cmp .cmp-t tr{display:contents}
 .pc-cmp .cmp-t thead td:first-child{display:none}
 .pc-cmp .cmp-t tbody th{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;padding:0}
 .pc-cmp .cmp-t thead th,.pc-cmp .cmp-t td{display:grid;width:auto;padding:0}
 .pc-cmp .cmp-t td{grid-template-columns:72px 1fr;align-items:center}
 .pc-cmp .cmp-t td::before{content:attr(data-l);font:700 12.5px/1.25 var(--font-d,inherit);color:#14204A}
 .pc-cmp .cmp-t td .sr-only{position:absolute}
 .pc-cmp .cmp-t thead th:nth-of-type(1){grid-row:1}
 .pc-cmp .cmp-t tbody tr:nth-child(1) td:nth-of-type(1){grid-row:2}
 .pc-cmp .cmp-t tbody tr:nth-child(2) td:nth-of-type(1){grid-row:3}
 .pc-cmp .cmp-t thead th:nth-of-type(2){grid-row:4;margin-top:6px}
 .pc-cmp .cmp-t tbody tr:nth-child(1) td:nth-of-type(2){grid-row:5}
 .pc-cmp .cmp-t tbody tr:nth-child(2) td:nth-of-type(2){grid-row:6}
 .pc-cmp .cmp-t tbody tr:first-child th,.pc-cmp .cmp-t tbody tr:first-child td{padding-top:0}
}
#current-student-programs .grid.shelf>.card>.pc-cmp{margin-top:auto} /* bars line up across the 3 cards */
/* 12:48 Rowan: pills left-aligned, both rows start on the hero image's left edge */
.hero-art .gicons.gi-rows{align-items:flex-start;justify-content:flex-start;margin-left:0;padding-left:0}
.hero-art .gicons.gi-rows .gi-row{justify-content:flex-start;margin-left:0;padding-left:0}
@media (max-width:600px){.hero-art .gicons.gi-rows{justify-content:flex-start}}
/* Rowan 12:53: steps section, circle left + photo right (replaces MKT patch 230px sizing). Higher specificity: mkt222-home.css loads after this file. */
html body #idea-plan-create-check-improve-share .loop{grid-template-columns:440px minmax(0,480px);align-items:center;gap:48px}
html body #idea-plan-create-check-improve-share .loop-art{display:block;width:100%;max-width:480px;height:340px;margin:0;border-radius:22px;overflow:hidden;opacity:1;box-shadow:0 10px 28px rgba(20,32,74,.10),0 2px 6px rgba(20,32,74,.06);align-self:center}
html body #idea-plan-create-check-improve-share .loop-art img{display:block;width:100%;height:100%;object-fit:cover}
@media (max-width:960px){html body #idea-plan-create-check-improve-share .loop{grid-template-columns:440px;justify-content:center;row-gap:24px}
 html body #idea-plan-create-check-improve-share .loop-art{width:min(100%,480px);justify-self:center}}
/* phones: compact progress bar replaces the circle, so the photo is hidden there */
@media (max-width:700px){html body #idea-plan-create-check-improve-share .loop-art{display:none}}
/* Rowan 12:57: bottom grid shares the 4 footer column lines; left lines span cols 1-3, notice sits in col 4 (People & contact line) */
html body .site-footer .fbase.fbase-2{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;column-gap:32px;row-gap:16px;align-items:start}
html body .site-footer .fbase-2>.fb-l{grid-column:1/4;display:block}
html body .site-footer .fbase-2>.fb-l>span{display:block}
html body .site-footer .fbase-2>.fb-l>p{margin:12px 0 0;max-width:80ch;text-align:left}
html body .site-footer .fbase-2>.ph-b{grid-column:4;margin:0;padding:0;background:transparent;border:0;display:block;text-align:left}
html body .site-footer .ph-b .ph-h{margin:0 0 4px;color:#fff;font-size:14px}
html body .site-footer .ph-b .ph-h .ph-ic{display:inline-flex;vertical-align:-3px;margin-left:6px;width:18px;height:18px;color:#FEC623;background:none;padding:0}
html body .site-footer .ph-b .ph-h .ph-ic svg{width:18px;height:18px}
html body .site-footer .ph-b .ph-l{margin:0;font-size:14px;display:block}
html body .site-footer .ph-b .ph-l a{display:inline;padding:0;min-height:0}
@media (max-width:860px){html body .site-footer .fbase.fbase-2{grid-template-columns:1fr}
 html body .site-footer .fbase-2>.fb-l,html body .site-footer .fbase-2>.ph-b{grid-column:1}}
@media (max-width:760px){html body .site-footer .ph-b .ph-l a{display:inline-flex;align-items:center;min-height:44px;padding:0 2px}}
html body .site-footer .fbase.fbase-2{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)}
html body .site-footer .fbase-2>.ph-b[role="note"]{display:block;margin:0;padding:0;gap:0}
html body .site-footer .fbase-2>.ph-b[role="note"] .ph-ic{display:inline-flex;margin:0 0 0 6px;vertical-align:-3px}
html body .site-footer .fbase-2>.ph-b[role="note"] .ph-ic svg{width:18px;height:18px}
html body .site-footer .fbase-2>.ph-b[role="note"] .ph-l{margin-top:2px}
@media (max-width:860px){html body .site-footer .fbase.fbase-2{grid-template-columns:minmax(0,1fr)}}
html body .site-footer .fbase-2>.ph-b[role="note"] .ph-h{white-space:nowrap}
html body .site-footer .fbase-2>.ph-b[role="note"] .ph-h strong{display:inline}
/* Rowan 13:01: hero (i) gentle pulse, 3 x 0.6 s; none under reduced motion */
@keyframes hiPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.14)}}
.hero-info .hi-btn.hi-pulse{animation:hiPulse .6s ease-in-out 3}
@media (prefers-reduced-motion:reduce){.hero-info .hi-btn.hi-pulse{animation:none}}
/* keep the box inside the viewport */
body[data-page="index"] .hero-info .hi-pop{width:min(420px,calc(100vw - 40px));max-width:calc(100vw - 40px)}
/* Rowan 13:04: (i) sits 16px under the buttons (overrides 40px / 28px) */
html body .hero .hero-info{margin-top:16px!important}
html body .hero .btn-row+.hero-info,html body .hero .hero-ctas+.hero-info{margin-top:16px!important}
body[data-page="index"] .hero-info .hi-pop.hi-up{top:auto;bottom:40px}
body[data-page="index"] .hero-info .hi-pop.hi-right{top:auto;bottom:-8px;left:42px;width:min(420px,calc(100vw - 100px))}
/* Rowan 13:06: T2 link + tighter gap to "What would you like to build next?" */
body[data-page="index"] .trust-v220 .ts-more{margin:16px 0 0;text-align:right;font-size:15px}
body[data-page="index"] .trust-v220 .ts-more a{color:#124A92;font-weight:600;text-decoration:underline;text-underline-offset:3px;background:none;padding:12px 0;display:inline-block}
body[data-page="index"] .trust-v220 .ts-more a:hover{color:#0B3570}
body[data-page="index"] .trust-v220 .ts-more a:focus-visible{outline:2px solid #124A92;outline-offset:2px;border-radius:4px}
html body[data-page="index"] section.trust-v220{padding-bottom:16px}
html body[data-page="index"] section#your-next-step{padding-top:28px}
@media (max-width:600px){html body[data-page="index"] section.trust-v220{padding-bottom:8px}html body[data-page="index"] section#your-next-step{padding-top:20px}}
html body[data-page="index"] section#your-next-step{padding-top:40px}
@media (max-width:600px){html body[data-page="index"] section#your-next-step{padding-top:32px}}
/* Rowan 13:08: AI Pathways cards as column grids so every image top lines up */
body[data-page="index"] .pw-row .pw-card{display:flex;flex-direction:column;padding:20px}
body[data-page="index"] .pw-row .pw-card>.ic{flex:0 0 auto;height:56px;min-height:56px;margin:0 0 12px;display:flex;align-items:center}
body[data-page="index"] .pw-row .pw-card>h3{min-height:2.6em;min-height:2lh;margin:0 0 8px}
body[data-page="index"] .pw-row .pw-card>p{min-height:4.5em;min-height:3lh;margin:0 0 16px}
body[data-page="index"] .pw-row .pw-card>figure.photo{margin:auto 0 0;aspect-ratio:16/10;overflow:hidden;border-radius:14px;height:auto}
body[data-page="index"] .pw-row .pw-card>figure.photo img{display:block;width:100%;height:100%;object-fit:cover}
/* Rowan 13:12: (i) box ALWAYS opens below the (i); wide and short; inline (in flow) on phones. Overrides 13:04 up/right. */
body[data-page="index"] .hero-info .hi-pop,body[data-page="index"] .hero-info .hi-pop.hi-up,body[data-page="index"] .hero-info .hi-pop.hi-right{top:40px;bottom:auto;left:0;width:min(580px,calc(100vw - 40px));max-width:calc(100vw - 40px);font-size:14px;line-height:1.45;padding:10px 14px 8px}
body[data-page="index"] .hero-info .hi-pop p{margin:0 0 4px}
@media (max-width:600px){body[data-page="index"] .hero-info .hi-pop,body[data-page="index"] .hero-info .hi-pop.hi-up{position:static;width:auto;max-width:none;margin-top:10px;box-shadow:none}}
/* Rowan 13:13: (i) in the Courses & pricing orange, white glyph; gentle 4px hop, 0.6s within a 4s cycle, after 2s */
body[data-page="index"] .hero-info .hi-btn{background:#BF5508;border-color:#BF5508;color:#fff}
body[data-page="index"] .hero-info .hi-btn:hover,body[data-page="index"] .hero-info .hi-btn[aria-expanded="true"]{background:#A64508;border-color:#A64508;color:#fff}
body[data-page="index"] .hero-info .hi-btn:focus-visible{outline:2px solid #14204A;outline-offset:2px}
@keyframes hiHop{0%,15%,100%{transform:translateY(0)}7.5%{transform:translateY(-4px)}}
body[data-page="index"] .hero-info .hi-btn,body[data-page="index"] .hero-info .hi-btn.hi-pulse{animation:hiHop 4s ease-in-out 2s infinite}
body[data-page="index"] .hero-info .hi-btn:hover,body[data-page="index"] .hero-info .hi-btn:focus,body[data-page="index"] .hero-info .hi-btn[aria-expanded="true"]{animation:none}
@media (prefers-reduced-motion:reduce){body[data-page="index"] .hero-info .hi-btn{animation:none!important}}
/* Rowan 13:14 FINAL pills: row 1 starts on img.left, row 2 ends on img.right (nav widened by the same gutter bleed as the image) */
@media (min-width:861px){
 .hero-art .gicons.gi-rows{align-items:stretch;margin-right:-12px}
 .hero-art .gicons.gi-rows .gi-row:first-child{justify-content:flex-start}
 .hero-art .gicons.gi-rows .gi-row:last-child{justify-content:flex-end}}
@media (min-width:1100px){.hero-art .gicons.gi-rows{margin-right:-20px}}
@media (min-width:1240px){.hero-art .gicons.gi-rows{margin-right:-36px}}
/* Rowan 13:12 fit: box spans the text column only, so it never reaches the pills */
@media (min-width:601px){body[data-page="index"] .hero-info{position:relative;display:block;width:100%}
 body[data-page="index"] .hero-info .hi-pop,body[data-page="index"] .hero-info .hi-pop.hi-up,body[data-page="index"] .hero-info .hi-pop.hi-right{width:100%;max-width:580px}}
/* Rowan 13:12: reserve room under the (i) so the open box stays inside the hero */
@media (min-width:601px){body[data-page="index"] .hero .hero-info{padding-bottom:180px}}
@media (min-width:1100px){body[data-page="index"] .hero .hero-info{padding-bottom:160px}}
/* Rowan 13:14 final hop timing: one 6.2s infinite cycle, 3 x 4px hops in the first ~1.2s (0-19%), then still */
@keyframes hiHop3{0%{transform:translateY(0)}3.2%{transform:translateY(-4px)}6.4%{transform:translateY(0)}9.6%{transform:translateY(-4px)}12.8%{transform:translateY(0)}16%{transform:translateY(-4px)}19%,100%{transform:translateY(0)}}
body[data-page="index"] .hero-info .hi-btn,body[data-page="index"] .hero-info .hi-btn.hi-pulse{animation:hiHop3 6.2s ease-in-out 2s infinite}
body[data-page="index"] .hero-info .hi-btn:hover,body[data-page="index"] .hero-info .hi-btn:focus,body[data-page="index"] .hero-info .hi-btn[aria-expanded="true"]{animation-play-state:paused;animation:none}
@media (prefers-reduced-motion:reduce){body[data-page="index"] .hero-info .hi-btn{animation:none!important}}
@media (min-width:861px){.hero-art .gicons.gi-rows .gi-row:first-child{justify-content:flex-end}} /* Rowan 13:17: both rows end on img.right */
/* Rowan 13:20: nav items spaced out evenly (pill gap 2px -> 22px; text-to-text 28px -> 48px), group grows leftward so Home.left sits just right of the hero eyebrow end. >=1240px only; narrower widths unchanged. */
@media (min-width:1240px){html body .site-header nav.nav-v220>ul{gap:22px}}
/* Rowan 13:21 (C): no reserve under the (i); the box opens INLINE below the (i) at all widths and pushes content down */
@media (min-width:601px){body[data-page="index"] .hero .hero-info{padding-bottom:0}}
body[data-page="index"] .hero .hero-info{position:relative;display:block}
body[data-page="index"] .hero-info .hi-pop,body[data-page="index"] .hero-info .hi-pop.hi-up,body[data-page="index"] .hero-info .hi-pop.hi-right{position:static;top:auto;bottom:auto;left:auto;margin-top:10px;width:auto;max-width:580px;box-shadow:none}
/* Rowan 13:22 (F): bubble widened to the image's right edge (same gutter bleed as the image and pills) */
@media (min-width:861px){.hero-art .hero-bubble{margin-right:-12px}}
@media (min-width:1100px){.hero-art .hero-bubble{margin-right:-20px}}
@media (min-width:1240px){.hero-art .hero-bubble{margin-right:-36px}}
/* Rowan 13:21 (E): bar fills darkened to >=3:1 on white (same hue) */
body[data-page="index"] .c-code .pc-cmp .cm i{background:#1E9ED0}
body[data-page="index"] .c-design .pc-cmp .cm i{background:#BF5508}
@media (min-width:861px){.hero-art .hero-teddy .hero-bubble{max-width:none}}
/* Rowan 13:21 (C): closed gap under the lowest hero element ~48px desktop / 32px phones */
body[data-page="index"] section.hero{padding-bottom:48px}
@media (max-width:600px){body[data-page="index"] section.hero{padding-bottom:32px}}
/* Rowan 13:24 (G): 'Illustration' disclosure as tiny plain text inside the image's bottom-right corner */
body[data-page="index"] .hero .ill-label{position:absolute;right:8px;bottom:8px;left:auto;top:auto;background:none!important;border:0!important;box-shadow:none!important;border-radius:0;padding:0;font-size:10.5px;font-weight:400;line-height:1.2;letter-spacing:0;color:rgba(20,32,74,.6);text-shadow:0 0 2px rgba(255,255,255,.8)}
/* Rowan 13:25 (C, priority): 32px desktop / 24px phones from the lowest hero element to the AI Skills band, closed and open */
body[data-page="index"] section.hero{padding-bottom:32px}
@media (max-width:600px){body[data-page="index"] section.hero{padding-bottom:24px}}
body[data-page="index"] .hero .ill-label{color:rgba(20,32,74,.7)}
@media (min-width:861px){html body .hero-art .hero-teddy{margin-right:-12px}html body .hero-art .hero-teddy .hero-bubble{max-width:none!important;margin-right:0}}
@media (min-width:1100px){html body .hero-art .hero-teddy{margin-right:-20px}}
@media (min-width:1240px){html body .hero-art .hero-teddy{margin-right:-36px}}
/* Rowan 13:33: desktop is hover-only, so the Close link is hidden there */
@media (hover:hover) and (pointer:fine){body[data-page="index"] .hero-info .hi-close{display:none}}
/* Rowan 13:35: Close on the last text line, right-aligned, bold, underlined, no border; 24px tap target via padding + negative margin (no extra line height) */
body[data-page="index"] .hero-info .hi-pop p:last-child{margin-bottom:0}
body[data-page="index"] .hero-info .hi-close{float:right;border:0;background:none;box-shadow:none;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:2px;color:#14204A;padding:3px 0 3px 10px;margin:-3px 0;line-height:inherit;min-height:24px;cursor:pointer}
/* Rowan 13:54: Skill row (value bar) */
.pc-cmp .cm.cm-v i{width:var(--v)}
@media (max-width:1199px){
 .pc-cmp .cmp-t thead th:nth-of-type(1){grid-row:1}
 .pc-cmp .cmp-t tbody tr:nth-child(1) td:nth-of-type(1){grid-row:2}
 .pc-cmp .cmp-t tbody tr:nth-child(2) td:nth-of-type(1){grid-row:3}
 .pc-cmp .cmp-t tbody tr:nth-child(3) td:nth-of-type(1){grid-row:4}
 .pc-cmp .cmp-t thead th:nth-of-type(2){grid-row:5}
 .pc-cmp .cmp-t tbody tr:nth-child(1) td:nth-of-type(2){grid-row:6}
 .pc-cmp .cmp-t tbody tr:nth-child(2) td:nth-of-type(2){grid-row:7}
 .pc-cmp .cmp-t tbody tr:nth-child(3) td:nth-of-type(2){grid-row:8}}
/* Rowan 13:54 mobile hero: crop the tall image's empty cream top (no re-crop of the file), 24px under the lowest of buttons/(i)/box; bubble always shown */
@media (max-width:600px){
 body[data-page="index"] .hero .hero-ill-img{aspect-ratio:720/620;height:auto;object-fit:cover;object-position:50% 95%}
 body[data-page="index"] .hero .hero-art{margin-top:0}
 body[data-page="index"] .hero .hero-bubble{opacity:1!important;transform:none!important;visibility:visible!important}
 body[data-page="index"] .hero-info .hi-btn{touch-action:manipulation}}
body[data-page="index"] .hero-info .hi-btn{touch-action:manipulation}
@media (max-width:600px){body[data-page="index"] section.hero>.wrap{row-gap:24px}}
/* Rowan 13:54 mobile footer: no tall link boxes in the notice (44px tap area via padding + equal negative margin, no line growth); 16px bottom padding */
@media (max-width:760px){html body .site-footer .ph-b .ph-l a{display:inline;min-height:0;padding:12px 2px;margin:-12px -2px}
 html body .site-footer{padding-bottom:16px}}
@media (max-width:760px){html body .site-footer .fbase.fbase-2{padding-bottom:0}}
@media (max-width:760px){html body .site-footer{padding-bottom:8px}}
/* v2_22_1s (Relay 14:44): navy space under the footer at desktop trimmed 28px -> 16px */
@media (min-width:761px){html body .site-footer{padding-bottom:16px}}
