:root {
  --night: #0d2420;
  --deep: #061412;
  --night-2: #12302b;
  --drape: #1b4640;
  --paper: #eef3f0;
  --paper-2: #e2ebe7;
  --ink: #102622;
  --ink-soft: #35535e;
  --line: #8ec3df;
  --sky: #b8e2f8;
  --sky-soft: #def2fc;
  --sky-deep: #9fd4f0;
  --sky-field: #cbeafa;
  --line-dark: rgba(238, 243, 240, 0.13);
  --mist: #b8cac4;
  --lilac: #b49cf0;
  --teal: #74cbb6;
  --suture: #6b4fa3;
  --foil: conic-gradient(from 210deg, #cdbdf0, #a8e0d4, #f4f0ff, #9fd3c7, #d9c9ff, #cdbdf0);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: max(1.5rem, calc((100vw - var(--wrap)) / 2));
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--deep); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
h1[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 4px; border-radius: 4px; }
.on-light :focus-visible { outline-color: var(--suture); }
.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: min(100% - 2.25rem, var(--wrap)); } :root { --gutter: 1.125rem; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 200; background: var(--paper); color: var(--ink); padding: 0.7rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes view-in { from { opacity: 0; } }
}

.dark {
  position: relative;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(180, 156, 240, 0.08), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(60, 160, 140, 0.1), transparent 60%),
    var(--night);
  color: var(--paper);
  isolation: isolate;
}
.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); opacity: 0.07; mix-blend-mode: overlay; }

