/* ============================================================
   Banobagi — shared subpage layer (about / contact / team)
   Loaded AFTER style.css (reuses its tokens, nav, footer, fabs).
   Design-engineering pass: Emil Kowalski principles baked in.
   ============================================================ */

:root {
  --ink: #241d19;
  --ink-2: #2a211d;
  --paper: #f6f0e7;
  --paper-2: #efe4d7;
  --cream: #fffaf6;
  --rose: #cc8c70;
  --rose-l: #d9a994;
  --terra: #ba7d64;
  --clay: #c88568;
  --muted: #6f5a52;
  --line: rgba(42, 33, 29, 0.12);
  --e: cubic-bezier(0.23, 1, 0.32, 1);      /* strong ease-out */
  --e-io: cubic-bezier(0.77, 0, 0.175, 1);  /* strong ease-in-out */
}

/* page uses natural scroll (no Lenis on subpages) */
html { scroll-behavior: smooth; }
body.subpage {
  background: var(--paper);
  color: var(--ink-2);
  font-family: "Alexandria", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
body.subpage.menu-open { overflow: hidden; }

.wrap { width: min(1240px, 92vw); margin-inline: auto; }
.eyebrow {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--terra); font-weight: 400;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- keep the solid nav readable, always ---- */
.nav--solid { box-shadow: 0 1px 0 var(--line); }

/* ---- mobile menu overlay ---- */
.navmenu {
  position: fixed; inset: 0; z-index: 2900;
  background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 2rem;
  opacity: 0; visibility: hidden; transform: scale(1.02);
  transition: opacity 300ms var(--e), transform 300ms var(--e), visibility 300ms;
}
body.menu-open .navmenu { opacity: 1; visibility: visible; transform: scale(1); }
.navmenu a {
  color: var(--cream); text-decoration: none;
  font-size: clamp(28px, 8vw, 44px); font-weight: 300; letter-spacing: -0.01em;
  padding: 8px 0; opacity: 0; transform: translateY(14px);
  transition: opacity 400ms var(--e), transform 400ms var(--e), color 200ms ease;
}
body.menu-open .navmenu a { opacity: 1; transform: translateY(0); }
.navmenu a:nth-child(1) { transition-delay: 80ms; }
.navmenu a:nth-child(2) { transition-delay: 130ms; }
.navmenu a:nth-child(3) { transition-delay: 180ms; }
.navmenu a:nth-child(4) { transition-delay: 230ms; }
.navmenu a:nth-child(5) { transition-delay: 280ms; }
.navmenu a:nth-child(6) { transition-delay: 340ms; }
@media (hover: hover) { .navmenu a:hover { color: var(--rose-l); } }
.navmenu__book {
  margin-top: 22px; font-size: 13px !important; text-transform: uppercase; letter-spacing: 0.16em;
  border: 1px solid rgba(255, 250, 246, 0.4); border-radius: 40px; padding: 14px 30px !important;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav__burger span { transition: transform 260ms var(--e), opacity 200ms ease; }

/* ---- reveal-on-scroll ---- */
[data-reveal] { opacity: 0; transform: translateY(26px); }
[data-reveal].in { opacity: 1; transform: none; transition: opacity 900ms var(--e), transform 900ms var(--e); }
[data-reveal-d] { transition-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 400;
  padding: 16px 30px; border-radius: 40px; cursor: pointer; border: 1px solid transparent;
  transition: background 260ms var(--e), color 260ms var(--e),
              border-color 260ms var(--e), transform 150ms var(--e);
}
.btn svg { width: 16px; height: 12px; transition: transform 300ms var(--e); }
.btn--fill { background: #cc8c70; color: #2a211d; }
@media (hover: hover) {
  .btn--fill:hover { background: #ba7d64; }
  .btn:hover svg { transform: translateX(5px); }
}
.btn--fill:active { transform: scale(0.97); }
.btn--ghost { border-color: var(--ink-2); color: var(--ink-2); background: transparent; }
@media (hover: hover) { .btn--ghost:hover { background: var(--ink-2); color: var(--cream); } }
.btn--ghost:active { transform: scale(0.97); }
.btn--light { border-color: rgba(255, 250, 246, 0.5); color: var(--cream); background: transparent; }
@media (hover: hover) { .btn--light:hover { background: var(--cream); color: var(--ink-2); border-color: var(--cream); } }
.btn--light:active { transform: scale(0.97); }

/* ============================================================
   PAGE HERO (shared)
   ============================================================ */
.phero {
  position: relative; min-height: 78vh; display: flex; align-items: flex-end;
  padding: clamp(120px, 16vh, 220px) 0 clamp(48px, 7vw, 96px);
  overflow: hidden; background: var(--ink);
}
.phero__bg { position: absolute; inset: 0; z-index: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.phero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26, 21, 18, 0.9) 0%, rgba(26, 21, 18, 0.3) 55%, rgba(26, 21, 18, 0.55) 100%);
}
/* About hero — lighter, more premium: image reads more, warm clay wash on top */
.phero--about .phero__bg::after {
  background:
    linear-gradient(to top, rgba(26, 21, 18, 0.8) 0%, rgba(26, 21, 18, 0.16) 46%, rgba(26, 21, 18, 0.04) 100%),
    linear-gradient(to top, rgba(204, 140, 112, 0.22) 0%, rgba(204, 140, 112, 0.06) 55%, transparent 100%);
}
.phero--about .phero__bg img { transform: scale(1.02); transition: transform 1.6s var(--e); }
/* Team hero — the group photo: keep faces clear, dark only where the headline sits */
.phero--team .phero__bg::after {
  background: linear-gradient(to top, rgba(26, 21, 18, 0.88) 0%, rgba(26, 21, 18, 0.34) 38%, rgba(26, 21, 18, 0.06) 70%, rgba(26, 21, 18, 0.18) 100%);
}
.phero__in { position: relative; z-index: 1; color: var(--cream); }
.phero .eyebrow { color: var(--rose-l); }
.phero__title {
  margin-top: 20px; font-weight: 200; letter-spacing: -0.02em; line-height: 1.14;
  font-size: clamp(2.1rem, 5.2vw, 4.4rem);
}
.phero__lead {
  margin-top: 24px; max-width: 620px; font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.65; color: rgba(255, 250, 246, 0.82); font-weight: 300;
}
.phero__cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

/* thin scroll-in mask for hero title lines */
.mask { display: block; overflow: hidden; padding-bottom: 0.08em; }
.mask > span { display: block; transform: translateY(110%); }
.mask.in > span { transform: none; transition: transform 1s var(--e); }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.sec { padding: clamp(80px, 11vw, 168px) 0; }
.sec--cream { background: var(--cream); }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: var(--cream); }
.sec__head { max-width: 760px; }
.sec__title {
  margin-top: 16px; font-weight: 200; letter-spacing: -0.015em; line-height: 1.05;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
}
.sec--ink .sec__title { color: var(--cream); }
.sec__lead { margin-top: 22px; max-width: 640px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.7; color: var(--muted); }
.sec--ink .sec__lead { color: rgba(255, 250, 246, 0.72); }

/* big editorial statement */
.statement { font-weight: 200; letter-spacing: -0.02em; line-height: 1.14; font-size: clamp(1.8rem, 4.6vw, 4rem); }
.statement em { font-style: italic; color: var(--terra); }

/* ---- pillars ---- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 40px); margin-top: clamp(48px, 6vw, 84px); }
.pillar { border-top: 1px solid var(--line); padding-top: 22px; }
.pillar__n { font-family: "JetBrains Mono", "Alexandria", monospace; font-size: 12px; letter-spacing: 0.2em; color: var(--terra); }
.pillar__t { margin-top: 14px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 400; letter-spacing: -0.01em; }
.pillar__d { margin-top: 12px; font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ---- split (image + copy) ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 90px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px 8px 80px 8px; }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--e); }
@media (hover: hover) { .split__media:hover img { transform: scale(1.05); } }
/* Doctor profile › photo strip under the hero (3 portraits from the shoot) */
.dgal { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.1vw, 18px); margin-top: clamp(40px, 5vw, 72px); }
.dgal__fig { position: relative; margin: 0; overflow: hidden; border-radius: 8px; background: var(--paper); aspect-ratio: 4 / 5; }
.dgal__fig img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; transition: transform 1.2s var(--e); }
@media (hover: hover) { .dgal__fig:hover img { transform: scale(1.04); } }
@media (max-width: 860px) { .dgal { grid-template-columns: repeat(2, 1fr); } .dgal__fig:last-child { display: none; } }
@media (max-width: 520px) { .dgal { grid-template-columns: 1fr; } .dgal__fig:last-child { display: block; } }
@media (prefers-reduced-motion: reduce) { .dgal__fig img { transition: none; } }

