/*
    Modern medical, in the current drdharsh.com palette.
    Purple (from the logo, deepened for contrast) is the action colour.
    Gold (from the site's gradient) is used only for small details.
    Shape rule: buttons, inputs and tabs 12px; cards and images 20px; icon chips are circles.
    z-index scale: nav 30, mobile menu 40.
  */
  :root {
    --bg: #fdfcf9;
    --cream: #f7f3ea;
    --cream-2: #efe8d8;
    --line: #e6dfcf;
    --ink: #241f27;
    --muted: #5d5761;
    --purple: #8a2d98;
    --purple-deep: #6f2179;
    --purple-soft: #f5eaf6;
    --gold: #9a7b2f;
    --gold-grad: linear-gradient(135deg, #dcc270 0%, #a3873f 100%);
    --gold-soft: #f4ecd5;
  --gold-text: #75591a;
    --r-sm: 12px;
    --r-lg: 20px;
    --shadow: 0 1px 2px rgb(60 40 20 / .05), 0 18px 44px -24px rgb(80 55 25 / .28);
    --ease: cubic-bezier(.16, 1, .3, 1);
    --maxw: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    color-scheme: light;
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
  body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 "Geist", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  img { display: block; max-width: 100%; }
  a { color: inherit; }
  h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; }
  p { margin: 0; }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
  :focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 8px; }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; font: 500 16px/1 "Geist", sans-serif; text-decoration: none; padding: 15px 22px; border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer; transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
  .btn:active { transform: translateY(1px) scale(.99); }
  .btn i { font-size: 18px; }
  .btn-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 22px -12px rgb(138 45 152 / .7); }
  .btn-primary:hover { background: var(--purple-deep); }
  .btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
  .btn-line:hover { border-color: var(--ink); }

  .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); margin-bottom: 18px; }
  .eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--gold-grad); }

  /* Utility bar */
  .util { background: var(--ink); color: #ede7ef; font-size: 13.5px; }
  .util .wrap { display: flex; align-items: center; gap: 28px; min-height: 40px; }
  .util a { text-decoration: none; }
  .util span, .util a { display: inline-flex; align-items: center; gap: 8px; }
  .util i { color: #e5cf86; font-size: 15px; }
  .util .em { margin-left: auto; font-weight: 600; }
  .util .em i { color: #ff9fae; }
  @media (max-width: 960px) { .util .hide-sm { display: none; } .util .em { margin-left: 0; } }

  /* Nav */
  .nav { position: sticky; top: 0; z-index: 30; background: rgb(253 252 249 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
  .nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgb(60 40 20 / .4); }
  .nav .wrap { height: 72px; display: flex; align-items: center; gap: 24px; }
  .logo img { height: 30px; width: auto; }
  .links { display: flex; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
  .links a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s, background-color .2s; }
  .links a:hover { color: var(--ink); background: var(--cream); }
  .nav .btn { padding: 12px 18px; font-size: 15px; }
  .menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 22px; cursor: pointer; place-items: center; }
  .mobile-menu { display: none; }
  @media (max-width: 1040px) {
    .links, .nav .btn-primary { display: none; }
    .menu-btn { display: grid; }
    .mobile-menu { display: block; position: fixed; z-index: 40; top: 0; left: 0; right: 0; background: var(--bg); padding: 16px var(--gutter) 24px; box-shadow: 0 30px 60px -30px rgb(60 40 20 / .4); transform: translateY(-105%); transition: transform .45s var(--ease); }
    .mobile-menu.open { transform: none; }
    .mobile-menu .top { display: flex; justify-content: space-between; align-items: center; height: 48px; margin-bottom: 12px; }
    .mobile-menu .top .menu-btn { margin: 0; }
    .mobile-menu a.l { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-size: 19px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
    .mobile-menu .btn { width: 100%; margin-top: 18px; }
  }

  /* Hero */
  .hero { padding: clamp(36px, 6vw, 72px) 0 0; position: relative; isolation: isolate; }
  .hero::before { content: ""; position: absolute; inset: 0 0 90px 0; background: radial-gradient(70% 90% at 85% 10%, var(--purple-soft) 0%, transparent 60%), radial-gradient(50% 70% at 10% 90%, var(--gold-soft) 0%, transparent 70%); z-index: -1; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
  .hero h1 { font-size: clamp(42px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -0.04em; }
  .hero h1 em { font-style: normal; color: var(--purple); }
  .hero-sub { margin-top: 22px; max-width: 46ch; font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); }
  .hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
  .portrait { position: relative; justify-self: end; width: min(100%, 480px); }
  .portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--r-lg); border: 1.5px solid #d9c27d; transition: opacity .9s var(--ease); }
  .portrait .frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.7; background: var(--cream); box-shadow: var(--shadow); }
  .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
  .cred-chip { position: absolute; left: -28px; bottom: 40px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
  .cred-chip .ic { width: 42px; height: 42px; border-radius: 99px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-size: 22px; }
  .cred-chip strong { display: block; font-size: 15px; }
  .cred-chip span { font-size: 13px; color: var(--muted); }
  html.anim .h-in { opacity: 0; transform: translateY(20px); }
  html.anim .portrait .frame { clip-path: inset(100% 0 0 0 round var(--r-lg)); }
  html.anim .portrait::before, html.anim .cred-chip { opacity: 0; }
  html.anim .portrait.ready::before { opacity: 1; }
  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .portrait { justify-self: start; width: calc(100% - 18px); }
    .cred-chip { left: 12px; bottom: 12px; }
  }

  /* Quick actions */
  .quick { position: relative; margin-top: clamp(48px, 6vw, 80px); }
  .quick .panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
  .quick a { display: flex; gap: 14px; align-items: center; padding: 22px 24px; text-decoration: none; transition: background-color .25s; min-width: 0; }
  .quick a + a { border-left: 1px solid var(--line); }
  .quick a:hover { background: var(--cream); }
  .quick .ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 99px; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); font-size: 21px; }
  .quick .urgent .ic { background: #fde8eb; color: #b3263e; }
  .quick strong { display: block; font-size: 14px; font-weight: 600; }
  .quick span { font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
  @media (max-width: 760px) {
    .quick .panel { grid-template-columns: 1fr; }
    .quick a + a { border-left: 0; border-top: 1px solid var(--line); }
  }
  @media (max-width: 560px) {
    .quick .panel { grid-template-columns: 1fr; }
    .quick a + a { border-left: 0; border-top: 1px solid var(--line); }
  }

  /* Section shell */
  .sec { padding: clamp(56px, 6vw, 88px) 0; }
  .sec-title { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.06; }
  .sec-lede { margin-top: 16px; max-width: 58ch; color: var(--muted); font-size: 18px; }
  html.anim .reveal { opacity: 0; transform: translateY(24px); }

  /* Services tabs */
  .tabs { margin-top: 40px; display: inline-flex; gap: 6px; padding: 6px; background: var(--cream); border-radius: 16px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 12px 18px; border-radius: var(--r-sm); font: 500 15.5px/1 "Geist", sans-serif; color: var(--muted); cursor: pointer; white-space: nowrap; transition: background-color .25s var(--ease), color .25s, box-shadow .25s; }
  .tab i { font-size: 18px; }
  .tab:hover { color: var(--ink); }
  .tab[aria-selected="true"] { background: #fff; color: var(--purple); box-shadow: 0 6px 16px -10px rgb(60 40 20 / .35); }
  .panels { margin-top: 28px; }
  .tp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow); }
  .tp[hidden] { display: none; }
  .tp .pic { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 11; }
  .tp .pic img { width: 100%; height: 100%; object-fit: cover; }
  .tp .txt { padding: clamp(8px, 2vw, 28px) clamp(8px, 2vw, 28px) clamp(8px, 2vw, 28px) 0; }
  .tp h3 { font-size: clamp(26px, 2.4vw, 34px); }
  .tp p { margin-top: 12px; color: var(--muted); }
  .checks { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 12px; }
  .checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
  .checks i { flex-shrink: 0; margin-top: 2px; font-size: 20px; color: var(--purple); }
  @media (max-width: 860px) { .tp { grid-template-columns: 1fr; } .tp .txt { padding: 8px 10px 14px; } }

  /* Doctor */
  .doctor { background: var(--cream); }
  .doc-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
  .doc-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); background: var(--cream-2); }
  .doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
  .doc-role { margin-top: 10px; color: var(--gold-text); font-weight: 600; }
  .doc-bio { margin-top: 18px; color: var(--muted); max-width: 60ch; }
  .facts { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .fact { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 16px; padding: 18px; border: 1px solid var(--line); }
  .fact i { flex-shrink: 0; width: 40px; height: 40px; border-radius: 99px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-size: 20px; }
  .fact strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
  .fact span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }
  .hosp { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; }
  .hosp span { display: inline-flex; align-items: center; gap: 8px; }
  .hosp i { color: var(--purple); font-size: 18px; }
  @media (max-width: 900px) { .doc-grid { grid-template-columns: 1fr; } .doc-photo { aspect-ratio: 4 / 3.6; } .facts { grid-template-columns: 1fr; } }

  /* First visit timeline */
  .steps { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .steps .track { position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
  .steps .fill { position: absolute; inset: 0; background: var(--gold-grad); transform-origin: left center; }
  .step { position: relative; }
  .step .ic { width: 56px; height: 56px; border-radius: 99px; display: grid; place-items: center; background: #fff; border: 2px solid var(--purple); color: var(--purple); font-size: 24px; position: relative; }
  .step h3 { margin-top: 22px; font-size: 22px; }
  .step p { margin-top: 8px; color: var(--muted); max-width: 32ch; }
  @media (max-width: 860px) {
    .steps { grid-template-columns: 1fr; gap: 32px; }
    .steps .track { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
    .steps .fill { transform-origin: center top; }
    .step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; }
    .step h3 { margin-top: 12px; }
  }

  /* Clinic + map */
  .gallery { margin-top: 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 14px; }
  .gallery figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 3.6; background: var(--cream); }
  .gallery figure:first-child, .gallery figure:last-child { aspect-ratio: auto; }
  .gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
  .gallery figure:hover img { transform: scale(1.04); }
  .where { margin-top: 14px; position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 440px; background: var(--cream); }
  .where iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.75) sepia(.12); }
  .addr { position: relative; margin: 20px; width: min(380px, calc(100% - 40px)); background: #fff; border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
  .addr h3, .addr h2 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; }
  .addr dl { margin: 16px 0 20px; display: grid; gap: 12px; font-size: 15px; }
  .addr dt { font-weight: 600; font-size: 13px; color: var(--muted); }
  .addr dd { margin: 2px 0 0; }
  @media (max-width: 860px) {
    .gallery { grid-template-columns: 1fr 1fr; }
    .gallery figure, .gallery figure:first-child, .gallery figure:last-child { aspect-ratio: 1; }
    .where { min-height: 0; display: flex; flex-direction: column; }
    .where iframe { position: static; height: 260px; order: 2; }
    .addr { margin: 0; width: 100%; border-radius: 0; box-shadow: none; }
  }

  /* Media */
  .media-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .art { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; transition: border-color .25s, transform .4s var(--ease), box-shadow .3s; }
  .art:hover { border-color: #d9c27d; transform: translateY(-3px); box-shadow: var(--shadow); }
  .art .ic { width: 56px; height: 56px; border-radius: 99px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-size: 26px; }
  .art .src { font-size: 13.5px; color: var(--muted); font-weight: 500; }
  .art h3 { margin-top: 6px; font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; }
  .art .go { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--purple); font-weight: 500; font-size: 15px; }
  @media (max-width: 760px) { .media-grid { grid-template-columns: 1fr; } }

  /* Booking */
  .book { background: linear-gradient(180deg, var(--bg) 0%, var(--purple-soft) 100%); }
  #latest + .book { padding-top: clamp(24px, 3vw, 40px); }
  .book-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
  .note { margin-top: 28px; display: grid; gap: 14px; }
  .note div { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
  .note i { flex-shrink: 0; font-size: 22px; color: var(--purple); margin-top: 1px; }
  .note strong { color: var(--ink); }
  form { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .field { display: grid; gap: 8px; }
  .field.full { grid-column: 1 / -1; }
  label { font-size: 14px; font-weight: 600; }
  label .opt { font-weight: 400; color: var(--muted); }
  input, select, textarea { font: 400 16px/1.4 "Geist", sans-serif; color: var(--ink); background: #fff; border: 1px solid #cfc6b4; border-radius: var(--r-sm); padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
  textarea { min-height: 104px; resize: vertical; }
  input::placeholder { color: #75707a; }
  input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgb(138 45 152 / .18); }
  .help { font-size: 13px; color: var(--muted); }
  .err { font-size: 13px; color: #b3261e; display: none; }
  .field.invalid input, .field.invalid select { border-color: #b3261e; }
  .field.invalid .err { display: block; }
  .form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
  .sent { grid-column: 1 / -1; display: none; padding: 8px 0; }
  .sent i { font-size: 40px; color: var(--purple); }
  .sent strong { display: block; margin-top: 10px; font-size: 24px; letter-spacing: -0.02em; }
  .sent p { margin-top: 6px; color: var(--muted); }
  form.done .sent { display: block; }
  form.done .field, form.done .form-foot { display: none; }
  @media (max-width: 860px) { .book-grid, form { grid-template-columns: 1fr; } }

  /* Footer */
  footer { background: var(--cream); padding: 64px 0 32px; font-size: 14.5px; color: var(--muted); }
  .foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
  footer h4, footer .foot-h { margin: 0 0 14px; font-size: 14px; color: var(--ink); font-weight: 600; letter-spacing: 0; }
  footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
  footer a { text-decoration: none; }
  footer a:hover { color: var(--purple); }
  .foot-logo img { height: 30px; width: auto; }
  .foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
  @media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }


  /* v5 video hero */
  .vhero { position: relative; isolation: isolate; min-height: calc(100dvh - 112px); display: flex; align-items: center; padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; }
  .vframe { position: absolute; inset: 0; z-index: -1; overflow: hidden; transform-origin: 50% 0; will-change: transform; background: var(--cream); }
  .vframe video, .vframe img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
  .vshade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(253 252 249 / .96) 0%, rgb(253 252 249 / .9) 44%, rgb(253 252 249 / .35) 66%, rgb(253 252 249 / 0) 88%), linear-gradient(0deg, rgb(253 252 249 / .55) 0%, transparent 30%); }
  .vgrid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; width: 100%; }
  .vhero h1 { font-size: clamp(42px, 5.6vw, 78px); line-height: 1.04; letter-spacing: -0.045em; }
  .vhero h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; }
  .vhero h1 .ln > span { display: block; }
  html.anim .vhero h1 .ln > span { transform: translateY(110%); }
  .rot { position: relative; display: block; height: 1.12em; overflow: hidden; color: var(--purple); }
  .rot span { position: absolute; left: 0; top: 0; white-space: nowrap; }
  .vhero .hero-sub { margin-top: 24px; color: #4c4650; }
  .doc-card { justify-self: end; width: min(100%, 360px); padding: 18px; border-radius: var(--r-lg); background: rgb(255 255 255 / .72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .7), var(--shadow); }
  .doc-card .row { display: flex; gap: 14px; align-items: center; }
  .doc-card img { width: 72px; height: 72px; border-radius: 99px; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px #d9c27d; }
  .doc-card strong { display: block; font-size: 16px; line-height: 1.3; }
  .doc-card .role { font-size: 13.5px; color: var(--muted); }
  .doc-card .badges { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
  .doc-card .badges span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 99px; background: var(--gold-soft); color: #6e5620; font-size: 13px; font-weight: 600; }
  .doc-card a { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: var(--r-sm); background: #fff; text-decoration: none; font-weight: 500; font-size: 15px; transition: background-color .25s; }
  .doc-card a:hover { background: var(--purple-soft); color: var(--purple); }
  @supports not (backdrop-filter: blur(1px)) { .doc-card { background: #fff; } }
  html.anim .doc-card { opacity: 0; transform: translateY(30px); }
  .vtoggle { position: absolute; right: var(--gutter); bottom: 24px; width: 44px; height: 44px; border-radius: 99px; border: 0; background: rgb(255 255 255 / .8); color: var(--ink); display: grid; place-items: center; font-size: 18px; cursor: pointer; box-shadow: var(--shadow); }
  @media (max-width: 900px) {
    .vhero { min-height: 0; align-items: flex-start; }
    .vshade { background: linear-gradient(180deg, rgb(253 252 249 / .55) 0%, rgb(253 252 249 / .9) 45%, rgb(253 252 249 / .97) 100%); }
    .vgrid { grid-template-columns: 1fr; }
    .doc-card { justify-self: start; width: 100%; }
    .vtoggle { bottom: 12px; width: 38px; height: 38px; }
  }

  /* Services marquee */
  .marquee { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding: 22px 0; }
  .marquee .track { display: flex; width: max-content; animation: slide 46s linear infinite; }
  .marquee:hover .track { animation-play-state: paused; }
  .marquee .item { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; color: var(--ink); }
  .marquee .item i { color: #c4a552; font-size: .8em; }
  @keyframes slide { to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
  }

/* ===== Multi-page additions ===== */
.links a[aria-current="page"], .mobile-menu a.l[aria-current="page"] { color: var(--purple); background: var(--purple-soft); }
.mobile-menu a.l[aria-current="page"] { background: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Inner page hero */
.phero { position: relative; isolation: isolate; padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 90% 0%, var(--purple-soft) 0%, transparent 60%), radial-gradient(40% 70% at 0% 100%, var(--gold-soft) 0%, transparent 70%); }
.phero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--purple); }
.crumbs i { font-size: 12px; }
.phero h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.04em; }
.phero h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; }
.phero h1 .ln > span { display: block; }
.phero h1 em { font-style: normal; color: var(--purple); }
html.anim .phero h1 .ln > span { transform: translateY(110%); }
.phero .lede { margin-top: 20px; max-width: 50ch; font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); }
.phero .hero-ctas { margin-top: 30px; }
.phero-img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); background: var(--cream); }
.phero-img img { width: 100%; height: 115%; object-fit: cover; margin-top: -7%; }
html.anim .phero-img { clip-path: inset(100% 0 0 0 round var(--r-lg)); }
@media (max-width: 900px) { .phero-grid { grid-template-columns: 1fr; } }

