/* Asad Associates: black, white and electric blue. Bold Inter Tight headings with one Playfair italic word, rounded pill buttons, and a ledger layout (ruled rows, heading margin). */
:root {
  --paper: #FFFFFF;
  --ink: #0B0D12;
  --ink-2: #4B5563;
  --accent-700: #003BB0;
  --accent-text: #0047CC;      /* blue for text on white or tint: 7:1 */
  --accent-500: #0052E6;
  --accent-400: #3D7BFF;
  --accent-300: #A8C4FF;
  --accent-100: #DCE8FF;
  --accent-50: #F4F8FF;
  --line: #E4E9F2;
  --line-strong: #CFD8E6;
  --danger: #A3261B;
  --accent-grad: linear-gradient(135deg, #0052E6 0%, #3D7BFF 100%);
  --r: 12px;                   /* fields, cards */
  --r-lg: 20px;                /* maps, photos */
  --pill: 999px;               /* buttons */
  --maxw: 1180px;
  --font-head: "Inter Tight", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;   /* italic accent words only */
  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body { margin: 0; font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--paper); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--accent-500); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-color .15s, color .15s; }
a:hover { color: var(--accent-700); text-decoration-color: var(--accent-700); }
:focus-visible { outline: 3px solid var(--accent-500); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
address { font-style: normal; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 3.6vw + 1rem, 4rem); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.25rem); line-height: 1.12; }
h3 { font-size: 1.25rem; line-height: 1.25; }
/* The signature: one word set in Playfair italic (write it as *word* in the heading text). */
h1 em, h2 em, h3 em, .pledge__motto em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2rem; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 100; border-radius: var(--r); font-weight: 600; }
.skip-link:focus { top: 8px; }
.icon { flex: none; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(3.25rem, 6.5vw, 5.5rem); position: relative; }
.section--tint { background: var(--accent-50); border-block: 1px solid var(--line); }
section[id] { scroll-margin-top: 110px; }