/* Doctor profile › their room: wide room shot + the portrait on the easel */
.droom { display: grid; grid-template-columns: 1.62fr 1fr; gap: clamp(10px, 1.1vw, 18px); margin-top: clamp(34px, 4vw, 54px); }
.droom__fig { position: relative; margin: 0; overflow: hidden; border-radius: 8px; background: var(--paper); height: clamp(340px, 38vw, 620px); }
.droom__fig--art { border-radius: 8px 8px 80px 8px; }
.droom__fig img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--e); }
@media (hover: hover) { .droom__fig:hover img { transform: scale(1.04); } }
@media (max-width: 820px) { .droom { grid-template-columns: 1fr; } .droom__fig { height: auto; aspect-ratio: 16 / 10; } .droom__fig--art { aspect-ratio: 4 / 5; } }
@media (prefers-reduced-motion: reduce) { .droom__fig img { transition: none; } }

/* About › team: landscape group photo — never crop anyone out */
.ateam .split__media { aspect-ratio: 16 / 10; }
.ateam .split__media img { object-position: center 30%; }
.split__copy p { margin-top: 20px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.75; color: var(--muted); }
.sec--ink .split__copy p { color: rgba(255, 250, 246, 0.72); }

/* ---- stats band ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 40px); }
.stat__n { font-weight: 200; letter-spacing: -0.03em; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1; color: var(--cream); }
.stat__l { margin-top: 14px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--rose-l); }

/* ---- quote ---- */
.quote { text-align: center; max-width: 940px; margin-inline: auto; }
.quote blockquote { font-weight: 200; letter-spacing: -0.02em; line-height: 1.2; font-size: clamp(1.6rem, 3.6vw, 2.9rem); }
.quote figcaption { margin-top: 30px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--terra); }

