:root {
    color-scheme: light;

    /* Fallback tokens. Individual design languages override these values. */
    --color-deep: 18 32 51;
    --color-deep-light: 47 73 104;
    --color-deep-lighter: 72 97 124;
    --color-calm: 47 111 167;
    --color-calm-light: 76 163 207;
    --color-calm-dark: 31 88 127;
    --color-calm-subtle: 238 247 251;
    --color-warm: 183 43 53;
    --color-warm-light: 216 75 86;
    --color-warm-subtle: 251 237 238;
    --color-sand: 244 238 232;
    --color-sand-dark: 231 221 211;
    --color-text: 18 32 51;
    --color-text-secondary: 67 82 96;
    --color-text-muted: 100 113 124;
    --color-surface: 255 255 255;
    --color-surface-muted: 237 241 244;
    --color-line: 220 226 231;
    --color-quote: 212 220 226;

    --body-background: rgb(var(--color-surface));
    --nav-background: rgb(var(--color-surface) / 0.95);
    --nav-shadow: 0 1px 0 rgb(var(--color-deep) / 0.08);
    --hero-background: linear-gradient(170deg, rgb(var(--color-surface)) 0%, rgb(var(--color-calm-subtle)) 55%, rgb(var(--color-sand)) 100%);
    --hero-pattern:
        linear-gradient(rgb(var(--color-deep) / 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgb(var(--color-deep) / 0.025) 1px, transparent 1px);
    --card-shadow: 0 8px 24px rgb(var(--color-deep) / 0.08);
    --card-shadow-strong: 0 10px 30px rgb(var(--color-deep) / 0.12);
    --mobile-bar-shadow: 0 -1px 12px rgb(var(--color-deep) / 0.1);
}

[data-design-language] .bg-white { background-color: rgb(var(--color-surface)) !important; }
[data-design-language] .bg-gray-50 { background-color: rgb(var(--color-surface-muted) / 0.55) !important; }
[data-design-language] .bg-gray-100 { background-color: rgb(var(--color-surface-muted)) !important; }
[data-design-language] .border-gray-100 { border-color: rgb(var(--color-line) / 0.75) !important; }
[data-design-language] .border-gray-200 { border-color: rgb(var(--color-line)) !important; }
[data-design-language] .border-gray-300 { border-color: rgb(var(--color-line)) !important; }
[data-design-language] .text-gray-300 { color: rgb(var(--color-line)) !important; }

[data-design-language] .bg-teal-50,
[data-design-language] .bg-blue-50,
[data-design-language] .bg-emerald-50,
[data-design-language] .bg-violet-50 {
    background-color: rgb(var(--color-calm-subtle)) !important;
}

[data-design-language] .text-blue-600,
[data-design-language] .text-blue-700,
[data-design-language] .text-emerald-600,
[data-design-language] .text-emerald-700,
[data-design-language] .text-violet-600 {
    color: rgb(var(--color-calm)) !important;
}

[data-design-language] .bg-rose-50,
[data-design-language] .bg-amber-50 {
    background-color: rgb(var(--color-warm-subtle)) !important;
}

[data-design-language] .text-rose-600,
[data-design-language] .text-amber-600,
[data-design-language] .text-amber-700 {
    color: rgb(var(--color-warm)) !important;
}

/* Theatre green: the green of surgical scrubs. Flat, with one vascular red for warnings. */
:root, [data-design-language] { --color-deep: 7 66 58; --color-deep-light: 13 86 76; --color-deep-lighter: 28 110 98; --color-calm: 7 66 58; --color-calm-dark: 6 92 80; --color-calm-light: 170 232 214; --color-calm-subtle: 228 246 241; --color-warm: 186 40 50; --color-warm-subtle: 253 238 238; --color-sand: 232 245 240; --color-sand-dark: 186 222 210; --color-line: 208 228 221; --color-text: 12 40 36; --color-text-secondary: 52 82 76; --color-text-muted: 76 102 96; }

/* Follows the landing-page-design skill: named text styles on the Tailwind scale, spacing tokens,
   flat backgrounds, one curve. Colours come only from design-language tokens. */
:root {
    --s25: 2px; --s50: 4px; --s75: 8px; --s100: 12px; --s200: 16px; --s300: 24px; --s400: 32px;
    --s500: 40px; --s600: 48px; --s700: 64px; --s800: 80px; --s900: 96px;
    --curve: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--s900); }
