/* Tema: Ela (güzellik, kuaför). Yön: sabitlenmiş afiş. Ad iki köşeye bölünür, aradan fotoğraflar geçer. */
:root {
  --bg: #1a2039;
  --surface: #212846;
  --ink: #f9a3c0;
  --muted: #d9a6bb;
  --accent: #f9a3c0;
  --accent-ink: #1a2039;
  --text: 'Switzer', system-ui, sans-serif;

  --step-small: 1rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  --word: clamp(72px, 9vw, 140px);
  --m: 28px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.5 var(--text); letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, p, ul, dl, dd { margin: 0; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); background: var(--ink); color: var(--bg); z-index: 40; }
.skip:focus { width: auto; height: auto; clip: auto; left: 16px; top: 8px; padding: 12px 16px; }
h2 { font: 600 var(--step-head)/1 var(--text); letter-spacing: -0.04em; }
.small, .note { color: var(--muted); font-size: var(--step-small); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; background: var(--accent); color: var(--accent-ink); font: 600 var(--step-body)/1 var(--text); text-decoration: none; border: 0; border-radius: 0; cursor: pointer; transition: transform .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }

/* Sabit afiş: üç ekran boyunca ad iki köşede durur */
.story { height: 250svh; position: relative; }
.stage { position: sticky; top: 0; height: 100svh; padding: var(--m); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 20px; }
.word { font: 600 var(--word)/0.85 var(--text); letter-spacing: -0.05em; margin: 0; }
.corner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.corner nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.corner nav a:not(.btn) { text-decoration: none; padding: 12px 0; }
.corner nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; }
.corner.bottom { align-items: flex-end; }
.sub { color: var(--muted); }
.window { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: stretch; min-height: 0; padding-inline: clamp(0px, 6vw, 120px); }
.photo { position: relative; overflow: hidden; background: var(--surface); min-height: 0; }
.photo img, .svc-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease, transform 1.6s ease; transform: scale(1.04); }
.photo img.on, .svc-pic img.on { opacity: 1; transform: none; }
.says { display: grid; align-content: center; justify-items: start; }
.say { font: 500 clamp(1.5rem, 1rem + 1.4vw, 2.25rem)/1.2 var(--text); letter-spacing: -0.03em; max-width: 17em; transition: opacity .35s ease, transform .35s ease; }
.say.swap { opacity: 0; transform: translateY(12px); }
.live { margin-top: 24px; font-weight: 500; }

/* Hizmetler */
.svc { padding: clamp(96px, 12vw, 180px) var(--m) 0; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc-list { display: grid; gap: 18px; max-width: 640px; }
.svc ul { list-style: none; display: grid; gap: 2px; margin-top: 8px; }
.svc button { width: 100%; display: flex; justify-content: space-between; gap: 20px; align-items: baseline; text-align: left; min-height: 56px; padding: 12px 0; background: transparent; color: inherit; border: 0; font: 500 var(--step-lead)/1.2 var(--text); letter-spacing: -0.02em; cursor: pointer; transition: padding .22s ease, background .22s ease; }
.svc button b { font-weight: 500; white-space: nowrap; }
.svc button:hover, .svc button:focus-visible, .svc button.active { background: var(--surface); padding-left: 16px; padding-right: 16px; }
.svc-pic { position: sticky; top: 24px; aspect-ratio: 4 / 5; max-height: calc(100svh - 48px); width: 100%; justify-self: end; overflow: hidden; background: var(--surface); }

/* Ekip */
.team { padding: clamp(96px, 12vw, 180px) var(--m) 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px var(--m); }
.team dl { display: grid; gap: 28px; max-width: 640px; }
.team dt { font: 600 var(--step-lead)/1.2 var(--text); letter-spacing: -0.02em; }
.team dd { color: var(--muted); max-width: 32em; }
.team .small { grid-column: 2; }

/* Randevu */
.contact { padding: clamp(96px, 12vw, 180px) var(--m) clamp(64px, 9vw, 140px); display: grid; gap: clamp(28px, 4vw, 56px); }
.mail { font: 600 clamp(2rem, 1rem + 6.6vw, 7.5rem)/0.95 var(--text); letter-spacing: -0.05em; text-decoration: none; overflow-wrap: anywhere; }
.mail:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 10px; }
.rez { display: grid; gap: 22px; max-width: 1000px; }
.rez fieldset { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px var(--m); }
.rez legend { padding: 0; margin-bottom: 12px; font-weight: 600; }
.rez label { display: grid; gap: 6px; font-weight: 500; }
.rez input, .rez select { font: 400 var(--step-body)/1 var(--text); color: var(--ink); background: var(--surface); border: 0; border-radius: 0; min-height: 52px; padding: 0 14px; width: 100%; color-scheme: dark; }
.rez .btn { justify-self: start; }
.hint { color: var(--muted); font-size: var(--step-small); }

/* Alt bilgi: yarısı fotoğraf, yarısı menü */
.foot { display: grid; grid-template-columns: 1fr 1fr; min-height: 70svh; background: var(--surface); }
.foot figure { position: relative; min-height: 100%; }
.foot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foot-text { padding: clamp(24px, 4vw, 64px); display: grid; align-content: space-between; gap: 32px; }
.foot nav { display: grid; gap: 2px; font: 600 clamp(2rem, 1.2rem + 3vw, 4rem)/1.05 var(--text); letter-spacing: -0.04em; }
.foot nav a { text-decoration: none; padding: 4px 0; width: fit-content; }
.foot nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.credit { color: var(--muted); font-size: var(--step-small); max-width: 50ch; margin-top: 16px; }

/* Hareket */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-rise].in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo img, .svc-pic img, .say { transition: none; transform: none; }
  .btn, .svc button { transition: none; }
}

@media (max-width: 860px) {
  :root { --m: 16px; --word: 15vw; }
  .story { height: 250svh; }
  .corner nav a:not(.btn) { display: none; }
  .window { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; padding-inline: 0; }
  .say { font-size: 1.35rem; }
  .sub { display: none; }
  .svc { grid-template-columns: 1fr; }
  .svc-pic { position: relative; top: 0; order: -1; max-height: 56svh; aspect-ratio: 4 / 3; }
  .team { grid-template-columns: 1fr; }
  .team .small { grid-column: 1; }
  .rez fieldset { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .foot figure { min-height: 50svh; }
}