/* ---- CTA band ---- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(80px, 11vw, 150px) 0; background: var(--ink); color: var(--cream);
}
.cta__t { font-weight: 200; letter-spacing: -0.02em; line-height: 1.06; font-size: clamp(2rem, 5vw, 4rem); }
.cta__d { margin: 22px auto 38px; max-width: 540px; color: rgba(255, 250, 246, 0.72); line-height: 1.7; font-size: clamp(15px, 1.2vw, 17px); }
.cta__row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   TEAM (index) — doctor cards
   ============================================================ */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px); margin-top: clamp(48px, 6vw, 84px); }
.dcard { position: relative; text-decoration: none; color: inherit; display: block; }
.dcard__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px 8px 64px 8px; background: var(--ink); }
.dcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.4s var(--e); }
.dcard__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 21, 18, 0.6), rgba(26, 21, 18, 0) 55%); opacity: 0; transition: opacity 400ms var(--e); }
@media (hover: hover) {
  .dcard:hover .dcard__media img { transform: scale(1.06); }
  .dcard:hover .dcard__scrim { opacity: 1; }
  .dcard:hover .dcard__arrow { transform: translate(4px, -4px); opacity: 1; }
}
.dcard__arrow {
  position: absolute; right: 18px; bottom: 18px; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  background: var(--cream); color: var(--ink); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translate(0, 0); transition: transform 400ms var(--e), opacity 400ms var(--e);
}
.dcard__role { margin-top: 20px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.24em; color: var(--terra); }
.dcard__name { margin-top: 10px; font-size: clamp(20px, 1.8vw, 27px); font-weight: 400; letter-spacing: -0.01em; }
.dcard__line { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ============================================================
   DOCTOR PROFILE
   ============================================================ */
.dhero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.dhero > div:last-child { align-self: center; }
.dhero__col { display: flex; flex-direction: column; }
.dhero__media { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: 8px 8px 90px 8px; background: var(--ink); box-shadow: 0 42px 90px rgba(70, 40, 30, 0.2); }
.dhero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(26,21,18,0.28), transparent 42%); }
.dhero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.5s var(--e); }
@media (hover: hover) { .dhero__media:hover img { transform: scale(1.045); } }
.dhero__role { color: var(--terra); }
.dhero__name { margin-top: 16px; font-weight: 200; letter-spacing: -0.02em; line-height: 1; font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
.dhero__sum { margin-top: 24px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.7; color: var(--muted); }
.dhero__cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin-top: 30px; }
.chip { font-family: "Alexandria", sans-serif; text-transform: uppercase; font-size: 11px; letter-spacing: 0.16em; color: var(--muted); border: none; background: none; padding: 0; display: inline-flex; align-items: center; }
.chip:not(:last-child)::after { content: ""; width: 1px; height: 12px; background: var(--line); margin: 0 clamp(14px, 1.4vw, 20px); }