/* Üst menü */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--paper); transition: background-color 0.4s, border-color 0.4s; border-bottom: 1px solid transparent; }
.topbar.is-scrolled { background: rgba(6, 20, 18, 0.78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line-dark); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 84px; }
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); }
.brand__mark svg { width: 22px; height: 22px; }
.brand__text { font-family: var(--serif); font-size: 1.2rem; line-height: 1.1; }
.brand__text small { display: block; font-family: var(--sans); font-size: 0.78rem; color: var(--mist); margin-top: 2px; }
.menu { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.menu a { position: relative; display: block; padding: 0.6rem 0.95rem; text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--mist); transition: color 0.25s; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--paper); }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 0.3rem; height: 1px; background: var(--lilac); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu a.btn { display: inline-flex; margin-left: 0.6rem; }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--line-dark); border-radius: 999px; padding: 0.55rem 1rem; font-size: 0.9rem; cursor: pointer; color: var(--paper); }
@media (max-width: 820px) {
  .menu-toggle { display: inline-block; }
  .menu { position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.25rem 1.5rem; background: rgba(6, 20, 18, 0.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-dark); display: none; }
  .menu.is-open { display: flex; }
  .menu a { padding: 0.95rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-dark); }
  .menu a:not(.btn)::after { left: 0; right: auto; width: 2rem; bottom: -1px; }
  .menu a.btn { display: flex; margin: 1rem 0 0; padding: 0.8rem 1.2rem; border-bottom: 0; min-height: 50px; }
}

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 52px; padding: 0.8rem 1.6rem; border-radius: 999px; font: 600 0.98rem/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease); }
.btn-light { background: var(--paper); color: var(--night); box-shadow: 0 10px 30px -12px rgba(255, 236, 200, 0.5); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.btn-line { border-color: rgba(238, 243, 240, 0.28); color: var(--paper); background: rgba(6, 20, 18, 0.25); }
.btn-line:hover { border-color: var(--paper); }
.btn-dark { background: var(--night); color: var(--paper); }
.btn-dark:hover { background: var(--drape); transform: translateY(-1px); }
.menu .btn-light, .menu .btn-light[aria-current="page"] { min-height: 44px; padding: 0.55rem 1.2rem; color: var(--night); box-shadow: none; }
.menu .btn-light[aria-current="page"] { box-shadow: 0 0 0 3px rgba(180, 156, 240, 0.45); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.head { padding: calc(84px + clamp(3rem, 8vw, 6.5rem)) 0 clamp(4rem, 8vw, 6.5rem); }

.suture { display: block; width: min(100%, 540px); height: 36px; color: var(--lilac); overflow: visible; }
.suture .thread { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 640; stroke-dashoffset: 640; animation: thread 1.6s cubic-bezier(0.6, 0, 0.2, 1) 0.9s forwards; }
.suture .stitches line { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; opacity: 0; animation: stitch 0.35s ease forwards; }
@keyframes thread { to { stroke-dashoffset: 0; } }
@keyframes stitch { to { opacity: 1; } }

/* ===== Hakkımda: ameliyat lambası atmosferi ===== */
.about-hero { overflow: hidden; background: radial-gradient(900px 700px at 72% 0%, rgba(255, 236, 200, 0.07), transparent 60%), var(--deep); }
.about-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
.about-hero__role { color: var(--mist); font-size: 1.02rem; margin-bottom: 1.5rem; }
.about-hero h1 { font-size: clamp(3.6rem, 10vw, 8.4rem); font-weight: 300; letter-spacing: -0.035em; line-height: 0.92; }
.about-hero h1 .pre { display: block; font-size: 0.3em; font-style: italic; letter-spacing: 0; color: var(--lilac); margin-bottom: 0.4em; }
.about-hero .suture { margin: 1.6rem 0 1.9rem; }
.about-hero__lead { font-size: 1.2rem; line-height: 1.6; max-width: 44ch; color: #d5e1dc; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.4rem; }

.or-lamp { position: absolute; top: 0; right: calc(var(--gutter) + clamp(40px, 9vw, 150px)); width: 300px; height: 100%; pointer-events: none; z-index: 1; }
.or-lamp__arm { position: absolute; top: -40px; left: 50%; width: 12px; height: 110px; margin-left: -6px; background: linear-gradient(90deg, #121a19, #3d4a48 45%, #121a19); border-radius: 6px; }
.or-lamp__head { position: absolute; top: 60px; left: 0; width: 300px; height: 84px; border-radius: 50%; background: radial-gradient(ellipse at 50% 25%, #45524f, #121a19 70%); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6); }
.or-lamp__face { position: absolute; inset: 18px 26px 10px; border-radius: 50%; background: radial-gradient(circle, #fffdf6 0 2.4px, transparent 3.2px) 50% 50% / 17px 13px, radial-gradient(ellipse, #fff4e0, #efd2a2 65%, #b8925c); box-shadow: 0 0 36px 8px rgba(255, 236, 200, 0.55), 0 0 140px 40px rgba(255, 236, 200, 0.22); animation: lamp-on 1.4s steps(1, end) 0.2s both; }
.or-lamp__beam { position: absolute; top: 120px; left: 50%; width: 900px; height: 1100px; transform: translateX(-50%); clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, rgba(255, 240, 214, 0.26), rgba(255, 240, 214, 0.07) 50%, transparent 85%); filter: blur(22px); mix-blend-mode: screen; animation: beam-on 1.6s ease 0.4s both; }
.or-lamp__dust { position: absolute; top: 140px; left: 50%; width: 700px; height: 900px; transform: translateX(-50%); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); mix-blend-mode: screen; opacity: 0.55;
  background-image: radial-gradient(circle, rgba(255,245,225,.9) 0 1px, transparent 1.6px), radial-gradient(circle, rgba(255,245,225,.6) 0 1.2px, transparent 2px);
  background-size: 97px 131px, 163px 89px; animation: dust 26s linear infinite, beam-on 2s ease 0.8s both; }
@keyframes lamp-on { 0% { opacity: 0.05; } 12% { opacity: 0.7; } 18% { opacity: 0.1; } 30% { opacity: 0.9; } 36% { opacity: 0.4; } 48%, 100% { opacity: 1; } }
@keyframes beam-on { from { opacity: 0; } }
@keyframes dust { to { background-position: 40px 520px, -60px 380px; } }
.portrait { position: relative; margin: 0; z-index: 2; }
.portrait__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 220px 220px 18px 18px; overflow: hidden; background: linear-gradient(170deg, #2a5d55, #0f2723); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.portrait__frame::after { content: ""; position: absolute; inset: 10px; border-radius: 212px 212px 12px 12px; border: 1px solid rgba(238, 243, 240, 0.22); pointer-events: none; }
.portrait__frame svg, .portrait__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait__frame::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 70% at 50% -5%, rgba(255, 240, 214, 0.28), transparent 60%), linear-gradient(0deg, rgba(6, 20, 18, 0.35), transparent 35%); mix-blend-mode: soft-light; }
.portrait__frame::after { z-index: 2; }
.portrait figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; font-size: 0.85rem; color: var(--mist); }
.about-hero .wrap > div, .portrait figcaption { position: relative; z-index: 2; }
@media (max-width: 880px) {
  .about-hero .wrap { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; }
  .or-lamp { right: 0; transform: scale(0.7); transform-origin: top right; opacity: 0.8; }
}

.light-section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.light-section + .light-section { border-top: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: 1.1fr 1fr 0.8fr 0.7fr 1.5fr; margin: 0; border-top: 1px solid var(--ink); }
.facts > div { padding: 1.4rem 1.4rem 0 0; }
.facts > div + div { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.facts dt { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }
.facts dd a { text-decoration-color: var(--line); }
@media (max-width: 1000px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
  .facts > div, .facts > div + div { padding: 1.2rem 1rem 1.2rem 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts > div:last-child { grid-column: 1 / -1; }
}
.statement { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.18; letter-spacing: -0.02em; max-width: 24ch; margin-top: clamp(4rem, 8vw, 6rem); text-wrap: pretty; }
.cv { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 7rem); }
@media (max-width: 880px) { .cv { grid-template-columns: 1fr; } }
.block-title { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: 2.2rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 2rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 0.7rem; bottom: 0.7rem; border-left: 1.5px dashed var(--suture); opacity: 0.7; }
.timeline li { position: relative; padding-bottom: 2.3rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -2rem; top: 0.5rem; width: 12px; height: 12px; border-radius: 50%; background: var(--sky); border: 1.5px solid var(--suture); }
.timeline li.now::before { background: var(--suture); box-shadow: 0 0 0 5px rgba(107, 79, 163, 0.14); }
.timeline .yrs { font-size: 0.85rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 1.45rem; margin: 0.25rem 0 0.2rem; }
.timeline p { color: var(--ink-soft); }
.register { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.register li { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: baseline; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.register .y { font-family: var(--serif); font-size: 1.3rem; color: var(--suture); font-variant-numeric: tabular-nums; }
.register .t { font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; }
.register .p { color: var(--ink-soft); font-size: 0.92rem; text-align: right; }
@media (max-width: 700px) { .register li { grid-template-columns: 1fr; gap: 0.2rem; } .register .p { text-align: left; } }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-intro h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 300; letter-spacing: -0.025em; }
.section-intro p { color: var(--ink-soft); max-width: 46ch; justify-self: end; }
.dark .section-intro p { color: var(--mist); }
@media (max-width: 800px) { .section-intro { grid-template-columns: 1fr; } .section-intro p { justify-self: start; } }

/* ===== 3D AMELİYATHANE SAHNESİ ===== */
.or-stage { position: relative; height: 100svh; min-height: 680px; max-height: 1080px; overflow: hidden; color: var(--paper); isolation: isolate;
  background: radial-gradient(60% 55% at 62% 30%, rgba(255, 238, 210, 0.10), transparent 70%), radial-gradient(80% 60% at 50% 100%, rgba(30, 90, 80, 0.35), transparent 70%), var(--deep); }
.or-canvas { position: absolute; inset: 0; z-index: 0; }
.or-canvas canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; outline: none; }
.or-canvas canvas:active { cursor: grabbing; }
.or-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: opacity 0.8s;
  background:
    linear-gradient(90deg, rgba(6, 20, 18, 0.82) 0%, rgba(6, 20, 18, 0.45) 30%, transparent 55%),
    linear-gradient(0deg, rgba(6, 20, 18, 0.92) 0%, rgba(6, 20, 18, 0.2) 26%, transparent 45%),
    radial-gradient(130% 100% at 60% 45%, transparent 55%, rgba(0, 0, 0, 0.55)); }
.or-stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background-image: var(--grain); opacity: 0.06; mix-blend-mode: overlay; }

.or-copy { position: absolute; z-index: 3; left: var(--gutter); bottom: 9.5rem; width: min(34rem, calc(100% - 2 * var(--gutter))); transition: opacity 0.5s; }
.or-copy h1 { font-size: clamp(2.7rem, 5.6vw, 5rem); font-weight: 300; letter-spacing: -0.035em; line-height: 0.96; }
.or-copy__organ { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-top: 1.4rem; display: flex; align-items: center; gap: 0.7rem; }
.or-copy__organ::before { content: ""; width: 26px; border-top: 1.5px dashed var(--lilac); }
.or-copy__line { color: #d5e1dc; margin-top: 0.6rem; max-width: 42ch; min-height: 3.3em; }
.or-copy .btn { margin-top: 1.4rem; }
.or-copy.swap .or-copy__organ, .or-copy.swap .or-copy__line { animation: swap 0.5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }

.or-status { position: absolute; z-index: 3; top: 104px; right: var(--gutter); display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--mist); padding: 0.45rem 0.85rem; border-radius: 999px; background: rgba(6, 20, 18, 0.45); border: 1px solid var(--line-dark); backdrop-filter: blur(10px); }
.or-status i { width: 8px; height: 8px; border-radius: 50%; background: #ff5a5f; box-shadow: 0 0 0 0 rgba(255, 90, 95, 0.6); animation: rec 1.6s infinite; }
@keyframes rec { 70% { box-shadow: 0 0 0 8px rgba(255, 90, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 95, 0); } }

.or-dock { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; }
.or-dock__group { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.seg { display: inline-flex; gap: 0.2rem; padding: 0.3rem; border-radius: 999px; background: rgba(6, 20, 18, 0.55); border: 1px solid var(--line-dark); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg button { border: 0; background: transparent; color: var(--mist); cursor: pointer; white-space: nowrap; padding: 0.7rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem; transition: background-color 0.3s, color 0.3s; }
.seg button:hover { color: var(--paper); }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--night); }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--line-dark); background: rgba(6, 20, 18, 0.55); backdrop-filter: blur(14px); color: var(--mist); border-radius: 999px; padding: 0.7rem 1.1rem; font-weight: 600; font-size: 0.88rem; cursor: pointer; }
.chip[aria-pressed="true"] { color: var(--paper); border-color: rgba(116, 203, 182, 0.6); }
.chip svg { width: 16px; height: 16px; }
.or-hint { font-size: 0.82rem; color: var(--mist); }
@media (hover: none) { .or-hint { display: none; } }

.or-labels { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.lbl { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 0.55rem; white-space: nowrap; font-size: 0.8rem; font-weight: 600; color: var(--paper); opacity: 0; transition: opacity 0.5s; will-change: transform; }
.lbl.show { opacity: 1; }
.lbl::before { content: ""; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; border: 1.5px solid var(--lilac); background: rgba(180, 156, 240, 0.25); box-shadow: 0 0 12px rgba(180, 156, 240, 0.8); flex: none; }
.lbl span { position: relative; padding: 0.35rem 0.7rem; border-radius: 999px; background: rgba(6, 20, 18, 0.62); border: 1px solid var(--line-dark); backdrop-filter: blur(8px); }
.lbl.teal::before { border-color: var(--teal); background: rgba(116, 203, 182, 0.25); box-shadow: 0 0 12px rgba(116, 203, 182, 0.8); }

.or-scope { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 0.8s; --r: min(40vmin, 380px);
  background: radial-gradient(circle at 50% 46%, transparent 0 var(--r), rgba(2, 8, 7, 0.97) calc(var(--r) + 50px)); }
.or-scope__ring { position: absolute; left: 50%; top: 46%; width: calc(var(--r) * 2); height: calc(var(--r) * 2); transform: translate(-50%, -50%); border-radius: 50%; box-shadow: inset 0 0 90px 30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(238, 243, 240, 0.08); }
.or-scope__cross { position: absolute; left: 50%; top: 46%; width: 28px; height: 28px; transform: translate(-50%, -50%); }
.or-scope__cross::before, .or-scope__cross::after { content: ""; position: absolute; background: rgba(238, 243, 240, 0.5); }
.or-scope__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.or-scope__cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.or-scope__label { position: absolute; left: 50%; top: calc(46% + var(--r) + 14px); transform: translateX(-50%); font-size: 0.8rem; color: var(--mist); }
.or-stage.is-scope .or-scope { opacity: 1; }
.or-stage.is-scope .or-copy, .or-stage.is-scope .or-shade { opacity: 0; }
.or-stage.is-scope .or-copy { pointer-events: none; }

.or-loading { position: absolute; z-index: 3; left: 50%; top: 45%; transform: translate(-50%, -50%); font-size: 0.85rem; color: var(--mist); transition: opacity 0.6s; }
.or-stage.is-ready .or-loading, .or-stage.no-webgl .or-loading { opacity: 0; }
.or-stage.no-webgl [data-mode], .or-stage.no-webgl #or-sound, .or-stage.no-webgl .or-hint { display: none; }
.or-stage.no-webgl .or-canvas { background: radial-gradient(28% 18% at 64% 18%, rgba(255, 241, 220, 0.35), transparent 70%), radial-gradient(40% 50% at 64% 55%, rgba(255, 241, 220, 0.08), transparent 70%); }

@media (max-width: 760px) {
  .or-stage { min-height: 720px; }
  .or-copy { bottom: 10.2rem; }
  .or-copy__line { min-height: 0; font-size: 0.95rem; }
  .or-dock__group { flex-wrap: nowrap; }
  .or-dock__group .seg { flex: 1; min-width: 0; width: auto; }
  .or-dock__group .seg button { padding: 0.7rem 0.4rem; font-size: 0.8rem; }
  .chip span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .chip { padding: 0.7rem 0.95rem; }
  .or-copy h1 { font-size: 2.6rem; }
  .or-copy .btn { display: none; }
  .or-status { top: 96px; }
  .or-dock { bottom: 1rem; flex-direction: column; align-items: stretch; }
  .or-dock__group { justify-content: space-between; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 0.7rem 0.6rem; font-size: 0.85rem; }
  .lbl { font-size: 0.72rem; }
}

.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.benefits > div { padding: 1.8rem 1.8rem 0 0; }
.benefits > div + div { padding-left: 1.8rem; border-left: 1px solid var(--line-dark); }
.benefits h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.benefits p { color: var(--mist); }
@media (max-width: 800px) { .benefits { grid-template-columns: 1fr; } .benefits > div, .benefits > div + div { padding: 1.5rem 0; border-left: 0; border-bottom: 1px solid var(--line-dark); } }
.band { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: var(--deep); }
.band h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; letter-spacing: -0.02em; margin-bottom: 2.2rem; max-width: 20ch; }

.seg-light { display: inline-flex; gap: 0.3rem; padding: 0.35rem; border-radius: 999px; background: var(--sky-deep); border: 1px solid var(--line); margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 100%; overflow-x: auto; }
.seg-light button { border: 0; background: transparent; cursor: pointer; white-space: nowrap; padding: 0.75rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 0.97rem; color: var(--ink-soft); transition: background-color 0.3s, color 0.3s; }
.seg-light button[aria-pressed="true"] { background: var(--night); color: var(--paper); }

.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); }
.panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .panel { animation: view-in 0.5s var(--ease); } }
@media (max-width: 880px) { .panel { grid-template-columns: 1fr; } }
.panel h2 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 300; letter-spacing: -0.03em; }
.panel .lead { font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; margin-top: 1.5rem; }
.panel .note { color: var(--ink-soft); margin-top: 1.4rem; max-width: 52ch; }
.panel h3 { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 0.9rem; }
.panel h3 ~ h3 { margin-top: 2.6rem; }
.who { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.who li { padding: 0.95rem 0 0.95rem 1.8rem; border-bottom: 1px solid var(--line); position: relative; }
.who li::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: 0.9rem; border-top: 1.5px dashed var(--suture); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.6rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 2rem; line-height: 1; color: var(--suture); }
.steps strong { display: block; font-weight: 600; margin-bottom: 0.15rem; }
.steps span { color: var(--ink-soft); }

