/* ==========================================================
   NayanaGiving — site styles
   Palette from client logo: Navy #13294B, Gold #C8962F,
   Teal #1FA588, Ivory #F7F5EF, Charcoal #303840
   ========================================================== */
:root {
  --navy: #13294B;
  --navy-900: #0B1C36;
  --navy-700: #1F3D6B;
  --gold: #C8962F;
  --gold-700: #8A6516;   /* text-safe gold (5:1 on ivory) */
  --gold-100: #F6EEDC;
  --teal: #1FA588;
  --teal-700: #13806A;
  --ivory: #F7F5EF;
  --ivory-200: #EEEADF;
  --charcoal: #303840;
  --muted: #5A646E;
  --white: #FFFFFF;
  --line: #DCD7CA;

  --font-serif: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;   /* headings */
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;        /* body */

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(19, 41, 75, .06), 0 2px 8px rgba(19, 41, 75, .05);
  --shadow: 0 10px 30px -12px rgba(19, 41, 75, .22);
  --shadow-lg: 0 24px 60px -20px rgba(19, 41, 75, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --container: 1380px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 10px;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.section { padding: 110px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.center .eyebrow::after, .section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }

.section-title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -.02em; font-weight: 700; text-wrap: balance;
}
.section-head { max-width: 820px; margin: 0 auto 56px; }
.section-sub { color: var(--muted); font-size: 18px; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 600 16px/1 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary:hover { --bg: var(--navy-700); }
.btn-outline { --bg: transparent; --fg: var(--navy); border-color: var(--navy); }
.btn-outline:hover { --bg: var(--navy); --fg: var(--white); }
.btn-light { --bg: var(--ivory); --fg: var(--navy); }
.btn-sage { --bg: var(--gold); --fg: var(--navy-900); }
.btn-sage:hover { --bg: #D9A843; }
.btn-block { width: 100%; }

.btn-arrow { padding: 0 6px 0 26px; }
.arrow-dot {
  width: 40px; height: 40px; border-radius: 50%; background: var(--white);
  display: grid; place-items: center; flex-shrink: 0;
  transition: transform .35s var(--ease);
}
.btn-light .arrow-dot { background: var(--navy); }
.btn-light .arrow-dot svg { stroke: var(--ivory); }
.arrow-dot svg { width: 18px; height: 18px; fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn-sage .arrow-dot { background: var(--navy); }
.btn-sage .arrow-dot svg { stroke: var(--white); }
.btn-arrow:hover .arrow-dot { transform: rotate(45deg); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; text-decoration: none; color: var(--navy);
}
.link-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header (floating pill) ---------- */
.site-header { position: fixed; inset: 16px 0 auto; z-index: 100; padding: 0 16px; pointer-events: none; }
.nav-pill {
  pointer-events: auto;
  min-height: 76px;
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 24px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(19, 41, 75, .08);
  border-radius: 999px; box-shadow: var(--shadow);
  transition: box-shadow .3s, padding .3s;
}
.site-header.scrolled .nav-pill { box-shadow: var(--shadow-lg); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand-logo { height: 58px; width: auto; }
.footer-logo { display: inline-block; padding: 14px 18px; background: var(--white); border-radius: 16px; }
.footer-logo img { height: 64px; width: auto; }
.brand-mark { width: 44px; height: 44px; color: var(--navy); }
.brand.light, .brand.light .brand-mark { color: var(--ivory); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-serif); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.brand-name em { font-style: normal; color: var(--gold-700); }
.brand.light .brand-name em { color: #D9B25E; }
.brand-tag { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(247,245,239,.7); margin-top: 6px; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav a, .drop-toggle {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px;
  border-radius: 999px; border: 0; background: none; cursor: pointer;
  font: 500 15px/1 var(--font-sans); color: var(--charcoal); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.main-nav a:hover, .drop-toggle:hover { background: var(--ivory); color: var(--navy); }
.drop-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s; }
.has-drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px;
  list-style: none; padding: 8px; background: var(--white); border-radius: 16px;
  border: 1px solid rgba(19,41,75,.08); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.dropdown a { display: flex; width: 100%; border-radius: 10px; padding: 0 14px; }
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown, .has-drop.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover .drop-toggle svg, .has-drop.open .drop-toggle svg { transform: rotate(180deg); }

.nav-cta { min-height: 50px; white-space: nowrap; flex-shrink: 0; }
.menu-toggle { display: none; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 170px 0 90px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(200,150,47,.18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(19,41,75,.07), transparent 60%),
    var(--ivory);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.hero-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(38px, 4.4vw, 62px); line-height: 1.12; letter-spacing: -.025em;
  margin-bottom: 26px; text-wrap: balance;
}
.u-word { position: relative; display: inline-block; color: #A8771A; white-space: nowrap; }
.scribble {
  position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible;
}
.scribble path {
  fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320;
  animation: draw 1.1s var(--d, .5s) var(--ease) forwards;
}
.nw { white-space: nowrap; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-lead { font-size: 19px; color: var(--charcoal); max-width: 600px; text-wrap: pretty; }
.hero-title-long { font-size: clamp(32px, 3.3vw, 48px); line-height: 1.16; margin-bottom: 22px; }
.hero-sub { font-family: var(--font-serif); font-weight: 600; font-size: 21px; line-height: 1.4; color: var(--navy); max-width: 620px; margin-bottom: 16px; }
.hero-lead + .hero-lead { margin-top: 12px; }
.hero-lead + .hero-actions { margin-top: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

.hero-quote {
  margin: 44px 0 0; padding: 22px 24px 22px 24px; max-width: 580px;
  background: var(--white); border-radius: var(--radius); border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm); position: relative;
}
.quote-mark { width: 28px; height: 28px; fill: var(--gold-100); position: absolute; top: 14px; right: 18px; }
.hero-quote blockquote { margin: 0 0 8px; font-family: var(--font-sans); font-size: 17px; line-height: 1.6; color: var(--navy); font-style: italic; }
.hero-quote figcaption { font-size: 14px; color: var(--muted); font-weight: 500; }

/* Form card */
.form-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(19,41,75,.06);
  position: sticky; top: 110px;
}
.form-card-head { background: var(--navy); color: var(--ivory); padding: 26px 30px 24px; text-align: center; }
.form-card-head h2 { color: var(--white); font-family: var(--font-serif); font-size: 24px; margin-bottom: 6px; }
.form-card-head p { margin: 0; font-size: 15px; color: rgba(247,245,239,.82); }
.enquiry-form { padding: 26px 30px 28px; }
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field label span { color: #B4412F; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 14px;
  font: 400 16px var(--font-sans); color: var(--charcoal);
  background: var(--ivory); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313294B' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; cursor: pointer; }
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(200,150,47,.25); }
.field input[aria-invalid="true"] { border-color: #B4412F; }
.err { margin: 6px 0 0; font-size: 13px; color: #B4412F; min-height: 0; }
.err:empty { display: none; }
.form-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.form-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; fill: none; stroke: var(--gold-700); stroke-width: 2; }
.form-success { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--gold-100); color: var(--navy); font-size: 14px; font-weight: 500; }

/* ---------- Marquee ---------- */
.marquee-band { position: relative; padding: 46px 0 50px; border-block: 1px solid var(--line); background: var(--white); }
.marquee-title { text-align: center; font-family: var(--font-serif); font-weight: 600; font-size: 20px; color: var(--navy); margin-bottom: 24px; padding: 0 24px; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; list-style: none; padding-right: 16px; flex-shrink: 0; animation: scroll-x 38s linear infinite; }
.marquee-track li {
  white-space: nowrap; padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--ivory);
  font-weight: 600; color: var(--navy); font-size: 15px;
  display: inline-flex; align-items: center; gap: 10px;
}
.marquee-track li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.marquee:hover .marquee-track, .marquee-band.paused .marquee-track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-100%); } }
.marquee-pause {
  position: absolute; right: 20px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); cursor: pointer; display: grid; place-items: center;
}
.marquee-pause svg { width: 16px; height: 16px; fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; }
.marquee-pause .i-play { display: none; fill: var(--navy); stroke: none; }
.marquee-band.paused .i-pause { display: none; }
.marquee-band.paused .i-play { display: block; }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.intro-copy p { font-size: 18px; text-wrap: pretty; }
.tick-list { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--navy); }
.tick-list li::before {
  content: ""; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: var(--teal-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
}
.flow-diagram { margin: 0; padding: 28px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid rgba(19,41,75,.06); }
.flow-node rect { fill: var(--ivory); stroke: var(--navy); stroke-width: 1.5; }
.flow-node text { font: 600 15px var(--font-sans); fill: var(--navy); text-anchor: middle; }
.flow-node.accent rect { fill: var(--navy); stroke: none; }
.flow-node.accent text { fill: var(--ivory); font-family: var(--font-serif); font-weight: 700; font-size: 18px; }
.flow-caption { font: 500 14px var(--font-sans); fill: var(--muted); text-anchor: middle; }
.flow-lines path { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }

/* ---------- Services ---------- */
.services { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 30px 28px; border-radius: var(--radius-lg);
  background: var(--ivory); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 700; }
.service-card > p { color: var(--muted); font-size: 16px; }
.service-card ul { list-style: none; display: grid; gap: 9px; margin: 4px 0 24px; font-size: 15.5px; }
.service-card ul li { position: relative; padding-left: 20px; }
.service-card ul li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.svc-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--navy); transition: transform .35s var(--ease), background-color .35s;
}
.svc-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--ivory); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .svc-icon { background: var(--gold); transform: rotate(-6deg) scale(1.05); }
.svc-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; font-size: 15px; color: var(--navy); text-decoration: none;
  border-top: 1px solid var(--line); padding-top: 16px;
}
.svc-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.svc-link:hover { color: var(--gold-700); }
.svc-link:hover svg { transform: translateX(5px); }
.service-card.featured { background: var(--white); border-color: var(--gold); }
.service-card.featured::after {
  content: "Most comprehensive"; position: absolute; top: 22px; right: 22px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-700); background: var(--gold-100); padding: 6px 10px; border-radius: 999px;
}
.service-cta { background: var(--navy); border-color: var(--navy); justify-content: center; }
.service-cta h3 { color: var(--white); }
.service-cta p { color: rgba(247,245,239,.85) !important; margin-bottom: 26px; }
.service-cta .btn { align-self: flex-start; }