html.menu-open { overflow: hidden; }
body {
    font-family: "Manrope", system-ui, -apple-system, sans-serif;
    font-size: 18px; line-height: 28px; font-weight: 400; /* Body 7: larger for older readers */
    color: rgb(var(--color-text)); background: var(--body-background); text-wrap: pretty;
}
html[lang="ta"] body { font-family: "Noto Sans Tamil", "Tamil Sangam MN", "Nirmala UI", system-ui, sans-serif; line-height: 32px; }

/* Text styles */
h1, h2, h3 { font-weight: 600; color: rgb(var(--color-deep)); text-wrap: balance; }
.display { font-size: 48px; line-height: 1; }
.heading-2, .section h2 { font-size: 36px; line-height: 40px; }
.heading-5, h3 { font-size: 20px; line-height: 28px; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
html[lang="ta"] h1, html[lang="ta"] h2, html[lang="ta"] h3 { line-height: 1.35; }
.section h2 { margin-bottom: var(--s200); }

a { color: rgb(var(--color-calm-dark)); text-underline-offset: 3px; transition: color .3s var(--curve), opacity .3s var(--curve); }
ul { padding-left: var(--s300); }
li + li { margin-top: var(--s75); }
p + p { margin-top: var(--s100); }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid rgb(var(--color-calm)); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--s200); top: var(--s200); z-index: 30; background: rgb(var(--color-surface)); padding: var(--s75) var(--s200); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 var(--s300); }
.narrow { max-width: 760px; }
.section { padding: var(--s800) 0; }
.sand { background: rgb(var(--color-sand)); }
.dark { background: rgb(var(--color-deep)); color: rgb(var(--color-surface)); }
.dark h2, .dark h3 { color: rgb(var(--color-surface)); }
.lede { color: rgb(var(--color-text-secondary)); max-width: 640px; }

