/* ============================================================
   LARAIB HEALTH CLINIC — home.css
   The cinematic scroll story + homepage editorial sections.
   Loaded only on the homepage.
   ============================================================ */

/* ---------- cinema shell ---------- */
.cinema { position: relative; background: var(--forest-2); }
html.js .cinema { height: 800vh; }
.cinema-view { position: relative; overflow: hidden; }
html.js .cinema-view { position: sticky; top: 0; height: 100vh; height: 100svh; }

.stage { position: absolute; inset: 0; }

.scene {
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 75% -10%, rgba(92, 126, 102, .34), transparent 60%),
    linear-gradient(158deg, #27402F 0%, #17241D 60%, #101A15 100%);
  isolation: isolate;
}
html.js .scene { position: absolute; inset: 0; height: auto; }

/* cinematic engine active => scenes hidden until their turn (managed by GSAP) */
html.cinema-on .scene:not([data-s="1"]) { visibility: hidden; }
html.cinema-on .scene { will-change: opacity, transform, filter; }

.scene::before { /* quiet film grain */
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

.scene-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; will-change: transform, clip-path, filter; }
.scene-media picture, .p-hero__bg picture, .doc-photo picture, .doc-row__media picture,
.doc-card__media picture, .docs-mini picture, .svc-row__media picture { display: block; width: 100%; height: 100%; }
.scene-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%;
  filter: saturate(.88) contrast(1.03) brightness(.97);
  transform-origin: 50% 50%;
}
.scene-media--center img { object-position: 50% 50%; }
.scene-media--face img { object-position: 62% 24%; }
.scene-media--faceL img { object-position: 40% 30%; }

/* warm grade scrims — keep the photography alive, darken only where text sits */
.scene-shade { position: absolute; inset: 0; pointer-events: none; }
.scene-shade::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 19, 15, .22) 0%, rgba(12, 19, 15, 0) 26%, rgba(10, 15, 12, .04) 52%, rgba(8, 13, 10, .62) 88%, rgba(7, 11, 9, .74) 100%);
}
.scene-shade::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(130% 100% at 50% 36%, transparent 55%, rgba(10, 15, 12, .34) 100%);
}
.scene--soft .scene-shade::before { background: linear-gradient(180deg, rgba(12,19,15,.14), rgba(12,19,15,0) 24%, rgba(10,15,12,.02) 50%, rgba(8,13,10,.5) 86%, rgba(7,11,9,.66) 100%); }
.scene--deep .scene-shade::before { background: linear-gradient(180deg, rgba(9,14,11,.34), rgba(9,14,11,.26) 55%, rgba(7,11,9,.66) 100%); }
.scene--docs { background: radial-gradient(1100px 560px at 78% -12%, rgba(96, 128, 106, .42), transparent 60%), linear-gradient(158deg, #29412F 0%, #16241D 60%, #111C16 100%); }
.scene--final .scene-shade::before { background: linear-gradient(180deg, rgba(9,14,11,.42), rgba(9,14,11,.34) 52%, rgba(7,11,9,.6) 100%); }

/* ---------- scene text ---------- */
.scene-body {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + clamp(1.6rem, 4vh, 3rem)) clamp(1.4rem, 5.5vw, 4.5rem) clamp(2.6rem, 7vh, 4.5rem);
  color: var(--paper);
}
.scene-body--right .scene-kicker, .scene-body--right .scene-sub { text-shadow: 0 1px 2px rgba(0,0,0,.12), 0 10px 34px rgba(6, 10, 8, .35); }
.scene-title, .scene-kicker { text-shadow: 0 2px 18px rgba(6, 10, 8, .22); }
.scene-body--center { align-items: center; text-align: center; justify-content: center; }
.scene-body--right { align-items: flex-end; text-align: right; }
.scene-body--c { justify-content: center; }
.scene-body--split { justify-content: center; }
.scene-kicker {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--sans); font-weight: 600; font-size: .66rem;
  letter-spacing: .3em; text-transform: uppercase; color: rgba(247, 242, 232, .66);
  margin-bottom: clamp(1rem, 2.4vh, 1.6rem);
}
.scene-kicker::before { content: ''; width: 30px; height: 1px; background: rgba(247, 242, 232, .55); }
.scene-body--right .scene-kicker::before, .scene-body--center .scene-kicker::before { display: none; }
.scene-body--center .scene-kicker::after { content: ''; width: 30px; height: 1px; background: rgba(247,242,232,.55); }

