/* ==========================================================================
   Mr Akshdeep Bawa — Consultant Trauma & Orthopaedic Surgeon
   Single stylesheet. No framework. Edit design tokens in :root.
   ========================================================================== */

:root {
  /* Palette — deep navy with a muted gold accent */
  --ink: #172b3a;             /* deep navy: headings, primary buttons, dark bands */
  --ink-2: #213a4c;
  --ink-3: #2d4b60;
  --bronze: #b49a73;          /* muted gold: lines, icons, accents (decorative only on light) */
  --bronze-text: #7d6340;     /* gold for small text on white / ivory / blue-grey (>= 4.9:1) */
  --bronze-light: #cdb894;    /* gold for text on navy (7.5:1) */
  --ivory: #f6f5f1;           /* warm ivory: biography & personal-interest sections */
  --mist: #eaf0f4;            /* pale blue-grey: clinical information sections */
  --paper: #ffffff;
  --stone: #e3e3de;
  --stone-2: #cfd2d0;
  --text: #1c2630;
  --muted: #55606a;
  --on-dark: #eef0f1;
  --on-dark-muted: #b7c1c8;

  --font-serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(23, 43, 58, 0.06), 0 2px 8px rgba(23, 43, 58, 0.05);
  --shadow: 0 10px 30px -12px rgba(23, 43, 58, 0.22);
  --shadow-lg: 0 30px 60px -28px rgba(23, 43, 58, 0.38);

  --max: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(4rem, 8vw, 7rem);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink-3); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--bronze-text); }

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 500; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.narrow { max-width: 46rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 1.25rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--paper); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bronze-text);
  margin: 0 0 1.25rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--bronze-light); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.65; color: var(--muted); }
.serif-note { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.8rem 1.5rem;
  font: 600 0.95rem/1.2 var(--font-sans); letter-spacing: 0.01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { --btn-bg: var(--ink-3); --btn-bd: var(--ink-3); color: var(--btn-fg); transform: translateY(-1px); }
.btn svg { width: 1em; height: 1em; flex: none; }

.btn-bronze { --btn-bg: var(--ink); --btn-bd: var(--ink); }
.btn-bronze:hover { --btn-bg: var(--ink-3); --btn-bd: var(--ink-3); }
.site-footer .btn-bronze { --btn-bg: var(--bronze); --btn-fg: var(--ink); --btn-bd: var(--bronze); }
.site-footer .btn-bronze:hover { --btn-bg: var(--bronze-light); --btn-fg: var(--ink); --btn-bd: var(--bronze-light); }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--stone-2); }
.btn-ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }

.on-dark .btn-ghost { --btn-fg: var(--on-dark); --btn-bd: rgba(255, 255, 255, 0.3); }
.on-dark .btn-ghost:hover { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.on-dark .btn-light { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.on-dark .btn-light:hover { --btn-bg: var(--ivory); --btn-fg: var(--ink); --btn-bd: var(--ivory); }

.btn-sm { min-height: 40px; padding: 0.55rem 1.1rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

.btn[aria-disabled="true"] {
  --btn-bg: transparent; --btn-fg: var(--muted); --btn-bd: var(--stone-2);
  border-style: dashed; cursor: not-allowed; transform: none;
}

.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; font-size: 0.95rem; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--bronze);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--bronze-text); }
.text-link svg { width: 0.9em; height: 0.9em; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Placeholder (content awaiting confirmation) ---------- */
.tbc {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font: 600 0.72rem/1 var(--font-sans);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #7a5a12; background: #fbf3dc;
  border: 1px dashed #d8b65c; border-radius: 999px;
  padding: 0.4rem 0.7rem;
}
.tbc-box {
  border: 1px dashed var(--stone-2); border-radius: var(--radius);
  background: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(214, 206, 192, 0.18) 10px 20px);
  padding: 1rem 1.25rem; color: var(--muted); font-size: 0.95rem;
}
.tbc-box .tbc { margin-bottom: 0.6rem; }

