:root {
  --purple: #5b21b6;
  --purple-deep: #3b0764;
  --lilac: #c4b5fd;
  --lilac-soft: #ede9fe;
  --cream: #faf8ff;
  --ink: #1e1235;
  --ink-soft: #5c4d78;
  --white: #fff;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --script: 'Great Vibes', cursive;
  --sans: 'Outfit', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.script { font-family: var(--script); font-weight: 400; }

/* ----- Nav ----- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  background: var(--purple);
  border-bottom: 1px solid color-mix(in srgb, #fff 18%, transparent);
  color: #fff;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.8s var(--ease), opacity 0.8s var(--ease);
}
.nav.visible { transform: translateY(0); opacity: 1; }
.nav-mark {
  font-family: var(--script);
  font-size: clamp(26px, 4vw, 34px);
  color: var(--lilac);
}
.nav-links {
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links a { color: #fff; opacity: 0.9; transition: opacity 0.3s, color 0.3s; }
.nav-links a:hover { opacity: 1; color: var(--lilac); }
.nav-cta {
  padding: 0.55em 1.2em;
  border-radius: 999px;
  background: #fff;
  color: var(--purple) !important;
  opacity: 1 !important;
}
.nav-menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 10px;
}
.nav-menu span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

.drawer {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  background: var(--purple-deep);
  color: #fff;
  padding: 24px;
  border-bottom: 1px solid color-mix(in srgb, #fff 16%, transparent);
  transform: translateY(-120%);
  transition: transform 0.5s var(--ease);
}
.drawer.open { transform: translateY(0); }
.drawer nav { display: grid; gap: 16px; }
.drawer a {
  font-size: 18px;
  font-family: var(--serif);
  font-weight: 600;
}

/* ----- Hero ----- */
.hero {
  position: relative;
}
.hero-visual {
  position: relative;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  background: #14081f;
  cursor: crosshair;
  --mx: 50%;
  --my: 50%;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
}
.hero-img--duo { z-index: 1; }
.hero-img--color {
  z-index: 2;
  -webkit-mask-image: linear-gradient(#000, #000);
  mask-image: linear-gradient(#000, #000);
}
.hero-visual.revealing .hero-img--color {
  -webkit-mask-image: radial-gradient(circle min(34vw, 320px) at var(--mx) var(--my), transparent 0 58%, #000 80%);
  mask-image: radial-gradient(circle min(34vw, 320px) at var(--mx) var(--my), transparent 0 58%, #000 80%);
}
.hero-mask {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 5, 21, 0.35));
}
.hero-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  translate: -50% 0;
  z-index: 4;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
  text-align: center;
  width: min(90%, 520px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 5;
  margin-top: 0;
  padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 64px) 56px;
  background: var(--cream);
  text-align: center;
}
.tag {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 600;
}
.names {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(52px, 11vw, 108px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--purple-deep);
}
.names .amp {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.45em;
  color: var(--lilac);
  vertical-align: middle;
}
.lede {
  max-width: 640px;
  margin: 20px auto 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-soft);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}
.hero-meta time { font-family: var(--serif); font-size: 18px; letter-spacing: 0.02em; text-transform: none; font-weight: 700; }
.hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lilac); }

.countdown-label {
  margin: 28px 0 0;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 600;
}
.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2vw, 18px);
  margin-top: 40px;
}
.cd {
  min-width: 76px;
  padding: 16px 12px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--purple) 12%, transparent);
  box-shadow: 0 20px 50px -24px rgba(59, 7, 100, 0.35);
}
.cd b {
  display: block;
  font: 700 clamp(28px, 5vw, 40px)/1 var(--serif);
  color: var(--purple);
  font-variant-numeric: tabular-nums;
}
.cd small {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ----- Sections ----- */
.band, .section {
  padding: clamp(72px, 12vw, 120px) clamp(20px, 5vw, 64px);
}
.band.colors {
  text-align: center;
  background: linear-gradient(135deg, var(--purple-deep), #4c1d95 55%, var(--purple));
  color: var(--white);
}
.band .eyebrow { color: var(--lilac); }
.band h2 { color: var(--white); }

.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 600;
}
h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink);
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}
.swatch {
  display: grid;
  gap: 12px;
  justify-items: center;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}
.swatch i {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.2), 0 12px 30px rgba(0,0,0,0.25);
}