/* ---------- How it works ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 56px; position: relative; counter-reset: s; }
.steps::before {
  content: ""; position: absolute; top: 58px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
}
.step {
  position: relative; padding: 36px 30px 32px; background: var(--white);
  border-radius: var(--radius-lg); border: 1px solid var(--line); text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px;
  border-radius: 50%; background: var(--navy); color: var(--ivory);
  font: 700 15px var(--font-sans); letter-spacing: .04em; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--white);
}
.step h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 600; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- Pillars ---------- */
.pillars { background: var(--ivory-200); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  padding: 34px 30px; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--gold-100); display: grid; place-items: center; margin-bottom: 22px; }
.pillar-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--navy); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 600; }
.pillar p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  margin: 110px 0 0; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center;
  padding: 64px 64px; border-radius: var(--radius-lg); color: var(--ivory);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(200,150,47,.45), transparent 70%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
  overflow: hidden; position: relative;
}
.cta-banner h2 { color: var(--white); font-family: var(--font-serif); font-size: clamp(30px, 3.4vw, 44px); text-wrap: balance; }
.cta-banner p { color: rgba(247,245,239,.85); font-size: 18px; margin-bottom: 30px; max-width: 560px; }
.cta-art .bars rect { fill: rgba(200,150,47,.55); transform-origin: bottom; transform-box: fill-box; }
.cta-banner.in .bars rect { animation: grow .9s var(--ease) both; }
.cta-banner.in .bars rect:nth-child(2) { animation-delay: .1s; }
.cta-banner.in .bars rect:nth-child(3) { animation-delay: .2s; }
.cta-banner.in .bars rect:nth-child(4) { animation-delay: .3s; }
@keyframes grow { from { transform: scaleY(0); } }
.cta-art .trend { stroke-dasharray: 320; stroke-dashoffset: 320; }
.cta-banner.in .trend { animation: draw 1.4s .4s var(--ease) forwards; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.about-portrait { position: sticky; top: 120px; }
.portrait-frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(247,245,239,.05) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
}
.initials { font-family: var(--font-serif); font-size: 104px; font-weight: 600; color: rgba(247,245,239,.9); letter-spacing: .02em; }
.portrait-card {
  position: relative; margin: -56px 24px 0; padding: 20px 24px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--gold);
}
.portrait-card p { margin: 0; }
.pc-name { font-family: var(--font-serif); font-size: 19px; font-weight: 600; color: var(--navy); }
.pc-cred { font-weight: 700; color: var(--gold-700); font-size: 14px; letter-spacing: .05em; }
.pc-role { font-size: 14px; color: var(--muted); }
.about-copy > p { font-size: 18px; text-wrap: pretty; }