/* ---------- Header ---------- */
.topbar {
  background: var(--ink); color: var(--on-dark-muted);
  font-size: 0.8rem; letter-spacing: 0.02em;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 40px;
}
.topbar p { margin: 0; }
.topbar a { color: var(--bronze-light); font-weight: 600; text-decoration: none; display: inline-flex; gap: 0.4rem; align-items: center; }
.topbar a:hover { color: var(--paper); }
.topbar svg { width: 0.85em; height: 0.85em; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--stone);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); white-space: nowrap; }
.brand-title { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.brand:hover .brand-name { color: var(--ink-3); }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.1rem; }
.primary-nav a {
  position: relative; display: block;
  padding: 0.55rem 0.5rem;
  font-size: 0.86rem; font-weight: 500; color: var(--text);
  text-decoration: none; white-space: nowrap;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0.5rem; right: 0.5rem; bottom: 0.25rem;
  height: 1px; background: var(--bronze);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.primary-nav .nav-book { display: none; }

.header-actions { display: none; align-items: center; gap: 0.5rem; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 46px; height: 46px; padding: 0;
  background: none; border: 1px solid var(--stone); border-radius: 50%; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 1320px) {
  .brand { flex: none; }
  .nav-toggle { display: none; }
}

@media (max-width: 1319.98px) {
  .header-actions { display: flex; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--stone);
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul {
    flex-direction: column; align-items: stretch; gap: 0;
    width: min(100% - 2 * var(--gutter), var(--max)); margin: 0 auto; padding: 0.5rem 0 1.25rem;
  }
  .primary-nav li + li { border-top: 1px solid var(--stone); }
  .primary-nav a { padding: 0.95rem 0; font-size: 1rem; }
  .primary-nav a::after { display: none; }
  .primary-nav a[aria-current="page"] { color: var(--bronze-text); }
  .primary-nav .nav-book { display: block; border-top: 0; padding-top: 1rem; }
  .primary-nav .nav-book a { color: var(--paper); padding: 0.8rem 1.5rem; }
}

@media (max-width: 720px) {
  .topbar { display: none; }
  .brand-title { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.15rem; }
  :root { --header-h: 68px; }
}
@media (max-width: 420px) {
  .header-inner { gap: 0.6rem; }
  .brand { gap: 0.6rem; }
  .brand-name { font-size: 1.05rem; }
  .header-actions { gap: 0.4rem; }
  .header-actions .btn-sm { padding-inline: 0.85rem; }
  .nav-toggle { width: 42px; height: 42px; }
}
@media (max-width: 339.98px) {
  .header-actions .btn { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.bg-ivory { background: var(--ivory); }
.bg-mist { background: var(--mist); }
.bg-ink { background: var(--ink); color: var(--on-dark); }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--paper); }
.bg-ink .lead, .bg-ink p { color: var(--on-dark-muted); }
.bg-ink a:not(.btn) { color: var(--bronze-light); }

.section-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--paper);
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.hero h1 { margin-bottom: 0.25em; }
.hero-postnominals {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--bronze-text);
  margin: 0 0 1.5rem;
}
.hero .lead { max-width: 36rem; margin-bottom: 2rem; }
.hero-meta { margin-top: 1.5rem; font-size: 0.85rem; color: var(--muted); max-width: 32rem; }

/* Contemporary portrait: clean rectangle, softly rounded, on a pale offset panel */
.portrait {
  position: relative; margin: 0;
  max-width: 420px; justify-self: end; width: 100%;
}
.portrait::before {
  content: ""; position: absolute; z-index: 0;
  inset: 2rem -2rem -2rem 2rem;
  background: var(--mist); border-radius: var(--radius-lg);
}
.portrait img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  background: var(--stone);
}
.portrait-badge {
  position: absolute; z-index: 2; left: 1rem; bottom: 1rem;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 0.5rem 0.8rem; box-shadow: var(--shadow-sm);
  display: flex; gap: 0.55rem; align-items: center;
  max-width: calc(100% - 2rem);
}
.portrait-badge svg { width: 20px; height: 20px; flex: none; color: var(--bronze); }
.portrait-badge strong { display: block; font-family: var(--font-sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.02em; color: var(--ink); line-height: 1.25; }
.portrait-badge span { display: block; font-size: 0.7rem; color: var(--muted); line-height: 1.3; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { justify-self: center; max-width: 320px; order: -1; margin-bottom: 1rem; }
  .portrait::before { inset: 1.25rem -1.25rem -1.25rem 1.25rem; }
  .hero-copy { text-align: left; }
  .hero { padding-top: 2.5rem; }
}
@media (max-width: 480px) {
  .portrait { max-width: 260px; }
  .portrait::before { inset: 0.9rem -0.9rem -0.9rem 0.9rem; }
  .portrait-badge { left: 0.6rem; bottom: 0.6rem; max-width: calc(100% - 1.2rem); }
  .hero-copy .eyebrow { font-size: 0.7rem; letter-spacing: 0.12em; }
}

/* ---------- Credentials strip ---------- */
.credentials {
  border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone);
  background: var(--paper);
}
.credentials ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.credentials li { padding: 1.75rem 1.5rem; border-left: 1px solid var(--stone); }
.credentials li:first-child { border-left: 0; padding-left: 0; }
.credentials .k { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-text); font-weight: 600; margin-bottom: 0.35rem; }
.credentials .v { display: block; font-family: var(--font-serif); font-size: 1.15rem; color: var(--ink); line-height: 1.3; }
@media (max-width: 900px) {
  .credentials ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credentials li { padding: 1.25rem 1rem; border-left: 0; border-top: 1px solid var(--stone); }
  .credentials li:nth-child(-n+2) { border-top: 0; }
  .credentials li:nth-child(odd) { padding-left: 0; }
  .credentials li:nth-child(even) { border-left: 1px solid var(--stone); }
}
@media (max-width: 520px) {
  .credentials ul { grid-template-columns: 1fr; }
  .credentials li, .credentials li:nth-child(even) { border-left: 0; padding-left: 0; }
  .credentials li:nth-child(2) { border-top: 1px solid var(--stone); }
}

