/* =====================================================================
   AYBERG: stil dosyası
   Renkler ve fontlar en üstteki :root bloğunda tanımlı.
   ===================================================================== */

/* ---------- Fontlar (self-host, Türkçe karakter alt kümeleriyle) ---------- */
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../assets/fonts/baloo2-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../assets/fonts/baloo2-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tasarım değişkenleri ---------- */
:root {
  --ink: #1d1a33;
  --ink-soft: #3a3657;
  --cream: #fff6e5;
  --paper: #fffdf7;
  --sun: #ffd23f;
  --sun-soft: #ffe9a8;
  --sky: #bfe6f7;
  --night: #1d2150;
  --night-2: #2b3172;
  --coral: #ff9b7a;
  --pink: #ff5c8a;
  --mint: #4fd8b0;
  --yt: #d92a1c;
  --focus: #6b2fd6;

  --f-display: "Baloo 2", "Nunito", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad-t: clamp(4.5rem, 10svh, 6.5rem);
  --pad-b: clamp(6rem, 13svh, 7.5rem);
  --pad-x: clamp(1.25rem, 6vw, 6rem);
  --radius: 22px;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--cream);
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Görünür odak stili */
:focus { outline: none; }
:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 4px;
  border-radius: 10px;
}
.panel:focus-visible { outline: none; }

.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100;
  padding: 0.6rem 1rem; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font: 700 1rem var(--f-display); text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; outline-color: var(--sun); }