/* ledger layout: heading in the left margin, content on the right */
.split { display: grid; gap: 1.5rem 4.5rem; grid-template-columns: minmax(0, 1fr); }
.split__head h2 { margin-bottom: .5rem; font-size: clamp(1.4rem, .9vw + 1.1rem, 1.75rem); text-wrap: balance; }
.split__head h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: .85rem; background: var(--accent-grad); border-radius: 2px; }
.split__head p { color: var(--ink-2); font-size: .98rem; margin-top: .9rem; }
.split__body { min-width: 0; }
@media (min-width: 920px) {
  .split { grid-template-columns: 250px minmax(0, 1fr); }
  .split > .split__head { position: sticky; top: 118px; align-self: start; }   /* only in the two-column layout; a full-width heading above a timeline must scroll normally */
}
.prose { max-width: 66ch; }
.prose-lead { font-family: var(--font-head); font-size: clamp(1.35rem, 1vw + 1.05rem, 1.75rem); line-height: 1.45; font-weight: 500; letter-spacing: -.015em; max-width: 36ch; }
.lead { font-size: 1.2rem; line-height: 1.65; color: var(--ink-2); max-width: 58ch; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.9rem; border-radius: var(--pill); font: 600 1rem/1.2 var(--font-head); letter-spacing: .005em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; min-height: 52px; transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s; }
.btn--sm { padding: .55rem 1.3rem; min-height: 44px; font-size: .95rem; }
.btn--primary { background: var(--accent-500); color: #fff; box-shadow: 0 8px 20px rgba(0,82,230,.28); }
.btn--primary:hover { background: var(--accent-700); color: #fff; box-shadow: 0 10px 24px rgba(0,59,176,.34); transform: translateY(-1px); }
.btn--outline, .btn--outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover, .btn--outline-dark:hover { background: var(--ink); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--ink:hover { background: #000; color: #fff; transform: translateY(-1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.25rem 0; }
.text-link { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent-grad); }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 64px; padding-block: 4px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand__logo { height: 54px; width: auto; }
@media (min-width: 900px) { .brand__logo { height: 70px; } .site-header__inner { min-height: 82px; } }
.site-footer .brand__logo { height: 88px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--ink); border-radius: var(--r); width: 46px; height: 42px; cursor: pointer; padding: 0; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); }
.nav-toggle__bars { top: 18px; } .nav-toggle__bars::before { left: 0; right: 0; top: -7px; } .nav-toggle__bars::after { left: 0; right: 0; top: 7px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.site-nav a:not(.btn) { display: block; padding: .6rem .8rem; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: .98rem; position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px; background: var(--accent-500); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.site-nav__cta { margin-left: .75rem; }
/* Icon-only call button on phones (below 900px); hidden while the full nav is tight, then the number shows from 1180px. */
.site-header__phone { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-weight: 600; text-decoration: none; white-space: nowrap; font-size: .98rem; width: 46px; height: 42px; border: 1.5px solid var(--accent-500); border-radius: var(--r); background: var(--accent-50); }
.site-header__phone .icon { color: var(--accent-700); }
.site-header__phone span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 900px) { .site-header__phone { display: none; } }
@media (min-width: 1180px) {
  .site-header__phone { display: inline-flex; width: auto; height: auto; border: 0; background: none; }
  .site-header__phone .icon { color: var(--accent-500); }
  .site-header__phone span { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; }
}

@media (max-width: 899px) {
  @media (scripting: enabled) {
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 3px solid var(--accent-500); box-shadow: 0 16px 28px rgba(11,13,18,.12); padding: .5rem 20px 1.1rem; }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; align-items: stretch; }
    .site-nav a:not(.btn) { padding: .9rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
    .site-nav a:not(.btn)::after { display: none; }
    .site-nav__cta { margin: .9rem 0 0; }
    .site-nav .btn { width: 100%; min-height: 50px; }
  }
  .site-nav ul { flex-wrap: wrap; }
}

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 520px at 88% 30%, var(--accent-50), transparent 70%), var(--paper); border-bottom: 1px solid var(--line); }
.hero::before, .page-hero::before { content: ""; position: absolute; top: 0; left: 0; width: 140px; height: 140px; pointer-events: none; background: linear-gradient(135deg, var(--accent-500) 0 16px, transparent 16px 30px, var(--accent-300) 30px 35px, transparent 35px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: clamp(2.75rem, 6vw, 5rem); align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.1rem, 2.4vw + 1rem, 3.25rem); max-width: 19ch; margin-bottom: .45em; text-wrap: balance; }
.hero .lead { margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.25rem; }
.hero__signature { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--accent-700); margin: 0 0 .6rem; display: flex; align-items: center; gap: .9rem; }
.hero__signature::before { content: ""; width: 44px; height: 2px; background: var(--accent-grad); }
.motto { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; font-size: .95rem; color: var(--ink-2); }
.motto li + li::before { content: ""; display: inline-block; width: 1px; height: .9em; background: var(--accent-500); margin: 0 .9rem; vertical-align: -.1em; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 3rem; } }
.hero__grid > *, .contact-grid > *, .pledge__grid > * { min-width: 0; }