.section { max-width: 1200px; margin: 0 auto; }
.section.couple, .section.story, .section.gallery, .section.journey { max-width: none; }
.section.couple .eyebrow,
.section.couple h2,
.section.story .eyebrow,
.section.story h2,
.section.gallery .eyebrow,
.section.gallery h2,
.section.vows .eyebrow,
.section.details .eyebrow,
.section.details h2,
.section.rsvp .eyebrow,
.section.rsvp h2 {
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.couple-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 5vw, 56px);
  margin-top: 56px;
  padding: 0 clamp(20px, 5vw, 64px);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.person {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 32px 64px -32px rgba(59, 7, 100, 0.2);
  border: 1px solid color-mix(in srgb, var(--lilac) 50%, transparent);
}
.person-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.person:hover .person-photo img { transform: scale(1.06); }
.person h3 {
  margin: 0;
  padding: 24px 28px 8px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
}
.person h3 em { font-style: italic; color: var(--purple); font-weight: 600; }
.person p {
  margin: 0;
  padding: 0 28px 32px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.story {
  background: linear-gradient(180deg, var(--cream), var(--lilac-soft));
  padding-bottom: clamp(88px, 14vw, 140px);
}
.story-lead {
  max-width: 720px;
  margin: 24px auto 0;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.5;
  color: var(--ink-soft);
}
.timeline {
  list-style: none;
  margin: 56px auto 0;
  padding: 0 clamp(20px, 5vw, 64px);
  max-width: 680px;
  display: grid;
  gap: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: calc(clamp(20px, 5vw, 64px) + 8px);
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--lilac), var(--purple));
}
.timeline li {
  position: relative;
  padding: 0 0 48px 40px;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--purple);
  box-shadow: 0 0 0 4px var(--lilac-soft);
}
.timeline time {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 600;
}
.timeline h3 {
  margin: 8px 0 8px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
}
.timeline p { margin: 0; color: var(--ink-soft); max-width: 52ch; }
.story-close {
  text-align: center;
  font-size: clamp(40px, 8vw, 64px);
  color: var(--purple);
  margin: 16px 0 0;
}

/* Gallery */
.gallery {
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}
.gallery-track {
  display: flex;
  gap: 20px;
  padding: 48px clamp(20px, 5vw, 64px) 8px;
  width: max-content;
  will-change: transform;
}
.g-frame {
  flex: none;
  width: clamp(240px, 28vw, 320px);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 24px 48px -20px rgba(59, 7, 100, 0.35);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.5s var(--ease);
}
.g-frame:hover { transform: rotate(0deg) scale(1.03); z-index: 2; }
.g-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.g-frame figcaption {
  padding: 12px 16px;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--ink-soft);
}

/* Vows */
.vows-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 72px);
  text-align: center;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, color-mix(in srgb, var(--lilac) 35%, transparent), transparent 60%),
    var(--white);
  border: 1px solid color-mix(in srgb, var(--purple) 10%, transparent);
  box-shadow: 0 40px 80px -40px rgba(59, 7, 100, 0.25);
}
.vows-panel blockquote {
  margin: 32px 0 0;
  padding: 0;
  border: 0;
}
.vows-panel blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
}
.vows-sign {
  margin: 28px 0 0;
  font-size: clamp(36px, 6vw, 52px);
  color: var(--purple);
}

/* Details */
.details-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.detail {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--lilac) 60%, transparent);
  text-align: center;
}
.detail h3 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--purple);
}
.detail .big {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.3;
}
.detail p:last-child {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
}

/* RSVP */
.section.rsvp { text-align: center; max-width: 560px; }
.rsvp-lead {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}
.rsvp-form {
  margin-top: 40px;
  text-align: left;
  display: grid;
  gap: 20px;
}
.rsvp-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.rsvp-form input,
.rsvp-form textarea {
  font: 16px/1.5 var(--sans);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--purple) 15%, transparent);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.rsvp-form input:focus,