.scene-title {
  font-size: clamp(2.5rem, 7.2vw, 5.6rem); font-weight: 430;
  letter-spacing: -0.028em; line-height: 1.02; max-width: 15ch;
}
.scene-title .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.scene-title .ln-in { display: block; transform: translateY(0); will-change: transform; }
.scene-title .it { font-family: var(--serif); font-style: italic; font-weight: 380; }
.scene-title--xl { font-size: clamp(2.3rem, 6vw, 5rem); }

.scene-sub {
  margin-top: clamp(1rem, 2.6vh, 1.6rem); max-width: 34rem;
  color: rgba(247, 242, 232, .82); font-size: clamp(.98rem, 1.25vw, 1.1rem); line-height: 1.75;
}
.scene-body--right .scene-sub { max-width: 34rem; }
.scene-body--center .scene-sub { margin-inline: auto; }

.scene-acts { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: clamp(1.4rem, 3.6vh, 2.2rem); }
.scene-acts--center { justify-content: center; }

.scene-tag {
  margin-top: clamp(1.2rem, 3vh, 1.8rem);
  font-size: .8rem; letter-spacing: .08em; color: rgba(247, 242, 232, .55);
}
.scene-tag b { color: rgba(247, 242, 232, .9); font-weight: 600; }

/* scene 6 — doctors split */
.scene--docs .scene-body--split {
  justify-content: center;
  display: grid; grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem); align-items: center; max-width: var(--max);
}
.docs-mini { width: 100%; }
.docs-mini img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px;
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .6);
  filter: saturate(.9) contrast(1.02);
}
.docs-copy { color: var(--paper); }
.docs-copy .scene-title { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.docs-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 2rem;
  border-top: 1px solid rgba(247, 242, 232, .18); padding: 1rem 0; margin-top: 1rem;
}
.docs-row__who { font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.4rem); letter-spacing: -0.01em; }
.docs-row__who small { display: block; font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(247,242,232,.55); margin-bottom: .2rem; }
.docs-row__hours { font-family: var(--serif); font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: rgba(247, 242, 232, .9); white-space: nowrap; }
.scene--docs .scene-acts { margin-top: 2rem; }

/* scene 8 — calm closing */
.scene--final { text-align: center; }
.scene--final .scene-body { align-items: center; text-align: center; justify-content: center; }
.final-hours {
  display: flex; gap: clamp(1.6rem, 5vw, 4rem); justify-content: center; flex-wrap: wrap;
  margin-top: clamp(1.6rem, 3.6vh, 2.4rem);
  color: rgba(247, 242, 232, .92);
}
.final-hours div { text-align: left; padding-left: 1rem; border-left: 1px solid rgba(247, 242, 232, .3); }
.final-hours b { display: block; font-family: var(--serif); font-weight: 470; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.01em; }
.final-hours span { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 242, 232, .55); }

/* ---------- chrome: progress, rail, hint ---------- */
.cin-progress {
  position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 40;
  transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, rgba(151, 183, 161, .9), rgba(230, 222, 205, .9));
}
.cin-rail {
  position: absolute; right: clamp(1rem, 2.4vw, 2.2rem); top: 50%; transform: translateY(-50%);
  z-index: 40; display: flex; flex-direction: column; gap: 1.05rem; align-items: center;
}
.cin-rail button {
  width: 8px; height: 8px; border-radius: 50%; padding: 0;
  border: 1px solid rgba(247, 242, 232, .4);
  background: transparent; position: relative; transition: background-color .4s, transform .4s var(--ease), border-color .4s;
}
.cin-rail button:hover { transform: scale(1.35); border-color: rgba(247, 242, 232, .9); }
.cin-rail button[aria-current="true"] { background: rgba(247, 242, 232, .92); border-color: transparent; transform: scale(1.3); }
.cin-rail button::after {
  content: attr(data-label); position: absolute; right: 20px; top: 50%; transform: translateY(-50%) translateX(6px);
  font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(247, 242, 232, 0); white-space: nowrap; pointer-events: none;
  transition: color .35s, transform .35s var(--ease);
}
.cin-rail button:hover::after { color: rgba(247, 242, 232, .85); transform: translateY(-50%) translateX(0); }