/* ---------- inner-page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--accent-50) 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2.25rem, 4vw, 3.25rem); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 20ch; margin-bottom: .35em; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.4rem; font-size: .92rem; color: var(--ink-2); }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--accent-500); }
.breadcrumbs a { color: var(--ink-2); }
.has-watermark .page-hero::after, .has-watermark .pledge::after { content: ""; position: absolute; right: -30px; bottom: -50px; width: min(420px, 62%); aspect-ratio: 1; background: var(--accent-500); -webkit-mask: url("/images/logo/logo-watermark.png") center / contain no-repeat; mask: url("/images/logo/logo-watermark.png") center / contain no-repeat; opacity: .07; pointer-events: none; }   /* the file is a flat silhouette; the mask recolours it */
.has-watermark .pledge::after { background: #fff; opacity: .12; }

/* ---------- map ---------- */
.map { margin: 0; }
.map__frame { border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--accent-50); box-shadow: 0 18px 40px rgba(0,59,176,.12); }
.map svg { display: block; width: 100%; height: auto; }
.map__sea { fill: var(--accent-50); }
.map__grid line { stroke: var(--accent-100); stroke-width: 1; }
.map__land { fill: #fff; stroke: var(--accent-500); stroke-width: 1.6; stroke-linejoin: round; }
.map__mainland { fill: none; stroke: var(--accent-300); stroke-width: 1.4; stroke-dasharray: 2 6; stroke-linecap: round; }
.map__water { fill: var(--accent-text); opacity: .75; font: italic 14px var(--font-serif); }
.map__water--sm { font-size: 12px; }
.map__pin .dot { fill: var(--accent-500); stroke: #fff; stroke-width: 2.5; }
.map__pin text { fill: var(--ink); font: 600 13px var(--font-sans); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.map__hub .dot { fill: var(--ink); stroke: var(--accent-400); stroke-width: 3.5; }
.map__hub text { font-weight: 700; font-size: 14px; }
.map__ripple { fill: none; stroke: var(--accent-500); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.map figcaption { font-size: .86rem; color: var(--ink-2); margin-top: .6rem; }
/* one entrance: Rajkot ripples, then the other towns appear outward from it */
@media (prefers-reduced-motion: no-preference) {
  .map__pin { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pin .55s cubic-bezier(.2,.9,.3,1.3) forwards; }
  .map__ripple { animation: ripple 2.2s ease-out .15s 2 both; }
  .map__pin:nth-of-type(1) { animation-delay: .15s; } .map__pin:nth-of-type(2) { animation-delay: .5s; } .map__pin:nth-of-type(3) { animation-delay: .6s; }
  .map__pin:nth-of-type(4) { animation-delay: .7s; } .map__pin:nth-of-type(5) { animation-delay: .8s; } .map__pin:nth-of-type(6) { animation-delay: .9s; }
  .map__pin:nth-of-type(7) { animation-delay: 1s; } .map__pin:nth-of-type(8) { animation-delay: 1.1s; } .map__pin:nth-of-type(9) { animation-delay: 1.2s; }
  .map__pin:nth-of-type(10) { animation-delay: 1.3s; } .map__pin:nth-of-type(11) { animation-delay: 1.4s; } .map__pin:nth-of-type(12) { animation-delay: 1.5s; } .map__pin:nth-of-type(13) { animation-delay: 1.6s; }
}
@keyframes pin { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes ripple { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(7); } }
@media (max-width: 639px) {
  .map__frame { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .map svg { min-width: 560px; }
  .map figcaption::before { content: "Swipe sideways to see the whole map. "; font-weight: 600; color: var(--accent-text); }
}

/* ---------- interactive map (Leaflet), see js/map.js ---------- */
.livemap { height: clamp(340px, 62vw, 560px); border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 18px 40px rgba(0,59,176,.12); background: var(--accent-50); z-index: 0; }
.livemap[hidden], .map__frame[hidden], .map figcaption[hidden] { display: none; }
.map .map__cap-live::before { content: none; }
.hero__map .livemap { height: clamp(340px, 46vw, 480px); }
.livemap .leaflet-tile-pane { filter: saturate(.7) contrast(.97); }   /* calm the map colours so the blue pins stand out */
.livemap .leaflet-control-zoom a { color: var(--ink); }
.livemap .leaflet-control-attribution { font-size: .72rem; }
.lm-pin { background: none; border: 0; }
.lm-pin__dot { display: block; width: 100%; height: 100%; box-sizing: border-box; border-radius: 50%; background: var(--accent-500); border: 2.5px solid #fff; box-shadow: 0 1px 4px rgba(11,13,18,.4); transition: transform .15s; }
.lm-pin:hover .lm-pin__dot, .lm-pin:focus-visible .lm-pin__dot { transform: scale(1.3); }
.lm-pin--hub .lm-pin__dot { background: var(--ink); border-color: var(--accent-400); border-width: 3.5px; }
.lm-pin--hub .lm-pin__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent-500); animation: lm-pulse 2.2s ease-out infinite; }
@keyframes lm-pulse { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.6); } }
.lm-label { background: rgba(255,255,255,.95); border: 0; border-radius: 6px; box-shadow: 0 1px 3px rgba(11,13,18,.25); color: var(--ink); font: 600 .8rem var(--font-head); padding: 1px 7px; }
.lm-label::before { display: none; }
.lm-label--hub { font-weight: 700; font-size: .88rem; }
.livemap--compact .lm-label:not(.lm-label--hub) { display: none; }
.leaflet-popup-content { font-family: var(--font-sans); margin: 10px 14px; }
.towns--link li { cursor: pointer; transition: color .15s; }
.towns--link li:hover { color: var(--accent-700); }
.towns--link li:focus-visible { outline: 3px solid var(--accent-500); outline-offset: -3px; }

/* ---------- ledger rows (services, choices) ---------- */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.ledger > li { display: grid; gap: .3rem 2.5rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line-strong); }
.ledger h3 { margin: 0; font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; }
.ledger p { margin: 0; color: var(--ink-2); max-width: 54ch; }
@media (min-width: 720px) { .ledger > li { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: baseline; } }

/* plain item lists with gold diamond bullets */
.items { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: 3rem; }
.items li { position: relative; padding: .55rem 0 .55rem 1.5rem; border-bottom: 1px solid var(--line); break-inside: avoid; }
.items li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 7px; height: 7px; background: var(--accent-500); transform: rotate(45deg); }
@media (min-width: 640px) { .items { columns: 2; } }
.items--solo { columns: 1; max-width: 62ch; }