/* Dijital fotoğraf kartları */
.gallery { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.1rem, 2.4vw, 1.8rem); }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.cards > li { perspective: 1100px; }
.card { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; position: relative; height: 100%; display: flex; flex-direction: column; padding: 12px; border-radius: 22px; background: linear-gradient(165deg, rgba(238, 243, 240, 0.09), rgba(238, 243, 240, 0.025)); border: 1px solid var(--line-dark); box-shadow: 0 30px 60px -35px rgba(0, 0, 0, 0.8); transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform 0.6s var(--ease), border-color 0.4s; }
.card.is-tilting { transition: transform 0.08s linear; border-color: rgba(238, 243, 240, 0.28); }
.card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: var(--foil); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.22), transparent 45%), linear-gradient(115deg, transparent 30%, rgba(180, 156, 240, 0.16) 46%, rgba(116, 203, 182, 0.16) 56%, transparent 72%); background-size: 100% 100%, 240% 240%; background-position: 0 0, var(--mx) var(--my); mix-blend-mode: screen; opacity: 0; transition: opacity 0.4s; }
.card.is-tilting::before { opacity: 0.8; }
.card.is-tilting::after { opacity: 1; }
.card__media { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 4 / 3; border-radius: 13px; overflow: hidden; background: linear-gradient(rgba(238,243,240,.05) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(238,243,240,.05) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(150deg, #25584f, #173d37 55%, #122f2a); transform: translateZ(10px); }
.card__media svg.ph { position: absolute; inset: 0; margin: auto; width: 38%; height: 38%; color: #cfe3dc; opacity: 0.85; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__file { position: absolute; left: 0; right: 0; bottom: 0.9rem; text-align: center; font-size: 0.75rem; color: rgba(207, 227, 220, 0.6); }
.card__media img ~ .card__file { display: none; }
.card__body { flex: 1; display: flex; flex-direction: column; padding: 1.2rem 0.55rem 0.5rem; transform: translateZ(24px); }
.card__body h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--paper); }
.card__body p { color: var(--mist); font-size: 0.95rem; line-height: 1.55; }
.card__foot { margin-top: auto; padding-top: 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card__tag { font-size: 0.85rem; font-weight: 600; color: var(--paper); padding: 0.35rem 0.8rem; border-radius: 999px; border: 1px solid var(--line-dark); }
.seal { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--foil); color: var(--night); font: 700 0.72rem/1 var(--sans); }

.cta { padding-block: clamp(4rem, 8vw, 6rem); }
.cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2rem; }
.cta h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; letter-spacing: -0.025em; max-width: 22ch; }

