/* Life Care Services — design tokens */
:root {
  --navy-950: #0B1530;
  --navy-900: #111D40;
  --navy-800: #1A2A5A;
  --navy-700: #24387A;
  --gold-500: #C2A06A;
  --gold-600: #A9864F;
  --gold-700: #85663A;
  --ivory-50: #FDFBF7;
  --ivory-100: #F7F2EA;
  --ivory-200: #EDE5D7;
  --ink-900: #141A2B;
  --ink-700: #3A4256;
  --ink-600: #525A6E;
  --line: #E3DACB;
  --white: #FFFFFF;
  --focus: #C2A06A;

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(17, 29, 64, .06), 0 2px 8px rgba(17, 29, 64, .05);
  --shadow-md: 0 10px 30px -12px rgba(17, 29, 64, .22);
  --shadow-lg: 0 30px 60px -24px rgba(11, 21, 48, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --z-header: 30;
  --z-drawer: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-900);
  background: var(--ivory-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy-900); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Typography */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; margin: 0; color: var(--navy-900); }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); }
h3 { font-size: 1.6rem; line-height: 1.2; }
p { margin: 0 0 1.1em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-700);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--ink-700); max-width: 60ch; }
em.accent { font-style: italic; color: var(--gold-700); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold-500); color: var(--navy-950); box-shadow: 0 8px 24px -10px rgba(169, 134, 79, .8); }
.btn-gold:hover { background: #D1B07A; }
.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-ghost:hover { background: var(--navy-900); color: var(--white); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--navy-900); }

/* Utility bar */
.topbar { background: var(--navy-950); color: #D9DDEA; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar a { text-decoration: none; color: inherit; transition: color .2s; }
.topbar a:hover { color: var(--gold-500); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; color: var(--gold-500); }

/* Language switcher */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px;
  background: rgba(255,255,255,.06); color: var(--white); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; cursor: pointer;
  font-size: .85rem; transition: background-color .2s;
}
.lang-btn:hover { background: rgba(255,255,255,.12); }
.lang-btn svg { width: 15px; height: 15px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; z-index: 60;
  background: var(--white); color: var(--ink-900); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  padding: 6px; list-style: none; margin: 0; display: none;
}
.lang.open .lang-menu { display: block; }
.lang-menu a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--ink-900) !important; font-size: .92rem; }
.lang-menu a:hover { background: var(--ivory-100); }
.lang-menu a[aria-current="true"] { background: var(--ivory-100); font-weight: 700; }
.lang-menu small { color: var(--ink-600); font-weight: 600; letter-spacing: .08em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(253, 251, 247, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); }
.brand svg.mark { width: 46px; height: 46px; color: var(--navy-800); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; letter-spacing: .01em; }
.brand-text span { font-size: .66rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-700); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font-size: .95rem; font-weight: 600; color: var(--ink-900); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: color .2s, background-color .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--navy-700); background: var(--ivory-100); }
.nav-link[aria-current="page"] { color: var(--navy-700); }
.nav-link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-menu { position: relative; }
.dropdown {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%);
  width: max-content; max-width: min(640px, 92vw); background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 14px; display: none;
}
.has-menu.open .dropdown { display: block; }
.dropdown-grid { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 4px 10px; }
.dropdown h4 { margin: 8px 12px 6px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-700); }
.dropdown a {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink-900);
  font-size: .93rem; line-height: 1.4; transition: background-color .2s;
}
.dropdown a:hover { background: var(--ivory-100); }
.dropdown a .ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ivory-100); color: var(--navy-800); }
.dropdown a .ico svg { width: 18px; height: 18px; }
.dropdown a small { display: block; color: var(--ink-600); font-size: .8rem; }
.dropdown .ext::after { content: "↗"; margin-left: 4px; color: var(--gold-700); font-size: .8em; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); cursor: pointer; place-items: center; }
.menu-toggle svg { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); display: none; }
.drawer.open { display: block; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(11, 21, 48, .5); }
.drawer-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: var(--ivory-50);
  overflow-y: auto; padding: 18px 20px 40px; box-shadow: var(--shadow-lg);
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; font-weight: 700; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer details[open] summary svg { transform: rotate(180deg); }
.drawer summary svg { width: 16px; height: 16px; transition: transform .2s; }
.drawer details a, .drawer .drawer-link { display: flex; align-items: center; min-height: 46px; text-decoration: none; color: var(--ink-900); }
.drawer details a { padding-left: 12px; color: var(--ink-700); }
.drawer .drawer-link { min-height: 56px; font-weight: 700; border-bottom: 1px solid var(--line); }
.drawer .btn { width: 100%; margin-top: 18px; }

