
:root {
  --ink: #132c2d;
  --ink-2: #24494a;
  --forest: #155e59;
  --forest-2: #0f4844;
  --sage: #dce9df;
  --sage-2: #eef5ef;
  --cream: #fbf8f1;
  --paper: #ffffff;
  --gold: #c69b4a;
  --gold-2: #e7c98b;
  --coral: #b85d48;
  --muted: #607576;
  --line: rgba(19, 44, 45, .13);
  --shadow-sm: 0 10px 30px rgba(16, 48, 49, .08);
  --shadow-md: 0 22px 60px rgba(16, 48, 49, .13);
  --shadow-lg: 0 35px 90px rgba(8, 40, 41, .2);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 36px;
  --container: 1180px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold-2); color: var(--ink); }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 1000;
  background: var(--ink); color: white; padding: 10px 14px; border-radius: 8px;
  transform: translateY(-160%); transition: .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 790px); margin-inline: auto; }
.section { padding: 104px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-paper { background: var(--paper); }
.section-sage { background: var(--sage-2); }
.section-dark { background: var(--ink); color: white; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--forest); font-size: .76rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold); }
.section-dark .eyebrow { color: var(--gold-2); }
.display, h1, h2, h3 { font-family: var(--serif); line-height: 1.08; letter-spacing: -.025em; margin: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.7rem); }
h2 { font-size: clamp(2.25rem, 4.4vw, 4.5rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
p { margin: 0 0 1.15rem; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 720px; }
.section-dark .lead { color: rgba(255,255,255,.72); }
.title-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
.title-row > div:first-child { max-width: 760px; }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 30px; height: 30px; }

.topbar {
  background: var(--ink); color: rgba(255,255,255,.9); font-size: .82rem;
  padding: 8px 0;
}
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.topbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 5px rgba(231,201,139,.1); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,248,241,.88); backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent; transition: .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 12px 35px rgba(15,72,68,.07); }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 245px; }
.brand-mark { width: 46px; height: 46px; flex: 0 0 46px; }
.brand-text { display: grid; line-height: 1.02; }
.brand-text strong { font-family: var(--serif); font-size: 1.12rem; }
.brand-text span { color: var(--muted); font-size: .67rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a { padding: 10px 12px; color: var(--ink-2); font-size: .9rem; font-weight: 650; border-radius: 999px; }
.primary-nav a:hover, .primary-nav a.active { background: var(--sage); color: var(--forest-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 750; font-size: .92rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--forest); color: white; box-shadow: 0 13px 24px rgba(21,94,89,.2); }
.btn-primary:hover { background: var(--forest-2); box-shadow: 0 18px 30px rgba(21,94,89,.26); }
.btn-secondary { background: var(--ink); color: white; }
.btn-outline { border-color: var(--line); background: rgba(255,255,255,.55); color: var(--ink); }
.btn-outline:hover { border-color: var(--forest); color: var(--forest); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-light { background: white; color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 17px; font-size: .85rem; }

.hero {
  min-height: 760px; display: flex; align-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(198,155,74,.23), transparent 24%),
    radial-gradient(circle at 84% 5%, rgba(21,94,89,.16), transparent 30%),
    linear-gradient(135deg, #fdfaf4 0%, #eef5ef 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .22;
  background-image: linear-gradient(rgba(19,44,45,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(19,44,45,.08) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(to right, black, transparent 78%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 66px; align-items: center; padding: 80px 0 96px; }
.hero-copy h1 { max-width: 760px; }
.hero-copy h1 em { color: var(--forest); font-style: normal; position: relative; }
.hero-copy h1 em::after { content: ''; position: absolute; left: 3%; right: 1%; bottom: .03em; height: .08em; background: var(--gold); opacity: .75; transform: rotate(-1deg); }
.hero-copy .lead { margin: 26px 0 30px; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 25px; display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.avatar-stack { display: flex; }
.avatar-stack span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: white; border: 2px solid var(--cream); margin-left: -8px; font-size: .67rem; font-weight: 800; }
.avatar-stack span:first-child { margin-left: 0; background: var(--gold); color: var(--ink); }
.hero-visual { position: relative; min-height: 570px; }
.hero-image {
  position: absolute; inset: 34px 0 0 65px; border-radius: 140px 140px 30px 30px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 9px solid rgba(255,255,255,.82);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(19,44,45,.35), transparent 48%); }
.hero-card {
  position: absolute; z-index: 3; border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px); border-radius: 18px; box-shadow: var(--shadow-md); padding: 17px 18px;
}
.hero-card strong { display: block; font-family: var(--serif); font-size: 1.35rem; }
.hero-card span { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.hero-card.card-a { left: 0; top: 70px; }
.hero-card.card-b { right: -24px; bottom: 52px; max-width: 245px; }
.hero-card.card-b .quote { font-family: var(--serif); font-size: 1.03rem; line-height: 1.35; color: var(--ink); }
.hero-ring { position: absolute; width: 140px; height: 140px; border-radius: 50%; border: 1px solid var(--gold); right: -24px; top: -4px; }
.hero-ring::before, .hero-ring::after { content:''; position:absolute; border-radius:50%; border:1px solid rgba(21,94,89,.28); }
.hero-ring::before { inset: 17px; } .hero-ring::after { inset: 39px; }

.signal-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.48); }
.signal-grid { min-height: 115px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.signal { padding: 0 26px; border-right: 1px solid var(--line); }
.signal:first-child { padding-left: 0; }
.signal:last-child { border-right: 0; }
.signal strong { display: block; font-family: var(--serif); font-size: 1.65rem; }
.signal span { color: var(--muted); font-size: .84rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 74px; align-items: center; }
.image-frame { position: relative; }
.image-frame .main-photo { border-radius: var(--radius-lg); width: 100%; min-height: 520px; object-fit: cover; box-shadow: var(--shadow-md); }
.image-frame::before { content: ''; position: absolute; width: 68%; height: 70%; background: var(--sage); border-radius: var(--radius-lg); left: -30px; bottom: -30px; z-index: -1; }
.floating-badge { position: absolute; right: -24px; bottom: 40px; background: var(--ink); color: white; padding: 21px 22px; border-radius: 20px; width: 210px; box-shadow: var(--shadow-md); }
.floating-badge strong { font-family: var(--serif); font-size: 1.8rem; display:block; color: var(--gold-2); }
.content-stack > * + * { margin-top: 20px; }
.story-quote { padding: 22px 24px; border-left: 3px solid var(--gold); background: var(--sage-2); border-radius: 0 16px 16px 0; font-family: var(--serif); font-size: 1.25rem; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card-hover { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card-hover:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: rgba(21,94,89,.28); }
.icon-box { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; background: var(--sage); color: var(--forest); margin-bottom: 24px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .94rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-weight: 750; font-size: .9rem; margin-top: 8px; }
.text-link:hover { gap: 12px; }

.audience-shell { background: var(--ink); color: white; border-radius: var(--radius-lg); padding: 58px; overflow: hidden; position: relative; }
.audience-shell::after { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(198,155,74,.12); right: -150px; top: -170px; }
.tab-list { display: flex; gap: 8px; flex-wrap: wrap; margin: 30px 0 36px; position: relative; z-index: 1; }
.tab-button { border: 1px solid rgba(255,255,255,.17); background: rgba(255,255,255,.05); color: rgba(255,255,255,.72); padding: 11px 16px; border-radius: 999px; font-weight: 700; }
.tab-button.active { background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); }
.tab-panel { display: none; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; position: relative; z-index: 1; }
.tab-panel.active { display: grid; animation: fadeUp .35s ease; }
.tab-panel img { width: 100%; height: 330px; object-fit: cover; border-radius: 26px; }
.tab-panel p { color: rgba(255,255,255,.72); }
.check-list { display: grid; gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--gold-2); margin-top: 3px; flex: 0 0 auto; }

.timeline { display: grid; gap: 0; margin-top: 46px; }
.timeline-item { display: grid; grid-template-columns: 88px 1fr; gap: 26px; position: relative; padding-bottom: 38px; }
.timeline-item::before { content: ''; position: absolute; left: 42px; top: 58px; bottom: 0; width: 1px; background: var(--line); }
.timeline-item:last-child::before { display:none; }
.timeline-num { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold-2); font-family: var(--serif); font-size: 1.3rem; }
.timeline-copy { border-bottom: 1px solid var(--line); padding: 7px 0 30px; }
.timeline-copy h3 { margin-bottom: 8px; }
.timeline-copy p { color: var(--muted); margin: 0; }

.resource-band { background: linear-gradient(120deg, var(--forest-2), var(--ink)); color: white; border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 1.08fr .92fr; min-height: 500px; box-shadow: var(--shadow-lg); }
.resource-copy { padding: 64px; display: flex; flex-direction: column; justify-content: center; }
.resource-copy p { color: rgba(255,255,255,.73); }
.resource-cover { position: relative; min-height: 500px; background: var(--sage); display: grid; place-items: center; overflow: hidden; }
.resource-cover::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(19,44,45,.18); }
.book { width: 280px; aspect-ratio: .72; border-radius: 9px 23px 23px 9px; background: linear-gradient(150deg, #fff 0%, #f3eee1 100%); box-shadow: 24px 30px 50px rgba(19,44,45,.28); transform: rotate(4deg); padding: 34px; color: var(--ink); position: relative; z-index: 2; border-left: 10px solid var(--gold); }
.book small { text-transform: uppercase; letter-spacing: .14em; color: var(--forest); font-weight: 800; }
.book h3 { font-size: 2rem; margin: 35px 0 20px; }
.book .book-author { position:absolute; bottom:32px; left:34px; right:28px; border-top:1px solid var(--line); padding-top:15px; font-size:.78rem; font-weight:700; }

.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insight-card { background: white; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display:flex; flex-direction:column; transition:.25s ease; }
.insight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.insight-image { height: 220px; overflow: hidden; position: relative; background: var(--sage); }
.insight-image img { width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.insight-card:hover .insight-image img { transform: scale(1.04); }
.insight-image .category { position:absolute; left:16px; top:16px; background: rgba(255,255,255,.9); backdrop-filter:blur(8px); padding:6px 11px; border-radius:999px; font-size:.72rem; font-weight:800; color:var(--forest); }
.insight-body { padding: 26px; display:flex; flex-direction:column; flex:1; }
.insight-meta { display:flex; gap:12px; color:var(--muted); font-size:.78rem; margin-bottom:12px; }
.insight-body h3 { font-size:1.55rem; margin-bottom:12px; }
.insight-body p { color:var(--muted); font-size:.92rem; }
.insight-body .text-link { margin-top:auto; padding-top:10px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items:center; justify-content:space-between; margin: 30px 0 36px; }
.search-box { position:relative; flex:1; min-width:260px; max-width:430px; }
.search-box input { width:100%; min-height:50px; border:1px solid var(--line); background:white; border-radius:999px; padding:0 48px 0 18px; outline:none; }
.search-box input:focus { border-color:var(--forest); box-shadow:0 0 0 4px rgba(21,94,89,.09); }
.search-box .icon { position:absolute; right:17px; top:15px; color:var(--muted); }
.filter-pills { display:flex; flex-wrap:wrap; gap:8px; }
.filter-pill { border:1px solid var(--line); background:white; padding:9px 14px; border-radius:999px; font-weight:700; font-size:.82rem; color:var(--muted); }
.filter-pill.active { background:var(--ink); color:white; border-color:var(--ink); }
.empty-state { display:none; text-align:center; padding:60px 20px; background:white; border:1px dashed var(--line); border-radius:var(--radius); }

.community-panel { display:grid; grid-template-columns: .92fr 1.08fr; background:white; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); border:1px solid var(--line); }
.community-panel img { width:100%; height:100%; min-height:500px; object-fit:cover; }
.community-copy { padding:60px; display:flex; flex-direction:column; justify-content:center; }
.social-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.social-link { display:inline-flex; align-items:center; gap:9px; padding:11px 15px; border:1px solid var(--line); border-radius:999px; font-weight:750; font-size:.85rem; }
.social-link:hover { background:var(--sage-2); color:var(--forest); }

.faq { display:grid; gap:12px; }
.faq-item { background:white; border:1px solid var(--line); border-radius:17px; overflow:hidden; }
.faq-question { width:100%; display:flex; justify-content:space-between; align-items:center; gap:20px; background:transparent; border:0; padding:21px 22px; text-align:left; font-weight:800; color:var(--ink); }
.faq-answer { max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-answer-inner { padding:0 22px 22px; color:var(--muted); }
.faq-item.open .faq-answer { max-height:320px; }
.faq-item.open .faq-question .plus { transform:rotate(45deg); }
.plus { font-size:1.6rem; font-weight:300; transition:.25s ease; }

.cta-band { display:flex; justify-content:space-between; align-items:center; gap:30px; background:var(--gold-2); border-radius:var(--radius-lg); padding:48px 55px; }
.cta-band h2 { font-size:clamp(2rem,4vw,3.7rem); max-width:760px; }

.page-hero { padding: 104px 0 90px; background: linear-gradient(135deg, var(--sage-2), var(--cream)); overflow:hidden; position:relative; }
.page-hero::after { content:''; position:absolute; width:480px; height:480px; border-radius:50%; border:1px solid rgba(21,94,89,.14); right:-150px; top:-220px; }
.page-hero h1 { font-size:clamp(3rem,6vw,5.6rem); max-width:900px; }
.page-hero .lead { margin-top:24px; }
.breadcrumbs { display:flex; gap:8px; color:var(--muted); font-size:.84rem; margin-bottom:25px; }
.breadcrumbs a:hover { color:var(--forest); }

.bio-grid { display:grid; grid-template-columns:.82fr 1.18fr; gap:70px; align-items:start; }
.bio-sticky { position:sticky; top:120px; }
.bio-photo { border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); background:var(--sage); }
.bio-photo img { width:100%; max-height:680px; object-fit:cover; object-position:center top; }
.bio-facts { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:16px; }
.bio-fact { background:white; border:1px solid var(--line); border-radius:14px; padding:17px; }
.bio-fact strong { display:block; font-family:var(--serif); font-size:1.25rem; }
.bio-fact span { color:var(--muted); font-size:.75rem; }
.prose h2 { font-size:clamp(2rem,3vw,3rem); margin:50px 0 18px; }
.prose h2:first-child { margin-top:0; }
.prose h3 { margin:35px 0 12px; }
.prose p, .prose li { color:#486263; font-size:1.05rem; }
.prose blockquote { margin:35px 0; padding:28px 30px; background:var(--sage-2); border-left:4px solid var(--gold); font-family:var(--serif); font-size:1.45rem; color:var(--ink); border-radius:0 18px 18px 0; }
.prose ul { padding-left:22px; }
.prose .callout { background:var(--ink); color:white; padding:30px; border-radius:var(--radius); margin:35px 0; }
.prose .callout p { color:rgba(255,255,255,.75); }

.form-card { background:white; border:1px solid var(--line); border-radius:var(--radius); padding:36px; box-shadow:var(--shadow-md); }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-group { display:grid; gap:7px; }
.form-group.full { grid-column:1 / -1; }
.form-group label { font-size:.82rem; font-weight:800; color:var(--ink-2); }
.form-control { width:100%; border:1px solid var(--line); border-radius:12px; min-height:50px; padding:11px 14px; background:#fff; color:var(--ink); outline:none; }
textarea.form-control { min-height:145px; resize:vertical; }
.form-control:focus { border-color:var(--forest); box-shadow:0 0 0 4px rgba(21,94,89,.08); }
.form-hint { color:var(--muted); font-size:.76rem; }
.form-status { display:none; padding:13px 15px; border-radius:11px; margin-top:14px; font-size:.87rem; }
.form-status.success { display:block; background:#e8f5ea; color:#23643d; }
.form-status.error { display:block; background:#fae9e4; color:#8e3c2b; }
.hp-field { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.contact-layout { display:grid; grid-template-columns:.85fr 1.15fr; gap:45px; align-items:start; }
.contact-cards { display:grid; gap:14px; margin-top:28px; }
.contact-card { display:flex; gap:16px; align-items:flex-start; padding:20px; border:1px solid var(--line); border-radius:16px; background:white; }
.contact-card .icon-box { margin:0; flex:0 0 48px; width:48px; height:48px; }

.guide-layout { display:grid; grid-template-columns:.92fr 1.08fr; gap:60px; align-items:center; }
.guide-points { display:grid; gap:12px; margin:26px 0; }
.guide-point { display:flex; gap:12px; align-items:flex-start; padding:15px 0; border-bottom:1px solid var(--line); }
.guide-point strong { display:block; }
.guide-point span { color:var(--muted); font-size:.89rem; }
.guide-mock { min-height:600px; border-radius:var(--radius-lg); background:linear-gradient(140deg,var(--forest),var(--ink)); padding:55px; display:grid; place-items:center; box-shadow:var(--shadow-lg); }
.guide-mock .book { width:320px; }

.article-hero { padding:88px 0 60px; background:var(--paper); border-bottom:1px solid var(--line); }
.article-hero h1 { font-size:clamp(2.8rem,5vw,5.2rem); max-width:980px; }
.article-meta { display:flex; flex-wrap:wrap; gap:16px; align-items:center; margin-top:24px; color:var(--muted); font-size:.88rem; }
.author-chip { display:flex; align-items:center; gap:10px; }
.author-chip img { width:42px; height:42px; border-radius:50%; object-fit:cover; }
.article-layout { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:70px; align-items:start; }
.article-aside { position:sticky; top:110px; }
.toc { background:var(--sage-2); border-radius:18px; padding:22px; }
.toc strong { display:block; margin-bottom:12px; }
.toc a { display:block; color:var(--muted); font-size:.83rem; padding:6px 0; }
.toc a:hover { color:var(--forest); }
.share-box { margin-top:15px; background:white; border:1px solid var(--line); border-radius:18px; padding:20px; }
.article-body { font-family:var(--serif); }
.article-body p, .article-body li { font-size:1.2rem; color:#3d5758; line-height:1.86; }
.article-body h2 { font-size:2.3rem; margin:58px 0 18px; }
.article-body h3 { font-size:1.65rem; margin:38px 0 12px; }
.article-body .pullquote { font-size:1.7rem; color:var(--ink); border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:28px 0; margin:40px 0; }
.article-body .key-takeaway { font-family:var(--sans); background:var(--sage-2); padding:26px; border-radius:18px; margin:35px 0; }
.article-body .key-takeaway p { font-family:var(--sans); font-size:1rem; margin:0; }

.legal { width:min(calc(100% - 40px),860px); margin-inline:auto; }
.legal h2 { font-size:2rem; margin:42px 0 14px; }
.legal h3 { font-size:1.35rem; margin:28px 0 10px; }
.legal p, .legal li { color:var(--muted); }

.site-footer { background:#0c2425; color:white; padding:75px 0 28px; }
.footer-grid { display:grid; grid-template-columns:1.25fr .65fr .75fr .9fr; gap:45px; }
.footer-brand p { color:rgba(255,255,255,.64); max-width:390px; margin-top:20px; }
.footer-title { font-weight:800; margin-bottom:18px; font-size:.83rem; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-2); }
.footer-links { display:grid; gap:10px; }
.footer-links a { color:rgba(255,255,255,.68); font-size:.9rem; }
.footer-links a:hover { color:white; }
.newsletter-mini { display:grid; gap:9px; }
.newsletter-mini input { width:100%; height:45px; border-radius:999px; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.06); color:white; padding:0 14px; outline:none; }
.newsletter-mini input::placeholder { color:rgba(255,255,255,.4); }
.footer-bottom { margin-top:55px; padding-top:22px; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; gap:20px; color:rgba(255,255,255,.5); font-size:.78rem; }
.footer-bottom-links { display:flex; gap:16px; }

.modal { position:fixed; inset:0; z-index:500; display:none; align-items:center; justify-content:center; padding:20px; }
.modal.open { display:flex; }
.modal-backdrop { position:absolute; inset:0; background:rgba(7,30,31,.76); backdrop-filter:blur(8px); }
.modal-dialog { position:relative; z-index:2; width:min(100%,560px); max-height:90vh; overflow:auto; background:white; border-radius:26px; box-shadow:var(--shadow-lg); padding:36px; }
.modal-close { position:absolute; right:16px; top:15px; width:38px; height:38px; border:0; border-radius:50%; background:var(--sage-2); color:var(--ink); font-size:1.35rem; }
.modal-dialog h2 { font-size:2.5rem; margin-bottom:12px; }
.modal-dialog > p { color:var(--muted); }

.toast { position:fixed; right:22px; bottom:22px; z-index:600; max-width:360px; background:var(--ink); color:white; padding:15px 18px; border-radius:14px; box-shadow:var(--shadow-md); transform:translateY(140%); opacity:0; transition:.3s ease; }
.toast.show { transform:translateY(0); opacity:1; }

.reveal { opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:none; }
@keyframes fadeUp { from { opacity:0; transform:translateY(12px);} to {opacity:1; transform:none;} }

@media (max-width: 1050px) {
  .primary-nav { position:fixed; inset:0 0 0 auto; width:min(390px,88vw); background:var(--cream); padding:110px 28px 30px; display:flex; flex-direction:column; align-items:stretch; gap:4px; transform:translateX(105%); transition:.3s ease; box-shadow:-20px 0 60px rgba(19,44,45,.18); z-index:99; }
  .primary-nav.open { transform:none; }
  .primary-nav a { padding:14px 16px; font-size:1rem; }
  .menu-toggle { display:inline-flex; position:relative; z-index:101; }
  .nav-actions .btn { display:none; }
  .hero-grid { grid-template-columns:1fr 1fr; gap:35px; }
  .hero-image { left:30px; }
  .cards-4 { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width: 820px) {
  .section { padding:78px 0; }
  .hero { min-height:auto; }
  .hero-grid, .split, .tab-panel, .resource-band, .community-panel, .bio-grid, .guide-layout, .contact-layout, .article-layout { grid-template-columns:1fr; }
  .hero-grid { padding:65px 0 80px; }
  .hero-visual { min-height:520px; }
  .hero-image { left:45px; right:10px; }
  .signal-grid { grid-template-columns:1fr 1fr; }
  .signal { min-height:95px; display:flex; flex-direction:column; justify-content:center; border-bottom:1px solid var(--line); }
  .signal:nth-child(2) { border-right:0; }
  .signal:nth-child(3), .signal:nth-child(4) { border-bottom:0; }
  .cards-3, .insight-grid { grid-template-columns:1fr 1fr; }
  .audience-shell { padding:38px 28px; }
  .resource-cover { min-height:450px; }
  .resource-copy, .community-copy { padding:45px 35px; }
  .title-row { align-items:flex-start; flex-direction:column; }
  .article-aside { display:none; }
  .article-body p, .article-body li { font-size:1.1rem; }
}

@media (max-width: 590px) {
  .container, .narrow { width:min(calc(100% - 28px),var(--container)); }
  .topbar { font-size:.72rem; }
  .brand { min-width:0; }
  .brand-text strong { font-size:.98rem; }
  .brand-text span { font-size:.56rem; }
  .brand-mark { width:41px; height:41px; flex-basis:41px; }
  .nav-wrap { height:72px; }
  h1 { font-size:clamp(2.75rem,14vw,4.1rem); }
  h2 { font-size:clamp(2rem,10vw,3.25rem); }
  .hero-copy .lead { font-size:1rem; }
  .hero-actions .btn { width:100%; }
  .hero-note { align-items:flex-start; }
  .hero-visual { min-height:430px; }
  .hero-image { inset:28px 0 0 12px; border-radius:90px 90px 24px 24px; }
  .hero-card.card-a { left:0; top:8px; }
  .hero-card.card-b { right:0; bottom:5px; max-width:210px; }
  .hero-ring { display:none; }
  .signal { padding:0 12px; }
  .signal strong { font-size:1.35rem; }
  .cards-3, .cards-4, .insight-grid, .form-grid, .bio-facts { grid-template-columns:1fr; }
  .image-frame .main-photo { min-height:420px; }
  .floating-badge { right:10px; bottom:18px; }
  .audience-shell { padding:31px 20px; border-radius:24px; }
  .tab-list { flex-wrap:nowrap; overflow:auto; padding-bottom:5px; }
  .tab-button { white-space:nowrap; }
  .tab-panel img { height:240px; }
  .resource-copy { padding:40px 25px; }
  .resource-cover { min-height:410px; }
  .book { width:230px; padding:27px; }
  .book h3 { font-size:1.65rem; }
  .community-copy { padding:40px 25px; }
  .community-panel img { min-height:320px; }
  .cta-band { flex-direction:column; align-items:flex-start; padding:35px 27px; }
  .page-hero { padding:75px 0 65px; }
  .page-hero h1 { font-size:clamp(2.8rem,13vw,4rem); }
  .guide-mock { min-height:480px; padding:30px 20px; }
  .guide-mock .book { width:245px; }
  .form-card { padding:25px 20px; }
  .article-hero { padding:65px 0 45px; }
  .article-hero h1 { font-size:clamp(2.5rem,12vw,3.8rem); }
  .article-body h2 { font-size:1.9rem; }
  .article-body p, .article-body li { font-size:1.04rem; line-height:1.78; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; }
  .modal-dialog { padding:30px 22px; }
  .modal-dialog h2 { font-size:2.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; transition-duration:.01ms !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; }
  .reveal { opacity:1; transform:none; }
}

/* ========================================================================== 
   SRL motion system
   Lightweight, shared animations and micro-interactions for every page.
   ========================================================================== */
:root {
  --ease-smooth: cubic-bezier(.22, 1, .36, 1);
  --ease-snappy: cubic-bezier(.2, .8, .2, 1);
  --motion-fast: 180ms;
  --motion-medium: 420ms;
  --motion-slow: 760ms;
}

/* Page entry / exit transition */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: linear-gradient(135deg, var(--ink), var(--forest-2));
  transform: translate3d(0, 100%, 0);
  transition: transform 330ms var(--ease-smooth);
  will-change: transform;
}
.page-transition-pulse {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(231, 201, 139, .65);
  border-radius: 50%;
  position: relative;
  opacity: 0;
  transform: scale(.72);
}
.page-transition-pulse::before,
.page-transition-pulse::after {
  content: '';
  position: absolute;
  border-radius: inherit;
  border: 1px solid rgba(231, 201, 139, .32);
}
.page-transition-pulse::before { inset: 8px; }
.page-transition-pulse::after { inset: 17px; }
body.page-entering:not(.page-ready) .page-transition,
body.page-leaving .page-transition { transform: translate3d(0, 0, 0); }
body.page-entering:not(.page-ready) .page-transition-pulse,
body.page-leaving .page-transition-pulse { animation: transitionPulse 900ms var(--ease-smooth) infinite alternate; }
body.motion-enabled.page-entering:not(.page-ready) main,
body.motion-enabled.page-entering:not(.page-ready) .site-footer { opacity: 0; transform: translate3d(0, 10px, 0); }
body.motion-enabled main,
body.motion-enabled .site-footer { transition: opacity 520ms ease, transform 620ms var(--ease-smooth); }
body.page-leaving main,
body.page-leaving .site-footer { opacity: .18; transform: translate3d(0, -8px, 0) scale(.997); }

/* Scroll-triggered reveals */
.reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(0, 30px, 0) scale(.985);
  transition:
    opacity var(--motion-slow) ease var(--reveal-delay, 0ms),
    transform var(--motion-slow) var(--ease-smooth) var(--reveal-delay, 0ms),
    filter 620ms ease var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.reveal-right { transform: translate3d(34px, 0, 0); }
.reveal.reveal-left { transform: translate3d(-34px, 0, 0); }
.reveal.reveal-scale { transform: translate3d(0, 18px, 0) scale(.94); }
.reveal.reveal-hero { transform: translate3d(0, 18px, 0); }
.reveal.visible {
  opacity: 1;
  filter: none;
  transform: none;
  will-change: auto;
}

/* Typing accent */
.typing-target {
  display: inline-block;
  min-width: var(--typing-width, auto);
  white-space: nowrap;
}
.typing-target.typing-active::after {
  content: '';
  display: inline-block;
  width: .065em;
  height: .78em;
  margin-left: .06em;
  vertical-align: -.04em;
  border-radius: 999px;
  background: var(--gold);
  animation: typingCursor 720ms steps(1, end) infinite;
}
.animated-counter { font-variant-numeric: tabular-nums; }

/* Ambient motion */
.topbar .dot { animation: statusPulse 2.8s ease-in-out infinite; }
.hero-card.card-a { animation: floatCardA 5.6s ease-in-out infinite; }
.hero-card.card-b { animation: floatCardB 6.4s ease-in-out .5s infinite; }
.hero-ring { animation: ringDrift 14s linear infinite; }
.hero-ring::before { animation: ringPulse 3.8s ease-in-out infinite; }
.hero-ring::after { animation: ringPulse 3.8s ease-in-out .8s infinite reverse; }
.floating-badge { animation: badgeFloat 5.8s ease-in-out infinite; }
.resource-cover .book,
.guide-mock .book { animation: bookFloat 6.2s ease-in-out infinite; }
.resource-cover::before { animation: haloPulse 5.5s ease-in-out infinite; }
.page-hero::after { animation: pageOrb 10s ease-in-out infinite alternate; }

/* Buttons and links */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--motion-fast) var(--ease-snappy),
    box-shadow var(--motion-medium) ease,
    background var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    color var(--motion-fast) ease;
}
.btn::after {
  content: '';
  position: absolute;
  top: -80%;
  left: -55%;
  width: 28%;
  height: 260%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  transform: rotate(18deg);
  transition: left 580ms var(--ease-smooth);
}
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(0) scale(.975); }
.btn .icon { transition: transform var(--motion-medium) var(--ease-smooth); }
.btn:hover .icon { transform: translateX(4px); }
.btn[disabled] { cursor: wait; opacity: .72; transform: none; }
.btn.is-loading::after { animation: loadingSheen 1s linear infinite; }

.text-link,
.footer-links a,
.breadcrumbs a,
.toc a { transition: color var(--motion-fast) ease, gap var(--motion-medium) var(--ease-smooth), transform var(--motion-fast) ease; }
.text-link .icon { transition: transform var(--motion-medium) var(--ease-smooth); }
.text-link:hover .icon { transform: translateX(5px); }
.footer-links a:hover { transform: translateX(4px); }

/* Navigation */
.brand-mark { transition: transform 520ms var(--ease-smooth), filter 350ms ease; }
.brand:hover .brand-mark { transform: rotate(-5deg) scale(1.06); filter: drop-shadow(0 8px 12px rgba(21,94,89,.2)); }
.primary-nav a { transition: background var(--motion-fast) ease, color var(--motion-fast) ease, transform var(--motion-fast) ease; }
.primary-nav a:hover { transform: translateY(-1px); }
.menu-toggle { transition: transform var(--motion-fast) ease, background var(--motion-fast) ease; border-radius: 50%; }
.menu-toggle:hover { background: var(--sage); transform: rotate(3deg); }

/* Cards, panels, and images */
.card,
.insight-card,
.bio-fact,
.contact-card,
.faq-item,
.form-card,
.toc,
.share-box,
.guide-point {
  transition:
    transform var(--motion-medium) var(--ease-smooth),
    box-shadow var(--motion-medium) ease,
    border-color var(--motion-medium) ease,
    background var(--motion-medium) ease;
}
.card { position: relative; overflow: hidden; }
.card::after {
  content: '';
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--gold), var(--forest));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 520ms var(--ease-smooth);
}
.card:hover::after { transform: scaleX(1); }
.card .icon-box { transition: transform 520ms var(--ease-smooth), background var(--motion-medium) ease, color var(--motion-medium) ease; }
.card:hover .icon-box { transform: translateY(-3px) rotate(-4deg) scale(1.06); background: var(--forest); color: white; }
.insight-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,.24), transparent 70%);
  transform: translateX(-115%);
  transition: transform 760ms var(--ease-smooth);
}
.insight-card:hover .insight-image::after { transform: translateX(115%); }
.insight-card:hover .insight-image img { transform: scale(1.065); }
.insight-image .category { transition: transform var(--motion-medium) var(--ease-smooth), background var(--motion-fast) ease; }
.insight-card:hover .category { transform: translateY(-2px); background: white; }
.community-panel img { transition: transform 1s var(--ease-smooth), filter 600ms ease; }
.community-panel:hover img { transform: scale(1.025); filter: saturate(1.04); }
.image-frame .main-photo,
.bio-photo img { transition: transform 1s var(--ease-smooth), filter 600ms ease; }
.image-frame:hover .main-photo,
.bio-photo:hover img { transform: scale(1.015); filter: saturate(1.04); }
.bio-photo { overflow: hidden; }