/* towns, set in the serif as a tidy grid */
.towns { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: .15rem 1.5rem; margin: 0 0 1.5rem; padding: 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.2rem, .8vw + 1rem, 1.45rem); line-height: 1.5; letter-spacing: -.01em; }
.towns li { position: relative; padding: .45rem 0 .45rem 1.35rem; border-bottom: 1px solid var(--line); }
.towns li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 7px; height: 7px; background: var(--accent-500); transform: rotate(45deg); }

/* ---------- process timeline (a real sequence) ---------- */
.timeline { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.timeline li { counter-increment: step; position: relative; padding: 0 0 1.9rem 3.6rem; }
.timeline li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink); border: 1.5px solid var(--accent-500); font: 600 1.05rem var(--font-head); z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 1.25rem; top: 2.5rem; bottom: .2rem; width: 1.5px; background: var(--accent-300); }
.timeline li:last-child::after { display: none; }
.timeline h3 { margin: .2rem 0 .25rem; font-size: 1.2rem; font-weight: 600; }
.timeline p { margin: 0; color: var(--ink-2); max-width: 46ch; font-size: .98rem; }
@media (min-width: 1000px) {
  .timeline { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 1.5rem; }
  .timeline--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .timeline li { padding: 3.6rem 0 0; }
  .timeline li::after { left: 2.5rem; right: -1.5rem; top: 1.25rem; bottom: auto; width: auto; height: 1.5px; }
  .timeline li:last-child::after { display: none; }
}
.timeline-note { margin-top: 1.5rem; }