/* expertise / services list */
.exlist { columns: 2; column-gap: clamp(24px, 4vw, 64px); margin-top: 40px; }
.exlist li {
  break-inside: avoid; list-style: none; padding: 16px 0 16px 30px; position: relative;
  border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--ink-2);
}
.exlist li::before { content: ""; position: absolute; left: 4px; top: 23px; width: 8px; height: 8px; border-radius: 50%; background: var(--terra); }

/* credentials rows */
.creds { margin-top: 40px; }
.cred { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.cred__k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--terra); }
.cred__v { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.cred__v span { display: block; }

/* other doctors mini-nav */
.others { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(40px, 5vw, 64px); }
.omini { display: flex; align-items: center; gap: 18px; text-decoration: none; color: inherit; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); transition: transform 200ms var(--e), box-shadow 200ms var(--e); }
@media (hover: hover) { .omini:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(70, 40, 30, 0.12); } }
.omini:active { transform: scale(0.99); }
.omini img { width: 66px; height: 80px; object-fit: cover; object-position: center top; border-radius: 8px; }
.omini__role { font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--terra); }
.omini__name { margin-top: 6px; font-size: 18px; font-weight: 400; }

/* ============================================================
   CONTACT
   ============================================================ */
.cgrid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 88px); align-items: start; }
.cinfo__block { padding: 26px 0; border-top: 1px solid var(--line); }
.cinfo__k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--terra); }
.cinfo__v { margin-top: 12px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--ink-2); }
.cinfo__v a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
@media (hover: hover) { .cinfo__v a:hover { border-color: var(--terra); } }
.cinfo__socials { display: flex; gap: 13px; margin-top: 18px; }
.cinfo__socials a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid #cc8c70; border-radius: 50%; background: #cc8c70; color: #fffaf6; transition: background 220ms var(--e), color 220ms var(--e), border-color 220ms var(--e), transform 220ms var(--e); }
.cinfo__socials svg { width: 18px; height: 18px; }
@media (hover: hover) { .cinfo__socials a:hover { background: #ba7d64; border-color: #ba7d64; transform: translateY(-2px); } }

/* form */
.form { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 3vw, 44px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink-2); font-weight: 300;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
  transition: border-color 200ms ease, box-shadow 200ms ease; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(186, 125, 100, 0.14); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236f5a52' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form__submit { width: 100%; justify-content: center; margin-top: 4px; border: none; }
.form__note { margin-top: 16px; font-size: 12.5px; line-height: 1.6; color: var(--muted); text-align: center; }
.form__ok { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: rgba(120, 150, 110, 0.14); color: #4a5c3f; font-size: 14px; text-align: center; display: none; }
.form__ok.show { display: block; }

/* map */
.map { width: 100%; height: clamp(340px, 42vw, 560px); border: 0; display: block; filter: saturate(0.9) contrast(1.02); }

/* hours table */
.hours { margin-top: 6px; }
.hours__row { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.hours__row span:last-child { color: var(--muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .team { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .dhero { grid-template-columns: 1fr; }
  .cgrid { grid-template-columns: 1fr; }
  .cred { grid-template-columns: 1fr; gap: 8px; }
  .others { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .exlist { columns: 1; }
  .form__row { grid-template-columns: 1fr; }
}

/* doctor-page Instagram reels */
.dreels { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); margin-top: clamp(36px, 4vw, 56px); }
.dreel { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 14px; display: block; background: var(--ink); box-shadow: 0 18px 40px rgba(70,40,30,0.14); }
.dreel__v { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--e); }
@media (hover: hover) { .dreel:hover .dreel__v { transform: scale(1.05); } }
.dreel::after { content: ""; position: absolute; inset: 0; background: rgba(26,21,18,0.16); pointer-events: none; }
@media (max-width: 760px) { .dreels { grid-template-columns: 1fr 1fr; } }

/* reels under the doctor portrait */
.dhero__reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(6px, 0.7vw, 10px); margin-top: clamp(8px, 0.9vw, 12px); }
.dhero__reels .dreel { border-radius: 10px; box-shadow: 0 8px 22px rgba(70,40,30,0.12); }

/* ---- Our Doctors page — premium ---- */
.team { gap: clamp(20px, 2vw, 34px); }
.dcard__media { border-radius: 10px 10px 72px 10px; box-shadow: 0 24px 54px rgba(70,40,30,0.14); }
.dcard__idx {
  position: absolute; top: 18px; left: 20px; z-index: 2;
  font-family: "Alexandria", sans-serif; font-weight: 300; font-size: 13px; letter-spacing: 0.18em;
  color: #fffaf6; opacity: 0.9; text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.dcard__role { color: #ba7d64; letter-spacing: 0.22em; }
.dcard__name { font-weight: 200; font-size: clamp(22px, 2vw, 30px); }
.team-feature__lead { max-width: 620px; margin-top: 22px; font-size: clamp(15px,1.2vw,18px); line-height: 1.7; color: var(--muted); font-weight: 300; }

/* ============================================================
   PREMIUM GLOW BUTTONS — white text + soft brand halo (all subpages)
   ============================================================ */
.btn--fill {
  color: #fffaf6;
  background: #cc8c70;
  box-shadow: 0 0 20px rgba(204, 140, 112, 0.45);
  transition: box-shadow 0.5s cubic-bezier(0.23,1,0.32,1), background 0.35s ease,
              transform 0.16s cubic-bezier(0.23,1,0.32,1);
}
.btn--fill svg { color: #fffaf6; stroke: #fffaf6; }
@media (hover: hover) {
  .btn--fill:hover {
    background: #ba7d64;
    box-shadow: 0 0 6px rgba(204, 140, 112,0.55), 0 0 22px rgba(204, 140, 112,0.55),
                0 0 46px rgba(204, 140, 112,0.42), 0 0 82px rgba(204, 140, 112,0.26);
  }
}

/* ============================================================
   ===== TECHNOLOGY =====
   Hub (/technology), device pages (/technology/[slug]),
   the About teaser band and the treatment-page device block.
   ============================================================ */
.tbrands { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(18px, 3vw, 44px); padding: clamp(22px, 2.6vw, 34px) 0; border-block: 1px solid var(--line); }
.tbrands span { font-size: clamp(13px, 1.1vw, 15px); letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); font-weight: 300; }

.tgroup + .tgroup { margin-top: clamp(64px, 7vw, 110px); }
.tgroup__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tgroup__n { font-family: "JetBrains Mono", "Alexandria", monospace; font-size: 12px; letter-spacing: 0.2em; color: var(--terra); }
.tgroup__t { font-size: clamp(22px, 2vw, 30px); font-weight: 300; letter-spacing: -0.01em; }
.tgroup__d { max-width: 640px; margin-top: 16px; color: var(--muted); font-size: clamp(15px, 1.1vw, 16.5px); line-height: 1.7; }

.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 2vw, 34px) clamp(14px, 1.4vw, 22px); margin-top: clamp(26px, 2.6vw, 38px); }
.tcard { display: block; text-decoration: none; color: inherit; }
.tcard__media { position: relative; overflow: hidden; aspect-ratio: 2 / 3; border-radius: 6px; background: #1a1512; }
.tcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--e); }
.tcard__brand { margin-top: 16px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--terra); }
.tcard__name { margin-top: 6px; font-size: clamp(17px, 1.3vw, 20px); font-weight: 300; letter-spacing: -0.01em; }
.tcard__line { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.tcard__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.tcard__more::after { content: ""; width: 26px; height: 1px; background: currentColor; transition: width 400ms var(--e); }
@media (hover: hover) { .tcard:hover .tcard__media img { transform: scale(1.045); } .tcard:hover .tcard__more::after { width: 44px; } }
@media (max-width: 980px) { .tgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .tgrid { grid-template-columns: repeat(2, 1fr); } }

/* device page */
.tdev__media { position: relative; overflow: hidden; aspect-ratio: 2 / 3; border-radius: 8px; background: #1a1512; box-shadow: 0 44px 96px rgba(70, 40, 30, 0.2); }
.tdev__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 40px); margin-top: clamp(30px, 3.4vw, 50px); }
.tstep { border-top: 1px solid var(--line); padding-top: 22px; }
.tstep__n { font-family: "JetBrains Mono", "Alexandria", monospace; font-size: 12px; letter-spacing: 0.2em; color: var(--terra); }
.tstep__t { margin-top: 12px; font-size: clamp(18px, 1.4vw, 21px); font-weight: 400; }
.tstep__d { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
@media (max-width: 820px) { .tsteps { grid-template-columns: 1fr; } }
.tuses { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: clamp(28px, 3vw, 40px); }
.tuse { display: flex; align-items: center; gap: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: inherit; background: var(--cream); transition: border-color 300ms ease, transform 400ms var(--e); }
.tuse img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; flex: none; }
.tuse__k { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terra); }
.tuse__n { margin-top: 4px; font-size: 16px; font-weight: 400; }
@media (hover: hover) { .tuse:hover { border-color: var(--terra); transform: translateY(-2px); } }
.tgal { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 6px; margin-top: clamp(26px, 3vw, 40px); }
.tgal figure { margin: 0; overflow: hidden; border-radius: 6px; aspect-ratio: 2 / 3; background: #1a1512; }
.tgal img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) { .tgal { grid-template-columns: 1fr 1fr; } }