/* Keep hover transforms effective after reveal finishes. */
.reveal.visible.card-hover:hover,
.reveal.visible.insight-card:hover { transform: translateY(-8px) scale(1.008); }
.reveal.visible.bio-fact:hover,
.reveal.visible.contact-card:hover { transform: translateY(-4px); }

/* Tabs, filters, and FAQ */
.tab-button,
.filter-pill,
.social-link { transition: transform var(--motion-fast) var(--ease-snappy), background var(--motion-fast) ease, color var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-medium) ease; }
.tab-button:hover,
.filter-pill:hover,
.social-link:hover { transform: translateY(-2px); }
.tab-button:active,
.filter-pill:active,
.social-link:active { transform: translateY(0) scale(.97); }
.tab-button.active,
.filter-pill.active { box-shadow: 0 8px 20px rgba(8,40,41,.14); }
.tab-panel.active { animation: panelReveal 520ms var(--ease-smooth); }
.tab-panel.active img { animation: panelImage 680ms var(--ease-smooth); }
.faq-question { transition: color var(--motion-fast) ease, background var(--motion-fast) ease; }
.faq-question:hover { background: rgba(238,245,239,.72); color: var(--forest); }
.faq-answer { transition: max-height 440ms var(--ease-smooth); }
.faq-answer-inner { opacity: 0; transform: translate3d(0,-8px,0); transition: opacity 280ms ease, transform 380ms var(--ease-smooth); }
.faq-item.open { border-color: rgba(21,94,89,.3); box-shadow: var(--shadow-sm); }
.faq-item.open .faq-answer-inner { opacity: 1; transform: none; }
.faq-item.open .plus { transform: rotate(45deg) scale(1.12); color: var(--forest); }
.filter-pop { animation: filterPop 400ms var(--ease-smooth); }