/* ---------- Split / intro ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.split.reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
@media (max-width: 900px) { .split, .split.reverse { grid-template-columns: 1fr; } }

.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0; }
.facts li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--stone); }
.facts li:last-child { border-bottom: 1px solid var(--stone); }
.facts .k { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze-text); font-weight: 600; padding-top: 0.2rem; }
.facts .v { color: var(--text); }
@media (max-width: 480px) { .facts li { grid-template-columns: 1fr; gap: 0.15rem; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover { border-color: var(--stone-2); box-shadow: var(--shadow); }
.bg-ivory .card, .bg-mist .card { border-color: transparent; box-shadow: var(--shadow-sm); }
.bg-ivory .card:hover, .bg-mist .card:hover { box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .card-foot { margin-top: auto; padding-top: 1.25rem; }
.card-num { font-family: var(--font-serif); font-size: 0.95rem; color: var(--bronze-text); margin-bottom: 1.5rem; display: block; letter-spacing: 0.04em; }
.card-icon { width: 44px; height: 44px; color: var(--bronze); margin-bottom: 1.25rem; }

.card-link { text-decoration: none; color: inherit; }
.card-link:hover { color: inherit; transform: translateY(-3px); }
.card-link::after { content: ""; position: absolute; inset: 0; }

/* ---------- Dark feature band ---------- */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3.5rem); }
.feature-list li { padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.feature-list h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.feature-list p { font-size: 0.97rem; margin: 0; }
@media (max-width: 760px) { .feature-list { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--ivory);
  padding-block: clamp(3rem, 6vw, 5rem) clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--stone);
}
.page-hero-mist { background: var(--mist); }
.page-hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); max-width: 22ch; }
.page-hero .lead { max-width: 44rem; margin: 0; }
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.75rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--stone-2); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Prose ---------- */
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text); }
.prose em { font-style: italic; }

.aside-card {
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  background: var(--ivory); border-radius: var(--radius-lg); padding: 1.75rem;
}
.aside-card h2 { font-size: 1.4rem; }
.aside-card dl { margin: 0; }
.aside-card dt { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-text); font-weight: 600; margin-top: 1.1rem; }
.aside-card dd { margin: 0.2rem 0 0; font-family: var(--font-serif); font-size: 1.1rem; color: var(--ink); line-height: 1.35; }
.aside-card .btn { margin-top: 1.75rem; }
.aside-card img { border-radius: var(--radius); margin-bottom: 1.25rem; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; width: 100%; }
@media (max-width: 900px) { .aside-card { position: static; } }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 0.6rem; bottom: 0.6rem; width: 1px; background: var(--stone-2); }
.timeline li { position: relative; padding: 0 0 2rem 2.5rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 0.45rem;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--bronze);
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 8px var(--bronze);
}
.timeline h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.timeline .when { display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-text); font-weight: 600; margin-bottom: 0.2rem; }
.timeline p { color: var(--muted); font-size: 0.98rem; }

