:root {
  --paper: #f3eee4;
  --paper-2: #e8dfd0;
  --ink: #2c302c;
  --ink-soft: #67695f;
  --olive: #7b7f67;
  --olive-deep: #343a32;
  --gold: #a98d68;
  --line: rgba(44, 48, 44, .18);
  --white: #fbf8f1;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.progress {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
}
.progress span { display: block; width: 0; height: 100%; background: var(--gold); }

.veil {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eee7da;
  transition: visibility 0s linear 1.35s;
}
.veil.open { visibility: hidden; }
.veil-panel {
  position: absolute;
  top: -5%;
  bottom: -5%;
  width: 57%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.8), transparent 48%),
    repeating-linear-gradient(100deg, rgba(255,255,255,.22) 0 3px, rgba(146,133,110,.06) 4px 7px),
    linear-gradient(110deg, #e8dfd0 0%, #f8f4ec 52%, #ddd1be 100%);
  box-shadow: 0 0 80px rgba(75, 65, 49, .18);
  transition: transform 1.35s cubic-bezier(.76,0,.24,1), filter 1.2s ease;
}
.veil-left { left: -7%; clip-path: polygon(0 0, 100% 0, 79% 100%, 0 100%); }
.veil-right { right: -7%; clip-path: polygon(21% 0, 100% 0, 100% 100%, 0 100%); }
.veil.open .veil-left { transform: translateX(-105%) rotate(-2deg); filter: blur(4px); }
.veil.open .veil-right { transform: translateX(105%) rotate(2deg); filter: blur(4px); }
.veil-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px;
  transition: opacity .45s ease, transform .55s ease;
}
.veil.open .veil-content { opacity: 0; transform: scale(.96); }
.monogram {
  width: 126px;
  height: 126px;
  margin: 0 auto 34px;
  border: 1px solid rgba(44,48,44,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 43px;
  letter-spacing: .08em;
  position: relative;
}
.monogram:before,
.monogram:after {
  content: "";
  position: absolute;
  width: 24px;
  height: 1px;
  background: var(--gold);
  top: 50%;
}
.monogram:before { left: -12px; }
.monogram:after { right: -12px; }
.monogram span { color: var(--gold); font-size: .65em; }
.eyebrow {
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: 10px;
  font-weight: 600;
}
.veil h1 {
  margin: 0 0 46px;
  font: 500 clamp(54px, 10vw, 90px)/.82 var(--serif);
  letter-spacing: -.04em;
}
.veil h1 em { font-weight: 400; color: var(--olive); }
.open-invite {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--ink);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .2em;
}
.open-invite svg, .scroll-cue svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.tap-note { margin: 25px 0 0; color: var(--ink-soft); font-size: 10px; letter-spacing: .06em; }

.music-toggle {
  position: fixed;
  z-index: 70;
  right: 18px;
  bottom: 18px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(44,48,44,.88);
  backdrop-filter: blur(12px);
  color: var(--white);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease, background .3s ease;
}
body.invite-open .music-toggle { opacity: 1; transform: none; }
.music-bars { height: 17px; display: flex; align-items: center; justify-content: center; gap: 3px; }
.music-bars i { display: block; width: 2px; height: 6px; background: currentColor; animation: bars 1s ease-in-out infinite alternate; }
.music-bars i:nth-child(2) { animation-delay: -.45s; }
.music-bars i:nth-child(3) { animation-delay: -.2s; }
.music-toggle[aria-pressed="false"] .music-bars i { animation: none; height: 2px; }
.music-label { text-transform: uppercase; letter-spacing: .12em; font-size: 8px; }
@keyframes bars { to { height: 16px; } }

.section { position: relative; }
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 90px 24px 50px;
  background:
    radial-gradient(circle at 48% 33%, rgba(255,255,255,.8), transparent 34%),
    linear-gradient(145deg, var(--paper) 0%, #e9e0d0 100%);
}
.hero:after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(44,48,44,.13);
  pointer-events: none;
}
.hero-inner { text-align: center; max-width: 980px; position: relative; z-index: 3; }
.hero h2 {
  margin: 10px 0 44px;
  font: 500 clamp(68px, 12vw, 150px)/.72 var(--serif);
  letter-spacing: -.06em;
}
.hero h2 span { display: block; }
.hero h2 b {
  display: inline-block;
  font: italic 400 .42em/1 var(--serif);
  color: var(--gold);
  margin: .12em 0 .08em;
}
.date-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 500;
}
.date-lockup i { width: 36px; height: 1px; background: var(--gold); }
.hero-place { margin: 18px 0 0; color: var(--ink-soft); font: italic 400 21px var(--serif); }
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 70px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 9px;
}
.botanical { position: absolute; width: min(310px, 30vw); left: -20px; bottom: -30px; opacity: .23; }
.botanical svg { width: 100%; stroke: var(--olive-deep); stroke-width: 1.2; }
.hero-orbit { position: absolute; border: 1px solid rgba(123,127,103,.17); border-radius: 50%; }
.orbit-one { width: 63vw; aspect-ratio: 1; top: -35vw; right: -16vw; }
.orbit-two { width: 37vw; aspect-ratio: 1; bottom: -25vw; left: 3vw; }