/* Timeline and resource details */
.timeline-num { transition: transform var(--motion-medium) var(--ease-smooth), box-shadow var(--motion-medium) ease, background var(--motion-medium) ease; }
.timeline-item:hover .timeline-num { transform: scale(1.08); box-shadow: 0 12px 25px rgba(19,44,45,.18); background: var(--forest); }
.timeline-item::before { transform-origin: top; transition: background var(--motion-medium) ease; }
.timeline-item:hover::before { background: var(--gold); }
.guide-point:hover { transform: translateX(5px); }
.book { transition: box-shadow var(--motion-medium) ease; }
.book:hover { box-shadow: 30px 36px 60px rgba(19,44,45,.33); }

/* Form micro-interactions */
.form-group label { transition: color var(--motion-fast) ease, transform var(--motion-fast) ease; }
.form-group:focus-within label { color: var(--forest); transform: translateX(2px); }
.form-control,
.newsletter-mini input,
.search-box input { transition: border-color var(--motion-fast) ease, box-shadow var(--motion-medium) ease, background var(--motion-fast) ease, transform var(--motion-fast) ease; }
.form-control:hover,
.newsletter-mini input:hover,
.search-box input:hover { border-color: rgba(21,94,89,.32); }
.form-control:focus,
.newsletter-mini input:focus,
.search-box input:focus { transform: translateY(-1px); }
.form-status.success,
.form-status.error { animation: statusReveal 360ms var(--ease-smooth); }

