/* Suhani Hospital — Laparoscopy & Urology. Site styles v1 (14 Nov 2026).
   Layout: quiet editorial — one 1200px measure on warm paper, hairline-ruled sections,
   medical illustrations shown on white plates like an anatomy atlas. Single light theme
   by design (the illustrations are drawn on white). */
:root {
  --paper: #FAF7F2;
  --band: #F3EEE6;
  --plate: #FFFFFF;
  --rule: #E4DCCF;
  --rule-soft: #EFE9DF;
  --ink: #2F2E30;
  --text: #4B4B4D;
  --muted: #6A6765;
  --red: #D12023;
  --red-deep: #A8191C;
  --gold: #C9A961;
  --gold-ink: #7C6128;
  --night: #2B2A2C;
  --night-text: #EDE7DE;
  --night-muted: #BFB8AD;
  --serif: Georgia, Gelasio, "Times New Roman", serif;
  --sans: Calibri, Carlito, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--red-deep); text-underline-offset: 3px; }
a:hover { color: #7F1215; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4rem); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); line-height: 1.15; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.25; }
p { margin: 0; }
.wrap {
  max-width: var(--measure);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.eyebrow { font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 40rem; }
.small { font-size: 15px; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.band { background: var(--band); }
.white { background: var(--plate); border-block: 1px solid var(--rule); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-red { background: var(--red); color: #FFFFFF; }
.btn-red:hover { background: var(--red-deep); color: #FFFFFF; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; font-weight: 500; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Preview banner (review build only) */
.preview-bar { background: #FFF6DE; border-bottom: 1px solid var(--gold); font-size: 15px; color: var(--ink); }
.preview-bar .wrap { padding-block: 8px; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
.preview-bar strong { color: var(--gold-ink); letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }

/* Utility bar + header */
.utility { border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--muted); }
.utility .wrap { padding-block: 8px; display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; align-items: center; }
.utility .phones { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.utility a { text-decoration: none; color: var(--ink); font-variant-numeric: tabular-nums; }
.site-header { position: relative; }
.site-header .wrap { padding-block: 18px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; flex-direction: column; gap: 4px; text-decoration: none; }
.brand img { display: block; height: 46px; width: auto; }
.brand span { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-ink); padding-left: 2px; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-size: 17px; }
.nav a { color: var(--ink); text-decoration: none; padding-block: 6px; }
.nav a[aria-current="page"] { border-bottom: 2px solid var(--gold); }
.nav .btn { padding: 10px 20px; min-height: 44px; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .brand img { height: 36px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
    border: 1px solid var(--rule); border-radius: 999px; background: var(--plate); color: var(--ink);
    font: 600 16px var(--sans); cursor: pointer;
  }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--rule); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--rule-soft); }
  .nav a[aria-current="page"] { border-bottom: 1px solid var(--rule-soft); color: var(--red-deep); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
}

/* Home hero */
.hero .wrap { padding-block: clamp(40px, 7vw, 80px) clamp(48px, 8vw, 96px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-text { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-art { flex: 1 1 300px; display: flex; justify-content: center; }
.hero-art svg { width: min(100%, 380px); height: auto; }

/* At a glance */
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.glance div { border-top: 1px solid var(--gold); padding-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.glance strong { font-family: var(--serif); font-weight: 400; font-size: 2.4rem; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.glance span { color: var(--muted); }

/* Section heads */
.head { display: flex; flex-direction: column; gap: 12px; max-width: 46rem; margin-bottom: clamp(28px, 4vw, 44px); }

/* Plates (illustrations) */
.plate { margin: 0; background: var(--plate); border: 1px solid var(--rule); border-radius: 2px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.plate button.zoom { all: unset; cursor: zoom-in; display: block; }
.plate button.zoom:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.plate img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; background: #FFFFFF; }
.plate figcaption { font-size: 15px; color: var(--muted); line-height: 1.45; }
.plate.placeholder { border: 1px dashed var(--gold); background: #FFFDF8; }
.placeholder-box { aspect-ratio: 4 / 3; max-width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 16px; color: var(--gold-ink); }
.placeholder-box strong { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--ink); }

/* Explainer cards */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.feature { background: var(--plate); border: 1px solid var(--rule); border-radius: 2px; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.feature:hover h3 { color: var(--red-deep); }
.feature .pic { aspect-ratio: 16 / 10; background: #FFFFFF; border-bottom: 1px solid var(--rule-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.feature .pic img { width: 100%; height: 100%; object-fit: contain; }
.feature .txt { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.feature .more { color: var(--red-deep); font-weight: 600; }

/* Treatment lists */
.lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.list-card { border: 1px solid var(--rule); border-radius: 2px; background: var(--plate); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.list-card ul { list-style: none; margin: 0; padding: 0; }
.list-card li { border-top: 1px solid var(--rule-soft); }
.list-card li a { display: flex; flex-direction: column; padding: 12px 0; text-decoration: none; color: var(--ink); }
.list-card li a b { font-weight: 600; }
.list-card li a span { color: var(--muted); font-size: 16px; }
.list-card li a:hover b { color: var(--red-deep); }

/* Condition grid */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { background: var(--plate); border: 1px solid var(--rule); border-radius: 2px; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card .pic { aspect-ratio: 4 / 3; background: #FFFFFF; border-bottom: 1px solid var(--rule-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: contain; }
.card .pic.empty { background: #FFFDF8; color: var(--gold-ink); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.card .txt { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.card .txt b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--ink); line-height: 1.25; }
.card .txt span { color: var(--muted); font-size: 16px; }
.card:hover .txt b { color: var(--red-deep); }

/* Body map */
.bodymap { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .bodymap { grid-template-columns: minmax(0, 1fr); } }
.map-figure { position: relative; width: 100%; max-width: 420px; margin-inline: auto; }
.map-figure svg { display: block; width: 100%; height: auto; }
.map-note { font-size: 14px; color: var(--muted); text-align: center; margin-top: 6px; }
.spot {
  position: absolute; transform: translate(-50%, -50%);
  width: 34px; height: 34px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 2px solid #FFFFFF; background: var(--red); box-shadow: 0 0 0 1px rgba(47,46,48,0.25);
  display: flex; align-items: center; justify-content: center;
}
.spot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid var(--red); opacity: 0.45; animation: ring 2.4s ease-out infinite; }
.spot[aria-pressed="true"] { background: var(--ink); width: 40px; height: 40px; }
.spot[aria-pressed="true"]::after { border-color: var(--gold); opacity: 1; animation: none; inset: -6px; }
.spot span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes ring { 0% { transform: scale(0.8); opacity: 0.55; } 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .spot::after { animation: none; } }
.areas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--rule);
  background: var(--plate); color: var(--ink); font: 500 16px var(--sans); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.panel { background: var(--plate); border: 1px solid var(--rule); border-radius: 2px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.panel .hint { color: var(--muted); }
.panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.panel li a { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--rule-soft); text-decoration: none; color: inherit; }
.panel li .thumb { width: 88px; aspect-ratio: 4 / 3; background: #FFFFFF; border: 1px solid var(--rule-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--gold-ink); font-size: 11px; text-align: center; }
.panel li .thumb img { width: 100%; height: 100%; object-fit: contain; }
.panel li b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--ink); display: block; line-height: 1.3; }
.panel li span.l { color: var(--muted); font-size: 15.5px; }
.panel li a:hover b { color: var(--red-deep); }

/* Two-column text (why keyhole, doctor) */
.split { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); }
.split > .side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.split > .main { flex: 2 1 520px; min-width: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px 32px; }
.facts div { border-top: 1px solid #D9CFBF; padding-top: 12px; display: flex; flex-direction: column; }
.facts b { font-weight: 600; color: var(--ink); }
.facts span { color: var(--muted); font-size: 16px; }

/* Portrait + doctor band + timelines */
.portrait { margin: 0; background: var(--plate); border: 1px solid var(--rule); border-radius: 2px; padding: 10px; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #EDEBEF; }
.branch .portrait { max-width: 240px; padding: 8px; }
.page-head .portrait { max-width: 440px; justify-self: end; width: 100%; }
@media (max-width: 860px) { .page-head .portrait { justify-self: start; max-width: 360px; } }
.docband { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 1000px) { .docband { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); } .docband .facts { grid-column: 1 / -1; } }
@media (max-width: 560px) { .docband { grid-template-columns: minmax(0, 1fr); } .docband .portrait { max-width: 260px; } }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-top: 1px solid var(--rule); }
.timeline li:last-child { border-bottom: 1px solid var(--rule); }
.timeline .yr { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.timeline b { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* Hospital cards */
.branches { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.branch { border: 1px solid var(--rule); border-radius: 2px; background: var(--plate); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.branch address { font-style: normal; color: var(--muted); }
.badge { align-self: flex-start; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-ink); border: 1px solid var(--gold); padding: 4px 10px; border-radius: 999px; }

/* CTA band */
.cta { text-align: center; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta .btn-row { justify-content: center; }

/* Article (condition + explainer pages) */
.crumbs { font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.page-head .wrap { padding-block: clamp(28px, 5vw, 56px) clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.page-head .intro { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
@media (max-width: 860px) { .page-head .wrap { grid-template-columns: minmax(0, 1fr); } }
.article .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; padding-block: 0 clamp(56px, 8vw, 96px); }
@media (max-width: 960px) { .article .wrap { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 42rem; display: flex; flex-direction: column; gap: 34px; min-width: 0; }
.prose section { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--rule); padding-top: 22px; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.prose ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.prose ul li::marker { color: var(--gold); }
.prose .figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 960px) { .aside { position: static; } }
.box { background: var(--plate); border: 1px solid var(--rule); border-radius: 2px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.box h2 { font-size: 1.3rem; }
.box ul { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 4px; }
.box.alert { background: #FFF8F5; border-color: #EBC9C2; }
.box.alert h2 { color: var(--red-deep); }
.related { display: flex; flex-wrap: wrap; gap: 8px; }
.related a { font-size: 15px; border: 1px solid var(--rule); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--ink); background: var(--plate); }

/* Credits table */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); background: var(--plate); }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--rule-soft); vertical-align: top; }
th { font-weight: 600; color: var(--ink); background: var(--band); }

/* Review notes (preview only) */
.review { border: 1px dashed var(--gold); background: #FFFDF6; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.review ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }

/* Footer */
.site-footer { background: var(--night); color: var(--night-text); }
.site-footer .wrap { padding-block: 56px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
.site-footer img { height: 40px; width: auto; }
.site-footer .tag { font-family: var(--serif); font-style: italic; color: var(--gold); }
.site-footer h2 { font-family: var(--sans); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--night-muted); font-weight: 600; margin-bottom: 4px; }
.site-footer a { color: var(--night-text); text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--night-muted); font-size: 15px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer .legal { border-top: 1px solid #45423F; }
.site-footer .legal .wrap { padding-block: 20px; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; font-size: 14px; color: var(--night-muted); }

/* Mobile action bar */
.actionbar { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .actionbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding-top: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
    background: rgba(250, 247, 242, 0.97); border-top: 1px solid var(--rule);
  }
  .actionbar .btn { width: 100%; }
}

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(32, 30, 28, 0.82); }
dialog.lightbox figure { margin: 0; background: #FFFFFF; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
dialog.lightbox img { max-height: 80vh; width: auto; max-width: 100%; margin-inline: auto; display: block; }
dialog.lightbox figcaption { font-size: 15px; color: var(--muted); }
dialog.lightbox .close { position: absolute; top: 8px; right: 8px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--rule); background: #FFFFFF; font: 600 15px var(--sans); color: var(--ink); cursor: pointer; }

/* v3 fixes: logos keep their proportions inside flex columns */
.brand img, .site-footer img { align-self: flex-start; max-width: 100%; object-fit: contain; }

/* Body map: front / back views */
.map-wrap { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.viewtoggle { display: inline-flex; align-self: center; border: 1px solid var(--rule); border-radius: 999px; background: var(--plate); padding: 3px; gap: 3px; }
.viewtoggle button { min-height: 38px; min-width: 84px; padding: 6px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 15px var(--sans); cursor: pointer; }
.viewtoggle button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }

/* Diagrams drawn for the site */
svg.diagram { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; background: #FFFFFF; }
.prose .figures .plate-wide { grid-column: 1 / -1; }
.prose .figures:has(.plate-wide) { grid-template-columns: 1fr; }
svg.diagram text { font-family: var(--sans); }
