:root {
  --ink: #102d49;
  --ink-soft: #527087;
  --cream: #f6f9fb;
  --paper: #ffffff;
  --sage: #d8e8ef;
  --sage-light: #eaf3f6;
  --terracotta: #2e809a;
  --terracotta-dark: #1f627e;
  --line: rgba(16, 45, 73, 0.14);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", sans-serif;
  --radius-card: 18px;
  --radius-media: 28px;
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
}
a { color: inherit; text-decoration: none; }
.phone-number, .phone-number bdi { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .phone-number { display: inline-block; text-align: left; }
.tooth-background {
  height: 100vh;
  inset: 0;
  opacity: .92;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  width: 100%;
  z-index: 4;
}
.floating-tooth {
  color: color-mix(in srgb, var(--terracotta) 78%, var(--ink) 22%);
  left: var(--tooth-x);
  opacity: var(--tooth-opacity);
  position: absolute;
  top: 0;
  transform: translate3d(var(--tooth-drift-x, 0), var(--tooth-y, 0), 0) rotate(var(--tooth-rotation, 0deg));
  transition: color .35s linear;
  will-change: transform;
}
.floating-tooth-inner {
  animation: tooth-breathe var(--tooth-duration) ease-in-out var(--tooth-delay) infinite alternate;
  filter: drop-shadow(0 7px 10px color-mix(in srgb, var(--ink) 24%, transparent));
  width: var(--tooth-size);
}
.floating-tooth svg { display: block; height: auto; overflow: visible; width: 100%; }
.floating-tooth path { fill: color-mix(in srgb, currentColor 82%, white); stroke: color-mix(in srgb, var(--ink) 55%, white); stroke-width: 2; }
.floating-tooth:nth-child(3n + 2) { color: color-mix(in srgb, var(--terracotta) 62%, var(--ink-soft) 38%); }
.floating-tooth:nth-child(3n) { color: color-mix(in srgb, var(--terracotta-dark) 74%, white 26%); }

@keyframes tooth-breathe {
  from { transform: translateY(-6px) scale(.97); }
  to { transform: translateY(7px) scale(1.03); }
}

.site-header, footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 20px clamp(24px, 6vw, 92px);
}
.site-header { background: color-mix(in srgb, var(--cream) 94%, transparent); position: sticky; top: 0; z-index: 5; }
.brand { align-items: center; display: flex; gap: 10px; }
.brand-mark { border-radius: 3px; display: block; height: 44px; object-fit: cover; width: 40px; }
.brand-mark-bashar { object-fit: contain; width: 58px; }
.brand strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -1px; line-height: .8; }
.brand small { color: var(--ink-soft); font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.site-nav { align-items: center; display: flex; gap: 32px; font-size: 13px; font-weight: 700; }
.site-nav a:not(.nav-cta):hover { color: var(--terracotta); }
.nav-cta { border: 1px solid var(--ink); border-radius: 40px; padding: 13px 19px; }
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { background: none; border: 0; display: none; padding: 5px; }
.menu-toggle span { background: var(--ink); display: block; height: 2px; margin: 4px; width: 22px; }

.hero { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 650px; overflow: hidden; padding: 76px clamp(24px, 6vw, 92px) 68px; }
.hero-copy { max-width: 650px; padding-top: 30px; position: relative; z-index: 2; }
.eyebrow { color: var(--terracotta-dark); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -2.4px; line-height: .98; margin: 17px 0; }
h1 { font-size: clamp(70px, 7vw, 100px); }
h2 { font-size: clamp(48px, 5vw, 72px); }
h1 em, h2 em { color: var(--terracotta); font-weight: 500; }
.hero-text, .approach-copy > p, .visit-intro { color: var(--ink-soft); font-size: 17px; line-height: 1.8; max-width: 560px; }
.hero-actions { align-items: center; display: flex; gap: 30px; margin-top: 34px; }
.button { border-radius: 50px; display: inline-block; font-size: 14px; font-weight: 700; padding: 17px 25px; transition: .2s; }
.button-primary { background: var(--terracotta); color: white; }
.button-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); }
.button-light { background: white; color: var(--ink); }
.button-light:hover { transform: translateY(-2px); }
.text-link { font-size: 13px; font-weight: 700; }
.text-link span { color: var(--terracotta); font-size: 18px; margin-left: 5px; }
.open-note { align-items: center; border-top: 1px solid var(--line); display: flex; font-size: 12px; gap: 8px; margin-top: 62px; max-width: 450px; padding-top: 17px; }
.open-note strong { margin-left: 7px; }
.status-dot { background: #76a16e; border-radius: 50%; height: 8px; width: 8px; }
.open-note.closed .status-dot { background: #a2abb1; }

.hero-visual { min-height: 500px; position: relative; }
.hero-photo-wrap { align-self: center; }
.hero-photo-duo { display: grid; gap: 9px; grid-template-columns: 1fr 1fr; }
.hero-photo { border: 8px solid var(--paper); box-shadow: 0 25px 50px rgba(16,45,73,.16); display: block; height: 500px; object-fit: cover; object-position: center center; width: 100%; }
.hero-photo-hussam { object-position: 68% center; }
.hero-photo-bashar { object-position: 64% center; }
.hero-photo-duo .hero-photo:first-child { border-radius: 150px 0 0 0; }
.hero-photo-duo .hero-photo:last-child { border-radius: 0 150px 0 0; }
.arch { background: var(--sage); border-radius: 220px 220px 0 0; bottom: -68px; height: 660px; left: 8%; position: absolute; width: 92%; }
.visual-card { position: absolute; z-index: 2; }
.visual-main { background: #d7e3db; border: 11px solid var(--paper); box-shadow: 0 25px 50px rgba(24,60,59,.14); height: 430px; left: 0; overflow: hidden; top: 56px; transform: rotate(-3deg); width: min(100%, 440px); }
.visual-small { align-items: center; background: var(--paper); bottom: 5px; display: flex; gap: 13px; padding: 19px; right: 0; width: 245px; }
.visual-small .heart { align-items: center; background: #f8e0d6; border-radius: 50%; color: var(--terracotta); display: flex; font-size: 18px; height: 44px; justify-content: center; width: 44px; }
.visual-small strong, .visual-small small { display: block; }
.visual-small strong { font-family: var(--serif); font-size: 17px; }
.visual-small small { color: var(--ink-soft); font-size: 10px; margin-top: 5px; }
.room-scene { background: #ebe6d8; height: 100%; overflow: hidden; position: relative; }
.window { background: #dbe9e7; border: 7px solid #f7f3eb; height: 225px; left: 50px; overflow: hidden; position: absolute; top: 0; width: 160px; }
.sun { background: #eac47c; border-radius: 50%; height: 40px; position: absolute; right: 22px; top: 30px; width: 40px; }
.branch { background: #82a48c; bottom: -15px; height: 170px; left: 50px; position: absolute; transform: rotate(-21deg); width: 4px; }
.branch:after, .branch:before { background: #82a48c; border-radius: 100%; content: ""; height: 34px; position: absolute; width: 16px; }
.branch:before { left: -14px; top: 46px; transform: rotate(-30deg); }
.branch:after { left: 2px; top: 80px; transform: rotate(38deg); }
.branch-two { height: 130px; left: 94px; transform: rotate(18deg); }
.wall-art { border: 4px solid #fff9ef; display: flex; gap: 3px; height: 90px; justify-content: center; padding-top: 26px; position: absolute; right: 34px; top: 37px; width: 76px; }
.wall-art span { background: #789887; border-radius: 10px 10px 0 0; height: 32px; width: 8px; }
.shelf { background: #bd936c; height: 6px; position: absolute; right: 24px; top: 170px; width: 95px; }
.shelf span { background: #e4b489; bottom: 6px; height: 25px; position: absolute; width: 12px; }
.shelf span:nth-child(2) { background: #8aab99; left: 18px; height: 33px; width: 17px; }
.chair { background: #7d9f91; border-radius: 55px 55px 8px 8px; bottom: 30px; height: 130px; position: absolute; width: 92px; }
.chair:after { background: #587a70; bottom: -27px; content: ""; height: 35px; left: 42px; position: absolute; width: 7px; }
.chair-left { left: 40px; }.chair-right { background: #d39375; right: 38px; }
.table { background: #d7ae82; border-radius: 50%; bottom: 77px; height: 42px; left: 142px; position: absolute; width: 140px; }
.table span { background: #bd936c; height: 62px; left: 67px; position: absolute; top: 28px; width: 7px; }
.plant { bottom: 42px; height: 170px; position: absolute; right: -12px; width: 75px; }
.plant i { background: #668b75; border-radius: 100%; height: 60px; position: absolute; transform: rotate(-35deg); width: 25px; }
.plant i:nth-child(2) { left: 27px; top: 15px; transform: rotate(25deg); }.plant i:nth-child(3) { left: 8px; top: 53px; }.plant i:nth-child(4) { left: 36px; top: 70px; transform: rotate(35deg); }
.plant b { background: #c47e61; bottom: 0; height: 63px; left: 7px; position: absolute; width: 58px; }

.trust-strip { background: var(--ink); color: white; display: grid; grid-template-columns: repeat(4,1fr); padding: 0 clamp(24px, 6vw, 92px); }
.trust-strip p { border-right: 1px solid rgba(255,255,255,.18); margin: 0; padding: 25px 25px 24px; }
.trust-strip p:first-child { border-left: 1px solid rgba(255,255,255,.18); }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { color: #d8c89f; font-family: var(--serif); font-size: 35px; font-weight: 500; }
.trust-strip span { font-size: 11px; letter-spacing: 1px; margin-top: 5px; text-transform: uppercase; }

.section { padding: 112px clamp(24px, 6vw, 92px); }
.section-heading { align-items: end; display: flex; justify-content: space-between; }
.section-heading > p { color: var(--ink-soft); font-size: 14px; line-height: 1.8; margin-bottom: 24px; max-width: 430px; }
.service-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.treatment-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; }
.treatment-filters button { background: transparent; border: 1px solid var(--line); border-radius: 40px; color: var(--ink-soft); cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; padding: 11px 17px; transition: .2s; }
.treatment-filters button:hover, .treatment-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: white; }
.service-card { background: var(--paper); min-height: 300px; padding: 25px; transition: .25s; }
.service-card[hidden] { display: none; }
.service-card:hover { box-shadow: 0 20px 40px rgba(24,60,59,.1); transform: translateY(-5px); }
.service-card.featured { background: var(--sage); }
.card-number { color: var(--ink-soft); float: right; font-size: 12px; }
.service-icon { align-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--terracotta); display: flex; font-family: var(--serif); font-size: 28px; height: 58px; justify-content: center; width: 58px; }
.service-card h3, .visit-grid h3 { font-family: var(--serif); font-size: 27px; font-weight: 500; margin: 37px 0 7px; }
.service-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.service-card a { display: inline-block; font-size: 12px; font-weight: 700; margin-top: 16px; }
.service-card a span { color: var(--terracotta); font-size: 18px; margin-left: 5px; }

.approach { align-items: center; background: var(--sage-light); display: grid; gap: 9%; grid-template-columns: .95fr 1.05fr; }
.approach-visual { padding: 0 7%; text-align: center; }
.portrait-shape { background: #b9cfc2; border-radius: 180px 180px 4px 4px; height: 465px; overflow: hidden; position: relative; }
.approach-visual p { margin: 17px 0; }
.approach-visual strong, .approach-visual span { display: block; }
.approach-visual strong { font-family: var(--serif); font-size: 23px; font-weight: 500; }
.approach-visual span { color: var(--ink-soft); font-size: 11px; letter-spacing: 1px; margin-top: 5px; text-transform: uppercase; }
.doctor-icon { bottom: 0; height: 390px; left: 50%; position: absolute; transform: translateX(-50%); width: 270px; }
.head { background: #bd7e66; border-radius: 80px 80px 55px 55px; height: 138px; left: 69px; position: absolute; top: 3px; width: 132px; }
.head:after { background: #244e67; border-radius: 80px 80px 28px 28px; content: ""; height: 61px; left: -5px; position: absolute; top: -8px; width: 142px; }
.body { background: #f8f4ec; border-radius: 78px 78px 0 0; bottom: 0; height: 259px; left: 0; position: absolute; width: 270px; }
.coat-line { background: #d6ddd5; bottom: 0; height: 225px; left: 133px; position: absolute; width: 4px; }
.stethoscope { border: 4px solid #244e67; border-radius: 0 0 55px 55px; border-top: 0; height: 95px; left: 78px; position: absolute; top: 158px; width: 118px; }
.approach-copy { padding-right: 10%; }
.approach-copy ul { border-top: 1px solid var(--line); list-style: none; margin: 26px 0; padding: 13px 0 0; }
.approach-copy li { border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; padding: 13px 0; }
.approach-copy li span { color: var(--terracotta); margin-right: 9px; }

.doctors { background: var(--paper); }
.doctor-grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; margin-top: 40px; }
.doctor-card { background: var(--sage-light); display: flex; flex-direction: column; overflow: hidden; transition: .3s; }
.doctor-card:hover { box-shadow: 0 20px 40px rgba(16,45,73,.13); transform: translateY(-6px); }
.doctor-photo { display: block; height: 340px; object-fit: cover; width: 100%; }
.doctor-photo-surgeon { object-position: center 24%; }
.doctor-photo-prosthodontist { object-position: center 36%; }
.doctor-details { align-items: center; display: flex; flex: 1; gap: 16px; padding: 17px; }
.doctor-logo { background: white; border-radius: 5px; height: 74px; object-fit: contain; width: 86px; }
.doctor-logo-transparent { background: transparent; }
.doctor-details h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin: 0; }
.doctor-details small { color: var(--ink-soft); display: block; font-size: 10px; font-weight: 700; letter-spacing: 1px; margin-bottom: 5px; text-transform: uppercase; }
.doctor-details p { color: var(--terracotta-dark); font-size: 11px; font-weight: 700; letter-spacing: 1px; margin: 7px 0 0; text-transform: uppercase; }
.doctor-social { color: var(--ink-soft); display: inline-block; font-size: 11px; font-weight: 700; margin-top: 8px; }
.doctor-social:hover { color: var(--terracotta-dark); }
.doctor-actions { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 18px; margin-top: auto; padding: 16px 17px; }
.doctor-actions .button { font-size: 12px; padding: 12px 16px; }
.doctor-profile-link { color: var(--terracotta-dark); font-size: 12px; font-weight: 700; }
.doctor-profile-list { border-top: 1px solid var(--line); display: grid; gap: 18px; grid-template-columns: .8fr 1.1fr 1.1fr; margin-top: 44px; padding-top: 36px; }
.profile-heading h3 { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.05; margin: 12px 0; }
.doctor-profile { background: var(--sage-light); scroll-margin-top: 110px; padding: 25px; }
.doctor-profile h4 { font-family: var(--serif); font-size: 27px; font-weight: 500; margin: 9px 0 20px; }
.doctor-profile dl, .doctor-profile dd { margin: 0; }
.doctor-profile dl > div { border-top: 1px solid var(--line); padding: 15px 0; }
.doctor-profile dt { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.doctor-profile dd { color: var(--ink-soft); font-size: 13px; line-height: 1.7; margin-top: 7px; }
.profile-contact { color: var(--terracotta-dark); display: inline-block; font-size: 13px; font-weight: 700; margin-top: 9px; }

.testimonial { background: var(--terracotta); color: white; padding: 80px max(24px, 15vw); text-align: center; }
.quote-mark { color: #f1c9ba; font-family: var(--serif); font-size: 100px; line-height: .5; }
blockquote { font-family: var(--serif); font-size: clamp(25px, 3vw, 38px); line-height: 1.32; margin: 15px auto 22px; max-width: 950px; }
.testimonial p { font-size: 13px; }
.testimonial p span { color: #f3d5cb; margin-left: 12px; }
.feedback-section { background: var(--cream); }
.feedback-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.feedback-grid article { background: var(--paper); border-top: 3px solid var(--terracotta); padding: 27px; }
.feedback-grid article > span { color: var(--terracotta); font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.feedback-grid h3 { font-family: var(--serif); font-size: 27px; font-weight: 500; margin: 32px 0 8px; }
.feedback-grid p { color: var(--ink-soft); font-size: 14px; line-height: 1.75; margin: 0; }

.instagram-section { background: var(--sage-light); }
.instagram-section .section-heading a { color: var(--terracotta-dark); font-weight: 700; }
.instagram-grid { display: grid; gap: 18px; grid-template-columns: 1.4fr .8fr .8fr .8fr; margin-top: 40px; }
.instagram-card { background: var(--paper); display: flex; flex-direction: column; min-height: 300px; overflow: hidden; position: relative; transition: .25s; }
.instagram-card:hover { box-shadow: 0 20px 40px rgba(16,45,73,.13); transform: translateY(-5px); }
.instagram-card img { height: 100%; object-fit: cover; width: 100%; }
.instagram-card > span { align-items: center; background: rgba(255,255,255,.95); bottom: 0; display: flex; font-size: 13px; font-weight: 700; justify-content: space-between; left: 0; padding: 16px 18px; position: absolute; width: 100%; }
.instagram-card b { color: var(--terracotta); font-size: 18px; }
.instagram-brand-card { align-items: center; background: var(--paper); justify-content: center; }
.instagram-brand-card img { height: 165px; object-fit: contain; width: 145px; }
.instagram-video-card video { height: 100%; min-height: 300px; object-fit: cover; width: 100%; }
.instagram-video-card > a { align-items: center; background: rgba(255,255,255,.95); bottom: 0; display: flex; font-size: 13px; font-weight: 700; justify-content: space-between; left: 0; padding: 16px 18px; position: absolute; width: 100%; }
.instagram-video-card b { color: var(--terracotta); font-size: 18px; }
.instagram-follow-card { background: var(--ink); color: white; justify-content: center; padding: 27px; }
.instagram-follow-card small { color: #a9c7d3; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.instagram-follow-card strong { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.05; margin-top: 15px; }
.instagram-follow-card > span { background: transparent; color: white; padding: 27px; }
.bashar-instagram-card { background: #0b668f; }
.video-gallery { border-top: 1px solid var(--line); margin-top: 58px; padding-top: 40px; }
.reel-stage { align-items: center; display: grid; gap: 30px; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); margin-top: 24px; }
.reel-player { aspect-ratio: 16 / 9; background: #071b2d; box-shadow: 0 20px 38px rgba(16,45,73,.18); overflow: hidden; position: relative; }
.reel-player:after { background: linear-gradient(transparent, rgba(237,245,247,.75)); bottom: 0; content: ""; height: 54px; left: 0; pointer-events: none; position: absolute; right: 0; z-index: 2; }
.featured-reel { display: block; height: 100%; object-fit: contain; transition: opacity 260ms var(--ease-out-expo), transform 360ms var(--ease-out-expo); width: 100%; }
.featured-reel.switching { opacity: .18; transform: scale(1.025); }
.reel-player-caption { background: linear-gradient(transparent, rgba(4,17,29,.8)); bottom: 42px; color: white; display: flex; flex-direction: column; gap: 8px; left: 0; padding: 70px 32px 25px; pointer-events: none; position: absolute; right: 0; z-index: 3; }
.reel-count { color: #a9c7d3; font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.reel-title { font-family: var(--serif); font-size: 27px; font-weight: 500; }
.reel-arrow { background: rgba(255,255,255,.92); border: 0; border-radius: 50%; color: var(--ink); cursor: pointer; font-size: 18px; height: 42px; position: absolute; top: 48%; transition: .2s; width: 42px; }
.reel-arrow:hover { background: white; transform: scale(1.08); }
.reel-prev { left: 18px; }.reel-next { right: 18px; }
.reel-playlist { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); justify-items: center; overflow: visible; padding: 12px; position: relative; z-index: 4; }
.reel-thumb { align-items: center; aspect-ratio: 1; background: #163854; border: 5px solid rgba(255,255,255,.88); border-radius: 50%; color: white; cursor: pointer; display: flex; justify-content: center; overflow: hidden; padding: 0; position: relative; text-align: center; transition: .35s; width: min(100%, 170px); }
.reel-thumb:nth-child(2), .reel-thumb:nth-child(5) { transform: translateY(24px); }
.reel-thumb:hover, .reel-thumb.active { box-shadow: 0 16px 30px rgba(16,45,73,.24); transform: scale(1.08); }
.reel-thumb:nth-child(2):hover, .reel-thumb:nth-child(2).active, .reel-thumb:nth-child(5):hover, .reel-thumb:nth-child(5).active { transform: translateY(24px) scale(1.08); }
.reel-thumb img { display: block; height: 100%; object-fit: cover; pointer-events: none; width: 100%; }
.reel-thumb span { background: linear-gradient(transparent, rgba(7,27,45,.88)); bottom: 0; font-size: 9px; font-weight: 700; left: 0; line-height: 1.4; padding: 30px 10px 15px; position: absolute; right: 0; text-transform: uppercase; }
.reel-thumb b { color: #a9d4df; display: block; font-size: 9px; letter-spacing: 2px; }
.specialty-portfolio { background: var(--paper); border-left: 4px solid var(--terracotta); margin-top: 42px; padding: 24px; }
.specialty-portfolio h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin: 9px 0; }
.specialty-portfolio > p:last-of-type { color: var(--ink-soft); font-size: 13px; margin-bottom: 0; }
.clinical-cases { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; }
.clinical-cases summary { align-items: center; color: var(--terracotta-dark); cursor: pointer; display: flex; font-size: 13px; font-weight: 700; gap: 12px; justify-content: space-between; list-style: none; }
.clinical-cases summary::-webkit-details-marker { display: none; }
.clinical-cases summary:after { content: "+"; font-size: 24px; line-height: 1; margin-inline-start: 4px; }
.clinical-cases[open] summary:after { content: "−"; }
.clinical-cases summary span { color: var(--ink-soft); font-size: 10px; letter-spacing: 1px; margin-inline-start: auto; text-transform: uppercase; }
.clinical-note { color: var(--ink-soft); font-size: 12px; margin: 18px 0 12px; }
.prosthodontist-case { margin-top: 18px; }
.surgeon-gallery { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.surgeon-gallery figure { background: var(--sage-light); margin: 0; overflow: hidden; }
.surgeon-gallery img { aspect-ratio: 1; display: block; height: auto; object-fit: cover; width: 100%; }
.case-viewer-trigger { cursor: zoom-in; }
.case-viewer-trigger:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.surgeon-gallery figcaption { color: var(--ink-soft); font-size: 11px; font-weight: 700; padding: 10px; }
.case-study-heading { align-items: end; display: flex; justify-content: space-between; }
.case-study-heading h3 { font-family: var(--serif); font-size: 38px; font-weight: 500; margin: 12px 0 0; }
.case-study-heading h4 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 9px 0 0; }
.case-study-heading > p { color: var(--ink-soft); font-size: 13px; }
.comparison-wrap { margin-top: 24px; max-width: 850px; }
.comparison-wrap > p { color: var(--ink-soft); font-size: 12px; margin: 13px 0 0; }
.comparison { aspect-ratio: 16 / 10; background: var(--paper); box-shadow: 0 18px 36px rgba(16,45,73,.14); overflow: hidden; position: relative; }
.comparison img { display: block; height: 100%; inset: 0; object-fit: cover; object-position: center center; position: absolute; width: 100%; }
.comparison-before { clip-path: inset(0 58% 0 0); height: 100%; left: 0; position: absolute; top: 0; width: 100%; }
.comparison-label { background: rgba(16,45,73,.82); border: 1px solid rgba(255,255,255,.38); border-radius: 30px; color: white; font-size: 10px; font-weight: 700; letter-spacing: 1px; padding: 8px 12px; position: absolute; text-transform: uppercase; top: 16px; }
.label-before { left: 16px; }.label-after { right: 16px; }
[dir="rtl"] .label-before { left: auto; right: 16px; }
[dir="rtl"] .label-after { left: 16px; right: auto; }
.comparison-handle { background: rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(16,45,73,.09), 0 0 16px rgba(16,45,73,.14); height: 100%; left: 42%; pointer-events: none; position: absolute; top: 0; transform: translateX(-50%); width: 3px; }
.comparison-handle span { align-items: center; background: var(--paper); border: 1px solid rgba(16,45,73,.16); border-radius: 50%; box-shadow: 0 8px 22px rgba(16,45,73,.24); color: var(--ink); display: flex; gap: 3px; height: 58px; justify-content: center; left: 50%; position: absolute; top: 50%; transform: translate(-50%,-50%); width: 58px; }
.comparison-handle b { font-size: 25px; font-weight: 500; line-height: 1; transform: translateY(-1px); }
.comparison-handle i { background: repeating-linear-gradient(to bottom, var(--ink-soft) 0 2px, transparent 2px 5px); display: block; height: 17px; opacity: .72; width: 4px; }
.comparison-range { cursor: ew-resize; height: 100%; inset: 0; margin: 0; opacity: 0; position: absolute; width: 100%; }

.case-viewer { background: rgba(5,18,29,.96); border: 0; color: white; height: 100%; margin: 0; max-height: none; max-width: none; padding: 28px; width: 100%; }
.case-viewer::backdrop { background: rgba(5,18,29,.92); }
.case-viewer[open] { align-items: center; display: grid; gap: 20px; grid-template-columns: 54px minmax(0, 1fr) 54px; }
.case-viewer figure { margin: auto; max-width: min(100%, 1050px); text-align: center; }
.case-viewer figure img { display: block; max-height: calc(100vh - 120px); max-width: 100%; object-fit: contain; }
.case-viewer figcaption { color: #dbe6eb; font-size: 13px; margin-top: 14px; }
.case-viewer button { border: 0; cursor: pointer; }
.case-viewer-close { background: rgba(255,255,255,.12); border-radius: 50%; color: white; font-size: 30px; height: 48px; inset-inline-end: 22px; position: fixed; top: 20px; width: 48px; z-index: 2; }
.case-viewer-arrow { background: rgba(255,255,255,.12); border-radius: 50%; color: white; font-size: 34px; height: 54px; width: 54px; }
.case-viewer-arrow:hover, .case-viewer-close:hover { background: var(--terracotta); }

.faq-section { background: var(--sage-light); }
.faq-list { border-top: 1px solid var(--line); margin-top: 38px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-family: var(--serif); font-size: 23px; font-weight: 500; list-style: none; padding: 24px 48px 24px 0; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: "+"; color: var(--terracotta); font-family: var(--sans); font-size: 27px; inset-inline-end: 4px; position: absolute; top: 20px; }
.faq-list details[open] summary:after { content: "−"; }
.faq-list details p { color: var(--ink-soft); font-size: 14px; line-height: 1.8; margin: -6px 0 23px; max-width: 820px; }

.visit { background: var(--paper); }
.contact-choice { background: var(--sage-light); display: grid; gap: 1px; grid-template-columns: 1.2fr 1fr 1fr .8fr; margin-top: 40px; }
.contact-choice-heading, .contact-choice > a { padding: 25px; }
.contact-choice > a { background: color-mix(in srgb, var(--paper) 70%, transparent); border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; transition: .2s; }
.contact-choice > a:hover { background: var(--paper); transform: translateY(-3px); }
.contact-choice h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; margin: 8px 0 0; }
.contact-choice strong { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.contact-choice span, .contact-choice small { color: var(--ink-soft); font-size: 11px; margin-top: 6px; }
.contact-choice small { color: var(--terracotta-dark); font-weight: 700; }
.visit-grid { border-top: 1px solid var(--line); display: grid; gap: 45px; grid-template-columns: repeat(3,1fr); margin-top: 40px; padding-top: 10px; }
.visit-grid h3 { font-size: 24px; margin-bottom: 11px; }
.visit-grid p, .visit-grid a, .visit-grid small { color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.visit-grid p a:hover { color: var(--terracotta-dark); }
.appointment { align-items: center; background: var(--ink); color: white; display: flex; justify-content: space-between; padding: 65px clamp(24px, 6vw, 92px); }
.appointment h2 { color: white; margin: 10px 0; }
.appointment p:not(.eyebrow) { color: #b7cdca; font-size: 14px; }
.appointment-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.appointment-actions .button:last-child { background: var(--terracotta); color: white; }
footer { background: var(--ink); color: #c3d5d2; font-size: 11px; }
footer .brand strong { color: white; } footer .brand small { color: #aec3c0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: white; }
.mobile-booking { display: none; }

.instagram-section, .feedback-section, .faq-section, .visit {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

[lang="ar"] body { line-height: 1.75; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] h4, [lang="ar"] blockquote { line-height: 1.35; }
[lang="ar"] .hero-text, [lang="ar"] .section-heading > p, [lang="ar"] .doctor-profile dd, [lang="ar"] .faq-list details p { line-height: 2; }
[dir="rtl"] .faq-list summary { padding: 24px 0 24px 48px; }

.profile-page { min-height: 100vh; }
.profile-page-header { align-items: center; display: flex; justify-content: space-between; padding: 22px clamp(24px, 6vw, 92px); }
.profile-page-back { color: var(--terracotta-dark); font-size: 13px; font-weight: 700; }
.profile-page-main { align-items: center; display: grid; gap: clamp(35px, 7vw, 100px); grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr); padding: 55px clamp(24px, 8vw, 130px) 95px; }
.profile-page-photo { background: var(--sage-light); border-radius: 220px 220px 8px 8px; box-shadow: 0 24px 50px rgba(16,45,73,.15); display: block; height: min(68vh, 680px); object-fit: cover; width: 100%; }
.profile-page-copy h1 { font-size: clamp(56px, 7vw, 96px); margin-bottom: 25px; }
.profile-page-lead { color: var(--ink-soft); font-size: 18px; line-height: 1.9; max-width: 680px; }
.profile-page-facts { border-top: 1px solid var(--line); display: grid; gap: 0; grid-template-columns: 1fr 1fr; margin: 35px 0; }
.profile-page-facts div { border-bottom: 1px solid var(--line); padding: 18px 18px 18px 0; }
.profile-page-facts dt { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.profile-page-facts dd { color: var(--ink-soft); font-size: 13px; line-height: 1.7; margin: 7px 0 0; }
.profile-page-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.profile-page-actions .button:not(.button-primary) { border: 1px solid var(--line); }

@media (max-width: 800px) {
  body { padding-bottom: 76px; }
  html, body { max-width: 100%; overflow-x: clip; }
  .floating-tooth:nth-child(n + 6) { display: none; }
  .floating-tooth { opacity: calc(var(--tooth-opacity) * .82); }
  .site-header { padding: 16px 22px; }
  .menu-toggle { display: block; }
  .site-nav { background: var(--paper); box-shadow: 0 10px 22px rgba(24,60,59,.1); display: none; flex-direction: column; gap: 18px; left: 0; padding: 25px; position: absolute; top: 74px; width: 100%; }
  .site-nav.open { display: flex; }
  .hero { display: block; min-height: 0; padding: 48px 22px 0; }
  .hero-copy { padding-top: 0; }
  h1 { font-size: 66px; }
  .hero-actions { align-items: start; flex-direction: column; gap: 20px; }
  .open-note { margin-top: 38px; }
  .hero-visual { margin-top: 30px; min-height: clamp(300px, 92vw, 355px); }
  .hero-photo { height: clamp(300px, 92vw, 355px); }
  .hero-photo-hussam { object-position: 80% center; }
  .hero-photo-bashar { object-position: 80% center; }
  .hero-photo-duo { gap: 5px; }
  .arch { bottom: 0; height: 420px; left: 3%; }
  .visual-main { height: 355px; left: 2%; top: 26px; width: 90%; }
  .visual-small { bottom: 7px; max-width: calc(100vw - 44px); right: 0; }
  .trust-strip { grid-template-columns: 1fr 1fr; padding: 0 15px; }
  .trust-strip p { padding: 17px 14px; }
  .section { padding: 76px 22px; }
  .section-heading { display: block; }
  .service-grid, .approach, .visit-grid, .instagram-grid, .doctor-grid, .feedback-grid, .doctor-profile-list, .contact-choice { grid-template-columns: 1fr; }
  .doctor-profile-list { gap: 12px; }
  .profile-heading { padding-bottom: 8px; }
  .contact-choice > a { border-inline-start: 0; border-top: 1px solid var(--line); }
  .case-study-heading { align-items: start; flex-direction: column; }
  .surgeon-gallery { grid-template-columns: 1fr 1fr; }
  .reel-stage { display: block; }
  .reel-player { max-width: 440px; min-height: 0; }
  .featured-reel { height: 100%; }
  .reel-playlist { display: flex; justify-content: start; margin-top: 18px; overflow-x: auto; padding: 8px 8px 28px; }
  .reel-thumb { flex: 0 0 128px; width: 128px; }
  .approach { gap: 42px; }
  .approach-visual { padding: 0; }
  .portrait-shape { height: 390px; }
  .approach-copy { padding-right: 0; }
  .testimonial { padding: 70px 24px; }
  .appointment { align-items: start; flex-direction: column; gap: 20px; padding: 55px 22px; }
  .appointment-actions { justify-content: start; width: 100%; }
  .appointment-actions .button { text-align: center; width: 100%; }
  footer { align-items: start; flex-direction: column; gap: 20px; padding: 27px 22px 95px; }
  .mobile-booking { background: color-mix(in srgb, var(--paper) 96%, transparent); border-top: 1px solid var(--line); bottom: 0; box-shadow: 0 -10px 30px rgba(16,45,73,.12); display: grid; grid-template-columns: 1fr 1fr; left: 0; padding: 9px; position: fixed; right: 0; z-index: 12; }
  .mobile-booking a { align-items: center; border-radius: 9px; display: flex; justify-content: center; min-height: 52px; padding: 8px 12px; }
  .mobile-booking a:first-child { background: var(--ink); color: white; }
  .mobile-booking a:last-child { background: var(--terracotta); color: white; }
  .mobile-booking strong { font-size: 13px; }
  .mobile-booking span { font-size: 9px; margin-inline-start: 7px; opacity: .78; }
  .case-viewer { padding: 70px 14px 20px; }
  .case-viewer[open] { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; }
  .case-viewer-arrow { font-size: 28px; height: 44px; width: 44px; }
  .profile-page-main { grid-template-columns: 1fr; padding-top: 25px; }
  .profile-page-photo { height: 430px; }
  .profile-page-facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .tooth-background { display: none; }
}

/* Premium clinical evolution */
::selection { background: color-mix(in srgb, var(--terracotta) 28%, transparent); color: var(--ink); }
html { scrollbar-color: var(--terracotta) color-mix(in srgb, var(--cream) 88%, white); }
body { line-height: 1.6; min-width: 320px; text-rendering: optimizeLegibility; }
main, footer { position: relative; z-index: 1; }
main { overflow: clip; }

.skip-link {
  background: var(--ink);
  border-radius: 0 0 12px 12px;
  color: white;
  font-size: 13px;
  font-weight: 700;
  left: 24px;
  padding: 12px 18px;
  position: fixed;
  top: 0;
  transform: translateY(-120%);
  transition: transform 180ms var(--ease-out-expo);
  z-index: 20;
}
.skip-link:focus { transform: translateY(0); }

:where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--terracotta) 74%, white);
  outline-offset: 4px;
}

.tooth-background { opacity: .72; z-index: 0; }
.floating-tooth-inner { filter: drop-shadow(0 12px 18px color-mix(in srgb, var(--ink) 18%, transparent)); }

.hero-photo-wrap { backface-visibility: hidden; will-change: opacity, transform; }
.service-card, .doctor-card, .instagram-card, .contact-choice > a {
  transition: background-color 260ms var(--ease-out-expo), border-color 260ms var(--ease-out-expo), box-shadow 320ms var(--ease-out-expo), color 220ms var(--ease-out-expo), transform 320ms var(--ease-out-expo);
}
.reel-arrow, .reel-thumb {
  transition: background-color 220ms var(--ease-out-expo), border-color 220ms var(--ease-out-expo), box-shadow 260ms var(--ease-out-expo), color 220ms var(--ease-out-expo), opacity 220ms var(--ease-out-expo), transform 260ms var(--ease-out-expo);
}

.motion-ready .scroll-reveal {
  clip-path: inset(0 0 13% 0 round var(--radius-card));
  opacity: 0;
  transition: clip-path 820ms var(--ease-out-expo), opacity 520ms var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-ready .scroll-reveal.in-view {
  clip-path: inset(0 round 0);
  opacity: 1;
}

.case-viewer[open] { animation: case-viewer-in 220ms var(--ease-out-expo) both; }
.case-viewer[open] figure { animation: case-image-in 360ms var(--ease-out-expo) both; }
.case-viewer[open]::backdrop { animation: case-backdrop-in 180ms ease-out both; }

@keyframes case-viewer-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes case-image-in {
  from { opacity: 0; transform: scale(.965); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes case-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.site-header {
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
  min-height: 76px;
}
.brand strong { font-size: 25px; letter-spacing: -.035em; line-height: 1; }
.site-nav { gap: clamp(18px, 2.2vw, 32px); }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after {
  background: currentColor;
  bottom: -6px;
  content: "";
  height: 1px;
  inset-inline: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out-expo);
}
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta, .button, .treatment-filters button, .case-viewer button, .mobile-booking a {
  transition: background-color 220ms var(--ease-out-expo), color 220ms var(--ease-out-expo), border-color 220ms var(--ease-out-expo), transform 220ms var(--ease-out-expo), box-shadow 220ms var(--ease-out-expo);
}
.nav-cta:active, .button:active, .treatment-filters button:active, .case-viewer button:active, .mobile-booking a:active { transform: scale(.97); }

.eyebrow, .card-number, .service-icon, .doctor-details small { display: none; }
h1, h2 { letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(64px, 6.6vw, 94px); max-width: 9.5ch; }
h2 { max-width: 13ch; }
h3, h4, blockquote { text-wrap: balance; }
p { text-wrap: pretty; }

.hero {
  gap: clamp(34px, 5vw, 82px);
  grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
  margin: 0 auto;
  max-width: 1540px;
  min-height: calc(100dvh - 76px);
  padding-bottom: 74px;
  padding-top: 58px;
  width: 100%;
}
.hero-copy { align-self: center; max-width: 680px; padding-top: 0; }
.hero-text { font-size: 16px; line-height: 1.75; max-width: 54ch; }
.hero-actions { margin-top: 30px; }
.button { white-space: nowrap; }
.button-primary { box-shadow: 0 14px 30px color-mix(in srgb, var(--terracotta-dark) 22%, transparent); }
.button-primary:hover { box-shadow: 0 18px 38px color-mix(in srgb, var(--terracotta-dark) 29%, transparent); }
.text-link { text-underline-offset: 5px; }
.text-link:hover { text-decoration: underline; }
.open-note { margin-top: 46px; }

.hero-photo-wrap { filter: drop-shadow(0 28px 36px color-mix(in srgb, var(--ink) 13%, transparent)); }
.hero-photo-duo { align-items: end; gap: 12px; }
.hero-photo {
  border: 6px solid color-mix(in srgb, var(--paper) 94%, transparent);
  border-radius: var(--radius-media);
  box-shadow: none;
  height: clamp(470px, 65vh, 610px);
}
.hero-photo-duo .hero-photo:first-child { border-radius: 150px var(--radius-media) var(--radius-media) var(--radius-media); height: clamp(440px, 61vh, 570px); }
.hero-photo-duo .hero-photo:last-child { border-radius: var(--radius-media) 150px var(--radius-media) var(--radius-media); }
.visual-small { border-radius: 16px; bottom: -18px; box-shadow: 0 18px 48px color-mix(in srgb, var(--ink) 16%, transparent); right: 18px; }
.visual-small .heart { background: var(--sage-light); color: var(--terracotta-dark); }

.trust-strip { position: relative; z-index: 1; }
.trust-strip strong { color: color-mix(in srgb, var(--terracotta) 38%, white); font-variant-numeric: tabular-nums; }
.trust-strip span { letter-spacing: .08em; }

.section { padding-bottom: clamp(108px, 10vw, 154px); padding-top: clamp(96px, 9vw, 140px); }
.section-heading { align-items: start; display: block; }
.section-heading > p { font-size: 15px; margin: 20px 0 0; max-width: 68ch; }

.service-grid { gap: 16px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.service-card {
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  grid-column: span 3;
  justify-content: flex-end;
  min-height: 330px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 38px);
  position: relative;
}
.service-card:first-child { grid-column: span 6; min-height: 390px; }
.service-card:nth-child(2) { background: color-mix(in srgb, var(--paper) 82%, var(--sage)); }
.service-card:nth-child(3) { background: color-mix(in srgb, var(--paper) 75%, var(--cream)); }
.service-card::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--terracotta) 18%, transparent), transparent 66%);
  content: "";
  height: 260px;
  inset-inline-end: -120px;
  position: absolute;
  top: -130px;
  width: 260px;
}
.service-card:hover { box-shadow: 0 24px 54px color-mix(in srgb, var(--ink) 11%, transparent); transform: translateY(-6px); }
.service-card h3 { font-size: clamp(25px, 2.4vw, 34px); margin: 0 0 12px; position: relative; }
.service-card p, .service-card a { position: relative; }
.service-card p { max-width: 42ch; }
.service-card a { margin-top: auto; padding-top: 22px; }

.approach {
  background: color-mix(in srgb, var(--sage-light) 91%, transparent);
  gap: clamp(46px, 8vw, 120px);
  grid-template-columns: minmax(340px, .88fr) minmax(0, 1.12fr);
}
.approach-visual { padding: 0; }
.portrait-shape {
  background-image: linear-gradient(to top, color-mix(in srgb, var(--ink) 10%, transparent), transparent 42%), url("assets/dentist-hero-edited.webp");
  background-position: 72% center;
  background-size: cover;
  border-radius: var(--radius-media);
  box-shadow: 0 28px 60px color-mix(in srgb, var(--ink) 14%, transparent);
  height: clamp(460px, 60vw, 650px);
}
.doctor-icon { display: none; }
.approach-visual p { text-align: start; }
.approach-copy { max-width: 650px; padding-right: 0; }
.approach-copy ul { margin-top: 34px; }
.approach-copy li { font-weight: 600; padding: 16px 0; }

.doctors { background: color-mix(in srgb, var(--paper) 92%, transparent); }
.doctor-grid { align-items: start; gap: clamp(18px, 3vw, 42px); }
.doctor-card { border-radius: var(--radius-card); box-shadow: 0 18px 54px color-mix(in srgb, var(--ink) 8%, transparent); }
.doctor-card:nth-child(2) { margin-top: 72px; }
.doctor-photo { height: clamp(360px, 38vw, 510px); }
.doctor-details { align-items: flex-start; padding: 24px; }
.doctor-details h3 { font-size: clamp(27px, 2.8vw, 38px); }
.doctor-actions { padding: 18px 24px 24px; }

.testimonial { background: var(--ink); border-radius: var(--radius-media); margin: 0 clamp(22px, 5vw, 78px); padding: clamp(72px, 9vw, 128px) clamp(24px, 13vw, 180px); }
.testimonial blockquote { font-size: clamp(30px, 4vw, 58px); letter-spacing: -.025em; line-height: 1.1; }
.testimonial p span { color: color-mix(in srgb, var(--terracotta) 45%, white); }

.instagram-card, .reel-player, .specialty-portfolio, .doctor-profile, .feedback-card, .contact-choice, .case-viewer img { border-radius: var(--radius-card); }
.comparison { border-radius: var(--radius-card); box-shadow: 0 24px 60px color-mix(in srgb, var(--ink) 15%, transparent); }
.surgeon-gallery figure { border-radius: 14px; }
.faq-section { background: color-mix(in srgb, var(--sage-light) 92%, transparent); }
.visit { background: color-mix(in srgb, var(--paper) 94%, transparent); }

.clinic-story {
  background: var(--ink);
  color: white;
  display: grid;
  gap: clamp(56px, 9vw, 150px);
  grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr);
  overflow: clip;
  position: relative;
}
.clinic-story::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--terracotta) 30%, transparent), transparent 68%);
  content: "";
  height: 760px;
  inset-inline-start: -360px;
  pointer-events: none;
  position: absolute;
  top: 16%;
  width: 760px;
}
.story-sticky {
  align-self: start;
  padding-top: 4px;
  position: sticky;
  top: clamp(112px, 14vh, 170px);
}
.story-overline {
  color: color-mix(in srgb, var(--terracotta) 58%, white);
  display: block;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: .16em;
  margin-bottom: 30px;
}
.story-sticky h2 {
  color: white;
  font-size: clamp(48px, 5.2vw, 76px);
  margin: 0;
  max-width: 9.5ch;
}
.story-intro {
  color: color-mix(in srgb, white 68%, var(--sage));
  font-size: 15px;
  line-height: 1.8;
  margin: 28px 0 0;
  max-width: 43ch;
}
.story-meter {
  align-items: center;
  color: color-mix(in srgb, white 62%, transparent);
  display: flex;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  gap: 13px;
  letter-spacing: .12em;
  margin-top: 42px;
}
.story-index-current { color: white; font-weight: 800; }
.story-meter-track {
  background: color-mix(in srgb, white 18%, transparent);
  display: block;
  height: 1px;
  overflow: hidden;
  width: min(14vw, 160px);
}
.story-meter-fill {
  background: var(--terracotta);
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  width: 100%;
}
[dir="rtl"] .story-meter-fill { transform-origin: right center; }
.story-gallery { display: grid; gap: clamp(84px, 12vw, 170px); }
.story-frame { margin: 0; position: relative; }
.story-frame-tall { margin-inline-start: 17%; width: 83%; }
.story-frame-detail { margin-inline-end: 9%; width: 91%; }
.story-media {
  background: color-mix(in srgb, var(--sage) 18%, var(--ink));
  border-radius: var(--radius-media);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .27);
  overflow: hidden;
  position: relative;
  transition: box-shadow 420ms var(--ease-out-expo), transform 520ms var(--ease-out-expo);
}
.story-frame-wide .story-media { aspect-ratio: 16 / 10; }
.story-frame-tall .story-media { aspect-ratio: 4 / 5; }
.story-frame-detail .story-media { aspect-ratio: 5 / 6; }
.story-media::after {
  background: linear-gradient(to top, rgba(8, 24, 38, .18), transparent 40%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.story-media img {
  display: block;
  height: 120%;
  inset-block-start: -10%;
  object-fit: cover;
  position: absolute;
  width: 100%;
  will-change: transform;
}
.story-frame-wide img { object-position: center 54%; }
.story-frame-tall img { object-position: center center; }
.story-frame-detail img { object-position: center 58%; }
.story-frame figcaption {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  margin-top: 20px;
}
.story-frame figcaption > span {
  color: var(--terracotta);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  padding-top: 4px;
}
.story-frame figcaption strong, .story-frame figcaption small { display: block; }
.story-frame figcaption strong { font-family: var(--serif); font-size: 25px; font-weight: 500; }
.story-frame figcaption small { color: color-mix(in srgb, white 60%, transparent); font-size: 12px; line-height: 1.65; margin-top: 5px; max-width: 42ch; }

.motion-ready .hero-copy > * {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 560ms var(--ease-out-expo), transform 760ms var(--ease-out-expo);
}
.motion-ready .hero-photo {
  clip-path: inset(0 0 100% 0 round var(--radius-media));
  opacity: 0;
  transition: clip-path 980ms var(--ease-out-expo), opacity 520ms var(--ease-out-expo);
}
.motion-ready.page-ready .hero-copy > *, .motion-ready.page-ready .hero-photo {
  clip-path: inset(0 round 0);
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.motion-ready.page-ready .hero-copy > :nth-child(2) { transition-delay: 70ms; }
.motion-ready.page-ready .hero-copy > :nth-child(3) { transition-delay: 130ms; }
.motion-ready.page-ready .hero-copy > :nth-child(4) { transition-delay: 190ms; }
.motion-ready.page-ready .hero-copy > :nth-child(5) { transition-delay: 250ms; }
.motion-ready.page-ready .hero-photo:first-child { transition-delay: 120ms; }
.motion-ready.page-ready .hero-photo:last-child { transition-delay: 230ms; }

.doctor-photo, .instagram-card img, .surgeon-gallery img {
  transition: filter 500ms var(--ease-out-expo), transform 700ms var(--ease-out-expo);
}

@media (hover: hover) and (pointer: fine) {
  .doctor-card:hover { box-shadow: 0 28px 64px color-mix(in srgb, var(--ink) 14%, transparent); transform: translateY(-6px); }
  .doctor-card:hover .doctor-photo, .instagram-card:hover img, .surgeon-gallery figure:hover img { transform: scale(1.035); }
  .story-frame:hover .story-media { box-shadow: 0 42px 100px rgba(0, 0, 0, .36); transform: scale(1.006); }
}

@media (max-width: 800px) {
  .site-header { min-height: 72px; padding: 12px 18px; }
  .brand { gap: 7px; }
  .brand-mark-bashar { height: 42px; width: 54px; }
  .brand strong { font-size: clamp(20px, 6vw, 24px); }
  .menu-toggle span {
    transform-origin: center;
    transition: background-color 180ms ease-out, opacity 160ms ease-out, transform 220ms var(--ease-out-expo);
  }
  .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; transform: scaleX(.35); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    border-radius: 0 0 18px 18px;
    display: flex;
    opacity: 0;
    pointer-events: none;
    top: 71px;
    transform: translateY(-10px) scale(.985);
    transform-origin: top center;
    transition: opacity 170ms ease-out, transform 240ms var(--ease-out-expo), visibility 0s linear 240ms;
    visibility: hidden;
  }
  .site-nav.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
    visibility: visible;
  }

  .hero {
    display: block;
    min-height: 0;
    padding: 28px 18px 24px;
  }
  .hero-copy { max-width: none; }
  h1 { font-size: clamp(48px, 14.2vw, 57px); letter-spacing: -.045em; line-height: .93; margin: 0; max-width: 9ch; }
  h2 { font-size: clamp(42px, 12vw, 54px); }
  .hero-text { font-size: 14.5px; line-height: 1.58; margin: 22px 0 0; max-width: 38ch; }
  .hero-actions { gap: 12px; margin-top: 22px; }
  .hero-actions .button { font-size: 12px; padding: 14px 20px; }
  .hero-actions .text-link { font-size: 12px; }
  .open-note { display: none; }
  .hero-visual { margin-top: 22px; min-height: 278px; }
  .hero-photo-duo { gap: 6px; }
  .hero-photo, .hero-photo-duo .hero-photo:first-child, .hero-photo-duo .hero-photo:last-child { height: 278px; }
  .hero-photo { border-width: 4px; border-radius: 16px; }
  .hero-photo-duo .hero-photo:first-child { border-radius: 80px 16px 16px 16px; }
  .hero-photo-duo .hero-photo:last-child { border-radius: 16px 80px 16px 16px; }
  .hero-photo-hussam { object-position: 76% center; }
  .hero-photo-bashar { object-position: 72% center; }
  .visual-small { bottom: -16px; display: none; }

  .trust-strip { border-radius: 16px 16px 0 0; margin-top: 0; }
  .trust-strip strong { font-size: 29px; }
  .trust-strip span { font-size: 9px; }
  .section { padding: 82px 18px 96px; }
  .section-heading > p { font-size: 14px; margin-top: 16px; }
  .treatment-filters { flex-wrap: nowrap; margin-inline: -18px; overflow-x: auto; padding: 0 18px 8px; scrollbar-width: none; }
  .treatment-filters::-webkit-scrollbar { display: none; }
  .treatment-filters button { flex: 0 0 auto; }

  .service-grid { display: grid; grid-template-columns: 1fr; }
  .service-card, .service-card:first-child { grid-column: auto; min-height: 260px; }
  .service-card h3 { font-size: 28px; }

  .approach { grid-template-columns: 1fr; }
  .portrait-shape { background-position: 70% center; height: 430px; }
  .approach-visual p { padding-inline: 4px; }
  .doctor-card:nth-child(2) { margin-top: 0; }
  .doctor-photo { height: 390px; }
  .doctor-details { padding: 18px; }
  .doctor-logo { height: 66px; width: 74px; }
  .doctor-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .doctor-actions .button { text-align: center; }

  .clinic-story { gap: 54px; grid-template-columns: 1fr; padding: 88px 18px 110px; }
  .clinic-story::before { height: 520px; inset-inline-start: -320px; top: 4%; width: 520px; }
  .story-sticky { position: relative; top: auto; }
  .story-sticky h2 { font-size: clamp(45px, 13vw, 56px); max-width: 9ch; }
  .story-intro { font-size: 14px; margin-top: 22px; }
  .story-meter { margin-top: 30px; }
  .story-meter-track { flex: 1; width: auto; }
  .story-gallery { gap: 58px; }
  .story-frame, .story-frame-tall, .story-frame-detail { margin-inline: 0; width: 100%; }
  .story-frame-wide .story-media { aspect-ratio: 4 / 3; }
  .story-frame-tall .story-media, .story-frame-detail .story-media { aspect-ratio: 4 / 5; }
  .story-frame figcaption strong { font-size: 23px; }
  .story-frame figcaption small { font-size: 11px; }

  .testimonial { border-radius: 18px; margin: 0 12px; padding: 70px 22px; }
  .testimonial blockquote { font-size: 32px; }
  .mobile-booking { backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .motion-ready .scroll-reveal { clip-path: none; opacity: 1; }
}

/* Precision Atelier: the editorial story language carried through the full site. */
body,
.profile-page {
  background: var(--ink);
  color: white;
}

main,
.section,
.services,
.approach,
.doctors,
.feedback-section,
.instagram-section,
.faq-section,
.visit {
  background: var(--ink);
  color: white;
}

.site-header,
.profile-page-header {
  background: color-mix(in srgb, var(--ink) 86%, rgba(4, 13, 22, .7));
  border-color: rgba(255, 255, 255, .1);
  color: white;
}

.brand small,
.hero-text,
.approach-copy > p,
.visit-intro,
.section-heading > p,
.service-card p,
.doctor-profile dd,
.feedback-grid p,
.specialty-portfolio > p:last-of-type,
.clinical-note,
.case-study-heading > p,
.comparison-wrap > p,
.faq-list details p,
.visit-grid p,
.visit-grid a,
.visit-grid small,
.contact-choice span,
.contact-choice small,
.profile-page-lead,
.profile-page-facts dd {
  color: rgba(255, 255, 255, .62);
}

.site-nav a:not(.nav-cta):hover,
.profile-page-back,
.doctor-social:hover,
.doctor-profile-link,
.profile-contact,
.clinical-cases summary,
.instagram-section .section-heading a {
  color: var(--terracotta);
}

.nav-cta {
  border-color: rgba(255, 255, 255, .48);
}

.nav-cta:hover {
  background: white;
  border-color: white;
  color: var(--ink);
}

.menu-toggle span { background: white; }

.hero {
  background:
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--terracotta) 16%, transparent), transparent 31%),
    var(--ink);
  color: white;
  max-width: none;
  position: relative;
}

.hero::before {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  content: "";
  height: min(42vw, 590px);
  pointer-events: none;
  position: absolute;
  right: -15vw;
  top: 10%;
  width: min(42vw, 590px);
}

.hero-photo {
  border-color: color-mix(in srgb, white 13%, var(--ink));
  box-shadow: 0 34px 90px rgba(0, 0, 0, .34);
}

.visual-small {
  background: color-mix(in srgb, var(--ink) 90%, white 8%);
  border: 1px solid rgba(255, 255, 255, .12);
  color: white;
}

.open-note,
.approach-copy ul,
.doctor-profile-list,
.doctor-actions,
.video-gallery,
.clinical-cases,
.faq-list,
.visit-grid,
.profile-page-facts,
.profile-page-facts div {
  border-color: rgba(255, 255, 255, .13);
}

.trust-strip {
  background: color-mix(in srgb, var(--ink) 87%, black 13%);
  border-block: 1px solid rgba(255, 255, 255, .1);
}

.trust-strip strong { color: color-mix(in srgb, var(--terracotta) 68%, white); }

.section,
.testimonial,
.appointment {
  overflow: clip;
  position: relative;
}

.section[data-section-index]::before,
.testimonial[data-section-index]::before,
.appointment[data-section-index]::before {
  color: color-mix(in srgb, var(--terracotta) 84%, white);
  content: attr(data-section-index);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  inset-inline-start: clamp(24px, 6vw, 92px);
  letter-spacing: .18em;
  position: absolute;
  top: 32px;
}

.section[data-section-index]::after,
.testimonial[data-section-index]::after,
.appointment[data-section-index]::after {
  background: linear-gradient(90deg, var(--terracotta), transparent);
  content: "";
  height: 1px;
  inset-inline-start: calc(clamp(24px, 6vw, 92px) + 34px);
  opacity: .48;
  position: absolute;
  top: 37px;
  width: min(72px, 10vw);
}

.service-card,
.service-card:first-child,
.service-card:nth-child(2),
.service-card:nth-child(3),
.doctor-card,
.doctor-profile,
.feedback-grid article,
.instagram-card,
.instagram-brand-card,
.specialty-portfolio,
.contact-choice,
.contact-choice > a,
.faq-list,
.profile-page-photo {
  background: color-mix(in srgb, var(--ink) 90%, white 5%);
  border: 1px solid rgba(255, 255, 255, .11);
  color: white;
}

.service-card.featured,
.service-card:first-child,
.testimonial,
.appointment {
  background:
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--terracotta) 28%, transparent), transparent 38%),
    color-mix(in srgb, var(--ink) 84%, black 16%);
}

.service-card::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--terracotta) 34%, transparent), transparent 66%);
}

.treatment-filters button {
  border-color: rgba(255, 255, 255, .19);
  color: rgba(255, 255, 255, .66);
}

.treatment-filters button:hover,
.treatment-filters button[aria-pressed="true"] {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: white;
}

.approach {
  background:
    linear-gradient(125deg, color-mix(in srgb, var(--terracotta) 7%, transparent), transparent 42%),
    var(--ink);
}

.approach-visual,
.doctor-card,
.instagram-card,
.surgeon-gallery figure {
  isolation: isolate;
  overflow: hidden;
}

.approach-visual { border-radius: var(--radius-media); }
.portrait-shape { box-shadow: 0 34px 90px rgba(0, 0, 0, .3); will-change: transform; }

.doctor-photo,
.instagram-card > img,
.surgeon-gallery img {
  backface-visibility: hidden;
  will-change: transform;
}

.doctor-details,
.doctor-actions,
.surgeon-gallery figcaption {
  background: color-mix(in srgb, var(--ink) 91%, white 5%);
  position: relative;
  z-index: 1;
}

.doctor-details p,
.doctor-social,
.doctor-profile dt,
.feedback-grid article > span,
.clinical-cases summary span,
.surgeon-gallery figcaption,
.contact-choice small {
  color: color-mix(in srgb, var(--terracotta) 72%, white);
}

.doctor-logo {
  background: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}

.testimonial {
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .22);
}

.quote-mark { color: color-mix(in srgb, var(--terracotta) 62%, white); }

.feedback-grid article {
  border-block-start-color: var(--terracotta);
  box-shadow: 0 22px 62px rgba(0, 0, 0, .16);
}

.instagram-card > span,
.instagram-video-card > a {
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  border-top: 1px solid rgba(255, 255, 255, .11);
  color: white;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.instagram-follow-card,
.bashar-instagram-card {
  background: color-mix(in srgb, var(--terracotta) 20%, var(--ink));
}

.reel-player {
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .28);
}

.reel-player::after { background: linear-gradient(transparent, rgba(7, 20, 32, .8)); }
.reel-thumb { border-color: rgba(255, 255, 255, .18); }

.specialty-portfolio {
  border-inline-start: 3px solid var(--terracotta);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .16);
}

.surgeon-gallery figure { background: color-mix(in srgb, var(--ink) 86%, white 7%); }
.comparison { background: color-mix(in srgb, var(--ink) 88%, white 7%); }

.faq-list { padding-inline: clamp(18px, 3vw, 36px); }
.faq-list details { border-color: rgba(255, 255, 255, .13); }
.faq-list summary { color: white; }

.contact-choice { gap: 0; }
.contact-choice > a { border-color: rgba(255, 255, 255, .1); }
.contact-choice > a:hover { background: color-mix(in srgb, var(--terracotta) 14%, var(--ink)); }

.appointment { border-block: 1px solid rgba(255, 255, 255, .1); }
.appointment p:not(.eyebrow) { color: rgba(255, 255, 255, .62); }

footer {
  background: color-mix(in srgb, var(--ink) 85%, black 15%);
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .6);
}

.mobile-booking {
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  border-color: rgba(255, 255, 255, .12);
}

.profile-page-header { min-height: 76px; }
.profile-page-main { min-height: calc(100dvh - 76px); position: relative; }
.profile-page-main::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--terracotta) 24%, transparent), transparent 68%);
  content: "";
  height: 70vw;
  max-height: 900px;
  max-width: 900px;
  pointer-events: none;
  position: absolute;
  right: -22vw;
  top: -28vw;
  width: 70vw;
}

.profile-page-photo {
  border-radius: var(--radius-media);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .34);
  position: relative;
  animation: profile-media-in 980ms var(--ease-out-expo) both;
}

.profile-page-copy { position: relative; }
.profile-page-copy > * { animation: profile-copy-in 760ms var(--ease-out-expo) both; }
.profile-page-copy > :nth-child(2) { animation-delay: 80ms; }
.profile-page-copy > :nth-child(3) { animation-delay: 150ms; }
.profile-page-copy > :nth-child(4) { animation-delay: 220ms; }
.profile-page-copy > :nth-child(5) { animation-delay: 290ms; }
.profile-page-actions .button:not(.button-primary) { border-color: rgba(255, 255, 255, .2); }

@keyframes profile-media-in {
  from { clip-path: inset(0 0 100% 0 round var(--radius-media)); opacity: 0; }
  to { clip-path: inset(0 round 0); opacity: 1; }
}

@keyframes profile-copy-in {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (min-width: 1101px) {
  .services,
  .doctors,
  .feedback-section,
  .instagram-section,
  .faq-section,
  .visit {
    column-gap: clamp(58px, 8vw, 132px);
    display: grid;
    grid-template-columns: minmax(250px, .52fr) minmax(0, 1.48fr);
  }

  .services > *,
  .doctors > *,
  .feedback-section > *,
  .instagram-section > *,
  .faq-section > *,
  .visit > * { grid-column: 2; }

  .services > .section-heading,
  .doctors > .section-heading,
  .feedback-section > .section-heading,
  .instagram-section > .section-heading,
  .faq-section > .section-heading,
  .visit > :first-child {
    align-self: start;
    grid-column: 1;
    grid-row: 1 / span 20;
    position: sticky;
    top: 122px;
  }

  .service-grid,
  .doctor-grid,
  .feedback-grid,
  .instagram-grid,
  .faq-list,
  .contact-choice { margin-top: 0; }

  .doctor-profile-list { grid-template-columns: 1fr 1fr; }
  .doctor-profile-list > .profile-heading { grid-column: 1 / -1; }
  .services .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services .service-card,
  .services .service-card:nth-child(2),
  .services .service-card:nth-child(3) { grid-column: auto; }
  .services .service-card:first-child { grid-column: 1 / -1; }
  .instagram-grid { grid-template-columns: 1.2fr .8fr; }
  .contact-choice { grid-template-columns: 1fr 1fr; }
  .contact-choice-heading { grid-column: 1 / -1; }
  .approach-copy { align-self: start; position: sticky; top: 122px; }
}

@media (hover: hover) and (pointer: fine) {
  .doctor-card:hover .doctor-photo,
  .instagram-card:hover img,
  .surgeon-gallery figure:hover img { transform: none; }
  .instagram-card:hover,
  .surgeon-gallery figure:hover { box-shadow: 0 30px 74px rgba(0, 0, 0, .28); transform: translateY(-5px); }
}

@media (max-width: 800px) {
  .site-nav { background: color-mix(in srgb, var(--ink) 96%, black 4%); color: white; }
  .hero { background: var(--ink); }
  .hero::before { height: 300px; right: -180px; top: 16%; width: 300px; }
  .section[data-section-index]::before,
  .testimonial[data-section-index]::before,
  .appointment[data-section-index]::before { inset-inline-start: 18px; top: 25px; }
  .section[data-section-index]::after,
  .testimonial[data-section-index]::after,
  .appointment[data-section-index]::after { inset-inline-start: 52px; top: 30px; }
  .service-card,
  .service-card:first-child { min-height: 280px; }
  .approach-visual { border-radius: 18px; }
  .doctor-card:nth-child(2) { margin-top: 0; }
  .instagram-card > span,
  .instagram-video-card > a { background: color-mix(in srgb, var(--ink) 91%, transparent); }
  .faq-list { padding-inline: 16px; }
  .contact-choice { border-radius: var(--radius-card); overflow: hidden; }
  .profile-page-main::before { height: 520px; right: -300px; top: -140px; width: 520px; }
}

/* Specialty atlas: four connected visual worlds and one traveling guide. */
.specialty-atlas {
  background:
    radial-gradient(circle at 14% 10%, rgba(59, 196, 206, .12), transparent 24%),
    radial-gradient(circle at 88% 52%, rgba(239, 125, 79, .1), transparent 28%),
    color-mix(in srgb, var(--ink) 88%, #071420 12%);
  color: white;
  isolation: isolate;
  padding-bottom: clamp(140px, 13vw, 210px);
}

.specialty-atlas::before {
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  content: "";
  height: 520px;
  inset-inline-start: -330px;
  pointer-events: none;
  position: absolute;
  top: 9%;
  width: 520px;
}

.specialty-atlas-header {
  align-items: end;
  display: grid;
  gap: clamp(44px, 9vw, 148px);
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  margin: 0 auto clamp(90px, 11vw, 160px);
  max-width: 1450px;
  position: relative;
  z-index: 1;
}

.specialty-atlas-header h2 {
  font-size: clamp(52px, 6vw, 88px);
  margin: 0;
  max-width: 11ch;
}

.specialty-atlas-header > div > p:first-child {
  color: rgba(255, 255, 255, .78);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.75;
  margin: 0;
  max-width: 58ch;
}

.specialty-atlas-note,
.specialty-photo-note {
  color: rgba(255, 255, 255, .54);
  font-size: 12px;
  line-height: 1.75;
  margin: 22px 0 0;
  max-width: 68ch;
}

.specialty-photo-note { margin-top: 9px; }

.specialty-source-link {
  color: color-mix(in srgb, var(--terracotta) 78%, white);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  margin-top: 22px;
  text-underline-offset: 5px;
  transition: color 180ms var(--ease-out-expo);
}

.specialty-source-link:hover { color: white; text-decoration: underline; }

.specialty-atlas-layout {
  display: grid;
  gap: clamp(54px, 8vw, 128px);
  grid-template-columns: minmax(210px, .42fr) minmax(0, 1.58fr);
  margin: 0 auto;
  max-width: 1450px;
  position: relative;
  z-index: 1;
}

.specialty-atlas-guide {
  align-self: start;
  position: sticky;
  top: 122px;
}

.specialty-atlas-guide h3 {
  font-family: var(--serif);
  font-size: clamp(29px, 3vw, 43px);
  font-weight: 500;
  line-height: 1.03;
  margin: 0;
  max-width: 9ch;
}

.specialty-atlas-guide > p {
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
  line-height: 1.75;
  margin: 20px 0 0;
  max-width: 27ch;
}

.specialty-route {
  align-items: center;
  color: rgba(255, 255, 255, .48);
  display: grid;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  gap: 14px;
  grid-template-rows: auto 150px auto;
  justify-items: center;
  letter-spacing: .14em;
  margin-top: 34px;
  width: 24px;
}

.specialty-route-current { color: white; }

.specialty-route-track {
  background: rgba(255, 255, 255, .12);
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 1px;
}

.specialty-route-fill {
  background: linear-gradient(to bottom, #54cbd5, #ff8b5d 52%, #e3b845);
  height: 100%;
  inset: 0;
  position: absolute;
  transform: scaleY(0);
  transform-origin: top;
  width: 100%;
  will-change: transform;
}

.specialty-worlds {
  display: grid;
  gap: clamp(110px, 13vw, 190px);
}

.specialty-world {
  --world-accent: #53cbd4;
  --world-accent-two: #4d7fe1;
  align-items: center;
  background: color-mix(in srgb, var(--ink) 79%, var(--world-accent) 10%);
  border-radius: var(--radius-media);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .22);
  display: grid;
  gap: clamp(34px, 5vw, 72px);
  grid-template-areas: "media copy";
  grid-template-columns: minmax(300px, .92fr) minmax(0, 1.08fr);
  min-height: 730px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 42px);
  position: relative;
}

.specialty-world::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--world-accent) 28%, transparent), transparent 66%);
  content: "";
  height: 460px;
  inset-inline-end: -180px;
  pointer-events: none;
  position: absolute;
  top: -170px;
  width: 460px;
}

.specialty-world-2 { --world-accent: #ff815d; --world-accent-two: #9d75ee; }
.specialty-world-3 { --world-accent: #dfcf55; --world-accent-two: #53b98a; }
.specialty-world-4 { --world-accent: #efa53d; --world-accent-two: #d86479; }

.specialty-world:nth-child(even) {
  grid-template-areas: "copy media";
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
}

.specialty-world-media {
  aspect-ratio: 4 / 5;
  background: color-mix(in srgb, var(--world-accent) 20%, var(--ink));
  border-radius: 22px;
  box-shadow: 0 28px 74px rgba(0, 0, 0, .28);
  grid-area: media;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.specialty-world.is-active .specialty-world-media {
  box-shadow: 0 36px 94px color-mix(in srgb, var(--world-accent) 20%, rgba(0, 0, 0, .34));
}

.specialty-world-image {
  backface-visibility: hidden;
  display: block;
  height: 112%;
  inset: -6%;
  object-fit: cover;
  position: absolute;
  width: 112%;
  will-change: transform;
}

.specialty-world-1 .specialty-world-image { object-position: 58% center; }
.specialty-world-2 .specialty-world-image { object-position: center; }
.specialty-world-3 .specialty-world-image { object-position: 58% center; }
.specialty-world-4 .specialty-world-image { object-position: 58% 76%; }

.specialty-world-media::after {
  background: linear-gradient(to top, rgba(5, 16, 28, .46), transparent 44%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.specialty-photo-fragment {
  border: 4px solid color-mix(in srgb, var(--world-accent) 38%, white);
  border-radius: 14px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .28);
  display: block;
  overflow: hidden;
  position: absolute;
  width: 34%;
  will-change: transform;
  z-index: 2;
}

.specialty-photo-fragment img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.specialty-photo-fragment-a {
  aspect-ratio: 4 / 3;
  inset-inline-end: 7%;
  top: 7%;
}

.specialty-photo-fragment-b {
  aspect-ratio: 1;
  bottom: 8%;
  inset-inline-start: 7%;
  width: 25%;
}

.specialty-photo-fragment-b img { object-position: 72% center; transform: scale(1.28); }

.specialty-media-signal {
  background: var(--world-accent);
  border-radius: 999px;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--world-accent) 30%, transparent);
  display: block;
  position: absolute;
  z-index: 3;
}

.specialty-media-signal-a {
  height: 13px;
  inset-inline-start: 12%;
  top: 12%;
  transform: rotate(-24deg);
  width: 56px;
}

.specialty-media-signal-b {
  background: var(--world-accent-two);
  bottom: 14%;
  height: 34px;
  inset-inline-end: 11%;
  width: 13px;
}

.specialty-world-copy {
  grid-area: copy;
  position: relative;
  z-index: 2;
}

.specialty-world-copy > h3 {
  font-family: var(--serif);
  font-size: clamp(38px, 4.3vw, 62px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.02;
  margin: 0 0 clamp(36px, 5vw, 64px);
  max-width: 12ch;
}

.specialty-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.specialty-list li {
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: grid;
  gap: 18px;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 22px 0 24px;
}

.specialty-list li > span {
  color: color-mix(in srgb, var(--world-accent) 78%, white);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: .12em;
  padding-top: 5px;
}

.specialty-list h4 {
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}

.specialty-list p {
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  line-height: 1.7;
  margin: 8px 0 0;
  max-width: 60ch;
}

.specialty-pet {
  height: 58px;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  transition: opacity 180ms var(--ease-out-expo);
  width: 68px;
  will-change: transform;
  z-index: 3;
}

.specialty-atlas.pet-active .specialty-pet { opacity: 1; }

.specialty-pet-shadow {
  background: rgba(3, 13, 23, .3);
  border-radius: 50%;
  bottom: -9px;
  filter: blur(5px);
  height: 12px;
  left: 11px;
  position: absolute;
  transform: scaleX(.82);
  width: 48px;
}

.specialty-pet-antenna {
  background: white;
  border-radius: 4px;
  height: 17px;
  left: 33px;
  position: absolute;
  top: -12px;
  width: 3px;
}

.specialty-pet-antenna i {
  background: var(--terracotta);
  border: 2px solid white;
  border-radius: 50%;
  height: 10px;
  left: -3px;
  position: absolute;
  top: -6px;
  width: 10px;
}

.specialty-pet-body {
  background: white;
  border-radius: 23px 23px 18px 18px;
  box-shadow: inset 0 -7px 0 rgba(16, 45, 73, .08), 0 18px 44px rgba(0, 0, 0, .24);
  display: block;
  height: 52px;
  position: relative;
  width: 68px;
}

.specialty-pet-body::after {
  background: white;
  border-radius: 0 0 6px 6px;
  bottom: -5px;
  content: "";
  height: 12px;
  left: 27px;
  position: absolute;
  transform: rotate(45deg);
  width: 12px;
}

.specialty-pet-eye {
  animation: specialty-pet-blink 5.6s step-end infinite;
  background: #102d49;
  border-radius: 5px;
  height: 8px;
  position: absolute;
  top: 17px;
  transform-origin: center;
  width: 6px;
}

.specialty-pet-eye-left { left: 21px; }
.specialty-pet-eye-right { right: 21px; }

.specialty-pet-body b {
  border-bottom: 2px solid #102d49;
  border-radius: 50%;
  bottom: 11px;
  height: 7px;
  left: 29px;
  position: absolute;
  width: 11px;
}

.specialty-pet-label {
  background: white;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
  color: #102d49;
  font-size: 10px;
  font-weight: 800;
  inset-inline-end: calc(100% + 11px);
  line-height: 1.2;
  padding: 9px 11px;
  position: absolute;
  top: 8px;
  white-space: nowrap;
}

@keyframes specialty-pet-blink {
  0%, 45%, 48%, 100% { transform: scaleY(1); }
  46%, 47% { transform: scaleY(.18); }
}

@media (max-width: 1050px) {
  .specialty-atlas-header { grid-template-columns: 1fr; }
  .specialty-atlas-header h2 { max-width: 12ch; }
  .specialty-atlas-layout { grid-template-columns: 1fr; }
  .specialty-atlas-guide { position: relative; top: auto; }
  .specialty-atlas-guide > p { max-width: 58ch; }
  .specialty-route {
    gap: 12px;
    grid-template-columns: auto minmax(120px, 240px) auto;
    grid-template-rows: auto;
    width: auto;
  }
  .specialty-route-track { height: 1px; width: 100%; }
  .specialty-route-fill { background: linear-gradient(to right, #54cbd5, #ff8b5d 52%, #e3b845); transform: scaleX(0); transform-origin: left; }
  [dir="rtl"] .specialty-route-fill { transform-origin: right; }
  .specialty-world,
  .specialty-world:nth-child(even) {
    grid-template-areas: "media copy";
    grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  }
}

@media (max-width: 800px) {
  .specialty-atlas { padding-bottom: 118px; }
  .specialty-atlas::before { height: 360px; inset-inline-start: -250px; width: 360px; }
  .specialty-atlas-header { gap: 30px; margin-bottom: 72px; }
  .specialty-atlas-header h2 { font-size: clamp(45px, 12.5vw, 56px); max-width: 10ch; }
  .specialty-atlas-header > div > p:first-child { font-size: 14px; }
  .specialty-atlas-note,
  .specialty-photo-note { font-size: 11px; }
  .specialty-atlas-layout { gap: 64px; }
  .specialty-atlas-guide h3 { font-size: 34px; max-width: 12ch; }
  .specialty-route { width: 100%; }
  .specialty-worlds { gap: 72px; }
  .specialty-world,
  .specialty-world:nth-child(even) {
    border-radius: 20px;
    gap: 34px;
    grid-template-areas: "media" "copy";
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 16px 16px 24px;
  }
  .specialty-world-media { aspect-ratio: 4 / 3; border-radius: 14px; }
  .specialty-photo-fragment { border-width: 3px; width: 31%; }
  .specialty-photo-fragment-b { width: 23%; }
  .specialty-world-copy > h3 { font-size: clamp(36px, 10vw, 47px); margin-bottom: 32px; max-width: 11ch; }
  .specialty-list li { gap: 12px; grid-template-columns: 28px minmax(0, 1fr); padding: 20px 0 22px; }
  .specialty-list h4 { font-size: 22px; }
  .specialty-list p { font-size: 12px; }
  .specialty-pet { height: 49px; width: 58px; }
  .specialty-pet-body { border-radius: 19px 19px 15px 15px; height: 44px; transform: scale(.85); transform-origin: top left; width: 68px; }
  [dir="rtl"] .specialty-pet-body { transform-origin: top right; }
  .specialty-pet-antenna { left: 29px; transform: scale(.85); transform-origin: bottom; }
  .specialty-pet-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-scroll-media] .story-media img,
  [data-scroll-media] .doctor-photo,
  [data-scroll-media] > img,
  [data-scroll-media] .portrait-shape,
  .specialty-world-image,
  .specialty-photo-fragment { transform: none !important; }
  .specialty-atlas .specialty-pet {
    left: auto;
    opacity: 1;
    right: 24px;
    top: 250px;
    transform: none !important;
  }
  [dir="rtl"] .specialty-atlas .specialty-pet { left: 24px; right: auto; }
  .specialty-pet-eye { animation: none; }
}
