/* ============================================================
   Nisa & Mahmud Feyzullah — Nişan Daveti
   style.css — Sinematik / editoryal / premium sürüm
   ============================================================ */

/* ============================================================
   YEREL FONTLAR (CDN'e bağlı değil)
   Cormorant Garamond + Manrope — variable woff2, latin + latin-ext.
   ============================================================ */
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-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: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-normal-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-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: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("assets/fonts/manrope-normal-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: "Manrope"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("assets/fonts/manrope-normal-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   DEĞİŞTİRİLEBİLİR RENK PALETİ
   ============================================================ */
:root {
  --c-white:    #F8F5EF;  /* Kırık beyaz  */
  --c-cream:    #EFE8DC;  /* Açık krem    */
  --c-rose:     #D7A6AD;  /* Pudra pembe  */
  --c-rose-dk:  #B97882;  /* Soluk gül kurusu */
  --c-sage:     #98A68F;  /* Adaçayı yeşili   */
  --c-forest:   #30483C;  /* Koyu botanik yeşil */
  --c-forest-2: #26382F;  /* Daha koyu ton (panel derinliği) */
  --c-ink:      #282925;  /* Antrasit metin   */

  --c-forest-70: rgba(48, 72, 60, 0.72);
  --c-line:      rgba(48, 72, 60, 0.16);

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 720px;
  --pad-x: clamp(1.35rem, 6vw, 3rem);
  --section-y: clamp(5rem, 14vh, 9rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-cine: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Temel sıfırlama ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.75;
  font-size: 17px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Açılış perdesi görünürken kaydırmayı kilitle */
body.veil-open { overflow: hidden; height: 100%; }

main { overflow-x: hidden; position: relative; z-index: 1; }
img, svg { max-width: 100%; display: block; }

/* Yumuşak, doğal zemin geçişi */
body {
  background:
    radial-gradient(ellipse 55% 38% at 82% 4%, rgba(215,166,173,0.20), transparent 60%),
    radial-gradient(ellipse 65% 45% at 6% 26%, rgba(152,166,143,0.16), transparent 55%),
    radial-gradient(ellipse 75% 55% at 92% 72%, rgba(215,166,173,0.12), transparent 60%),
    linear-gradient(180deg, var(--c-white) 0%, var(--c-cream) 60%, var(--c-white) 100%);
  background-attachment: fixed;
}

/* ---- Erişilebilirlik ---- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--c-rose-dk); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   GLOBAL DOKULAR — grain, vignette, petals
   ============================================================ */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 40;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse 120% 90% at 50% 42%, transparent 58%, rgba(40,41,37,0.10) 100%);
}
.petals {
  position: fixed; inset: 0; pointer-events: none; z-index: 3;
  width: 100%; height: 100%;
}

/* ============================================================
   SİNEMATİK AÇILIŞ PERDESİ
   ============================================================ */
.veil {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, #375243, var(--c-forest) 55%, var(--c-forest-2) 100%);
  transition: transform 1.3s var(--ease-cine), opacity 1s var(--ease-cine), visibility 1.3s;
}
.veil.is-lifted { transform: translateY(-102%); opacity: 0; visibility: hidden; }

/* --- KULLANICI TASARIMI AÇILIŞ GÖRSELİ (opsiyonel) ---
   Görsel geldiğinde: index.html'de <div id="veil"> öğesine "veil--image"
   sınıfını ekle ve aşağıdaki background-image yolunu aç. İçteki CSS
   monogram/metin otomatik gizlenir (görselde zaten var). */
.veil--image {
  /* Kâğıt tonuyla eşleşen zemin; görselin tamamı (çerçeve dâhil) görünsün */
  background: #EFE7DF center / contain no-repeat;
  background-image: url("assets/veil.webp");
  cursor: pointer;
}
.veil--image .veil__inner { display: none; }
/* Zarif "dokun" ipucu */
.veil--image::after {
  content: "Davetiyeye dokunun";
  position: absolute;
  left: 0; right: 0;
  bottom: calc(env(safe-area-inset-bottom) + 14px);
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--c-rose-dk);
  opacity: 0;
  animation: hintIn 1.2s var(--ease) 1.6s forwards;
}
@keyframes hintIn { to { opacity: 0.8; } }
.veil__inner { text-align: center; color: var(--c-white); }
.veil__seal { width: 116px; height: 116px; margin: 0 auto; color: var(--c-rose); }
.veil__ring {
  fill: none; stroke: currentColor; stroke-width: 1;
  stroke-dasharray: 340; stroke-dashoffset: 340;
  animation: draw 1.6s var(--ease-cine) 0.15s forwards;
  opacity: 0.85;
}
.veil__ring--in { stroke: rgba(248,245,239,0.5); stroke-dasharray: 300; stroke-dashoffset: 300; animation-delay: 0.35s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.veil__mono {
  font-family: var(--font-serif); font-weight: 500;
  font-size: 2.1rem; letter-spacing: 0.14em; margin-top: -74px;
  opacity: 0; animation: fadeUp 1s var(--ease-cine) 0.7s forwards;
}
.veil__mono span { color: var(--c-rose); font-style: italic; margin: 0 0.12em; }
.veil__word {
  font-family: var(--font-sans); text-transform: uppercase;
  letter-spacing: 0.46em; font-size: 0.68rem; padding-left: 0.46em;
  color: rgba(248,245,239,0.75); margin: 2.4rem 0 0;
  opacity: 0; animation: fadeUp 1s var(--ease-cine) 1s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   BÖLÜM DÜZENİ
   ============================================================ */
.section {
  position: relative;
  padding: var(--section-y) var(--pad-x);
  max-width: var(--maxw); margin: 0 auto; text-align: center;
}

.eyebrow {
  font-family: var(--font-sans); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.4em;
  font-size: 0.68rem; color: var(--c-rose-dk);
  margin: 0 0 1.1rem; padding-left: 0.4em;
}
.eyebrow--light { color: var(--c-rose); }

.section__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.9rem, 6vw, 2.9rem);
  letter-spacing: 0.005em; color: var(--c-forest);
  margin: 0 0 1.8rem; line-height: 1.14;
  text-wrap: balance;
}