/* Modal and toast motion */
.modal.open .modal-backdrop { animation: backdropIn 260ms ease both; }
.modal.open .modal-dialog { animation: modalIn 430ms var(--ease-smooth) both; }
.modal.closing .modal-backdrop { animation: backdropOut 190ms ease both; }
.modal.closing .modal-dialog { animation: modalOut 190ms ease both; }
.modal-close { transition: transform var(--motion-medium) var(--ease-smooth), background var(--motion-fast) ease; }
.modal-close:hover { transform: rotate(90deg); background: var(--sage); }
.toast.show { animation: toastBounce 420ms var(--ease-smooth); }

/* Mobile menu item cascade */
@media (max-width: 1050px) {
  .primary-nav.open a { animation: menuItemIn 420ms var(--ease-smooth) both; }
  .primary-nav.open a:nth-child(2) { animation-delay: 45ms; }
  .primary-nav.open a:nth-child(3) { animation-delay: 90ms; }
  .primary-nav.open a:nth-child(4) { animation-delay: 135ms; }
  .primary-nav.open a:nth-child(5) { animation-delay: 180ms; }
  .primary-nav.open a:nth-child(6) { animation-delay: 225ms; }
}

/* Rich hover effects only where a true hover pointer exists. */
@media (hover: hover) and (pointer: fine) {
  .card-hover:hover,
  .insight-card:hover { box-shadow: 0 26px 62px rgba(16,48,49,.16); border-color: rgba(21,94,89,.26); }
  .bio-fact:hover,
  .contact-card:hover,
  .toc:hover,
  .share-box:hover { box-shadow: var(--shadow-sm); border-color: rgba(21,94,89,.24); }
  .social-link:hover { box-shadow: 0 9px 20px rgba(16,48,49,.1); }
}

@media (max-width: 590px) {
  .hero-card.card-a { animation-name: floatCardAMobile; }
  .hero-card.card-b { animation-name: floatCardBMobile; }
  .floating-badge { animation-name: badgeFloatMobile; }
  .reveal { transform: translate3d(0,20px,0); filter: blur(3px); }
  .reveal.reveal-right,
  .reveal.reveal-left { transform: translate3d(0,20px,0); }
}

