/* ═══════════════════════════════════════════════════════════════════════════
   Dr Sneha Kommineni — Consultant Medical Oncologist, Bengaluru
   Design system. Palette + type extracted from spashtahealthcare.com
   (the site is a personal brand that complements Spashta Healthcare).
   HTML-first build → ports to a WordPress block theme.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Tokens ────────────────────────────────────────────────────────────── */
:root {
  /* Brand (from Spashta) */
  --teal:        #05A6A6;
  --teal-text:   #047E7E;   /* AA-safe teal for body-size links/text */
  --teal-deep:   #036B6B;
  --navy:        #20497A;
  --navy-deep:   #16345A;

  /* Neutrals */
  --ink:         #14232E;
  --body:        #3A4A55;
  --muted:       #6B7A85;
  --line:        #E1ECEC;
  --line-soft:   #EEF5F5;
  --surface:     #F5FBFB;   /* pale teal */
  --surface-2:   #ECF6F6;
  --white:       #FFFFFF;

  /* Type */
  --font:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;   /* Lora is in Spashta's font stack */
  --s--1:  clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --s-0:   clamp(1rem, 0.97rem + 0.15vw, 1.09rem);
  --s-1:   clamp(1.13rem, 1.05rem + 0.4vw, 1.3rem);
  --s-2:   clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
  --s-3:   clamp(1.8rem, 1.45rem + 1.5vw, 2.6rem);
  --s-4:   clamp(2.15rem, 1.7rem + 2.2vw, 3.25rem);
  --s-5:   clamp(2.6rem, 1.9rem + 3.4vw, 4.1rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.15rem, 0.6rem + 2.6vw, 2.75rem);
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-pill: 999px;
  --r-blob: 42% 58% 60% 40% / 45% 45% 55% 55%;

  /* Depth */
  --shadow-sm: 0 1px 2px rgba(20,35,46,.05), 0 2px 8px rgba(20,35,46,.05);
  --shadow-md: 0 4px 14px rgba(20,35,46,.07), 0 14px 40px rgba(20,35,46,.07);
  --shadow-lg: 0 8px 24px rgba(20,35,46,.09), 0 30px 70px rgba(22,52,90,.14);
  --shadow-teal: 0 10px 30px rgba(5,166,166,.22);

  /* Backgrounds */
  --mesh: radial-gradient(60% 55% at 85% 8%, rgba(5,166,166,.10) 0%, rgba(5,166,166,0) 60%),
          radial-gradient(50% 50% at 5% 90%, rgba(32,73,122,.07) 0%, rgba(32,73,122,0) 55%);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ─── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
:target { scroll-margin-top: 100px; }
body {
  font-family: var(--font);
  font-size: var(--s-0);
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-text); text-decoration: none; }
a:hover { color: var(--teal-deep); }
ul, ol { padding-left: 1.15em; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.005em; }
h3, h4 { font-family: var(--font); font-weight: 700; letter-spacing: -0.012em; }
h1 { font-size: var(--s-5); line-height: 1.08; }
h2 { font-size: var(--s-4); line-height: 1.12; }
h3 { font-size: var(--s-2); }
h4 { font-size: var(--s-1); }
h1 em, h2 em { font-style: italic; color: var(--teal-text); }
strong { color: var(--ink); font-weight: 650; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ─── Layout helpers ────────────────────────────────────────────────────── */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.25rem, 2rem + 6vw, 6rem); }
.section--tight { padding-block: clamp(2.25rem, 1.5rem + 4vw, 4rem); }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy-deep); color: #D9E4F0; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.narrow { max-width: 720px; }
.measure { max-width: 66ch; }
.center { text-align: center; margin-inline: auto; }
.grid { display: grid; gap: clamp(1.25rem, 0.8rem + 1.6vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.75rem; }

/* ─── Typographic bits ──────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: var(--s--1); font-weight: 650; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal-text);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); }
.lead { font-size: var(--s-1); color: var(--body); }
.section-head { max-width: 660px; margin-bottom: clamp(1.75rem, 1rem + 2vw, 3rem); }
.section-head.center { margin-inline: auto; }
.kicker { color: var(--muted); font-size: var(--s--1); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font: inherit; font-weight: 600; font-size: var(--s-0);
  padding: .85em 1.5em; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-teal); }
.btn-primary:hover { background: var(--teal-deep); color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy-deep); }
.btn-light:hover { color: var(--navy-deep); box-shadow: var(--shadow-md); }
.btn-wa { background: #EAF7F7; color: var(--teal-deep); border-color: #CDEAEA; }
.btn-wa:hover { background: #DDF1F1; color: var(--teal-deep); }
.btn-group { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ─── Top utility bar ───────────────────────────────────────────────────── */
.topbar { background: var(--navy-deep); color: #AEC0D6; font-size: .78rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 36px; }
.topbar a { color: #E3EBF5; font-weight: 550; }
.topbar a:hover { color: #fff; }
.topbar .sep { color: #4C6188; margin-inline: .6rem; }
.topbar-r { display: inline-flex; align-items: center; gap: .5em; }
.topbar-r svg { color: var(--teal); }
@media (max-width: 760px) { .topbar { display: none; } }

/* ─── Header / nav ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), background .25s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20,35,46,.08); border-color: transparent; }
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 82px; padding-inline: var(--gutter);
  max-width: var(--container); margin-inline: auto;
  transition: min-height .25s var(--ease);
}
.site-header.scrolled .nav { min-height: 66px; }
.brand { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  border: 2px solid #fff; box-shadow: 0 3px 10px rgba(20,35,46,.16), 0 0 0 1px var(--line);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.site-header.scrolled .brand-mark { width: 38px; height: 38px; transition: width .25s var(--ease), height .25s var(--ease); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.12; }
.brand-txt b { color: var(--navy); font-family: var(--serif); font-weight: 600; font-size: 1.12rem; letter-spacing: 0; }
.brand-txt span { color: var(--teal-text); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.nav-links > a, .nav-item > button {
  position: relative; color: var(--ink); font-size: .92rem; font-weight: 550;
  font-family: var(--font); background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: .3em; padding-block: .4rem;
  white-space: nowrap;
}
.nav-links > a::after, .nav-item > button::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--teal); transition: right .25s var(--ease);
}
.nav-links > a:hover, .nav-item:hover > button { color: var(--teal-text); }
.nav-links > a:hover::after, .nav-item:hover > button::after { right: 0; }
.nav-links > a[aria-current="page"] { color: var(--teal-text); }
.nav-links > a[aria-current="page"]::after { right: 0; }
.nav-item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: .55rem; min-width: 268px;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--ease);
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: .7rem .85rem; border-radius: 10px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.dropdown a:hover { background: var(--surface); color: var(--teal-text); }
.nav-cta { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; border-radius: 2px; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links > a.nav-mobile-cta { display: none; }

@media (max-width: 1200px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: .1rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .75rem var(--gutter) 1.75rem; box-shadow: var(--shadow-lg);
  }
  .nav.open .nav-links > a, .nav.open .nav-item > button { padding: .85rem 0; font-size: 1rem; width: 100%; }
  .nav.open .nav-links > a::after, .nav.open .nav-item > button::after { display: none; }
  .nav.open .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; border-left: 2px solid var(--surface-2); border-radius: 0;
    padding: 0 0 .5rem 1rem; min-width: 0;
  }
  .nav.open .nav-links > a.nav-mobile-cta { display: inline-flex; justify-content: center; margin-top: .9rem; }
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: clip;
  padding-block: clamp(2.75rem, 1.5rem + 5vw, 5.5rem) clamp(3rem, 2rem + 4vw, 5rem);
  background: var(--mesh);
}
.hero::before {   /* signature arc motif */
  content: ""; position: absolute; top: -30%; right: -14%; width: 640px; height: 640px;
  border: 1.5px solid rgba(5,166,166,.16); border-radius: 50%;
  -webkit-mask-image: linear-gradient(200deg, #000 30%, transparent 62%);
          mask-image: linear-gradient(200deg, #000 30%, transparent 62%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.15rem; max-width: 15ch; }
.hero .lead { margin-bottom: 2rem; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.6rem; }
.hero-creds { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .85rem; font-size: .85rem; color: var(--muted); font-weight: 550; }
.hero-creds b { color: var(--navy); font-weight: 600; }
.hero-creds .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--teal); }

/* portrait composition */
.hero-portrait { position: relative; width: min(100%, 440px); margin-inline: auto; aspect-ratio: 1 / 1.12; }
.hero-portrait .blob {
  position: absolute; inset: -8% -10% -12% 6%;
  background: linear-gradient(150deg, var(--surface-2), #E7F4F1);
  border-radius: var(--r-blob); z-index: 0;
}
.hero-portrait .arc {
  position: absolute; right: -9%; top: 8%; width: 46%; aspect-ratio: 1; z-index: 3;
  border: 2px solid var(--teal); border-radius: 50%;
  -webkit-mask-image: linear-gradient(220deg, #000 40%, transparent 75%);
          mask-image: linear-gradient(220deg, #000 40%, transparent 75%);
}
.hero-portrait .photo-wrap {
  position: absolute; inset: 0; z-index: 2;
  border-radius: 26px 26px 26px 60px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 5px solid #fff;
}
.hero-portrait .photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero-badge {
  position: absolute; left: -7%; bottom: 8%; z-index: 4;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-md); padding: .85rem 1rem; max-width: 230px;
  display: flex; gap: .65rem; align-items: flex-start;
}
.hero-badge svg { flex-shrink: 0; color: var(--teal); margin-top: 1px; }
.hero-badge p { font-size: .78rem; line-height: 1.4; color: var(--body); margin: 0; }
.hero-badge b { display: block; color: var(--ink); font-size: .84rem; margin-bottom: .1rem; }
.hero-tag {
  position: absolute; right: 2%; top: -3%; z-index: 4;
  display: inline-flex; align-items: center; gap: .45em;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: .4rem .85rem; font-size: .74rem; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.hero-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero-portrait { margin-top: 1rem; width: min(100%, 380px); }
  .hero::before { width: 400px; height: 400px; }
}

/* ─── Credentials strip ─────────────────────────────────────────────────── */
.creds {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-radius: var(--r-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  margin-top: -1.75rem; position: relative; z-index: 5;
}
.creds span {
  display: flex; align-items: center; gap: .65em;
  padding: 1.15rem clamp(1.1rem, .8rem + .8vw, 1.6rem);
  font-size: .9rem; color: var(--ink); font-weight: 550; line-height: 1.35;
  border-right: 1px solid var(--line);
}
.creds span:last-child { border-right: 0; }
.creds span::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5.2' stroke='%23047E7E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
@media (max-width: 760px) {
  .creds { grid-template-columns: 1fr; }
  .creds span { border-right: 0; border-bottom: 1px solid var(--line); }
  .creds span:last-child { border-bottom: 0; }
}

/* ─── Cards ─────────────────────────────────────────────────────────────── */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2rem);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #D3E7E7; }
.card h3 { font-size: var(--s-1); margin-bottom: .5rem; }
.card p { font-size: .96rem; }
.card .card-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--teal-deep); margin-bottom: 1rem;
}
.card-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .9rem; margin-top: 1rem; }
.card--flat { background: var(--surface); border-color: transparent; }
.card--navy { background: var(--navy-deep); border-color: transparent; color: #CBD8E8; }
.card--navy h3 { color: #fff; }

/* ─── Feature row (editorial two-col) ───────────────────────────────────── */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); align-items: center; }
.feature--reverse .feature-media { order: -1; }
.feature + .feature { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature--reverse .feature-media { order: 0; } }

/* ─── Stat ──────────────────────────────────────────────────────────────── */
.stat b { display: block; font-size: var(--s-3); color: var(--navy); letter-spacing: -0.02em; }
.stat span { font-size: .9rem; color: var(--muted); }

/* ─── Image placeholder ─────────────────────────────────────────────────── */
.img-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; text-align: center;
  background:
    repeating-linear-gradient(45deg, var(--surface) 0 12px, var(--surface-2) 12px 24px);
  border: 2px dashed #B9DEDE; border-radius: var(--r-lg);
  color: var(--teal-deep); padding: 2rem 1.25rem; min-height: 240px;
}
.img-ph svg { opacity: .7; }
.img-ph b { font-size: .95rem; color: var(--navy); }
.img-ph span { font-size: .8rem; color: var(--muted); max-width: 32ch; }
.img-ph--wide { aspect-ratio: 16 / 9; min-height: 0; }
.img-ph--portrait { aspect-ratio: 4 / 5; min-height: 0; }
.img-ph--square { aspect-ratio: 1 / 1; min-height: 0; }
.img-ph--tall { aspect-ratio: 3 / 4; min-height: 0; }

/* ─── Prose (article body) ─────────────────────────────────────────────── */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: var(--s-2); margin-top: 2.5rem; }
.prose h3 { font-size: var(--s-1); margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* ─── FAQ / accordion ──────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 600; color: var(--ink); font-size: var(--s-1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--teal); transition: transform .2s;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 0 1.3rem; color: var(--body); max-width: 70ch; }
.faq details > div > * + * { margin-top: .8rem; }

/* ─── Resource / contents card ────────────────────────────────────────── */
.resource-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); padding: 1.4rem; position: relative;
}
.resource-card::before {
  content: ""; position: absolute; inset: -14px -14px auto auto; width: 88px; height: 88px;
  border: 2px solid rgba(5,166,166,.2); border-radius: 50%; z-index: -1;
}
.resource-card .kicker { display: block; margin-bottom: .35rem; }
.resource-list { list-style: none; padding: 0; margin: 0; }
.resource-list li + li { border-top: 1px solid var(--line-soft); }
.resource-list a { display: flex; flex-direction: column; gap: .1rem; padding: .8rem .7rem; border-radius: 12px; }
.resource-list a:hover { background: var(--surface); }
.resource-list b {
  color: var(--ink); font-size: .98rem; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.resource-list b::after { content: "\2192"; color: var(--teal); font-weight: 400; transition: transform .2s var(--ease); }
.resource-list a:hover b::after { transform: translateX(3px); }
.resource-list span { color: var(--muted); font-size: .82rem; line-height: 1.4; }

/* numbered pathway (in a resource-card) */
.pathway { list-style: none; padding: 0; margin: .4rem 0 0; counter-reset: step; }
.pathway li { position: relative; padding: .8rem .7rem .8rem 2.6rem; }
.pathway li + li { border-top: 1px solid var(--line-soft); }
.pathway li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: .6rem; top: .9rem;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--surface-2); color: var(--teal-deep);
  font-size: .82rem; font-weight: 700; display: grid; place-items: center;
}
.pathway b { display: block; color: var(--ink); font-size: .98rem; font-weight: 600; }
.pathway span { color: var(--muted); font-size: .82rem; }

