/* =========================================================
   Cahndu polish layer
   Loaded last on index-polished.html. It does not change any
   layout. It brings every section onto one colour palette,
   one type system and one set of components so the page
   reads as a single brand from the hero to the footer.
   ========================================================= */

:root{
  --c-night:#03060E;        /* hero sky, darkest */
  --c-deep:#060C1A;         /* dark section base */
  --c-navy:#0A1628;         /* dark surfaces */
  --c-ink:#0B172A;          /* text on light */
  --c-muted:#5B6678;        /* body text on light */
  --c-muted-dark:#A9B4C8;   /* body text on dark */
  --c-blue:#155EEF;         /* primary action */
  --c-blue-2:#3B7BFF;
  --c-ivory:#F4EFE6;        /* hero and footer light */
  --c-gold:#D4A24C;         /* hero and footer accent */
  --c-gold-soft:#E8BE72;
  --c-line:rgba(11,23,42,.08);
  --c-line-dark:rgba(244,239,230,.1);
  --f-sans:'Manrope','Segoe UI',system-ui,sans-serif;
  --f-head:'Sora','Manrope',sans-serif;
  --f-serif:'Instrument Serif',Georgia,serif;
}

/* ---------- 1. One type system ---------- */
body{font-family:var(--f-sans);color:var(--c-ink);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
.who-heading,.articles-heading,.who-we-serve-heading,.faq-title,.fa-text h2,.wy-title{font-family:var(--f-head);font-weight:600;letter-spacing:-.03em}
.articles-heading,.who-we-serve-heading,.faq-title,.wy-title{font-size:clamp(30px,3.4vw,44px);line-height:1.1}
.fa-text h2{font-size:clamp(26px,2.6vw,34px);line-height:1.15}
.who-pillar-text h3,.articles-bento-side-text h3,.articles-bento-overlay h3,.faq-question{font-family:var(--f-head);letter-spacing:-.015em}
.who-pillar-text h3{font-weight:600;font-size:18px}
.faq-question{font-weight:500}

/* serif accent: the hero and footer voice carried into every section heading */
.p-accent{font-family:var(--f-serif);font-style:italic;font-weight:400;letter-spacing:-.005em;font-size:1.12em;line-height:1}
.who-we-serve-heading .p-accent,.wy-title .p-accent{color:var(--c-blue)}
.articles-heading .p-accent,.faq-title .p-accent,.fa-text h2 .p-accent{color:var(--c-gold-soft)}

/* body copy: one size and one grey per background */
.who-copy,.who-we-serve-desc,.wy-head-side p{color:var(--c-muted);font-size:16px;line-height:1.7}
.articles-sub,.faq-desc,.fa-text p{color:var(--c-muted-dark)}
.articles-sub{font-size:15.5px;line-height:1.7}
.fa-text p{font-size:14.5px;line-height:1.7;max-width:440px}
.fa-list li{font-size:13.5px;color:#C9D1DE;max-width:440px}

/* ---------- 2. One eyebrow component ---------- */
.policy-eyebrow.who-eyebrow,.who-we-serve-eyebrow,.wy-eyebrow{
  display:inline-flex;align-items:center;gap:9px;height:30px;padding:0 13px;border-radius:999px;
  background:rgba(255,255,255,.72);border:1px solid rgba(21,94,239,.16);color:var(--c-blue);
  font-family:var(--f-sans);font-size:11.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;box-shadow:none}
.who-we-serve-eyebrow{background:#F2F6FF}
.policy-eyebrow.who-eyebrow{width:fit-content;margin-left:auto;margin-right:auto}
.policy-eyebrow-dot,.p-dot,.wy-dot{width:6px;height:6px;border-radius:50%;background:var(--c-blue);box-shadow:0 0 0 4px rgba(21,94,239,.12)}
.articles-eyebrow,.faq-badge,.fa-eyebrow{
  display:inline-flex;align-items:center;gap:9px;height:30px;padding:0 13px;border-radius:999px;
  background:rgba(244,239,230,.04);background-image:none;border:1px solid rgba(232,190,114,.28);color:var(--c-gold-soft);
  font-family:var(--f-sans);font-size:11.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.articles-eyebrow .p-dot,.faq-badge .p-dot,.fa-eyebrow .p-dot{background:var(--c-gold-soft);box-shadow:0 0 0 4px rgba(232,190,114,.14)}
.faq-badge svg{display:none}

/* ---------- 3. One dark palette (hero navy, not purple or pure black) ---------- */
.articles{background:radial-gradient(ellipse 60% 50% at 88% 0%,rgba(21,94,239,.16) 0%,rgba(21,94,239,0) 70%),radial-gradient(ellipse 50% 45% at 8% 100%,rgba(212,162,76,.07) 0%,rgba(212,162,76,0) 70%),var(--c-deep)}
.articles-glow{opacity:.55}
.articles-photo-scrim{background:linear-gradient(0deg,rgba(6,12,26,.88) 0%,rgba(6,12,26,.2) 45%,transparent 70%)}
.articles-bento-card{background:rgba(244,239,230,.035);border-color:var(--c-line-dark);border-radius:22px}
.articles-bento-side-text .articles-tag{background:rgba(232,190,114,.1);color:var(--c-gold-soft)}
.fa-wrap{background:var(--c-deep)}
.fa-half-inner.no-img{background:radial-gradient(ellipse 70% 60% at 100% 0%,rgba(21,94,239,.14) 0%,rgba(21,94,239,0) 70%),var(--c-navy)}
.fa-half-inner.has-img::after{background:linear-gradient(180deg,rgba(6,12,26,.25),rgba(6,12,26,.65))}
.fa-check{background:var(--c-blue);border-radius:50%}
.fa-dot.active{background:var(--c-gold-soft)}
.faq-section{background:radial-gradient(ellipse 55% 45% at 50% 0%,rgba(21,94,239,.14) 0%,rgba(21,94,239,0) 70%),var(--c-deep)}
.faq-item{background:rgba(244,239,230,.03);border-color:var(--c-line-dark)}
.faq-item.is-open{background:rgba(21,94,239,.09);border-color:rgba(111,168,255,.32)}
.faq-question{color:#EEF1F6}
.faq-answer p{color:var(--c-muted-dark)}
.articles-heading,.faq-title,.fa-text h2{color:#F5F2EC}

/* ---------- 4. One light palette ---------- */
/* Who We Are: the lavender swapped for a cool blue sky with a faint warm glow, so it follows the hero's dawn */
.who-we-are{background:radial-gradient(ellipse 90% 80% at 8% 0%,rgba(174,196,255,.85) 0%,rgba(174,196,255,.35) 45%,rgba(174,196,255,0) 85%),radial-gradient(ellipse 80% 70% at 96% 0%,rgba(232,190,114,.28) 0%,rgba(232,190,114,0) 70%),linear-gradient(180deg,#EEF3FF 0%,#FFFFFF 70%)}
.who-word{color:#D5DCE8}
.who-badge-light .who-badge-inner{border-color:rgba(11,23,42,.08);box-shadow:0 10px 24px rgba(11,23,42,.08)}
.who-badge-dark .who-badge-inner{background:var(--c-navy);border-color:var(--c-navy)}
.who-pillar{border-radius:24px}
.who-pillar-text{background:rgba(255,255,255,.78);border-color:rgba(255,255,255,.9);box-shadow:0 1px 2px rgba(11,23,42,.04),0 16px 36px rgba(11,23,42,.06)}
.who-pillar-caption{background:rgba(6,12,26,.4)}
.who-we-serve{background:#FFFFFF}
.who-we-serve-card{border-radius:22px}

/* ---------- 5. One button language ---------- */
/* on light: solid navy pill. on dark: ivory pill like the hero and footer. blue stays for small inline actions */
.who-we-serve-btn{text-transform:none;letter-spacing:0;font-size:14px;height:48px;padding:0 22px;background:var(--c-ink);color:#fff;border-color:var(--c-ink)}
.who-we-serve-btn:hover{background:var(--c-blue);border-color:var(--c-blue);color:#fff}
.articles-bento-side-text button,.fa-cta{background:var(--c-ivory);background-image:none;color:var(--c-navy);font-family:var(--f-sans);font-weight:700;border-radius:999px;transition:background .25s ease,color .25s ease}
.articles-bento-side-text button:hover,.fa-cta:hover{background:var(--c-gold-soft);color:var(--c-navy)}
.fa-cta svg{stroke:currentColor}

/* ---------- 6. Rhythm: the same breathing room between sections ---------- */
@media(min-width:901px){
  .articles,.faq-section{padding-top:120px;padding-bottom:120px}
  .articles-intro,.faq-header{margin-bottom:56px}
  .who-we-serve{padding:120px 0}
}

/* ---------- 7. Soft seams between light and dark sections ---------- */
.articles::before,.faq-section::before{content:'';position:absolute;left:0;right:0;top:0;height:1px;z-index:1;background:linear-gradient(90deg,transparent,rgba(232,190,114,.28) 50%,transparent)}

/* ---------- 8. Focus states for keyboard users ---------- */
a:focus-visible,button:focus-visible{outline:2px solid var(--c-blue-2);outline-offset:3px;border-radius:999px}

/* Who We Are accent words in the hero serif, colour still driven by the scroll reveal */
.who-word-accent{font-family:var(--f-serif);font-style:italic;font-weight:400;font-size:1.14em;letter-spacing:-.005em;margin-right:.2em}

/* Who We Are floating badges ran off the screen on laptops and tablets. Below 1240px they now sit in a tidy row under the heading */
@media(max-width:1240px){
  .who-badges{position:static;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:4px 0 26px;inset:auto}
  .who-badge{position:static!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;pointer-events:auto}
  .who-badge.is-visible .who-badge-inner{animation:none}
}
