:root {
  --ink: #2b173f;
  --ink-soft: #5f456f;
  --pink: #f42581;
  --pink-dark: #c91469;
  --pink-soft: #ffd8e8;
  --rose: #f6a5c7;
  --lavender: #cfb1ff;
  --violet: #7a35c3;
  --peach: #ffc6a8;
  --cream: #fffafc;
  --white: #ffffff;
  --line: rgba(110, 63, 124, .12);
  --shadow: 0 24px 65px rgba(129, 71, 117, .18);
  --shadow-soft: 0 12px 35px rgba(129, 71, 117, .12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  background:
    radial-gradient(circle at 8% 8%, rgba(246, 165, 199, .18), transparent 26rem),
    radial-gradient(circle at 94% 18%, rgba(207, 177, 255, .18), transparent 28rem),
    #fffafd;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: #ffb8d6; color: #3a153f; }

.page-glow {
  position: fixed;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .28;
  pointer-events: none;
  z-index: -1;
}
.page-glow--one { background: #ff8fc0; top: 12%; left: -160px; }
.page-glow--two { background: #b996ff; top: 45%; right: -180px; }

.site-header {
  position: fixed;
  inset: 18px 0 auto;
  z-index: 50;
  padding: 0 22px;
}
.nav-shell {
  width: min(var(--max), calc(100% - 16px));
  margin: 0 auto;
  min-height: 66px;
  padding: 8px 12px 8px 22px;
  display: flex;
  align-items: center;
  gap: 26px;
  border: 1px solid rgba(255,255,255,.84);
  border-radius: 24px;
  background: rgba(255, 250, 253, .78);
  box-shadow: 0 12px 40px rgba(118, 67, 103, .12);
  backdrop-filter: blur(18px) saturate(140%);
}
.brand {
  position: relative;
  width: 74px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.brand-mark {
  font-family: "Playfair Display", serif;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -.08em;
}
.brand-crown {
  position: absolute;
  top: -13px;
  left: 5px;
  color: var(--pink);
  font-size: 15px;
}
.brand-heart { color: var(--pink); font-size: 13px; transform: translateY(-3px); }
.main-nav {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
}
.main-nav a { position: relative; padding: 12px 2px; color: #412652; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%; bottom: 5px;
  height: 2px;
  border-radius: 8px;
  background: linear-gradient(90deg, #ff4a98, #cc2b86);
  transition: .25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { left: 0; right: 0; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  background: linear-gradient(135deg, #fb4a97, #dc2978);
  box-shadow: 0 10px 28px rgba(226, 44, 125, .3);
  white-space: nowrap;
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 790px;
  padding: 118px 24px 110px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(115deg, rgba(255,247,252,.98) 0%, rgba(255,247,252,.92) 32%, rgba(255,244,249,.45) 58%, rgba(240,224,255,.25) 100%),
    radial-gradient(circle at 84% 12%, rgba(255,195,220,.42), transparent 26rem),
    linear-gradient(180deg, #fff7fb, #fdeaf3 72%, #fffafd 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  right: 0;
  bottom: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.7) 0 40%, rgba(249,183,212,.16) 58%, transparent 70%);
  z-index: -1;
}
.hero-aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: .55;
  z-index: -1;
}
.hero-aura--left { width: 320px; height: 320px; left: -80px; top: 170px; background: #ffd6e8; }
.hero-aura--right { width: 360px; height: 360px; right: -50px; top: 90px; background: #ded0ff; }
.hero-inner {
  position: relative;
  z-index: 3;
  width: min(var(--max), 100%);
  min-height: 540px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  align-items: center;
}
.hero-copy { position: relative; z-index: 5; padding: 40px 0 80px; }
.eyebrow,
.section-kicker {
  letter-spacing: .28em;
  font-size: 11px;
  font-weight: 700;
  color: #915172;
}
.hero-title { margin: 2px 0 16px; line-height: .82; font-weight: 400; }
.script-name {
  display: block;
  width: fit-content;
  font-family: "Allura", cursive;
  font-size: clamp(96px, 10vw, 162px);
  line-height: .88;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, #ee2a83 12%, #d54d9a 58%, #f5a17f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 7px 12px rgba(198, 41, 112, .08));
  transform: rotate(-3deg);
}
.surname {
  display: block;
  margin: -10px 0 0 205px;
  font-family: "Playfair Display", serif;
  font-size: clamp(56px, 6vw, 92px);
  line-height: 1;
  letter-spacing: .08em;
  font-weight: 500;
  color: #29183e;
}
.birthday-line { margin-top: 26px; margin-left: 84px; }
.birthday-line > span {
  display: block;
  margin-bottom: 5px;
  color: #633d68;
  font-size: 13px;
  letter-spacing: .12em;
}
.age-lockup { display: flex; align-items: baseline; gap: 16px; }
.age-lockup strong {
  font-size: clamp(64px, 6.2vw, 92px);
  line-height: .85;
  color: var(--pink);
  font-weight: 700;
}
.age-lockup > span:not(.tiny-heart) {
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 4.2vw, 66px);
  letter-spacing: .13em;
}
.tiny-heart { color: var(--pink); font-size: 27px; }
.dream-words {
  position: absolute;
  left: -6px;
  bottom: -16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: "Allura", cursive;
  font-size: 28px;
  line-height: .9;
  color: #784267;
  transform: rotate(-7deg);
}

.hero-portrait-wrap {
  position: relative;
  width: min(520px, 100%);
  height: 600px;
  justify-self: end;
  margin-right: 32px;
  margin-top: 18px;
}
.portrait-halo {
  position: absolute;
  inset: 74px 14px 0 55px;
  border-radius: 49% 51% 47% 53% / 56% 45% 55% 44%;
  background: linear-gradient(140deg, rgba(255,255,255,.94), rgba(255,180,211,.55) 48%, rgba(185,151,244,.55));
  box-shadow: 0 28px 80px rgba(140,78,135,.22), inset 0 0 0 1px rgba(255,255,255,.78);
  transform: rotate(4deg);
}
.hero-portrait {
  position: absolute;
  inset: 18px 0 0 36px;
  width: calc(100% - 42px);
  height: 570px;
  object-fit: cover;
  object-position: 47% 42%;
  border-radius: 48% 52% 44% 56% / 45% 48% 52% 55%;
  box-shadow: 0 30px 85px rgba(86, 48, 78, .24);
  mask-image: linear-gradient(to bottom, #000 0 86%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0 86%, transparent 100%);
}
.portrait-shine {
  position: absolute;
  width: 210px;
  height: 48px;
  top: 100px;
  right: 12px;
  transform: rotate(-42deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  filter: blur(8px);
  opacity: .8;
  animation: shimmer 7s ease-in-out infinite;
}
.portrait-caption {
  position: absolute;
  right: 2px;
  bottom: 48px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.73);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  font-family: "Allura", cursive;
  font-size: 24px;
  color: #8d3a6b;
  transform: rotate(-4deg);
}
.age-medallion {
  position: absolute;
  right: -12px;
  top: 42px;
  width: 156px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 25px;
  background: radial-gradient(circle, rgba(255,255,255,.96) 0 57%, rgba(255,235,244,.95) 58% 65%, rgba(255,255,255,.88) 66%);
  border: 1px solid rgba(231, 164, 193, .75);
  box-shadow: 0 18px 50px rgba(165, 87, 133, .18), inset 0 0 0 5px rgba(255,255,255,.55);
  z-index: 6;
}
.age-medallion::before,
.age-medallion::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(237, 184, 129, .68);
}
.age-medallion strong { display: block; font-family: "Playfair Display", serif; font-size: 48px; line-height: .8; color: #b51f65; }
.age-medallion span:not(.medallion-crown) { display: block; font-family: "Allura", cursive; font-size: 28px; line-height: 1; color: #8e315d; }
.age-medallion i { color: var(--pink); font-style: normal; }
.medallion-crown { position: absolute; top: -25px; font-size: 26px; color: #d99b53; }

.countdown-panel {
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%);
  width: min(540px, calc(100% - 40px));
  padding: 17px 22px 20px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.85);
  background: rgba(255,255,255,.62);
  box-shadow: 0 20px 50px rgba(151, 81, 126, .16);
  backdrop-filter: blur(18px) saturate(135%);
}
.countdown-heading { margin-bottom: 11px; text-align: center; font-family: "Playfair Display", serif; font-size: 15px; }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.count-box {
  position: relative;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  background: rgba(255, 250, 253, .88);
  box-shadow: inset 0 0 0 1px rgba(236, 189, 210, .45), 0 7px 18px rgba(153, 90, 128, .07);
}
.count-box strong { font-size: 31px; color: #d51d72; line-height: 1; }
.count-box small { margin-top: 5px; color: #6d536f; font-size: 11px; text-transform: lowercase; }
.count-icon { position: absolute; top: -9px; color: #df5d97; font-size: 14px; }
.hero-wave {
  position: absolute;
  z-index: 7;
  left: -4%; right: -4%; bottom: -82px;
  height: 170px;
  border-radius: 50% 50% 0 0 / 32% 32% 0 0;
  background: #fffafd;
  transform: rotate(-1.2deg);
}
.sparkles i {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  box-shadow: 0 0 14px 6px rgba(255,255,255,.5);
  animation: twinkle 3.6s ease-in-out infinite;
}
.sparkles i:nth-child(1){left:9%;top:28%;}.sparkles i:nth-child(2){left:33%;top:20%;animation-delay:-1.2s}.sparkles i:nth-child(3){right:34%;top:16%;animation-delay:-.5s}.sparkles i:nth-child(4){right:12%;top:36%;animation-delay:-2s}.sparkles i:nth-child(5){left:46%;top:54%;animation-delay:-1.7s}.sparkles i:nth-child(6){right:18%;top:67%;animation-delay:-2.5s}

.section { position: relative; padding: 90px 24px; }
.section-shell { width: min(var(--max), 100%); margin: 0 auto; }
.section-title {
  margin: 8px 0 34px;
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -.035em;
}
.passions { padding-top: 50px; background: linear-gradient(180deg, #fffafd 0%, #fff7fb 100%); }
.passion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.passion-card {
  min-height: 445px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(224, 184, 205, .58);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.92);
}
.passion-card--english { background: linear-gradient(135deg, #fff 0%, #fff6fa 42%, #f9e8ff 100%); }
.passion-card--karate { background: linear-gradient(135deg, #fff 0%, #fff5fb 50%, #f2eaff 100%); }
.card-copy { padding: 42px 22px 34px 34px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; z-index: 2; }
.hand-title { display: block; font-family: "Allura", cursive; font-size: clamp(46px, 4.5vw, 68px); line-height: .9; color: #992561; transform: rotate(-3deg); }
.hand-title small { font-size: .67em; font-family: "Playfair Display", serif; }
.card-copy h3 { margin: 14px 0 11px; font-family: "Playfair Display", serif; font-size: 24px; line-height: 1.16; }
.card-copy p { margin: 0; color: var(--ink-soft); line-height: 1.68; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.chips span { padding: 8px 11px; border-radius: 999px; background: #ffe4ef; color: #9f3263; font-size: 11px; font-weight: 700; }
.chips--violet span { background: #efe3ff; color: #7238a5; }
.card-visual { position: relative; overflow: hidden; min-width: 0; }
.card-visual::before { content:""; position:absolute; inset:18px; border-radius: 48% 52% 46% 54% / 46% 42% 58% 54%; z-index: 0; }
.card-visual--english::before { background: linear-gradient(135deg, #eadfff, #ffc6da 55%, #fff1c7); transform: rotate(5deg); }
.card-visual--karate::before { background: linear-gradient(135deg, #efd8ff, #ffbbd9 48%, #ffeec8); transform: rotate(-5deg); }
.card-visual img {
  position: absolute;
  inset: 20px 18px 0;
  width: calc(100% - 36px);
  height: calc(100% - 20px);
  object-fit: cover;
  border-radius: 46% 54% 42% 58% / 48% 44% 56% 52%;
  box-shadow: 0 20px 50px rgba(112,68,112,.18);
  z-index: 1;
}
.card-visual--english img { object-position: 55% 42%; }
.card-visual--karate img { object-position: 52% 42%; }
.visual-sticker {
  position:absolute; z-index:3; top:35px; left:-2px; padding:9px 14px; border-radius:999px; background:#fff; border:2px solid #2c2044; font-family:"Allura", cursive; font-size:24px; transform:rotate(-8deg); box-shadow:0 8px 25px rgba(99,61,98,.12);
}
.uk-heart { position:absolute; z-index:3; right:18px; bottom:24px; font-size:48px; color:#eb2b70; text-shadow: 0 4px 0 #fff; transform:rotate(9deg); }
.kanji { position:absolute; z-index:3; right:4px; bottom:16px; writing-mode:vertical-rl; font-family:serif; font-size:36px; font-weight:700; color:#3d205b; letter-spacing:.02em; text-shadow:0 2px 0 #fff; }

.milestone {
  background:
    radial-gradient(circle at 15% 40%, rgba(255, 213, 230, .38), transparent 25rem),
    radial-gradient(circle at 82% 42%, rgba(222, 205, 255, .35), transparent 26rem),
    #fffafd;
}
.milestone-shell {
  display: grid;
  grid-template-columns: 1.05fr .82fr 1.15fr;
  grid-template-areas:
    "intro ring list"
    "intro ring quote";
  gap: 26px 38px;
  align-items: center;
}
.milestone-intro { grid-area: intro; }
.milestone-intro p { max-width: 300px; color: var(--ink-soft); line-height: 1.65; }
.paper-plane { width: 170px; margin-top: 15px; color: #ee5e99; transform: rotate(-8deg); }
.age-ring-wrap { grid-area: ring; display: grid; place-items: center; }
.age-ring {
  --progress: 0deg;
  width: 230px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(from 0deg, #b833b6 0deg, #f04494 var(--progress), #ffd2e3 var(--progress), #ffe7ef 360deg);
  padding: 17px;
  box-shadow: 0 20px 55px rgba(147, 77, 131, .18);
}
.age-ring::before { content:""; position:absolute; }
.age-ring-inner {
  width: 100%; height: 100%; border-radius: 50%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  background:#fffdfd; box-shadow: inset 0 0 0 1px rgba(224, 183, 204, .4);
}
.age-ring-inner strong { font-family:"Playfair Display",serif; font-size:68px; line-height:.9; color:#4e1a62; }
.age-ring-inner span { font-size:15px; letter-spacing:.18em; margin-top:7px; }
.age-ring-inner i { font-style:normal; margin-top:9px; font-size:22px; }
.milestone-list { grid-area: list; display:grid; gap:18px; }
.milestone-list > div { display:flex; gap:15px; align-items:flex-start; }
.line-icon { width:34px; height:34px; display:grid; place-items:center; flex:0 0 auto; border-radius:12px; color:#ee2e83; background:#ffe4ee; font-size:17px; }
.milestone-list p { margin:0; }
.milestone-list strong { display:block; font-size:14px; }
.milestone-list small { display:block; margin-top:3px; color:#866b88; line-height:1.3; }
.dream-quote {
  grid-area: quote;
  position:relative;
  margin:0;
  padding:20px 26px 20px 45px;
  border-radius:24px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(226,190,210,.55);
  box-shadow:var(--shadow-soft);
  font-family:"Allura",cursive;
  font-size:29px;
  line-height:1.02;
  color:#563059;
}
.dream-quote > span { position:absolute; left:15px; top:3px; font-family:"Playfair Display",serif; font-size:54px; color:#ef3886; }
.dream-quote i { color:#ef3886; font-style:normal; }

.gallery { padding-top: 60px; background: linear-gradient(180deg,#fffafd,#fff2f8); }
.gallery-head { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; }
.gallery-script { font-family:"Allura",cursive; font-size:34px; color:#8f3d6d; transform:rotate(-3deg); }
.polaroid-row { display:grid; grid-template-columns:1fr 1fr 1fr; gap:26px; align-items:end; margin-top:16px; padding:10px 28px 40px; }
.polaroid {
  margin:0; padding:12px 12px 18px; background:#fff; box-shadow:0 20px 45px rgba(95,58,91,.18); border:1px solid rgba(205,175,194,.45); border-radius:6px;
}
.polaroid img { width:100%; aspect-ratio: 4/3; object-fit:cover; border-radius:2px; }
.polaroid figcaption { margin-top:8px; text-align:center; font-family:"Allura",cursive; font-size:30px; color:#6b3f68; }
.polaroid--one { transform:rotate(-5deg); }
.polaroid--two { transform:translateY(18px) rotate(2deg); }
.polaroid--three { transform:rotate(5deg); }
.polaroid--one img { object-position:50% 32%; }
.polaroid--two img { object-position:52% 35%; }
.polaroid--three img { object-position:52% 39%; }

.closing-banner {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: #b27582;
}
.closing-banner > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.closing-overlay { position:absolute; inset:0; background:linear-gradient(90deg,rgba(67,28,62,.28),rgba(95,37,66,.02) 58%,rgba(56,25,56,.12)); }
.closing-content {
  position:relative; z-index:2; width:min(var(--max),calc(100% - 48px)); margin:0 auto; min-height:330px; display:flex; flex-direction:column; justify-content:center; align-items:flex-end; text-align:right; color:#fff;
}
.closing-content span { font-family:"Allura",cursive; font-size:clamp(52px,6vw,82px); text-shadow:0 3px 22px rgba(58,21,46,.28); }
.closing-content p { margin:2px 0 0; font-size:12px; font-weight:700; letter-spacing:.23em; text-shadow:0 2px 12px rgba(45,14,36,.32); }
.site-footer { padding:22px; text-align:center; background:#2d1937; color:#fbe8f1; font-size:12px; letter-spacing:.05em; }

.petals { position: fixed; inset: 0; z-index: 70; pointer-events:none; overflow:hidden; }
.petal {
  position:absolute;
  top:-40px;
  width:14px;
  height:22px;
  border-radius:80% 15% 80% 15%;
  background:linear-gradient(145deg,rgba(255,188,213,.92),rgba(240,86,148,.72));
  opacity:.55;
  filter:drop-shadow(0 2px 3px rgba(175,76,120,.14));
  animation:petalFall var(--dur) linear var(--delay) infinite;
  transform:translate3d(var(--start-x),-40px,0) rotate(var(--rot));
}

.reveal { opacity:0; translate:0 24px; transition:opacity .8s cubic-bezier(.2,.65,.3,1), translate .8s cubic-bezier(.2,.65,.3,1); }
.reveal.is-visible { opacity:1; translate:0 0; }
.reveal-delay-1 { transition-delay:.12s; }
.reveal-delay-2 { transition-delay:.22s; }

@keyframes twinkle { 0%,100%{transform:scale(.6);opacity:.25} 50%{transform:scale(1.35);opacity:1} }
@keyframes shimmer { 0%,25%{transform:translateX(-80px) rotate(-42deg);opacity:0} 45%{opacity:.8} 70%,100%{transform:translateX(170px) rotate(-42deg);opacity:0} }
@keyframes petalFall {
  0% { transform: translate3d(var(--start-x), -50px, 0) rotate(0deg); }
  45% { transform: translate3d(calc(var(--start-x) + var(--drift)), 48vh, 0) rotate(210deg); }
  100% { transform: translate3d(calc(var(--start-x) - var(--drift)), 110vh, 0) rotate(470deg); }
}

@media (max-width: 1050px) {
  .main-nav { gap: 18px; }
  .nav-cta { display:none; }
  .hero { min-height: 900px; }
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-top: 65px; }
  .script-name { font-size: 112px; }
  .surname { margin-left: 145px; font-size: 64px; }
  .birthday-line { margin-left: 46px; }
  .hero-portrait-wrap { margin-right: 0; width: 440px; }
  .age-medallion { right: 8px; }
  .passion-card { grid-template-columns: 1fr; min-height: 640px; }
  .card-visual { min-height: 340px; }
  .milestone-shell { grid-template-columns: 1fr 1fr; grid-template-areas:"intro ring" "list quote"; }
}

@media (max-width: 760px) {
  .site-header { top: 10px; padding: 0 10px; }
  .nav-shell { width:100%; min-height:58px; padding:6px 10px 6px 15px; border-radius:20px; }
  .brand { width:auto; }
  .main-nav {
    position:absolute;
    top:68px;
    left:8px;
    right:8px;
    display:grid;
    gap:0;
    padding:12px;
    border-radius:20px;
    background:rgba(255,250,253,.97);
    box-shadow:var(--shadow);
    border:1px solid rgba(255,255,255,.9);
    opacity:0;
    transform:translateY(-10px) scale(.98);
    pointer-events:none;
    transition:.22s ease;
  }
  .main-nav.open { opacity:1; transform:none; pointer-events:auto; }
  .main-nav a { padding:13px 12px; border-bottom:1px solid #f3e1ea; }
  .main-nav a:last-child { border-bottom:0; }
  .main-nav a::after { display:none; }
  .menu-toggle {
    margin-left:auto;
    width:42px;height:42px;
    display:grid;
    place-content:center;
    gap:4px;
    border:0;
    border-radius:14px;
    background:#fff1f7;
    cursor:pointer;
  }
  .menu-toggle span { width:18px; height:2px; background:#48243e; border-radius:9px; transition:.2s ease; }
  .menu-toggle.open span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .menu-toggle.open span:nth-child(2){opacity:0}
  .menu-toggle.open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

  .hero { min-height: 1080px; padding: 86px 16px 130px; }
  .hero-inner { min-height: 830px; display:block; }
  .hero-copy { padding: 30px 0 0; text-align:left; }
  .eyebrow { font-size:9px; letter-spacing:.24em; }
  .script-name { font-size: clamp(82px, 27vw, 124px); }
  .surname { margin:-12px 0 0 68px; font-size: clamp(44px, 14vw, 64px); }
  .birthday-line { margin:22px 0 0 24px; }
  .birthday-line > span { font-size:11px; }
  .age-lockup { gap:9px; }
  .age-lockup strong { font-size:62px; }
  .age-lockup > span:not(.tiny-heart) { font-size:38px; letter-spacing:.1em; }
  .dream-words { display:none; }
  .hero-portrait-wrap { position:absolute; top: 330px; left:50%; transform:translateX(-50%); width:min(430px, 100%); height:500px; margin:0; }
  .portrait-halo { inset:52px 26px 0; }
  .hero-portrait { inset:0 18px; width:calc(100% - 36px); height:500px; object-position:47% 40%; }
  .portrait-caption { display:none; }
  .age-medallion { top: 430px; right: 10px; width:112px; padding:18px; }
  .age-medallion strong { font-size:35px; }
  .age-medallion span:not(.medallion-crown) { font-size:22px; }
  .medallion-crown { top:-20px; font-size:21px; }
  .countdown-panel { bottom: 76px; padding:14px 12px 15px; border-radius:22px; }
  .countdown-heading { font-size:13px; }
  .countdown-grid { gap:6px; }
  .count-box { min-height:78px; border-radius:14px; }
  .count-box strong { font-size:25px; }
  .count-box small { font-size:9px; }
  .hero-wave { bottom:-55px; height:110px; }

  .section { padding:70px 16px; }
  .section-title { margin-bottom:26px; }
  .passion-grid { grid-template-columns:1fr; gap:18px; }
  .passion-card { min-height:0; grid-template-columns:1fr; }
  .card-copy { padding:30px 24px 22px; }
  .hand-title { font-size:52px; }
  .card-copy h3 { font-size:22px; }
  .card-visual { min-height:360px; }
  .card-visual img { inset:10px 14px 0; width:calc(100% - 28px); height:calc(100% - 10px); }
  .visual-sticker { left:8px; top:22px; }
  .kanji { right:12px; bottom:20px; }

  .milestone-shell { grid-template-columns:1fr; grid-template-areas:"intro" "ring" "list" "quote"; text-align:center; gap:30px; }
  .milestone-intro p { margin-left:auto; margin-right:auto; }
  .paper-plane { margin-left:auto; margin-right:auto; }
  .age-ring { width:210px; }
  .milestone-list { width:min(420px,100%); margin:0 auto; text-align:left; }
  .dream-quote { width:min(430px,100%); margin:0 auto; text-align:left; }
  .gallery-head { display:block; }
  .gallery-script { display:block; margin-top:10px; }
  .polaroid-row { grid-template-columns:1fr; width:min(430px,100%); margin:0 auto; gap:22px; padding:12px 32px 40px; }
  .polaroid--one,.polaroid--two,.polaroid--three { transform:none; }
  .closing-banner { min-height:300px; }
  .closing-banner > img { object-position:30% center; }
  .closing-content { width:calc(100% - 32px); min-height:300px; align-items:center; text-align:center; }
  .closing-content span { font-size:54px; }
  .closing-content p { font-size:9px; letter-spacing:.16em; }
}

@media (max-width: 430px) {
  .hero { min-height: 1050px; }
  .hero-copy { padding-top: 20px; }
  .script-name { font-size: 96px; }
  .surname { margin-left: 56px; font-size: 49px; }
  .birthday-line { margin-left: 12px; }
  .hero-portrait-wrap { top: 315px; height:490px; }
  .hero-portrait { height:480px; }
  .age-medallion { top: 420px; right: -2px; width:104px; }
  .countdown-panel { width: calc(100% - 24px); bottom: 72px; }
  .count-box { min-height:72px; }
  .count-box strong { font-size:22px; }
  .section-title { font-size:36px; }
  .card-visual { min-height:330px; }
}

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

/* =========================================================
   Hero refinement + mobile-first refactor (v3)
   ========================================================= */
.hero-title {
  overflow: visible;
  padding: 0 0 10px;
}
.script-name {
  line-height: 1;
  padding: .02em .05em .09em 0;
}
.birthday-line {
  margin-top: 4px;
  margin-left: 70px;
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding: 88px 16px 72px;
    overflow: hidden;
  }

  .hero::before {
    width: 460px;
    height: 460px;
    right: -180px;
    bottom: 180px;
  }

  .hero-inner {
    width: min(100%, 520px);
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-copy {
    width: 100%;
    padding: 22px 0 0;
    text-align: center;
  }

  .eyebrow {
    max-width: 300px;
    margin: 0 auto 4px;
    font-size: 9px;
    line-height: 1.55;
    letter-spacing: .22em;
  }

  .hero-title {
    margin: 0 auto;
    padding-bottom: 2px;
    line-height: 1;
  }

  .script-name {
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    padding: .02em .06em .08em;
    font-size: clamp(88px, 26vw, 124px);
    line-height: .98;
    transform: rotate(-2deg);
  }

  .birthday-line {
    margin: 2px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .birthday-line > span {
    margin-bottom: 5px;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: .105em;
    text-align: center;
  }

  .age-lockup {
    justify-content: center;
    gap: 10px;
  }

  .age-lockup strong {
    font-size: clamp(54px, 17vw, 72px);
  }

  .age-lockup > span:not(.tiny-heart) {
    font-size: clamp(32px, 10vw, 43px);
    letter-spacing: .08em;
  }

  .tiny-heart {
    font-size: 22px;
  }

  .hero-portrait-wrap {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: min(100%, 460px);
    height: auto;
    aspect-ratio: 4 / 5;
    margin: 2px auto 0;
    flex: 0 0 auto;
  }

  .portrait-halo {
    inset: 46px 18px 5px 34px;
  }

  .hero-portrait {
    inset: 0 10px 0 18px;
    width: calc(100% - 28px);
    height: 100%;
    object-position: 48% 42%;
    border-radius: 46% 54% 43% 57% / 43% 47% 53% 57%;
  }

  .portrait-shine {
    top: 70px;
    right: 4px;
    width: 150px;
  }

  .age-medallion {
    top: 18px;
    right: 0;
    width: 108px;
    padding: 17px;
  }

  .age-medallion strong {
    font-size: 34px;
  }

  .age-medallion span:not(.medallion-crown) {
    font-size: 21px;
  }

  .medallion-crown {
    top: -18px;
    font-size: 20px;
  }

  .countdown-panel {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: min(100%, 460px);
    margin: 18px auto 0;
    padding: 14px 12px 15px;
    border-radius: 22px;
  }

  .hero-wave {
    bottom: -64px;
    height: 108px;
  }

  .passions {
    padding-top: 42px;
  }

  .section {
    padding: 58px 14px;
  }

  .section-title {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.08;
  }

  .passion-card {
    border-radius: 26px;
  }

  .card-copy {
    padding: 28px 22px 20px;
  }

  .hand-title {
    font-size: clamp(48px, 14vw, 58px);
  }

  .card-copy h3 {
    font-size: 21px;
  }

  .card-copy p {
    font-size: 13px;
    line-height: 1.62;
  }

  .card-visual {
    min-height: 330px;
  }

  .polaroid-row {
    padding-inline: 18px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 82px 12px 64px;
  }

  .hero-copy {
    padding-top: 18px;
  }

  .script-name {
    font-size: clamp(84px, 27vw, 108px);
  }

  .hero-portrait-wrap {
    width: 100%;
    aspect-ratio: 1 / 1.18;
  }

  .portrait-halo {
    inset: 38px 12px 4px 24px;
  }

  .hero-portrait {
    inset: 0 6px 0 10px;
    width: calc(100% - 16px);
  }

  .age-medallion {
    top: 14px;
    right: -2px;
    width: 96px;
    padding: 14px;
  }

  .age-medallion strong {
    font-size: 31px;
  }

  .age-medallion span:not(.medallion-crown) {
    font-size: 19px;
  }

  .countdown-panel {
    width: 100%;
    margin-top: 14px;
    padding: 13px 10px 12px;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .count-box {
    min-height: 70px;
  }

  .count-box strong {
    font-size: 25px;
  }

  .count-box small {
    font-size: 10px;
  }

  .card-visual {
    min-height: 300px;
  }

  .milestone-list {
    gap: 14px;
  }

  .dream-quote {
    padding: 18px 20px 18px 40px;
    font-size: 27px;
  }

  .closing-banner,
  .closing-content {
    min-height: 270px;
  }

  .closing-content span {
    font-size: 48px;
  }
}

@media (max-width: 360px) {
  .script-name {
    font-size: 80px;
  }

  .age-lockup strong {
    font-size: 52px;
  }

  .age-lockup > span:not(.tiny-heart) {
    font-size: 30px;
  }

  .age-medallion {
    width: 90px;
  }
}
