/* ============ TOKENS (dark / editorial) ============ */
:root {
  --bg: #0a0807;
  --bg-2: #110e0d;
  --bg-3: #15110f;
  --text: #f3eee6;
  --text-soft: rgba(243, 238, 230, 0.55);
  --text-mute: rgba(243, 238, 230, 0.38);
  --line: rgba(243, 238, 230, 0.10);
  --line-strong: rgba(243, 238, 230, 0.20);
  --accent: #e0a878;      /* warm bronze */
  --accent-2: #d98e8e;    /* rose */
  --accent-3: #c39ab2;    /* mauve */
  --ink: #0a0807;
  --cream: #f3eee6;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --radius: 10px;
  --pad: clamp(1.25rem, 5vw, 6rem);
  --section: clamp(5rem, 12vw, 11rem);
  --maxw: 1480px;
  --shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
strong { font-weight: 500; }
::selection { background: var(--accent); color: var(--ink); }

/* type helpers */
h1, h2, h3 { font-family: "Fraunces", serif; font-weight: 300; letter-spacing: -0.025em; }
.serif { font-family: "Fraunces", serif; }
.label { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-soft); }
.grad {
  background: linear-gradient(100deg, #f1c79a 0%, #e29a8e 38%, #c79bb5 72%, #f1c79a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shine 7s linear infinite; font-style: italic;
}
@keyframes shine { to { background-position: 200% center; } }

/* image grading for cohesion */
.graded { filter: saturate(.88) contrast(1.04) brightness(.98); }

/* ============ SCROLL PROGRESS ============ */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 9996; background: rgba(255,255,255,.05); }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3)); box-shadow: 0 0 14px rgba(224,168,120,.7); }

/* ============ GRAIN ============ */
.grain {
  position: fixed; inset: -50%; z-index: 9997; pointer-events: none;
  opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(8) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0,0); } 12% { transform: translate(-3%,-2%); }
  25% { transform: translate(2%,-4%); } 37% { transform: translate(-4%,3%); }
  50% { transform: translate(3%,2%); } 62% { transform: translate(-2%,4%); }
  75% { transform: translate(4%,-3%); } 87% { transform: translate(-3%,2%); }
  100% { transform: translate(0,0); }
}