/* Floating nav */
.site-header { position: fixed; top: var(--s200); left: 0; right: 0; z-index: 20; display: flex; justify-content: center; padding: 0 var(--s200); pointer-events: none; }
.pill { pointer-events: auto; display: flex; align-items: center; gap: var(--s300); max-width: 100%; padding: var(--s75) var(--s200); border-radius: 16px; background: var(--nav-background); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--nav-shadow); }
.brand { font-size: 16px; line-height: 24px; font-weight: 700; color: rgb(var(--color-deep)); text-decoration: none; white-space: nowrap; padding: var(--s75) 0; }
.links { display: flex; flex-wrap: wrap; gap: 0 var(--s200); }
.links a { display: inline-block; padding: var(--s75) 0; font-size: 14px; line-height: 20px; font-weight: 500; color: rgb(var(--color-text-secondary)); text-decoration: none; }
.links a:hover { color: rgb(var(--color-deep)); }
.links a[aria-current="page"] { color: rgb(var(--color-deep)); font-weight: 700; text-decoration: underline; text-decoration-color: rgb(var(--color-calm)); text-decoration-thickness: 2px; }
.menu-btn { display: none; position: relative; width: var(--s500); height: var(--s500); border: 0; background: none; cursor: pointer; }
.menu-btn span { position: absolute; left: 10px; width: 20px; height: 2px; border-radius: 2px; background: rgb(var(--color-deep)); transition: transform .5s var(--curve); }
.menu-btn span:first-child { top: 15px; }
.menu-btn span:last-child { top: 23px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-panel { position: fixed; inset: 0; z-index: 15; display: flex; flex-direction: column; justify-content: center; gap: var(--s200); padding: var(--s800) var(--s400); background: rgb(var(--color-surface) / .94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transition: opacity .3s var(--curve), visibility .3s; }
.menu-panel.open { opacity: 1; visibility: visible; }
.menu-panel a { font-size: 30px; line-height: 36px; font-weight: 600; color: rgb(var(--color-deep)); text-decoration: none; opacity: 0; transform: translateY(var(--s300)); transition: opacity .5s var(--curve), transform .5s var(--curve); }
.menu-panel.open a { opacity: 1; transform: none; }
.menu-panel.open a:nth-child(2) { transition-delay: 60ms; }
.menu-panel.open a:nth-child(3) { transition-delay: 120ms; }
.menu-panel.open a:nth-child(4) { transition-delay: 180ms; }
.menu-panel:not(.open) { pointer-events: none; }
@media (max-width: 47.99rem) {
    .js .pill { width: 100%; justify-content: space-between; }
    .js .links { display: none; }
    .js .menu-btn { display: block; }
}
@media (min-width: 48rem) { .menu-panel { display: none; } }
html:not(.js) .menu-panel { display: none; }

/* Hero */
.hero { padding: 112px 0 0; overflow: hidden; }
.hero-grid { display: grid; gap: var(--s500); align-items: end; }
.hero-copy { padding-bottom: var(--s600); }
.eyebrow { font-size: 16px; line-height: 24px; font-weight: 600; color: rgb(var(--color-calm-light)); margin-bottom: var(--s200); }
.hero-copy { container-type: inline-size; }
/* The name stays on one line and scales to fit the column, up to 72px. */
.hero h1 { font-size: min(calc(100cqw / 7.8), 72px); white-space: nowrap; line-height: 1.1; margin-bottom: var(--s300); background: linear-gradient(90deg, #ffffff, #9b9b9b); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: var(--s50); }
html[lang="ta"] .hero h1 { font-size: min(calc(100cqw / 9.6), 64px); line-height: 1.25; }
.hero .sub { max-width: 560px; font-size: 20px; line-height: 28px; color: rgb(var(--color-surface) / .86); }
html[lang="ta"] .hero .sub { line-height: 34px; }
.proof { margin-top: var(--s300); color: rgb(var(--color-surface) / .7); }
.portrait { position: relative; justify-self: center; width: 100%; max-width: 420px; }
.portrait img { width: 100%; aspect-ratio: 24 / 25; object-fit: cover; object-position: top; border-radius: 24px 24px 0 0; }
.photo-todo { position: absolute; left: var(--s100); bottom: var(--s100); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s75); min-height: var(--s600); padding: var(--s100) var(--s300); border-radius: 12px; border: 1px solid rgb(var(--color-deep)); background: rgb(var(--color-surface)); color: rgb(var(--color-deep)); text-decoration: none; transition: background-color .3s var(--curve), color .3s var(--curve), transform .5s var(--curve); }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: rgb(var(--color-calm)); border-color: rgb(var(--color-calm)); color: rgb(var(--color-surface)); }
.btn-primary:hover { background: rgb(var(--color-calm-dark)); }
.dark .btn:not(.btn-primary) { background: transparent; color: rgb(var(--color-surface)); border-color: rgb(var(--color-surface) / .6); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s100); margin-top: var(--s300); }
.hero-social { margin-top: var(--s100); }
.em-link { display: inline-block; margin-top: var(--s200); color: rgb(var(--color-surface) / .85); }

/* Vessel line */
.vessel { display: block; width: 100%; height: var(--s800); background: rgb(var(--color-sand)); }
.vessel path { fill: none; vector-effect: non-scaling-stroke; }
.vessel .wall { stroke: rgb(var(--color-sand-dark)); stroke-width: 10; }
.vessel .blood { stroke: rgb(var(--color-calm)); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 34; }
.vessel.flowing .blood { animation: flow 2.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -36; } }