.cin-count {
  position: absolute; right: clamp(1rem, 2.6vw, 2.4rem); bottom: clamp(1.4rem, 4vh, 2.6rem);
  z-index: 40; font-family: var(--serif); font-style: italic;
  font-size: clamp(.95rem, 1.3vw, 1.15rem); color: rgba(247, 242, 232, .55);
  letter-spacing: .02em;
}
.cin-count b { font-weight: 500; color: rgba(247, 242, 232, .95); font-style: normal; }
.cin-count i { font-style: italic; opacity: .6; margin-inline: .3em; }

.scroll-hint {
  position: absolute; left: 50%; bottom: clamp(1.6rem, 4.5vh, 2.6rem); transform: translateX(-50%);
  z-index: 40; display: flex; flex-direction: column; align-items: center; gap: .7rem;
  color: rgba(247, 242, 232, .6); opacity: 0; transition: opacity .8s ease 1.2s;
}
.scroll-hint.is-in { opacity: 1; }
.scroll-hint span { font-size: .6rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.scroll-hint i { display: block; width: 1px; height: 44px; background: rgba(247, 242, 232, .4); overflow: hidden; position: relative; }
.scroll-hint i::after {
  content: ''; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: rgba(247, 242, 232, .9);
  animation: hintDrop 2.2s var(--ease) infinite;
}
@keyframes hintDrop { 0% { top: -50%; } 55% { top: 110%; } 100% { top: 110%; } }
.scroll-hint.is-off { opacity: 0; transition: opacity .5s; }

/* ken burns for active scene */
html.cinema-on .scene-media img { animation: none; }
html.cinema-on .scene.is-live .scene-media img { animation: breathe 18s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.055); } }
@media (prefers-reduced-motion: reduce) { html.cinema-on .scene.is-live .scene-media img { animation: none; } }

/* ============================================================
   POST-CINEMA HOME SECTIONS
   ============================================================ */

/* --- glance strip (entity facts, AEO) --- */
.glance { padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 5rem); }
.glance-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.glance h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); letter-spacing: -0.025em; margin-top: 1.2rem; }
.glance .lead-note { margin-top: 1.5rem; color: var(--ink-2); max-width: 40rem; }
.fact-list { border-top: 1px solid var(--line); }
.fact {
  display: grid; grid-template-columns: 150px 1fr; gap: 1rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.fact dt { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--moss); padding-top: .35rem; }
.fact dd { font-size: .98rem; color: var(--ink); line-height: 1.6; }
.fact dd a { color: var(--accent); border-bottom: 1px solid var(--line); }
.fact dd a:hover { border-color: var(--moss); }
.fact dd .muted { color: var(--ink-3); font-size: .85rem; display: block; margin-top: .15rem; }

