:root {
  --yellow: #f0c401;
  --mustard: #d9a214;
  --amber: #b87912;
  --sun: #ffe566;
  --cream: #fff8e4;
  --cream-deep: #f6e7b0;
  --ink: #241c12;
  --ink-soft: #5a4a34;
  --ink-faint: rgba(36, 28, 18, 0.62);
  --white: #fffcf3;
  --shadow-soft: 0 18px 50px rgba(90, 60, 10, 0.14);
  --radius: 1.25rem;
  --font-display: "Syne", sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-body: "Figtree", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #ffe27a 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 5%, #ffd24a 0%, transparent 50%),
    linear-gradient(180deg, #fff4c8 0%, var(--cream) 28%, #fff9ea 70%, #ffe9a8 100%);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.ambient {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: drift 18s var(--ease) infinite alternate;
}

.orb-a {
  width: 28rem;
  height: 28rem;
  top: 10%;
  left: -8%;
  background: #ffd95a;
}

.orb-b {
  width: 22rem;
  height: 22rem;
  top: 45%;
  right: -6%;
  background: #f5b820;
  animation-duration: 22s;
  animation-delay: -4s;
}

.orb-c {
  width: 18rem;
  height: 18rem;
  bottom: 5%;
  left: 30%;
  background: #ffe99a;
  animation-duration: 26s;
  animation-delay: -8s;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4%, -6%, 0) scale(1.08);
  }
}

.float-dock {
  position: fixed;
  z-index: 40;
  left: max(0.85rem, env(safe-area-inset-left));
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: calc(100vw - 1.7rem);
}

.music-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0.7rem 1rem 0.7rem 0.75rem;
  border: 1px solid rgba(184, 121, 18, 0.35);
  border-radius: 999px;
  background: rgba(255, 252, 243, 0.92);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s var(--ease), background 0.35s ease, border-color 0.35s ease;
}

.music-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--mustard);
  background: var(--white);
}

.music-toggle:focus-visible {
  outline: 2px solid var(--mustard);
  outline-offset: 3px;
}

.music-toggle__icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--mustard);
  color: var(--white);
}

.music-toggle .icon-pause {
  display: none;
}

.music-toggle[aria-pressed="true"] .icon-play {
  display: none;
}

.music-toggle[aria-pressed="true"] .icon-pause {
  display: block;
}

.music-toggle[aria-pressed="true"] {
  border-color: var(--amber);
}

.music-toggle__label {
  max-width: 11rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.continue-btn {
  display: none;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(184, 121, 18, 0.35);
  border-radius: 999px;
  background: var(--mustard);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s var(--ease), background 0.3s ease, opacity 0.3s ease;
}

.continue-btn.is-visible {
  display: inline-flex;
}

.continue-btn:hover {
  transform: translateY(-2px);
  background: var(--sun);
}

.continue-btn:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.continue-btn__arrow {
  font-size: 0.95rem;
  line-height: 1;
  animation: bounce-arrow 1.6s var(--ease) infinite;
}

.continue-btn.is-end {
  opacity: 0.55;
  background: rgba(255, 252, 243, 0.92);
  border-color: rgba(184, 121, 18, 0.28);
}

.continue-btn.is-end .continue-btn__arrow {
  animation: none;
  transform: rotate(180deg);
}

@keyframes bounce-arrow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(2px);
  }
}


.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.08);
  animation: kenburns 18s var(--ease) forwards;
}

@keyframes kenburns {
  to {
    transform: scale(1);
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(36, 28, 18, 0.15) 0%, rgba(36, 28, 18, 0.25) 40%, rgba(36, 28, 18, 0.78) 100%),
    linear-gradient(90deg, rgba(36, 28, 18, 0.55) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 8vh, 5.5rem);
  max-width: 42rem;
}

.hero__brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 14vw, 8.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 1s var(--ease) 0.15s forwards;
}

.hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  line-height: 1.2;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1s var(--ease) 0.35s forwards;
}

.hero__lead {
  margin: 0 0 1.6rem;
  max-width: 26rem;
  color: rgba(255, 252, 243, 0.88);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1s var(--ease) 0.5s forwards;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.35rem;
  border-radius: 0.55rem;
  background: var(--mustard);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 1s var(--ease) 0.65s forwards;
  transition: background 0.3s ease, transform 0.3s var(--ease);
}

.hero__cta:hover {
  background: var(--sun);
  transform: translateY(-2px);
}

.hero__age {
  position: absolute;
  right: clamp(0.5rem, 3vw, 2rem);
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(7rem, 22vw, 16rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: rgba(255, 252, 243, 0.12);
  pointer-events: none;
  user-select: none;
  opacity: 0;
  animation: fadein 1.4s var(--ease) 0.4s forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadein {
  to {
    opacity: 1;
  }
}

.section-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.message {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(4rem, 10vh, 7rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 1180px;
  margin: 0 auto;
}

.message__heading {
  margin: 0 0 1.4rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.message__body {
  max-width: 36rem;
  color: var(--ink-soft);
}

.message__body p {
  margin: 0 0 1.1rem;
}

.message__body strong {
  color: var(--ink);
  font-weight: 700;
}

.message__sign {
  margin-top: 1.6rem !important;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
}

.message__portrait {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.message__portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  transition: transform 1.2s var(--ease);
}

.message__portrait:hover img {
  transform: scale(1.04);
}

.spotlight {
  padding: clamp(3.5rem, 9vh, 6.5rem) clamp(1.25rem, 5vw, 4rem);
  background:
    linear-gradient(180deg, transparent, rgba(36, 28, 18, 0.92) 18%, #1a140d 100%);
  color: var(--cream);
}

.spotlight__copy {
  max-width: 1180px;
  margin: 0 auto 2rem;
}

.spotlight .section-kicker {
  color: var(--sun);
}

.spotlight h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.spotlight__copy p:last-child {
  margin: 0;
  max-width: 28rem;
  color: rgba(255, 248, 228, 0.78);
}

.spotlight__stage {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1rem;
  align-items: end;
}

.spotlight__img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.spotlight__img--main {
  aspect-ratio: 3 / 4;
  object-position: center 20%;
}

.spotlight__img--side {
  aspect-ratio: 3 / 4;
  object-position: center 15%;
  transform: translateY(-8%);
}

.gallery {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 1180px;
  margin: 0 auto;
}

.gallery__intro {
  margin-bottom: 2rem;
}

.gallery__intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
}

.shot {
  margin: 0;
  grid-column: span 4;
  overflow: hidden;
  border-radius: calc(var(--radius) - 0.15rem);
  background: var(--cream-deep);
}

.shot img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.shot:hover img {
  transform: scale(1.05);
}

.shot--tall {
  grid-row: span 2;
}

.shot--tall img {
  min-height: 100%;
}

.shot--wide {
  grid-column: span 8;
}

.finale {
  padding: clamp(5rem, 14vh, 9rem) clamp(1.25rem, 5vw, 4rem);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 100%, #ffd24a 0%, transparent 60%),
    linear-gradient(180deg, transparent, #ffe9a0);
}

.finale__inner {
  max-width: 44rem;
  margin: 0 auto;
}

.finale__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--mustard);
}

.finale h2 {
  margin: 0.6rem 0 1.2rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: var(--ink-soft);
}

.finale__wish {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
}

.finale__note {
  margin: 0.85rem 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink-soft);
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .message {
    grid-template-columns: 1fr;
    padding-right: clamp(1.25rem, 5vw, 4rem);
  }

  .message__portrait {
    order: -1;
    max-width: 26rem;
    width: 100%;
  }

  .spotlight__stage {
    grid-template-columns: 1fr 1fr;
  }

  .spotlight__img--side {
    transform: none;
  }

  .shot,
  .shot--wide {
    grid-column: span 6;
  }

  .shot--tall {
    grid-row: span 1;
  }
}

@media (max-width: 720px) {
  .music-toggle__label {
    display: none;
  }

  .music-toggle {
    padding: 0.7rem;
    border-radius: 50%;
    min-width: 48px;
    min-height: 48px;
    justify-content: center;
  }

  .continue-btn,
  .continue-btn.is-visible {
    display: none !important;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .hero__content {
    padding: 1.25rem 1.15rem;
    padding-bottom: 7.25rem;
    max-width: 100%;
  }

  .hero__brand {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .hero__title {
    font-size: clamp(1.35rem, 6vw, 1.7rem);
  }

  .hero__lead {
    margin-bottom: 1.25rem;
    font-size: 0.98rem;
  }

  .hero__cta {
    min-height: 44px;
    padding: 0.8rem 1.2rem;
  }

  .hero__age {
    top: 12%;
    transform: none;
    font-size: clamp(5.5rem, 28vw, 8rem);
    animation: none;
    opacity: 0.16;
  }

  .message,
  .gallery,
  .spotlight,
  .finale {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .message {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
    gap: 1.5rem;
  }

  .message__heading {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .message__portrait {
    max-width: none;
  }

  .spotlight {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .spotlight__stage {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .gallery {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .gallery__intro {
    margin-bottom: 1.35rem;
  }

  .shot,
  .shot--wide,
  .shot--tall {
    grid-column: span 12;
  }

  .shot img {
    min-height: 280px;
    max-height: 72vh;
  }

  .finale {
    padding-top: 4.5rem;
    padding-bottom: 6.5rem;
  }

  .site-footer {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
}

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

  .orb,
  .hero__photo,
  .hero__brand,
  .hero__title,
  .hero__lead,
  .hero__cta,
  .hero__age,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