.tag-list { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-list li { font-size: 0.85rem; border: 1px solid var(--stone-2); border-radius: 999px; padding: 0.35rem 0.85rem; color: var(--ink); background: var(--paper); }

/* ---------- Notices ---------- */
.notice {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--ivory); border-left: 3px solid var(--bronze);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.15rem 1.35rem; font-size: 0.95rem; color: var(--text);
}
.bg-ivory .notice, .bg-mist .notice { background: var(--paper); }
.notice svg { width: 22px; height: 22px; flex: none; color: var(--bronze); margin-top: 0.15rem; }
.notice p { margin: 0; }
.notice p + p { margin-top: 0.5rem; }

/* ---------- Resource feature (BOFAS) ---------- */
.resource {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--ink); color: var(--on-dark);
}
.resource-body { padding: clamp(2rem, 4vw, 3.25rem); }
.resource-body h2 { color: var(--paper); }
.resource-body p { color: var(--on-dark-muted); }
.resource-side {
  background:
    linear-gradient(160deg, rgba(180, 154, 115, 0.22), transparent 60%),
    var(--ink-2);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex; flex-direction: column; justify-content: center; gap: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.resource-side .k { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-light); font-weight: 600; }
.resource-side .v { font-family: var(--font-serif); font-size: 1.35rem; color: var(--paper); line-height: 1.3; }
.resource-side .url { font-size: 0.85rem; color: var(--on-dark-muted); word-break: break-word; }
@media (max-width: 820px) { .resource { grid-template-columns: 1fr; } .resource-side { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); } }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }

.product {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--stone); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.product:hover { box-shadow: var(--shadow); border-color: var(--stone-2); }
.product-media {
  position: relative; aspect-ratio: 4 / 3; margin: 0;
  background: linear-gradient(145deg, var(--ivory), var(--mist));
  display: grid; place-items: center;
  border-bottom: 1px solid var(--stone);
}
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 1.25rem; }
.product-media .placeholder-art { display: grid; justify-items: center; gap: 0.75rem; color: var(--bronze); text-align: center; padding: 1rem; }
.product-media .placeholder-art svg { width: 52px; height: 52px; opacity: 0.8; }
.product-media .placeholder-art span { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.product-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-text); font-weight: 600; margin-bottom: 0.6rem; }
.product h2 { font-size: 1.35rem; font-weight: 500; margin-bottom: 0.5rem; }
.product p { color: var(--muted); font-size: 0.96rem; }
.product .product-foot { margin-top: auto; padding-top: 1.25rem; }

/* ---------- Media / video ---------- */
.video {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow-lg);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: grid; place-items: center; text-align: center;
  padding: 1.5rem; border: 0; cursor: pointer; color: var(--on-dark);
  background:
    radial-gradient(700px 360px at 80% 10%, rgba(180, 154, 115, 0.28), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(45, 75, 96, 0.9), transparent 70%),
    var(--ink);
  font-family: var(--font-sans);
}
.video-facade-inner { display: grid; justify-items: center; gap: 1rem; max-width: 34rem; }
.video-facade .play {
  width: clamp(64px, 9vw, 88px); height: clamp(64px, 9vw, 88px);
  border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.video-facade .play svg { width: 34%; height: 34%; margin-left: 6%; }
.video-facade:hover .play, .video-facade:focus-visible .play { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.12); }
.video-facade .vf-kicker { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-light); font-weight: 600; }
.video-facade .vf-title { font-family: var(--font-serif); font-size: clamp(1.15rem, 2.4vw, 1.6rem); line-height: 1.3; color: var(--paper); }
.video-facade .vf-note { font-size: 0.8rem; color: var(--on-dark-muted); }
@media (max-width: 520px) { .video-facade .vf-title { font-size: 1rem; } .video-facade .vf-note { display: none; } }

.episode-meta { list-style: none; padding: 0; margin: 0; }
.episode-meta li { padding: 1rem 0; border-top: 1px solid var(--stone); }
.episode-meta li:last-child { border-bottom: 1px solid var(--stone); }
.episode-meta .k { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-text); font-weight: 600; }
.episode-meta .v { font-family: var(--font-serif); font-size: 1.1rem; color: var(--ink); }

/* ---------- Sports gallery ---------- */
.gallery {
  display: grid; gap: clamp(0.75rem, 1.5vw, 1.25rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--stone); }