/* Botanik ayırıcı */
.divider { display: block; color: var(--c-sage); margin: 0 auto 2.2rem; }
.divider svg { width: 120px; height: 24px; opacity: 0.9; }

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(env(safe-area-inset-top) + 3rem) var(--pad-x)
           calc(env(safe-area-inset-bottom) + 5.5rem);
  overflow: hidden;
}

.hero__scene, .location__scene, .closing__scene {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
/* Çok yavaş sinematik ölçekleme (ken-burns) */
.hero__scene { animation: kenburns 34s var(--ease) infinite alternate; transform-origin: 55% 45%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }

.glow { position: absolute; border-radius: 50%; filter: blur(60px); }
.glow--rose {
  width: 60vw; max-width: 480px; aspect-ratio: 1; opacity: 0.55;
  background: radial-gradient(circle, rgba(215,166,173,0.6), transparent 70%);
  top: -8%; right: -10%; animation: drift 26s var(--ease) infinite alternate;
}
.glow--sage {
  width: 64vw; max-width: 520px; aspect-ratio: 1; opacity: 0.45;
  background: radial-gradient(circle, rgba(152,166,143,0.5), transparent 70%);
  bottom: -12%; left: -12%; animation: drift 32s var(--ease) infinite alternate-reverse;
}
@keyframes drift { from { transform: translate3d(0,0,0) scale(1);} to { transform: translate3d(3%,2%,0) scale(1.08);} }

.leaf { position: absolute; color: var(--c-sage); opacity: 0.22; width: clamp(130px, 36vw, 260px); height: auto; }
.leaf--tl { top: -3%; left: -7%; transform: rotate(-12deg); }
.leaf--br { bottom: -5%; right: -9%; transform: rotate(168deg); }
.leaf--center { top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.12; color: var(--c-forest); }

.hero__inner { position: relative; z-index: 1; max-width: 100%; }

.hero__eyebrow {
  font-family: var(--font-sans); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.46em; font-size: 0.72rem; color: var(--c-rose-dk);
  margin: 0 0 1.6rem; padding-left: 0.46em;
}

/* Mühür monogram */
.hero__seal {
  position: relative; width: 62px; height: 62px; margin: 0 auto 2.2rem;
  display: grid; place-items: center;
}
.hero__seal svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--c-line); }
.hero__seal svg circle { fill: none; stroke: currentColor; stroke-width: 1; }
.hero__seal span {
  font-family: var(--font-serif); font-size: 1rem; letter-spacing: 0.06em; color: var(--c-forest);
}
.hero__seal i { color: var(--c-rose-dk); font-style: italic; margin: 0 0.06em; }