.exp-list { margin: 30px 0; border-top: 1px solid var(--line); }
.exp-list > div { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.exp-list dt { font-weight: 700; color: var(--navy); font-size: 15px; }
.exp-list dd { margin: 0; color: var(--charcoal); font-size: 16px; }
.training { padding: 24px 26px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.training-title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 10px; }
.training ul { list-style: none; display: grid; gap: 8px; }
.training li { padding-left: 22px; position: relative; }
.training li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--gold); }
.training strong { color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head p { color: var(--muted); font-size: 18px; }
.accordion { display: grid; gap: 14px; }
.acc { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); transition: background-color .25s, box-shadow .25s; }
.acc[open] { background: var(--white); box-shadow: var(--shadow); border-color: transparent; }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 64px; padding: 18px 22px 18px 26px;
  font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--navy);
}
.acc summary::-webkit-details-marker { display: none; }
.acc-ico { position: relative; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); transition: background-color .25s, transform .35s var(--ease); }
.acc-ico::before, .acc-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--navy); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .35s var(--ease), background-color .25s; }
.acc-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] .acc-ico { background: var(--navy); transform: rotate(180deg); }
.acc[open] .acc-ico::before, .acc[open] .acc-ico::after { background: var(--white); }
.acc[open] .acc-ico::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-body { padding: 0 26px 22px; color: var(--charcoal); }
.acc-body p { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.contact-copy p { font-size: 18px; margin-bottom: 28px; }
.contact-cards { list-style: none; display: grid; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
a.contact-card:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--gold); }
.cc-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.cc-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ivory); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.contact-card.static .cc-icon { background: var(--gold); }
.cc-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); }
.cc-value { display: block; font-size: 20px; font-weight: 600; color: var(--navy); overflow-wrap: break-word; }
.cc-value.small { font-size: 16px; font-weight: 500; color: var(--charcoal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(247,245,239,.78); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(247,245,239,.12); }
.footer-brand p { margin-top: 18px; max-width: 320px; font-family: var(--font-sans); font-size: 16px; color: rgba(247,245,239,.85); }
.footer-h { color: var(--white); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-sans); }
.footer-links { list-style: none; display: grid; gap: 4px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: rgba(247,245,239,.78); text-decoration: none; font-size: 15px; transition: color .2s; word-break: break-word; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 14px; }
.footer-bottom p { margin: 0; }
.copyright { display: inline-flex; align-items: center; gap: 12px; }
.ca-flag {
  position: relative; display: inline-block; flex-shrink: 0;
  width: 32px; height: 16px; padding-left: 3px; perspective: 120px;
}
.ca-flag::before { /* flagpole */
  content: ""; position: absolute; left: 0; top: -4px; width: 2px; height: 26px;
  border-radius: 2px; background: linear-gradient(180deg, #E6C77A, var(--gold) 60%, var(--gold-700));
}
.ca-flag-cloth {
  position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 1px 2px 2px 1px;
  transform-origin: left center; box-shadow: 0 1px 3px rgba(0,0,0,.35);
  animation: flag-wave 2.6s ease-in-out infinite;
}
.ca-flag-cloth svg { display: block; width: 100%; height: 100%; }
.ca-flag-cloth::after { /* moving ripple light/shadow */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(255,255,255,.28) 18%, rgba(0,0,0,.16) 36%, rgba(255,255,255,.24) 54%, rgba(0,0,0,.18) 72%, rgba(255,255,255,.26) 90%, rgba(0,0,0,.18) 100%);
  background-size: 200% 100%; mix-blend-mode: soft-light;
  animation: flag-ripple 1.6s linear infinite;
}
@keyframes flag-wave {
  0%, 100% { transform: rotateY(0deg) skewY(0deg); }
  25% { transform: rotateY(-14deg) skewY(2deg); }
  50% { transform: rotateY(-4deg) skewY(-1.5deg); }
  75% { transform: rotateY(-12deg) skewY(1.5deg); }
}
@keyframes flag-ripple { from { background-position: 0 0; } to { background-position: -200% 0; } }
.disclaimer { color: rgba(247,245,239,.6); max-width: 620px; }