/* --- editorial service rows --- */
.svc-editorial { background: var(--card); padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.svc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.svc-head .h-sec { margin-top: 1.2rem; max-width: 14ch; }
.svc-head p:last-child { color: var(--ink-3); max-width: 34ch; font-size: .98rem; }

.svc-row {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding: clamp(2rem, 4.5vw, 3.4rem) 0;
  border-top: 1px solid var(--line-soft);
}
.svc-row:last-of-type { border-bottom: 1px solid var(--line-soft); }
.svc-row--rev .svc-row__media { order: 2; }
.svc-row__media { position: relative; display: block; overflow: hidden; border-radius: 6px; }
.svc-row__media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform 1.1s var(--ease);
  filter: saturate(.9);
}
.svc-row__media:hover img { transform: scale(1.045); }
.svc-row__num {
  position: absolute; left: 1.1rem; bottom: .8rem; z-index: 2;
  font-family: var(--serif); font-style: italic; font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: rgba(247, 242, 232, .9); line-height: 1; text-shadow: 0 2px 24px rgba(10, 15, 12, .35);
}
.svc-row__body { max-width: 42ch; }
.svc-row__body h3 { margin-top: 1rem; }
.svc-row__body h3 a { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 460; letter-spacing: -0.022em; color: var(--ink); transition: color .3s; }
.svc-row__body h3 a:hover { color: var(--accent); }
.svc-row__body .svc-teaser { margin-top: .9rem; color: var(--ink-2); }
.svc-row__link { margin-top: 1.4rem; display: inline-block; }
.svc-row__link .arr { transition: transform .35s var(--ease); display: inline-block; }
.svc-row__body:hover .svc-row__link .arr, .svc-row__link:hover .arr { transform: translateX(5px); }