/* Motion keyframes */
@keyframes transitionPulse {
  from { opacity: .25; transform: scale(.72) rotate(0deg); }
  to { opacity: 1; transform: scale(1.08) rotate(25deg); }
}
@keyframes typingCursor { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(231,201,139,.1); transform: scale(1); }
  50% { box-shadow: 0 0 0 9px rgba(231,201,139,0); transform: scale(1.08); }
}
@keyframes floatCardA {
  0%, 100% { transform: translate3d(0,0,0) rotate(-.3deg); }
  50% { transform: translate3d(0,-10px,0) rotate(.6deg); }
}
@keyframes floatCardB {
  0%, 100% { transform: translate3d(0,0,0) rotate(.4deg); }
  50% { transform: translate3d(-4px,-12px,0) rotate(-.5deg); }
}
@keyframes floatCardAMobile { 0%,100% { transform:none; } 50% { transform:translateY(-5px); } }
@keyframes floatCardBMobile { 0%,100% { transform:none; } 50% { transform:translateY(-6px); } }
@keyframes ringDrift { to { transform: rotate(360deg); } }
@keyframes ringPulse { 0%,100% { transform:scale(1); opacity:.55; } 50% { transform:scale(1.09); opacity:1; } }
@keyframes badgeFloat { 0%,100% { transform:translate3d(0,0,0) rotate(.2deg); } 50% { transform:translate3d(0,-9px,0) rotate(-.4deg); } }
@keyframes badgeFloatMobile { 0%,100% { transform:none; } 50% { transform:translateY(-5px); } }
@keyframes bookFloat { 0%,100% { transform:translateY(0) rotate(4deg); } 50% { transform:translateY(-10px) rotate(2.7deg); } }
@keyframes haloPulse { 0%,100% { transform:scale(.93); opacity:.55; } 50% { transform:scale(1.04); opacity:1; } }
@keyframes pageOrb { from { transform:translate3d(0,0,0) scale(1); } to { transform:translate3d(-28px,18px,0) scale(1.05); } }
@keyframes loadingSheen { from { left:-55%; } to { left:130%; } }
@keyframes panelReveal { from { opacity:0; transform:translate3d(0,18px,0); } to { opacity:1; transform:none; } }
@keyframes panelImage { from { opacity:0; transform:scale(.965); } to { opacity:1; transform:scale(1); } }
@keyframes filterPop { from { opacity:0; transform:translateY(10px) scale(.98); } to { opacity:1; transform:none; } }
@keyframes statusReveal { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
@keyframes backdropIn { from { opacity:0; } to { opacity:1; } }
@keyframes backdropOut { from { opacity:1; } to { opacity:0; } }
@keyframes modalIn { from { opacity:0; transform:translateY(22px) scale(.965); } to { opacity:1; transform:none; } }
@keyframes modalOut { from { opacity:1; transform:none; } to { opacity:0; transform:translateY(12px) scale(.98); } }
@keyframes toastBounce { 0% { transform:translateY(140%); } 65% { transform:translateY(-6px); } 100% { transform:translateY(0); } }
@keyframes menuItemIn { from { opacity:0; transform:translateX(18px); } to { opacity:1; transform:none; } }

/* Accessibility: preserve a calm, fully functional experience. */
@media (prefers-reduced-motion: reduce) {
  .page-transition { display: none !important; }
  body.motion-enabled main,
  body.motion-enabled .site-footer,
  body.page-leaving main,
  body.page-leaving .site-footer { opacity:1 !important; transform:none !important; transition:none !important; }
  .reveal,
  .reveal.reveal-right,
  .reveal.reveal-left,
  .reveal.reveal-scale,
  .reveal.reveal-hero { opacity:1 !important; filter:none !important; transform:none !important; }
  .hero-card.card-a,
  .hero-card.card-b,
  .hero-ring,
  .hero-ring::before,
  .hero-ring::after,
  .floating-badge,
  .resource-cover .book,
  .guide-mock .book,
  .resource-cover::before,
  .page-hero::after,
  .topbar .dot { animation:none !important; }
  .typing-target::after { display:none !important; }
}

/* Prevent off-canvas navigation and floating accents from creating horizontal scroll. */
html, body { overflow-x: clip; }
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

/* ========================================================================== 
   SRL interactive platform prototypes
   ========================================================================== */
.prototype-page { background: var(--sage-2); }
.prototype-page .section-paper { background: #f8fbf8; }
.prototype-label {
  display:inline-flex; align-items:center; gap:7px; width:max-content; margin-bottom:18px;
  padding:7px 12px; border:1px solid rgba(198,155,74,.4); border-radius:999px;
  background:rgba(255,255,255,.72); color:var(--ink); font-size:.72rem; font-weight:850;
  letter-spacing:.1em; text-transform:uppercase;
}
.prototype-label::before { content:''; width:7px; height:7px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 4px rgba(198,155,74,.15); }
.tool-page-hero { padding:82px 0 74px; min-height:0; }
.tool-page-hero h1 { max-width:940px; font-size:clamp(2.8rem,6vw,5.8rem); }
.tool-page-hero .lead { margin-top:24px; }
.prototype-notice { display:flex; align-items:flex-start; gap:18px; padding:22px 24px; margin-bottom:34px; border:1px solid rgba(21,94,89,.17); border-radius:18px; background:linear-gradient(135deg,rgba(220,233,223,.8),rgba(255,255,255,.92)); }
.prototype-notice > div:first-child { color:var(--forest); flex:0 0 auto; }
.prototype-notice strong { display:block; margin-bottom:3px; }
.prototype-notice p { color:var(--muted); font-size:.9rem; margin:0; }
.compact-notice { padding:15px; margin:20px 0; gap:12px; }
.compact-notice p { font-size:.8rem; }
.icon-xl { width:44px; height:44px; }
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.full-btn { width:100%; }

.feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.feature-card { min-height:310px; display:flex; flex-direction:column; padding:28px; background:white; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm); }
.feature-card-top { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; }
.feature-card .icon-box { margin-bottom:26px; }
.feature-card h3 { margin-bottom:13px; }
.feature-card p { color:var(--muted); font-size:.92rem; }
.feature-card .text-link { margin-top:auto; }
.feature-tag,.badge { display:inline-flex; align-items:center; width:max-content; padding:6px 10px; border-radius:999px; background:var(--sage); color:var(--forest-2); font-size:.7rem; font-weight:850; letter-spacing:.03em; }
.badge-soft { background:#f3ead5; color:#76581f; }
.tool-stats { display:grid; grid-template-columns:repeat(3,1fr); text-align:center; }
.tool-stats > div { padding:20px; border-right:1px solid rgba(255,255,255,.14); }
.tool-stats > div:last-child { border:0; }
.tool-stats strong { display:block; color:var(--gold-2); font:700 clamp(2.5rem,5vw,4.6rem)/1 var(--serif); }
.tool-stats span { color:rgba(255,255,255,.65); font-size:.82rem; text-transform:uppercase; letter-spacing:.1em; }

/* Shared application shell */
.app-layout,.roadmap-app { display:grid; grid-template-columns:280px minmax(0,1fr); overflow:hidden; border:1px solid var(--line); border-radius:28px; background:white; box-shadow:var(--shadow-md); }
.app-sidebar { padding:30px; background:var(--ink); color:white; }
.app-sidebar h2 { font-size:1.8rem; margin-bottom:11px; }
.app-sidebar > p { color:rgba(255,255,255,.62); font-size:.85rem; }
.app-main { min-width:0; padding:42px; }
.step-list { display:grid; gap:12px; margin-top:30px; }
.step-chip { display:flex; align-items:center; gap:12px; padding:11px 12px; border-radius:13px; color:rgba(255,255,255,.56); font-size:.82rem; font-weight:750; }
.step-chip span { width:28px; height:28px; display:grid; place-items:center; border-radius:50%; border:1px solid rgba(255,255,255,.2); }
.step-chip.active { color:white; background:rgba(255,255,255,.09); }
.step-chip.active span,.step-chip.complete span { background:var(--gold-2); color:var(--ink); border-color:var(--gold-2); }
.prototype-form { min-height:420px; }
.roadmap-step { display:none; }
.roadmap-step.active { display:block; animation:panelReveal .38s var(--ease-smooth); }
.question-number { color:var(--forest); font-size:.75rem; font-weight:850; text-transform:uppercase; letter-spacing:.12em; margin-bottom:10px; }
.roadmap-step h2 { font-size:clamp(2rem,3vw,3.25rem); max-width:760px; }
.roadmap-step > p { color:var(--muted); margin-top:12px; }
.choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:28px; }
.choice-card { position:relative; display:flex; align-items:flex-start; gap:15px; padding:20px; border:1px solid var(--line); border-radius:17px; background:#fff; cursor:pointer; transition:.2s ease; }
.choice-card:hover { border-color:rgba(21,94,89,.38); transform:translateY(-2px); }
.choice-card:has(input:checked) { border-color:var(--forest); background:var(--sage-2); box-shadow:0 0 0 3px rgba(21,94,89,.08); }
.choice-card input { margin-top:5px; accent-color:var(--forest); }
.choice-card strong { display:block; }
.choice-card small { display:block; color:var(--muted); margin-top:4px; }
.check-choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:24px; }
.check-choice-grid .choice-card { padding:15px; }
.range-panel { padding:28px; margin-top:28px; background:var(--sage-2); border-radius:20px; }
.range-panel input { width:100%; accent-color:var(--forest); }
.range-panel output { display:block; font:700 2rem var(--serif); color:var(--forest); margin-bottom:16px; }
.range-labels { display:flex; justify-content:space-between; color:var(--muted); font-size:.75rem; margin-top:8px; }
.prototype-actions { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:34px; }
.mini-progress { height:7px; overflow:hidden; border-radius:999px; background:#e6ede8; }
.mini-progress span { display:block; height:100%; width:0; background:linear-gradient(90deg,var(--forest),var(--gold)); border-radius:inherit; transition:width .45s ease; }
.roadmap-result { padding:8px; }
.result-score,.readiness-meter { display:flex; align-items:center; gap:24px; margin:20px 0 30px; }
.result-score > strong { width:104px; height:104px; display:grid; place-items:center; flex:0 0 auto; border-radius:50%; border:10px solid var(--sage); color:var(--forest); font:700 2.5rem var(--serif); }
.roadmap-phases { display:grid; gap:12px; margin-top:25px; }
.roadmap-phase { display:grid; grid-template-columns:60px 1fr; gap:17px; padding:18px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.roadmap-phase > span { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; background:var(--sage); color:var(--forest); font-weight:850; }
.roadmap-phase h3 { font-size:1.2rem; margin-bottom:4px; }
.roadmap-phase p { color:var(--muted); font-size:.85rem; margin:0; }
.result-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:25px; }

/* Resource library */
.library-toolbar,.glossary-toolbar { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:32px; }
.library-toolbar .search-box,.glossary-toolbar .search-box { max-width:520px; }
.compact-select { min-height:48px; min-width:190px; padding:0 42px 0 16px; border:1px solid var(--line); border-radius:999px; background:white; color:var(--ink); }
.resource-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.resource-card { display:flex; flex-direction:column; min-height:310px; padding:24px; background:white; border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow-sm); }
.resource-card[hidden],.job-card[hidden],.event-card[hidden],.glossary-item[hidden] { display:none!important; }
.resource-icon { width:52px; height:52px; display:grid; place-items:center; border-radius:15px; color:var(--forest); background:var(--sage); }
.resource-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px; color:var(--muted); font-size:.75rem; }
.resource-card h3 { margin:18px 0 10px; font-size:1.5rem; }
.resource-card p { color:var(--muted); font-size:.88rem; }
.resource-card-footer { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:auto; padding-top:18px; border-top:1px solid var(--line); }
.save-icon,.save-job { width:43px; height:43px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; background:white; color:var(--muted); }
.save-icon.saved,.save-job.saved { color:white; background:var(--forest); border-color:var(--forest); }
.resource-preview { border:0; background:transparent; color:var(--forest); font-weight:800; }
.resource-modal { max-width:760px; }
.preview-document { padding:24px; margin:22px 0; border:1px solid var(--line); border-radius:16px; background:#fafbf9; }
.preview-document-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.preview-document p,.preview-document li { font-size:.85rem; color:var(--muted); }

/* Quizzes */
.quiz-picker { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.quiz-select-card { text-align:left; min-height:270px; padding:26px; border:1px solid var(--line); border-radius:22px; background:white; color:var(--ink); box-shadow:var(--shadow-sm); }
.quiz-select-card:hover { transform:translateY(-5px); border-color:rgba(21,94,89,.35); }
.quiz-select-card .icon-box { margin-bottom:22px; }
.quiz-select-card p { color:var(--muted); font-size:.88rem; }
.quiz-select-card span:last-child { display:inline-flex; margin-top:15px; color:var(--forest); font-weight:800; }
.quiz-shell { max-width:900px; margin:auto; padding:38px; border:1px solid var(--line); border-radius:28px; background:white; box-shadow:var(--shadow-md); }
.quiz-top { display:flex; align-items:center; justify-content:space-between; gap:20px; color:var(--muted); font-size:.82rem; }
.quiz-progress { flex:1; height:8px; border-radius:999px; background:#e8eeea; overflow:hidden; }
.quiz-progress span { display:block; height:100%; width:0; border-radius:inherit; background:var(--forest); transition:width .35s ease; }
.quiz-question-wrap { padding:34px 0 12px; }
.quiz-question-wrap h2 { font-size:clamp(2rem,4vw,3.3rem); }
.quiz-options { display:grid; gap:12px; margin-top:26px; }
.quiz-option { width:100%; padding:17px 19px; border:1px solid var(--line); border-radius:15px; background:white; text-align:left; color:var(--ink); font-weight:700; }
.quiz-option:hover { border-color:var(--forest); background:var(--sage-2); }
.quiz-option.selected { border-color:var(--forest); box-shadow:0 0 0 3px rgba(21,94,89,.1); }
.quiz-option.correct { border-color:#34835c; background:#edf8f0; color:#245f43; }
.quiz-option.incorrect { border-color:#b85d48; background:#fff1ee; color:#853c2d; }
.quiz-feedback,.scenario-feedback { padding:17px 19px; margin-top:18px; border-left:4px solid var(--gold); border-radius:0 14px 14px 0; background:#faf5e7; color:var(--ink-2); }
.quiz-result,.scenario-result { text-align:center; padding:24px; }
.result-ring { width:132px; height:132px; display:flex; flex-direction:column; align-items:center; justify-content:center; margin:0 auto 24px; border:11px solid var(--sage); border-radius:50%; color:var(--forest); }
.result-ring strong { font:700 2.6rem/1 var(--serif); }
.result-ring span { font-size:.75rem; color:var(--muted); }
.quiz-result .result-actions,.scenario-result .result-actions { justify-content:center; }

/* Booking */
.booking-layout { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(310px,.6fr); gap:28px; align-items:start; }
.booking-main,.booking-summary { padding:32px; border:1px solid var(--line); border-radius:24px; background:white; box-shadow:var(--shadow-sm); }
.booking-summary { position:sticky; top:118px; }
.booking-step-head { display:flex; align-items:center; gap:14px; margin:4px 0 20px; }
.booking-step-head > span { width:36px; height:36px; display:grid; place-items:center; border-radius:50%; background:var(--ink); color:var(--gold-2); font-weight:850; }
.booking-step-head h2 { font-size:1.7rem; }
.service-options { display:grid; gap:10px; }
.service-card { display:flex; gap:15px; padding:17px; border:1px solid var(--line); border-radius:15px; cursor:pointer; }
.service-card:has(input:checked) { border-color:var(--forest); background:var(--sage-2); }
.service-card input { margin-top:5px; accent-color:var(--forest); }
.service-card strong { display:block; }
.service-card small { display:block; color:var(--muted); }
.date-strip,.time-slots { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; }
.date-option,.time-option { padding:12px 8px; border:1px solid var(--line); border-radius:13px; background:white; color:var(--ink); text-align:center; }
.date-option span,.date-option small { display:block; }
.date-option span { font-weight:850; }
.date-option small { color:var(--muted); }
.date-option.active,.time-option.active { background:var(--ink); color:white; border-color:var(--ink); }
.date-option.active small { color:rgba(255,255,255,.65); }
.summary-card { padding:20px; border-radius:17px; background:var(--sage-2); margin:18px 0; }
.summary-line { display:flex; justify-content:space-between; gap:20px; padding:11px 0; border-bottom:1px solid var(--line); font-size:.85rem; }
.summary-line:last-child { border:0; }
.summary-line span { color:var(--muted); }

/* Learning */
.learning-overview { display:grid; grid-template-columns:1.15fr .85fr; gap:24px; align-items:center; margin-bottom:34px; }
.learning-overview > div:last-child { padding:24px; border:1px solid var(--line); border-radius:20px; background:white; }
.learning-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.learning-card { padding:28px; border:1px solid var(--line); border-radius:22px; background:white; box-shadow:var(--shadow-sm); }
.learning-card-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.learning-card-head .icon-box { margin:0; }
.learning-card h2 { font-size:2rem; margin:24px 0 11px; }
.learning-card > p { color:var(--muted); }
.learning-meta { display:flex; flex-wrap:wrap; gap:12px; color:var(--muted); font-size:.77rem; margin:18px 0; }
.learning-meta span { display:inline-flex; align-items:center; gap:5px; }
.course-progress { height:8px; overflow:hidden; background:#e6ede8; border-radius:999px; margin-bottom:18px; }
.course-progress span { display:block; height:100%; background:var(--forest); border-radius:inherit; }
.course-modal-dialog { max-width:820px; }
.module-list { display:grid; gap:10px; margin:24px 0; }
.module-item { display:flex; align-items:center; gap:13px; padding:15px; border:1px solid var(--line); border-radius:14px; }
.module-item input { accent-color:var(--forest); }
.module-item.complete { background:var(--sage-2); }
.module-item span { color:var(--muted); font-size:.82rem; margin-left:auto; }
.course-modal-footer { display:flex; justify-content:space-between; align-items:center; gap:15px; padding-top:16px; border-top:1px solid var(--line); }

/* Jobs and events */
.jobs-layout { display:grid; grid-template-columns:270px minmax(0,1fr); gap:28px; align-items:start; }
.jobs-filter { position:sticky; top:118px; padding:24px; border:1px solid var(--line); border-radius:20px; background:white; }
.jobs-filter h2 { font-size:1.7rem; margin-bottom:22px; }
.jobs-filter .form-group { margin-bottom:15px; }
.filter-note { display:flex; gap:8px; color:var(--muted); font-size:.78rem; margin:20px 0 0; }
.jobs-head { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:20px; }
.jobs-head h2 { font-size:2rem; }
.job-list,.event-list { display:grid; gap:16px; }
.job-card { display:flex; justify-content:space-between; gap:24px; padding:24px; border:1px solid var(--line); border-radius:20px; background:white; box-shadow:var(--shadow-sm); }
.job-card-main { display:flex; gap:17px; min-width:0; }
.job-logo,.speaker-avatar { width:54px; height:54px; flex:0 0 auto; display:grid; place-items:center; border-radius:15px; background:var(--ink); color:var(--gold-2); font-weight:850; }
.job-title-row { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.job-title-row h3 { font-size:1.45rem; }
.job-company { color:var(--muted); font-size:.86rem; margin:6px 0 10px; }
.job-chips { display:flex; flex-wrap:wrap; gap:6px; }
.job-chips span { padding:5px 9px; border-radius:999px; background:var(--sage-2); color:var(--forest-2); font-size:.69rem; font-weight:750; }
.job-summary { color:var(--muted); font-size:.85rem; margin:13px 0 0; max-width:650px; }
.job-actions { display:flex; align-items:center; gap:9px; flex:0 0 auto; }
.event-card { display:grid; grid-template-columns:92px minmax(0,1fr) auto; gap:24px; align-items:center; padding:26px; border:1px solid var(--line); border-radius:22px; background:white; box-shadow:var(--shadow-sm); }
.event-date { width:78px; min-height:88px; display:flex; flex-direction:column; align-items:center; justify-content:center; border-radius:18px; background:var(--ink); color:white; }
.event-date strong { font:700 2.1rem/1 var(--serif); color:var(--gold-2); }
.event-date span { font-size:.75rem; text-transform:uppercase; letter-spacing:.12em; }
.event-meta { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:9px; }
.event-meta span { font-size:.68rem; font-weight:800; color:var(--forest); text-transform:uppercase; letter-spacing:.06em; }
.event-content h2 { font-size:1.8rem; }
.event-content > p { color:var(--muted); font-size:.87rem; margin:10px 0 14px; }
.speaker-row { display:flex; align-items:center; gap:10px; }
.speaker-row .speaker-avatar { width:36px; height:36px; border-radius:50%; font-size:.65rem; }
.speaker-row strong,.speaker-row span { display:block; font-size:.75rem; }
.speaker-row span { color:var(--muted); }
.modal-actions { display:flex; flex-wrap:wrap; gap:10px; }

/* Resume review */
.resume-layout { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:25px; align-items:start; }
.resume-workbench,.resume-results { padding:30px; border:1px solid var(--line); border-radius:23px; background:white; box-shadow:var(--shadow-sm); }
.resume-workbench h2 { font-size:1.8rem; margin-bottom:18px; }
.role-toggle { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; padding:5px; margin-bottom:30px; border-radius:14px; background:var(--sage-2); }
.role-toggle button { border:0; border-radius:10px; padding:11px 8px; background:transparent; color:var(--muted); font-size:.8rem; font-weight:800; }
.role-toggle button.active { background:white; color:var(--forest); box-shadow:var(--shadow-sm); }
.upload-zone { min-height:260px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:25px; margin-bottom:16px; border:2px dashed rgba(21,94,89,.28); border-radius:18px; background:var(--sage-2); }
.upload-zone.dragging { border-color:var(--forest); background:var(--sage); }
.upload-icon { width:68px; height:68px; display:grid; place-items:center; margin-bottom:14px; border-radius:20px; background:white; color:var(--forest); }
.upload-zone p { color:var(--muted); margin:7px 0; }
.upload-zone span { color:var(--forest); font-size:.8rem; font-weight:750; }
.placeholder-panel { min-height:450px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; color:var(--muted); }
.placeholder-panel h3 { color:var(--ink); margin:18px 0 8px; }
.readiness-meter .result-ring { flex:0 0 auto; margin:0; }
.resume-checklist { display:grid; gap:10px; }
.resume-check { display:flex; gap:12px; padding:14px; border:1px solid var(--line); border-radius:14px; }
.resume-check > span { width:27px; height:27px; flex:0 0 auto; display:grid; place-items:center; border-radius:50%; background:var(--sage); color:var(--forest); font-weight:900; }
.resume-check.warning > span { background:#faeadf; color:var(--coral); }
.resume-check strong { display:block; }
.resume-check p { color:var(--muted); font-size:.8rem; margin:3px 0 0; }
.mini-request { padding:22px; margin-top:24px; border-radius:18px; background:var(--sage-2); }
.mini-request h3 { margin-bottom:18px; }

/* Glossary */
.glossary-toolbar { align-items:flex-start; flex-direction:column; }
.alphabet-filter { display:flex; flex-wrap:wrap; gap:6px; }
.alphabet-filter button { width:39px; height:39px; border:1px solid var(--line); border-radius:10px; background:white; color:var(--muted); font-weight:800; }
.alphabet-filter button.active { background:var(--ink); color:white; border-color:var(--ink); }
.glossary-list { display:grid; gap:11px; }
.glossary-item { overflow:hidden; border:1px solid var(--line); border-radius:17px; background:white; }
.glossary-question { width:100%; display:flex; justify-content:space-between; align-items:center; gap:20px; padding:20px 22px; border:0; background:transparent; text-align:left; color:var(--ink); }
.glossary-question span:first-child { display:grid; gap:4px; }
.glossary-question strong { font:700 1.35rem var(--serif); }
.glossary-question small { color:var(--forest); font-size:.7rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.glossary-question .icon { transition:transform .25s ease; }
.glossary-definition { max-height:0; overflow:hidden; transition:max-height .35s ease; }
.glossary-definition > * { margin-inline:22px; }
.glossary-definition > p { color:var(--muted); padding-top:2px; }
.glossary-item.open .glossary-definition { max-height:320px; padding-bottom:22px; }
.glossary-item.open .glossary-question .icon { transform:rotate(180deg); }
.why-matters { padding:13px 15px; border-radius:12px; background:var(--sage-2); color:var(--ink-2); font-size:.84rem; }

/* Scenario simulator */
.scenario-layout { display:grid; grid-template-columns:270px minmax(0,1fr); overflow:hidden; border:1px solid var(--line); border-radius:28px; background:white; box-shadow:var(--shadow-md); }
.scenario-sidebar { padding:30px; background:var(--ink); color:white; }
.scenario-sidebar h2 { font-size:1.8rem; }
.scenario-score { display:flex; align-items:baseline; gap:7px; margin:24px 0; }
.scenario-score strong { color:var(--gold-2); font:700 3.4rem/1 var(--serif); }
.scenario-score span { color:rgba(255,255,255,.6); }
.scenario-dots { display:flex; gap:8px; }
.scenario-dots i { width:13px; height:13px; border-radius:50%; background:rgba(255,255,255,.18); }
.scenario-dots i.active { background:var(--gold-2); }
.scenario-dots i.complete { background:#70bd8b; }
.scenario-sidebar .prototype-notice { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.12); }
.scenario-sidebar .prototype-notice p { color:rgba(255,255,255,.62); }
.scenario-main { min-height:600px; padding:40px; }
.scenario-top { display:flex; justify-content:space-between; align-items:center; color:var(--muted); font-size:.8rem; }
.scenario-context { padding:34px 0 14px; }
.scenario-context h2 { font-size:clamp(2rem,4vw,3.3rem); }
.scenario-context p { color:var(--muted); margin-top:15px; font-size:1.02rem; }
.scenario-options { display:grid; gap:11px; }
.scenario-option { padding:17px 19px; border:1px solid var(--line); border-radius:15px; background:white; text-align:left; color:var(--ink); }
.scenario-option:hover { border-color:var(--forest); background:var(--sage-2); }
.scenario-option.correct { border-color:#34835c; background:#edf8f0; }
.scenario-option.incorrect { border-color:var(--coral); background:#fff1ee; }
.scenario-option.dimmed { opacity:.55; }
.scenario-result { min-height:500px; display:flex; flex-direction:column; align-items:center; justify-content:center; }

/* Ask SRL */
.chat-layout { display:grid; grid-template-columns:310px minmax(0,1fr); gap:24px; align-items:stretch; }
.chat-sidebar,.chat-shell { border:1px solid var(--line); border-radius:24px; background:white; box-shadow:var(--shadow-sm); }
.chat-sidebar { padding:26px; }
.assistant-profile { display:flex; align-items:center; gap:14px; }
.assistant-avatar,.message-avatar { display:grid; place-items:center; border-radius:16px; background:var(--ink); color:var(--gold-2); }
.assistant-avatar { width:58px; height:58px; }
.assistant-profile h2 { font-size:1.7rem; }
.assistant-status { display:flex; align-items:center; gap:6px; color:var(--muted); font-size:.72rem; }
.assistant-status i { width:7px; height:7px; border-radius:50%; background:#4ca66b; }
.chat-sidebar > p { color:var(--muted); font-size:.86rem; margin:20px 0; }
.suggested-questions { display:grid; gap:8px; margin-bottom:22px; }
.suggested-questions > span { color:var(--muted); font-size:.72rem; font-weight:850; text-transform:uppercase; letter-spacing:.1em; }
.suggested-questions button { padding:12px 13px; border:1px solid var(--line); border-radius:12px; background:#fff; color:var(--ink); text-align:left; font-size:.79rem; font-weight:700; }
.suggested-questions button:hover { border-color:var(--forest); background:var(--sage-2); }
.chat-shell { min-height:650px; display:flex; flex-direction:column; overflow:hidden; }
.chat-header { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:18px 22px; border-bottom:1px solid var(--line); }
.chat-header strong,.chat-header span { display:block; }
.chat-header span { color:var(--muted); font-size:.72rem; }
.chat-messages { flex:1; display:flex; flex-direction:column; gap:16px; overflow:auto; padding:26px; background:linear-gradient(180deg,#fbfdfb,#f6faf7); }
.chat-message { display:flex; align-items:flex-start; gap:11px; max-width:82%; }
.chat-message.user { align-self:flex-end; flex-direction:row-reverse; }
.message-avatar { width:36px; height:36px; flex:0 0 auto; border-radius:11px; }
.chat-message > div:last-child { padding:14px 16px; border:1px solid var(--line); border-radius:4px 17px 17px 17px; background:white; box-shadow:0 5px 14px rgba(16,48,49,.05); }
.chat-message.user > div:last-child { background:var(--forest); color:white; border-color:var(--forest); border-radius:17px 4px 17px 17px; }
.chat-message p { margin:0; font-size:.9rem; }
.chat-message span { display:block; color:var(--muted); font-size:.65rem; margin-top:7px; }
.chat-message.user span { color:rgba(255,255,255,.6); }
.chat-composer { display:flex; align-items:flex-end; gap:10px; padding:16px 18px; border-top:1px solid var(--line); }
.chat-composer textarea { flex:1; max-height:130px; resize:none; border:1px solid var(--line); border-radius:16px; padding:13px 15px; outline:none; }
.chat-composer textarea:focus { border-color:var(--forest); box-shadow:0 0 0 3px rgba(21,94,89,.08); }
.chat-composer .btn { width:48px; padding:0; flex:0 0 48px; }
.chat-disclaimer { padding:0 20px 14px; color:var(--muted); font-size:.67rem; text-align:center; margin:0; }

/* Member dashboard */
.dashboard-shell { display:grid; grid-template-columns:250px minmax(0,1fr); overflow:hidden; border:1px solid var(--line); border-radius:28px; background:white; box-shadow:var(--shadow-md); }
.dashboard-sidebar { padding:28px; background:var(--ink); color:white; }
.member-avatar { width:68px; height:68px; display:grid; place-items:center; margin-bottom:17px; border-radius:20px; background:var(--gold-2); color:var(--ink); font:700 1.6rem var(--serif); }
.dashboard-sidebar h2 { font-size:1.7rem; }
.dashboard-sidebar > p { color:rgba(255,255,255,.58); font-size:.78rem; }
.dashboard-sidebar nav { display:grid; gap:5px; margin:26px 0; }
.dashboard-sidebar nav a { display:flex; align-items:center; gap:10px; padding:11px 12px; border-radius:12px; color:rgba(255,255,255,.65); font-size:.82rem; font-weight:750; }
.dashboard-sidebar nav a:hover,.dashboard-sidebar nav a.active { color:white; background:rgba(255,255,255,.1); }
.dashboard-sidebar .btn-ghost { color:white; border-color:rgba(255,255,255,.2); }
.dashboard-main { min-width:0; padding:34px; background:#f8fbf8; }
.dashboard-welcome { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:27px; border-radius:20px; background:linear-gradient(135deg,var(--sage),#fff); }
.dashboard-welcome h2 { font-size:2.25rem; }
.dashboard-welcome p { color:var(--muted); margin:6px 0 0; }
.dashboard-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin:18px 0; }
.dashboard-stats article { padding:19px; border:1px solid var(--line); border-radius:17px; background:white; }
.dashboard-stats .icon-box { width:39px; height:39px; margin-bottom:15px; border-radius:11px; }
.dashboard-stats strong { display:block; font:700 2rem/1 var(--serif); color:var(--forest); }
.dashboard-stats span { color:var(--muted); font-size:.72rem; }
.dashboard-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.dashboard-panel { min-height:315px; padding:23px; border:1px solid var(--line); border-radius:19px; background:white; }
.panel-head { display:flex; justify-content:space-between; align-items:flex-start; gap:15px; padding-bottom:16px; border-bottom:1px solid var(--line); }
.panel-head h2 { font-size:1.65rem; }
.panel-head a { color:var(--forest); font-size:.78rem; font-weight:800; }
.dashboard-empty { min-height:210px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; color:var(--muted); padding:20px; }
.dashboard-empty h3 { color:var(--ink); font-size:1.25rem; margin:12px 0 6px; }
.dashboard-empty p { font-size:.8rem; }
.dashboard-summary-card { padding:18px; margin-top:18px; border-radius:15px; background:var(--sage-2); }
.dashboard-summary-card h3 { font-size:1.35rem; margin-bottom:7px; }
.dashboard-summary-card p { color:var(--muted); font-size:.82rem; }
.mini-list { display:grid; gap:8px; margin-top:16px; }
.mini-list-item { display:flex; justify-content:space-between; gap:12px; padding:11px; border:1px solid var(--line); border-radius:12px; }
.mini-list-item strong,.mini-list-item span { display:block; font-size:.76rem; }
.mini-list-item span { color:var(--muted); }

@media (max-width:1180px) {
  .primary-nav a { padding-inline:9px; font-size:.83rem; }
  .brand { min-width:220px; }
  .brand-text strong { font-size:1rem; }
  .feature-grid,.resource-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:1050px) {
  .app-layout,.roadmap-app,.scenario-layout,.dashboard-shell { grid-template-columns:1fr; }
  .app-sidebar,.scenario-sidebar,.dashboard-sidebar { padding:24px; }
  .step-list { grid-template-columns:repeat(4,1fr); margin-top:20px; }
  .step-chip { justify-content:center; }
  .step-chip strong { display:none; }
  .scenario-dots { margin-bottom:10px; }
  .dashboard-sidebar nav { grid-template-columns:repeat(3,1fr); }
  .dashboard-sidebar nav a { justify-content:center; }
  .jobs-layout { grid-template-columns:1fr; }
  .jobs-filter { position:static; display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
  .jobs-filter h2,.jobs-filter .filter-note { grid-column:1/-1; }
  .booking-summary { position:static; }
}
@media (max-width:820px) {
  .tool-page-hero { padding:60px 0; }
  .feature-grid,.resource-grid,.quiz-picker,.learning-grid,.dashboard-grid { grid-template-columns:1fr; }
  .tool-stats { grid-template-columns:1fr; }
  .tool-stats > div { border-right:0; border-bottom:1px solid rgba(255,255,255,.14); }
  .tool-stats > div:last-child { border-bottom:0; }
  .app-main,.scenario-main,.dashboard-main { padding:26px; }
  .choice-grid,.check-choice-grid { grid-template-columns:1fr; }
  .booking-layout,.learning-overview,.resume-layout,.chat-layout { grid-template-columns:1fr; }
  .date-strip,.time-slots { grid-template-columns:repeat(3,1fr); }
  .job-card { flex-direction:column; }
  .job-actions { justify-content:flex-end; }
  .event-card { grid-template-columns:78px 1fr; }
  .event-card > .btn { grid-column:2; justify-self:start; }
  .dashboard-stats { grid-template-columns:repeat(2,1fr); }
  .chat-shell { min-height:600px; }
  .chat-message { max-width:92%; }
  .library-toolbar { align-items:stretch; flex-direction:column; }
  .library-toolbar .search-box { max-width:none; }
}
@media (max-width:590px) {
  .container { width:min(calc(100% - 28px),var(--container)); }
  .section { padding:72px 0; }
  .tool-page-hero h1 { font-size:2.65rem; }
  .prototype-notice { padding:17px; }
  .feature-card,.resource-card,.quiz-shell,.booking-main,.booking-summary,.learning-card,.resume-workbench,.resume-results { padding:21px; }
  .step-list { grid-template-columns:repeat(2,1fr); }
  .app-main,.scenario-main,.dashboard-main { padding:20px; }
  .prototype-actions,.result-score,.readiness-meter,.dashboard-welcome { align-items:stretch; flex-direction:column; }
  .result-score > strong { width:86px; height:86px; font-size:2rem; }
  .roadmap-phase { grid-template-columns:46px 1fr; }
  .roadmap-phase > span { width:40px; height:40px; }
  .date-strip,.time-slots { grid-template-columns:repeat(2,1fr); }
  .jobs-filter { grid-template-columns:1fr; }
  .jobs-filter h2,.jobs-filter .filter-note { grid-column:auto; }
  .job-card-main { flex-direction:column; }
  .event-card { grid-template-columns:1fr; }
  .event-card > .btn { grid-column:auto; }
  .event-date { width:70px; min-height:75px; }
  .role-toggle { grid-template-columns:1fr; }
  .glossary-question { padding:17px; }
  .dashboard-stats { grid-template-columns:1fr 1fr; }
  .dashboard-sidebar nav { grid-template-columns:1fr 1fr; }
  .dashboard-sidebar nav a { justify-content:flex-start; }
  .chat-sidebar { padding:20px; }
  .chat-messages { padding:18px; }
}

/* ========================================================================== 
   SRL navigation redesign
   Compact desktop navigation with accessible dropdowns and a tools mega-menu.
   ========================================================================== */
.site-header .nav-wrap {
  width: min(calc(100% - 44px), 1420px);
  height: 78px;
  gap: 16px;
}
.site-header .brand {
  min-width: 238px;
  flex: 0 1 258px;
}
.primary-nav {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  gap: 2px;
  white-space: nowrap;
}
.primary-nav > .nav-link,
.nav-trigger {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: .86rem;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--motion-fast) ease, color var(--motion-fast) ease, transform var(--motion-fast) ease;
}
.primary-nav > .nav-link:hover,
.primary-nav > .nav-link.active,
.nav-item:hover > .nav-trigger,
.nav-item:focus-within > .nav-trigger,
.nav-item.open > .nav-trigger,
.nav-item.active > .nav-trigger {
  background: var(--sage);
  color: var(--forest-2);
}
.primary-nav > .nav-link:hover,
.nav-trigger:hover { transform: translateY(-1px); }
.nav-trigger .icon {
  width: 15px;
  height: 15px;
  transition: transform .25s var(--ease-smooth);
}
.nav-item:hover > .nav-trigger .icon,
.nav-item:focus-within > .nav-trigger .icon,
.nav-item.open > .nav-trigger .icon { transform: rotate(180deg); }
.nav-item { position: relative; flex: 0 0 auto; }
.nav-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gold-2);
  color: var(--ink);
  font-size: .66rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(19,44,45,.08);
}
.nav-menu {
  position: absolute;
  top: calc(100% + 13px);
  left: 50%;
  z-index: 130;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px) scale(.985);
  transform-origin: top center;
  border: 1px solid rgba(19,44,45,.11);
  border-radius: 20px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 28px 75px rgba(8,40,41,.2);
  backdrop-filter: blur(20px);
  transition: opacity .2s ease, visibility .2s ease, transform .28s var(--ease-smooth);
}
.nav-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}
.nav-item:hover > .nav-menu,
.nav-item:focus-within > .nav-menu,
.nav-item.open > .nav-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}
.nav-menu-small {
  width: 310px;
  padding: 10px;
  display: grid;
  gap: 4px;
}
.nav-menu-right {
  left: auto;
  right: -20px;
  transform: translate(0, 10px) scale(.985);
}
.nav-item:hover > .nav-menu-right,
.nav-item:focus-within > .nav-menu-right,
.nav-item.open > .nav-menu-right { transform: translate(0, 0) scale(1); }
.nav-menu-link {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 13px;
  color: var(--ink);
  white-space: normal;
  transition: background .18s ease, transform .22s var(--ease-smooth), color .18s ease;
}
.nav-menu-link:hover,
.nav-menu-link.active {
  background: var(--sage-2);
  color: var(--forest-2);
  transform: translateX(3px);
}
.nav-menu-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--sage);
  color: var(--forest);
}
.nav-menu-icon .icon { width: 18px; height: 18px; }
.nav-menu-link > span:last-child { min-width: 0; display: grid; gap: 2px; }
.nav-menu-link strong {
  font-family: var(--sans);
  font-size: .82rem;
  line-height: 1.2;
  letter-spacing: 0;
}
.nav-menu-link small {
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.35;
}
.nav-mega-menu {
  width: min(980px, calc(100vw - 48px));
  padding: 12px;
  display: grid;
  grid-template-columns: 255px repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.nav-mega-intro {
  min-width: 0;
  padding: 24px;
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0, rgba(231,201,139,.25), transparent 36%),
    linear-gradient(145deg, var(--forest-2), var(--ink));
  color: white;
}
.nav-mega-kicker {
  color: var(--gold-2);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav-mega-intro h3 {
  margin: 14px 0 11px;
  color: white;
  font-size: 1.55rem;
  line-height: 1.08;
}
.nav-mega-intro p {
  color: rgba(255,255,255,.67);
  font-size: .76rem;
  line-height: 1.55;
}
.nav-mega-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: var(--gold-2);
  font-size: .76rem;
  font-weight: 800;
}
.nav-mega-all .icon { width: 16px; height: 16px; }
.nav-mega-column {
  min-width: 0;
  padding: 12px 7px 7px;
  display: grid;
  align-content: start;
  gap: 2px;
}
.nav-mega-heading {
  padding: 3px 12px 8px;
  color: var(--muted);
  font-size: .66rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.nav-actions { flex: 0 0 auto; gap: 8px; }
.nav-guide-button { white-space: nowrap; }
.nav-dashboard-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--forest-2);
  font-size: .78rem;
  font-weight: 760;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
.nav-dashboard-link:hover { background: var(--sage); transform: translateY(-1px); }
.nav-dashboard-link .icon { width: 18px; height: 18px; }
body.menu-open::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(7,30,31,.5);
  backdrop-filter: blur(3px);
}

@media (max-width: 1280px) and (min-width: 1101px) {
  .site-header .nav-wrap { width: min(calc(100% - 28px), 1420px); gap: 10px; }
  .site-header .brand { min-width: 188px; flex-basis: 200px; }
  .site-header .brand-text span { display: none; }
  .site-header .brand-text strong { font-size: .98rem; }
  .primary-nav > .nav-link, .nav-trigger { padding-inline: 9px; font-size: .81rem; }
  .nav-dashboard-link span { display: none; }
  .nav-dashboard-link { width: 40px; padding: 0; justify-content: center; }
}

@media (max-width: 1100px) {
  .site-header .nav-wrap { width: min(calc(100% - 32px), var(--container)); }
  .site-header .brand { min-width: 0; flex: 0 1 auto; }
  .primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(430px, 91vw);
    height: 100dvh;
    padding: 94px 20px 32px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--cream);
    box-shadow: -20px 0 60px rgba(19,44,45,.22);
    transform: translateX(105%);
    transition: transform .3s var(--ease-smooth);
    z-index: 100;
    white-space: normal;
  }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav > .nav-link,
  .nav-trigger {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 13px 15px;
    border-radius: 13px;
    font-size: .95rem;
  }
  .primary-nav > .nav-link { justify-content: flex-start; }
  .nav-item { width: 100%; }
  .nav-item:hover > .nav-menu,
  .nav-item:focus-within > .nav-menu,
  .nav-item.open > .nav-menu,
  .nav-item:hover > .nav-menu-right,
  .nav-item:focus-within > .nav-menu-right,
  .nav-item.open > .nav-menu-right {
    transform: none;
  }
  .nav-menu,
  .nav-menu-small,
  .nav-menu-right,
  .nav-mega-menu {
    position: static;
    width: 100%;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    margin: 4px 0 8px;
    padding: 7px;
    border: 0;
    border-radius: 15px;
    background: rgba(220,233,223,.48);
    box-shadow: none;
  }
  .nav-item.open > .nav-menu { display: grid; }
  .nav-menu::before { display: none; }
  .nav-mega-menu { grid-template-columns: 1fr; gap: 2px; }
  .nav-mega-intro {
    padding: 17px;
    margin-bottom: 4px;
  }
  .nav-mega-intro h3 { font-size: 1.25rem; }
  .nav-mega-intro p { display: none; }
  .nav-mega-column { padding: 5px 0; }
  .nav-mega-heading { padding: 8px 10px 5px; }
  .nav-menu-link { padding: 9px 10px; }
  .nav-menu-icon { width: 34px; height: 34px; flex-basis: 34px; background: white; }
  .nav-menu-link strong { font-size: .79rem; }
  .nav-menu-link small { font-size: .65rem; }
  .nav-actions .nav-dashboard-link,
  .nav-actions .nav-guide-button { display: none; }
  .menu-toggle { display: inline-flex; position: relative; z-index: 103; }
}

@media (max-width: 590px) {
  .site-header .nav-wrap { width: min(calc(100% - 24px), var(--container)); }
  .site-header .brand-text strong { font-size: .92rem; }
  .site-header .brand-text span { display: none; }
  .primary-nav { width: min(390px, 94vw); padding: 84px 14px 24px; }
  .nav-mega-intro { padding: 15px; }
}