.hero__names {
  font-family: var(--font-serif); font-weight: 500; color: var(--c-forest);
  margin: 0; line-height: 1.0;
  display: flex; flex-direction: column; align-items: center; gap: 0.06em;
}
.hero__names .name {
  font-size: clamp(3.4rem, 17vw, 7rem);
  letter-spacing: 0.004em; display: block; font-weight: 500;
}
.hero__names .name--long {
  font-size: clamp(2.1rem, 10vw, 4.9rem); line-height: 1.04; max-width: 100%;
}
.hero__names .amp {
  font-size: clamp(1.7rem, 6.5vw, 3rem); color: var(--c-rose-dk);
  font-style: italic; font-weight: 400; margin: 0.06em 0;
}

.hero__foot { margin-top: 2.4rem; }
.hairline { display: block; width: 60px; height: 1px; background: var(--c-rose-dk); opacity: 0.6; margin: 0 auto 1.6rem; }
.hero__meta {
  margin: 0 0 0.4rem; font-size: 0.82rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--c-ink); font-weight: 500;
}
.hero__venue { margin: 0; font-family: var(--font-serif); font-size: 1.55rem; font-style: italic; color: var(--c-rose-dk); }

.scroll-cue {
  position: absolute; bottom: calc(env(safe-area-inset-bottom) + 1.8rem);
  left: 50%; transform: translateX(-50%); z-index: 1;
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--c-forest);
  font-size: 0.64rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500;
}
.scroll-cue svg {
  width: 20px; height: 20px; stroke: var(--c-rose-dk); stroke-width: 1.4;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  animation: nudge 2.6s var(--ease) infinite;
}
@keyframes nudge { 0%,100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(5px); opacity: 1; } }

/* ---- HERO GİRİŞ ANİMASYONU (perde kalkınca) ---- */
.rise { opacity: 0; transform: translateY(26px); }
body.is-ready .rise {
  opacity: 1; transform: translateY(0);
  transition: opacity 1.2s var(--ease-cine), transform 1.2s var(--ease-cine);
}
body.is-ready .rise[data-rise="1"] { transition-delay: 0.05s; }
body.is-ready .rise[data-rise="2"] { transition-delay: 0.20s; }
body.is-ready .rise[data-rise="3"] { transition-delay: 0.38s; }
body.is-ready .rise[data-rise="4"] { transition-delay: 0.52s; }
body.is-ready .rise[data-rise="5"] { transition-delay: 0.64s; }
body.is-ready .rise[data-rise="6"] { transition-delay: 0.90s; }
body.is-ready .rise[data-rise="7"] { transition-delay: 1.15s; }

/* ============================================================
   2. AYET
   ============================================================ */
.verse { max-width: 660px; }
.verse__text {
  font-family: var(--font-serif); font-weight: 400; font-style: italic;
  font-size: clamp(1.45rem, 5vw, 2.15rem); line-height: 1.7; color: var(--c-forest);
  margin: 0 0 1.8rem; quotes: none; position: relative;
}
.verse__text::before, .verse__text::after {
  content: "“"; font-family: var(--font-serif); color: var(--c-rose);
  font-size: 1em; line-height: 0;
}
.verse__text::after { content: "”"; }
.verse__ref {
  font-family: var(--font-sans); font-size: 0.74rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--c-rose-dk); margin: 0;
}

/* ============================================================
   3. DAVET METNİ
   ============================================================ */
.invite { max-width: 640px; }
.invite__text { font-size: 1.04rem; line-height: 1.9; color: var(--c-forest-70); margin: 0 0 1.8rem; }
.invite__lead {
  font-family: var(--font-serif); font-style: italic; font-size: 1.4rem;
  color: var(--c-forest); margin: 0 0 2.4rem;
}
.invite__families {
  display: inline-flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center;
  font-family: var(--font-serif); font-size: 1.45rem; color: var(--c-forest); margin: 0;
}
.invite__sep { color: var(--c-rose-dk); font-style: italic; }

/* ============================================================
   4. GERİ SAYIM
   ============================================================ */
