/* Layout concept: left-aligned editorial pages on porcelain; the dermatoscope lens (a ringed circular frame with graduation ticks) is the one signature motif. Garnet, taken from the doctor's own branding, is the only accent. */
:root {
  --bg: #F7F3F2;
  --surface: #FFFFFF;
  --surface-2: #F0E8E6;
  --ink: #231A1E;
  --muted: #66575C;
  --line: #E3D7D4;
  --garnet: #8E2340;
  --garnet-ink: #FFFFFF;
  --garnet-soft: #F3E1E4;
  --blush: #E8D2CD;
  --sage: #3F6B57;
  --sage-soft: #E2ECE6;
  --shadow: 0 24px 60px -32px rgba(60, 20, 32, .35);

  --display: "Bodoni Moda", "Tiro Bangla", "Didot", Georgia, serif;
  --body: "Jost", "Hind Siliguri", "Segoe UI", system-ui, sans-serif;
  --bn: "Tiro Bangla", "Hind Siliguri", Georgia, serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.4vw, 3.9rem);
  --step-5: clamp(2.8rem, 1.6rem + 5vw, 5.2rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --radius: 18px;
  --header-h: 76px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #161114; --surface: #201A1D; --surface-2: #2A2226; --ink: #F3EAE8; --muted: #BBA9AE;
    --line: #3A2F33; --garnet: #E58AA0; --garnet-ink: #2A0E17; --garnet-soft: #3A1E26; --blush: #4A3036;
    --sage: #93C2AA; --sage-soft: #1F2E27; --shadow: 0 24px 60px -30px rgba(0,0,0,.7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #161114; --surface: #201A1D; --surface-2: #2A2226; --ink: #F3EAE8; --muted: #BBA9AE;
  --line: #3A2F33; --garnet: #E58AA0; --garnet-ink: #2A0E17; --garnet-soft: #3A1E26; --blush: #4A3036;
  --sage: #93C2AA; --sage-soft: #1F2E27; --shadow: 0 24px 60px -30px rgba(0,0,0,.7); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.65; font-weight: 400;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--garnet); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--garnet); color: var(--garnet-ink); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
p { margin: 0; text-wrap: pretty; }
.bn { font-family: var(--bn); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--surface-2); }
.section--surface { background: var(--surface); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 60ch; line-height: 1.6; }
.kicker { font-family: var(--bn); color: var(--garnet); font-size: var(--step-1); display: block; margin-bottom: 14px; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.prose { display: grid; gap: 1.1em; max-width: 66ch; }
.prose h3 { margin-top: .6em; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; text-decoration: none;
  font-weight: 500; font-size: 1rem; letter-spacing: .01em; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s; cursor: pointer; font-family: var(--body);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--garnet); color: var(--garnet-ink); }
.btn--primary:hover { background: var(--ink); color: var(--bg); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--garnet); color: var(--garnet); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark { width: 44px; height: 44px; flex: none; color: var(--garnet); }
.brand-text { display: grid; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--display); font-size: 1.12rem; font-weight: 600; white-space: nowrap; }
.brand-role { font-size: .78rem; color: var(--muted); letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; padding: 10px 14px; border-radius: 999px; font-size: .97rem; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--garnet); background: var(--garnet-soft); }
.header-cta { margin-left: 8px; min-height: 44px; padding: 0 20px; }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer; position: relative; flex: none;
}
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .2s; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .28s ease, transform .28s ease, visibility 0s; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none;
  font-family: var(--display); font-size: clamp(1.6rem, 6.5vw, 2.1rem); line-height: 1.2;
}
.mobile-menu nav a small { font-family: var(--bn); font-size: .95rem; color: var(--muted); }
.mobile-menu nav a[aria-current="page"] { color: var(--garnet); }
.mobile-menu .mm-info { display: grid; gap: 6px; color: var(--muted); font-size: .95rem; }
.mobile-menu .mm-info strong { color: var(--ink); font-weight: 500; }
.mobile-menu .btn { width: 100%; }

@media (max-width: 1020px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-block; }
  .site-header { z-index: 110; }
}
@media (min-width: 1021px) { .mobile-menu { display: none; } }
@media (max-width: 380px) { .brand-role { display: none; } }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero h1 { font-size: var(--step-5); font-weight: 400; }
.hero h1 em { font-style: italic; color: var(--garnet); }
.hero .bn-title { font-family: var(--bn); font-size: var(--step-2); color: var(--muted); line-height: 1.4; }
.creds { font-size: .95rem; color: var(--muted); letter-spacing: .02em; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .95rem; }
.hero-facts div { display: flex; gap: 10px; align-items: center; }
.hero-facts svg { width: 20px; height: 20px; color: var(--garnet); flex: none; }