.lightbox { border: 0; padding: 0; width: min(1000px, 94vw); max-height: 92vh; border-radius: 22px; overflow: hidden; background: var(--night); color: var(--paper); }
.lightbox::backdrop { background: rgba(6, 18, 16, 0.86); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lb 0.35s var(--ease); }
@keyframes lb { from { opacity: 0; transform: scale(0.96); } }
.lightbox__media { position: relative; aspect-ratio: 16 / 10; max-height: 70vh; background: linear-gradient(150deg, #25584f, #122f2a); }
.lightbox__media img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__media svg { position: absolute; inset: 0; margin: auto; width: 30%; height: 30%; color: #cfe3dc; }
.lightbox__info { padding: 1.4rem 1.8rem 1.8rem; display: grid; gap: 0.35rem; }
.lightbox__info h3 { font-size: 1.9rem; }
.lightbox__info p { color: var(--mist); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; min-height: 44px; padding: 0.5rem 1.1rem; }

/* ===== Randevu ===== */
.booking-head { padding-bottom: clamp(7rem, 12vw, 10rem); }
.booking-head .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 2rem; align-items: end; }
@media (max-width: 880px) { .booking-head .wrap { grid-template-columns: 1fr; } }
.booking-head h1 { font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 300; letter-spacing: -0.035em; line-height: 0.95; }
.booking-head .lead { color: #d5e1dc; font-size: 1.12rem; max-width: 42ch; }
.booking { margin-top: clamp(-6rem, -9vw, -4.5rem); padding-bottom: clamp(4.5rem, 9vw, 7rem); position: relative; z-index: 2; }
.booking .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
@media (max-width: 960px) { .booking .wrap { grid-template-columns: 1fr; } }
.form-card { background: var(--sky-soft); border-radius: 26px; padding: clamp(1.6rem, 4vw, 3rem); box-shadow: 0 50px 90px -50px rgba(13, 36, 32, 0.55), 0 0 0 1px rgba(13, 36, 32, 0.06); }
.form-card h2 { font-size: 2rem; margin-bottom: 0.4rem; }
.form-card > p { color: var(--ink-soft); margin-bottom: 2rem; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.2rem; }
.grid2 .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .grid2 { grid-template-columns: 1fr; } }
.field { position: relative; display: grid; gap: 0.45rem; align-content: start; }
.field > label { font-size: 0.88rem; font-weight: 600; }
.req { color: var(--suture); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 0.8rem 1rem; font: 500 1rem/1.4 var(--sans); color: var(--ink); background-color: var(--sky-field); border: 1px solid transparent; border-radius: 14px; transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%234a615c' stroke-width='1.6'/></svg>"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder { color: #5f8394; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: #f0f9fe; border-color: var(--suture); box-shadow: 0 0 0 4px rgba(107, 79, 163, 0.14); }
.field [aria-invalid="true"] { border-color: #b3261e; background-color: #fff7f6; }
.hint { font-size: 0.84rem; color: var(--ink-soft); }
.err { font-size: 0.84rem; color: #b3261e; }
.err:empty { display: none; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 0.8rem; align-items: start; color: var(--ink-soft); cursor: pointer; }
.field > label.consent { font-size: 0.93rem; font-weight: 400; }
.field .consent input { -webkit-appearance: auto; appearance: auto; width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0.15rem 0 0; border: 0; background: none; box-shadow: none; accent-color: var(--suture); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.form-foot small { color: var(--ink-soft); flex: 1 1 14rem; }
.form-foot .btn { min-width: 250px; }
.status { display: none; margin-top: 1.4rem; padding: 1.1rem 1.3rem; border-radius: 14px; }
.status.show { display: block; }
.status.ok { background: #e3f2ed; color: var(--night); border: 1px solid #b3d9cd; }
.status.no { background: #fbeeed; color: #74201a; border: 1px solid #efc6c2; }
.status strong { display: block; margin-bottom: 0.2rem; }
.status a { font-weight: 600; }
.aside { display: grid; gap: 1.2rem; }
.aside-card { border-radius: 26px; padding: clamp(1.5rem, 3vw, 2.2rem); overflow: hidden; }
.aside-card.dark h2 { font-size: 1.7rem; margin-bottom: 1.4rem; }
.aside-card address { font-style: normal; display: grid; gap: 0.9rem; color: var(--mist); }
.aside-card .phone { font-family: var(--serif); font-size: 2.1rem; font-weight: 300; color: var(--paper); text-decoration: none; }
.aside-card address a:not(.phone) { color: var(--paper); }
.map { display: block; width: 100%; aspect-ratio: 16 / 11; border: 0; border-radius: 16px; margin-top: 1.6rem; background: var(--night-2); filter: grayscale(0.35) contrast(1.05); }
.aside-card.plain { background: var(--sky-deep); }
.aside-card.plain h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.aside-card.plain ul { list-style: none; margin: 0; padding: 0; }
.aside-card.plain li { padding: 0.7rem 0 0.7rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; }
.aside-card.plain li:last-child { border-bottom: 0; }
.aside-card.plain li::before { content: ""; position: absolute; left: 0; top: 1.3rem; width: 0.8rem; border-top: 1.5px dashed var(--suture); }
.urgent { padding: 0.2rem 0 0.2rem 1.1rem; border-left: 2px solid var(--suture); color: var(--ink-soft); font-size: 0.95rem; }

.footer { padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 800px) { .footer__top { grid-template-columns: 1fr; } }
.footer__name { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; letter-spacing: -0.02em; }
.footer__name + p { color: var(--mist); margin-top: 0.7rem; }
.footer h2 { font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--mist); margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--lilac); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: 0.84rem; color: var(--mist); }


/* ===== Açık bölümler: ana sayfa girişindeki koyu ameliyathane rengi ===== */
.on-light {
  --ink: #eef3f0;
  --ink-soft: #b8cac4;
  --line: rgba(238, 243, 240, 0.14);
  --suture: #b49cf0;
  --sky: #061412;
  --sky-soft: #0d2420;
  --sky-deep: #12302b;
  --sky-field: rgba(238, 243, 240, 0.06);
  position: relative;
  color: var(--ink);
  background: radial-gradient(900px 600px at 80% 0%, rgba(255, 236, 200, 0.045), transparent 60%), var(--deep);
  isolation: isolate;
}
.on-light::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); opacity: 0.06; mix-blend-mode: overlay; }
.light-section.on-light, .cta.on-light { border-top: 1px solid var(--line); }
.on-light .facts, .on-light .register, .on-light .who { border-top-color: rgba(238, 243, 240, 0.45); }
.on-light .seg-light button[aria-pressed="true"] { background: var(--paper); color: var(--night); }
.on-light .btn-dark { background: var(--paper); color: var(--night); }
.on-light .btn-dark:hover { background: #fff; color: var(--night); }
.on-light .form-card { box-shadow: 0 0 0 1px var(--line), 0 50px 90px -50px rgba(0, 0, 0, 0.85); }
.on-light .aside-card.dark { box-shadow: 0 0 0 1px var(--line); }
.on-light .field input, .on-light .field select, .on-light .field textarea { color-scheme: dark; border-color: rgba(238, 243, 240, 0.08); }
.on-light .field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23b8cac4' stroke-width='1.6'/></svg>"); }
.on-light .field select option { background: #0d2420; color: #eef3f0; }
.on-light .field input::placeholder, .on-light .field textarea::placeholder { color: #7f9893; }
.on-light .field input:hover, .on-light .field select:hover, .on-light .field textarea:hover { border-color: rgba(238, 243, 240, 0.22); }
.on-light .field input:focus, .on-light .field select:focus, .on-light .field textarea:focus { background-color: rgba(238, 243, 240, 0.1); box-shadow: 0 0 0 4px rgba(180, 156, 240, 0.2); }
.on-light .field [aria-invalid="true"] { border-color: #ff8a80; background-color: rgba(255, 90, 95, 0.1); }
.on-light .err { color: #ff9e96; }
.on-light .status.ok { background: rgba(116, 203, 182, 0.12); color: var(--paper); border-color: rgba(116, 203, 182, 0.45); }
.on-light .status.no { background: rgba(255, 90, 95, 0.1); color: #ffd9d6; border-color: rgba(255, 138, 128, 0.45); }
.on-light .status a { color: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
  .suture .thread { stroke-dashoffset: 0; }
  .suture .stitches line { opacity: 1; }
  .card { transform: none !important; }
}

/* ===== Çok sayfalı yapı için ek stiller ===== */
.seg-links { align-items: center; }
.seg-links a { display: block; padding: 0.7rem 1.2rem; border-radius: 999px; text-decoration: none; color: var(--mist); font-weight: 600; font-size: 0.92rem; white-space: nowrap; transition: background-color 0.3s, color 0.3s; }
.seg-links a:hover { color: var(--paper); }
.seg-links a[aria-current="page"] { background: var(--paper); color: var(--night); }
@media (max-width: 760px) { .or-dock .seg-links a { flex: 1; text-align: center; padding: 0.7rem 0.4rem; font-size: 0.85rem; } }

.op-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.75rem); }
@media (max-width: 880px) { .op-list { grid-template-columns: 1fr; } }
.op-card { display: flex; flex-direction: column; gap: 0.9rem; padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 22px; background: rgba(238, 243, 240, 0.03); }
.op-card h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.op-card p { color: var(--ink-soft); flex: 1; }
.op-card .btn { align-self: start; }

.more-ops { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.more-ops h2 { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 1rem; }
.more-ops ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.more-ops a { display: inline-flex; align-items: center; min-height: 48px; padding: 0.6rem 1.3rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; }
.more-ops a:hover { border-color: var(--lilac); }