.gallery .wide { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery .wide img { aspect-ratio: 912 / 646; object-position: 50% 40%; }
.gallery figure:not(.wide) img { aspect-ratio: 453 / 482; }
.gallery figure:hover img { transform: scale(1.025); }
.gallery figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(23, 43, 58, 0.82); color: var(--paper);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.45rem 0.8rem; border-radius: 999px;
}
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

.sport-card { text-align: left; }
.sport-card .card-icon { width: 40px; height: 40px; }

/* ---------- Home teasers ---------- */
.teaser-media {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 860px) { .teaser-media { grid-template-columns: 1fr; } }
.teaser {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 380px; border-radius: var(--radius-lg); overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.25rem); color: var(--paper); text-decoration: none;
  isolation: isolate; background: var(--ink);
}
.teaser img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease); }
.teaser::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 43, 58, 0.05) 20%, rgba(23, 43, 58, 0.88) 100%); }
.teaser:hover img { transform: scale(1.03); }
.teaser .k { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-light); font-weight: 600; margin-bottom: 0.5rem; }
.teaser h3 { color: var(--paper); font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 0.5rem; }
.teaser p { color: var(--on-dark-muted); margin-bottom: 1rem; max-width: 30rem; }
.teaser .go { display: inline-flex; gap: 0.5rem; align-items: center; font-weight: 600; font-size: 0.92rem; color: var(--paper); }
.teaser .go svg { width: 1em; height: 1em; transition: transform 0.25s var(--ease); }
.teaser:hover { color: var(--paper); }
.teaser:hover .go svg { transform: translateX(4px); }
.teaser-video {
  background:
    radial-gradient(600px 360px at 85% 0%, rgba(180, 154, 115, 0.35), transparent 60%),
    radial-gradient(500px 400px at 0% 100%, rgba(45, 75, 96, 0.95), transparent 70%),
    var(--ink);
}
.teaser-video::before { display: none; }
.teaser-video .play-mini {
  position: absolute; top: clamp(1.5rem, 3vw, 2.25rem); left: clamp(1.5rem, 3vw, 2.25rem);
  width: 64px; height: 64px; border-radius: 50%; background: var(--paper); color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.08);
}
.teaser-video .play-mini svg { width: 22px; height: 22px; margin-left: 4px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(180, 154, 115, 0.25), transparent 60%),
    var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 4rem);
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center;
}
.cta-band h2 { color: var(--paper); margin-bottom: 0.4rem; }
.cta-band p { color: var(--on-dark-muted); margin: 0; max-width: 38rem; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.booking-card {
  background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem); box-shadow: var(--shadow-lg);
  background-image: radial-gradient(700px 400px at 100% 0%, rgba(180, 154, 115, 0.25), transparent 60%);
}
.booking-card h2 { color: var(--paper); }
.booking-card p { color: var(--on-dark-muted); }
.booking-card .btn { margin-top: 0.5rem; }
.booking-card .fine { font-size: 0.85rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 1.25rem 0; border-top: 1px solid var(--stone); }
.contact-list li:last-child { border-bottom: 1px solid var(--stone); }
.contact-list .k { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-text); font-weight: 600; margin-bottom: 0.25rem; }
.contact-list .v { font-family: var(--font-serif); font-size: 1.2rem; color: var(--ink); word-break: break-word; }
.contact-list .v a { color: var(--ink); }
.contact-list .note { display: block; font-size: 0.88rem; color: var(--muted); margin-top: 0.25rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: 0.92rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(3.5rem, 6vw, 5rem) 2.5rem; }
.site-footer .brand-name { color: var(--paper); font-size: 1.5rem; white-space: normal; }
.site-footer .footer-post { font-family: var(--font-serif); font-style: italic; color: var(--bronze-light); margin: 0.35rem 0 1rem; }
.site-footer p { margin: 0 0 0.6rem; }
.site-footer h2 { font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-light); font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--bronze-light); text-decoration: underline; }
.site-footer .btn { margin-top: 0.75rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 1.5rem 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; font-size: 0.82rem; }
.footer-bottom p { margin: 0; max-width: 52rem; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .site-footer, .cta-band, .btn { display: none !important; }
  body { color: #000; }
  .page-hero, .hero, .bg-ivory { background: none !important; }
}

.card-title { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 500; margin-bottom: 0.5rem; }

/* ---------- Procedure lists (Conditions & Treatments) ---------- */
.procedure-list { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.procedure-list li { position: relative; padding-left: 1.15rem; color: var(--text); font-size: 0.98rem; line-height: 1.5; }
.procedure-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); }