/* Hero */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 140%;
  background: radial-gradient(closest-side, rgba(194, 160, 106, .16), transparent 70%); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin: 20px 0 22px; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 600; color: var(--ink-700); max-width: 220px; line-height: 1.35; }
.trust-item .ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold-500); color: var(--gold-700); }
.trust-item svg { width: 20px; height: 20px; }

.hero-media { position: relative; justify-self: end; width: 100%; max-width: 480px; }
.arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px var(--radius-lg) var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ivory-200);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.arch-frame {
  position: absolute; inset: -14px -14px 14px 14px; border: 1px solid var(--gold-500);
  border-radius: 250px 250px var(--radius-lg) var(--radius-lg); pointer-events: none; z-index: -1;
}
.hero-badge {
  position: absolute; left: -28px; bottom: 36px; background: var(--white); border-radius: var(--radius-md);
  padding: 16px 20px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px; max-width: 280px;
}
.hero-badge .num { font-family: var(--font-body); font-size: 2.1rem; font-weight: 700; letter-spacing: -.02em; color: var(--navy-900); line-height: 1; }
.hero-badge p { margin: 0; font-size: .85rem; line-height: 1.35; color: var(--ink-700); font-weight: 600; }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-alt { background: var(--ivory-100); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 52px; flex-wrap: wrap; }
.section-head h2 { margin-top: 14px; max-width: 18ch; }
.section-head p { max-width: 46ch; color: var(--ink-700); margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.service-card {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 32px 30px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  text-decoration: none; color: inherit; cursor: pointer; overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 3; }
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-500)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.service-card:hover { border-color: var(--gold-500); box-shadow: var(--shadow-md); }
.service-card:hover::after { transform: scaleX(1); }
.service-card .ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-500); }
.service-card .ico svg { width: 28px; height: 28px; }
.service-card h3 { margin-top: 8px; }
.service-card p { color: var(--ink-700); margin: 0; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--navy-700); margin-top: 8px; }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.service-card:hover .card-link svg { transform: translateX(4px); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.about-grid h2 { margin: 14px 0 24px; }
.quote {
  position: relative; padding: 40px 40px 36px; background: var(--navy-900); color: #E6E9F2; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.quote h3 { color: var(--gold-500); font-size: 1rem; font-family: var(--font-body); letter-spacing: .2em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.quote p { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.45; color: var(--white); margin: 0; }
.quote .qmark { position: absolute; top: -22px; right: 32px; width: 64px; height: 64px; border-radius: 50%; background: var(--gold-500); display: grid; place-items: center; color: var(--navy-950); }
.quote .qmark svg { width: 28px; height: 28px; }
.langs { margin-top: 36px; }
.langs h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 14px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-list li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--ink-700); background: var(--white); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 34px 30px; border-top: 1px solid var(--gold-500); }
.step-num { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--gold-500); font-weight: 600; }
.step h3 { margin: 14px 0 10px; }
.step p { color: var(--ink-700); margin: 0; }

/* Coverage */
.coverage { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: clamp(36px, 6vw, 88px); align-items: center; }
.boroughs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; padding: 0; margin: 34px 0 0; }
.boroughs li {
  display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 18px; white-space: nowrap;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; cursor: default;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--navy-900);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.boroughs li:hover, .boroughs li.on { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.b-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--navy-800); box-shadow: 0 0 0 4px rgba(26, 42, 90, .12); transition: background-color .2s, box-shadow .2s; }
.boroughs li:hover .b-dot, .boroughs li.on .b-dot { background: var(--gold-500); box-shadow: 0 0 0 4px rgba(194, 160, 106, .25); }
.office-key { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-size: .88rem; color: var(--ink-600); }
.office-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px rgba(194, 160, 106, .25); flex: none; }

