/* ==========================================================================
   THEME LAYER — warm orange & deep navy, photo heroes, floating navbar.
   Loaded after style.css and overrides the base system.
   ========================================================================== */
:root {
  --ink: #1E3445; --ink-2: #2E4658; --text: #3F5263; --muted: #6B7C8A; --faint: #A6B1BA;
  --bg: #ffffff; --surface: #FBF5EF; --surface-2: #F4ECE4; --border: #EEE4DA; --border-strong: #DDD0C3;
  --mint: #F47B20; --mint-600: #E86C12; --mint-700: #C9580A; --mint-50: #FFF1E5; --mint-100: #FFDCC0;
  --violet: #2F6E85; --violet-700: #24586B; --violet-50: #E7F1F4; --violet-100: #CDE2EA;
  --blue: #3B82A8; --blue-50: #E8F2F8;
  --navy: #1E3445; --navy-2: #16283A; --cream: #FBF4EE;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Rubik", "Inter", system-ui, sans-serif;
  --font-script: "Yellowtail", "Brush Script MT", cursive;
  --r: 14px; --r-lg: 20px; --r-xl: 28px;
  --ring: 0 0 0 3px rgba(244, 123, 32, .3);
  --shadow: 0 12px 30px -18px rgba(30, 52, 69, .35);
  --shadow-lg: 0 24px 50px -24px rgba(30, 52, 69, .45);
  --header-h: 64px;
  --header-top: 14px;
  --topo: repeating-radial-gradient(circle at 78% 18%, transparent 0 16px, rgba(244, 123, 32, .16) 16px 17px, transparent 17px 34px),
          repeating-radial-gradient(circle at 12% 110%, transparent 0 20px, rgba(255, 255, 255, .06) 20px 21px, transparent 21px 40px);
  --arrow-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 11L11 5M6 5h5v5' fill='none' stroke='%231E3445' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --arrow-orange: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 11L11 5M6 5h5v5' fill='none' stroke='%23F47B20' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --arrow-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 11L11 5M6 5h5v5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body { font-feature-settings: normal; color: var(--text); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
h1 { font-weight: 700; letter-spacing: -.015em; }
a { color: var(--mint-700); }
a:hover { color: var(--ink); }
::selection { background: var(--mint-100); }
.script { font-family: var(--font-script); font-weight: 400; color: var(--mint); letter-spacing: 0; }

/* ---------- Eyebrow pill (script label) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 3px 14px 3px 4px;
  border: 1.5px solid var(--mint); border-radius: 999px; background: #fff;
  font-family: var(--font-script); font-size: 1.12rem; font-weight: 400; letter-spacing: 0; text-transform: none;
  color: var(--mint-600); margin-bottom: 14px; line-height: 1.3;
}
.eyebrow::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--mint) var(--arrow-white) center / 12px no-repeat; }
.section-head { align-items: end; }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin-top: 10px; }
.section-alt { background: var(--cream); border-color: transparent; }

/* ---------- Buttons: pills with a white circle arrow ---------- */
.btn { border-radius: 999px; font-family: var(--font-display); font-weight: 500; letter-spacing: .01em; }
.btn-accent { --b-bg: var(--mint); --b-fg: #fff; --b-bd: var(--mint); box-shadow: 0 10px 22px -10px rgba(244, 123, 32, .75); }
.btn-accent:hover { --b-bg: var(--mint-600); --b-bd: var(--mint-600); color: #fff; }
.btn:not(.btn-sm):not(.btn-ghost):not(.btn-outline-light):not([type="submit"]) { padding-right: 6px; }
.btn:not(.btn-sm):not(.btn-ghost):not(.btn-outline-light):not([type="submit"])::after {
  content: ""; width: 32px; height: 32px; border-radius: 50%; flex: none; margin-left: 4px;
  background: #fff var(--arrow-dark) center / 14px no-repeat; transition: transform .25s var(--ease);
}
.btn-accent:not(.btn-sm)::after { background-image: var(--arrow-orange) !important; }
.btn:not(.btn-sm):hover::after { transform: rotate(45deg); }
.btn:not(.btn-sm):not(.btn-ghost):not(.btn-outline-light):not([type="submit"]) .arrow { display: none; }
.btn-ghost { --b-bg: #fff; --b-fg: var(--ink); --b-bd: var(--border-strong); }
.btn-ghost:hover { --b-bd: var(--mint); --b-fg: var(--mint-700); }
.btn-outline-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255, 255, 255, .75); }
.btn-outline-light:hover { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: 999px;
  background: var(--mint); color: #fff; font-family: var(--font-display); font-weight: 500; font-size: .92rem;
  box-shadow: 0 10px 22px -10px rgba(244, 123, 32, .75); white-space: nowrap;
}
.link-arrow span { width: 30px; height: 30px; border-radius: 50%; background: #fff var(--arrow-orange) center / 13px no-repeat; color: transparent; overflow: hidden; display: inline-block; }
.link-arrow:hover { color: #fff; background: var(--mint-600); }
.link-arrow:hover span { transform: rotate(45deg); }

.pill { font-family: var(--font-display); font-weight: 500; }
.pill-mint { background: var(--mint-50); color: var(--mint-700); }
.pill-violet { background: var(--violet-50); color: var(--violet-700); }
.pill-blue { background: var(--blue-50); color: #2A6688; }
.pill-outline { border-color: var(--border-strong); }
.av-dk { background: linear-gradient(135deg, #1E3445, #3A5A72); }
.av-mt { background: linear-gradient(135deg, #F47B20, #F9A55E); }
.av-pn { background: linear-gradient(135deg, #2F6E85, #4C93AC); }
.av-lo { background: linear-gradient(135deg, #C9580A, #E88A3E); }

/* ---------- Floating navbar ---------- */
.site-header { position: fixed; top: var(--header-top); left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; box-shadow: none; pointer-events: none; }
.site-header.is-scrolled { border: 0; box-shadow: none; }
.site-header .header-inner {
  pointer-events: auto; width: min(1180px, calc(100% - 32px)); max-width: none; padding: 0 8px 0 20px; gap: 16px;
  background: #fff; border-radius: 999px; box-shadow: 0 14px 34px -16px rgba(16, 32, 45, .45); transition: box-shadow .3s;
}
.site-header.is-scrolled .header-inner { box-shadow: 0 16px 40px -14px rgba(16, 32, 45, .55), 0 0 0 1px rgba(30, 52, 69, .06); }
.brand-mark { width: 36px; height: 36px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; color: var(--ink); }
.brand-tag { font-family: var(--font-script); font-size: .95rem; color: var(--mint-600); letter-spacing: 0; margin-top: -2px; }
.primary-nav { margin-left: auto; margin-right: auto; }
.primary-nav ul { gap: 4px; }
.primary-nav a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 999px; color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size: .92rem; }
.primary-nav a:hover { background: transparent; color: var(--mint-600); }
.primary-nav a[aria-current="page"], .primary-nav .is-active > a, .primary-nav a.is-current { background: transparent; color: var(--mint-600); }
.chev { width: 12px; height: 12px; transition: transform .2s; }
.has-sub { position: relative; }
.primary-nav .sub { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 210px; transform: translate(-50%, 6px); list-style: none; margin: 0; padding: 8px;
  background: #fff; border-radius: 16px; box-shadow: 0 22px 44px -18px rgba(16, 32, 45, .45), 0 0 0 1px rgba(30, 52, 69, .06);
  display: grid; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s; }
.primary-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.primary-nav .sub a { display: flex; width: 100%; padding: 9px 14px; border-radius: 10px; font-size: .9rem; }
.primary-nav .sub a:hover { background: var(--cream); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .2s; }
.has-sub:hover .chev, .has-sub:focus-within .chev { transform: rotate(180deg); }
.header-cta { margin-left: 0; min-height: 46px; font-size: .9rem; }
.nav-toggle { border-radius: 50%; border-color: var(--border); }
@media (max-width: 1060px) {
  .site-header .header-inner { border-radius: 22px; padding: 0 8px 0 16px; }
  .primary-nav { position: fixed; inset: calc(var(--header-top) + var(--header-h) + 10px) 16px auto 16px; max-height: calc(100vh - 110px); border-radius: 22px; border: 0;
    box-shadow: 0 24px 50px -20px rgba(16, 32, 45, .5); padding: 14px; margin: 0; }
  .primary-nav a { width: 100%; border-radius: 12px; padding: 12px 14px; }
  .primary-nav a[aria-haspopup] { font-weight: 600; }
  .chev { display: none; }
  .primary-nav .sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; padding: 0 0 6px 12px; min-width: 0; background: transparent; }
  .primary-nav .sub::before { display: none; }
  .primary-nav .sub a { font-size: .95rem; color: var(--text); padding: 8px 14px; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { transform: none; }
}
@media (max-width: 640px) { :root { --header-h: 58px; --header-top: 10px; } .brand-tag { display: block; font-size: .85rem; } }

/* ---------- Home hero (photo) ---------- */
.hero.hero-photo {
  position: relative; overflow: visible; color: #fff;
  padding: calc(var(--header-top) + var(--header-h) + clamp(48px, 7vw, 90px)) 0 clamp(150px, 15vw, 190px);
  background: var(--navy) center 60% / cover no-repeat;
}
.hero.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 26, 37, .92) 0%, rgba(14, 26, 37, .78) 45%, rgba(14, 26, 37, .45) 100%), linear-gradient(0deg, rgba(14, 26, 37, .6), transparent 40%); }
.hero.hero-photo::after { display: none; }
.hero-photo .hero-grid { grid-template-columns: 1.25fr .75fr; align-items: center; gap: clamp(28px, 5vw, 70px); }
.hero-hello { position: relative; display: inline-block; font-family: var(--font-script); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); color: #fff; margin: 0 0 6px; line-height: 1.2; }
.hero-hello .path { position: absolute; left: 100%; top: -30px; width: 170px; height: 64px; color: var(--mint); }
.hero-photo h1 { color: #fff; font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.2rem); line-height: 1.08; margin-bottom: .35em; }
.hero-photo h1 .script { font-size: 1.08em; color: var(--mint); display: inline-block; transform: rotate(-3deg); margin-left: .1em; }
.hero-photo .lead { color: rgba(255, 255, 255, .86); max-width: 560px; }
.hero-photo .hero-actions { margin-bottom: 22px; }
.updated { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255, 255, 255, .72); margin: 0; }
.updated .dot { width: 8px; height: 8px; background: #3FD38C; box-shadow: 0 0 0 4px rgba(63, 211, 140, .2); }
.hero-card { background: rgba(20, 36, 50, .55); border: 1px solid rgba(255, 255, 255, .22); border-radius: 22px; padding: 14px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); max-width: 380px; justify-self: end; width: 100%; }
.hero-card h2 { color: #fff; font-size: 1.02rem; font-weight: 600; margin: 4px 6px 12px; }
.hc-img { position: relative; border-radius: 14px; overflow: hidden; }
.hc-img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.corner-btn { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: #fff var(--arrow-dark) center / 14px no-repeat; transition: transform .25s; }
.corner-btn:hover { transform: rotate(45deg); }
.hc-pill { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--muted); font-size: .82rem; }
.hc-pill b { font-family: var(--font-display); font-size: 1.05rem; color: var(--mint-600); font-weight: 600; }

/* ---------- Quick calculator card overlapping the hero ---------- */
.quick-wrap { position: relative; z-index: 5; margin-top: clamp(-130px, -11vw, -100px); }
.quick-card { background: #fff; border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(16, 32, 45, .4), 0 0 0 1px rgba(30, 52, 69, .05); padding: clamp(20px, 3vw, 30px); }
.qc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.qc-head h2 { font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); margin: 0; }
.qc-head p { margin: 0; font-size: .86rem; color: var(--muted); }
.qc-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: center; }
.qc-field { display: flex; align-items: center; gap: 12px; padding: 4px 0; border-bottom: 1.5px solid var(--border); }
.qc-icon { width: 40px; height: 40px; flex: none; border-radius: 12px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--mint); }
.qc-icon svg { width: 18px; height: 18px; }
.qc-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.qc-label { font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: var(--ink); }
.qc-field select { appearance: none; -webkit-appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%231E3445' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right center / 14px no-repeat; padding: 2px 22px 4px 0; font-size: .88rem; color: var(--muted); cursor: pointer; width: 100%; }
.qc-field select:focus { outline: none; color: var(--ink); }
.qc-field:focus-within { border-color: var(--mint); }
.qc-result { margin-top: 20px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; padding: 20px 24px; border-radius: 18px; background: var(--cream); }
.qc-big .script-label { font-family: var(--font-script); color: var(--mint-600); font-size: 1.15rem; display: block; }
.qc-big strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem); color: var(--ink); line-height: 1.15; font-variant-numeric: tabular-nums; }
.qc-big small { display: block; margin-top: 6px; color: var(--muted); font-size: .86rem; }
.qc-note b { font-family: var(--font-display); color: var(--ink); font-weight: 500; }
.qc-note p { margin: 4px 0 10px; font-size: .9rem; color: var(--muted); }
.qc-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.qc-links a { color: var(--mint-600); font-weight: 500; text-decoration: none; }
.qc-links a:hover { text-decoration: underline; }
.qc-fine { display: flex; gap: 8px; align-items: center; margin: 14px 0 0; font-size: .8rem; color: var(--muted); }
.qc-fine i { width: 16px; height: 16px; border-radius: 50%; background: #F5B300; color: #fff; font-style: normal; font-weight: 700; font-size: .7rem; display: grid; place-items: center; flex: none; }
@media (max-width: 860px) { .qc-row, .qc-result { grid-template-columns: 1fr; } .qc-row .btn { justify-self: start; } }

/* ---------- Arch category tiles ---------- */
.arch-section { padding: clamp(48px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); }
.arch-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.arch { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); }
.arch-img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 4.2; border-radius: 46px 46px 26px 26px; overflow: hidden;
  -webkit-mask: radial-gradient(circle 25px at 50% 100%, transparent 24px, #000 25px); mask: radial-gradient(circle 25px at 50% 100%, transparent 24px, #000 25px); }
.arch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.arch:hover .arch-img img { transform: scale(1.07); }
.arch-btn { width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--mint) var(--arrow-white) center / 13px no-repeat; position: relative; z-index: 1; transition: transform .25s; box-shadow: 0 6px 14px -6px rgba(244, 123, 32, .8); }
.arch:hover .arch-btn { transform: rotate(45deg); }
.arch-label { margin-top: 8px; font-family: var(--font-display); font-weight: 500; font-size: 1rem; text-align: center; }
.arch:hover .arch-label { color: var(--mint-600); }
@media (max-width: 1000px) { .arch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 520px) { .arch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Trust strip ---------- */
.trust-strip { background: transparent; border: 0; }
.trust-strip ul { padding: 0 0 clamp(36px, 5vw, 56px); justify-content: center; gap: 12px; }
.trust-strip li { padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--cream); font-size: .86rem; }
.trust-strip svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: #fff; color: var(--mint); }

/* ---------- Cards ---------- */
.card, .kpi, .tpl-card, .starter-step, .team-card, .split-card, .contact-item, .policy-block, .faq details, .aside-card, .author-box, .process li, .credits-list li { border-radius: var(--r-lg); border-color: var(--border); }
.article-card { padding: 8px; border-radius: 22px; border: 1px solid var(--border); box-shadow: 0 10px 30px -22px rgba(30, 52, 69, .35); }
.article-card .thumb { border-radius: 16px; }
.article-card .body { padding: 16px 12px 10px; }
.article-card h3 { font-weight: 600; font-size: 1.1rem; letter-spacing: -.005em; }
.article-card:hover { border-color: var(--mint-100); }
.article-card.featured .body { padding: 24px 24px 20px; }
.article-card.featured h3 { font-size: 1.5rem; }
.meta .sep { background: var(--mint); }

/* Rubric tiles with navy header band */
.cat-tile { padding: 8px 8px 20px; border-radius: 22px; gap: 10px; box-shadow: 0 10px 30px -22px rgba(30, 52, 69, .35); }
.cat-tile .cat-icon { width: auto; height: 104px; border-radius: 16px 16px 50% 50% / 16px 16px 26px 26px; background: var(--navy) !important; background-image: var(--topo) !important; color: #fff !important; justify-content: flex-start; padding-left: 20px; }
.cat-tile .cat-icon svg { width: 40px; height: 40px; }
.cat-tile h3, .cat-tile p, .cat-tile .cat-foot { margin-left: 12px; margin-right: 12px; }
.cat-tile h3 { margin-top: 6px; }
.cat-tile .cat-foot { border-top-style: dashed; color: var(--mint-600); }
.cat-spark path { stroke: var(--mint) !important; }

.kpi { position: relative; overflow: hidden; }
.kpi::before { content: ""; position: absolute; left: 20px; top: 0; width: 34px; height: 4px; border-radius: 0 0 4px 4px; background: var(--mint); }
.kpi strong { font-weight: 600; }

/* Calculator teaser (other pages) & templates */
.calc-teaser .result { background: var(--navy); background-image: var(--topo); }
.calc-teaser .result strong { color: var(--mint); }
.tpl-card .tpl-icon { background: var(--mint-50); color: var(--mint-600); }
.mini-sheet .h { background: var(--cream); }

/* Promise block */
.promise { background: var(--navy); background-image: var(--topo); border-radius: 30px; }
.promise::before, .promise::after { display: none; }
.promise .eyebrow { background: transparent; color: var(--mint); }
.promise-item { border-radius: 18px; }
.promise-item .n { color: var(--mint); font-family: var(--font-script); font-size: 1.5rem; font-weight: 400; }

/* Newsletter */
.newsletter { background: var(--cream); border: 0; border-radius: 30px; box-shadow: none; }
.newsletter .form-wrap { background: #fff; border-radius: 22px; padding: clamp(20px, 3vw, 30px); box-shadow: 0 24px 50px -30px rgba(30, 52, 69, .45); }
.newsletter-points .n { background: var(--mint); color: #fff; border-radius: 50%; }
.issue-preview { border-color: var(--mint-100); border-radius: 16px; }

/* Forms */
.field input[type="text"], .field input[type="email"], .field input[type="number"], .field select, .field textarea, .input { border-radius: 12px; border-color: var(--border-strong); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--mint); }
.check-chip input:checked + span { border-color: var(--mint); background: var(--mint-50); color: var(--mint-700); }
.check-chip input:checked + span::before { background-color: var(--mint); border-color: var(--mint); }
.consent input { accent-color: var(--mint); }
.form-success { background: linear-gradient(180deg, var(--mint-50), #fff); border-color: var(--mint-100); }
.form-success .check-circle { background: var(--mint); box-shadow: 0 10px 30px -10px rgba(244, 123, 32, .7); }

/* FAQ */
.faq details { border-radius: 16px; }
.faq summary { font-family: var(--font-display); font-weight: 500; }
.faq summary::after { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--mint-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23E86C12' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.faq details[open] summary::after { background-color: var(--mint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ---------- Inner page hero: photo banner ---------- */
.page-hero {
  padding: calc(var(--header-top) + var(--header-h) + clamp(44px, 6vw, 76px)) 0 clamp(48px, 6vw, 80px);
  background: var(--navy) center / cover no-repeat; border: 0; color: #fff;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 26, 37, .93), rgba(14, 26, 37, .72) 60%, rgba(14, 26, 37, .5)); }
.page-hero::after { display: none; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255, 255, 255, .84); }
.page-hero .breadcrumb, .article-hero .breadcrumb { color: rgba(255, 255, 255, .6); }
.page-hero .breadcrumb a, .article-hero .breadcrumb a { color: rgba(255, 255, 255, .85); }
.page-hero .breadcrumb a:hover, .article-hero .breadcrumb a:hover { color: var(--mint); }
.page-hero .breadcrumb li + li::before, .article-hero .breadcrumb li + li::before { color: var(--mint); content: "›"; }
.page-hero .text-muted, .page-hero p { color: rgba(255, 255, 255, .8); }
.page-hero .pill-outline, .article-hero .pill-outline { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); color: #fff; }
.page-hero .kpi { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.page-hero .kpi small, .page-hero .kpi span { color: rgba(255, 255, 255, .7); }
.page-hero .kpi strong { color: #fff; }
.page-hero a:not(.btn):not(.pill) { color: var(--mint); }

/* Article hero: navy band, photo overlapping into the page */
.article-hero {
  padding: calc(var(--header-top) + var(--header-h) + clamp(40px, 5vw, 64px)) 0 0; color: #fff;
  background: linear-gradient(180deg, transparent calc(100% - 200px), #fff calc(100% - 200px)), var(--topo), var(--navy);
}
.article-hero h1 { color: #fff; }
.article-hero .lead { color: rgba(255, 255, 255, .82); }
.article-byline { color: rgba(255, 255, 255, .7); }
.article-byline .who b { color: #fff; }
.article-figure { border: 0; border-radius: 26px; box-shadow: 0 30px 60px -30px rgba(16, 32, 45, .5); }
.article-hero .figcaption { margin-top: 10px; }
.toc a.is-active { border-left-color: var(--mint); }
.prose li::marker { color: var(--mint); }
.prose blockquote { border-left-color: var(--mint); }
.reading-progress { background: var(--mint); top: 0; }
.disclaimer { border-radius: 18px; }
.callout-mint { background: var(--mint-50); border-color: var(--mint-100); }
.takeaways { border-radius: 20px; border-top: 4px solid var(--mint); }

/* Calculators / tabs */
.tabs { background: var(--cream); }
.tabs [role="tab"][aria-selected="true"] { background: var(--mint); color: #fff; box-shadow: 0 8px 18px -10px rgba(244, 123, 32, .8); }
.result-hero { background: var(--navy); background-image: var(--topo); }
.result-hero::after { display: none; }
.result-hero strong em { color: var(--mint); }
input[type="range"] { accent-color: var(--mint); }
input[type="range"]::-webkit-slider-thumb { border-color: var(--mint); }
input[type="range"]::-moz-range-thumb { border-color: var(--mint); }
.filter-bar button[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); }
.starter-step::before { background: var(--mint-50); color: var(--mint-700); }
.process li::before { color: var(--mint); }
.contact-item .ci-icon { background: var(--mint-50); color: var(--mint-600); }
.timeline li::before { border-color: var(--mint); }

/* 404 */
.notfound { padding-top: calc(var(--header-top) + var(--header-h) + 64px); }
.notfound-code { background: none; color: var(--mint); -webkit-text-fill-color: var(--mint); font-family: var(--font-script); font-weight: 400; letter-spacing: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); background-image: var(--topo); color: #A9B6C1; }
.footer-col h2, .footer-news h2 { font-family: var(--font-script); text-transform: none; letter-spacing: 0; font-size: 1.35rem; font-weight: 400; color: var(--mint); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: var(--mint); }
.site-footer a:hover { color: var(--mint); }
.footer-form input[type="email"]:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(244, 123, 32, .3); }
.footer-form .form-success { background: rgba(244, 123, 32, .1); border-color: rgba(244, 123, 32, .35); }

/* ---------- Cookie banner ---------- */
.cookie-banner { border-radius: 24px; border: 0; box-shadow: 0 30px 70px -24px rgba(16, 32, 45, .55); }
.cookie-banner .cb-icon { background: var(--mint-50); color: var(--mint-600); border-radius: 50%; }
.cookie-dialog { border-radius: 26px; }
.switch input:checked + .track { background: var(--mint); }

.reveal { transform: translateY(22px); }

@media (max-width: 920px) {
  .hero-photo .hero-grid { grid-template-columns: 1fr; }
  .hero-card { justify-self: start; max-width: 420px; }
  .hero-hello .path { display: none; }
  .article-hero { background: linear-gradient(180deg, transparent calc(100% - 120px), #fff calc(100% - 120px)), var(--topo), var(--navy); }
}
@media (max-width: 640px) {
  .hero.hero-photo { padding-bottom: 140px; }
  .hero-card { display: none; }
  .section-head .link-arrow { align-self: flex-start; }
}

/* Compact cookie bar on phones */
@media (max-width: 560px) {
  .cookie-banner { padding: 14px 16px !important; gap: 6px !important; grid-template-columns: 1fr !important; }
  .cookie-banner .cookie-icon, .cookie-banner .cookie-ico, .cookie-banner .cb-icon { display: none !important; }
  .cookie-banner h2 { font-size: 1rem !important; margin: 0 0 4px !important; }
  .cookie-banner p { font-size: .8rem !important; line-height: 1.45 !important; margin: 0 !important; }
  .cookie-banner .cookie-actions, .cookie-banner .btn-row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px !important; margin-top: 8px !important; }
  .cookie-banner .btn { min-height: 40px !important; padding: 8px 10px !important; font-size: .8rem !important; width: auto !important; flex: none !important; }
  .cookie-banner .btn::after { display: none !important; }
  .cookie-banner [data-cc="accept"] { order: 1; }
  .cookie-banner [data-cc="reject"] { order: 2; }
  .cookie-banner [data-cc="manage"] { order: 3; grid-column: 1 / -1; min-height: 28px !important; padding: 2px !important; background: none !important; border: 0 !important; box-shadow: none !important; color: inherit !important; text-decoration: underline; }
}