/* Dermatoscope lens frame (signature) */
.lens { position: relative; width: min(100%, 470px); aspect-ratio: 1; margin-inline: auto; max-width: 100%; }
.lens-ring { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--garnet); overflow: visible; }
.lens-ring .ticks { transform-origin: 50% 50%; animation: dial 1.6s cubic-bezier(.2,.7,.1,1) both; }
.lens-ring .arc { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 1.8s .2s cubic-bezier(.3,.6,.1,1) forwards; }
.lens-photo { position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; background: var(--blush); box-shadow: var(--shadow); }
.lens-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.lens-badge {
  position: absolute; right: -2%; bottom: 8%; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); display: grid; gap: 2px; max-width: 64%;
}
.lens-badge b { font-family: var(--display); font-weight: 500; font-size: 1.05rem; }
.lens-badge span { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.lens-label { position: absolute; left: -2%; top: 10%; font-size: .78rem; letter-spacing: .08em; color: var(--muted); background: var(--bg); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dial { from { transform: rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* Credentials ledger */
.ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ledger > div { padding: 24px 22px 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.ledger > div:not(:nth-child(3n+1)) { padding-left: 22px; border-left: 1px solid var(--line); }
.ledger .deg { font-family: var(--display); font-size: 1.7rem; font-weight: 500; color: var(--garnet); line-height: 1.1; }
.ledger .where { font-size: .82rem; letter-spacing: .06em; color: var(--muted); }
.ledger .what { font-size: .98rem; }
@media (max-width: 800px) {
  .ledger { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ledger > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .ledger > div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .ledger { grid-template-columns: 1fr; }
  .ledger > div:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* Specialties list */
.specialties { display: grid; border-top: 1px solid var(--ink); }
.spec {
  display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.4fr) auto; gap: 24px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .25s;
}
.spec:hover { background: linear-gradient(90deg, transparent, var(--garnet-soft) 30%, transparent); }
.spec-icon { width: 56px; height: 56px; color: var(--garnet); }
.spec h3 { font-size: var(--step-2); }
.spec h3 .bn { display: block; font-size: 1rem; color: var(--muted); margin-top: 6px; font-weight: 400; }
.spec p { color: var(--muted); }
.spec .arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--garnet); transition: background .2s, color .2s; }
.spec:hover .arrow { background: var(--garnet); color: var(--garnet-ink); border-color: var(--garnet); }
.spec .arrow svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .spec { grid-template-columns: 52px minmax(0,1fr); gap: 8px 18px; align-items: start; }
  .spec-icon { width: 48px; height: 48px; grid-row: span 2; }
  .spec .arrow { display: none; }
}

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.pillar { display: grid; gap: 14px; align-content: start; }
.pillar svg { width: 46px; height: 46px; color: var(--garnet); }
.pillar h3 { font-size: 1.45rem; }
.pillar p { color: var(--muted); }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* Skin diagram block */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.figure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 28px); }
.figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 12px; }
.skin-svg { width: 100%; height: auto; }
.skin-svg text { font-family: var(--body); font-size: 13px; fill: var(--ink); }
.skin-svg .lbl-muted { fill: var(--muted); font-size: 11.5px; }

