/* =========================================================
   Dr. Md. Saklayen Hossain — site stylesheet
   Palette taken from the doctor's Facebook posters.
   ========================================================= */
:root {
  --navy: #0E2A5C;
  --navy-2: #143873;
  --royal: #1F5FBF;
  --cyan: #1597BE;
  --cyan-text: #0A6F92;
  --ink: #14213D;
  --slate: #51627A;
  --mist: #E3EAF3;
  --line: #D6DFEA;
  --paper: #F5F8FC;
  --white: #FFFFFF;
  --ok: #15805A;
  --err: #B42318;

  --en: "Plus Jakarta Sans", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bn: "Hind Siliguri", "Plus Jakarta Sans", system-ui, sans-serif;

  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 32px);
  --sec: clamp(64px, 9vw, 120px);
  --r-img: 22px;
  --r-box: 16px;
  --r-in: 10px;
  --shadow: 0 1px 2px rgba(14, 42, 92, .06), 0 12px 32px -12px rgba(14, 42, 92, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; font-family: var(--en); font-size: 1.0625rem; line-height: 1.65; color: var(--ink);
  background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.bn, [lang="bn"] { font-family: var(--bn); letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.center { text-align: center; margin-top: 2rem; }
.muted { color: var(--slate); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .98rem/1.2 var(--en); text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: .8em 1.7em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--royal); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--mist); color: var(--navy); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; color: var(--royal); }
.link-arrow .ic { transition: transform .2s var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }
.link-arrow.light { color: #fff; }
.link-ext { display: inline-flex; align-items: center; gap: .35em; font-size: .9rem; font-weight: 600; text-decoration: none; }
.link-ext .ic { width: 1em; height: 1em; }

.label, .kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-text); margin-bottom: .9rem;
}
.kicker-light { color: #8fd6ec; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; margin-right: auto; }
.brand-name { font-weight: 800; color: var(--navy); font-size: 1.04rem; letter-spacing: -.01em; }
.brand-sub { font-size: .78rem; color: var(--slate); font-weight: 500; }
.main-nav ul { display: flex; list-style: none; gap: 4px; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--royal); }
.main-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; box-shadow: inset 0 -2px 0 var(--cyan); border-radius: 0; }
.main-nav .nav-book { display: none; }
.main-nav { display: flex; align-items: center; }
.header-call {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; background: var(--navy);
  padding: 8px 18px 8px 12px; border-radius: 999px; font-weight: 700; font-size: .98rem; line-height: 1.15;
}
.header-call .ic { width: 34px; height: 34px; padding: 8px; background: rgba(255, 255, 255, .14); border-radius: 50%; }
.header-call small { display: block; font-size: .7rem; font-weight: 500; opacity: .8; letter-spacing: .02em; }
.header-call:hover { background: var(--royal); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; color: var(--navy); cursor: pointer; }
.nav-toggle .ic { width: 26px; height: 26px; }
.nav-toggle .ic-close { display: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .header-call { padding: 6px; }
  .header-call span { display: none; }
  .main-nav {
    position: fixed; inset: 72px 0 0 0; background: #fff; padding: 16px var(--gut) 120px;
    display: flex; flex-direction: column; gap: 20px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--mist); border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: none; color: var(--royal); }
  .main-nav { display: flex; align-items: stretch; }
  .main-nav .nav-book { display: inline-flex; }
  body.nav-open { overflow: hidden; }
  body.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open .nav-toggle .ic-open { display: none; }
  body.nav-open .nav-toggle .ic-close { display: block; }
}

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 88px); }
.hero-name { font-size: clamp(2.3rem, 4.8vw, 4.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; margin-bottom: .3em; }
.hero-bn { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; color: var(--royal); line-height: 1.35; margin-bottom: .35em; }
.hero-title {
  display: inline-block; font-size: 1.12rem; font-weight: 600; color: var(--navy); background: #fff;
  border: 1px solid var(--line); border-left: 3px solid var(--cyan); padding: .35em .9em; border-radius: 0 8px 8px 0; margin-bottom: 1.4rem;
}
.hero-creds { color: var(--slate); font-size: .98rem; margin-bottom: 1.1rem; }
.hero-creds p { margin: 0 0 .15em; }
.hero-pos { color: var(--ink); margin-bottom: 1.8rem; line-height: 1.5; }
.hero-pos strong { color: var(--navy); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 480px); }
.rings { position: absolute; inset: -14% -18% auto -18%; width: 136%; height: auto; pointer-events: none; }
.rings circle { fill: none; stroke: var(--royal); stroke-opacity: .13; stroke-width: 1.2; }
.rings .ring-accent { fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; }
.portrait {
  position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-img) var(--r-img);
  overflow: hidden; background: var(--mist); box-shadow: var(--shadow);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-badge {
  position: absolute; left: -28px; bottom: 32px; display: flex; gap: 12px; align-items: center; max-width: 290px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 0;
  box-shadow: var(--shadow); font-size: .8rem; line-height: 1.35; color: var(--slate);
}
.hero-badge .ic { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--paper); color: var(--royal); }
.hero-badge strong { display: block; color: var(--navy); font-size: .86rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .05s; } .hero-copy > :nth-child(3) { animation-delay: .1s; }
  .hero-copy > :nth-child(4) { animation-delay: .15s; } .hero-copy > :nth-child(5) { animation-delay: .2s; }
  .hero-copy > :nth-child(6) { animation-delay: .25s; } .hero-copy > :nth-child(7) { animation-delay: .3s; }
  .portrait { animation: reveal 1s var(--ease) both .1s; }
  .rings .ring-accent { stroke-dasharray: 520; animation: draw 1.6s var(--ease) both .4s; }
  .hero-badge { animation: rise .7s var(--ease) both .6s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes reveal { from { clip-path: inset(100% 0 0 0 round 999px 999px 22px 22px); } to { clip-path: inset(0 0 0 0 round 999px 999px 22px 22px); } }
@keyframes draw { from { stroke-dashoffset: 520; } to { stroke-dashoffset: 0; } }

/* ---------- credential strip ---------- */
.cred-strip { background: var(--navy); color: #fff; }
.cred-strip ul { display: flex; flex-wrap: wrap; justify-content: space-between; list-style: none; padding-top: 18px; padding-bottom: 18px; }
.cred-strip li { font-weight: 600; font-size: .95rem; padding: 6px 0; display: flex; align-items: center; gap: 12px; }
.cred-strip li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); margin-right: 8px; }