.story {
  min-height: 900px;
  padding: 170px max(24px, 8vw) 0;
  background: var(--white);
  overflow: hidden;
}
.story-number {
  position: absolute;
  top: 110px;
  right: 7vw;
  font: 400 170px/1 var(--serif);
  color: rgba(44,48,44,.055);
}
.story-copy { max-width: 770px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.story blockquote {
  margin: 0 0 35px;
  font: italic 400 clamp(38px, 6vw, 72px)/1.04 var(--serif);
  letter-spacing: -.035em;
}
.story-copy > p:last-child { max-width: 560px; margin: 0 auto; color: var(--ink-soft); line-height: 1.9; font-size: 14px; }
.line-art-landscape { position: absolute; left: 0; bottom: -2px; width: 100%; }
.line-art-landscape svg { width: 100%; display: block; stroke: rgba(52,58,50,.33); stroke-width: 1.3; vector-effect: non-scaling-stroke; }

.save-date {
  padding: 150px max(24px, 8vw);
  background: var(--paper-2);
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(360px, 1.2fr);
  gap: 8vw;
  align-items: center;
}
.section-heading h3 {
  margin: 0;
  font: 500 clamp(52px, 8vw, 98px)/.92 var(--serif);
  letter-spacing: -.05em;
}
.section-heading > p:last-child { margin: 23px 0 0; color: var(--ink-soft); line-height: 1.7; }
.save-date .section-heading > p:last-child { font: italic 400 29px var(--serif); }
.calendar-card { background: rgba(251,248,241,.74); padding: clamp(24px, 5vw, 60px); border: 1px solid rgba(44,48,44,.12); box-shadow: 0 35px 90px rgba(67,56,39,.08); }
.calendar-title { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 24px; font: 500 26px var(--serif); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; text-align: center; }
.calendar-grid b { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding: 8px 0; }
.calendar-grid span, .calendar-grid i { min-height: 42px; display: grid; place-items: center; font-size: 12px; font-style: normal; position: relative; }
.calendar-grid .chosen { color: var(--white); z-index: 1; font-weight: 600; }
.calendar-grid .chosen:before { content: ""; position: absolute; width: 40px; height: 40px; border-radius: 50%; background: var(--olive-deep); z-index: -1; }
.calendar-grid .chosen em { position: absolute; top: -6px; right: 5%; color: var(--gold); font-style: normal; font-size: 11px; }

.events { padding: 150px max(24px, 8vw); background: var(--white); }
.events > .section-heading { max-width: 800px; margin-bottom: 80px; }
.event-card {
  display: grid;
  grid-template-columns: 70px 180px 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}
.event-card:last-child { border-bottom: 1px solid var(--line); }
.event-index { font: italic 400 18px var(--serif); color: var(--gold); }
.event-date { display: flex; align-items: center; gap: 16px; }
.event-date strong { font: 500 62px/.9 var(--serif); }
.event-date span { color: var(--ink-soft); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; line-height: 1.6; }
.event-info .eyebrow { margin-bottom: 8px; color: var(--gold); }
.event-info h4 { margin: 0; font: 500 clamp(26px, 3.3vw, 44px)/1 var(--serif); }
.event-info > p:last-child { margin: 8px 0 0; color: var(--ink-soft); font-size: 12px; }
.text-link { text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: 9px; border-bottom: 1px solid var(--ink); padding: 10px 0; white-space: nowrap; }
.event-card.featured { margin: 12px -3vw 0; padding: 52px 3vw; color: var(--white); background: var(--olive-deep); border: 0; }
.event-card.featured .event-date span,
.event-card.featured .event-info > p:last-child { color: rgba(251,248,241,.65); }
.event-card.featured .text-link { border-color: rgba(251,248,241,.7); }

.countdown {
  min-height: 780px;
  padding: 150px max(24px, 8vw);
  background: var(--olive-deep);
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.countdown-bg { position: absolute; left: 50%; top: 48%; transform: translate(-50%,-50%); font: 500 18vw/1 var(--serif); color: rgba(255,255,255,.025); letter-spacing: -.07em; white-space: nowrap; }
.section-heading.light { position: relative; z-index: 2; text-align: center; }
.section-heading.light .eyebrow { color: rgba(251,248,241,.63); }
.countdown-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 85px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.countdown-grid div { text-align: center; padding: 46px 18px; border-right: 1px solid rgba(255,255,255,.18); }
.countdown-grid div:last-child { border: 0; }
.countdown-grid strong { display: block; font: 400 clamp(52px, 9vw, 112px)/1 var(--serif); font-variant-numeric: tabular-nums; }
.countdown-grid span { display: block; margin-top: 14px; text-transform: uppercase; letter-spacing: .2em; font-size: 9px; color: rgba(251,248,241,.6); }

.rsvp { padding: 160px max(24px, 8vw); background: var(--paper); overflow: hidden; }
.rsvp > .section-heading { max-width: 720px; margin: 0 auto 70px; text-align: center; position: relative; z-index: 2; }
.rsvp-form { max-width: 720px; margin: 0 auto; padding: clamp(26px, 5vw, 58px); background: rgba(251,248,241,.72); border: 1px solid var(--line); position: relative; z-index: 2; }
.rsvp-form > label { display: block; margin-bottom: 28px; }
.rsvp-form label > span, .rsvp-form legend { display: block; margin-bottom: 10px; font-size: 9px; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; }
.rsvp-form input[type="text"], .rsvp-form select, .rsvp-form textarea {
  width: 100%;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid rgba(44,48,44,.3);
  background: transparent;
  color: var(--ink);
  outline: none;
  border-radius: 0;
}
.rsvp-form input:focus, .rsvp-form select:focus, .rsvp-form textarea:focus { border-color: var(--olive-deep); }
.rsvp-form fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.choice { display: flex; gap: 12px; align-items: center; padding: 12px 0; cursor: pointer; }
.choice input { accent-color: var(--olive-deep); }
.choice span { margin: 0 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; font-weight: 400 !important; }
.primary-button { width: 100%; border: 0; background: var(--olive-deep); color: var(--white); padding: 19px 24px; text-transform: uppercase; letter-spacing: .15em; font-size: 10px; cursor: pointer; display: flex; justify-content: center; gap: 10px; }
.form-note { text-align: center; color: var(--ink-soft); font-size: 10px; margin: 14px 0 0; }
.rsvp-decoration { position: absolute; width: 560px; height: 560px; right: -250px; top: 30px; opacity: .11; }
.rsvp-decoration svg { width: 100%; stroke: var(--olive-deep); stroke-width: 1; }

.footer { padding: 120px 24px 55px; text-align: center; background: #ded3c2; }
.footer h2 { margin: 15px 0 20px; font: 500 clamp(48px, 8vw, 92px)/1 var(--serif); letter-spacing: -.04em; }
.footer h2 i { color: var(--gold); font-weight: 400; }
.footer > p:nth-of-type(2) { color: var(--ink-soft); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.back-top { display: inline-block; margin-top: 60px; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 6px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: none; }
.toast { position: fixed; z-index: 110; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--white); padding: 12px 18px; font-size: 11px; opacity: 0; pointer-events: none; transition: .3s ease; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 820px) {
  .save-date { grid-template-columns: 1fr; gap: 60px; }
  .event-card { grid-template-columns: 42px 1fr; gap: 20px; }
  .event-date { grid-column: 2; }
  .event-info { grid-column: 2; }
  .event-card .text-link { grid-column: 2; justify-self: start; }
  .event-index { grid-row: 1 / span 3; }
  .event-card.featured { margin-left: -5vw; margin-right: -5vw; padding-left: 5vw; padding-right: 5vw; }
  .countdown-grid strong { font-size: 50px; }
}

@media (max-width: 560px) {
  .eyebrow { letter-spacing: .2em; }
  .veil-content { padding: 24px; }
  .monogram { width: 104px; height: 104px; font-size: 36px; margin-bottom: 30px; }
  .veil h1 { font-size: 58px; margin-bottom: 36px; }
  .tap-note { max-width: 230px; margin-left: auto; margin-right: auto; line-height: 1.6; }
  .music-toggle { width: 64px; height: 64px; right: 12px; bottom: 12px; }
  .hero { padding-top: 80px; }
  .hero:after { inset: 10px; }
  .hero h2 { font-size: 69px; margin-bottom: 36px; }
  .date-lockup { gap: 8px; letter-spacing: .1em; font-size: 9px; }
  .date-lockup i { width: 18px; }
  .scroll-cue { margin-top: 56px; }
  .botanical { width: 48vw; }
  .story { min-height: 760px; padding-top: 125px; }
  .story-number { font-size: 110px; top: 75px; }
  .story blockquote { font-size: 41px; }
  .save-date, .events, .rsvp { padding-top: 110px; padding-bottom: 110px; }
  .calendar-card { padding: 24px 16px; }
  .calendar-grid { gap: 3px; }
  .calendar-grid span, .calendar-grid i { min-height: 37px; }
  .events > .section-heading { margin-bottom: 58px; }
  .event-date strong { font-size: 52px; }
  .event-info h4 { font-size: 31px; }
  .countdown { min-height: 680px; padding: 110px 16px; }
  .countdown-grid { grid-template-columns: repeat(2, 1fr); margin-top: 60px; }
  .countdown-grid div:nth-child(2) { border-right: 0; }
  .countdown-grid div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .countdown-grid strong { font-size: 58px; }
  .rsvp-form { padding: 28px 20px; }
  .footer { padding-top: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


.contact-strip {
  padding: 120px max(24px, 8vw);
  background: linear-gradient(180deg, #fff 0%, #f7f2e8 100%);
}
.contact-strip .section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.contact-card {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(44,48,44,.1);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 48px rgba(44,48,44,.08);
}
.contact-card h4 {
  margin: 0 0 18px;
  font: 500 clamp(28px, 4vw, 38px)/.95 var(--serif);
  letter-spacing: -.03em;
}
.contact-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  border-top: 1px solid rgba(44,48,44,.1);
  padding-top: 18px;
}
.contact-link span {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 10px;
  color: var(--olive-deep);
}
.contact-link strong {
  font-size: 18px;
  font-weight: 600;
}

.event-card {
  grid-template-columns: 64px minmax(110px, 160px) minmax(0, 1fr);
  align-items: start;
  row-gap: 18px;
}
.event-info p:last-child {
  line-height: 1.7;
}
.event-actions {
  grid-column: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2px;
}
.text-link.secondary {
  color: var(--ink-soft);
}
.map-embed {
  grid-column: 2 / 4;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(44,48,44,.08);
  background: #efe9de;
  min-height: 230px;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 230px;
  border: 0;
  display: block;
  filter: grayscale(.12) saturate(.82) contrast(.96);
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .event-card {
    grid-template-columns: 52px 1fr;
  }
  .event-info,
  .event-actions,
  .map-embed {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .contact-card {
    border-radius: 24px;
    padding: 24px 20px;
  }
  .contact-link strong {
    font-size: 16px;
  }
  .event-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .map-embed,
  .map-embed iframe {
    min-height: 200px;
  }
}


.contact-note {
  margin: 0 0 20px;
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 14px;
}
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--olive-deep);
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10px;
  font-weight: 600;
  transition: transform .2s ease, opacity .2s ease;
}
.contact-button:hover {
  transform: translateY(-1px);
  opacity: .92;
}


.open-invite:disabled {
  cursor: wait;
  opacity: .6;
}
.open-invite.loading svg {
  animation: inviteLoading 1.1s linear infinite;
}
@keyframes inviteLoading {
  to { transform: rotate(360deg); }
}

#weddingMusic {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}


/* Önemli not kartı */
.schedule-note {
  padding: 0 max(24px, 8vw) 130px;
  background: var(--white);
}
.schedule-note-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 28px;
  align-items: center;
  padding: 42px 48px;
  border: 1px solid rgba(169,141,104,.42);
  background: linear-gradient(135deg, #fbf7ef 0%, #f1e9dc 100%);
  box-shadow: 0 24px 70px rgba(67,56,39,.08);
}
.schedule-note-mark {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(169,141,104,.65);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 22px;
}
.schedule-note-inner .eyebrow { color: var(--gold); margin-bottom: 9px; }
.schedule-note-inner h3 {
  margin: 0 0 22px;
  font: 500 clamp(32px, 5vw, 52px)/1 var(--serif);
}
.schedule-note-items { display: grid; gap: 12px; }
.schedule-note-items p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: baseline;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 14px;
}
.schedule-note-items strong { color: var(--ink); font-weight: 600; }
.schedule-note-items span { font-family: var(--serif); font-size: 22px; color: var(--ink); }

/* iOS Safari: sayfa yükleme/animasyonları daha güvenli ve kararlı */
@supports (-webkit-touch-callout: none) {
  .veil { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  .veil-panel, .veil-content, .reveal { -webkit-transform: translateZ(0); transform: translateZ(0); }
  .map-embed iframe { -webkit-transform: translateZ(0); transform: translateZ(0); }
}

@media (max-width: 560px) {
  .schedule-note { padding: 0 18px 90px; }
  .schedule-note-inner { grid-template-columns: 1fr; gap: 18px; padding: 30px 24px; }
  .schedule-note-mark { width: 48px; height: 48px; font-size: 18px; }
  .schedule-note-inner h3 { margin-bottom: 18px; }
  .schedule-note-items p { display: block; }
  .schedule-note-items strong { display: block; margin-bottom: 2px; }
}


/* iOS/Safari compatibility layer — visual design intentionally unchanged. */
@supports (-webkit-touch-callout: none) {
  .music-toggle {
    bottom: max(18px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