/* ============ LOADER ============ */
.loader { position: fixed; inset: 0; z-index: 9998; background: var(--ink); color: var(--cream); display: grid; place-items: center; overflow: hidden; }
.loader::before { content: ""; position: absolute; width: 50vw; height: 50vw; border-radius: 50%; background: radial-gradient(circle, rgba(224,168,120,.35), transparent 70%); filter: blur(70px); animation: drift1 6s ease-in-out infinite; }
.loader__inner { position: relative; display: flex; align-items: baseline; gap: 1.4rem; font-family: "Fraunces", serif; }
.loader__name { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 300; letter-spacing: -.02em; }
.loader__count { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 300; color: var(--accent); font-variant-numeric: tabular-nums; }
.loader.is-done { transform: translateY(-100%); transition: transform 1s var(--ease); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem var(--pad);
  transition: transform .6s var(--ease), background .5s var(--ease), backdrop-filter .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(10,8,7,.55); backdrop-filter: blur(16px) saturate(1.2); padding-top: 1.05rem; padding-bottom: 1.05rem; border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { display: flex; align-items: center; gap: .7rem; color: var(--text); }
.nav__brand-mark { width: 42px; height: 42px; display: grid; place-items: center; transition: transform .5s var(--ease); }
.nav__brand-mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(224,168,120,.25)); }
.nav__brand:hover .nav__brand-mark { transform: scale(1.06) rotate(-4deg); }
.nav__brand-text { font-family: "Fraunces", serif; font-size: 1.18rem; font-weight: 400; }
.nav__links { display: flex; gap: 2.4rem; }
.nav__links a { color: var(--text); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; position: relative; opacity: .8; transition: opacity .3s; }
.nav__links a:hover { opacity: 1; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0; background: var(--accent); transition: width .4s var(--ease); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { color: var(--ink); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; background: var(--cream); border-radius: 100px; padding: .65rem 1.5rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.nav__cta:hover { box-shadow: 0 0 30px rgba(243,238,230,.3); }
@media (max-width: 880px) { .nav__links { display: none; } }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; gap: .7rem; font-size: .88rem; letter-spacing: .01em; padding: 1.05rem 1.8rem; border-radius: 100px; transition: transform .4s var(--ease), background .5s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); will-change: transform; white-space: nowrap; }
.btn svg { transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn--solid { background: linear-gradient(110deg, var(--accent), var(--accent-2)); color: var(--ink); background-size: 170% auto; font-weight: 500; }
.btn--solid:hover { background-position: right center; box-shadow: 0 10px 44px rgba(224,168,120,.38); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 34px rgba(224,168,120,.12); }
.btn--lg { padding: 1.2rem 2.2rem; font-size: .98rem; }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--pad); padding-bottom: clamp(2rem, 4vw, 3.5rem); overflow: hidden; background: #0a0807; }
.aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; filter: blur(70px) saturate(1.15); }
.aurora__blob { position: absolute; border-radius: 50%; mix-blend-mode: screen; opacity: .72; will-change: transform; }
.aurora__blob--1 { width: 52vw; height: 52vw; left: -12%; top: -16%; background: radial-gradient(circle, #e09a64 0%, rgba(224,154,100,0) 70%); animation: drift1 19s ease-in-out infinite; }
.aurora__blob--2 { width: 48vw; height: 48vw; right: -10%; top: -2%; background: radial-gradient(circle, #cf8585 0%, rgba(207,133,133,0) 70%); animation: drift2 23s ease-in-out infinite; }
.aurora__blob--3 { width: 46vw; height: 46vw; left: 15%; bottom: -24%; background: radial-gradient(circle, #c19566 0%, rgba(193,149,102,0) 70%); animation: drift3 21s ease-in-out infinite; }
.aurora__blob--4 { width: 40vw; height: 40vw; right: 10%; bottom: -14%; background: radial-gradient(circle, #ab6f8a 0%, rgba(171,111,138,0) 70%); animation: drift1 27s ease-in-out infinite reverse; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(7vw,5vh) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1.08); } 50% { transform: translate(-5vw,7vh) scale(1); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(4vw,-5vh) scale(1.16); } }

.hero__portrait { position: absolute; right: 0; top: 0; bottom: 0; width: 52%; z-index: 1; }
.hero__portrait img { object-fit: cover; object-position: center top; filter: contrast(1.06) saturate(.92) brightness(.94); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 58%); mask-image: linear-gradient(90deg, transparent 0%, #000 58%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,8,7,.3) 0%, rgba(10,8,7,0) 22%, rgba(10,8,7,.55) 70%, rgba(10,8,7,.95) 100%); pointer-events: none; }
@media (max-width: 880px) { .hero__portrait { width: 100%; opacity: .26; } }

.hero__content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; color: var(--cream); }
.hero__meta { display: inline-flex; align-items: center; gap: 1rem; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.8rem; color: rgba(243,238,230,.85); }
.hero__meta-loc { display: inline-flex; align-items: center; gap: .55rem; }
.hero__meta-sep { width: 28px; height: 1px; background: var(--line-strong); }
.ping { width: 7px; height: 7px; border-radius: 50%; background: #7be0a0; box-shadow: 0 0 0 0 rgba(123,224,160,.7); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(123,224,160,.6); } 70%,100% { box-shadow: 0 0 0 9px rgba(123,224,160,0); } }
.hero__title { font-size: clamp(3rem, 11vw, 11.5rem); line-height: .88; letter-spacing: -.04em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: block; will-change: transform; }
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero__lead { max-width: 32ch; font-size: 1.05rem; color: rgba(243,238,230,.8); }
.hero__creds { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero__cred { display: flex; flex-direction: column; gap: .15rem; }
.hero__cred strong { font-family: "Fraunces", serif; font-weight: 400; font-size: 1.35rem; letter-spacing: -.01em; }
.hero__cred span { font-size: .78rem; color: var(--text-soft); letter-spacing: .02em; }
.hero__scroll { position: absolute; bottom: 2rem; right: var(--pad); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .8rem; font-size: .66rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(243,238,230,.7); }
.hero__scroll-line { width: 1px; height: 48px; background: linear-gradient(var(--cream), transparent); animation: scrollPulse 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollPulse { 0%,100% { transform: scaleY(.4); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
@media (max-width: 1024px) { .hero__scroll { display: none; } }
@media (max-width: 600px) { .hero__creds { gap: 1.4rem; } .hero__cred strong { font-size: 1.1rem; } }

/* ============ MARQUEE ============ */
.marquee { padding: 2.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; background: var(--bg-2); }
.marquee__track { display: inline-flex; align-items: center; gap: 2.4rem; font-family: "Fraunces", serif; font-size: clamp(1.5rem, 4.5vw, 2.8rem); font-weight: 300; animation: marquee 32s linear infinite; }
.marquee__track .dot { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECTION SHARED ============ */
.about__index { display: inline-flex; align-items: center; gap: .8rem; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 2.5rem; }
.about__index span { color: var(--accent); }

/* ============ ABOUT ============ */
.about { padding: var(--section) var(--pad); max-width: var(--maxw); margin: 0 auto; }
.about__grid { display: grid; grid-template-columns: .82fr 1fr; gap: clamp(2rem, 6vw, 6.5rem); align-items: center; perspective: 1400px; }

/* ===== OPERATING ROOM SCENE — layered depth + motion ===== */
.about__or { position: relative; aspect-ratio: 4/5; transform-style: preserve-3d; overflow: visible; }
.about__or > * { position: absolute; backface-visibility: hidden; }

/* far wall — clinical glow that dissolves into the page black (no frame) */
.or__wall { inset: -14%; z-index: 0; transform: translateZ(-130px) scale(.92); pointer-events: none;
  background:
    radial-gradient(58% 50% at 50% 20%, rgba(36,58,66,.85), transparent 72%),
    radial-gradient(70% 60% at 50% 88%, rgba(14,26,30,.9), transparent 70%),
    radial-gradient(90% 90% at 50% 50%, rgba(10,16,19,.6), transparent 78%);
  filter: blur(2px); }

/* faint perspective floor grid for depth */
.or__floorgrid { left: -10%; right: -10%; bottom: -2%; height: 42%; z-index: 1; transform: translateZ(-110px) rotateX(72deg); transform-origin: bottom center; pointer-events: none; opacity: .12;
  background-image: repeating-linear-gradient(90deg, rgba(120,170,175,.6) 0 1px, transparent 1px 7%), repeating-linear-gradient(0deg, rgba(120,170,175,.5) 0 1px, transparent 1px 14%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); }

/* out-of-focus equipment bokeh */
.or__bokeh { border-radius: 50%; z-index: 1; pointer-events: none; mix-blend-mode: screen; filter: blur(14px); }
.or__bokeh--a { width: 26%; aspect-ratio: 1; left: 4%; top: 30%; transform: translateZ(-90px); background: radial-gradient(circle, rgba(56,150,156,.5), transparent 68%); animation: drift1 17s ease-in-out infinite; }
.or__bokeh--b { width: 20%; aspect-ratio: 1; right: 6%; top: 46%; transform: translateZ(-90px); background: radial-gradient(circle, rgba(70,170,170,.42), transparent 68%); animation: drift3 21s ease-in-out infinite; }
.or__bokeh--fg1 { width: 34%; aspect-ratio: 1; left: -8%; bottom: 6%; z-index: 9; transform: translateZ(150px); filter: blur(26px); opacity: .55; background: radial-gradient(circle, rgba(224,168,120,.5), transparent 66%); animation: drift2 13s ease-in-out infinite; }
.or__bokeh--fg2 { width: 22%; aspect-ratio: 1; right: -4%; top: 8%; z-index: 9; transform: translateZ(190px); filter: blur(22px); opacity: .5; background: radial-gradient(circle, rgba(207,133,133,.5), transparent 66%); animation: drift1 15s ease-in-out infinite reverse; }

/* blurred monitor screen (depth cue) */
.or__monitor { width: 22%; height: 15%; left: 8%; top: 24%; z-index: 1; transform: translateZ(-70px) rotateY(18deg); border-radius: 6px; pointer-events: none; filter: blur(7px); opacity: .55; mix-blend-mode: screen;
  background: linear-gradient(135deg, rgba(90,200,210,.6), rgba(40,120,150,.3)); box-shadow: 0 0 30px rgba(80,190,200,.4); animation: monitorPulse 5s ease-in-out infinite; }
@keyframes monitorPulse { 0%,100% { opacity: .5; } 50% { opacity: .68; } }

/* surgical lamp (cialytic) */
.or__lamp { width: 30%; aspect-ratio: 1; top: -4%; right: 8%; z-index: 6; transform: translateZ(60px); transform-origin: top center; animation: lampSway 9s ease-in-out infinite; pointer-events: none; }
.or__lamp svg { width: 100%; height: 100%; overflow: visible; }
.or__lamp svg g circle { fill: #fff6ea; filter: drop-shadow(0 0 7px rgba(255,240,220,.9)); }
.or__lamp::before { content: ""; position: absolute; inset: -55%; border-radius: 50%; background: radial-gradient(circle, rgba(255,238,214,.5), rgba(255,224,180,.1) 45%, transparent 70%); animation: lampGlow 4.5s ease-in-out infinite; }
@keyframes lampSway { 0%,100% { transform: translateZ(60px) rotate(-3deg); } 50% { transform: translateZ(60px) rotate(3deg); } }
@keyframes lampGlow { 0%,100% { opacity: .82; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

/* volumetric beam onto the doctor */
.or__beam { top: 2%; right: 6%; width: 72%; height: 96%; z-index: 4; transform: translateZ(40px); pointer-events: none;
  background: linear-gradient(191deg, rgba(255,242,222,.34) 0%, rgba(255,235,205,.08) 40%, transparent 72%);
  clip-path: polygon(56% 0, 76% 0, 96% 100%, 14% 100%); filter: blur(7px); mix-blend-mode: screen; animation: beamFlicker 6s ease-in-out infinite; }
@keyframes beamFlicker { 0%,100% { opacity: .9; } 45% { opacity: .7; } 70% { opacity: 1; } }

/* contact shadow grounding the doctor */
.or__shadow { left: 18%; right: 18%; bottom: 3%; height: 8%; z-index: 4; transform: translateZ(5px); pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,0,0,.7), transparent 75%); filter: blur(7px); }

/* the extracted doctor — sharp subject in front */
.or__doc { inset: 0; z-index: 5; transform: translateZ(15px); display: grid; place-items: end center; pointer-events: none;
  clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
.about__or.is-in .or__doc { clip-path: inset(0 0 0 0); }
.or__doc img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; transform: scale(1.05); transform-origin: bottom center;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,.55)) drop-shadow(-14px 0 22px rgba(40,90,100,.35)) saturate(.96) contrast(1.04); will-change: transform; }

/* sterile particles in the beam */
.or__particles { top: 0; right: 6%; width: 72%; height: 100%; z-index: 7; transform: translateZ(90px); pointer-events: none; mix-blend-mode: screen; opacity: .55;
  clip-path: polygon(56% 0, 76% 0, 96% 100%, 14% 100%);
  background-image:
    radial-gradient(1.6px 1.6px at 30% 20%, rgba(255,248,235,.9), transparent),
    radial-gradient(1.4px 1.4px at 62% 50%, rgba(255,248,235,.8), transparent),
    radial-gradient(1.2px 1.2px at 45% 80%, rgba(255,248,235,.7), transparent),
    radial-gradient(1.5px 1.5px at 75% 35%, rgba(255,248,235,.8), transparent),
    radial-gradient(1.3px 1.3px at 52% 66%, rgba(255,248,235,.7), transparent);
  background-size: 100% 50%; animation: particleDrift 16s linear infinite; }
@keyframes particleDrift { from { background-position: 0 0,0 0,0 0,0 0,0 0; } to { background-position: 0 -50%,0 -50%,0 -50%,0 -50%,0 -50%; } }

/* floating credential badge */
.about__badge { right: 4px; bottom: 26px; z-index: 11; display: flex; align-items: center; gap: .7rem;
  padding: .85rem 1.15rem; border-radius: 14px; background: rgba(10,16,19,.72); border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 18px 50px -12px rgba(0,0,0,.75); transform: translateZ(170px);
  animation: badgeFloat 5.5s ease-in-out infinite; }
.about__badge strong { font-family: "Fraunces", serif; font-weight: 400; font-size: 2rem; line-height: 1; color: var(--accent); letter-spacing: -.02em; }
.about__badge span { font-size: .72rem; line-height: 1.25; color: var(--text-soft); letter-spacing: .04em; text-transform: uppercase; }
@keyframes badgeFloat { 0%,100% { transform: translateZ(170px) translateY(0); } 50% { transform: translateZ(170px) translateY(-9px); } }
@media (max-width: 880px) { .about__or { aspect-ratio: 3/4; max-height: 84vh; } .about__badge { right: 0; } }
.about__title { font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.02; margin-bottom: 2rem; }
.about__title span { display: block; }
.about__title em { color: var(--accent); }
.about__text { color: var(--text-soft); font-size: 1.1rem; line-height: 1.7; max-width: 48ch; margin-bottom: 2.6rem; }
.about__text strong { color: var(--text); }
.about__creds { list-style: none; border-top: 1px solid var(--line); }
.about__creds li { display: flex; align-items: baseline; justify-content: space-between; padding: 1.15rem 0; border-bottom: 1px solid var(--line); gap: 1rem; transition: padding-left .4s var(--ease), color .4s var(--ease); }
.about__creds li:hover { padding-left: .9rem; }
.about__creds span { font-size: 1.08rem; }
.about__creds em { color: var(--text-soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 880px) { .about__grid { grid-template-columns: 1fr; } }

/* ============ STATS ============ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: var(--maxw); margin: 0 auto; background: var(--bg-2); }
.stat { padding: clamp(2.5rem, 6vw, 5rem) var(--pad); text-align: center; border-right: 1px solid var(--line); transition: background .5s var(--ease); position: relative; }
.stat::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(224,168,120,.12), transparent 60%); opacity: 0; transition: opacity .5s var(--ease); }
.stat:hover::after { opacity: 1; }
.stat:last-child { border-right: none; }
.stat__num { display: block; font-family: "Fraunces", serif; font-weight: 300; font-size: clamp(2.6rem, 7vw, 5.2rem); letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat__label { font-size: .88rem; color: var(--text-soft); letter-spacing: .02em; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } .stat { border-right: none; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: none; } }

/* ============ PROCEDURES ============ */
.proc { padding: var(--section) var(--pad); max-width: var(--maxw); margin: 0 auto; }
.proc__head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 4rem; align-items: end; }
.proc__title { font-size: clamp(1.7rem, 3.5vw, 3rem); line-height: 1.08; }
.proc__list { border-top: 1px solid var(--line); }
.proc__item { position: relative; display: grid; grid-template-columns: 70px 1fr 1.2fr; gap: 2rem; align-items: center; padding: clamp(1.5rem, 3vw, 2.6rem) 0; border-bottom: 1px solid var(--line); transition: padding .55s var(--ease); }
.proc__item::before { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 0; background: linear-gradient(90deg, rgba(224,168,120,.07), transparent); transition: width .55s var(--ease); z-index: -1; }
.proc__item:hover::before { width: 100%; }
.proc__item:hover { padding-left: 1.6rem; padding-right: 1.6rem; }
.proc__num { font-family: "Fraunces", serif; font-size: .95rem; color: var(--accent); }
.proc__name { font-family: "Fraunces", serif; font-weight: 300; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.025em; transition: color .4s var(--ease), transform .55s var(--ease); }
.proc__item:hover .proc__name { color: var(--accent); }
.proc__desc { color: var(--text-soft); font-size: .98rem; max-width: 44ch; }
.proc__img { position: absolute; right: var(--pad); top: 50%; width: 250px; height: 165px; border-radius: var(--radius); overflow: hidden; transform: translate(20px, -50%) scale(.92) rotate(3deg); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); z-index: 5; box-shadow: var(--shadow); }
.proc__img img { filter: saturate(.9) contrast(1.03); }
.proc__item:hover .proc__img { opacity: 1; transform: translate(0, -50%) scale(1) rotate(0deg); }
@media (max-width: 880px) { .proc__head { grid-template-columns: 1fr; } .proc__item { grid-template-columns: 44px 1fr; } .proc__desc { grid-column: 2; } .proc__img { display: none; } }

/* ============ CINEMATIC EXPAND (GSAP scrub) ============ */
.cine { position: relative; height: 200vh; background: var(--bg); }
.cine__sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.cine__frame { position: relative; width: 44%; height: 56%; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); will-change: width, height, border-radius; }
.cine__frame > span, .cine__frame .cor__doc { position: absolute; }
.cine__frame::after { content: ""; position: absolute; inset: 0; z-index: 8; background: linear-gradient(180deg, rgba(8,11,13,.15) 0%, transparent 30%, rgba(8,11,13,.75) 100%); pointer-events: none; }

/* operating-room backdrop inside the expanding frame */
.cor__bg { inset: 0; z-index: 0;
  background:
    radial-gradient(60% 46% at 50% 14%, rgba(40,64,72,.85), transparent 70%),
    radial-gradient(80% 70% at 50% 116%, rgba(12,22,26,.95), transparent 72%),
    linear-gradient(180deg, #0c1318 0%, #0a0f13 55%, #07090b 100%); }
.cor__bokeh { border-radius: 50%; z-index: 1; pointer-events: none; mix-blend-mode: screen; filter: blur(20px); }
.cor__bokeh--a { width: 30%; aspect-ratio: 1; left: 2%; top: 34%; background: radial-gradient(circle, rgba(56,150,156,.5), transparent 68%); animation: drift1 17s ease-in-out infinite; }
.cor__bokeh--b { width: 22%; aspect-ratio: 1; right: 5%; top: 50%; background: radial-gradient(circle, rgba(70,170,170,.42), transparent 68%); animation: drift3 21s ease-in-out infinite; }
.cor__monitor { width: 15%; height: 16%; left: 9%; top: 26%; z-index: 1; border-radius: 6px; pointer-events: none; filter: blur(8px); opacity: .5; mix-blend-mode: screen;
  background: linear-gradient(135deg, rgba(90,200,210,.6), rgba(40,120,150,.3)); box-shadow: 0 0 30px rgba(80,190,200,.4); animation: monitorPulse 5s ease-in-out infinite; }
.cor__floor { left: 0; right: 0; bottom: 0; height: 30%; z-index: 1; pointer-events: none;
  background: radial-gradient(72% 100% at 50% 100%, rgba(70,150,150,.2), transparent 70%); filter: blur(8px); }
.cor__lamp { width: 24%; aspect-ratio: 1; top: -3%; left: 50%; margin-left: -12%; z-index: 2; transform-origin: top center; animation: lampSway2 9s ease-in-out infinite; pointer-events: none; }
.cor__lamp svg { width: 100%; height: 100%; overflow: visible; }
.cor__lamp svg g circle { fill: #fff6ea; filter: drop-shadow(0 0 7px rgba(255,240,220,.9)); }
.cor__lamp::before { content: ""; position: absolute; inset: -55%; border-radius: 50%; background: radial-gradient(circle, rgba(255,238,214,.5), rgba(255,224,180,.1) 45%, transparent 70%); animation: lampGlow 4.5s ease-in-out infinite; }
@keyframes lampSway2 { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.cor__beam { top: 4%; left: 50%; width: 64%; height: 92%; margin-left: -32%; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,242,222,.32) 0%, rgba(255,235,205,.08) 42%, transparent 74%);
  clip-path: polygon(40% 0, 60% 0, 86% 100%, 14% 100%); filter: blur(7px); mix-blend-mode: screen; animation: beamFlicker 6s ease-in-out infinite; }
.cor__shadow { left: 24%; right: 24%; bottom: 2%; height: 7%; z-index: 3; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,0,0,.7), transparent 75%); filter: blur(7px); }
.cor__doc { inset: 0; z-index: 4; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; transform: scale(1.18); transform-origin: bottom center; will-change: transform;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.55)) drop-shadow(0 0 26px rgba(40,90,100,.3)) saturate(.96) contrast(1.04); }
.cor__particles { top: 4%; left: 50%; width: 64%; height: 96%; margin-left: -32%; z-index: 5; pointer-events: none; mix-blend-mode: screen; opacity: .5;
  clip-path: polygon(40% 0, 60% 0, 86% 100%, 14% 100%);
  background-image:
    radial-gradient(1.6px 1.6px at 35% 20%, rgba(255,248,235,.9), transparent),
    radial-gradient(1.4px 1.4px at 60% 50%, rgba(255,248,235,.8), transparent),
    radial-gradient(1.2px 1.2px at 48% 80%, rgba(255,248,235,.7), transparent),
    radial-gradient(1.5px 1.5px at 70% 35%, rgba(255,248,235,.8), transparent);
  background-size: 100% 50%; animation: particleDrift 16s linear infinite; }
.cine__overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; padding: clamp(1.5rem, 5vw, 4.5rem); text-align: center; opacity: 0; transform: translateY(24px); will-change: opacity, transform; }
.cine__eyebrow { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.cine__title { font-size: clamp(1.6rem, 4.5vw, 3.8rem); font-weight: 300; line-height: 1.05; letter-spacing: -.025em; }
.cine__title em { color: var(--accent); }
@media (max-width: 880px) { .cine { height: 180vh; } .cine__frame { width: 78%; height: 46%; } }

/* ============ QUOTE / PHILOSOPHY ============ */
.quote { position: relative; padding: clamp(6rem, 15vw, 12rem) var(--pad); text-align: center; overflow: hidden;
  background: linear-gradient(180deg, #07090b 0%, var(--bg-2) 26%, var(--bg-2) 100%);
  border-top: 1px solid var(--line); }
.quote::before { content: ""; position: absolute; left: 50%; top: 56%; width: 60vw; height: 60vw; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(207,133,133,.14), transparent 60%); filter: blur(55px); animation: drift2 17s ease-in-out infinite; pointer-events: none; }
.quote__mark { position: absolute; left: 50%; top: clamp(2.5rem, 7vw, 5rem); transform: translateX(-50%); font-family: "Fraunces", serif; font-size: clamp(7rem, 18vw, 15rem); line-height: 1; color: var(--accent); opacity: .14; pointer-events: none; user-select: none; }
.quote__inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.quote__index { display: inline-flex; align-items: center; gap: .6rem; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 2.5rem; }
.quote__index span { color: var(--accent); }
.quote__text { font-family: "Fraunces", serif; font-weight: 300; font-size: clamp(2rem, 5.2vw, 4.4rem); line-height: 1.12; letter-spacing: -.028em; max-width: 17ch; margin: 0 auto; }
.quote__text span { display: block; }
.quote__text em { color: var(--accent); }
.quote__sign { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; margin-top: 3.2rem; }
.quote__sign-line { width: 46px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.quote__sign-text { display: flex; flex-direction: column; gap: .2rem; }
.quote__sign-text strong { font-family: "Fraunces", serif; font-weight: 400; font-size: 1.15rem; letter-spacing: -.01em; color: var(--text); }
.quote__sign-text em { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-style: normal; }

/* ============ RESULTS / GALLERY (bento) ============ */
.results { padding: var(--section) var(--pad) clamp(2.5rem, 6vw, 4.5rem); max-width: var(--maxw); margin: 0 auto; }
.results__title { font-size: clamp(1.9rem, 4.5vw, 3.6rem); line-height: 1.05; max-width: 16ch; margin-bottom: 3rem; }
.results__title em { color: var(--accent); }
.results__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: clamp(160px, 19vw, 250px); gap: 1.1rem; }
.results__card { position: relative; overflow: hidden; border-radius: var(--radius); }
.results__card--lg { grid-row: span 2; }
.results__card img { transform: scale(1.06); transition: transform 1.3s var(--ease); filter: saturate(.9) contrast(1.04) brightness(.96); }
.results__card:hover img { transform: scale(1.14); }
.results__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,8,7,.7)); transition: opacity .5s var(--ease); }
.results__cap { position: absolute; left: 1.2rem; bottom: 1.1rem; z-index: 2; display: flex; flex-direction: column; gap: .15rem; transform: translateY(8px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.results__card:hover .results__cap { transform: translateY(0); opacity: 1; }
.results__cap span { font-family: "Fraunces", serif; font-size: 1.15rem; }
.results__cap em { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-style: normal; }
@media (max-width: 880px) { .results__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 40vw; } .results__card--lg { grid-row: span 2; grid-column: span 2; } .results__cap { opacity: 1; transform: none; } }

.testi { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); margin-top: 1rem; }
.testi__item p { font-family: "Fraunces", serif; font-weight: 300; font-size: clamp(1.25rem, 2.5vw, 1.85rem); line-height: 1.32; letter-spacing: -.015em; margin-bottom: 1.3rem; }
.testi__item cite { color: var(--text-soft); font-style: normal; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 720px) { .testi { grid-template-columns: 1fr; gap: 3rem; } }

/* ============ CONTACT ============ */
.contact { position: relative; padding: clamp(6rem, 14vw, 12rem) var(--pad); overflow: hidden; background: #0a0807; }
.contact .aurora { opacity: .65; }
.contact::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(10,8,7,.6)); pointer-events: none; }
.contact__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.contact__eyebrow { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 1.6rem; }
.contact__title { font-size: clamp(2.8rem, 9.5vw, 8.5rem); line-height: .94; letter-spacing: -.035em; }
.contact__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.contact__title .line > span { display: block; will-change: transform; }
.contact__title em { color: var(--accent); }
.contact__lead { color: var(--text-soft); font-size: 1.1rem; max-width: 46ch; margin: 2rem auto 3rem; }
.contact__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer { background: var(--bg-2); color: var(--cream); padding: clamp(3.5rem, 8vw, 6rem) var(--pad) 2rem; border-top: 1px solid var(--line); }
.footer__top { border-bottom: 1px solid var(--line); padding-bottom: 2.5rem; margin-bottom: 2.5rem; }
.footer__emblem { width: clamp(70px, 9vw, 104px); height: auto; margin-bottom: 1.4rem; filter: drop-shadow(0 4px 16px rgba(224,168,120,.2)); }
.footer__brand { font-family: "Fraunces", serif; font-weight: 300; font-size: clamp(2.5rem, 8vw, 6rem); letter-spacing: -.03em; display: block; }
.footer__tag { color: var(--accent); letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; margin-top: .6rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 4rem; }
.footer__col { display: flex; flex-direction: column; gap: .85rem; }
.footer__h { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); margin-bottom: .5rem; }
.footer__col a { color: rgba(243,238,230,.8); font-size: .95rem; transition: color .3s; width: fit-content; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: var(--text-mute); border-top: 1px solid var(--line); padding-top: 2rem; }
@media (max-width: 720px) { .footer__cols { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ============ REVEAL ============ */
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal-up.is-in { opacity: 1; transform: none; }

/* ============ SKIP LINK + FOCUS (a11y) ============ */
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 10000; background: var(--cream); color: var(--ink); padding: .75rem 1.25rem; border-radius: 100px; font-size: .85rem; font-weight: 500; transition: top .3s var(--ease); }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .nav__cta:focus-visible { outline-offset: 4px; }

/* ============ CUSTOM CURSOR ============ */
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; }
.cursor__dot { position: fixed; top: 0; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--cream); transform: translate(-50%, -50%); mix-blend-mode: difference; }
.cursor__ring { position: fixed; top: 0; left: 0; width: 38px; height: 38px; border: 1px solid rgba(243,238,230,.7); border-radius: 50%; transform: translate(-50%, -50%); mix-blend-mode: difference; transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease); }
body.cursor-hover .cursor__ring { width: 60px; height: 60px; background: rgba(243,238,230,.12); border-color: transparent; }
body.cursor-active .cursor__ring { width: 28px; height: 28px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
html.has-cursor, html.has-cursor * { cursor: none; }

/* ============ NAV BURGER + MOBILE MENU ============ */
.nav__burger { display: none; width: 44px; height: 44px; background: none; border: none; padding: 0; position: relative; z-index: 101; }
.nav__burger span { position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease), opacity .3s var(--ease); }
.nav__burger span:nth-child(1) { top: 19px; }
.nav__burger span:nth-child(2) { top: 25px; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }
@media (max-width: 880px) { .nav__burger { display: block; } .nav__cta { display: none; } }

.mmenu { position: fixed; inset: 0; z-index: 99; background: rgba(10,8,7,.86); backdrop-filter: blur(22px) saturate(1.1); display: flex; flex-direction: column; justify-content: center; padding: var(--pad); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s var(--ease); }
body.menu-open .mmenu { opacity: 1; visibility: visible; }
.mmenu__nav { display: flex; flex-direction: column; gap: .4rem; }
.mmenu__nav a { display: flex; align-items: baseline; gap: 1rem; font-family: "Fraunces", serif; font-weight: 300; font-size: clamp(2rem, 9vw, 3.4rem); letter-spacing: -.03em; color: var(--cream); opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s; }
.mmenu__nav a span { font-family: "Inter", sans-serif; font-size: .8rem; color: var(--accent); letter-spacing: .1em; }
.mmenu__nav a:active { color: var(--accent); }
body.menu-open .mmenu__nav a { opacity: 1; transform: none; }
body.menu-open .mmenu__nav a:nth-child(1) { transition-delay: .12s; }
body.menu-open .mmenu__nav a:nth-child(2) { transition-delay: .18s; }
body.menu-open .mmenu__nav a:nth-child(3) { transition-delay: .24s; }
body.menu-open .mmenu__nav a:nth-child(4) { transition-delay: .30s; }
body.menu-open .mmenu__nav a:nth-child(5) { transition-delay: .36s; }
.mmenu__foot { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 1.3rem; align-items: flex-start; }
.mmenu__foot a:not(.btn) { color: var(--text-soft); letter-spacing: .04em; }

/* ============ FAQ ============ */
.faq { padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad) var(--section); max-width: var(--maxw); margin: 0 auto; }
.faq__head { margin-bottom: 3.5rem; }
.faq__title { font-size: clamp(1.9rem, 4.5vw, 3.6rem); line-height: 1.05; max-width: 18ch; }
.faq__title em { color: var(--accent); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.4rem, 3vw, 2.1rem) 0; font-family: "Fraunces", serif; font-weight: 300; font-size: clamp(1.2rem, 2.6vw, 1.9rem); letter-spacing: -.02em; transition: color .35s var(--ease), padding-left .45s var(--ease); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); padding-left: .6rem; }
.faq__icon { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--accent); transition: transform .4s var(--ease), opacity .4s var(--ease); }
.faq__icon::before { width: 16px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 1.5px; height: 16px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { overflow: hidden; }
.faq__a p { color: var(--text-soft); font-size: 1.02rem; line-height: 1.7; max-width: 62ch; padding-bottom: clamp(1.4rem, 3vw, 2rem); }
.faq__item:not([open]) .faq__a { max-height: 0; }
.faq__item[open] .faq__a { animation: faqOpen .5s var(--ease); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ============ FLOATING WHATSAPP ============ */
.wfab { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: max(clamp(1rem, 3vw, 2rem), env(safe-area-inset-bottom)); z-index: 95; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #2bb74a, #128c3e); box-shadow: 0 12px 34px -6px rgba(18,140,62,.55); transform: translateY(120px) scale(.6); opacity: 0; transition: transform .55s var(--ease), opacity .55s var(--ease), box-shadow .4s var(--ease); }
.wfab.is-in { transform: none; opacity: 1; }
.wfab:hover { box-shadow: 0 16px 44px -4px rgba(18,140,62,.7); }
.wfab svg { position: relative; z-index: 2; }
.wfab__pulse { position: absolute; inset: 0; border-radius: 50%; background: #2bb74a; z-index: 1; animation: wpulse 2.4s ease-out infinite; }
@keyframes wpulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.9); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal-up { opacity: 1; transform: none; }
  .cursor { display: none; }
  html.has-cursor, html.has-cursor * { cursor: auto; }
  .wfab { opacity: 1; transform: none; }
  .cine { height: auto; }
  .cine__sticky { position: relative; height: auto; }
  .cine__frame { width: 100%; height: 70vh; border-radius: 0; }
  .cine__frame img { transform: none; }
  .cine__overlay { opacity: 1; transform: none; }
}