/* dark band — About teaser + category pages */
.tband { background: #1a1512; color: var(--cream); padding: clamp(80px, 10vw, 150px) 0; overflow: hidden; }
.tband__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 90px); align-items: center; }
.tband .eyebrow { color: var(--rose-l); }
.tband__t { margin-top: 18px; font-size: clamp(30px, 3.6vw, 52px); font-weight: 200; letter-spacing: -0.02em; line-height: 1.12; }
.tband__d { margin-top: 20px; color: rgba(255, 250, 246, 0.7); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.75; max-width: 520px; }
.tband__brands { margin-top: 26px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 250, 246, 0.55); line-height: 2; }
.tband__cta { margin-top: 34px; }
.tband .btn--light { border-color: rgba(255, 250, 246, 0.5); }
.tband__imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tband__imgs figure { margin: 0; overflow: hidden; border-radius: 6px; aspect-ratio: 2 / 3; }
.tband__imgs figure:nth-child(2) { transform: translateY(-34px); }
.tband__imgs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .tband__grid { grid-template-columns: 1fr; } .tband__imgs figure:nth-child(2) { transform: none; } }

/* treatment page › the device used */
.stech { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(32px, 5vw, 90px); align-items: center; }
.stech__media { position: relative; overflow: hidden; aspect-ratio: 2 / 3; border-radius: 6px; background: #1a1512; display: block; }
.stech__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--e); }
@media (hover: hover) { .stech__media:hover img { transform: scale(1.04); } }
.stech__brand { margin-top: 18px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--terra); }
.stech__copy p { margin-top: 18px; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.75; color: var(--muted); }
.stech__list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.stech__list li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.stech__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.stech--multi .stech__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 860px) { .stech { grid-template-columns: 1fr; } }

