
:root{--navy:#0a2850;--teal:#087e83;--ink:#123253;--muted:#4a657c;--border:#d6e5ef;--canvas:#f7fbff;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:16px/1.65 system-ui,-apple-system,Segoe UI,sans-serif}a{color:#075c98}header{background:white;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:5}.bar{max-width:1200px;margin:auto;padding:14px 22px;display:flex;align-items:center;gap:20px}.logo{font-weight:850;font-size:23px;color:var(--navy);text-decoration:none;line-height:1}.logo small{display:block;font-size:10px;font-weight:500}.bar nav{margin-left:auto;display:flex;gap:18px;align-items:center}.bar nav a{text-decoration:none;font-size:14px;color:var(--navy)}.btn{display:inline-block;background:linear-gradient(130deg,#09878b,#063b68);color:#fff!important;padding:12px 20px;border-radius:9px;text-decoration:none;font-weight:700}.ghost{background:#fff;color:var(--navy)!important;border:1px solid #b5cedf}.wrap{max-width:1200px;margin:auto;padding:24px 22px 60px}.hero{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;background:linear-gradient(115deg,#e7f2ff,#fff);border:1px solid var(--border);border-radius:20px;min-height:350px}.hero .copy{padding:40px;align-self:center}.hero img{height:100%;width:100%;object-fit:cover}.kicker{font-size:12px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#0a7e88}h1{font-size:clamp(32px,3.5vw,49px);line-height:1.12;letter-spacing:-.04em;color:var(--navy);margin:12px 0 17px}h2{font-size:25px;line-height:1.3;color:var(--navy)}p{color:var(--muted)}.cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:24px;margin-top:25px}.paper,.side,.tile{background:white;border:1px solid var(--border);border-radius:16px;padding:28px;box-shadow:0 5px 24px #13395c0a}.paper section{padding:15px 0;border-bottom:1px solid var(--border)}.paper section:last-child{border:0}.side{height:max-content;position:sticky;top:95px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:25px 0}.tile{padding:0;overflow:hidden;text-decoration:none;color:var(--ink)}.tile img{width:100%;height:150px;object-fit:cover;display:block}.tile .text{padding:16px}.tile h3{margin:0;font-size:18px;color:var(--navy)}.tile p{margin:5px 0 0;font-size:14px}.note{background:#e8f5f5;border-left:4px solid var(--teal);padding:15px 18px;border-radius:8px;margin:18px 0}.breadcrumbs{font-size:13px;margin:0 0 16px}footer{background:#e9f2f8;border-top:1px solid var(--border);padding:22px;text-align:center;color:var(--muted);font-size:13px}footer a{margin:0 8px}@media(max-width:850px){.hero,.layout{grid-template-columns:1fr}.hero img{max-height:260px}.bar{flex-wrap:wrap}.bar nav{order:3;flex-wrap:wrap;width:100%;margin:0}.side{position:static}.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:550px){.hero .copy{padding:26px}.grid{grid-template-columns:1fr}.bar nav{gap:9px}.bar nav a{font-size:12px}.wrap{padding:15px 14px 40px}}

/* TAAR reference layout — screen-specific implementation */
body{background:linear-gradient(180deg,#f4f8ff,#fff 600px);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#102a50}
header{box-shadow:0 3px 18px #10345a0b}.bar{max-width:1370px;padding:13px 25px}.logo{font-size:25px;letter-spacing:-.06em}.logo small{letter-spacing:0;font-size:10px}.bar nav{gap:25px}.bar nav a{font-weight:650}.wrap{max-width:1370px;padding:24px 25px 65px}
h1{font-size:clamp(33px,3.5vw,53px);letter-spacing:-.047em}h2{font-size:clamp(23px,2.2vw,30px);letter-spacing:-.025em}.btn{background:linear-gradient(110deg,#087f78,#00546a);box-shadow:0 4px 10px #045b7024;border-radius:8px}.ghost{box-shadow:none}.hero{border-radius:15px;min-height:360px;box-shadow:0 8px 22px #11385b12}.hero .copy{padding:45px 44px}.hero img{object-fit:cover;object-position:center}.paper,.side,.tile{box-shadow:0 7px 20px #11385b0e;border-radius:13px}.tile{transition:transform .2s,box-shadow .2s}.tile:hover{transform:translateY(-3px);box-shadow:0 12px 26px #11385b1c}.tile img{height:155px}.tile h3{font-size:17px;line-height:1.2}
.taar-six-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.taar-six-grid .tile img{height:110px}.taar-six-grid .tile .text{padding:12px}.taar-six-grid .tile h3{font-size:14px}.taar-six-grid .tile p{font-size:12px;line-height:1.45}
.taar-bottom-panels{display:grid;grid-template-columns:1fr 1fr;gap:16px}.taar-mini{border:1px solid #d5e5f7;background:linear-gradient(130deg,var(--canvas),#eaf4ff);border-radius:14px;padding:22px}.taar-mini h2{margin:0 0 10px}.taar-mini img{width:145px;height:100px;object-fit:cover;float:left;margin:0 16px 8px 0;border-radius:9px}.taar-calc-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.taar-calc-row a{background:white;border:1px solid #c9dff3;border-radius:12px;padding:16px 9px;text-align:center;font-weight:750;text-decoration:none;color:#0b3261;font-size:13px}.taar-calc-row strong{display:block;font-size:28px;color:#1463b6}
.taar-topic-banner{display:grid;grid-template-columns:1.2fr 1fr;min-height:280px;overflow:hidden;border-radius:13px;background:linear-gradient(115deg,#edf6ff,#d7e9ff);border:1px solid #d6e5f4}.taar-topic-banner .topic-text{padding:35px}.taar-topic-banner img{width:100%;height:100%;max-height:320px;object-fit:cover}.taar-tabs{display:flex;gap:5px;flex-wrap:wrap;padding:11px 13px;background:#f0f6ff;border:1px solid #d8e6f5;border-radius:0 0 13px 13px}.taar-tabs a{font-size:13px;font-weight:700;padding:9px 14px;border-radius:8px;text-decoration:none;color:#164677}.taar-tabs a:first-child{background:white;border-bottom:3px solid #008d7c}.taar-at-glance{padding:21px;background:#e8f2ff;border-radius:13px;margin:18px 0}.taar-at-glance h2{margin:0 0 12px}.taar-three{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.taar-three>div{padding:22px 17px;text-align:center;background:#fff;border:1px solid #d8e5f3;border-radius:11px}.taar-three strong{display:block;color:#0b3161}.taar-three .sym{display:block;font-size:28px;color:#1463b6}
.taar-filterbar{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.taar-filterbar button{border:1px solid #c7dcef;background:#eaf2ff;border-radius:22px;padding:8px 18px;font-weight:700;color:#173e6a;cursor:pointer}.taar-filterbar button.active{background:#07847c;color:white}.taar-guides-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.taar-guides-grid .tile img{height:165px}
.taar-pro-layout{display:grid;grid-template-columns:1fr 1.15fr;gap:20px;align-items:center}.taar-pro-list{list-style:none;padding:0}.taar-pro-list li{margin:12px 0}.taar-pro-list li:before{content:'✓';color:#0b9a5e;font-weight:900;margin-right:10px}.taar-laptop{background:#0a1829;border:10px solid #0a1829;border-radius:15px 15px 5px 5px;box-shadow:0 15px 25px #0b2a4933}.taar-laptop-screen{background:#f5f9ff;padding:16px;min-height:250px}.taar-laptop-screen h3{margin:0 0 12px}.taar-case-row{display:flex;justify-content:space-between;background:white;border:1px solid #d5e5f3;border-radius:8px;padding:12px;margin:8px 0;font-size:13px}.taar-case-row span{background:#fff2dc;border-radius:20px;padding:2px 10px}.taar-laptop-base{height:13px;background:linear-gradient(#cfd7df,#8c9aab);border-radius:2px 2px 50% 50%;margin:0 -25px}
.taar-brief-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:24px;align-items:start}.taar-report-sheet{background:white;border:1px solid #d0dce9;box-shadow:0 12px 26px #0c2d5023;padding:27px;min-height:380px;max-width:480px;margin:auto}.taar-report-sheet h2{margin:12px 0}.taar-report-sheet img{height:110px;width:100%;object-fit:cover}.taar-report-sheet hr{border:0;border-top:1px solid #d7e4ef}.taar-report-sheet p{font-size:12px}.taar-report-list{list-style:none;padding:0}.taar-report-list li{margin:16px 0}.taar-report-list li:before{content:'✓';color:#08a15f;margin-right:10px}
.taar-journey{background:linear-gradient(100deg,#092c59,#246ca8);color:white;border-radius:14px;padding:17px;display:flex;justify-content:space-between;align-items:center;gap:10px;margin:30px 0}.taar-journey span{background:#f4f9ff;color:#0b3161;padding:9px 14px;border-radius:28px;font-size:13px;font-weight:750}
@media(max-width:1000px){.taar-six-grid{grid-template-columns:repeat(3,1fr)}.taar-feature-strip{grid-template-columns:repeat(2,1fr)}.taar-feature-strip>div{border:0}.taar-pro-layout{grid-template-columns:1fr}.taar-journey{flex-wrap:wrap}}
@media(max-width:700px){.taar-hero-top{min-height:450px;align-items:flex-start}.taar-hero-top:before{background:linear-gradient(#eff7ff 0%,#eff7ffef 48%,#eff7ff00 95%)}.taar-hero-copy{padding:25px 20px}.taar-hero-top .taar-hero-img{object-position:60% 100%}.taar-six-grid,.taar-guides-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.taar-bottom-panels,.taar-topic-banner,.taar-brief-layout{grid-template-columns:1fr}.taar-topic-banner img{max-height:200px}.taar-topic-banner .topic-text{padding:24px}.taar-three{grid-template-columns:1fr}.taar-feature-strip{grid-template-columns:1fr 1fr}.taar-journey{justify-content:center}.taar-journey b{width:100%;text-align:center}.taar-hero-copy h1{font-size:35px}}
@media(max-width:420px){.taar-six-grid{gap:8px}.taar-six-grid .tile img{height:85px}.taar-six-grid .tile .text{padding:9px}.taar-six-grid .tile h3{font-size:12px}.taar-six-grid .tile p{font-size:11px}.taar-calc-row{grid-template-columns:1fr}.taar-guides-grid{grid-template-columns:1fr}}

/* Reference-aligned screens 2–9, version 2. Layout only: original rules and handlers retained. */


.taar-topic-banner{min-height:305px;grid-template-columns:1.05fr 1fr;background:#f0f6ff;position:relative}.taar-topic-banner .topic-text{padding:35px 35px 24px;z-index:1}.taar-topic-banner h1{font-size:clamp(30px,3vw,43px);max-width:580px;line-height:1.1}.taar-topic-banner img{max-height:none;object-position:center}.taar-topic-banner:after{content:'';pointer-events:none;position:absolute;inset:0;background:linear-gradient(90deg,transparent 38%,#f0f6ff11 55%,transparent 85%)}.taar-tabs{background:#fff;justify-content:space-around}.taar-at-glance{margin-top:15px;padding:24px}.taar-three>div{min-height:175px;display:flex;flex-direction:column;align-items:center;justify-content:center}.taar-three .sym{font-size:34px;margin-bottom:10px}.taar-three p{font-size:13px}.taar-guides-grid{gap:16px}.taar-guides-grid .tile img{height:170px}.taar-guides-grid .tile .text{min-height:105px}.taar-filterbar{justify-content:center}.taar-filterbar button{font-size:13px}.taar-filterbar button[aria-pressed=true]{background:#007b75;color:#fff}.taar-pro-layout{min-height:410px}.taar-laptop{transform:perspective(1000px) rotateY(-5deg);border-width:12px}.taar-report-sheet{transform:rotate(-1deg);min-height:510px}.taar-report-sheet .logo{font-size:21px}.taar-calc-row a{min-height:115px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px}

/* Homepage: keep the six 'Explore by your situation' choices in the first viewport.
   Only affects the public homepage; assessment logic and other pages are unchanged. */
@media (min-width: 851px) {
  body:has(.taar-hero-top) header .bar{padding-top:10px;padding-bottom:10px}
  body:has(.taar-hero-top) .taar-hero-top{min-height:285px!important;max-height:310px}
  body:has(.taar-hero-top) .taar-hero-copy{padding:20px 24px!important;max-width:690px}
  body:has(.taar-hero-top) .taar-hero-copy h1{font-size:clamp(29px,2.6vw,39px)!important;line-height:1.08!important;margin:7px 0 9px!important}
  body:has(.taar-hero-top) .taar-hero-copy p{margin:0 0 12px!important;font-size:14px!important;line-height:1.35!important}
  body:has(.taar-hero-top) .taar-checks{gap:7px 14px!important;margin:9px 0!important;font-size:12px!important}
  body:has(.taar-hero-top) .taar-hero-copy .cta{margin-top:12px!important}
  body:has(.taar-hero-top) .taar-section-title{margin:16px 0 9px!important}
  body:has(.taar-hero-top) .taar-section-title h2{font-size:23px!important}
  body:has(.taar-hero-top) .taar-six-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:9px!important}
  body:has(.taar-hero-top) .taar-six-grid .tile img{height:76px!important;object-fit:cover}
  body:has(.taar-hero-top) .taar-six-grid .tile .text{padding:9px!important}
  body:has(.taar-hero-top) .taar-six-grid .tile h3{font-size:13px!important;line-height:1.16!important;margin:0 0 4px!important}
  body:has(.taar-hero-top) .taar-six-grid .tile p{font-size:11px!important;line-height:1.25!important;margin:0!important}
}
@media (min-width: 651px) and (max-width: 850px) {
  body:has(.taar-hero-top) .taar-hero-top{min-height:290px!important}
  body:has(.taar-hero-top) .taar-section-title{margin:16px 0 9px!important}
  body:has(.taar-hero-top) .taar-six-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px}
  body:has(.taar-hero-top) .taar-six-grid .tile img{height:78px!important}
}
@media (max-width: 650px) {
  body:has(.taar-hero-top) .taar-hero-top{min-height:310px!important}
  body:has(.taar-hero-top) .taar-hero-copy{padding:17px!important}
  body:has(.taar-hero-top) .taar-hero-copy h1{font-size:clamp(25px,6.8vw,32px)!important;line-height:1.07!important}
  body:has(.taar-hero-top) .taar-section-title{margin:15px 0 9px!important}
  body:has(.taar-hero-top) .taar-six-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body:has(.taar-hero-top) .taar-six-grid .tile img{height:75px!important}
  body:has(.taar-hero-top) .taar-six-grid .tile .text{padding:8px!important}
}

/* Homepage whitespace reduction: direct class selectors (not :has). */
body.taar-home-compact .bar{padding:8px 18px;gap:14px;min-height:58px}
body.taar-home-compact .bar nav{gap:13px}
body.taar-home-compact .wrap{padding:12px 18px 30px}
body.taar-home-compact .taar-hero-top{min-height:260px!important;max-height:none!important}
body.taar-home-compact .taar-hero-copy{padding:18px 24px!important;max-width:640px}
body.taar-home-compact .taar-hero-copy h1{font-size:clamp(28px,2.65vw,39px)!important;line-height:1.07;margin:6px 0 8px!important}
body.taar-home-compact .taar-hero-copy p{font-size:13px;line-height:1.4;margin:0 0 9px!important}
body.taar-home-compact .taar-checks{margin:8px 0!important;gap:5px 12px!important;font-size:11px}
body.taar-home-compact .taar-hero-copy .cta{margin-top:10px!important;gap:8px}
body.taar-home-compact .taar-hero-copy .btn{padding:9px 14px;font-size:13px}
body.taar-home-compact .taar-section-title{margin:12px 0 7px!important;display:flex;align-items:center;justify-content:space-between;gap:12px}
body.taar-home-compact .taar-section-title h2{margin:0;font-size:22px!important}
body.taar-home-compact .taar-six-grid{margin:0!important;gap:9px!important;grid-template-columns:repeat(6,minmax(0,1fr))!important}
body.taar-home-compact .taar-six-grid .tile img{height:78px!important}
body.taar-home-compact .taar-six-grid .tile .text{padding:9px!important}
body.taar-home-compact .taar-six-grid .tile h3{font-size:13px!important;line-height:1.2!important}
body.taar-home-compact .taar-six-grid .tile p{font-size:11px!important;line-height:1.3!important;margin:4px 0 0!important}
body.taar-home-compact .taar-feature-strip{margin-top:14px!important;margin-bottom:14px!important;padding-top:12px!important;padding-bottom:12px!important}
body.taar-home-compact .taar-bottom-panels{margin-top:14px!important;gap:14px!important}
body.taar-home-compact .taar-mini{padding:18px!important}
body.taar-home-compact .taar-mini h2{margin-top:0}
body.taar-home-compact .taar-journey{margin-top:16px!important}
@media(max-width:900px){body.taar-home-compact .taar-six-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}body.taar-home-compact .taar-hero-top{min-height:290px!important}}
@media(max-width:650px){body.taar-home-compact .bar{padding:10px 14px}body.taar-home-compact .wrap{padding:10px 12px 25px}body.taar-home-compact .taar-hero-top{min-height:320px!important}body.taar-home-compact .taar-hero-copy{padding:16px!important}body.taar-home-compact .taar-hero-copy h1{font-size:clamp(25px,6.6vw,32px)!important}body.taar-home-compact .taar-six-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.taar-home-compact .taar-section-title h2{font-size:19px!important}}

/* Consistent TAAR-NRI brand seal on public homepage */
.bar .logo{display:inline-flex;align-items:center;gap:10px;flex-shrink:0}
.taar-brand-words{display:block}
.taar-brand-seal{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:9px;background:linear-gradient(150deg,#2f3a86,#3d4bb0);color:#fff;font:600 19px Georgia,serif;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}

/* TAAR homepage — life-situation and complete topic navigation */
.taar-new-home{max-width:1240px;padding-top:22px}.taar-new-hero{display:grid;grid-template-columns:1.2fr .8fr;overflow:hidden;background:linear-gradient(110deg,#f4f9fe 0%,#fff 70%);border:1px solid #dce8f2;border-radius:19px;min-height:315px}.taar-new-hero-copy{padding:38px 40px}.taar-eyebrow{font-size:11px!important;font-weight:800;letter-spacing:.11em;color:#155487!important;margin:0 0 11px!important}.taar-eyebrow span{margin:0 6px}.taar-new-hero h1{font-size:clamp(32px,4vw,51px);line-height:1.1;letter-spacing:-.045em;max-width:690px;margin:0 0 17px;color:#09234b}.taar-new-hero-copy>p:not(.taar-eyebrow):not(.taar-disclaimer){font-size:16px;line-height:1.55;max-width:670px;margin:0 0 20px}.taar-new-actions{display:flex;gap:11px;flex-wrap:wrap}.taar-disclaimer{font-size:11px;color:#647b90;margin:15px 0 0}.taar-tiers{font-size:13px;color:#2d4f6b;margin:14px 0 0}.taar-tiers strong{color:#09234b;font-weight:700}.taar-new-hero-image{background:linear-gradient(90deg,#ffffff2b,#ffffff00),url('../assets/hero.webp') center / cover no-repeat;min-height:275px}.taar-explore{margin-top:23px;padding:25px;background:linear-gradient(150deg,#f3f8fd,#fff 70%);border:1px solid #d9e7f2;border-radius:17px}.taar-explore-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:19px}.taar-explore h2,.taar-how h2{font-size:26px;line-height:1.2;letter-spacing:-.03em;color:var(--navy);margin:0 0 5px}.taar-explore-head p:not(.taar-eyebrow){margin:0;color:#50677f;font-size:14px}.taar-entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.taar-entry{display:flex;align-items:center;gap:15px;min-height:102px;padding:18px;border:1px solid #d2e1ef;border-radius:12px;background:#fff;color:#102e54;text-decoration:none;transition:border-color .15s,transform .15s,box-shadow .15s}.taar-entry:hover,.taar-entry:focus-visible{border-color:#126b9c;transform:translateY(-2px);box-shadow:0 8px 20px #0c46731a;outline-offset:2px}.taar-entry-icon{flex:0 0 37px;font-size:30px;line-height:1;color:#145586;text-align:center}.taar-entry strong{display:block;font-size:15px;line-height:1.35}.taar-entry small{display:block;font-size:12px;line-height:1.5;color:#58718a;margin-top:4px}.taar-arrow{margin-left:auto;font-size:20px;color:#0b4c80}.taar-view-all{font-size:13px;font-weight:700;white-space:nowrap}.taar-explore-note{font-size:12px;color:#607890;margin:17px 0 0}.taar-how{margin-top:28px;padding:28px;background:#edf6fc;border-radius:17px}.taar-how-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:18px}.taar-how-grid>div{padding:12px 14px;border-left:1px solid #c5dceb}.taar-how-grid b{display:block;color:#0a6b96;font-size:13px;margin-bottom:9px}.taar-how-grid strong{display:block;color:#0b2c54;font-size:14px}.taar-how-grid p{font-size:12px;line-height:1.5;margin:5px 0 0;color:#546d83}@media(max-width:900px){.taar-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.taar-new-hero{grid-template-columns:1fr 40%}.taar-new-hero-copy{padding:28px}.taar-how-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.taar-new-hero{grid-template-columns:1fr}.taar-new-hero-image{min-height:155px;grid-row:1}.taar-new-hero-copy{padding:24px}.taar-entry-grid{grid-template-columns:1fr}.taar-explore{padding:17px}.taar-explore-head{align-items:flex-start}.taar-how-grid{grid-template-columns:1fr}.taar-new-hero h1{font-size:32px}}

/* Restored original discovery panels and footer navigation */
.taar-footer-content{max-width:1180px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.taar-footer-content p{margin:0;max-width:540px}
.taar-footer-content nav{display:flex;flex-wrap:wrap;gap:12px 20px}
.taar-footer-content nav a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.taar-bottom-panels{margin-top:30px}
@media(max-width:700px){.taar-footer-content{display:block}.taar-footer-content nav{margin-top:16px}}


/* Homepage visual cards: four life situations in one desktop row; six topics + expandable three */
.taar-life-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.taar-life-card,.taar-topic-card{display:flex;position:relative;align-items:center;gap:12px;padding:10px;background:#fff;border:1px solid #cfdfee;border-radius:13px;text-decoration:none;color:#102d52;min-width:0;transition:box-shadow .16s,transform .16s,border-color .16s}
.taar-life-card{min-height:96px}.taar-visual-image{width:104px;height:76px;flex:none;object-fit:cover;border-radius:9px;background:#dceaf4}
.taar-visual-copy{min-width:0;flex:1}.taar-visual-copy strong{display:block;font-size:14px;line-height:1.25}.taar-visual-copy small{display:block;color:#506982;font-size:12px;line-height:1.4;margin-top:5px}.taar-visual-arrow{color:#0b4c80;font-size:19px;flex:none}
.taar-life-card:hover,.taar-topic-card:hover,.taar-life-card:focus-visible,.taar-topic-card:focus-visible{border-color:#17659a;box-shadow:0 8px 18px #0a447019;transform:translateY(-2px)}
.taar-topic-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:11px;align-items:stretch}
.taar-topic-card{display:flex;flex-direction:column;align-items:stretch;min-height:225px;padding:9px 9px 14px;gap:10px}
.taar-topic-card .taar-visual-image{width:100%;height:91px}.taar-topic-card .taar-visual-copy strong{font-size:13px}.taar-topic-card .taar-visual-copy small{font-size:11px}.taar-topic-card .taar-visual-arrow{position:absolute;right:9px;bottom:7px;font-size:15px}
.taar-more-topics{grid-column:span 1;position:relative;border-radius:13px;border:1px solid #c6ddef;background:#e9f3fd;min-width:0}
.taar-more-topics summary{display:flex;min-height:100%;cursor:pointer;list-style:none;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:12px;padding:15px 9px;color:#12365d}
.taar-more-topics summary::-webkit-details-marker{display:none}.taar-more-topics summary strong{font-size:15px}.taar-more-topics summary small{font-size:11px;line-height:1.4}.taar-more-symbol{display:grid;place-items:center;width:46px;height:46px;border:2px solid #205e92;border-radius:50%;font-size:19px;letter-spacing:2px}.taar-more-chevron{font-size:20px}
.taar-more-topics[open]{grid-column:1/-1}.taar-more-topics[open] summary{min-height:0;flex-direction:row;justify-content:flex-start;padding:13px 20px}.taar-more-topics[open] summary .taar-more-symbol{width:28px;height:28px;font-size:13px}.taar-more-topics[open] summary .taar-more-chevron{margin-left:auto;transform:rotate(180deg)}
.taar-extra-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 14px 14px}.taar-extra-grid .taar-topic-card{min-height:200px}
@media(max-width:1100px){.taar-life-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.taar-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.taar-more-topics{min-height:225px}.taar-more-topics[open]{grid-column:1/-1}}
@media(max-width:650px){.taar-life-grid{grid-template-columns:1fr}.taar-life-card .taar-visual-image{width:100px;height:70px}.taar-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.taar-topic-card{min-height:220px}.taar-more-topics{min-height:220px}.taar-extra-grid{grid-template-columns:1fr}.taar-more-topics[open]{grid-column:1/-1}}
@media(max-width:370px){.taar-topic-grid{grid-template-columns:1fr}.taar-topic-card{min-height:0}.taar-more-topics{min-height:130px}}

/* Second approved homepage mockup: full-width Hong Kong hero and four life-image cards. */
@media(min-width:761px){
.taar-new-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:285px;background:linear-gradient(90deg,#f3f8ff 0%,#f3f8ff 47%,#eaf4ff 100%);border-radius:0;border-left:0;border-right:0}
.taar-new-hero-copy{padding:26px 30px 22px 34px;position:relative;z-index:1}
.taar-new-hero-image{min-height:285px;background:linear-gradient(90deg,#f3f8ff 0%,rgba(243,248,255,.1) 23%,transparent 52%),url('../assets/hong-kong-home-hero.jpg') center / cover no-repeat}
}
@media(max-width:760px){.taar-new-hero-image{background:url('../assets/hong-kong-home-hero.jpg') center / cover no-repeat;min-height:170px}}
.taar-life-card .taar-visual-image{object-fit:cover}

/* Distinct navigation: assessment topics versus learning resources */
header .bar nav{display:flex;align-items:center;gap:clamp(10px,1.5vw,24px)}
header .bar nav .taar-nav-dropdown{position:relative;flex:0 0 auto;margin:0}
header .bar nav .taar-nav-dropdown>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:7px;font:inherit;color:inherit;white-space:nowrap;padding:9px 2px}
header .bar nav .taar-nav-dropdown>summary::-webkit-details-marker{display:none}
header .bar nav .taar-nav-dropdown>summary:after{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-4px}
header .bar nav .taar-nav-dropdown[open]>summary:after{transform:rotate(225deg);margin-top:4px}
header .bar nav .taar-nav-dropdown>summary:focus-visible,header .bar nav .taar-nav-panel a:focus-visible{outline:2px solid #1766bd;outline-offset:3px;border-radius:4px}
header .bar nav .taar-nav-panel{position:absolute;top:calc(100% + 5px);left:0;width:min(360px,90vw);max-height:min(75vh,620px);overflow-y:auto;background:#fff;border:1px solid #d4e0ef;border-radius:13px;box-shadow:0 16px 45px #0c2a5050;padding:12px;z-index:1000;display:grid;gap:9px}
header .bar nav .taar-nav-resources .taar-nav-panel{width:min(380px,90vw)}
header .bar nav .taar-nav-section{display:grid;gap:2px}
header .bar nav .taar-nav-section+.taar-nav-section{border-top:1px solid #e3ebf4;padding-top:9px}
header .bar nav .taar-nav-section-label{font-size:11px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:#53708e;padding:5px 9px}
header .bar nav .taar-nav-panel a{display:block;text-decoration:none;color:#123a68;padding:7px 9px;border-radius:7px;font-size:13px;line-height:1.35}
header .bar nav .taar-nav-panel a:hover{background:#eef5fd;color:#0752a1}
@media(max-width:800px){header .bar nav{flex-wrap:wrap;gap:8px 14px}header .bar nav .taar-nav-panel{left:0;max-width:calc(100vw - 32px)}}

/* Approved Hong Kong harbour hero with red-sailed junk boat — explicit final override */
.taar-new-hero-image{background-image:linear-gradient(90deg,rgba(243,248,255,.18),rgba(243,248,255,0) 30%),url('../assets/hong-kong-home-hero.jpg')!important;background-position:center center!important;background-size:cover!important;background-repeat:no-repeat!important;}
@media(max-width:760px){.taar-new-hero-image{background-image:url('../assets/hong-kong-home-hero.jpg')!important;background-position:38% center!important;}}

/* Discovery Bay panorama — FuriiToo, CC BY-SA 4.0, Wikimedia Commons */
.taar-new-hero-image{background-image:linear-gradient(90deg,rgba(243,248,255,.16),rgba(243,248,255,0) 30%),url('https://upload.wikimedia.org/wikipedia/commons/3/30/Discovery_Bay_Full_2021.jpg')!important;background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important;}
@media(max-width:760px){.taar-new-hero-image{background-image:url('https://upload.wikimedia.org/wikipedia/commons/3/30/Discovery_Bay_Full_2021.jpg')!important;background-position:45% center!important;}}

/* Final homepage banner: original AI-generated Hong Kong skyline and red-sailed junk */
.taar-new-hero-image{background-image:linear-gradient(90deg,rgba(243,248,255,.12),rgba(243,248,255,0) 30%),url('../assets/hong-kong-ai-hero.webp')!important;background-position:center center!important;background-size:cover!important;background-repeat:no-repeat!important;}
@media(max-width:760px){.taar-new-hero-image{background-image:url('../assets/hong-kong-ai-hero.webp')!important;background-position:75% center!important;} }

/* Final hero readability treatment: seamless light-to-photo transition. */
@media (min-width:761px){
  .taar-new-hero{background:#f3f8ff!important;overflow:hidden;}
  .taar-new-hero-copy{background:linear-gradient(90deg,#f3f8ff 0%,#f3f8ff 70%,rgba(243,248,255,.92) 88%,rgba(243,248,255,.55) 100%);}
  .taar-new-hero-image{background-image:linear-gradient(90deg,#f3f8ff 0%,rgba(243,248,255,.85) 10%,rgba(243,248,255,.35) 27%,rgba(243,248,255,0) 48%),url('../assets/hong-kong-ai-hero.webp')!important;background-size:cover!important;background-position:58% center!important;}
}
@media (max-width:760px){
  .taar-new-hero-copy{background:#f3f8ff;}
  .taar-new-hero-image{background-image:linear-gradient(180deg,rgba(243,248,255,.12),rgba(243,248,255,0) 40%),url('../assets/hong-kong-ai-hero.webp')!important;background-position:76% center!important;}
}