/* ---------- Multipage: shared ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.main-nav a.active, .drop-toggle.is-active { color: var(--navy); background: var(--gold-100); font-weight: 600; }
.dropdown a.active { background: var(--gold-100); }
.dropdown li:first-child { border-bottom: 1px solid var(--line); margin-bottom: 4px; padding-bottom: 4px; }
.section-title.sm { font-size: clamp(24px, 2.4vw, 30px); }
.section.tight-top { padding-top: 64px; }
.spacer { height: 110px; }
.cta-wrap .cta-banner { margin-top: 0; }

.page-hero {
  padding: 160px 0 72px; position: relative; overflow: hidden;
  background:
    radial-gradient(800px 420px at 90% 0%, rgba(200,150,47,.22), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(19,41,75,.06), transparent 60%),
    var(--ivory);
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%;
  border: 2px dashed rgba(200,150,47,.35); pointer-events: none;
}
.page-title { font-family: var(--font-serif); font-weight: 800; font-size: clamp(34px, 4.2vw, 56px); letter-spacing: -.025em; max-width: 900px; text-wrap: balance; margin-bottom: 18px; }
.page-lead { font-size: 19px; max-width: 760px; color: var(--charcoal); text-wrap: pretty; margin: 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: 14px; margin-bottom: 22px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 600; }

/* Service detail */
.detail-grid { display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: start; }
.inc-list { display: grid; gap: 14px; margin-bottom: 32px; }
.inc-item { display: flex; gap: 20px; padding: 24px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.inc-item:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--gold); }
.inc-num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--ivory); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.inc-item h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.inc-item p { margin: 0; color: var(--muted); font-size: 16px; }
.note-box { padding: 18px 22px; border-radius: var(--radius); background: var(--gold-100); color: var(--navy); font-size: 15.5px; border-left: 4px solid var(--gold); margin-bottom: 32px; }
.center-box { max-width: 820px; margin: 40px auto 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { padding: 28px; border-radius: var(--radius-lg); background: var(--ivory-200); }
.panel > p { color: var(--muted); font-size: 15.5px; }
.panel-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 19px; font-weight: 600; }
.panel-title svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.panel .tick-list { margin-top: 12px; }
.panel .tick-list li { font-weight: 500; font-size: 15.5px; color: var(--charcoal); }