/* ---------- sections ---------- */
.section { padding: var(--sec) 0; }
.section-tint { background: var(--paper); }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head > p:last-child { color: var(--slate); margin: 0; }
.sec-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head-row h2 { margin-bottom: .2em; }
.lead { font-size: 1.13rem; color: var(--ink); }
.h-sm { font-size: 1.4rem; margin-bottom: 1.2rem; }

/* about */
.about-in { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-photo { margin: 0; border-radius: var(--r-img); overflow: hidden; aspect-ratio: 4/5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 1.6rem 0; }
.ticks li { display: flex; gap: 10px; font-size: .97rem; line-height: 1.45; }
.ticks .ic { color: var(--cyan); margin-top: 1px; }
.mission { font-size: 1.2rem; font-weight: 600; color: var(--royal); border-left: 3px solid var(--cyan); padding-left: 16px; margin: 1.6rem 0; }

/* treatments index */
.treat { background: var(--paper); }
.treat-index { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.treat-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: start; padding: 28px 8px 28px 0;
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background-color .2s;
}
.treat-index > .treat-item:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line); }
.treat-index > .treat-item:nth-child(even) { padding-left: 32px; }
.treat-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--royal); }
.treat-ic .ic { width: 28px; height: 28px; }
.treat-txt { display: flex; flex-direction: column; gap: 6px; }
.treat-title { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.treat-bn { font-weight: 500; color: var(--slate); font-size: 1rem; margin-left: 6px; }
.treat-sum { color: var(--slate); font-size: .96rem; line-height: 1.55; }
.treat-list { font-size: .85rem; color: var(--royal); font-weight: 500; }
.treat-go { color: var(--line); padding-top: 14px; transition: color .2s, transform .2s var(--ease); }
.treat-item:hover .treat-go { color: var(--cyan); transform: translateX(4px); }
.treat-item:hover .treat-title { color: var(--royal); }
.treat-index.compact .treat-item { padding-top: 18px; padding-bottom: 18px; align-items: center; }
.treat-index.compact .treat-go { padding: 0; }

/* featured band */
.feature-band { background: var(--navy); color: #d8e3f3; padding: var(--sec) 0; position: relative; overflow: hidden; }
.feature-band::before {
  content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -200px; border-radius: 50%;
  border: 1px solid rgba(143, 214, 236, .14); box-shadow: 0 0 0 70px rgba(143, 214, 236, .03), 0 0 0 140px rgba(143, 214, 236, .025);
}
.feature-in { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(32px, 6vw, 88px); align-items: center; position: relative; }
.feature-band h2 { color: #fff; }
.feature-bn { font-size: 1.25rem; color: #8fd6ec; font-weight: 600; margin-bottom: 1.2rem; }
.feature-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 1.4rem 0 1.8rem; }
.feature-points li { border: 1px solid rgba(255, 255, 255, .22); padding: 6px 14px; border-radius: 999px; font-size: .88rem; color: #fff; }
.feature-img { margin: 0; border-radius: var(--r-img); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); transform: rotate(1.2deg); }

/* arthroplasty */
.plasty-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.plasty-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 1.6rem 0 1.8rem; }
.plain { list-style: none; display: grid; gap: 12px; }
.plain li { padding-left: 16px; border-left: 2px solid var(--mist); font-size: .97rem; color: var(--slate); }
.plain strong { color: var(--navy); display: block; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; font-size: .93rem; color: var(--slate); line-height: 1.45; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line); color: var(--royal); font-weight: 700; font-size: .8rem; display: grid; place-items: center;
}
.steps span { color: var(--navy); font-weight: 600; }
.plasty-img { margin: 0; border-radius: var(--r-img); overflow: hidden; box-shadow: var(--shadow); }

/* videos */
.videos-sec { background: var(--paper); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.video-grid .video-lg { grid-column: 1 / -1; display: grid; grid-template-columns: 1.45fr 1fr; }
.video-lg .video-body { padding: clamp(22px, 3vw, 40px); justify-content: center; }
.video-grid.two { grid-template-columns: 1fr 1fr; }
.video { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-box); overflow: hidden; border: 1px solid var(--line); }
.yt { position: relative; display: block; width: 100%; padding: 0; border: 0; background: radial-gradient(circle at 70% 30%, #1F5FBF, #0E2A5C 70%); cursor: pointer; aspect-ratio: 16/9; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; opacity: .94; }
.yt:hover img { transform: scale(1.03); opacity: 1; }
.yt-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: var(--navy); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: background-color .2s, color .2s;
}
.yt-play .ic { width: 26px; height: 26px; fill: currentColor; margin-left: 3px; }
.yt:hover .yt-play { background: var(--cyan); color: #fff; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.video-cat { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-text); margin-bottom: .4rem; }
.video h3 { font-size: 1.08rem; font-weight: 600; line-height: 1.4; margin-bottom: .4rem; }
.video-lg h3 { font-size: 1.35rem; }
.video-desc { font-size: .9rem; color: var(--slate); margin-bottom: .8rem; }
.video .link-ext { margin-top: auto; }

/* chips / filters */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-wide { margin-bottom: 32px; }
.chip {
  font: 600 .85rem var(--en); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--slate); cursor: pointer; transition: all .2s;
}
.chip:hover { border-color: var(--royal); color: var(--royal); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
[data-filter-target] > [hidden] { display: none !important; }

/* social posts */
.post-rail { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.post-rail .post { flex: 0 0 calc((100% - 72px) / 4); scroll-snap-align: start; }
.post-rail .post[hidden] { display: none; }
.post { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.post-img { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4/5; background: var(--mist); border: 1px solid var(--line); }
.post-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.post:hover .post-img img { transform: scale(1.03); }
.post-meta { margin: 12px 0 4px; }
.post-src { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--slate); }
.post-src .ic { width: 15px; height: 15px; color: var(--royal); }
.post-cap { font-size: 1.02rem; font-weight: 600; color: var(--navy); line-height: 1.45; }
.post:hover .post-cap { color: var(--royal); }

/* chambers */
.chambers-sec { background: #fff; }
.chamber-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chamber {
  border: 1px solid var(--line); border-radius: var(--r-box); padding: clamp(22px, 3vw, 32px); background: #fff;
  display: flex; flex-direction: column; gap: 18px; position: relative;
}
.chamber::before { content: ""; position: absolute; left: -1px; top: 28px; width: 3px; height: 42px; background: var(--cyan); border-radius: 0 3px 3px 0; }
.chamber-title { font-size: 1.22rem; margin-bottom: .15em; }
.chamber-bn { color: var(--slate); margin: 0; font-size: .98rem; }
.today-tag { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: .84rem; font-weight: 600; color: #0F6B4A; background: #e8f6ef; padding: 4px 12px; border-radius: 999px; }
.today-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(21, 128, 90, .2); }
.week { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week li {
  text-align: center; font-size: .78rem; font-weight: 600; padding: 7px 0; border-radius: 8px;
  background: var(--paper); color: #9AA8BB; border: 1px solid transparent;
}
.week abbr { text-decoration: none; }
.week li.on { background: var(--navy); color: #fff; }
.week li.is-today { border-color: var(--cyan); }
.chamber-info { display: grid; gap: 12px; margin: 0; }
.chamber-info > div { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.chamber-info dt { color: var(--royal); padding-top: 2px; }
.chamber-info dd { margin: 0; font-size: .96rem; color: var(--ink); line-height: 1.5; }
.sched { display: block; }
.sched strong { color: var(--navy); margin-right: 6px; }
.map-link { font-size: .86rem; font-weight: 600; margin-left: 4px; white-space: nowrap; }
.phones { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.phones a { font-weight: 700; color: var(--navy); text-decoration: none; font-variant-numeric: tabular-nums; }
.phones a:hover { color: var(--royal); }
.chamber-note { font-size: .9rem; color: var(--slate); margin: 0; }
.chamber-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* appointment */
.appt { background: var(--paper); }
.appt-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.appt-direct { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.4rem 0 1rem; }
.appt-hot { color: var(--slate); font-size: .95rem; }
.appt-hot a { font-weight: 700; color: var(--navy); text-decoration: none; }
.mini-chambers { list-style: none; display: grid; gap: 14px; margin-top: 1.8rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.mini-chambers li { font-size: .9rem; color: var(--slate); }
.mini-chambers strong { display: block; color: var(--navy); }
.mini-chambers span { display: block; }
.appt-form, .appt-done { background: #fff; border: 1px solid var(--line); border-radius: var(--r-box); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.opt { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--en); color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-in); padding: 12px 14px; min-height: 48px; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); background: #fff; box-shadow: 0 0 0 3px rgba(31, 95, 191, .14); }
.field [aria-invalid="true"] { border-color: var(--err); background: #fff7f6; }
.field-err { color: var(--err); font-size: .85rem; margin: 0; }
.field-hint { font-size: .85rem; color: #9a5b00; margin: 0; }
.form-alert { background: #fff1f0; border: 1px solid #f4c7c3; color: var(--err); padding: 12px 14px; border-radius: var(--r-in); font-size: .93rem; }
.form-foot { font-size: .84rem; color: var(--slate); margin: 14px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; }
.appt-done:focus { outline: none; }
.done-ic { width: 56px; height: 56px; border-radius: 50%; background: #e8f6ef; color: var(--ok); display: grid; place-items: center; margin-bottom: 14px; }
.done-ic .ic { width: 28px; height: 28px; }

/* articles */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.art-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); height: 100%; }
.article-grid > div { display: flex; }
.art-img { display: block; aspect-ratio: 16/11; border-radius: 14px; overflow: hidden; background: var(--mist); }
.art-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.art-card:hover .art-img img { transform: scale(1.03); }
.art-body { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; }
.art-cat { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-text); }
.art-title { font-size: 1.18rem; font-weight: 700; color: var(--navy); line-height: 1.4; }
.art-en { font-size: .9rem; color: var(--slate); }
.art-card:hover .art-title { color: var(--royal); }

/* gallery */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gal-home .gal-item { aspect-ratio: 1; }
.gal-item { display: block; border-radius: 14px; overflow: hidden; background: var(--mist); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.gal-item:hover img { transform: scale(1.03); }
.masonry { display: block; columns: 3 280px; column-gap: 16px; }
.masonry .gal-item { break-inside: avoid; margin-bottom: 16px; }
.masonry .gal-item img { height: auto; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8, 20, 45, .94); display: grid; grid-template-rows: 1fr auto;
  place-items: center; padding: 56px 16px 20px; opacity: 0; transition: opacity .25s;
}
.lightbox.open { opacity: 1; }
.lightbox img { max-height: 82vh; width: auto; max-width: min(100%, 1100px); border-radius: 8px; }
.lb-cap { color: #cfdcef; font-size: .95rem; text-align: center; margin: 12px 0 0; }
.lb-btn { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* CTA band */
.cta-band { background: var(--navy); color: #d8e3f3; padding: clamp(56px, 7vw, 88px) 0; }
.cta-in { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-mail { display: flex; align-items: center; gap: 8px; margin: 0; }
.cta-mail a { color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* page head / detail */
.page-head { background: var(--paper); padding: clamp(36px, 5vw, 64px) 0 clamp(32px, 4vw, 52px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.025em; margin-bottom: .25em; }
.page-bn { font-size: 1.3rem; color: var(--royal); font-weight: 600; margin-bottom: .5em; }
.page-intro { max-width: 680px; color: var(--slate); font-size: 1.08rem; margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; margin-bottom: 18px; color: var(--slate); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #9AA8BB; }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--royal); }

.detail-in { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--cyan); }
.bn-body { font-size: 1.12rem; line-height: 1.85; }
.bn-body h2 { font-family: var(--bn); }
.byline { font-size: .88rem; color: var(--slate); font-family: var(--en); border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 24px; }
.disclaimer { font-size: .86rem; color: var(--slate); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 2rem; font-family: var(--en); line-height: 1.6; }
.detail-side { display: grid; gap: 20px; position: sticky; top: 96px; }
.side-box { border: 1px solid var(--line); border-radius: var(--r-box); padding: 22px; background: #fff; }
.side-cta { background: var(--paper); display: grid; gap: 10px; }
.side-cta p { margin: 0; font-size: .92rem; color: var(--slate); }
.side-h { font-weight: 700; color: var(--navy); margin-bottom: 10px !important; font-size: 1rem !important; }
.side-img { display: block; margin: 0; border-radius: var(--r-box); overflow: hidden; border: 1px solid var(--line); }
.dots { list-style: none; display: grid; gap: 6px; }
.dots li { position: relative; padding-left: 16px; font-size: .94rem; }
.dots li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

.treat-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tcard { padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.tcard-head { display: flex; gap: 16px; align-items: center; }
.tcard h2 { font-size: 1.3rem; margin: 0; }
.tcard h2 a { color: var(--navy); text-decoration: none; }
.tcard-head p { margin: 0; color: var(--slate); }
.tcard > p { color: var(--slate); font-size: .96rem; margin: 0; }
.tcard .link-arrow { margin-top: auto; font-size: .93rem; }

/* profile */
.profile-in { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.profile-card { position: sticky; top: 96px; display: grid; gap: 10px; }
.profile-card figure { margin: 0 0 8px; border-radius: 999px 999px var(--r-img) var(--r-img); overflow: hidden; aspect-ratio: 4/5; }
.profile-card figure img { width: 100%; height: 100%; object-fit: cover; }
.pc-name { font-weight: 800; color: var(--navy); font-size: 1.15rem; margin: 0; }
.pc-title { color: var(--royal); font-weight: 600; margin: 0; }
.pc-pos { color: var(--slate); font-size: .92rem; margin: 0 0 8px; }
.cv { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.cv-block h2 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.cv-block h2 .ic { color: var(--cyan); }
.timeline { list-style: none; border-left: 2px solid var(--mist); padding-left: 20px; display: grid; gap: 16px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -27px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--royal); }
.tl-title { font-weight: 700; color: var(--navy); margin: 0; }
.tl-year { font-weight: 600; font-size: .8rem; color: var(--cyan-text); margin-left: 6px; }
.tl-sub { color: var(--slate); font-size: .92rem; margin: 0; }
.cv-list { list-style: none; display: grid; gap: 14px; }
.expertise { list-style: none; display: grid; gap: 10px; }
.expertise li { display: flex; flex-direction: column; padding: 12px 16px; background: var(--paper); border-radius: 12px; }
.expertise span { font-size: .88rem; color: var(--slate); }

/* chambers page */
.week-table-wrap { margin-top: 64px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-box); }
.week-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.week-table th, .week-table td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--mist); vertical-align: top; }
.week-table thead th { background: var(--paper); color: var(--navy); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.week-table tbody th { color: var(--navy); }
.week-table tr.is-today th, .week-table tr.is-today td { background: #f0f8fb; }
.faq { margin-top: 56px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 600; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.4rem; color: var(--cyan); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--slate); padding-bottom: 18px; margin: 0; }
.faq-inline { margin-top: 2.4rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.contact-tile { display: flex; flex-direction: column; gap: 6px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-box); text-decoration: none; color: var(--ink); transition: border-color .2s; }
.contact-tile:hover { border-color: var(--royal); }
.contact-tile .ic { width: 30px; height: 30px; color: var(--royal); margin-bottom: 6px; }
.ct-h { font-weight: 700; color: var(--navy); }
.ct-v { color: var(--slate); word-break: break-word; }

/* footer */
.site-footer { background: #0A2149; color: #a9b9d3; font-size: .95rem; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-name { color: #fff; font-weight: 800; font-size: 1.12rem; margin-bottom: 4px; }
.footer-title { color: #8fd6ec; font-weight: 600; margin-bottom: 14px; }
.footer-pos { font-size: .9rem; }
.footer-h { color: #fff; font-weight: 700; margin-bottom: 14px; }
.footer-links ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #cfdcef; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact p { margin-bottom: 10px; }
.footer-contact a { display: inline-flex; gap: 8px; align-items: center; word-break: break-all; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; }
.social:empty { display: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; padding-bottom: 24px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* mobile action bar */
.action-bar { display: none; }

/* reveal on scroll (added by JS only when motion is allowed) */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .video-grid { grid-template-columns: 1fr 1fr; }

  .post-rail .post { flex-basis: calc((100% - 48px) / 3); }
  .treat-detail-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-in, .about-in, .feature-in, .plasty-in, .appt-in, .detail-in, .profile-in { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: min(78%, 380px); margin-top: 8px; }
  .hero-badge { left: auto; right: -12px; bottom: 18px; max-width: 230px; }
  .about-photo { max-width: 460px; }
  .feature-img { max-width: 440px; transform: none; }
  .plasty-img { max-width: 440px; }
  .detail-side, .profile-card { position: static; }
  .profile-card { max-width: 420px; }
  .chamber-grid { grid-template-columns: 1fr; }
  .cta-in { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-id { grid-column: 1 / -1; }
  .article-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
    box-shadow: 0 -8px 24px -12px rgba(14, 42, 92, .25);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px;
    text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--navy); background: var(--paper);
  }
  .action-bar .ab-book { background: var(--navy); color: #fff; }
  .cred-strip ul { justify-content: flex-start; gap: 0 18px; }
  .cred-strip li { font-size: .86rem; }
  .treat-index { grid-template-columns: 1fr; }
  .treat-index > .treat-item:nth-child(n) { padding: 22px 0; border-right: 0; }
  .treat-go { display: none; }
  .ticks { grid-template-columns: 1fr; }
  .plasty-cols { grid-template-columns: 1fr; }
  .video-grid, .video-grid.two { grid-template-columns: 1fr; }
  .video-grid .video-lg { grid-column: auto; grid-template-columns: 1fr; }
  .post-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 8px; scrollbar-width: none; }
  .post-rail::-webkit-scrollbar { display: none; }
  .post-rail .post { flex-basis: 72%; }
  .field-row { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry .gal-item { margin-bottom: 10px; }
  .treat-detail-grid { grid-template-columns: 1fr; }
  .cv { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sec-head-row { align-items: flex-start; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (max-width: 360px) {
  .hero-badge { display: none; }
  .week li { font-size: .7rem; }
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .action-bar, .cta-band, .site-footer, .appt-form { display: none; }
}
