/* ===== Concept C v4 (2026-11-23): one light palette for the whole site, soft fades between sections =====
   Palette: Ivory #EEF6FC (page), Sand #EEF6FC (alternate bands), Navy #1B1464 (text and the one dark panel),
   Brand Blue #1B1464 (accents, links, icons), Red #ED1C24 (buttons and the maple leaf only). */
:root {
  --ivory: #EEF6FC; --sand: #EEF6FC; --navy: #1B1464; --navy-2: #1B1464; --blue: #1B1464;
  --ink: #1B1464; --muted: #1B1464; --line: #D9E9F5; --mist: #EEF6FC;
  --fade: clamp(70px, 9vw, 140px);
}
body { background: var(--ivory); color: var(--ink); }
h1, h2, h3, h4 { color: var(--navy); }
.eyebrow { color: var(--blue) !important; }

/* hero: navy headline, brand-blue second line, navy motto */
.hc .hero-title { color: var(--navy); }
.hc .hero-title .grad { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--blue); }
.hc .hero-motto { color: var(--navy); font-weight: 600; opacity: .9; }
.hc .lead { color: var(--muted); }
.hc .bgb .b1 { background: #EEF6FC; opacity: .85; }
.hc .bgb .b2 { background: #EEF6FC; opacity: .8; }
.hc .bgb .b3 { background: #EEF6FC; opacity: .7; }
.hc-card.ph::before { background: linear-gradient(180deg, rgba(27,20,100,0) 38%, rgba(27,20,100,.55) 66%, rgba(27,20,100,.92) 100%); }
.hc-keys .ki, .hl-icon, .a-icon { color: var(--blue) !important; }
.hl-icon { background: #EEF6FC !important; }
.hc-all a { color: var(--blue); }
.btn-ghost { color: var(--navy); }

/* every alternate band fades in and out of the page colour: no hard edges */
.band-mist, .experience {
  background: linear-gradient(180deg, var(--ivory) 0, var(--sand) var(--fade), var(--sand) calc(100% - var(--fade)), var(--ivory) 100%) !important;
  animation: none !important; color: var(--ink);
}
.experience h2, .experience h3 { color: var(--navy); }
.experience p, .experience .lead { color: var(--muted) !important; }
.experience .btn-ghost { color: var(--navy); border-color: rgba(27,20,100,.2); }
.story { background: #FFFFFF; box-shadow: 0 24px 50px rgba(27,20,100,.08); border: 1px solid var(--line); }
.story-label { color: var(--blue); }
.story li { background: var(--sand); color: var(--navy); }

/* the one dark element: a rounded call-to-action panel, so it never meets the page edge with a hard line */
.cta-band { background: transparent !important; animation: none !important; padding-block: clamp(40px, 5vw, 72px); overflow: visible; }
.cta-band::before { display: none; }
.cta-band .wrap { width: min(1240px, calc(100% - 2 * var(--gutter))); margin-inline: auto; border-radius: 28px; padding: clamp(32px, 4vw, 56px);
  background: linear-gradient(120deg, #1B1464 0%, #1B1464 60%, #1B1464 100%); box-shadow: 0 30px 60px rgba(27,20,100,.18); }
.cta-band h2 { color: #FFFFFF; } .cta-band p { color: #D9E9F5; }

/* light footer that fades out of the page */
.site-footer { background: linear-gradient(180deg, var(--ivory) 0, var(--sand) var(--fade)) !important; animation: none !important; color: var(--muted); }
.site-footer h4, .site-footer a:hover { color: var(--navy); }
.site-footer a { color: var(--muted); }
.foot-bottom { border-top-color: var(--line); color: var(--muted); }

/* inner pages: same light hero as the home page, header over it */
body.hc-top .page-head { position: relative; overflow: hidden; isolation: isolate; color: var(--navy);
  background: linear-gradient(180deg, transparent 0, transparent calc(100% - var(--fade)), var(--ivory) 100%), radial-gradient(60% 80% at 10% 0%, #EEF6FC 0%, transparent 70%), radial-gradient(50% 70% at 95% 10%, #EEF6FC 0%, transparent 70%), radial-gradient(40% 50% at 55% 90%, #EEF6FC 0%, transparent 70%), var(--ivory) !important;
  padding-top: calc(84px + env(safe-area-inset-top, 0px) + clamp(32px, 4vw, 64px)); }
.page-head::after { display: none; }
.page-head h1 { color: var(--navy); }
.page-head .lead { color: var(--muted) !important; }
.svc-index a { color: var(--navy); border-color: rgba(27,20,100,.16); background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.svc-index a:hover { border-color: var(--blue); color: var(--blue); }
.form-card { border-color: var(--line); box-shadow: 0 24px 50px rgba(27,20,100,.06); }
.aside .panel { background: var(--sand); }

/* one accent colour: red stays for buttons, the maple leaf and form errors; everything else is brand blue */
.checklist li::before { background: #EEF6FC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A4174' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; }
.timeline .when, .audience .who, .svc .more, .svc.cta-card .more, .res .soon, .map-kicker, .story-label { color: var(--blue) !important; }
.timeline li.now::before { border-color: var(--blue); }
.process li:last-child::before, .journey-list li:last-child .jl-icon { background: var(--blue); border-color: var(--blue); }
.aside ol li::marker { color: #29ABE2; }
.audience .a-icon { color: var(--blue); }
.readiness .tick.open { border-color: var(--blue); } .readiness .status.todo { color: var(--blue); }
.svc-detail .icon { background: var(--navy); }
.svc-detail + .svc-detail { border-top-color: var(--line); }