.detail-aside { position: sticky; top: 120px; display: grid; gap: 20px; }
.aside-card { padding: 30px; border-radius: var(--radius-lg); background: var(--navy); color: rgba(247,245,239,.86); box-shadow: var(--shadow-lg); }
.aside-card .svc-icon { background: var(--gold); }
.aside-card h2 { color: var(--white); font-family: var(--font-serif); font-size: 22px; font-weight: 600; }
.aside-card p { font-size: 15.5px; margin-bottom: 22px; }
.aside-card .btn-primary { --bg: var(--ivory); --fg: var(--navy); width: 100%; justify-content: space-between; }
.aside-card .btn-primary .arrow-dot { background: var(--navy); }
.aside-card .btn-primary .arrow-dot svg { stroke: var(--ivory); }
.aside-contact { list-style: none; display: grid; gap: 2px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(247,245,239,.15); }
.aside-contact a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ivory); text-decoration: none; font-weight: 500; }
.aside-contact a:hover { color: #E7C57A; }
.aside-contact svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.aside-steps { padding: 24px 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.aside-steps ol { list-style: none; counter-reset: st; display: grid; gap: 10px; margin-bottom: 12px; }
.aside-steps li { counter-increment: st; display: flex; gap: 12px; align-items: center; font-size: 15.5px; }
.aside-steps li::before { content: counter(st); width: 28px; height: 28px; border-radius: 50%; background: var(--gold-100); color: var(--navy); font-weight: 700; font-size: 13px; display: grid; place-items: center; flex-shrink: 0; }
.aside-steps strong { color: var(--navy); }
.faq-head .aside-card .btn-primary { width: auto; }

.related { background: var(--white); }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.related-card { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ivory); text-decoration: none; color: var(--navy); font-weight: 600; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.related-card > svg { width: 18px; height: 18px; margin-left: auto; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.related-card:hover > svg { transform: translateX(4px); }
.svc-icon.sm { width: 44px; height: 44px; border-radius: 12px; margin: 0; flex-shrink: 0; }
.svc-icon.sm svg { width: 22px; height: 22px; }
.rc-name { line-height: 1.3; }

/* Services overview: boundaries */
.boundary-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.boundary-grid > div > p { font-size: 18px; }
.boundary-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.b-card { padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.b-card h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 600; }
.b-card ul { list-style: none; display: grid; gap: 10px; margin-bottom: 14px; }
.b-card li { display: flex; gap: 10px; font-size: 15.5px; }
.b-card li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 2px; background: var(--teal-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.b-card.no { background: var(--ivory-200); border-color: transparent; }
.b-card.no li::before { background: var(--muted) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center/12px no-repeat; }
.b-card.no p { font-size: 15px; color: var(--muted); margin: 0; }

/* How it works: options */
.options { background: var(--white); }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.option-card { padding: 36px 34px; border-radius: var(--radius-lg); background: var(--ivory); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.option-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.option-card.featured { background: var(--navy); border-color: var(--navy); color: rgba(247,245,239,.86); }
.option-card.featured h3, .option-card.featured .link-arrow, .option-card.featured .tick-list li { color: var(--white); }
.option-card h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 600; }
.option-card .tick-list { margin: 18px 0 22px; }
.opt-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--gold-100); color: var(--gold-700); margin-bottom: 16px; }
.pillar-grid.four { grid-template-columns: repeat(4, 1fr); }

/* Contact page */
.contact-page-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.contact-page-grid .form-card { position: static; }
.contact-side { display: grid; gap: 22px; }
.contact-side .section-title { margin-bottom: 0; }

/* ---------- Background animations: light heroes ---------- */
.hero > .container, .page-hero > .container { position: relative; z-index: 1; }
.bg-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orbs { position: absolute; inset: 0; transform: translate3d(calc(var(--mx, 0) * 28px), calc(var(--my, 0) * 22px), 0); transition: transform .8s var(--ease); }
.orb { position: absolute; border-radius: 50%; will-change: transform; }
.orb-1 { width: 680px; height: 680px; left: -220px; top: -260px; background: radial-gradient(circle, rgba(200,150,47,.26) 0%, rgba(200,150,47,0) 66%); animation: orb-a 24s ease-in-out infinite alternate; }
.orb-2 { width: 560px; height: 560px; right: -160px; top: 6%; background: radial-gradient(circle, rgba(31,165,136,.17) 0%, rgba(31,165,136,0) 66%); animation: orb-b 28s ease-in-out infinite alternate; }
.orb-3 { width: 760px; height: 760px; left: 28%; bottom: -460px; background: radial-gradient(circle, rgba(19,41,75,.12) 0%, rgba(19,41,75,0) 66%); animation: orb-c 32s ease-in-out infinite alternate; }
@keyframes orb-a { to { transform: translate3d(160px, 120px, 0) scale(1.12); } }
@keyframes orb-b { to { transform: translate3d(-140px, 160px, 0) scale(.9); } }
@keyframes orb-c { to { transform: translate3d(-180px, -90px, 0) scale(1.08); } }

.ledger-grid {
  position: absolute; inset: -56px;
  background-image: linear-gradient(rgba(19,41,75,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(19,41,75,.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
  animation: grid-pan 22s linear infinite;
}
@keyframes grid-pan { to { transform: translate3d(56px, 56px, 0); } }

.wave-wrap { position: absolute; left: 0; right: 0; bottom: 0; height: 170px; overflow: hidden; }
.wave-wrap svg { width: 200%; max-width: none; height: 100%; display: block; }
.wave { transform-box: fill-box; will-change: transform; }
.wave.w1 { fill: rgba(200,150,47,.09); animation: wave-x 30s linear infinite; }
.wave.w2 { fill: rgba(19,41,75,.05); animation: wave-x 44s linear infinite reverse; }
@keyframes wave-x { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.page-fx .wave-wrap { height: 110px; }

.hero-trend { position: absolute; left: 0; bottom: 40px; width: 58%; height: 260px; opacity: .55; }
.trend-line { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: trend-draw 14s var(--ease) infinite; }
.trend-area { fill: rgba(200,150,47,.07); opacity: 0; animation: trend-fill 14s ease infinite; }
@keyframes trend-draw { 0% { stroke-dashoffset: 1000; opacity: 0; } 8% { opacity: 1; } 40% { stroke-dashoffset: 0; } 80% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes trend-fill { 0%, 30% { opacity: 0; } 45%, 80% { opacity: 1; } 100% { opacity: 0; } }

.fs { position: absolute; left: var(--x); top: var(--y); opacity: .55; animation: bob var(--t) ease-in-out var(--dl) infinite; }
@keyframes bob { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); } 50% { transform: translate3d(10px, -22px, 0) rotate(14deg); } }
.fs-ring { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--gold); }
.fs-ring.sm { width: 18px; height: 18px; border-color: var(--teal); }
.fs-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.fs-plus { width: 20px; height: 20px; }
.fs-plus.sm { width: 14px; height: 14px; }
.fs-plus::before, .fs-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 100%; height: 2px; background: var(--gold); border-radius: 2px; transform: translate(-50%, -50%); }
.fs-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.fs-bars { display: flex; align-items: flex-end; gap: 4px; height: 30px; opacity: .6; }
.fs-bars i { width: 7px; border-radius: 2px; background: var(--teal); transform-origin: bottom; animation: bar-pulse 3.2s ease-in-out infinite; }
.fs-bars i:nth-child(1) { height: 10px; }
.fs-bars i:nth-child(2) { height: 18px; animation-delay: .3s; }
.fs-bars i:nth-child(3) { height: 28px; animation-delay: .6s; }
@keyframes bar-pulse { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }

/* Hero photo background */
.hero-photo {
  position: absolute; inset: -2%;
  background: url("assets/hero-wide.jpg?v=20261030a") 52% 42% / cover no-repeat;
  animation: ken-burns 34s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes ken-burns { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(247,245,239,.95) 0%, rgba(247,245,239,.84) 30%, rgba(247,245,239,.4) 47%, rgba(247,245,239,.04) 62%, rgba(19,41,75,.14) 100%),
    linear-gradient(180deg, rgba(247,245,239,.35) 0%, rgba(247,245,239,0) 22%, rgba(247,245,239,0) 72%, var(--ivory) 100%);
}
.hero-fx .ledger-grid, .hero-fx .orb-3 { display: none; }
.hero-fx .orb-1 { opacity: .7; }
.hero-fx .wave.w1 { fill: rgba(247,245,239,.55); }
.hero-fx .wave.w2 { fill: rgba(247,245,239,.85); }
.hero-fx .hero-trend { opacity: .45; }
.hero-quote { background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------- Background animations: dark panels ---------- */
.service-cta, .option-card.featured, .aside-card { position: relative; overflow: hidden; }
.cta-banner > :not(.dark-fx), .service-cta > :not(.dark-fx), .option-card.featured > :not(.dark-fx), .aside-card > :not(.dark-fx) { position: relative; z-index: 1; }
.dark-fx { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; z-index: 0; }
.dark-fx .glow { position: absolute; width: 460px; height: 460px; left: -160px; bottom: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(31,165,136,.22), rgba(31,165,136,0) 65%); animation: glow-drift 18s ease-in-out infinite alternate; }
@keyframes glow-drift { to { transform: translate3d(220px, -60px, 0) scale(1.15); } }
.dark-fx .dot-grid {
  position: absolute; inset: -24px;
  background-image: radial-gradient(rgba(247,245,239,.09) 1.2px, transparent 1.4px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(115deg, transparent 10%, #000 55%, transparent 95%);
  mask-image: linear-gradient(115deg, transparent 10%, #000 55%, transparent 95%);
  animation: dots-pan 16s linear infinite;
}
@keyframes dots-pan { to { transform: translate3d(24px, -24px, 0); } }
.dark-fx .ring { position: absolute; width: 440px; height: 440px; right: -150px; top: -200px; border-radius: 50%; border: 1.5px dashed rgba(200,150,47,.28); animation: spin 70s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dark-fx .sheen { position: absolute; top: -60%; left: -50%; width: 30%; height: 220%; background: linear-gradient(90deg, transparent, rgba(200,150,47,.10), rgba(247,245,239,.06), transparent); transform: rotate(18deg); animation: sheen 11s ease-in-out infinite; }
@keyframes sheen { 0%, 55% { transform: translate3d(0, 0, 0) rotate(18deg); } 100% { transform: translate3d(620%, 0, 0) rotate(18deg); } }
.dark-fx .p { position: absolute; bottom: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: var(--gold); opacity: 0; animation: rise var(--t) linear var(--dl) infinite; }
.dark-fx .p.t { background: var(--teal); }
@keyframes rise { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 12% { opacity: .7; } 85% { opacity: .5; } 100% { transform: translate3d(18px, -480px, 0); opacity: 0; } }

/* Pause decorative motion when off-screen */
.fx-off, .fx-off * { animation-play-state: paused !important; }

/* ---------- About Us ---------- */
.offer-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 28px; }
.offer-chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px;
  background: rgba(255,255,255,.85); border: 1px solid var(--line);
  font: 600 14px var(--font-serif); color: var(--navy); letter-spacing: .02em;
}
.offer-chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

.story-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.story-visual { position: relative; margin: 0; }
.story-visual img { width: 100%; height: auto; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 40% 50%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.stat-badge {
  position: absolute; left: -24px; bottom: 36px; display: flex; align-items: center; gap: 14px;
  padding: 18px 24px; background: var(--navy); color: var(--ivory); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border-left: 4px solid var(--gold); max-width: 300px;
  animation: badge-float 7s ease-in-out infinite;
}
.stat-num { font: 800 44px/1 var(--font-serif); color: var(--gold); letter-spacing: -.02em; }
.stat-label { font-size: 14px; font-weight: 500; line-height: 1.35; color: rgba(247,245,239,.9); }
.corner-badge {
  position: absolute; right: -16px; top: 28px; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); box-shadow: var(--shadow);
  animation: badge-float 7s ease-in-out -3.5s infinite;
}
.corner-badge svg { width: 28px; height: 28px; fill: none; stroke: var(--navy-900); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes badge-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -8px, 0); } }
.story-copy > p { font-size: 17px; text-wrap: pretty; }
.story-copy .tick-list { margin-top: 26px; }

.trust-band {
  position: relative; overflow: hidden; padding: 96px 0; color: rgba(247,245,239,.88);
  background:
    radial-gradient(600px 340px at 100% 0%, rgba(200,150,47,.28), transparent 70%),
    radial-gradient(500px 340px at 0% 100%, rgba(31,165,136,.18), transparent 70%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
}
.trust-band::before {
  content: ""; position: absolute; inset: -24px;
  background-image: radial-gradient(rgba(247,245,239,.08) 1.2px, transparent 1.4px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(115deg, transparent 10%, #000 55%, transparent 95%);
  mask-image: linear-gradient(115deg, transparent 10%, #000 55%, transparent 95%);
  animation: dots-pan 16s linear infinite; pointer-events: none;
}
.trust-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.trust-quote { position: relative; padding-left: 28px; border-left: 4px solid var(--gold); }
.trust-quote .quote-mark { position: static; width: 44px; height: 44px; fill: var(--gold); margin-bottom: 16px; }
.trust-quote p { margin: 0; font: 700 clamp(26px, 3vw, 38px)/1.25 var(--font-serif); color: var(--white); letter-spacing: -.015em; text-wrap: balance; }
.trust-copy > p { font-size: 18px; margin-bottom: 28px; }
.trust-copy strong { color: var(--gold); }
.value-row { display: flex; flex-wrap: wrap; gap: 12px; }
.value-row span {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  background: rgba(247,245,239,.08); border: 1px solid rgba(247,245,239,.16);
  font: 600 15px var(--font-serif); color: var(--white);
}
.value-row svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust-band + .cta-wrap .cta-banner { margin-top: 110px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav a, .drop-toggle { padding: 0 10px; font-size: 14.5px; }
}
@media (max-width: 1180px) {
  .main-nav, .nav-cta { display: none; }
  .nav-pill { justify-content: space-between; padding: 8px 8px 8px 20px; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--navy); cursor: pointer; padding: 0 14px;
  }
  .menu-toggle span { height: 2px; background: var(--ivory); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    pointer-events: auto; display: grid; gap: 4px; max-width: 1440px; margin: 10px auto 0; padding: 14px;
    background: var(--white); border-radius: 24px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--navy); }
  .mobile-menu a:not(.btn):hover { background: var(--ivory); }
  .mobile-menu .btn { margin-top: 8px; }
  .mobile-menu a.sub { min-height: 40px; padding-left: 30px; font-weight: 500; font-size: 15px; color: var(--muted); }
}
@media (max-width: 980px) {
  .hero { padding-top: 140px; }
  .hero-photo { background-image: url("assets/hero-mobile.jpg?v=20261030a"); background-position: 55% 40%; }
  .hero-shade { background: linear-gradient(180deg, rgba(247,245,239,.86) 0%, rgba(247,245,239,.74) 40%, rgba(247,245,239,.6) 68%, var(--ivory) 100%); }
  .hero-grid, .intro-grid, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-card, .about-portrait, .faq-head { position: static; }
  .about-portrait { max-width: 440px; }
  .service-grid, .pillar-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { top: 40px; bottom: 40px; left: 50%; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--gold) 0 8px, transparent 8px 16px); }
  .cta-banner { grid-template-columns: 1fr; padding: 48px 36px; }
  .cta-art { max-width: 300px; }
  .detail-grid, .boundary-grid, .contact-page-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-aside { position: static; }
  .story-grid, .trust-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-visual { max-width: 560px; }
  .stat-badge { left: 16px; }
  .corner-badge { right: 16px; }
  .related-grid, .pillar-grid.four { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 130px 0 56px; }
  .spacer { height: 84px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 84px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .site-header { padding: 0 10px; inset: 10px 0 auto; }
  .brand-logo { height: 44px; }
  .brand-name { font-size: 22px; }
  .hero { padding: 120px 0 64px; }
  .hero-title { font-size: 40px; }
  .hero-title { font-size: 33px; }
  .hero-lead { font-size: 17px; }
  .hero-title-long { font-size: 29px; }
  .hero-sub { font-size: 18px; }
  .enquiry-form, .form-card-head { padding-left: 20px; padding-right: 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .service-grid, .pillar-grid, .pillar-grid.four, .footer-grid, .two-col, .boundary-cards, .option-grid, .related-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 116px 0 48px; }
  .page-title { font-size: 32px; }
  .page-lead { font-size: 17px; }
  .inc-item { padding: 20px; gap: 14px; }
  .spacer { height: 72px; }
  .section.tight-top { padding-top: 48px; }
  .trust-band { padding: 72px 0; }
  .stat-num { font-size: 36px; }
  .stat-badge { bottom: 20px; padding: 14px 18px; }
  .trust-band + .cta-wrap .cta-banner { margin-top: 72px; }
  .service-card.featured::after { position: static; align-self: flex-start; margin: -6px 0 14px; order: -1; }
  .exp-list > div { grid-template-columns: 1fr; gap: 4px; }
  .acc summary { font-size: 16px; padding-left: 20px; }
  .acc-body { padding: 0 20px 20px; }
  .cta-banner { padding: 40px 24px; margin-top: 72px; }
  .section { padding: 72px 0; }
  .initials { font-size: 80px; }
  .marquee-pause { right: 12px; bottom: 6px; }
  .hero-trend { width: 100%; opacity: .35; }
  .fs-plus, .fs-ring.sm { display: none; }
  .orb-1 { width: 460px; height: 460px; } .orb-2 { width: 380px; height: 380px; }
  .cc-value { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .ca-flag-cloth, .ca-flag-cloth::after { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .scribble path, .cta-art .trend { stroke-dashoffset: 0; }
  .marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; padding: 0 16px; }
  .marquee-track[aria-hidden="true"], .marquee-pause { display: none; }
  .dark-fx .p, .dark-fx .sheen, .fs, .hero-trend { display: none; }
  .stat-badge, .corner-badge { animation: none; }
  .orbs { transform: none; }
}

/* Home: How it works flows straight into the intro (same background) */
.how + .intro { padding-top: 0; }

/* Placeholder pages (Tax Calculator, Blog) */
.coming-soon { padding: 90px 0 120px; }
.soon-tag { display: inline-block; margin: 0; padding: 12px 26px; border-radius: 999px; background: var(--gold-100); color: var(--gold-700); font: 700 14px var(--font-serif); letter-spacing: .14em; text-transform: uppercase; }