/* Tagline reveal */
.tagline { padding: var(--s600) 0; }
.tagline p.big { font-size: 48px; line-height: 1.1; font-weight: 600; color: rgb(var(--color-deep)); max-width: 880px; text-wrap: balance; }
html[lang="ta"] .tagline p.big { font-size: 36px; line-height: 1.4; }
.tagline .line { display: block; }
.tagline-grid { display: grid; gap: var(--s500); align-items: center; }
.leg { justify-self: center; width: 100%; max-width: 480px; }
.leg img { width: 100%; height: auto; }
.word { opacity: .3; transition: opacity .5s var(--curve); }
.word.lit { opacity: 1; }

/* Cards */
.grid { display: grid; gap: var(--s200); margin-top: var(--s400); }
.card { background: rgb(var(--color-surface)); border: 1px solid rgb(var(--color-line)); border-radius: 16px; padding: var(--s300); }
.guide-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform .5s var(--curve), box-shadow .3s var(--curve); }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow); }
.guide-card:active { transform: scale(.98); }
.guide-card p { color: rgb(var(--color-text-secondary)); margin-top: var(--s75); flex: 1; }
.guide-card .more { display: inline-flex; align-items: center; gap: var(--s50); margin-top: var(--s200); color: rgb(var(--color-calm-dark)); }
.guide-card .more svg { width: 16px; height: 16px; fill: currentColor; transition: transform .5s var(--curve); }
.guide-card:hover .more svg { transform: translateX(4px); }
.note { font-size: 16px; line-height: 24px; color: rgb(var(--color-text-secondary)); margin-top: var(--s200); }
.dark .note { color: rgb(var(--color-surface) / .75); }

/* Principles */
.principles { display: grid; gap: var(--s400); margin-top: var(--s500); list-style: none; padding: 0; }
.principles li { margin: 0; }
.principles .n { display: block; font-size: 14px; line-height: 20px; font-weight: 600; color: rgb(var(--color-calm-light)); margin-bottom: var(--s75); }
.principles p { color: rgb(var(--color-surface) / .78); margin-top: var(--s75); }

/* Training path */
.path { display: grid; gap: var(--s100); margin-top: var(--s400); list-style: none; padding: 0; }
.path li { margin: 0; background: rgb(var(--color-surface)); border: 1px solid rgb(var(--color-line)); border-radius: 16px; padding: var(--s300); }
.path strong { display: block; font-size: 30px; line-height: 36px; font-weight: 600; color: rgb(var(--color-calm-dark)); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s75); margin-top: var(--s300); }
.chips span { border: 1px solid rgb(var(--color-sand-dark)); border-radius: 8px; padding: var(--s50) var(--s100); }

/* Steps */
ol.steps { list-style: none; display: grid; gap: var(--s300); margin-top: var(--s400); counter-reset: step; }
ol.steps li { counter-increment: step; margin: 0; }
ol.steps li::before { content: counter(step); display: block; font-size: 36px; line-height: 40px; font-weight: 600; color: rgb(var(--color-calm)); margin-bottom: var(--s75); }
ol.steps p { color: rgb(var(--color-text-secondary)); margin-top: var(--s50); }

/* Emergency */
.emergency { padding-top: 0; }
.urgent { background: rgb(var(--color-warm-subtle)); border: 1px solid rgb(var(--color-warm)); border-radius: 16px; padding: var(--s300); }
.section .urgent h2, .prose .urgent h2 { color: rgb(var(--color-warm)); margin-bottom: var(--s75); font-size: 24px; line-height: 32px; font-weight: 600; }
.urgent ul { margin: var(--s100) 0; }
section.urgent + section, section + section.urgent { margin-top: var(--s400); }