.area-map { margin: 0; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.area-map svg { width: 100%; height: auto; border-radius: calc(var(--radius-lg) - 8px); overflow: hidden; }
.area-map .water { fill: #EDF0F4; }
.area-map .ctx path { fill: #F4EFE6; stroke: #E0D5C2; stroke-width: 1; }
.area-map .area { fill: var(--tone, var(--navy-800)); stroke: #FDFBF7; stroke-width: 1.4; stroke-linejoin: round; cursor: pointer; transition: fill .25s; }
.area-map .area:hover, .area-map .area.on { fill: var(--gold-500); }
.area-map .lbl { font-family: var(--font-body); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; fill: #FFFFFF; pointer-events: none; }
.area-map .lbl.out { fill: var(--navy-900); }
.area-map .lbl.on:not(.out) { fill: var(--navy-950); }
.area-map .leader { stroke: var(--navy-800); stroke-width: 1; stroke-dasharray: 2 3; }
.area-map .office .core { fill: var(--gold-500); stroke: #fff; stroke-width: 1.5; }
.area-map .office .ring { fill: none; stroke: var(--gold-500); stroke-width: 1.5; }
.area-map .office .pulse { fill: rgba(194, 160, 106, .35); transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
:lang(zh) .area-map .lbl, :lang(he) .area-map .lbl { letter-spacing: 0; }

/* Dark band (caregivers) */
.band { background: var(--navy-950); color: #D5DAE8; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; left: -15%; bottom: -60%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(194, 160, 106, .18), transparent 70%); }
.band h2, .band h3 { color: var(--white); }
.band .eyebrow { color: var(--gold-500); }
.band .section-head p { color: #B9C0D4; }
.resources { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.resource {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; min-height: 84px;
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); background: rgba(255,255,255,.03);
  text-decoration: none; color: var(--white); font-weight: 600; cursor: pointer; transition: background-color .2s, border-color .2s;
}
.resource:hover { background: rgba(255,255,255,.08); border-color: var(--gold-500); }
.resource .ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(194, 160, 106, .14); color: var(--gold-500); }
.resource .ico svg { width: 20px; height: 20px; }
.resource small { display: block; color: #9EA6BE; font-weight: 500; font-size: .8rem; margin-top: 2px; }
.resource .arrow { margin-left: auto; width: 18px; height: 18px; color: var(--gold-500); flex: none; }
.band-sub { position: relative; margin: 44px 0 18px; }

/* CTA */
.cta {
  position: relative; display: grid; grid-template-columns: 1.3fr auto; gap: 30px; align-items: center;
  padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #E1E6F2; overflow: hidden;
}
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(194, 160, 106, .35); }
.cta h2 { color: var(--white); margin-bottom: 12px; }
.cta p { margin: 0; max-width: 52ch; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }

/* Page hero */
.page-hero { background: var(--navy-950); color: #D5DAE8; padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -40%; width: 55%; height: 180%; background: radial-gradient(closest-side, rgba(194, 160, 106, .2), transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin: 18px 0 18px; max-width: 20ch; font-size: clamp(2.4rem, 5vw, 4rem); }
.page-hero .lead { color: #C3C9DB; }
.page-hero .eyebrow { color: var(--gold-500); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; list-style: none; margin: 0; padding: 0; color: #9EA6BE; }
.crumbs a { color: #D5DAE8; text-decoration: none; }
.crumbs a:hover { color: var(--gold-500); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #6B7491; }

.page-body { padding: clamp(56px, 7vw, 96px) 0; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { max-width: 70ch; font-size: 1.08rem; color: var(--ink-700); }
.prose > p:first-of-type::first-letter { font-family: var(--font-display); font-size: 4.2rem; float: left; line-height: .85; padding: 8px 12px 0 0; color: var(--gold-600); font-weight: 600; }
.prose h2 { font-size: 2rem; margin: 40px 0 18px; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin: 28px 0 32px; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink-900); font-weight: 600; font-size: .98rem; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--gold-600); }
.callout { display: flex; gap: 18px; padding: 26px 28px; background: var(--ivory-100); border-left: 3px solid var(--gold-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 32px 0; color: var(--ink-900); }
.callout svg { width: 26px; height: 26px; flex: none; color: var(--gold-700); margin-top: 2px; }
.callout p { margin: 0; }

.aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.aside-card { padding: 30px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.aside-card.dark { background: var(--navy-900); color: #D5DAE8; border-color: var(--navy-900); }
.aside-card.dark h3 { color: var(--white); }
.aside-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.aside-card p { font-size: .95rem; }
.aside-card .btn { width: 100%; margin-top: 8px; }
.aside-phone { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--gold-500); text-decoration: none; margin: 4px 0 8px; }
.aside-list { list-style: none; padding: 0; margin: 0; }
.aside-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink-900); font-weight: 600; font-size: .95rem; transition: color .2s; }
.aside-list li:last-child a { border-bottom: 0; }
.aside-list a:hover, .aside-list a[aria-current="page"] { color: var(--gold-700); }
.aside-list svg { width: 16px; height: 16px; color: var(--gold-600); }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-950); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; margin: 22px 0 0; color: var(--ink-600); font-size: .92rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-900); font-weight: 600; font-size: .92rem; background: var(--white); transition: border-color .2s, background-color .2s; }
.chip:hover { border-color: var(--gold-500); background: var(--ivory-100); }
.chip[aria-current="page"] { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.contact-list .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-500); }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list h3 { font-family: var(--font-body); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 4px; }
.contact-list p, .contact-list a { margin: 0; color: var(--ink-900); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--navy-700); text-decoration: underline; }
.map { margin-top: 18px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; }

.form-card { padding: clamp(26px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.form-card h2 { font-size: 2.2rem; margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink-900); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--ink-900);
  background: var(--ivory-50); border: 1px solid #CFC5B3; border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(36, 56, 122, .12); }
.field .err { display: none; font-size: .82rem; color: #A3262A; font-weight: 600; }
.field.invalid input, .field.invalid textarea { border-color: #A3262A; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; line-height: 1.55; color: var(--ink-600); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--navy-800); }
.privacy { font-size: .8rem; color: var(--ink-600); background: var(--ivory-100); border-radius: 12px; padding: 14px 16px; margin: 0; }
.privacy strong { color: var(--ink-900); }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: .92rem; }
.form-status.ok { display: block; background: #E8F3EC; color: #1E5B36; }

/* Footer */
.site-footer { background: var(--navy-950); color: #B9C0D4; padding: 80px 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand svg.mark { color: var(--gold-500); }
.site-footer h4 { color: var(--white); font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin: 0 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer a { color: #B9C0D4; text-decoration: none; transition: color .2s; display: inline-flex; min-height: 32px; align-items: center; }
.site-footer a:hover { color: var(--gold-500); }
.footer-about p { margin: 18px 0 0; max-width: 38ch; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold-500); margin-top: 8px; flex: none; }
.footer-contact span { padding-top: 4px; }
.footer-bottom { margin-top: 64px; border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #8A93AD; }

/* Mobile call bar */
.callbar { display: none; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav, .header-cta .btn-navy { display: none; }
  .menu-toggle { display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-grid, .about-grid, .coverage, .contact-grid, .page-grid { grid-template-columns: 1fr; }
  .hero-media { justify-self: center; max-width: 420px; }
  .services { grid-template-columns: 1fr 1fr; }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 1; }
  .service-card:nth-child(5) { grid-column: 1 / -1; }
  .resources { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .topbar-info .hide-sm { display: none; }
  .site-header .container { min-height: 72px; }
  .brand svg.mark { width: 40px; height: 40px; }
  .brand-text strong { font-size: 1.35rem; }
  .header-cta .btn-gold { display: none; }
  .hero-badge { left: 8px; bottom: 16px; }
  .services, .resources, .checks, .form-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(5) { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .quote { padding: 34px 26px 28px; }
  .quote p { font-size: 1.3rem; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(253, 251, 247, .96); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .callbar .btn { min-height: 48px; padding: 0 12px; }
}

/* OPWDD programs */
.programs { display: grid; gap: 16px; margin: 24px 0 32px; }
.program { padding: 24px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.program h3 { font-size: 1.45rem; margin-bottom: 8px; }
.program p { margin: 0; }
.slides { position: relative; aspect-ratio: 595 / 485; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.slides iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.source { margin-top: 18px; font-size: .92rem; color: var(--ink-600); }
.source a { color: var(--navy-700); font-weight: 600; }

/* Native Google Form pages */
.form-shell { padding: clamp(24px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.form-heading { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 8px; }
.req { color: #A3262A; margin-left: 4px; }
.req-note { font-size: .85rem; color: var(--ink-600); margin: 0 0 8px; }
.gform .q { border: 0; margin: 0; padding: 26px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.gform .q:last-of-type { border-bottom: 0; }
.q-title { display: flex; gap: 14px; align-items: baseline; padding: 0; font-weight: 700; font-size: 1.02rem; color: var(--ink-900); line-height: 1.5; margin-bottom: 14px; }
.q-num { flex: none; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--gold-600); line-height: 1; }
.q-help { font-size: .88rem; color: var(--ink-600); margin: -6px 0 12px; }
.gform input[type="text"], .gform input[type="email"], .gform input[type="tel"], .gform textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--ink-900);
  background: var(--ivory-50); border: 1px solid #CFC5B3; border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
.gform textarea { min-height: 120px; resize: vertical; }
.gform input:focus, .gform textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(36, 56, 122, .12); }
.opts { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--ivory-50); cursor: pointer; transition: border-color .2s, background-color .2s; }
.opt:hover { border-color: var(--gold-500); }
.opt:has(input:checked) { border-color: var(--navy-800); background: #EEF1F8; }
.opt > input[type="radio"], .opt > input[type="checkbox"] { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--navy-800); cursor: pointer; }
.opt-other { flex-wrap: wrap; }
.opt-other input[type="text"] { flex: 1 1 200px; min-height: 44px; }
.q-err { display: none; margin: 10px 0 0; font-size: .85rem; font-weight: 600; color: #A3262A; }
.q.invalid .q-err { display: block; }
.q.invalid input[type="text"], .q.invalid input[type="email"], .q.invalid input[type="tel"], .q.invalid textarea, .q.invalid .opt { border-color: #A3262A; }
.gform-actions { padding-top: 24px; }
.gform-actions .btn { width: 100%; }
.gform-actions .btn[disabled] { opacity: .7; cursor: progress; }
.gform-error { display: none; margin: 14px 0 0; padding: 14px 16px; border-radius: 12px; background: #FBEAEA; color: #7A1D20; font-size: .9rem; font-weight: 600; }
.gform-error.show { display: block; }
.gform-done { text-align: center; padding: 32px 8px; }
.gform-done .done-ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #E8F3EC; color: #1E5B36; margin-bottom: 18px; }
.gform-done .done-ico svg { width: 36px; height: 36px; }
.gform-done h2 { margin-bottom: 12px; }
.gform-done p { color: var(--ink-700); max-width: 46ch; margin: 0 auto 24px; }
.quiz-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--ink-700); }
.chip svg { width: 18px; height: 18px; flex: none; }
.gform legend.q-title { float: left; width: 100%; }
.gform fieldset .q-help, .gform fieldset .opts { clear: both; }
/* Stock photo slots */
.photo { margin: 0 0 36px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16 / 10; background: var(--ivory-200); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.about-grid .photo { aspect-ratio: 4 / 3; margin-bottom: 40px; }

/* Video & photo media */
.arch-video, .photo-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-about { aspect-ratio: 4 / 5; margin: 0; }
.photo-wide { aspect-ratio: 21 / 9; margin-bottom: 28px; }
.cinema { position: relative; min-height: clamp(460px, 62vh, 680px); display: grid; align-items: center; overflow: hidden; background: var(--navy-950); color: var(--white); }
.cinema-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cinema::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 21, 48, .88) 0%, rgba(11, 21, 48, .62) 55%, rgba(11, 21, 48, .35) 100%); }
.cinema-inner { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.cinema .eyebrow { color: var(--gold-500); font-family: var(--font-body); font-size: .78rem; margin: 22px 0 18px; }
.cinema p { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.3; max-width: 24ch; margin: 0; color: var(--white); }
.cinema .qmark { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--gold-500); color: var(--navy-950); }
.cinema .qmark svg { width: 26px; height: 26px; }
@media (max-width: 720px) {
  .cinema::after { background: rgba(11, 21, 48, .72); }
  .photo-about { aspect-ratio: 4 / 3; }
}
.form-status.fail { display: block; background: #FBEAEA; color: #7A1D20; }

/* Google reviews */
.g-logo { width: 20px; height: 20px; flex: none; }
.stars { display: inline-flex; gap: 2px; color: #F4B400; }
.stars svg { width: 16px; height: 16px; }
.g-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 18px 10px 14px; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; color: var(--ink-900); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.g-badge:hover { border-color: var(--gold-500); box-shadow: var(--shadow-md); }
.g-score { font-weight: 800; font-size: 1.05rem; }
.g-count { font-size: .88rem; color: var(--ink-600); font-weight: 600; }
.reviews-summary { display: flex; align-items: center; gap: 22px; max-width: 520px; }
.reviews-summary p { margin: 0; color: var(--ink-700); }
.big-score { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 22px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.big-score > span:first-child { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; line-height: 1; color: var(--navy-900); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.review { margin: 0; display: flex; flex-direction: column; gap: 18px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.review-top { display: flex; justify-content: space-between; align-items: center; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; color: var(--ink-700); font-size: .98rem; line-height: 1.7; }
.review blockquote p::before { content: "“"; font-family: var(--font-display); font-size: 3rem; line-height: 0; vertical-align: -.45em; color: var(--gold-500); margin-right: 4px; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review figcaption strong { display: block; color: var(--ink-900); }
.review figcaption small { color: var(--ink-600); font-size: .82rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-500); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; flex: none; }
.reviews-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 36px; }
.reviews-actions .btn svg.g-logo { width: 18px; height: 18px; background: #fff; border-radius: 50%; padding: 2px; }
.reviews-note { font-size: .85rem; color: var(--ink-600); }
@media (max-width: 960px) { .review-grid { grid-template-columns: 1fr; } .reviews-summary { max-width: none; } }
.cta-section { padding-top: clamp(56px, 7vw, 96px); }
.page-body + .cta-section { padding-top: 0; }

/* Chinese pages: keep Latin fonts for Latin text, fall back to system CJK fonts (no extra download) */
:root:lang(zh) {
  --font-display: "Cormorant Garamond", "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --font-body: "Manrope", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: .02em; line-height: 1.25; }
:lang(zh) .eyebrow { letter-spacing: .12em; }
:lang(zh) em.accent { font-style: normal; }
:lang(zh) .prose > p:first-of-type::first-letter { font: inherit; float: none; padding: 0; color: inherit; }
:lang(zh) .hero h1 em.accent { display: block; }

/* Timesheet page */
.ts-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.ts-sheet { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 10px; cursor: zoom-in; transition: box-shadow .2s; }
.ts-sheet:hover { box-shadow: 0 30px 70px -20px rgba(11, 21, 48, .45); }
.ts-sheet img { width: 100%; height: auto; }
.ts-rules { grid-template-columns: 1fr; margin: 6px 0 0; }
.ts-rules li { padding: 10px 12px; font-size: .9rem; }
@media (max-width: 960px) { .ts-grid { grid-template-columns: 1fr; } .ts-grid .aside { order: -1; } }

/* ── Right-to-left (Hebrew) ── */
:root:lang(he) {
  --font-display: "Frank Ruhl Libre", "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Heebo", "Manrope", "Arial Hebrew", "Segoe UI", sans-serif;
}
:lang(he) .eyebrow { letter-spacing: .06em; }
:lang(he) em.accent { font-style: normal; }
/* phone numbers, emails and other-language blocks stay left-to-right */
[dir="rtl"] a[href^="tel:"], [dir="rtl"] a[href^="mailto:"], [dir="rtl"] .aside-phone { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] [lang]:not([lang="he"]):not([lang="ar"]) { direction: ltr; }
[dir="rtl"] .review blockquote, [dir="rtl"] .form-heading[lang], [dir="rtl"] form.gform[lang] { text-align: left; }
[dir="rtl"] .brand-text { text-align: right; }
/* mirror arrows */
[dir="rtl"] svg:has(> path[d="M5 12h14"]) { transform: scaleX(-1); }
[dir="rtl"] .service-card:hover .card-link svg { transform: scaleX(-1) translateX(4px); }
/* positions */
[dir="rtl"] .skip-link { left: auto; right: 16px; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .drawer-panel { right: auto; left: 0; }
[dir="rtl"] .drawer details a { padding-left: 0; padding-right: 12px; }
[dir="rtl"] .hero::before { right: auto; left: -10%; }
[dir="rtl"] .hero-badge { left: auto; right: -28px; }
[dir="rtl"] .arch-frame { inset: -14px 14px 14px -14px; }
[dir="rtl"] .service-card::after { transform-origin: right; }
[dir="rtl"] .resource .arrow { margin-left: 0; margin-right: auto; }
[dir="rtl"] .page-hero::after { right: auto; left: -10%; }
[dir="rtl"] .crumbs li + li::before { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .prose > p:first-of-type::first-letter { float: none; font: inherit; padding: 0; color: inherit; }
[dir="rtl"] .callout { border-left: 0; border-right: 3px solid var(--gold-500); border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
[dir="rtl"] .quote .qmark { right: auto; left: 32px; }
[dir="rtl"] .cta::after { right: auto; left: -80px; }
[dir="rtl"] .cinema::after { background: linear-gradient(270deg, rgba(11, 21, 48, .88) 0%, rgba(11, 21, 48, .62) 55%, rgba(11, 21, 48, .35) 100%); }
[dir="rtl"] .dropdown .ext::after { margin-left: 0; margin-right: 4px; }
[dir="rtl"] .req { margin-left: 0; margin-right: 4px; }
[dir="rtl"] .gform legend.q-title { float: right; }
[dir="rtl"] .review blockquote p::before { margin-right: 0; margin-left: 4px; }
[dir="rtl"] .gform .opt-other input[type="text"] { direction: rtl; }
@media (max-width: 720px) { [dir="rtl"] .hero-badge { right: 8px; left: auto; } }

/* Wider "For Employees" menu so labels stay on one or two lines */
.dropdown-wide { width: min(940px, 94vw); max-width: none; padding: 20px 22px; }
.dropdown-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 18px; }
.dropdown-wide a { padding: 9px 12px; }
.dropdown-wide h4 { margin-top: 6px; }

/* Map: Google embed toned to the ivory/navy palette, with our own pin */
.map { position: relative; background: var(--ivory-200); }
.map iframe { filter: grayscale(1) sepia(.22) contrast(1.04) brightness(1.03) saturate(.9); }
.map::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(194, 160, 106, .08); box-shadow: inset 0 0 0 1px rgba(17, 29, 64, .04); }
.map-pin { position: absolute; left: 50%; top: 50%; z-index: 2; width: 40px; height: 52px; transform: translate(-50%, -100%); pointer-events: none; filter: drop-shadow(0 6px 10px rgba(11, 21, 48, .35)); }
.map-pin svg { width: 100%; height: 100%; }
.map-label { position: absolute; left: 50%; top: calc(50% + 8px); z-index: 2; transform: translateX(-50%); pointer-events: none; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: var(--navy-900); color: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .02em; box-shadow: var(--shadow-md); }
@media (max-width: 720px) { .boroughs li { font-size: 1.1rem; padding: 0 14px; gap: 10px; } }
.area-map .lbl.out { paint-order: stroke; stroke: rgba(253, 251, 247, .9); stroke-width: 3px; stroke-linejoin: round; }
.area-map .leader { stroke: var(--gold-600); stroke-width: 1.1; stroke-dasharray: 2 3; }
.area-map .lbl.out.on { fill: var(--gold-700); }

/* ── Arabic (right-to-left; joined script, so no letter-spacing or synthetic italics) ── */
:root:lang(ar) {
  --font-display: "Amiri", "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "IBM Plex Sans Arabic", "Manrope", "Geeza Pro", "Segoe UI", sans-serif;
}
:lang(ar) { letter-spacing: 0 !important; }
:lang(ar) em.accent { font-style: normal; }
:lang(ar) body { line-height: 1.85; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { line-height: 1.35; }
:lang(ar) .eyebrow, :lang(ar) .area-map .lbl, :lang(ar) .quote h3, :lang(ar) .langs h3 { text-transform: none; }

/* Quiz result */
.quiz-result { margin: 8px auto 26px; max-width: 460px; padding: 24px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--ivory-50); }
.quiz-result .qr-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; font-weight: 800; font-size: 1rem; }
.quiz-result.pass .qr-badge { background: #E8F3EC; color: #1E5B36; }
.quiz-result.fail .qr-badge { background: #FBEAEA; color: #7A1D20; }
.quiz-result .qr-score { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; color: var(--navy-900); line-height: 1.1; margin: 14px 0 4px; }
.quiz-result .qr-label { font-size: .85rem; color: var(--ink-600); margin: 0; }
.quiz-result .qr-note { margin: 14px 0 0 !important; color: var(--ink-700); }
.quiz-result .qr-wrong { margin: 12px 0 0 !important; font-weight: 700; color: var(--ink-900); }
.gform-done.fail .done-ico { background: #FBEAEA; color: #7A1D20; }

/* Pediatric training slideshow */
.deck-wrap { max-width: 1080px; }
.deck { outline: none; }
.deck-stage { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 10px; }
.deck-slide { margin: 0; }
.deck-slide img { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 10px; background: var(--ivory-100); display: block; }
.deck-caption { margin: 8px 0 0; padding: 18px 20px; border-radius: 12px; background: var(--ivory-100); color: var(--ink-700); font-size: .95rem; line-height: 1.65; }
.deck-caption strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--navy-900); margin-bottom: 6px; }
.deck-caption p { margin: 0 0 4px; }
.deck-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.95); color: var(--navy-900); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-md); transition: background-color .2s, color .2s; }
.deck-nav svg { width: 22px; height: 22px; }
.deck-nav:hover { background: var(--navy-900); color: #fff; }
.deck-nav.prev { left: -20px; } .deck-nav.next { right: -20px; }
.deck-nav.prev svg { transform: scaleX(-1); }
.deck-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0 14px; }
.deck-count { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink-600); }
.deck-count strong { color: var(--navy-900); }
.deck-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.deck-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 128px; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; }
.deck-thumb { position: relative; padding: 0; border: 2px solid transparent; border-radius: 10px; background: #fff; cursor: pointer; overflow: hidden; scroll-snap-align: start; transition: border-color .2s; }
.deck-thumb img { width: 100%; height: auto; display: block; opacity: .75; transition: opacity .2s; }
.deck-thumb span { position: absolute; left: 6px; bottom: 6px; min-width: 22px; padding: 1px 6px; border-radius: 6px; background: rgba(11,21,48,.8); color: #fff; font-size: .72rem; font-weight: 700; }
.deck-thumb:hover img, .deck-thumb[aria-current="true"] img { opacity: 1; }
.deck-thumb[aria-current="true"] { border-color: var(--gold-500); }
.deck-textnote { font-size: .85rem; color: var(--ink-600); margin: 6px 0 0; }
.deck:fullscreen { background: var(--navy-950); padding: 24px; overflow: auto; }
.deck:fullscreen .deck-stage { max-width: min(100%, calc((100vh - 220px) * 16 / 9)); margin: 0 auto; }
.deck:fullscreen .deck-caption, .deck:fullscreen .deck-textnote { display: none; }
.deck:fullscreen .deck-count { color: #C3C9DB; } .deck:fullscreen .deck-count strong { color: #fff; }
html:not(.js) .deck-slide[hidden], html:not(.js) .deck-caption[hidden] { display: block; }
html:not(.js) .deck-nav, html:not(.js) .deck-thumbs, html:not(.js) .deck-full { display: none; }
[dir="rtl"] .deck-nav.prev { left: auto; right: -20px; } [dir="rtl"] .deck-nav.next { right: auto; left: -20px; }
[dir="rtl"] .deck-nav.prev svg { transform: none; } [dir="rtl"] .deck-nav.next svg { transform: scaleX(-1); }
@media (max-width: 720px) { .deck-nav { width: 44px; height: 44px; } .deck-nav.prev { left: 2px; } .deck-nav.next { right: 2px; } .deck-thumbs { grid-auto-columns: 96px; } }
.deck-nav:disabled { opacity: .35; cursor: default; pointer-events: none; }

/* Legal pages */
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; max-width: 1100px; }
.legal-toc { position: sticky; top: 110px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.legal-toc-title { margin: 0 0 10px; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); }
.legal-toc ol { margin: 0; padding-inline-start: 18px; display: grid; gap: 6px; font-size: .9rem; }
.legal-toc a { color: var(--ink-700); text-decoration: none; }
.legal-toc a:hover { color: var(--navy-700); text-decoration: underline; }
.legal-doc { max-width: 76ch; color: var(--ink-700); font-size: 1rem; }
.legal-doc section { padding: 6px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 18px; scroll-margin-top: 110px; }
.legal-doc section:last-child { border-bottom: 0; }
.legal-doc h2 { font-size: 1.7rem; margin: 10px 0 12px; }
.legal-doc ul { padding-inline-start: 22px; display: grid; gap: 8px; }
.legal-doc a { color: var(--navy-700); font-weight: 600; }
.legal-meta { font-size: .85rem; color: var(--ink-600); margin: 0 0 14px; }
.legal-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--ivory-100); border-inline-start: 3px solid var(--gold-500); color: var(--ink-900); font-weight: 600; font-size: .92rem; }
.legal-note svg { width: 20px; height: 20px; flex: none; color: var(--gold-700); margin-top: 2px; }
.callout-text { padding: 16px 18px; background: var(--ivory-100); border-radius: 12px; color: var(--ink-900); }
.taglines { list-style: none; padding: 0 !important; }
.taglines li { padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.taglines li strong { display: block; color: var(--navy-900); margin-bottom: 2px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-legal a { color: #B9C0D4; min-height: 32px; }
.footer-legal + .footer-bottom { margin-top: 0; border-top: 0; padding-top: 10px; }
.consent a { color: var(--navy-700); font-weight: 700; }
@media (max-width: 960px) { .legal-grid { grid-template-columns: 1fr; } .legal-toc { position: static; } }
@media (min-width: 720px) { .taglines { grid-template-columns: 1fr 1fr; } }