/* Timetable */
.timetable { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { border: 1px solid var(--line); border-radius: 14px; padding: 14px 10px; text-align: center; display: grid; gap: 4px; background: var(--surface); }
.day b { font-weight: 500; font-size: .95rem; }
.day .bn { font-size: .85rem; color: var(--muted); }
.day .t { font-size: .8rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.day.on { background: var(--garnet); border-color: var(--garnet); color: var(--garnet-ink); }
.day.on .bn, .day.on .t { color: var(--garnet-ink); opacity: .85; }
.day.today { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 640px) { .timetable { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.chamber { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 880px) { .chamber { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 22px; }
.info-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.info-item .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--garnet-soft); color: var(--garnet); display: grid; place-items: center; }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item h4 { font-family: var(--body); font-weight: 500; font-size: 1rem; margin-bottom: 2px; letter-spacing: 0; }
.info-item p, .info-item a { color: var(--muted); overflow-wrap: anywhere; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; padding: 6px 12px; border-radius: 999px; background: var(--sage-soft); color: var(--sage); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.closed { background: var(--surface-2); color: var(--muted); }

/* Poster strip & gallery */
.poster-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.poster-strip a { border-radius: 14px; overflow: hidden; display: block; border: 1px solid var(--line); background: var(--surface); }
.poster-strip img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .5s; }
.poster-strip a:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .poster-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 10px 18px; font: inherit; font-size: .95rem; cursor: pointer; min-height: 44px; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.g-item { margin: 0; display: grid; gap: 10px; }
.g-item button { all: unset; cursor: zoom-in; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.g-item button:focus-visible { outline: 2px solid var(--garnet); outline-offset: 3px; }
.g-item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s; }
.g-item button:hover img { transform: scale(1.04); }
.g-item figcaption { font-size: .9rem; color: var(--muted); line-height: 1.4; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(15, 8, 11, .92); display: grid; place-items: center; padding: 56px 16px 24px; }
.lightbox img { max-height: 82vh; width: auto; max-width: min(92vw, 900px); border-radius: 12px; }
.lightbox p { color: #F3EAE8; text-align: center; margin-top: 12px; font-size: .95rem; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb-close { top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; }
.lb-nav.prev { left: 12px; top: 50%; }
.lb-nav.next { right: 12px; top: 50%; }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero .wrap { display: grid; gap: 20px; position: relative; }
.page-hero h1 { font-size: var(--step-5); font-weight: 400; max-width: 16ch; }
.page-hero .lede { max-width: 58ch; }
.crumbs { font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--garnet); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.page-hero-ornament { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 360px; height: 360px; color: var(--garnet); opacity: .16; pointer-events: none; }
@media (max-width: 700px) { .page-hero-ornament { width: 220px; height: 220px; right: -90px; } }

/* About */
.portrait-card { border-radius: 240px 240px 22px 22px; overflow: hidden; background: var(--blush); box-shadow: var(--shadow); max-width: 440px; }
.portrait-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; }
.quals { display: grid; gap: 0; border-top: 1px solid var(--line); }
.qual { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.qual .deg { font-family: var(--display); font-size: 1.5rem; color: var(--garnet); line-height: 1.15; }
.qual h3 { font-family: var(--body); font-size: 1.08rem; font-weight: 500; letter-spacing: 0; }
.qual p { color: var(--muted); font-size: .98rem; }
.qual .bn { color: var(--muted); font-size: .95rem; }
@media (max-width: 560px) { .qual { grid-template-columns: 1fr; gap: 6px; } }
.event-grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.event-grid figure { margin: 0; border-radius: 16px; overflow: hidden; position: relative; }
.event-grid figure:first-child { grid-row: span 2; }
.event-grid img { width: 100%; height: 100%; object-fit: cover; }
.event-grid figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; background: rgba(20,10,14,.72); color: #fff; font-size: .82rem; padding: 8px 12px; border-radius: 10px; line-height: 1.35; }
@media (max-width: 680px) { .event-grid { grid-template-columns: 1fr; } .event-grid figure:first-child { grid-row: auto; } }
.quote { font-family: var(--display); font-size: var(--step-3); line-height: 1.3; font-style: italic; max-width: 30ch; }
.quote-bn { font-family: var(--bn); font-size: var(--step-1); color: var(--muted); margin-top: 18px; max-width: 48ch; line-height: 1.7; }

/* Treatments */
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { text-decoration: none; border: 1px solid var(--line); background: var(--surface); padding: 10px 16px; border-radius: 999px; font-size: .95rem; }
.toc a:hover { border-color: var(--garnet); color: var(--garnet); }
.treatment { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); padding-block: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.treatment:last-child { border-bottom: 0; }
.treatment-aside { display: grid; gap: 18px; align-content: start; position: sticky; top: calc(var(--header-h) + 24px); }
.treatment-aside svg.big { width: 88px; height: 88px; color: var(--garnet); }
.treatment-aside h2 { font-size: var(--step-3); }
.treatment-aside .bn { font-size: var(--step-1); color: var(--muted); }
.treatment-aside img { border-radius: 16px; border: 1px solid var(--line); aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 360px; }
@media (max-width: 880px) { .treatment { grid-template-columns: 1fr; } .treatment-aside { position: static; } .treatment-aside img { max-width: 280px; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.checks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 3px; background: var(--garnet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E2340' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .9rem; padding: 7px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.note { border-left: 3px solid var(--garnet); padding: 6px 0 6px 18px; color: var(--muted); font-size: .98rem; }
.tech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tech-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; }
.tech-card svg { width: 52px; height: 52px; color: var(--garnet); }
.tech-card h3 { font-size: 1.4rem; }
.tech-card p { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .tech { grid-template-columns: 1fr; } }

/* Visit steps (a real sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 10px; padding-top: 18px; border-top: 2px solid var(--ink); align-content: start; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 2.2rem; color: var(--garnet); line-height: 1; }
.steps h3 { font-family: var(--body); font-size: 1.08rem; font-weight: 500; letter-spacing: 0; }
.steps p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Articles */
.articles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.article { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); padding-block: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.article img { border-radius: 14px; border: 1px solid var(--line); aspect-ratio: 1; object-fit: cover; width: 100%; }
.article-body { display: grid; gap: 14px; align-content: start; min-width: 0; }
.article-body h2 { font-size: var(--step-3); }
.article-body .bn { color: var(--garnet); font-size: 1.05rem; }
.article-body ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.article-body li::marker { color: var(--garnet); }
@media (max-width: 720px) { .article { grid-template-columns: 1fr; } .article img { max-width: 220px; } }

.faq { display: grid; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-family: var(--display); font-size: 1.3rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 1.6px solid var(--garnet); border-bottom: 1.6px solid var(--garnet); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 24px; color: var(--muted); max-width: 70ch; }

/* Contact */
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .92rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; min-height: 50px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--garnet); outline-offset: 0; border-color: transparent; }
.field .err { color: var(--garnet); font-size: .85rem; }
.form-result { border-radius: 14px; background: var(--sage-soft); padding: 18px; display: grid; gap: 12px; }
.form-result pre { white-space: pre-wrap; font-family: var(--body); font-size: .95rem; margin: 0; color: var(--ink); }
.copy-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-btn { font: inherit; font-size: .85rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 12px; cursor: pointer; min-height: 36px; }
.map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.map-card > svg { width: 100%; height: auto; display: block; }
.map-card .map-meta { padding: 20px; display: grid; gap: 12px; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--bg); border-radius: 28px; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: var(--step-4); font-weight: 400; }
.cta-band p { color: color-mix(in srgb, var(--bg) 75%, transparent); margin-top: 14px; max-width: 52ch; }
.cta-band .bn { font-family: var(--bn); }
.cta-band .btn--primary { background: var(--bg); color: var(--ink); }
.cta-band .btn--primary:hover { background: var(--garnet); color: var(--garnet-ink); }
.cta-band .btn--ghost { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.cta-band .phone { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: .01em; font-variant-numeric: tabular-nums; display: block; margin-bottom: 14px; text-decoration: none; color: var(--bg); }
.cta-band svg.orn { position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; color: var(--bg); opacity: .08; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 64px calc(28px + env(safe-area-inset-bottom, 0px)); margin-top: clamp(64px, 9vw, 120px); font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h4 { font-family: var(--body); font-size: .85rem; letter-spacing: .08em; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--garnet); }
.footer-grid p { color: var(--muted); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating call (mobile) */
.float-call {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  display: none; align-items: center; gap: 10px; background: var(--garnet); color: var(--garnet-ink);
  text-decoration: none; padding: 14px 20px; border-radius: 999px; box-shadow: var(--shadow); font-weight: 500;
}
.float-call svg { width: 18px; height: 18px; }
@media (max-width: 1020px) { .float-call { display: inline-flex; } body.menu-open .float-call { display: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .lens { width: min(100%, 360px); }
}
@media (max-width: 420px) { .lens-badge { right: 0; max-width: 72%; } .lens-label { left: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .lens-ring .arc { stroke-dashoffset: 0; }
}

/* Skin diagram legend: numbers match the markers drawn from surface to depth */
.figure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.figure figcaption { grid-column: 1 / -1; margin-top: 0; }
.skin-legend { list-style: none; counter-reset: k; margin: 0; padding: 0; display: grid; gap: 14px; }
.skin-legend li { counter-increment: k; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; line-height: 1.35; }
.skin-legend li::before { content: counter(k); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: var(--garnet); color: var(--garnet-ink); display: grid; place-items: center; font-size: .85rem; font-weight: 500; }
.skin-legend b { font-weight: 500; }
.skin-legend span { color: var(--muted); font-size: .92rem; }
@media (max-width: 520px) { .figure { grid-template-columns: 1fr; } .skin-svg { max-width: 300px; margin-inline: auto; } }
.day { min-width: 0; overflow-wrap: anywhere; padding-inline: 4px; }
.day .bn { font-size: .78rem; }
body { padding-bottom: 0; }
@media (max-width: 1020px) { .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }
