:root {
  --cream: #fbf7f0;
  --paper: #fffdf9;
  --ink: #372f2a;
  --muted: #7a6f66;
  --sage: #7e8e6e;
  --sage-deep: #4c5a44;
  --sage-soft: #e7ebdd;
  --terracotta: #c07a5b;
  --terracotta-soft: #f3e1d7;
  --gold: #b98a3e;
  --gold-text: #8a6526;
  --gold-soft: #e6d6b4;
  --maroon: #7a3b3b;
  --line: #e6dccb;
  --shadow: 0 24px 60px -32px rgba(76, 90, 68, 0.45);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at 8% -8%, #f4efe2 0%, transparent 62%),
    radial-gradient(900px 520px at 100% 6%, #f2e7dd 0%, transparent 58%),
    var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
p {
  margin: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--sage-soft);
  color: var(--sage-deep);
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--sage-deep);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(251, 247, 240, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--gold-soft);
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.monogram {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--sage-deep);
  font-weight: 600;
}

.monogram span {
  color: var(--gold);
  font-style: italic;
  margin: 0 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--sage-deep);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.7);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--sage-deep);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 132px 24px 96px;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side, rgba(255, 253, 249, 0.85), transparent 70%);
  pointer-events: none;
}

.hero-mandala {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92vw, 780px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  color: var(--gold);
  opacity: 0.17;
  animation: spin 140s linear infinite;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-weight: 500;
}

.names {
  margin: 20px 0 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 10vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.01em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.08em 0.22em;
}

.names .amp {
  font-size: 0.52em;
  font-style: italic;
  color: var(--terracotta);
  transform: translateY(-0.04em);
}

.hero-sub {
  max-width: 520px;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.6;
  color: var(--muted);
}

.hero-date {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.hero-date .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.countdown {
  margin: 34px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.count-box {
  min-width: 80px;
  padding: 14px 10px 12px;
  border: 1px solid var(--gold-soft);
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.66);
  backdrop-filter: blur(6px);
  box-shadow: 0 14px 34px -30px rgba(76, 90, 68, 0.6);
}

.count-num {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--sage-deep);
  font-variant-numeric: tabular-nums;
}

.count-label {
  display: block;
  margin-top: 7px;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.countdown-done {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--maroon);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--sage-deep);
  color: #fbf7f0;
  box-shadow: 0 14px 30px -18px rgba(76, 90, 68, 0.85);
}

.btn-primary:hover {
  background: #3f4b38;
}

.btn-ghost {
  background: rgba(255, 253, 249, 0.6);
  border-color: var(--gold-soft);
  color: var(--sage-deep);
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: var(--paper);
}

.btn-light {
  background: transparent;
  border-color: rgba(230, 214, 180, 0.45);
  color: #f0ead9;
}

.btn-light:hover {
  background: rgba(230, 214, 180, 0.14);
  border-color: var(--gold-soft);
}

.petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.petal {
  position: absolute;
  top: -40px;
  width: 13px;
  height: 13px;
  border-radius: 62% 4% 62% 4%;
  background: var(--terracotta);
  opacity: 0.22;
  animation-name: fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  width: 26px;
  height: 44px;
  z-index: 2;
}

.scroll-cue span {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--gold), transparent);
  animation: pulse 2.4s ease-in-out infinite;
}

.section {
  position: relative;
  padding: clamp(64px, 9vw, 118px) 24px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(38px, 6vw, 62px);
  text-align: center;
}

.section-head h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.04;
}

.section-head > p:last-child {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 0;
  color: var(--gold);
}

.ornament::before,
.ornament::after {
  content: "";
  height: 1px;
  width: 54px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament span {
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.story-card {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 58px);
  text-align: center;
  background: linear-gradient(180deg, var(--paper), #fdf9f1);
  border: 1px solid var(--gold-soft);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.story-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(185, 138, 62, 0.22);
  border-radius: 19px;
  pointer-events: none;
}

.story-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  line-height: 1.5;
  color: var(--sage-deep);
}

.story-copy {
  margin: 22px auto 0;
  max-width: 600px;
  color: var(--muted);
  line-height: 1.8;
}

.story-families {
  margin-top: 26px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 21px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-soft) 8%, var(--gold-soft) 92%, transparent);
}

.event {
  position: relative;
  padding-left: 62px;
  margin-bottom: 26px;
}

.event:last-child {
  margin-bottom: 0;
}

.event::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 15px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(185, 138, 62, 0.12);
  z-index: 2;
}

.event-card {
  position: relative;
  padding: 26px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 16px 40px -34px rgba(76, 90, 68, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.event-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-soft);
  box-shadow: 0 24px 50px -32px rgba(76, 90, 68, 0.55);
}

.event-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.event-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
  flex: none;
}

.event-icon svg {
  width: 22px;
  height: 22px;
}

.event-when {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.event-date {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-weight: 500;
}

.badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--terracotta-soft);
  color: #8a4a32;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.event-card h3 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 500;
  line-height: 1.1;
}

.event-sub {
  margin-top: 4px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
}

.event-meta {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.event-meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--sage-deep);
}

.event-meta svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex: none;
}

.event-desc {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.93rem;
}

.event-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.dress-code {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.dress-code strong {
  color: #9a5233;
  font-weight: 500;
}

.event-cal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-deep);
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 2px;
  cursor: pointer;
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.event-cal svg {
  width: 14px;
  height: 14px;
}

.event-cal:hover {
  color: var(--gold-text);
  border-color: var(--gold);
}

.timings-note {
  max-width: 620px;
  margin: 40px auto 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.timings-note svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex: none;
  margin-top: 2px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.detail-card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 16px 40px -36px rgba(76, 90, 68, 0.65);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.detail-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-soft);
}

.detail-wide {
  grid-column: span 2;
  background: linear-gradient(135deg, #f6f1e5, var(--paper) 65%);
}

.detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--sage-soft);
  color: var(--sage-deep);
}

.detail-icon svg {
  width: 22px;
  height: 22px;
}

.detail-card h3 {
  margin: 16px 0 8px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
}

.detail-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.93rem;
}

.detail-card .detail-strong {
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 2px;
}

.detail-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  color: var(--sage-deep);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 2px;
}

.detail-link svg {
  width: 14px;
  height: 14px;
}

.detail-link:hover {
  color: var(--gold-text);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field > label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfaf5;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
  resize: vertical;
  min-height: 84px;
}

input::placeholder,
textarea::placeholder {
  color: #b3a99d;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(126, 142, 110, 0.16);
}

input:user-invalid,
select:user-invalid {
  border-color: var(--terracotta);
}

.form-hint {
  text-align: center;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.6;
}

.wish-hint {
  margin-top: 16px;
}

.wish-form {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr auto;
  gap: 14px;
  align-items: end;
  max-width: 900px;
  margin: 0 auto;
}

.wishes-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.wish {
  position: relative;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 36px -34px rgba(76, 90, 68, 0.6);
}

.wish::before {
  content: "”";
  position: absolute;
  top: 6px;
  right: 18px;
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--gold-soft);
}

.wish-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.14rem;
  line-height: 1.6;
  color: #4b423b;
}

.wish-name {
  margin-top: 16px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.wish-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 34px;
  border: 1px dashed var(--gold-soft);
  border-radius: 18px;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
}

.site-footer {
  margin-top: 40px;
  padding: 64px 24px 34px;
  background: var(--sage-deep);
  color: #eee8d8;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(230, 214, 180, 0.16), transparent);
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.footer-monogram {
  font-family: var(--serif);
  font-size: 2.2rem;
  letter-spacing: 0.12em;
  color: #f6f0df;
}

.footer-monogram span {
  color: var(--gold-soft);
  font-style: italic;
}

.footer-names {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: #ded6c2;
}

.footer-date {
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cdd4bf;
}

.footer-hashtag {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold-soft);
}

.footer-actions {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-note {
  margin-top: 34px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cdd4bf;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  transform: translate(-50%, 20px);
  max-width: calc(100vw - 32px);
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fbf7f0;
  font-size: 0.86rem;
  box-shadow: 0 16px 40px -18px rgba(55, 47, 42, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes fall {
  0% {
    transform: translateY(-40px) rotate(0deg);
  }
  100% {
    transform: translateY(110vh) rotate(320deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scaleY(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 900px) {
  .timeline::before {
    left: 50%;
  }

  .event {
    width: 50%;
    padding: 0 54px 0 0;
    margin-bottom: 34px;
  }

  .event:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 0 54px;
  }

  .event::before {
    left: auto;
    right: -7px;
    top: 32px;
  }

  .event:nth-child(even)::before {
    left: -7px;
    right: auto;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--gold-soft);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.76rem;
  }

  .nav a::after {
    display: none;
  }

  .nav a:hover,
  .nav a.active {
    background: var(--sage-soft);
  }

  .detail-wide {
    grid-column: span 1;
  }

  .wish-form {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 118px;
  }

  .count-box {
    min-width: 66px;
    padding: 12px 8px 10px;
  }

  .count-num {
    font-size: 1.65rem;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .event {
    padding-left: 52px;
  }

  .event::before {
    left: 11px;
  }

  .timeline::before {
    left: 17px;
  }

  .event-card {
    padding: 22px 20px;
  }

  .event-top {
    align-items: flex-start;
  }

  .event-when {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

  .detail-card {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .petals {
    display: none;
  }
}