/* FAQ */
.faq { margin-top: var(--s400); display: grid; gap: var(--s100); }
.faq details { background: rgb(var(--color-surface)); border: 1px solid rgb(var(--color-line)); border-radius: 16px; }
.faq summary { display: flex; justify-content: space-between; gap: var(--s200); align-items: center; padding: var(--s200) var(--s300); font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; fill: currentColor; flex: none; transition: transform .5s var(--curve); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 var(--s300) var(--s300); color: rgb(var(--color-text-secondary)); }

/* Contact */
.contact-grid { display: grid; gap: var(--s500); }
.contact-grid h2 { font-size: 48px; line-height: 1.1; }
html[lang="ta"] .contact-grid h2 { font-size: 36px; line-height: 1.4; }
dl.facts { display: grid; gap: var(--s200); }
dl.facts dt { font-size: 14px; line-height: 20px; font-weight: 600; color: rgb(var(--color-text-secondary)); }
dl.facts dd { margin: 0; }
.dark .card { background: rgb(var(--color-deep-light)); border-color: rgb(var(--color-deep-lighter)); }
.dark dl.facts dt { color: rgb(var(--color-surface) / .7); }
.dark a:not(.btn) { color: rgb(var(--color-surface)); }

/* Inner pages */
.page-head { padding: 128px 0 var(--s600); }
.page-head h1 { font-size: 48px; line-height: 1.1; margin-bottom: var(--s200); color: rgb(var(--color-surface)); }
html[lang="ta"] .page-head h1 { font-size: 36px; line-height: 1.35; }
.page-head .lede { color: rgb(var(--color-surface) / .82); }
.page-head .art .a { stroke: rgb(var(--color-surface) / .75); }
.crumbs { font-size: 14px; line-height: 20px; margin-bottom: var(--s200); }
.crumbs a { color: rgb(var(--color-surface) / .8); }
.prose section + section { margin-top: var(--s500); }
.prose h2 { font-size: 24px; line-height: 32px; margin-bottom: var(--s100); }
.prose h3 { margin-top: var(--s200); margin-bottom: var(--s50); }
.disclaimer { margin-top: var(--s600); padding-top: var(--s200); border-top: 1px solid rgb(var(--color-line)); font-size: 16px; line-height: 24px; color: rgb(var(--color-text-secondary)); }
.profile { display: grid; gap: var(--s400); }
.profile img { width: 200px; border-radius: 16px; }

/* Items waiting on the doctor. The release check fails while any remain. */
mark.todo { background: rgb(var(--color-warm)); color: rgb(var(--color-surface)); padding: var(--s25) var(--s75); border-radius: 4px; font-size: 14px; line-height: 20px; }

/* Line drawings */
.art { display: block; width: 120px; height: 80px; margin-bottom: var(--s200); fill: none; stroke-linecap: round; stroke-linejoin: round; }
.art .a { stroke: rgb(var(--color-text-muted)); stroke-width: 2.5; }
.art .b { stroke: rgb(var(--color-deep)); stroke-width: 3; }
.art .thick { stroke-width: 6; }
.art .c { fill: rgb(var(--color-calm)); }
.art .c-line { stroke: rgb(var(--color-calm)); stroke-width: 3; }
.page-head .art .b { stroke: rgb(var(--color-surface)); }

/* Footer */
.site-footer { background: rgb(var(--color-deep)); color: rgb(var(--color-surface) / .75); padding: var(--s400) 0; font-size: 14px; line-height: 20px; border-top: 1px solid rgb(var(--color-deep-lighter)); }
.site-footer strong { color: rgb(var(--color-surface)); }
.site-footer a { color: rgb(var(--color-surface)); }

/* Scroll reveal, added by script only so nothing hides without it */
.pre { opacity: 0; transform: translateY(var(--s400)); transition: opacity .7s var(--curve), transform .7s var(--curve); }
.pre.in { opacity: 1; transform: none; }