/* ---------- İlerleme çubuğu ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 6px; z-index: 60;
  background: rgba(29, 26, 51, 0.12);
  pointer-events: none;
}
.progress__bar {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--sun) 50%, var(--mint));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- Bölüm navigasyonu (noktalar) ---------- */
.dots {
  position: fixed; z-index: 60;
  left: 50%; bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.25rem;
  box-shadow: 4px 4px 0 var(--ink);
}
.dots__list { display: flex; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.dots__link {
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-width: 2.4rem; min-height: 2.4rem; padding: 0 0.6rem;
  border-radius: 999px;
  color: var(--ink); text-decoration: none;
  font: 700 0.95rem/1 var(--f-display);
}
.dots__link:hover .dots__dot { background: var(--sun); }
.dots__dot {
  flex: none; width: 0.8rem; height: 0.8rem; border-radius: 50%;
  border: 2.5px solid var(--ink); background: transparent;
}
.dots__label {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.dots__link[aria-current="true"] { background: var(--sun); }
.dots__link[aria-current="true"] .dots__dot { background: var(--ink); }
.dots__link[aria-current="true"] .dots__label {
  position: static; width: auto; height: auto; overflow: visible; clip: auto;
  padding-top: 0.1em;
}
.dots__link:focus-visible { outline-offset: 2px; }

/* ---------- Ortak tipografi ve bileşenler ---------- */
.kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.3rem 0.85rem 0.2rem;
  border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font: 700 0.85rem/1.2 var(--f-display);
  letter-spacing: 0.08em; text-transform: uppercase;
  rotate: -2deg;
}
.kicker--light { background: var(--sun); color: var(--ink); }
.h2 {
  font: 800 clamp(2rem, min(4.2vw, 7svh), 3.6rem)/1.05 var(--f-display);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h3 { font: 800 clamp(1.3rem, 2vw, 1.6rem)/1.15 var(--f-display); }
.eyebrow { font: 700 clamp(1.05rem, 1.6vw, 1.35rem)/1.2 var(--f-display); color: var(--ink-soft); }

.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.8rem 1.35rem 0.7rem;
  border: 3px solid var(--ink); border-radius: 999px;
  font: 800 clamp(1.05rem, 1.4vw, 1.2rem)/1.1 var(--f-display);
  text-decoration: none; cursor: pointer;
  background: var(--paper); color: var(--ink);
  box-shadow: 5px 5px 0 var(--btn-shadow, var(--ink));
  transition: transform 0.15s ease;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn:active { transform: translate(3px, 3px); }
.btn__icon { width: 1.6rem; height: 1.25rem; flex: none; }
.btn--yt { background: var(--yt); color: #fff; }
.btn--yt .btn__icon { color: #fff; --tri: var(--yt); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn--ghost { --btn-shadow: var(--pink); }
.btn--ghost .btn__icon { width: 1.3rem; height: 1.3rem; }

.sticker {
  position: absolute; z-index: 2;
  padding: 0.35rem 0.9rem 0.2rem;
  border: 3px solid var(--ink); border-radius: 16px;
  background: var(--sun); color: var(--ink);
  font: 800 clamp(1.1rem, 1.6vw, 1.4rem)/1.1 var(--f-display);
  box-shadow: 3px 3px 0 var(--ink);
}

/* Paneller arası el çizimi dalgalı kenar */
.edge { display: none; }

/* Süslemeler */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco svg { width: 100%; height: 100%; overflow: visible; }

@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes nudge { 50% { transform: translateX(8px); } }
@keyframes pop { from { opacity: 0; transform: scale(0.94) translateY(12px); } }
@keyframes fade { from { opacity: 0; } }

.float { animation: float 6s ease-in-out infinite; }
.float--slow { animation-duration: 9s; }
.twinkle { animation: twinkle 3.2s ease-in-out infinite; }

/* =====================================================================
   PANELLER (varsayılan: dikey düzen — JS yoksa / hareket azaltılmışsa)
   ===================================================================== */
.panel {
  position: relative;
  padding: var(--pad-t) var(--pad-x) var(--pad-b);
  overflow: hidden;
  overflow: clip;
}

/* ---------- 1. Giriş ---------- */
.panel--hero {
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='13' cy='13' r='1.7' fill='%231d1a33' fill-opacity='.09'/%3E%3C/svg%3E");
  background-size: 26px 26px;
  --photo-w: min(30vw, 44svh);
}
.hero {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: auto minmax(0, 34rem);
  align-items: center; gap: clamp(2rem, 5vw, 5.5rem);
}
.hero__art { position: relative; justify-self: center; }
.hero__frame {
  width: var(--photo-w); aspect-ratio: 3 / 4;
  border: 4px solid var(--ink);
  border-radius: 46% 54% 44% 56% / 38% 40% 60% 62%;
  overflow: hidden;
  background: var(--sun);
  box-shadow: 12px 12px 0 var(--ink);
  rotate: -2deg;
}
.hero__photo { width: 100%; height: 100%; object-fit: cover; }
.sticker--hi { top: 6%; right: -12%; rotate: 9deg; }
.hero__star { position: absolute; z-index: 2; }
.hero__star--a { width: 3.4rem; height: 3.4rem; left: -8%; bottom: 14%; color: var(--pink); rotate: -12deg; }
.hero__star--b { width: 2.2rem; height: 2.2rem; right: -4%; bottom: 4%; color: var(--mint); }

.hero__title {
  font: 800 clamp(3.5rem, min(20vw, 13svh), 9.5rem)/0.9 var(--f-display);
  letter-spacing: -0.02em;
  margin-top: 0.15em;
  color: var(--ink);
  text-shadow: 0.045em 0.045em 0 var(--sun);
}
.hero__title .ch { display: inline-block; }
.hero__title .ch:nth-child(odd) { rotate: -3deg; }
.hero__title .ch:nth-child(even) { rotate: 2deg; translate: 0 -0.03em; }
.hero__title .ch:nth-child(3n) { color: var(--pink); text-shadow: 0.045em 0.045em 0 var(--ink); }
.hero__squiggle { width: min(16rem, 60%); height: 1.4rem; color: var(--mint); margin: 0.2rem 0 0.9rem; }
.hero__slogan { font: 800 clamp(1.3rem, min(2.3vw, 3.6svh), 2.1rem)/1.15 var(--f-display); max-width: 22ch; text-wrap: balance; }
.hero__lead { margin-top: 0.7rem; max-width: 36ch; color: var(--ink-soft); }
.hero__actions { margin-top: clamp(1rem, 3svh, 1.8rem); }

.hint { display: none; }

.deco--sun { top: 9%; right: 7%; width: clamp(6rem, 13vmin, 10rem); aspect-ratio: 1; }
.sun {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--sun); border: 4px solid var(--ink);
}
.sun::before {
  content: ""; position: absolute; inset: -22%; border-radius: 50%;
  border: 4px dashed var(--ink); opacity: 0.55;
  animation: spin 40s linear infinite;
}
.deco--cloud-a { top: 12%; left: 3%; width: clamp(6rem, 12vw, 10rem); aspect-ratio: 124 / 64; color: #fff; }
.deco--cloud-b { bottom: 16%; right: 20%; width: clamp(5rem, 9vw, 7.5rem); aspect-ratio: 124 / 64; color: var(--sky); }
.deco--spiral { bottom: 12%; left: 6%; width: 3.2rem; aspect-ratio: 1; color: var(--pink); }

/* ---------- 2. Hakkımda ---------- */
.panel--about {
  background-color: var(--sky);
  --edge: var(--sky);
}
.panel--about::before, .panel--about::after {
  content: ""; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none;
}
.panel--about::before { width: 18rem; height: 18rem; right: 6%; top: 4%; background: rgba(255, 255, 255, 0.55); }
.panel--about::after { width: 12rem; height: 12rem; left: 5%; bottom: 2%; background: rgba(255, 255, 255, 0.4); }
.about {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: clamp(2rem, 5vw, 5rem);
}
.about__intro { flex: none; width: min(32rem, 84vw); }
.about__what { flex: none; width: min(30rem, 84vw); }
.about__text { margin-top: 1rem; font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem); }
.about__text::first-letter {
  float: left; font: 800 3.4em/0.85 var(--f-display); margin: 0.06em 0.12em 0 0; color: var(--pink);
  text-shadow: 2px 2px 0 var(--ink);
}
.features { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.feature {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 3rem 1fr; gap: 0.9rem; align-items: start;
  padding: 0.95rem 1.1rem;
  background: var(--paper);
  border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: 7px 7px 0 0 var(--c, var(--sun)), 7px 7px 0 3px var(--ink);
}
.feature:nth-child(1) { --c: var(--sun); rotate: -1deg; }
.feature:nth-child(2) { --c: var(--pink); rotate: 0.8deg; margin-left: 1.2rem; }
.feature:nth-child(3) { --c: var(--mint); rotate: -0.6deg; }
.feature__icon { width: 3rem; height: 3rem; color: var(--c); }
.feature__title { font: 800 1.2rem/1.15 var(--f-display); margin-top: 0.15rem; }
.feature__text { font-size: 0.98rem; line-height: 1.45; margin-top: 0.2rem; color: var(--ink-soft); }

.deco--cloud-c { top: 9%; left: 8%; width: clamp(6rem, 10vw, 9rem); aspect-ratio: 124 / 64; color: #fff; }
.deco--heart { bottom: 13%; right: 8%; width: 3rem; aspect-ratio: 40 / 36; color: var(--pink); }
.deco--sparkle-a { top: 14%; right: 14%; width: 2.6rem; aspect-ratio: 1; color: var(--sun); }

/* ---------- 3. Videolar ---------- */
.panel--videos {
  background-color: var(--night);
  background-image:
    radial-gradient(ellipse at 30% 110%, rgba(107, 47, 214, 0.45), transparent 60%),
    radial-gradient(ellipse at 85% -10%, rgba(255, 92, 138, 0.25), transparent 55%);
  color: var(--cream);
  --focus: var(--sun);
  --edge: var(--night);
  --cw: min(var(--cw-max, 34vw), calc((100svh - 17.5rem) * 0.8889));
}
.videos {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: clamp(2rem, 5vw, 4.5rem);
}
.videos__intro { position: relative; flex: none; width: min(21rem, 80vw); }
.videos__text { margin-top: 1rem; color: #e9e3f7; }
.videos__sparkle { width: 2.4rem; height: 2.4rem; color: var(--sun); margin-top: 1.4rem; }

.vgrid {
  list-style: none; margin: 0; padding: 0 calc(var(--cw) * 0.4) 0 0;
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto);
  grid-auto-columns: var(--cw);
  gap: 1.6rem clamp(1.5rem, 3vw, 2.6rem);
}
.vgrid > li:nth-child(even) { translate: calc(var(--cw) * 0.4) 0; }

.vcard {
  display: block; width: 100%;
  padding: 0; margin: 0; border: 0; background: none;
  text-align: left; cursor: pointer; color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.vcard:focus-visible { outline: none; }
.vcard__frame { position: relative; display: block; isolation: isolate; }
.vgrid > li:nth-child(4n+1) .vcard__frame { rotate: -1.6deg; --c: var(--sun); }
.vgrid > li:nth-child(4n+2) .vcard__frame { rotate: 1.2deg; --c: var(--pink); }
.vgrid > li:nth-child(4n+3) .vcard__frame { rotate: 1deg; --c: var(--mint); }
.vgrid > li:nth-child(4n+4) .vcard__frame { rotate: -1deg; --c: var(--coral); }
.vcard__frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: var(--radius); background: var(--c, var(--sun));
  transform: translate(9px, 9px);
  transition: transform 0.2s ease;
}
.vcard__media {
  position: relative; display: block; aspect-ratio: 16 / 9;
  border: 4px solid var(--cream); border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 246, 229, 0.12) 0 2.2rem, transparent 2.3rem),
    var(--night-2);
  transition: transform 0.2s ease;
}
.vcard__poster, .vcard__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.45s ease;
}
.vcard.is-loaded .vcard__poster { opacity: 1; }
.vcard.has-video .vcard__video { opacity: 1; }
.vcard__play {
  position: absolute; left: 0.7rem; bottom: 0.7rem; z-index: 1;
  display: grid; place-items: center;
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  background: var(--sun); color: var(--ink);
  border: 3px solid var(--ink);
  transition: transform 0.2s ease;
}
.vcard__play svg { width: 1.5rem; height: 1.5rem; margin-left: 2px; }
.vcard__title {
  display: inline-block; margin-top: 0.85rem;
  padding: 0.3rem 0.85rem 0.15rem;
  border: 3px solid var(--ink); border-radius: 999px;
  background: var(--cream); color: var(--ink);
  font: 800 clamp(0.98rem, 1.2vw, 1.1rem)/1.2 var(--f-display);
  rotate: -1.5deg;
}
.vcard:hover .vcard__media, .vcard:focus-visible .vcard__media { transform: translate(-3px, -3px); }
.vcard:hover .vcard__frame::before, .vcard:focus-visible .vcard__frame::before { transform: translate(12px, 12px); }
.vcard:hover .vcard__play, .vcard:focus-visible .vcard__play { transform: scale(1.12); }
.vcard:focus-visible .vcard__media { outline: 4px solid var(--sun); outline-offset: 5px; }

.deco--moon { top: 9%; left: clamp(11rem, 22vw, 20rem); width: clamp(4.5rem, 8vw, 7rem); aspect-ratio: 1; color: var(--sun-soft); }
.starfield { position: absolute; inset: 0; pointer-events: none; }
.stars { position: absolute; inset: 0; }
.starfield span {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: var(--cream);
  animation: twinkle 3s ease-in-out infinite;
}
.stars--a span:nth-child(1) { top: 12%; left: 8%; }
.stars--a span:nth-child(2) { top: 22%; left: 34%; animation-delay: -1s; }
.stars--a span:nth-child(3) { top: 8%; left: 58%; animation-delay: -2s; }
.stars--a span:nth-child(4) { top: 88%; left: 22%; animation-delay: -0.5s; }
.stars--a span:nth-child(5) { top: 82%; left: 66%; animation-delay: -1.6s; }
.stars--a span:nth-child(6) { top: 16%; left: 86%; animation-delay: -2.4s; }
.stars--b span { width: 8px; height: 8px; background: var(--sun); }
.stars--b span:nth-child(1) { top: 6%; left: 20%; animation-delay: -0.8s; }
.stars--b span:nth-child(2) { top: 92%; left: 45%; animation-delay: -1.9s; }
.stars--b span:nth-child(3) { top: 14%; left: 74%; animation-delay: -0.3s; }
.stars--b span:nth-child(4) { top: 90%; left: 88%; animation-delay: -2.7s; }
.stars--b span:nth-child(5) { top: 96%; left: 8%; animation-delay: -1.2s; }

/* ---------- 4. İletişim ---------- */
.panel--contact {
  background-color: var(--coral);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 0H20L0 20ZM40 0V20L20 40H0Z' fill='%23fff' fill-opacity='.12'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  --edge: var(--coral);
}
.postcard {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr;
  width: min(62rem, 88vw);
  background: var(--paper);
  border: 4px solid var(--ink); border-radius: 26px;
  box-shadow: 12px 12px 0 var(--ink);
  rotate: -1deg;
}
.postcard__message, .postcard__address { padding: clamp(1.4rem, 3vw, 2.6rem); }
.postcard__message { border-right: 3px dashed rgba(29, 26, 51, 0.35); }
.postcard__text { margin-top: 1rem; color: var(--ink-soft); }
.postcard__sign {
  margin-top: 1.2rem; font: 700 1.35rem/1.1 var(--f-display); color: var(--pink);
  rotate: -3deg; transform-origin: left;
  text-shadow: 1px 1px 0 var(--ink);
}
.postcard__address { position: relative; display: flex; flex-direction: column; }
.stamp {
  align-self: flex-end; position: relative;
  width: 5.2rem; height: 6rem; padding: 6px;
  background: #fff; border: 2px dashed var(--ink); border-radius: 6px;
  rotate: 4deg;
}
.stamp__img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.stamp__postmark {
  position: absolute; left: -2.4rem; top: 1.2rem;
  width: 4.4rem; height: 4.4rem; border-radius: 50%;
  border: 3px solid rgba(29, 26, 51, 0.55);
  background: repeating-linear-gradient(0deg, transparent 0 9px, rgba(29, 26, 51, 0.45) 9px 11px);
  rotate: -12deg;
}
.postcard__to { margin-top: 0.6rem; font: 700 1.1rem/1.3 var(--f-display); }
.postcard__to strong { font-weight: 800; }
.contact-list { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.contact-link {
  display: grid; grid-template-columns: 2.7rem 1fr; gap: 0.75rem; align-items: center;
  padding: 0.5rem 0.4rem 0.55rem;
  border-bottom: 2px dotted rgba(29, 26, 51, 0.45);
  text-decoration: none;
  transition: transform 0.15s ease;
}
.contact-link:hover { transform: translateX(4px); }
.contact-link:hover .contact-link__value { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.contact-link__icon {
  display: grid; place-items: center; width: 2.7rem; height: 2.7rem;
  border-radius: 50%; border: 3px solid var(--ink); background: var(--sun);
}
.contact-link__icon svg { width: 1.35rem; height: 1.35rem; }
.contact-link--email .contact-link__icon { background: var(--pink); }
.contact-link--yt .contact-link__icon { background: var(--yt); color: #fff; --tri: var(--yt); }
.contact-link--yt .contact-link__icon svg { width: 1.45rem; height: 1.1rem; }
.contact-link__label { display: block; font: 700 0.85rem/1.2 var(--f-display); color: var(--ink-soft); letter-spacing: 0.02em; }
.contact-link__value { display: block; font-weight: 800; font-size: 1.05rem; line-height: 1.25; overflow-wrap: break-word; }

.deco--cloud-d { top: 8%; left: 10%; width: clamp(6rem, 11vw, 9rem); aspect-ratio: 124 / 64; color: var(--cream); }
.deco--star-c { bottom: 12%; right: 9%; width: 3.4rem; aspect-ratio: 1; color: var(--sun); }

/* ---------- 5. Son ---------- */
.panel--end {
  background-color: var(--sun);
  --focus: var(--ink);
  --edge: var(--sun);
  text-align: center;
}
.panel--end::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-100 -100 200 200' preserveAspectRatio='xMidYMid slice'%3E%3Cpath d='M0 0L200.0 0.0L193.2 51.8ZM0 0L173.2 100.0L141.4 141.4ZM0 0L100.0 173.2L51.8 193.2ZM0 0L0.0 200.0L-51.8 193.2ZM0 0L-100.0 173.2L-141.4 141.4ZM0 0L-173.2 100.0L-193.2 51.8ZM0 0L-200.0 0.0L-193.2 -51.8ZM0 0L-173.2 -100.0L-141.4 -141.4ZM0 0L-100.0 -173.2L-51.8 -193.2ZM0 0L-0.0 -200.0L51.8 -193.2ZM0 0L100.0 -173.2L141.4 -141.4ZM0 0L173.2 -100.0L193.2 -51.8Z' fill='%23fff' fill-opacity='.28'/%3E%3C/svg%3E");
  background-size: cover; background-position: 50% 46%; background-repeat: no-repeat;
}
.panel--end > .iris { margin-inline: auto; }
.iris {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem;
  width: min(30rem, 82vw); aspect-ratio: 1;
  padding: 2rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2d2950, var(--ink) 70%);
  color: var(--cream);
  box-shadow: 0 0 0 10px var(--cream), 0 0 0 14px var(--ink);
  --focus: var(--sun);
}
.iris__title { font: 800 clamp(2.8rem, min(7vw, 9svh), 5rem)/0.95 var(--f-display); }
.iris__sub {
  display: block; color: var(--sun);
  font-size: 0.55em; rotate: -6deg; margin-top: 0.15em;
}
.iris__text { color: #e9e3f7; margin-bottom: 0.4rem; }
.copyright { position: relative; z-index: 1; margin-top: 2.2rem; font: 700 0.95rem/1.3 var(--f-display); }

/* =====================================================================
   DİKEY DÜZEN AYARLARI (yatay mod kapalıyken)
   ===================================================================== */
html:not(.h-mode) .panel--hero { min-height: 100svh; display: grid; place-items: center; }
/* Dikey akışta süsler metinlerin üstüne binmesin */
html:not(.h-mode) .panel:not(.panel--hero) .deco { display: none; }
html:not(.h-mode) .panel--hero .deco--cloud-b,
html:not(.h-mode) .panel--hero .deco--spiral { display: none; }
html:not(.h-mode) .about,
html:not(.h-mode) .videos { flex-wrap: wrap; justify-content: center; }
html:not(.h-mode) .panel--about,
html:not(.h-mode) .panel--contact,
html:not(.h-mode) .panel--end { display: grid; place-items: center; }
html:not(.h-mode) .videos { flex-direction: column; align-items: stretch; }
html:not(.h-mode) .videos__intro { width: auto; max-width: 40rem; }
html:not(.h-mode) .vgrid {
  grid-auto-flow: row; grid-template-rows: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  padding: 0; width: min(76rem, 100%);
}
html:not(.h-mode) .vgrid > li:nth-child(even) { translate: none; }
@media (max-width: 760px) {
  html:not(.h-mode) .hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  html:not(.h-mode) .panel--hero { --photo-w: min(58vw, 34svh); }
  html:not(.h-mode) .postcard { grid-template-columns: 1fr; }
  html:not(.h-mode) .postcard__message { border-right: 0; border-bottom: 3px dashed rgba(29, 26, 51, 0.35); }
}

/* =====================================================================
   YATAY MOD (JS ile html.h-mode eklenir)
   ===================================================================== */
.h-mode .hscroll { position: relative; }
.h-mode .stage {
  position: sticky; top: 0;
  /* 100lvh sabittir: Safari'nin adres çubuğu küçülüp büyürken sahne yeniden
     yerleşmez. İçerik, çubuk açıkken de görünen alanda (svh) kalsın diye
     alttaki boşluk farkı kadar büyütülür. */
  height: 100vh; height: 100lvh;
  overflow: hidden; overflow: clip;
}
@supports (height: 100lvh) {
  .h-mode .panel { padding-bottom: calc(var(--pad-b) + (100lvh - 100svh)); }
}
.h-mode .deco { will-change: transform; }

/* --- Kaydırmaya bağlı CSS animasyonları (html.sda) ---
   Dikey scroll ilerlemesi doğrudan CSS'e bağlanır; tarayıcı bunu kendi
   kompozit katmanında hesaplar (Safari 26.4+, Chrome 115+). Aralık değerleri
   (--hs-r0, --hs-r1, --hs-dist, --px0, --px1) main.js tarafından ölçülür. */
@keyframes hs-track { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(var(--hs-dist, 0px) * -1), 0, 0); } }
@keyframes hs-deco { from { transform: translate3d(var(--px0, 0px), 0, 0); } to { transform: translate3d(var(--px1, 0px), 0, 0); } }
@keyframes hs-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.h-mode.sda .track,
.h-mode.sda .deco[data-depth],
.h-mode.sda .progress__bar {
  animation-timing-function: linear;
  animation-fill-mode: both;
  animation-duration: 1ms;
  animation-duration: auto;
  animation-timeline: scroll(root block);
  animation-range: var(--hs-r0, 0px) var(--hs-r1, 100%);
}
.h-mode.sda .track { animation-name: hs-track; }
.h-mode.sda .deco[data-depth] { animation-name: hs-deco; }
.h-mode.sda .progress__bar { animation-name: hs-bar; will-change: transform; }

/* --- Çizimi pahalı öğeler kendi katmanında: kayarken yeniden çizilmezler --- */
.h-mode .hero__frame,
.h-mode .postcard,
.h-mode .iris,
.h-mode .panel--end::before { will-change: transform; }
/* Beliren öğeler animasyon başlarken/bitince katman değiştirmesin */
.h-mode .reveal { will-change: opacity, transform; }
.h-mode .track {
  display: flex; height: 100%; width: max-content;
  will-change: transform;
}
.h-mode .panel {
  flex: none; height: 100%;
  min-width: var(--vw, 100vw);
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
.h-mode .panel:not(:last-child) { padding-right: calc(var(--pad-x) + 30px); }
.h-mode .panel--hero, .h-mode .panel--contact, .h-mode .panel--end { width: var(--vw, 100vw); }
.h-mode .hero { max-width: 100%; }
.h-mode .panel--end { flex-direction: column; }
.h-mode .edge {
  display: block; position: absolute; top: 0; left: 0; z-index: 2;
  width: 40px; height: 100%;
  transform: translateX(-38px);
  color: var(--edge);
  pointer-events: none;
}
.h-mode .hint {
  display: flex; align-items: center; gap: 0.6rem;
  margin-top: clamp(1rem, 3.5svh, 2.2rem);
  font: 700 1rem/1.2 var(--f-display); color: var(--ink-soft);
}
.hint span { white-space: nowrap; }
.hint__arrow { flex: none; width: 3.6rem; height: 1.6rem; color: var(--pink); animation: nudge 1.6s ease-in-out infinite; }

/* Görünür olunca beliren öğeler */
.h-mode .reveal { opacity: 0; transform: translateY(22px); }
.h-mode .is-in .reveal {
  opacity: 1; transform: none;
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* --- Telefon (dikey) --- */
@media (orientation: portrait) {
  .panel--hero { --photo-w: min(52vw, 25svh); }
  .h-mode .hero { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: clamp(1.2rem, 3.5svh, 2.4rem); }
  .h-mode .hero__squiggle { margin-inline: auto; }
  .h-mode .hero__slogan, .h-mode .hero__lead { margin-inline: auto; }
  .h-mode .hint { justify-content: center; }
  .deco--sun { top: 5%; right: -6%; }
  .deco--cloud-a { top: 7%; }
  .deco--cloud-b { top: 30%; bottom: auto; left: -1.5rem; right: auto; }
  .deco--spiral { top: 41%; bottom: auto; right: 9%; left: auto; }
}
@media (max-width: 699px) {
  :root { --pad-x: 7vw; }
  .panel--videos { --cw-max: 80vw; }
  .h-mode .videos__intro { width: 68vw; }
  .contact-link { grid-template-columns: 2.4rem 1fr; gap: 0.65rem; }
  .contact-link__icon { width: 2.4rem; height: 2.4rem; }
  .contact-link__value { font-size: clamp(0.92rem, 4.3vw, 1.05rem); }
  .h2 { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
  .feature { padding: 0.8rem 0.9rem; grid-template-columns: 2.5rem 1fr; gap: 0.75rem; }
  .feature__icon { width: 2.5rem; height: 2.5rem; }
  .feature:nth-child(2) { margin-left: 0.6rem; }
  .dots__link { min-width: 2.25rem; min-height: 2.25rem; padding: 0 0.5rem; }
}
@media (max-width: 699px) and (min-height: 561px) {
  .h-mode .postcard { grid-template-columns: 1fr; width: 86vw; }
  .h-mode .postcard__message { border-right: 0; border-bottom: 3px dashed rgba(29, 26, 51, 0.35); padding-bottom: 1rem; }
  .h-mode .postcard__address { padding-top: 1rem; }
  .h-mode .stamp { position: absolute; top: -2.2rem; right: 1rem; width: 4rem; height: 4.6rem; }
  .h-mode .stamp__postmark { width: 3.4rem; height: 3.4rem; left: -1.9rem; }
  .h-mode .postcard__to { margin-top: 0; padding-right: 4.5rem; }
  .h-mode .postcard__sign { display: none; }
}
@media (min-width: 700px) and (max-width: 1100px) {
  .panel--videos { --cw-max: 56vw; }
}

/* --- Kısa ekranlar (yatay telefon) --- */
@media (max-height: 560px) {
  :root { --pad-t: 2.4rem; --pad-b: 4.4rem; }
  .panel--hero { --photo-w: min(26vw, 50svh); }
  .hero__title { font-size: clamp(2.6rem, 17svh, 5rem); }
  .hero__lead { display: none; }
  .h-mode .hint { margin-top: 0.6rem; }
  .h2 { font-size: clamp(1.5rem, 9svh, 2.4rem); }
  .about__text { font-size: 0.95rem; }
  .features { gap: 0.6rem; margin-top: 0.6rem; }
  .feature { padding: 0.5rem 0.8rem; }
  .feature__text { display: none; }
  .h-mode .vgrid { grid-template-rows: auto; padding-right: 0; }
  .h-mode .vgrid > li:nth-child(even) { translate: none; }
  .panel--videos { --cw: calc((100svh - 10.5rem) * 1.7778); }
  .postcard__text { display: none; }
  .contact-list { gap: 0.2rem; margin-top: 0.4rem; }
  .contact-link { padding: 0.3rem 0.4rem; }
  .stamp { display: none; }
  .iris { width: min(60svh, 82vw); padding: 1rem; gap: 0.4rem; }
  .iris__text { display: none; }
  .copyright { margin-top: 1rem; }
  .dots { bottom: 0.5rem; }
  .dots__link { min-height: 2rem; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  padding: 0; border: 0; background: transparent;
  width: min(64rem, 94vw); max-width: none; max-height: 94dvh;
  overflow: visible;
  color: var(--cream);
}
.lightbox[open] { animation: pop 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
.lightbox::backdrop { background: rgba(17, 15, 36, 0.86); }
.lightbox[open]::backdrop { animation: fade 0.25s ease; }
.lightbox__inner {
  background: var(--night);
  border: 4px solid var(--cream); border-radius: 24px;
  padding: 0.75rem;
  box-shadow: 10px 10px 0 var(--sun);
}
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.1rem 0.25rem 0.7rem 0.5rem; }
.lightbox__title { font: 800 clamp(1.15rem, 2vw, 1.5rem)/1.15 var(--f-display); }
.lightbox__close {
  flex: none; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 3px solid var(--ink); background: var(--sun); color: var(--ink);
  cursor: pointer;
}
.lightbox__close svg { width: 1.3rem; height: 1.3rem; }
.lightbox__close:focus-visible { outline-color: var(--sun); }
.lightbox__video {
  width: 100%; height: auto; aspect-ratio: 16 / 9;
  max-height: calc(94dvh - 6rem);
  background: #000; border-radius: 14px;
}
html.lb-open { overflow: hidden; }

.noscript {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 99;
  padding: 0.8rem 1rem; border-radius: 14px; background: var(--ink); color: var(--cream);
}

/* ---------- 404 sayfası ---------- */
.page-404 {
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: 2rem 1.25rem;
  background-color: var(--night); color: var(--cream);
  background-image: radial-gradient(ellipse at 50% 120%, rgba(107, 47, 214, 0.5), transparent 60%);
  --focus: var(--sun);
}
.page-404__box { max-width: 34rem; display: grid; justify-items: center; gap: 1rem; }
.page-404__code { font: 800 clamp(5rem, 22vw, 9rem)/0.9 var(--f-display); color: var(--sun); text-shadow: 6px 6px 0 var(--pink); }
.page-404__moon { width: 5rem; height: 5rem; color: var(--sun-soft); }
.page-404 p { color: #e9e3f7; }
.page-404 .btn { margin-top: 0.6rem; }

/* ---------- Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