/* --- doctors editorial --- */
.doctors-home { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.doctors-home__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.6rem, 5vw, 4rem); }
.doctors-home__head .h-sec { margin-top: 1.2rem; }
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 3.4vw, 2.6rem); }
.doc-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.doc-card:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -40px rgba(20, 32, 25, .5); border-color: var(--line); }
.doc-card__media { position: relative; overflow: hidden; }
.doc-card__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 22%; transition: transform 1s var(--ease); filter: saturate(.92); }
.doc-card:hover .doc-card__media img { transform: scale(1.05); }
.doc-card--mm .doc-card__media { background: radial-gradient(400px 240px at 80% 0%, rgba(79,107,92,.32), transparent 70%), linear-gradient(160deg, #E8E0CD, #D8CDB6); display: flex; align-items: center; justify-content: center; }
.doc-card--mm .doc-card__ini { font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 9vw, 8rem); letter-spacing: -0.05em; color: var(--forest-3); }
.doc-card__body { padding: clamp(1.5rem, 2.6vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.doc-card__body h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.doc-card__qual { margin-top: .35rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--moss); }
.doc-card__focus { margin-top: .9rem; color: var(--ink-3); font-size: .9rem; line-height: 1.7; }
.doc-card__hours {
  margin-top: auto; padding-top: 1.2rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--line-soft); margin-top: 1.3rem;
}
.doc-card__hours b { font-family: var(--serif); font-weight: 500; font-size: 1.18rem; letter-spacing: -0.01em; }
.doc-card__link { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.doc-card__link .arr { display: inline-block; transition: transform .3s var(--ease); }
.doc-card:hover .doc-card__link .arr { transform: translateX(4px); }

/* --- availability schedule (dark) --- */
.sched { background: radial-gradient(1000px 500px at 85% -10%, rgba(99, 133, 110, .4), transparent 60%), linear-gradient(150deg, #263F33, #152219); color: var(--paper); padding: clamp(3.4rem, 7vw, 5.5rem) 0; margin-top: clamp(2.6rem, 6vw, 4.5rem); }
.sched__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.sched__head h2 { margin-top: 1.2rem; font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.sched__head p:last-child { color: rgba(247, 242, 232, .6); max-width: 30ch; font-size: .95rem; }
.sched-bar { margin-top: clamp(2.6rem, 5vw, 3.6rem); }
.sched-axis { display: flex; justify-content: space-between; color: rgba(247, 242, 232, .4); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8rem; }
.sched-track { position: relative; height: 74px; border-radius: 12px; background: rgba(247, 242, 232, .06); border: 1px solid rgba(247, 242, 232, .1); overflow: hidden; }
.sched-seg { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; padding-left: 1.3rem; }
.sched-seg--m { left: 0; width: 40%; background: linear-gradient(90deg, rgba(158, 188, 166, .95), rgba(112, 148, 124, .92)); }
.sched-seg--u { left: 60%; width: 40%; background: linear-gradient(90deg, rgba(224, 216, 197, .95), rgba(244, 239, 226, .94)); color: var(--forest-2); }
.sched-seg b { font-family: var(--serif); font-weight: 500; font-size: clamp(1.05rem, 1.7vw, 1.3rem); letter-spacing: -0.01em; }
.sched-seg small { font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .8; margin-top: .15rem; }
.sched-gap {
  position: absolute; left: 40%; width: 20%; top: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(247, 242, 232, .34); font-size: .6rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  border-left: 1px dashed rgba(247, 242, 232, .16); border-right: 1px dashed rgba(247, 242, 232, .16);
}
.sched-legend { display: flex; gap: 2.4rem; margin-top: 1.4rem; flex-wrap: wrap; color: rgba(247, 242, 232, .85); font-size: .92rem; }
.sched-legend span { display: inline-flex; align-items: center; gap: .6rem; }
.sched-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.sched-legend .k1 { background: #9EBCA6; } .sched-legend .k2 { background: #E7DFCC; }

/* --- why --- */
.why { background: var(--bg-2); padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.why-head { max-width: 30rem; }
.why-head .h-sec { margin-top: 1.2rem; }
.why-list { margin-top: clamp(2.6rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2.5rem, 6vw, 5rem); }
.why-item { padding: 2rem 0; border-top: 1px solid var(--line); }
.why-item__num { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--moss); }
.why-item h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin-top: .6rem; }
.why-item p { color: var(--ink-2); margin-top: .7rem; max-width: 38ch; font-size: .96rem; }

/* --- location --- */
.loc { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.loc-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2.2rem, 5vw, 4rem); align-items: stretch; }
.loc-info { display: flex; flex-direction: column; justify-content: center; }
.loc-info .h-sec { margin-top: 1.2rem; }
.loc-addr { margin-top: 1.6rem; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.42; color: var(--ink); }
.loc-meta { margin-top: 1.8rem; display: flex; flex-direction: column; gap: .5rem; }
.loc-meta a { color: var(--ink-2); border-bottom: 1px solid var(--line); align-self: flex-start; padding-bottom: 1px; }
.loc-meta a:hover { color: var(--accent); border-color: var(--moss); }
.loc-acts { display: flex; gap: .9rem; margin-top: 2.1rem; flex-wrap: wrap; }
.loc-coords { margin-top: 1.9rem; font-size: .78rem; letter-spacing: .08em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.loc-map { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--bg-3); }
.loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- FAQ preview on home --- */
.faq-home { background: var(--card); padding: clamp(4.5rem, 9vw, 7rem) 0; }
.faq-home .wrap--narrow { text-align: center; }
.faq-home .faq { text-align: left; }

/* ============================================================
   RESPONSIVE (home)
   ============================================================ */
@media (max-width: 1020px) {
  .glance-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-card { max-width: 560px; }
  .why-list { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .loc-map { min-height: 320px; }
  .scene--docs .scene-body--split { grid-template-columns: minmax(190px, 260px) 1fr; }
}
@media (max-width: 760px) {
  html.js .cinema { height: 800vh; }
  .scene-body { padding: calc(var(--nav-h) + 1rem) 1.3rem calc(7.4rem + env(safe-area-inset-bottom)) ; }
  .scene-title { font-size: clamp(2.15rem, 10.8vw, 3.2rem); max-width: 13ch; }
  .scene-title--xl { font-size: clamp(2rem, 9.6vw, 3rem); }
  .scene-kicker { font-size: .6rem; }
  .scene-sub { font-size: .95rem; line-height: 1.66; max-width: 30rem; }
  .scene-acts { gap: .65rem; }
  .scene-acts .btn { padding: .9rem 1.3rem; font-size: .72rem; width: auto; }
  .scroll-hint { display: none; }
  .cin-rail { display: none; }
  .cin-count { bottom: calc(1.1rem + env(safe-area-inset-bottom)); right: 1.2rem; }
  .svc-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .svc-row--rev .svc-row__media { order: 0; }
  .svc-head { flex-direction: column; align-items: flex-start; }
  .doctors-home__head { flex-direction: column; align-items: flex-start; }
  .scene--docs .scene-body--split { grid-template-columns: 1fr; gap: 1.8rem; }
  .docs-mini { max-width: min(300px, 72vw); }
  .docs-copy { margin-top: 0; }
  .sched__head { flex-direction: column; align-items: flex-start; }
  .final-hours { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
  .final-hours div { text-align: center; padding-left: 0; padding-top: .5rem; border-left: 0; border-top: 1px solid rgba(247, 242, 232, .25); min-width: 15rem; }
}
@media (max-width: 760px) and (max-height: 760px) {
  .scene-title { font-size: clamp(1.7rem, 7.5vh, 2.5rem); }
  .scene-kicker { margin-bottom: .6rem; }
  .scene-sub { margin-top: .7rem; }
  .scene-acts { margin-top: 1.1rem; }
}
@media (max-width: 400px) {
  .scene-body { padding-inline: 1.15rem; }
  .scene-title { letter-spacing: -0.025em; }
  .scene-acts .btn { padding: .86rem 1.15rem; }
  .final-hours div { min-width: 13rem; }
}
@media (max-width: 480px) {
  .fact { grid-template-columns: 1fr; gap: .2rem; }
  .scene-body--right, .scene-body--center { text-align: left; align-items: flex-start; }
  .scene-body--center .scene-kicker::after { display: none; }
  .scene-title .it { }
  .loc-acts .btn { width: 100%; }
}

/* ---------- reduced motion / no engine: static stacked scenes ---------- */
html.rm .cinema, html.no-cinema .cinema { height: auto !important; }
html.rm .cinema-view, html.no-cinema .cinema-view { position: relative !important; height: auto !important; overflow: visible !important; }
html.rm .stage, html.no-cinema .stage { position: relative !important; height: auto !important; }
html.rm .scene, html.no-cinema .scene { position: relative !important; height: auto !important; min-height: 78vh; display: grid; }
html.rm .scene .scene-body, html.no-cinema .scene .scene-body { position: relative; inset: auto; min-height: 78vh; padding-bottom: clamp(2.4rem, 7vh, 4rem); }
html.rm .cin-rail, html.no-cinema .cin-rail, html.rm .cin-count, html.no-cinema .cin-count,
html.rm .cin-progress, html.no-cinema .cin-progress { display: none; }
/* ============================================================
   LARAIB HEALTH CLINIC — home.css v3 additions
   Statement band · typographic service index + hover plate ·
   editorial doctor features · refinements
   ============================================================ */

/* ---------- statement band (typographic moment) ---------- */
.statement { padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 5rem); background: var(--card); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.statement__in { max-width: 64rem; }
.statement .eyebrow { margin-bottom: 1.6rem; }
.statement__line {
  font-family: var(--serif); font-weight: 440; letter-spacing: -0.028em;
  font-size: clamp(2rem, 5.2vw, 4.1rem); line-height: 1.06;
}
.statement__line .it { font-weight: 380; }
.statement__meta { margin-top: 2rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; color: var(--ink-2); font-size: .98rem; max-width: 40rem; }
.statement__meta .rule { width: 56px; height: 1px; background: var(--moss); flex: 0 0 auto; }

/* ---------- typographic service index ---------- */
.svc-index-sec { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.svc-index { display: grid; grid-template-columns: 1.05fr .8fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; margin-top: clamp(2.6rem, 5vw, 4rem); }
.svc-lines { border-top: 1px solid var(--line); }
.svc-line {
  display: grid; grid-template-columns: 74px 1fr auto; gap: 1.2rem 1.8rem;
  align-items: baseline; padding: clamp(1.35rem, 2.6vw, 1.9rem) .3rem;
  border-bottom: 1px solid var(--line);
  transition: padding-left .45s var(--ease);
}
.svc-line:hover, .svc-line:focus-within { padding-left: .7rem; }
.svc-line__num { font-family: var(--serif); font-style: italic; font-size: .98rem; color: var(--moss); }
.svc-line h3 { font-size: clamp(1.55rem, 2.9vw, 2.35rem); font-weight: 470; letter-spacing: -0.022em; }
.svc-line h3 a { transition: color .3s; }
.svc-line h3 a:hover { color: var(--accent); }
.svc-line__teaser { grid-column: 2 / -1; color: var(--ink-3); font-size: .92rem; max-width: 52ch; line-height: 1.6; margin-top: -0.7rem; }
.svc-line__go { grid-column: 3; grid-row: 1; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.svc-line__go .arr { display: inline-block; transition: transform .35s var(--ease); }
.svc-line:hover .svc-line__go .arr, .svc-line:focus-within .svc-line__go .arr { transform: translateX(5px); }
.svc-line__who { grid-column: 2 / -1; margin-top: -0.55rem; font-size: .76rem; letter-spacing: .08em; color: var(--ink-3); }
.svc-panel { position: sticky; top: calc(var(--nav-h) + 2rem); }
.svc-panel img {
  width: 100%; aspect-ratio: 4 / 4.9; object-fit: cover; border-radius: 3px;
  opacity: 1; transition: opacity .5s var(--ease);
  filter: saturate(.92);
  box-shadow: 0 30px 60px -36px rgba(20, 30, 24, .5);
}
.svc-panel__cap { margin-top: 1rem; font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 1080px) {
  .svc-index { grid-template-columns: 1fr; }
  .svc-panel { display: none; }
  .svc-line { grid-template-columns: 56px 1fr auto; }
  .svc-line__teaser { grid-column: 2 / -1; }
  .svc-line__who { grid-column: 2 / -1; }
}

/* ---------- editorial doctor features ---------- */
.doctors-home { padding: clamp(4.5rem, 9vw, 7.5rem) 0 0; }
.doctors-home__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.6rem, 5vw, 4.2rem); }
.doctors-home__head .h-sec { margin-top: 1.1rem; }
.doc-feat { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: clamp(2.2rem, 5.5vw, 5rem); align-items: start; padding: clamp(2.2rem, 4.5vw, 3.6rem) 0; border-top: 1px solid var(--line-soft); }
.doc-feat__media { position: relative; }
.doc-feat__media img { width: 100%; aspect-ratio: 4 / 4.9; object-fit: cover; object-position: 50% 16%; border-radius: 3px; filter: saturate(.95) contrast(1.01); box-shadow: 0 34px 70px -38px rgba(15, 24, 19, .6); }
.doc-feat__media--mm { aspect-ratio: 4 / 4.9; border-radius: 3px; background: radial-gradient(380px 260px at 82% 8%, rgba(79, 107, 92, .34), transparent 70%), linear-gradient(160deg, #EAE2D0, #D7CCB5); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.doc-feat__ini { font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 10vw, 8.6rem); letter-spacing: -0.05em; color: var(--forest-3); line-height: 1; }
.doc-feat__cap { margin-top: 1.1rem; font-size: .62rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.doc-feat__tag { display: inline-block; font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--moss); margin-bottom: .9rem; }
.doc-feat h3 { font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -0.026em; }
.doc-feat__qual { margin-top: .4rem; font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.doc-feat__focus { margin-top: 1.2rem; font-family: var(--serif); font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--ink-2); line-height: 1.55; }
.doc-feat__focus .dot { color: var(--moss); margin-inline: .35rem; }
.doc-feat__train { margin-top: 1.1rem; color: var(--ink-3); font-size: .95rem; }
.doc-feat__cert { display: inline-flex; gap: .5rem; margin-left: .6rem; }
.doc-feat__cert span { font-size: .68rem; font-weight: 700; letter-spacing: .12em; border: 1px solid var(--line); border-radius: 999px; padding: .26rem .7rem; color: var(--ink-2); }
.doc-feat__hours { margin-top: 1.6rem; display: flex; align-items: baseline; gap: 1.1rem; flex-wrap: wrap; }
.doc-feat__hours b { font-family: var(--serif); font-weight: 520; font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -0.01em; }
.doc-feat__hours span { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.doc-feat__acts { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* doctors availability (moved inside) */
.sched { background: radial-gradient(1000px 500px at 85% -10%, rgba(99, 133, 110, .4), transparent 60%), linear-gradient(150deg, #263F33, #152219); color: var(--paper); padding: clamp(3.4rem, 7vw, 5.5rem) 0; }
@media (max-width: 920px) {
  .doc-feat { grid-template-columns: 1fr; }
  .doc-feat__media, .doc-feat__media--mm { max-width: 430px; }
  .doctors-home__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .svc-line { grid-template-columns: 1fr auto; gap: .5rem 1rem; }
  .svc-line__num { grid-column: 1; }
  .svc-line h3 { grid-column: 1 / -1; grid-row: 2; }
  .svc-line__go { grid-column: 2; grid-row: 1; align-self: center; }
  .svc-line__teaser, .svc-line__who { grid-column: 1 / -1; grid-row: auto; }
  .doc-feat__acts .btn { width: 100%; justify-content: center; }
}

/* ---------- tiny refinements ---------- */
.glance { padding-bottom: clamp(3rem, 7vw, 5rem); }
.glance h2 { max-width: 16ch; }
@media (max-width: 760px) { html.cinema-on .scene.is-live .scene-media img { animation: none; } }
@media (max-width: 420px) {
  .scene-tag { display: none; }
  .scene-title { max-width: 12ch; }
}

/* ---------- scene 6: dedicated mobile composition ---------- */
@media (max-width: 760px) {
  .scene--docs .scene-body--split {
    grid-template-columns: minmax(104px, 34vw) 1fr;
    gap: clamp(.9rem, 4vw, 1.4rem);
    align-items: center;
    padding-right: 1.3rem;
  }
  .scene--docs .docs-mini { max-width: none; }
  .scene--docs .docs-mini img { aspect-ratio: 3 / 4; }
  .scene--docs .scene-kicker { margin-bottom: .35rem; }
  .scene--docs .scene-title { font-size: clamp(1.45rem, 6.8vw, 2.05rem); }
  .scene--docs .docs-row { display: block; padding: .55rem 0 .5rem; margin-top: .5rem; }
  .scene--docs .docs-row__who { font-size: .84rem; line-height: 1.5; }
  .scene--docs .docs-row__hours { font-size: 1rem; display: inline-block; margin-top: .12rem; }
  .scene--docs .docs-copy .scene-acts { margin-top: .9rem; }
  .scene--docs .scene-acts .btn { padding: .78rem 1rem; font-size: .66rem; }
}
@media (max-width: 380px) {
  .scene--docs .scene-body--split { grid-template-columns: 96px 1fr; gap: .8rem; }
  .scene--docs .docs-row__who small { font-size: .55rem; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .scene--docs .scene-body--split { grid-template-columns: 1fr; gap: 0; }
  .scene--docs .docs-mini { display: none; }
  .scene--docs .docs-row { padding: .4rem 0; margin-top: .3rem; }
  .scene--docs .docs-row__who { font-size: .8rem; }
  .scene--docs .scene-acts { margin-top: .6rem; }
}

/* aspect-ratio images: force height:auto so CSS aspect-ratio wins over
   width/height attributes (Chrome otherwise honours attribute height) */
.docs-mini img, .doc-feat__media img, .svc-panel img, .svc-row__media img, .doc-card__media img, .doc-row__media img { height: auto; }

/* ============================================================
   v4: THE ESSENTIALS (post-story band)
   ============================================================ */
.essentials { padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }
.essentials__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 6rem); align-items: start; }
.essentials__info h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-top: 1.1rem; max-width: 16ch; }
.essentials__info .fact-list { margin-top: 1.8rem; }
.essentials__acts { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; }
.essentials__link { margin-left: .4rem; }
@media (max-width: 980px) {
  .essentials__grid { grid-template-columns: 1fr; gap: 3rem; }
}