@media (min-width: 40rem) {
    .grid { grid-template-columns: 1fr 1fr; }
    .profile { grid-template-columns: auto 1fr; }
    .path { grid-template-columns: repeat(3, 1fr); }
    ol.steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 56rem) {
    .hero-grid { grid-template-columns: 7fr 5fr; }
    .tagline p.big { font-size: 72px; }
    html[lang="ta"] .tagline p.big { font-size: 48px; }
    .principles { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
    .grid { grid-template-columns: repeat(4, 1fr); }
    .section h2 { font-size: 48px; line-height: 1.1; }
    html[lang="ta"] .section h2 { font-size: 36px; line-height: 1.35; }
    .prose h2 { font-size: 24px; line-height: 32px; }
    html[lang="ta"] .prose h2 { font-size: 24px; }
}
@media (min-width: 72rem) {
    .tagline-grid { grid-template-columns: minmax(0, 1fr) 480px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-property: opacity !important; }
    .word { opacity: 1; }
}

/* Booking buttons, matching the live site */
.button-sm { font-size: 14px; line-height: 20px; font-weight: 600; }
.nav-cta { min-height: var(--s500); padding: var(--s75) var(--s200); white-space: nowrap; }
.nav-cta svg { width: 16px; height: 16px; }
.pill .btn:hover { transform: none; }
.menu-panel a.panel-cta { color: rgb(var(--color-calm-dark)); }
.menu-panel.open a:nth-child(5) { transition-delay: 240ms; }
.wa-float { position: fixed; right: var(--s300); bottom: var(--s300); z-index: 10; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 9999px; background: #0a7d4f; color: #fff; box-shadow: var(--nav-shadow); transition: transform .5s var(--curve); }
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.mobile-bar { display: none; }
@media (max-width: 47.99rem) {
    .js .nav-cta { display: none; }
    .wa-float { display: none; }
    .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 12; display: flex; gap: var(--s75); padding: var(--s75) var(--s100) max(var(--s75), env(safe-area-inset-bottom)); background: rgb(var(--color-surface)); box-shadow: 0 -1px 12px rgb(0 0 0 / .16); }
    .mobile-bar a { flex: 1 1 0; min-width: 0; min-height: var(--s600); display: flex; align-items: center; justify-content: center; gap: var(--s75); border-radius: 12px; text-decoration: none; color: #fff; }
    .mobile-bar svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
    .bar-call { background: rgb(var(--color-deep)); }
    .bar-wa { background: #0a7d4f; }
    body { padding-bottom: var(--s800); }
}

/* What he treats */
.cond-groups { display: grid; gap: var(--s300); margin-top: var(--s400); }
@media (min-width: 720px) { .cond-groups { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 719px) { .cond-group li { display: inline; padding: 0; line-height: 32px; } .cond-group li:not(:last-child)::after { content: ", "; } }
.cond-group h3 a { color: inherit; text-decoration: none; }
.cond-group ul { list-style: none; padding: 0; margin: var(--s75) 0 0; }
.cond-group li { padding: var(--s50) 0; }
.cond { scroll-margin-top: 96px; margin-top: var(--s300); }
.cond-tag { display: inline-block; vertical-align: middle; margin-left: var(--s50); padding: 0 var(--s75); border-radius: 8px; color: rgb(var(--color-warm)); background: rgb(var(--color-warm-subtle)); border: 1px solid rgb(var(--color-warm)); text-decoration: none; font-weight: 500; }
.prose > section[id] { scroll-margin-top: 96px; margin-top: var(--s500, 40px); }
.prose .urgent[id] { margin-top: var(--s300); }

/* Layout for the chosen design, loaded after site.css. */
body, .brand { font-family: "Figtree", system-ui, sans-serif; }
html[lang="ta"] .brand { font-family: "Noto Sans Tamil", sans-serif; }

/* Full width nav: it sits above the hero and never covers the photo. */
.site-header { top: 0; padding: 0; }
.pill { width: 100%; justify-content: space-between; border-radius: 0; background: rgb(var(--color-surface)); -webkit-backdrop-filter: none; backdrop-filter: none; padding: var(--s75) max(var(--s300), calc((100% - 1052px) / 2)); box-shadow: 0 1px 0 rgb(var(--color-line)); }
.links { margin-left: auto; margin-right: var(--s100); }
html { scroll-padding-top: var(--s800); }

.hero { padding: 56px 0 0; background: rgb(14 115 100); color: #fff; }
.split { display: grid; }
.split-copy { padding: var(--s500) var(--s300); }
.hero h1 { background: none; color: #fff; font-weight: 700; margin-bottom: var(--s200); }
.hero .eyebrow { display: none; }
.hero .sub, .hero .proof, .hero .em-link { color: #fff; }
.hero .btn-primary { background: #fff; color: rgb(var(--color-deep)); border-color: #fff; }
.hero .btn-primary:hover { background: rgb(var(--color-calm-subtle)); }
.hero .btn:not(.btn-primary) { background: transparent; color: #fff; border-color: #fff; }
.hero-copy { padding-bottom: 0; }
.portrait { max-width: none; }
.portrait img { border-radius: 0; width: 100%; aspect-ratio: 4 / 5; object-position: top; }
.btn { border-radius: 8px; }

/* Dark bands: the main button must stand out from the band. */
.dark .btn-primary { background: #fff; color: rgb(var(--color-deep)); border-color: #fff; }
.dark .btn-primary:hover { background: rgb(var(--color-calm-subtle)); }

.page-head { padding-top: 112px; }
.training { background: rgb(var(--color-surface)); }
.training .path li { background: rgb(var(--color-sand)); }
.emergency { padding-top: var(--s800); }
.visit { padding-bottom: 0; }

/* Mauritius */
.abroad-grid { display: grid; gap: var(--s300); }
.abroad-grid p + p { margin-top: var(--s200); }
.abroad .lede { max-width: 680px; }
.abroad h3 { margin-bottom: var(--s100); }
.abroad ul { margin: 0; }

@media (min-width: 56rem) {
  .split { grid-template-columns: 7fr 5fr; min-height: 680px; }
  .split-copy { display: flex; align-items: center; padding: var(--s600) var(--s600) var(--s600) max(var(--s300), calc((100vw - 1052px) / 2)); }
  .split-copy .hero-copy { width: 100%; }
  .portrait { position: relative; }
  .portrait img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .abroad-grid { grid-template-columns: 3fr 2fr; gap: var(--s600); align-items: start; }
}
.principles .n { display: none; }

/* Long Tamil words on the smallest phones */
@media (max-width: 24rem) { html[lang="ta"] h2, html[lang="ta"] .tagline p.big, html[lang="ta"] .btn { overflow-wrap: anywhere; } html[lang="ta"] .section h2, html[lang="ta"] .tagline p.big { font-size: 26px; line-height: 36px; } .contact-grid > div, .btn { min-width: 0; } .btn { white-space: normal; } }
.abroad-grid > * { min-width: 0; overflow-wrap: anywhere; }
.brand { display: flex; flex-direction: column; line-height: 20px; padding: 0; }
.brand-role { font-size: 12px; line-height: 16px; font-weight: 500; color: rgb(var(--color-deep)); opacity: .78; }
html[lang="ta"] .pill { padding-left: max(var(--s300), calc((100% - 1180px) / 2)); padding-right: max(var(--s300), calc((100% - 1180px) / 2)); }
@media (min-width: 48rem) and (max-width: 55.99rem) { .js .links { display: none; } .js .menu-btn { display: block; } .menu-panel { display: flex; } .nav-cta { margin-left: auto; } }
@media (min-width: 48rem) and (max-width: 77.99rem) { html[lang="ta"].js .links { display: none; } html[lang="ta"].js .menu-btn { display: block; } html[lang="ta"] .menu-panel { display: flex; } html[lang="ta"] .nav-cta { margin-left: auto; } }
.brand { flex-direction: row; align-items: center; gap: var(--s100); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; }