.countdown__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.5rem, 3vw, 1.75rem); max-width: 480px; margin: 0.5rem auto 0;
}
.cd-unit {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  padding: 0 clamp(0.25rem, 2vw, 0.75rem);
}
.cd-unit + .cd-unit::before {
  content: ""; position: absolute; left: 0; top: 14%; height: 44%; width: 1px; background: var(--c-line);
}
.cd-num {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.4rem, 13vw, 4.3rem); line-height: 1; color: var(--c-forest);
  font-variant-numeric: tabular-nums; transition: opacity 0.4s var(--ease);
}
.cd-num.tick { opacity: 0.4; }
.cd-label {
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-rose-dk); font-weight: 600;
}
.countdown__done {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.35rem, 4.6vw, 1.9rem); line-height: 1.6; color: var(--c-forest);
  max-width: 520px; margin: 0 auto;
}

/* ============================================================
   5. DAVET DETAYLARI
   ============================================================ */
.details__list { margin: 0 auto; max-width: 520px; text-align: left; }
.details__row {
  display: grid; grid-template-columns: auto 1fr;
  grid-template-areas: "icon label" "icon value";
  column-gap: 1.15rem; align-items: center;
  padding: 1.5rem 0.25rem; border-top: 1px solid var(--c-line);
}
.details__row:last-child { border-bottom: 1px solid var(--c-line); }
.details__icon {
  grid-area: icon; align-self: center; width: 42px; height: 42px;
  display: grid; place-items: center; color: var(--c-forest);
}
.details__icon svg {
  width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.25;
  stroke-linecap: round; stroke-linejoin: round;
}
.details__row dt {
  grid-area: label; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-rose-dk); font-weight: 600; margin: 0 0 0.15rem;
}
.details__row dd {
  grid-area: value; margin: 0; font-family: var(--font-serif);
  font-size: 1.45rem; color: var(--c-forest); line-height: 1.25;
}
.details__note {
  display: block; font-family: var(--font-sans); font-size: 0.82rem; letter-spacing: 0.02em;
  color: var(--c-forest-70); margin-top: 0.3rem;
}

/* ============================================================
   6. KONUM — SİNEMATİK KOYU PANEL
   ============================================================ */
.location {
  position: relative; overflow: hidden; text-align: center;
  padding: calc(var(--section-y) + 1rem) var(--pad-x);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #375243, transparent 60%),
    linear-gradient(180deg, var(--c-forest) 0%, var(--c-forest-2) 100%);
  color: var(--c-white);
}
/* Krem zemine yumuşak geçiş için üst/alt kenarlar */
.location::before, .location::after {
  content: ""; position: absolute; left: 0; right: 0; height: 90px; pointer-events: none; z-index: 1;
}
.location::before { top: 0; background: linear-gradient(180deg, var(--c-white), transparent); opacity: 0.14; }
.location::after { bottom: 0; background: linear-gradient(0deg, var(--c-white), transparent); opacity: 0.10; }
.location__scene .glow--rose { opacity: 0.28; top: 40%; right: -20%; }
.leaf--panel  { top: -4%; left: -8%; transform: rotate(-14deg); color: var(--c-sage); opacity: 0.16; }
.leaf--panel2 { bottom: -6%; right: -10%; transform: rotate(166deg); color: var(--c-sage); opacity: 0.16; }
.location__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; }
.location__venue {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.2rem, 8vw, 3.4rem); color: var(--c-white);
  margin: 0 0 1rem; letter-spacing: 0.01em;
}
.location__sub { color: rgba(248,245,239,0.78); font-size: 1.02rem; max-width: 420px; margin: 0 auto 2.6rem; }

.actions { display: flex; flex-direction: column; gap: 0.9rem; max-width: 420px; margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  width: 100%; min-height: 54px; padding: 0.95rem 1.5rem; border-radius: 999px;
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}
.btn--primary {
  background: var(--c-white); color: var(--c-forest);
  box-shadow: 0 14px 34px -14px rgba(0,0,0,0.5);
}
.btn--ghost-light { background: transparent; color: var(--c-white); border-color: rgba(248,245,239,0.32); }
@media (hover: hover) {
  .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(0,0,0,0.55); background: #fff; }
  .btn--ghost-light:hover { transform: translateY(-2px); background: rgba(248,245,239,0.08); border-color: rgba(248,245,239,0.6); }
}
.btn:active { transform: translateY(0); }

/* ============================================================
   8. KAPANIŞ
   ============================================================ */