/* ---------- pledge (home conduct) ---------- */
.pledge { overflow: hidden; background: var(--accent-500); color: #fff; }
.pledge h2, .pledge__motto { color: #fff; }
.pledge a:not(.btn) { color: #fff; }
.pledge .btn--outline { color: #fff; border-color: #fff; }
.pledge .btn--outline:hover { background: #fff; color: var(--accent-500); }
.pledge__grid { display: grid; gap: 2rem 4rem; position: relative; z-index: 1; }
.nowrap { white-space: nowrap; }
.pledge__motto { text-wrap: balance; hyphens: none; font-family: var(--font-head); font-size: clamp(2.1rem, 2.6vw + 1rem, 3.4rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; margin: 0 0 1.25rem; padding-left: 1.4rem; border-left: 4px solid var(--accent-300); max-width: 14ch; }
.pledge__list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .25rem 2rem; }
.pledge__list li { display: flex; gap: .75rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.28); font-size: 1.08rem; }
.pledge__list .icon { color: #fff; transform: translateY(.2rem); }
@media (min-width: 920px) { .pledge__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }

/* ---------- call to action ---------- */
.cta-band { background: var(--ink); padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band h2 { color: #fff; margin: 0; max-width: 28ch; font-size: clamp(1.6rem, 1.8vw + 1.1rem, 2.5rem); line-height: 1.12; }
.cta-band .btn--ink { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn--ink:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line-strong); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: var(--accent-grad); }
.footer-grid { display: grid; gap: 2.25rem 3rem; padding-block: 3.25rem 2.25rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr 1.2fr 1fr; } }
.footer-h { font: 600 1.05rem var(--font-head); color: var(--ink); margin: 0 0 1rem; letter-spacing: 0; }
.footer-tagline { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--accent-700); margin: 1rem 0 .6rem; }
.footer-note { font-size: .93rem; color: var(--ink-2); max-width: 40ch; }
.footer-links { list-style: none; padding: 0; margin: 0; columns: 2; }
.footer-links a, .contact-list a { display: inline-block; padding: .4rem 0; }
.footer-base { border-top: 1px solid var(--line); padding-block: 1.1rem 1.6rem; font-size: .9rem; color: var(--ink-2); }
.footer-base p { margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .6rem; }
.contact-list .icon { color: var(--accent-500); margin-top: .5rem; }

/* ---------- forms ---------- */
.form-section { max-width: none; }
.form { display: grid; gap: 1.2rem; grid-template-columns: 1fr; max-width: 760px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label:not(.check) { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: .75rem 1rem; min-height: 52px; transition: border-color .15s, box-shadow .15s; }
.field input[type="file"] { padding: .6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-500); box-shadow: 0 0 0 4px rgba(0,82,230,.2); }
.field [aria-invalid="true"], .input-validation-error { border-color: var(--danger) !important; }
.error, .field-validation-error { display: block; color: var(--danger); font-size: .92rem; margin-top: .3rem; }
.form-alert, .validation-summary-errors { grid-column: 1 / -1; color: var(--danger); border: 1px solid var(--danger); background: #FDF1EF; border-radius: var(--r); padding: .8rem 1rem; }
.form-alert:empty { display: none; }
.form-alert ul { margin: 0; list-style: none; padding: 0; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-weight: 400; font-size: .95rem; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .25rem; flex: none; accent-color: var(--accent-500); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- misc blocks ---------- */
.notice { border-left: 4px solid var(--accent-500); background: var(--accent-50); padding: 1.25rem 1.5rem; border-radius: 0 var(--r) var(--r) 0; max-width: 62ch; }
.notice p:last-child { margin-bottom: 0; }
.empty-state { border: 1.5px dashed var(--accent-500); border-radius: var(--r); padding: 1.25rem 1.5rem; background: var(--accent-50); margin-bottom: 1rem; max-width: 62ch; }
.legal { max-width: 760px; }
.legal h2 { font-size: 1.45rem; margin-top: 2.25rem; }
.faq { border-bottom: 1px solid var(--line-strong); }
.faq:first-of-type { border-top: 1.5px solid var(--ink); }
.faq summary { cursor: pointer; padding: 1.15rem 0; font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; list-style: none; display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-500); font: 300 1.9rem/1 var(--font-sans); }
.faq[open] summary::after { content: "–"; }
.faq__body { padding: 0 0 1.25rem; max-width: 58ch; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { .faq[open] .faq__body { animation: fade .25s ease both; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* about */
.profile { display: grid; gap: 2rem 3rem; }
@media (min-width: 720px) { .profile { grid-template-columns: 280px minmax(0, 1fr); align-items: start; } }
.profile__photo img { border-radius: var(--r-lg); width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 28%; box-shadow: 10px 10px 0 var(--accent-100); }
.profile__placeholder { aspect-ratio: 4 / 5; display: grid; place-items: center; background: var(--accent-grad); color: #fff; font: 600 3.2rem var(--font-head); border-radius: var(--r-lg); box-shadow: 10px 10px 0 var(--accent-100); }
.profile__career { grid-column: 1 / -1; }
.facts { margin: 0; border-top: 1.5px solid var(--ink); max-width: 720px; }
.facts > div { display: grid; gap: .1rem 1.5rem; padding: .9rem 0; border-bottom: 1px solid var(--line-strong); }
@media (min-width: 560px) { .facts > div { grid-template-columns: 11rem minmax(0, 1fr); align-items: baseline; } }
.facts dt { font: 600 .95rem var(--font-head); color: var(--accent-text); }
.facts dd { margin: 0; }
.career-title { font-size: 1.1rem; margin: .5rem 0 .75rem; }
.career { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); max-width: 720px; }
.career li { display: grid; gap: .1rem 1.5rem; padding: .9rem 0; border-bottom: 1px solid var(--line-strong); }
@media (min-width: 560px) { .career li { grid-template-columns: 9.5rem minmax(0, 1fr); align-items: baseline; } }
.career__years { font: 600 .95rem var(--font-head); color: var(--accent-text); letter-spacing: .01em; }
.career__role { display: block; font: 600 1.1rem var(--font-head); letter-spacing: -.01em; }
.career__where { display: block; font-size: .93rem; color: var(--ink-2); }
.profile__name { font-family: var(--font-head); font-weight: 600; font-size: 1.6rem; margin: 0 0 .5rem; }

/* contact */
.contact-grid { display: grid; gap: 3rem 4.5rem; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }

/* borrower choices */
.choices { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.choices li { display: grid; gap: .3rem 2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line-strong); align-items: baseline; }
.choices h3 { margin: 0; font-size: 1.35rem; font-weight: 600; }
.choices p { margin: 0; color: var(--ink-2); }
@media (min-width: 760px) { .choices li { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) auto; } }

/* logo wordmark fallback (shown only if no logo file exists) */
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
.wordmark__row { font: 700 1.5rem var(--font-head); letter-spacing: .04em; }
.wordmark__asad { color: var(--ink); }
.wordmark__assoc { color: var(--accent-text); }
.wordmark__sub { font: 600 .56rem var(--font-sans); letter-spacing: .2em; color: var(--ink-2); margin-top: .3rem; }
.container > .split__head + .timeline { margin-top: 2.25rem; }