.rsvp-form textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lilac) 50%, transparent);
}
.attend {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.attend legend {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.radio {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
}
.radio input { width: 18px; height: 18px; accent-color: var(--purple); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1em 2em;
  border: 0;
  border-radius: 999px;
  font: 600 14px var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: var(--white);
  box-shadow: 0 16px 40px -12px rgba(91, 33, 182, 0.55);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px -12px rgba(91, 33, 182, 0.65);
}
.btn-wide { width: 100%; }

.foot {
  text-align: center;
  padding: 64px 24px 100px;
  background: var(--purple-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}
.foot-names {
  margin: 0 0 8px;
  font-size: clamp(48px, 10vw, 72px);
  color: var(--lilac);
}
.foot-tag {
  margin-top: 16px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 11px;
  opacity: 0.7;
}

/* Welcome dialog — only show while [open]; fixed display:grid broke dialog.close() */
.welcome:not([open]) {
  display: none !important;
  pointer-events: none;
}
.welcome[open] {
  position: fixed;
  inset: 0;
  z-index: 200;
  margin: 0;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 24px;
  background: rgba(14, 6, 28, 0.72);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
}
.welcome::backdrop { background: rgba(14, 6, 28, 0.4); }
.welcome-card {
  width: min(100%, 440px);
  padding: clamp(36px, 6vw, 52px);
  border-radius: 28px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.45);
  animation: welcomeIn 0.9s var(--ease) both;
}
@keyframes welcomeIn {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.welcome-card h2 {
  font-size: clamp(32px, 5vw, 42px);
  margin-bottom: 12px;
}
.welcome-card p { color: var(--ink-soft); margin: 0 0 28px; font-size: 16px; }

.section.journey { padding: 0; background: var(--cream); }
.journey-slide {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: calc(var(--nav-h) + 28px) clamp(20px, 5vw, 72px) 36px;
  background: var(--cream);
  box-shadow: 0 -18px 40px rgba(42, 16, 69, 0.12);
}
.journey-slide:nth-child(odd) { background: #f4edff; }
.journey-slide:nth-child(1) { z-index: 1; }
.journey-slide:nth-child(2) { z-index: 2; }
.journey-slide:nth-child(3) { z-index: 3; }
.journey-slide:nth-child(4) { z-index: 4; }
.journey-slide:nth-child(5) { z-index: 5; }
.journey-slide:nth-child(6) { z-index: 6; }
.journey-slide:nth-child(7) { z-index: 7; }
.journey-slide:nth-child(8) { z-index: 8; }
.journey-slide:nth-child(9) { z-index: 9; }
.journey-intro { text-align: center; justify-items: center; }
.journey-intro h2 { max-width: 14ch; }
.beat.journey-slide {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 28px;
  max-width: none;
  margin: 0;
}
.journey .beat:nth-of-type(even) { flex-direction: row-reverse; }
.beat-copy { max-width: 440px; }
.beat-copy p {
  margin: 0 0 0.8em;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}
.beat-copy p:last-child { margin-bottom: 0; }
.journey-quote {
  font-family: var(--script) !important;
  font-size: clamp(30px, 4vw, 44px) !important;
  line-height: 1.25 !important;
  color: var(--purple) !important;
  font-weight: 400 !important;
}
.beat-media {
  flex-shrink: 0;
  width: min(520px, 42vw);
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--purple-deep);
  box-shadow: 0 22px 40px -24px rgba(59, 7, 100, 0.45);
}
.beat-media img, .beat-media video {
  width: 100%;
  height: min(68vh, 640px);
  object-fit: cover;
  display: block;
  background: #1a0a2e;
}
.journey-letter {
  justify-items: center;
  text-align: left;
}
.journey-letter > * { width: min(680px, 100%); }
.journey-letter h2 { margin-bottom: 14px; }
.journey-letter p {
  margin: 0 0 0.75em;
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
}
.journey-sign {
  display: block;
  margin-top: 4px !important;
  font-size: clamp(34px, 5vw, 48px) !important;
  color: var(--purple) !important;
  text-align: right;
}
.journey-end {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--sans) !important;
  font-size: 12px !important;
  font-weight: 600;
  color: var(--purple) !important;
}
@media (max-width: 800px) {
  .beat.journey-slide,
  .journey .beat:nth-of-type(even) { flex-direction: column; text-align: center; }
  .beat-media { width: 92vw; }
  .beat-media img, .beat-media video { height: min(62vh, 560px); }
}

.player-bar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(420px, calc(100vw - 24px));
  padding: 8px 8px 8px 8px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  box-shadow: 0 16px 40px -12px rgba(59, 7, 100, 0.55);
}
.player-bar[hidden] { display: none; }
.now-playing { display: grid; min-width: 0; line-height: 1.15; }
.np-kicker { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lilac); font-weight: 600; }
.np-title { font-family: var(--serif); font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next-btn, .audio {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: #fff;
  color: var(--purple);
  display: grid;
  place-items: center;
}
.next-btn svg, .audio svg { width: 20px; height: 20px; fill: currentColor; }
.audio {
  position: static;
  box-shadow: none;
}
.audio .i-off { display: none; }
.audio[aria-pressed="true"] .i-on { display: none; }
.audio[aria-pressed="true"] .i-off { display: block; }
.audio:hover { transform: scale(1.06); }
.audio svg { width: 24px; height: 24px; fill: currentColor; }
.audio .i-off { display: none; }
.audio[aria-pressed="true"] .i-on { display: none; }
.audio[aria-pressed="true"] .i-off { display: block; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  translate: -50% 0;
  z-index: 300;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  transform: translate(-50%, 12px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

[data-reveal] { opacity: 0; transform: translateY(32px); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-menu { display: flex; }
  .hero-img { object-position: center 22%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}