/* ─── Anchor list (sticky section nav) ─────────────────────────────────── */
.anchor-nav {
  position: sticky; top: 90px; align-self: start;
  border-left: 2px solid var(--line); padding-left: 1rem;
}
.anchor-nav a { display: block; padding: .35rem 0; font-size: .88rem; color: var(--muted); font-weight: 550; }
.anchor-nav a:hover { color: var(--teal-text); }
.split { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 1rem + 4vw, 4rem); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .anchor-nav { display: none; } }

/* ─── CTA band ─────────────────────────────────────────────────────────── */
.cta-band { background: var(--navy-deep); color: #CFDDEC; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: .8rem; }
.cta-band p { max-width: 52ch; margin: 0 auto 1.8rem; }
.cta-band .btn-group { justify-content: center; }
.cta-note { font-size: .82rem; color: #93A8C4; margin-top: 1.2rem; }

/* ─── Chips / tags ─────────────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font-size: .82rem; font-weight: 550; padding: .4em .9em; border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--teal-deep); border: 1px solid #D6ECEC;
}

/* ─── Disclaimer ───────────────────────────────────────────────────────── */
.disclaimer {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.1rem 1.25rem; font-size: .85rem; color: var(--muted); line-height: 1.6;
}
.disclaimer b { color: var(--body); }

/* ─── Footer ───────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #9FB0BB; padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer a { color: #9FB0BB; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; }
.footer-links li + li { margin-top: .55rem; }
.footer-brand b { color: #fff; font-size: 1.05rem; display: block; }
.footer-brand span { color: var(--teal); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #2A3B45;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .8rem;
}
.footer-disclaimer { max-width: 60ch; margin-top: 1rem; font-size: .8rem; color: #8194A0; line-height: 1.6; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ─── Photos ───────────────────────────────────────────────────────────── */
.photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--wide { aspect-ratio: 16 / 10; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--tall { aspect-ratio: 3 / 4; }
.photo--soft { border-radius: 26px 26px 26px 56px; }

/* map embed */
.map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--surface); }
.map-embed iframe { display: block; width: 100%; aspect-ratio: 16 / 11; border: 0; }

/* full-width photo band with brand overlay */
.band-photo { position: relative; overflow: clip; color: #EAF3F3; }
.band-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,52,90,.92) 0%, rgba(16,52,90,.72) 45%, rgba(5,166,166,.55) 100%);
}
.band-photo .container { position: relative; z-index: 1; }
.band-photo h2, .band-photo h3 { color: #fff; }
.band-photo .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.band-photo .btn-ghost:hover { background: #fff; color: var(--navy-deep); }

/* framed portrait card (About / sidebars) */
.portrait-card { position: relative; width: min(100%, 360px); }
.portrait-card .photo-wrap { border-radius: 22px 22px 22px 48px; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 1/1.15; }
.portrait-card .photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.portrait-card::before { content: ""; position: absolute; inset: -7% 8% -9% -8%; background: linear-gradient(150deg, var(--surface-2), #E7F4F1); border-radius: var(--r-blob); z-index: -1; }

/* ─── Signature arc divider ────────────────────────────────────────────── */
.arc-top { position: relative; }
.arc-top::before {
  content: ""; position: absolute; left: 50%; top: -1px; transform: translateX(-50%);
  width: 140%; height: 60px; background: inherit;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

/* ─── Scroll reveal ────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─── Button arrow ────────────────────────────────────────────────────── */
.btn--arrow svg { transition: transform .2s var(--ease); }
.btn--arrow:hover svg { transform: translateX(3px); }

/* ─── Utilities ────────────────────────────────────────────────────────── */
.mt-0 { margin-top: 0; }
.pill-note { display: inline-flex; gap: .5em; align-items: center; font-size: .85rem; color: var(--muted); }
.hr { border: 0; border-top: 1px solid var(--line); margin-block: clamp(2rem,1.5rem+2vw,3.5rem); }
[hidden] { display: none !important; }