/* technology hub — quiet intro: words left, two whole photos right (one per shoot style) */
.thero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 110px); align-items: center; }
.thero__t { margin-top: 20px; font-size: clamp(2.3rem, 4.6vw, 4.2rem); font-weight: 200; letter-spacing: -0.02em; line-height: 1.08; }
.thero__d { margin-top: 22px; max-width: 470px; color: var(--muted); font-size: clamp(15.5px, 1.2vw, 18px); line-height: 1.75; }
.thero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.thero__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.1vw, 16px); }
.thero__imgs figure { margin: 0; overflow: hidden; border-radius: 6px; aspect-ratio: 2 / 3; background: #1a1512; }
.thero__imgs figure:nth-child(2) { transform: translateY(clamp(24px, 4vw, 56px)); }
.thero__imgs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .thero { grid-template-columns: 1fr; } .thero__imgs figure:nth-child(2) { transform: none; } }
.tgroup + .tgroup { margin-top: clamp(56px, 6vw, 96px); }
@media (min-width: 941px) { .tdev .dhero { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); align-items: center; } }

/* technology hub — compact intro, then one full-bleed gallery of every photo */
.thead { padding: clamp(118px, 15vh, 170px) 0 clamp(26px, 3vw, 40px); background: var(--cream); }
.thead__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 70px); align-items: end; }
.thead__t { margin-top: 14px; font-size: clamp(2.1rem, 4.2vw, 3.8rem); font-weight: 200; letter-spacing: -0.02em; line-height: 1.06; }
.thead__d { color: var(--muted); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.7; }
.thead__cta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .thead__grid { grid-template-columns: 1fr; } }
.tgallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px; background: var(--cream); }
.tgallery__item { position: relative; display: block; overflow: hidden; aspect-ratio: 2 / 3; background: #1a1512; color: #fffaf6; text-decoration: none; }
.tgallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--e), filter 600ms ease; }
.tgallery__cap { position: absolute; inset: auto 0 0 0; padding: 44px 16px 14px; background: linear-gradient(to top, rgba(20, 15, 12, 0.72), rgba(20, 15, 12, 0)); }
.tgallery__brand { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: #e7bfae; }
.tgallery__name { margin-top: 4px; font-size: clamp(14px, 1.05vw, 16px); font-weight: 300; }
@media (hover: hover) {
  .tgallery__cap { opacity: 0; transform: translateY(8px); transition: opacity 400ms var(--e), transform 400ms var(--e); }
  .tgallery__item:hover .tgallery__cap, .tgallery__item:focus-visible .tgallery__cap { opacity: 1; transform: none; }
  .tgallery__item:hover img { transform: scale(1.04); }
}

@media (max-width: 1100px) { .tgallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .tgallery { grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 4px; } .tgallery__cap { padding: 30px 10px 10px; } }
.tdev__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tdev__pair .tdev__media { box-shadow: none; }

/* full-bleed cinematic photo band (About, Treatments) — no text, the photo carries it */
.pband { margin: 0; line-height: 0; background: #14100d; }
.pband img { width: 100%; aspect-ratio: 16 / 9; max-height: 92vh; object-fit: cover; display: block; }
@media (max-width: 720px) { .pband img { aspect-ratio: 4 / 3; } }

/* ===== GALLERY (/gallery) — masonry that keeps every photo whole + lightbox ===== */
.gal__filters { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.gal__f { font: inherit; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; padding: 11px 20px; border-radius: 40px;
  border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; transition: background 250ms ease, color 250ms ease, border-color 250ms ease; }
.gal__f.is-on { background: var(--ink-2); color: var(--cream); border-color: var(--ink-2); }
@media (hover: hover) { .gal__f:not(.is-on):hover { border-color: var(--terra); color: var(--terra); } }
.gal { column-count: 4; column-gap: 6px; padding: 6px; background: var(--cream); }
.gal__item { display: block; margin: 0 0 6px; break-inside: avoid; overflow: hidden; background: #1a1512; cursor: zoom-in; }
.gal__item[hidden] { display: none; }
.gal__item img { width: 100%; height: auto; display: block; transition: transform 1.1s var(--e), opacity 400ms ease; }
@media (hover: hover) { .gal__item:hover img { transform: scale(1.035); } }
@media (max-width: 1200px) { .gal { column-count: 3; } }
@media (max-width: 720px) { .gal { column-count: 2; column-gap: 4px; padding: 4px; } .gal__item { margin-bottom: 4px; } }

.lbx { position: fixed; inset: 0; z-index: 5000; background: rgba(16, 12, 10, 0.96); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 280ms var(--e), visibility 280ms; }
.lbx.is-open { opacity: 1; visibility: visible; }
.lbx__fig { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(56px, 7vh, 80px) clamp(12px, 7vw, 110px) 24px; }
.lbx__img { max-width: 100%; max-height: calc(100% - 44px); object-fit: contain; display: block; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.lbx__cap { min-height: 20px; margin-top: 16px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 250, 246, 0.72); text-align: center; }
.lbx__cap a { color: #e7bfae; text-decoration: none; border-bottom: 1px solid rgba(231, 191, 174, 0.4); }
.lbx__close, .lbx__nav { position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 250, 246, 0.28);
  background: rgba(16, 12, 10, 0.4); color: #fffaf6; cursor: pointer; display: grid; place-items: center; transition: background 250ms ease, color 250ms ease; }
.lbx__close svg, .lbx__nav svg { width: 20px; height: 20px; }
.lbx__close { top: 18px; right: 18px; }
.lbx__prev { left: clamp(10px, 2vw, 30px); top: 50%; transform: translateY(-50%); }
.lbx__next { right: clamp(10px, 2vw, 30px); top: 50%; transform: translateY(-50%); }
@media (hover: hover) { .lbx__close:hover, .lbx__nav:hover { background: #fffaf6; color: #1a1512; } }
@media (max-width: 720px) { .lbx__nav { top: auto; bottom: 18px; transform: none; } .lbx__fig { padding-bottom: 86px; } }
[dir="rtl"] .lbx__prev svg, [dir="rtl"] .lbx__next svg { transform: scaleX(-1); }
@media (prefers-reduced-motion: reduce) { .gal__item img, .lbx { transition: none; } }

/* booking page hero over the bright reception — darker on the text side */
.phero--contact .phero__bg::after {
  background: linear-gradient(90deg, rgba(26, 21, 18, 0.86) 0%, rgba(26, 21, 18, 0.62) 42%, rgba(26, 21, 18, 0.2) 78%, rgba(26, 21, 18, 0.1) 100%),
              linear-gradient(to top, rgba(26, 21, 18, 0.7) 0%, transparent 55%);
}
@media (max-width: 720px) { .phero--contact .phero__bg::after { background: linear-gradient(to top, rgba(26, 21, 18, 0.9) 0%, rgba(26, 21, 18, 0.55) 60%, rgba(26, 21, 18, 0.45) 100%); } }
@media (hover: none) { .tgallery__cap { background: linear-gradient(to top, rgba(20, 15, 12, 0.9), rgba(20, 15, 12, 0.35) 70%, rgba(20, 15, 12, 0)); padding-top: 56px; } }

/* "Exclusive in Fujairah" — badge on the gallery tile, chip on the device page */
.tgallery__tag { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 6px 11px; border-radius: 40px;
  background: rgba(255, 250, 246, 0.94); color: #1a1512; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip--hl { color: var(--terra); font-weight: 500; }
.tgallery__tag--kr { background: rgba(186, 125, 100, 0.94); color: #fffaf6; }

@media (max-width: 640px) { .tgallery__tag { top: 8px; left: 8px; padding: 6px 10px; font-size: 9px; } }

/* signature Korean treatments — featured band on /treatments */
.sigrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(26px, 3vw, 40px); }
.sigcard { display: block; text-decoration: none; color: inherit; }
.sigcard__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 6px; background: #1a1512; }
.sigcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--e); }
.sigcard__k { margin-top: 16px; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terra); }
.sigcard__n { margin-top: 6px; font-size: clamp(18px, 1.4vw, 22px); font-weight: 300; letter-spacing: -0.01em; }
.sigcard__d { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
@media (hover: hover) { .sigcard:hover .sigcard__media img { transform: scale(1.04); } }
@media (max-width: 880px) { .sigrid { grid-template-columns: 1fr; max-width: 520px; } }