/* Intro split with aside */
.intro-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.lead-copy p + p { margin-top: 18px; }
.lead-copy p { color: var(--muted); font-size: 18px; max-width: 62ch; }
.mini-h { margin-top: 30px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.intro-more { margin-top: 8px; }
.ticks { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 10px; max-width: 62ch; }
.ticks li { position: relative; padding-left: 28px; color: var(--muted); font-size: 17px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 99px; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.ticks li strong { color: var(--ink); }
.care-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.care-list li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 16px; line-height: 1.35; }
.care-list li i { flex-shrink: 0; width: 34px; height: 34px; border-radius: 99px; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); font-size: 18px; }
.care-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.care-list a:hover { color: var(--purple); text-decoration: underline; }
.intro-facts { margin: 26px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.intro-facts dt { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.intro-facts dd { margin: 4px 0 0; font-size: 16px; color: var(--ink); line-height: 1.45; }
@media (max-width: 960px) { .care-list, .intro-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .care-list, .intro-facts { grid-template-columns: 1fr; } }
.lead-copy p.big { color: var(--ink); font-size: clamp(22px, 2vw, 28px); line-height: 1.4; letter-spacing: -0.02em; font-weight: 500; }
.aside-card { position: sticky; top: 110px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); }
.aside-card .who { display: flex; gap: 14px; align-items: center; }
.aside-card .who img { width: 64px; height: 64px; border-radius: 99px; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px #d9c27d; }
.aside-card .who strong { display: block; font-size: 15.5px; line-height: 1.3; }
.aside-card .who span { font-size: 13.5px; color: var(--muted); }
.aside-card ul { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.aside-card li { display: flex; gap: 10px; align-items: flex-start; }
.aside-card li i { color: var(--gold); font-size: 19px; margin-top: 1px; }
.aside-card .btn { width: 100%; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* Condition cards */
.conds { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.cond { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; transition: border-color .3s, transform .4s var(--ease), box-shadow .3s; }
.cond:hover { border-color: #d9c27d; transform: translateY(-3px); box-shadow: var(--shadow); }
.cond .ic { width: 48px; height: 48px; border-radius: 99px; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); font-size: 23px; }
.cond h3 { margin-top: 18px; font-size: 20px; letter-spacing: -0.02em; }
.cond .aka { display: block; margin-top: 2px; font-size: 13.5px; color: var(--gold-text); font-weight: 600; }
.cond p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.cond.feature { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 14px; align-items: center; background: var(--cream); border-color: transparent; }
.cond.feature .pic { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.cond.feature .pic img { width: 100%; height: 100%; object-fit: cover; }
.cond.feature .txt { padding: 12px 14px 12px 0; }
@media (max-width: 760px) { .cond.feature { grid-column: auto; grid-template-columns: 1fr; } .cond.feature .txt { padding: 0 10px 12px; } }

/* Feature split */
.fsplit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.fsplit .pic { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.fsplit .pic img { width: 100%; height: 100%; object-fit: cover; }
.fsplit p { margin-top: 16px; color: var(--muted); max-width: 56ch; }
@media (max-width: 860px) { .fsplit { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: 36px; display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex-shrink: 0; width: 32px; height: 32px; border-radius: 99px; display: grid; place-items: center; background: var(--cream); color: var(--purple); transition: transform .4s var(--ease); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 20px; color: var(--muted); max-width: 68ch; }

/* CTA band */
.cta-band { border-radius: 24px; padding: clamp(32px, 5vw, 64px); background: radial-gradient(80% 120% at 100% 0%, #efd9f2 0%, transparent 55%), linear-gradient(135deg, var(--purple-soft) 0%, var(--gold-soft) 100%); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; }
.cta-band h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.08; }
.cta-band p { margin-top: 12px; color: var(--muted); max-width: 52ch; }
.cta-band .hero-ctas { margin-top: 0; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* Related reads */
.related { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }

/* Chips + search */
.filters { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--muted); font: 500 14.5px/1 "Geist", sans-serif; padding: 11px 16px; border-radius: 99px; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.chip:hover { color: var(--ink); border-color: #cfc6b4; }
.chip[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.search { position: relative; width: min(320px, 100%); }
.search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 18px; }
.search input { padding-left: 42px; border-radius: 99px; }
.empty { margin-top: 28px; padding: 40px; border-radius: var(--r-lg); border: 1px dashed #cfc6b4; text-align: center; color: var(--muted); }
.empty i { font-size: 32px; color: var(--gold); }
.empty strong { display: block; margin-top: 8px; color: var(--ink); }

/* Media list */
.mlist { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.mitem { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: border-color .25s, transform .4s var(--ease), box-shadow .3s; }
a.mitem:hover { border-color: #d9c27d; transform: translateY(-2px); box-shadow: var(--shadow); }
.mitem .ic { width: 48px; height: 48px; border-radius: 99px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); font-size: 22px; }
.mitem .src { font-size: 13px; font-weight: 600; color: var(--muted); }
.mitem strong { display: block; margin-top: 2px; font-size: 16px; line-height: 1.35; font-weight: 600; }
.mitem .go { color: var(--purple); font-size: 18px; }
.mitem .go.none { color: var(--line); }
.featured-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.featured-media.solo { grid-template-columns: 1fr; }
.featured-media.solo .fm { min-height: clamp(300px, 34vw, 420px); }
.fm { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; text-decoration: none; color: #fff; background: var(--ink); }
.fm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .8s var(--ease), opacity .4s; }
.fm:hover img { transform: scale(1.04); opacity: .6; }
.fm::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgb(36 31 39 / .85) 100%); }
.fm .txt { position: relative; z-index: 1; padding: 26px; }
.fm .play { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 99px; background: #fff; color: var(--purple); font-size: 22px; margin-bottom: 16px; }
.fm .src { font-size: 13.5px; opacity: .85; }
.fm strong { display: block; margin-top: 4px; font-size: 22px; letter-spacing: -0.02em; line-height: 1.25; }
@media (max-width: 760px) { .featured-media { grid-template-columns: 1fr; } }

/* Blog cards */
.posts { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; transition: border-color .25s, transform .4s var(--ease), box-shadow .3s; }
.post:hover { border-color: #d9c27d; transform: translateY(-4px); box-shadow: var(--shadow); }
.post .pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.post .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .pic img { transform: scale(1.05); }
.post .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cat { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 99px; background: var(--purple-soft); color: var(--purple); font-size: 12.5px; font-weight: 600; }
.post h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; }
.post p { color: var(--muted); font-size: 15px; }
.meta { margin-top: auto; padding-top: 8px; display: flex; gap: 14px; color: var(--muted); font-size: 13.5px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.post.lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.post.lead .pic { aspect-ratio: auto; min-height: 340px; }
.post.lead .body { padding: clamp(24px, 3.4vw, 44px); justify-content: center; }
.post.lead h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; }
.post.lead p { font-size: 17px; }
.post[hidden] { display: none; }
@media (max-width: 1000px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .posts { grid-template-columns: 1fr; } .post.lead { grid-template-columns: 1fr; } .post.lead .pic { min-height: 0; aspect-ratio: 16 / 10; } }

/* Article */
.readbar { position: fixed; z-index: 35; top: 0; left: 0; right: 0; height: 3px; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); }
.ahead { padding: clamp(28px, 4vw, 56px) 0 0; text-align: left; }
.ahead .wrap { max-width: 900px; }
.ahead h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -0.035em; }
.ahead .dek { margin-top: 18px; font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 60ch; }
.byline { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.byline .who { display: flex; gap: 12px; align-items: center; }
.byline .who img { width: 48px; height: 48px; border-radius: 99px; object-fit: cover; }
.byline .who strong { display: block; font-size: 15px; }
.byline .who span, .byline .meta { font-size: 14px; color: var(--muted); margin: 0; padding: 0; }
.review { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px; background: var(--gold-soft); color: #6e5620; font-size: 13px; font-weight: 600; }
.cover { margin-top: 36px; }
.cover .wrap { max-width: 1100px; }
.cover figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; box-shadow: var(--shadow); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.alayout { display: grid; grid-template-columns: 220px minmax(0, 680px); gap: clamp(32px, 6vw, 80px); justify-content: center; padding-top: clamp(48px, 6vw, 72px); }
.toc { position: sticky; top: 110px; align-self: start; font-size: 14.5px; }
.toc strong { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.on { color: var(--purple); border-left-color: var(--purple); }
.prose { font-size: 18px; line-height: 1.75; color: #3a3540; }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 48px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; color: var(--ink); scroll-margin-top: 110px; }
.prose h3 { margin-top: 30px; font-size: 20px; color: var(--ink); }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 99px; background: var(--gold-grad); }
.prose strong { color: var(--ink); }
.prose a { color: var(--purple); }
.callout { display: flex; gap: 14px; padding: 20px 22px; border-radius: 16px; background: var(--purple-soft); color: var(--ink); font-size: 16.5px; line-height: 1.6; }
.callout i { flex-shrink: 0; font-size: 22px; color: var(--purple); margin-top: 2px; }
.callout.warn { background: #fdecef; }
.callout.warn i { color: #b3263e; }
.disclaimer { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .alayout { grid-template-columns: 1fr; } .toc { position: static; } .cover figure { aspect-ratio: 16 / 10; } }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .steps.steps-4 { grid-template-columns: 1fr; } }

[hidden] { display: none !important; }

/* Direct-answer summary at the top of articles */
.answer { padding: 22px 24px; border-radius: 16px; background: var(--gold-soft); border-left: 4px solid #c4a552; color: var(--ink); font-size: 17.5px; line-height: 1.65; }
.answer strong { color: var(--purple-deep); }

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

/* Conditions A to Z */
.az-jump { position: sticky; top: 84px; z-index: 5; padding: 10px 0; background: color-mix(in oklab, var(--bg) 92%, transparent); }
.az-jump .chip { text-decoration: none; min-width: 42px; text-align: center; }
.az { margin-top: 24px; display: grid; gap: 40px; }
.az-group { display: grid; grid-template-columns: 80px 1fr; gap: 24px; scroll-margin-top: 150px; }
.az-letter { font-size: 44px; color: var(--purple); line-height: 1; }
.az dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.az-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; scroll-margin-top: 150px; }
.az-item dt a { font-weight: 600; font-size: 17px; text-decoration: none; color: var(--ink); }
.az-item dt a:hover { color: var(--purple); }
.az-item dd { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.az-item:target { border-color: var(--purple); box-shadow: 0 0 0 3px rgb(138 45 152 / .15); }
@media (max-width: 700px) { .az-group { grid-template-columns: 1fr; gap: 10px; } .az-jump { top: 72px; } }

/* Booking form: spam trap (hidden from people) and error message */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: var(--r-sm); background: #fdecef; color: #8f1d2c; font-size: 15px; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Floating WhatsApp button (shown only when WHATSAPP is set in build.py) */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #25D366; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: 0 10px 28px -10px rgba(18, 90, 48, .55); transition: transform .3s cubic-bezier(.32,.72,0,1); }
.wa-float svg { width: 24px; height: 24px; fill: currentColor; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float:active { transform: scale(.98); }
.wa-float:focus-visible { outline: 3px solid #1a7f45; outline-offset: 3px; }
@media (max-width: 600px) { .wa-float { padding: 14px; right: 16px; bottom: 16px; } .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media print { .wa-float { display: none; } }