.closing {
  position: relative; overflow: hidden;
  padding-bottom: calc(var(--section-y) + env(safe-area-inset-bottom));
  max-width: none; width: 100%;
}
.closing__scene .glow--rose {
  max-width: 400px; opacity: 0.3; top: 50%; left: 50%; right: auto;
  transform: translate(-50%, -50%); animation: none;
}
.closing > * { position: relative; z-index: 1; }
.closing .divider { color: var(--c-sage); }
.closing__lead {
  font-family: var(--font-serif); font-style: italic; font-size: 1.2rem;
  color: var(--c-rose-dk); margin: 0 0 1.3rem; letter-spacing: 0.02em;
}
.closing__names {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.3rem, 9.5vw, 4.2rem); line-height: 1.08; color: var(--c-forest); margin: 0 0 1.1rem;
}
.closing__names i { color: var(--c-rose-dk); font-style: italic; margin: 0 0.12em; }
.closing__date { font-size: 0.88rem; letter-spacing: 0.36em; color: var(--c-ink); margin: 0 0 2.2rem; font-weight: 500; }
.closing__msg {
  font-family: var(--font-serif); font-style: italic; font-size: 1.25rem;
  color: var(--c-forest); max-width: 460px; margin: 0 auto 2.4rem; line-height: 1.6;
}
.closing__families {
  font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-rose-dk); font-weight: 600; margin: 0;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease-cine), transform 1.1s var(--ease-cine); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   DUYARLI AYARLAMALAR
   ============================================================ */
@media (max-width: 360px) {
  body { font-size: 16px; }
  .countdown__grid { gap: 0.4rem; }
  .cd-label { font-size: 0.55rem; letter-spacing: 0.1em; }
  .hero__eyebrow { letter-spacing: 0.34em; }
}

/* ============================================================
   MOBİL ODAKLI ÇERÇEVE
   Tasarım tamamen mobil için kurgulandı. Geniş ekranlarda içerik
   büyüyüp yayılmak yerine ortada telefon genişliğinde premium bir
   sütun (kart) olarak durur; tipografi her zaman mobil ölçeğinde kalır.
   ============================================================ */
@media (min-width: 600px) {
  :root {
    --stage: 460px;                         /* telefon sütunu genişliği */
    --stage-pad: clamp(28px, 6vh, 60px);    /* kart çevresi boşluk */
  }
  /* Kartın dışında kalan sakin zemin */
  body {
    background: linear-gradient(158deg, #ECE6DA 0%, #DFD8CA 55%, #D4CCBD 100%);
    background-attachment: fixed;
    padding: var(--stage-pad) 0;
    min-height: 100vh;
  }
  /* Telefon sütunu — krem "davetiye sayfası" */
  main {
    max-width: var(--stage);
    margin: 0 auto;
    border-radius: 26px;
    overflow: hidden;
    box-shadow:
      0 60px 140px -45px rgba(40,41,37,0.55),
      0 0 0 1px rgba(48,72,60,0.06);
    background:
      radial-gradient(ellipse 55% 38% at 82% 4%, rgba(215,166,173,0.20), transparent 60%),
      radial-gradient(ellipse 65% 45% at 6% 26%, rgba(152,166,143,0.16), transparent 55%),
      radial-gradient(ellipse 75% 55% at 92% 72%, rgba(215,166,173,0.12), transparent 60%),
      linear-gradient(180deg, var(--c-white) 0%, var(--c-cream) 60%, var(--c-white) 100%);
  }
  /* Hero kart içinde ekrana sığsın */
  .hero { min-height: 84vh; }
  /* Sabit dokular ve perde de telefon sütununa hizalanır */
  .grain, .vignette, .petals, .veil {
    left: 50%; right: auto;
    transform: translateX(-50%);
    top: var(--stage-pad); bottom: var(--stage-pad);
    height: auto;
    width: var(--stage);
  }
  .grain, .vignette, .petals { border-radius: 26px; }
  .veil { border-radius: 26px; }
  .veil.is-lifted { transform: translateX(-50%) translateY(-118%); opacity: 0; }
}

/* ============================================================
   HAREKET AZALTMA TERCİHİ
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .rise { opacity: 1 !important; transform: none !important; }
  .glow, .leaf, .hero__scene { animation: none !important; }
  .veil { display: none !important; }
}
