:root {
  color-scheme: light;
  --ink: #20232d;
  --muted: #626779;
  --paper: #fffdf7;
  --lemon: #ffe55c;
  --lemon-deep: #efbf26;
  --berry: #ff5b73;
  --berry-deep: #c92645;
  --leaf: #62be65;
  --mint: #dff8df;
  --sky: #cdeefe;
  --blue: #4258a8;
  --peach: #ffd0b8;
  --line: rgba(32, 35, 45, 0.12);
  --shadow: 0 24px 80px rgba(39, 45, 82, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); }
body.locked { overflow: hidden; }
button, a, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.site { overflow: hidden; background: linear-gradient(180deg, rgba(255,253,247,.95), rgba(224,249,228,.58) 45%, #fffdf7); }
.section-inner { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: .76rem; font-weight: 850; letter-spacing: 0; line-height: 1.35; text-transform: uppercase; }

.lock-screen { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; min-height: 100svh; padding: 18px; overflow: hidden; background: linear-gradient(135deg, #fef6c9 0%, #c9f1e0 44%, #ffd3dc 100%); transition: opacity .5s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.lock-screen.is-unlocking { transform: translateY(-110%); opacity: 0; }
.lock-screen.is-hidden { display: none; }
.lock-wallpaper { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.26) 1px, transparent 1px), linear-gradient(180deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: 42px 42px; }
.phone-shell { position: relative; z-index: 1; width: min(430px, 100%); min-height: min(860px, calc(100svh - 36px)); padding: 18px 18px 28px; border: 8px solid rgba(24,27,36,.92); border-radius: 40px; background: linear-gradient(160deg, rgba(255,255,255,.34), rgba(255,255,255,.08)), linear-gradient(180deg, rgba(255,242,168,.78), rgba(255,201,214,.7)); box-shadow: 0 30px 90px rgba(40,46,67,.32), inset 0 0 0 1px rgba(255,255,255,.45); overflow: hidden; }
.phone-shell:before { content: ""; position: absolute; top: 10px; left: 50%; width: 110px; height: 28px; border-radius: 0 0 18px 18px; background: rgba(24,27,36,.92); transform: translateX(-50%); }
.status-bar { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 4px 20px 0; color: rgba(28,31,42,.86); font-size: .83rem; font-weight: 800; }
.status-icons { display: flex; gap: 5px; align-items: end; }
.status-icons i { display: block; width: 14px; height: 8px; border: 2px solid currentColor; border-radius: 3px; }
.status-icons i:first-child { width: 17px; height: 12px; border-width: 0 0 3px; border-radius: 0; }
.status-icons i:last-child { width: 18px; height: 9px; }
.lock-panel { position: relative; display: grid; justify-items: center; min-height: calc(min(860px, 100svh - 36px) - 68px); padding: 92px 8px 0; text-align: center; }
.lock-label { margin: 0; color: rgba(32,35,45,.68); font-size: .88rem; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.lock-panel h1 { margin: 12px 0 0; color: rgba(32,35,45,.9); font-size: clamp(1.8rem, 8vw, 3.1rem); line-height: .95; }
.lock-clock { margin-top: 10px; color: rgba(32,35,45,.74); font-size: clamp(3.6rem, 17vw, 6.7rem); font-weight: 250; line-height: .95; }
.lock-copy { width: min(300px, 88%); margin: 14px auto 22px; color: rgba(32,35,45,.66); font-size: 1rem; line-height: 1.45; }
.pass-dots { display: flex; gap: 18px; margin: 6px 0 12px; }
.pass-dots span { width: 14px; height: 14px; border: 1px solid rgba(32,35,45,.34); border-radius: 50%; background: rgba(255,255,255,.36); transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.pass-dots span.is-filled { border-color: rgba(32,35,45,.8); background: rgba(32,35,45,.82); transform: scale(1.08); }
.pass-dots.is-wrong { animation: shake .34s ease; }
.pass-message { min-height: 24px; margin: 0 0 16px; color: rgba(32,35,45,.62); font-size: .96rem; }
.keypad { display: grid; grid-template-columns: repeat(3, 72px); gap: 14px 18px; justify-content: center; margin-top: auto; }
.keypad button { display: grid; place-items: center; width: 72px; height: 72px; border: 0; border-radius: 50%; color: rgba(28,31,42,.9); background: rgba(255,255,255,.38); box-shadow: inset 0 1px 1px rgba(255,255,255,.52), 0 8px 22px rgba(60,65,85,.14); cursor: pointer; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.keypad button:hover, .keypad button:focus-visible { background: rgba(255,255,255,.58); box-shadow: inset 0 1px 1px rgba(255,255,255,.65), 0 10px 26px rgba(60,65,85,.18); outline: none; transform: translateY(-1px); }
.keypad button:active { transform: translateY(1px) scale(.98); }
.keypad b { display: block; margin-top: 5px; font-size: 1.8rem; font-weight: 500; line-height: 1; }
.keypad small { display: block; min-height: 12px; color: rgba(32,35,45,.66); font-size: .58rem; font-weight: 800; letter-spacing: 0; }
.delete-key { color: rgba(32,35,45,.72); font-size: .88rem; font-weight: 800; text-transform: uppercase; }

.hero { position: relative; display: grid; align-items: end; min-height: 100svh; padding: 22px min(5vw, 52px) 64px; overflow: hidden; background: linear-gradient(145deg, rgba(255,252,237,.9), rgba(218,248,226,.75) 48%, rgba(255,218,225,.84)); }
.hero:after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 18vh; background: linear-gradient(180deg, transparent, rgba(255,253,247,.9)); pointer-events: none; }
.sticker-sky { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.sticker-sky .sticker { position: absolute; filter: drop-shadow(0 18px 24px rgba(36, 50, 74, .15)); }
.sky-lemon-one { top: 16%; left: 17%; --size: clamp(86px, 11vw, 138px); --fly-x: -120px; --fly-y: 42px; --float-distance: 18px; --float-duration: 6.5s; }
.sky-berry-one { top: 12%; right: 28%; --size: clamp(92px, 13vw, 154px); --fly-x: 90px; --fly-y: -54px; --float-distance: 22px; --float-duration: 7.2s; }
.sky-lemon-two { right: 21%; bottom: 9%; --size: clamp(74px, 9vw, 118px); --fly-x: 70px; --fly-y: 80px; --float-distance: 16px; --float-duration: 7.6s; }
.sky-berry-two { right: 5%; top: 41%; --size: clamp(70px, 8vw, 108px); --fly-x: 135px; --fly-y: 6px; --float-distance: 14px; --float-duration: 6.8s; }
.hero-grid { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,255,255,.34) 1px, transparent 1px), linear-gradient(180deg, rgba(255,255,255,.28) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,0)); pointer-events: none; }
.top-nav { position: absolute; top: 18px; right: min(5vw, 52px); left: min(5vw, 52px); z-index: 3; display: flex; gap: 8px; justify-content: flex-end; }
.top-nav a { min-width: 84px; padding: 11px 14px; border: 1px solid rgba(32,35,45,.11); border-radius: 999px; background: rgba(255,255,255,.54); box-shadow: 0 8px 24px rgba(64,72,104,.09); color: rgba(32,35,45,.78); font-size: .86rem; font-weight: 800; line-height: 1; text-align: center; backdrop-filter: blur(14px); }
.hero-copy { position: relative; z-index: 2; width: min(720px, 100%); padding-top: 88px; }
.hero-copy h2 { max-width: 12ch; margin: 0; color: #171922; font-size: clamp(3.8rem, 11vw, 8.2rem); font-weight: 900; letter-spacing: 0; line-height: .88; }
.hero-copy h2 span { display: inline-block; color: var(--berry-deep); text-decoration: underline; text-decoration-color: rgba(255,91,115,.28); text-decoration-thickness: .08em; text-underline-offset: .08em; }
.hero-copy p:not(.eyebrow) { width: min(610px, 100%); margin: 20px 0 0; color: rgba(32,35,45,.78); font-size: clamp(1rem, 2.6vw, 1.26rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.main-button, .soft-button, .birthday-footer button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 18px; border: 1px solid rgba(32,35,45,.12); border-radius: 999px; font-weight: 850; line-height: 1; cursor: pointer; }
.main-button { background: #1e2432; color: #fffdf7; box-shadow: 0 16px 34px rgba(30,36,50,.22); }
.soft-button, .birthday-footer button { background: rgba(255,255,255,.68); color: #1e2432; backdrop-filter: blur(14px); }
.hero-stickers { position: absolute; right: min(6vw, 76px); bottom: 10vh; z-index: 2; width: min(330px, 38vw); height: min(330px, 38vw); pointer-events: none; }
.hero-stickers > span { position: absolute; }
.hero-lemon { top: 0; right: 22%; --size: clamp(72px, 10vw, 128px); --fly-x: 72px; --fly-y: -36px; --float-distance: 14px; --float-duration: 6.5s; }
.hero-berry { right: 0; bottom: 24%; --size: clamp(66px, 9vw, 118px); --fly-x: 90px; --fly-y: 18px; --float-distance: 16px; --float-duration: 7s; }

.letter-section { padding: 76px 0; background: #fffdf7; }
.letter-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
.letter-layout h2, .section-heading h2 { margin: 0; color: #20232d; font-size: clamp(2rem, 6vw, 4.6rem); line-height: .98; letter-spacing: 0; }
.editable-note, .section-heading p:not(.eyebrow) { max-width: 670px; margin: 22px 0 0; color: var(--muted); font-size: 1.06rem; line-height: 1.7; }
.character-stack { position: relative; min-height: 360px; }
.character-stack > span { position: absolute; filter: drop-shadow(0 20px 28px rgba(34,42,74,.16)); }
.big-lemon { top: 20px; left: 8%; --size: 132px; --fly-x: -90px; --fly-y: 20px; --float-distance: 12px; --float-duration: 6.6s; }
.big-berry { top: 92px; right: 8%; --size: 136px; --fly-x: 90px; --fly-y: 18px; --float-distance: 14px; --float-duration: 7s; }

.photo-section { padding: 82px 0 90px; background: linear-gradient(180deg, rgba(224,248,224,.72), rgba(255,253,247,.94)), linear-gradient(90deg, rgba(255,229,92,.12) 0 20%, transparent 20% 100%); }
.section-heading { display: grid; gap: 0; margin-bottom: 30px; }
.compact { margin-bottom: 24px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.photo-slot { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; padding: 18px; border: 1px solid rgba(32,35,45,.12); border-radius: 8px; background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(255,245,207,.72)), linear-gradient(180deg, rgba(255,91,115,.1), rgba(98,190,101,.1)); box-shadow: 0 18px 42px rgba(58,66,96,.12); overflow: hidden; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.photo-slot:hover, .photo-slot:focus-within { border-color: rgba(32,35,45,.22); box-shadow: 0 24px 58px rgba(58,66,96,.18); transform: translateY(-3px); }
.photo-slot input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.story { aspect-ratio: 9 / 16; }
.wide { grid-column: span 2; aspect-ratio: 16 / 9; min-height: 220px; }
.featured { grid-row: span 2; }
.slot-number { position: absolute; top: 14px; left: 14px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.68); color: rgba(32,35,45,.72); font-weight: 900; backdrop-filter: blur(10px); }
.download-photo { position: absolute; top: 14px; right: 14px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; min-width: 86px; min-height: 36px; padding: 8px 12px; border: 1px solid rgba(32,35,45,.12); border-radius: 999px; background: rgba(255,255,255,.78); color: #1e2432; box-shadow: 0 10px 24px rgba(35,42,68,.14); font-size: .76rem; font-weight: 850; line-height: 1; cursor: pointer; backdrop-filter: blur(12px); transition: opacity .18s ease, transform .18s ease, background .18s ease; }
.download-photo:hover:not([aria-disabled="true"]), .download-photo:focus-visible { background: #fffdf7; outline: none; transform: translateY(-1px); }
.download-photo[aria-disabled="true"] { opacity: .42; cursor: not-allowed; transform: none; }
.photo-slot.has-image .download-photo { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.9); }
.slot-art { position: absolute; top: 50%; left: 50%; z-index: 1; --size: 92px; opacity: .9; transform: translate(-50%, -52%); }
.photo-slot strong, .photo-slot small { position: relative; z-index: 2; display: block; }
.photo-slot strong { color: #20232d; font-size: 1.02rem; line-height: 1.15; }
.photo-slot small { margin-top: 5px; color: rgba(32,35,45,.56); font-size: .8rem; font-weight: 750; }
.photo-slot.has-image { padding: 0; background: #11141d; }
.photo-slot.has-image img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot.has-image:after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.62)); }
.photo-slot.has-image .slot-art { display: none; }
.photo-slot.has-image strong, .photo-slot.has-image small { margin-inline: 18px; color: #fff; }
.photo-slot.has-image strong { margin-top: auto; }
.photo-slot.has-image small { margin-bottom: 18px; color: rgba(255,255,255,.78); }

.notes-section { padding: 76px 0 84px; background: #fffdf7; }
.notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.notes-grid article { min-height: 260px; padding: 24px; border: 1px solid rgba(32,35,45,.12); border-radius: 8px; background: rgba(255,255,255,.72); box-shadow: 0 16px 46px rgba(58,66,96,.1); }
.notes-grid h3 { margin: 20px 0 10px; font-size: 1.35rem; line-height: 1.12; }
.notes-grid p { margin: 0; color: var(--muted); line-height: 1.62; }
.mini { --size: 54px; }
.birthday-footer { padding: 34px 0 42px; border-top: 1px solid rgba(32,35,45,.1); background: #1e2432; color: #fffdf7; }
.footer-inner { display: flex; gap: 18px; align-items: center; justify-content: space-between; }
.birthday-footer p { max-width: 640px; margin: 0; color: rgba(255,253,247,.82); line-height: 1.55; }
.birthday-footer button { flex: 0 0 auto; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.1); color: #fffdf7; }

.sticker { display: inline-block; position: relative; width: var(--size, 74px); height: var(--size, 74px); }
.sticker-image { transition: transform .32s ease, filter .32s ease; }
.sticker-image:hover { transform: translateY(-8px) rotate(3deg) scale(1.04); filter: drop-shadow(0 20px 22px rgba(36, 50, 74, .18)); }
.lemon {
  border-radius: 54% 46% 50% 50% / 48% 46% 54% 52%;
  background:
    radial-gradient(circle at 30% 26%, rgba(255,255,255,.72) 0 10%, transparent 11%),
    radial-gradient(circle at 70% 72%, rgba(239,191,38,.28) 0 22%, transparent 23%),
    linear-gradient(135deg, #fff89a 0%, var(--lemon) 54%, var(--lemon-deep) 100%);
  box-shadow:
    inset -9px -11px 0 rgba(219,159,19,.18),
    inset 9px 10px 0 rgba(255,255,255,.3),
    0 10px 0 rgba(239,191,38,.1);
  transform: rotate(-10deg);
}
.lemon:before {
  content: "";
  position: absolute;
  top: -10%;
  right: 8%;
  width: 36%;
  height: 24%;
  border-radius: 75% 0 75% 0;
  background: linear-gradient(135deg, #8ee982, #3fa85b);
  box-shadow: inset 4px 4px 0 rgba(255,255,255,.22);
  transform: rotate(23deg);
}
.lemon:after {
  content: ":)";
  position: absolute;
  top: 37%;
  left: 50%;
  width: 60%;
  height: 34%;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #23242d;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: calc(var(--size, 74px) * .25);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  background:
    radial-gradient(circle at 16% 68%, rgba(255,126,138,.38) 0 12%, transparent 13%),
    radial-gradient(circle at 84% 68%, rgba(255,126,138,.38) 0 12%, transparent 13%);
  transform: translateX(-50%) rotate(90deg);
}
.strawberry {
  border-radius: 54% 46% 58% 58% / 42% 42% 72% 72%;
  background:
    radial-gradient(circle at 27% 31%, #ffd98d 0 3.2%, transparent 3.6%),
    radial-gradient(circle at 59% 29%, #ffd98d 0 3%, transparent 3.4%),
    radial-gradient(circle at 73% 49%, #ffd98d 0 2.8%, transparent 3.2%),
    radial-gradient(circle at 34% 61%, #ffd98d 0 2.9%, transparent 3.3%),
    radial-gradient(circle at 52% 75%, #ffd98d 0 2.6%, transparent 3%),
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.42) 0 11%, transparent 12%),
    linear-gradient(160deg, #ff8da0 0%, var(--berry) 50%, var(--berry-deep) 100%);
  box-shadow:
    inset -10px -14px 0 rgba(158,22,52,.17),
    inset 10px 10px 0 rgba(255,255,255,.2),
    0 10px 0 rgba(201,38,69,.08);
  transform: rotate(8deg);
}
.strawberry:before {
  content: "";
  position: absolute;
  top: -14%;
  left: 24%;
  width: 54%;
  height: 30%;
  background: linear-gradient(135deg, #75db72, #3fa75d);
  clip-path: polygon(50% 0, 61% 38%, 100% 18%, 72% 56%, 92% 100%, 50% 66%, 8% 100%, 28% 56%, 0 18%, 39% 38%);
  filter: drop-shadow(0 3px 0 rgba(30,94,55,.12));
}
.strawberry:after {
  content: ":)";
  position: absolute;
  top: 39%;
  left: 50%;
  width: 64%;
  height: 34%;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #23242d;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: calc(var(--size, 74px) * .24);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  background:
    radial-gradient(circle at 10% 68%, rgba(255,203,209,.68) 0 12%, transparent 13%),
    radial-gradient(circle at 90% 68%, rgba(255,203,209,.68) 0 12%, transparent 13%);
  transform: translateX(-50%) rotate(90deg);
}

.drift { position: absolute; --size: 72px; opacity: .84; animation: hoverFloat 7s ease-in-out infinite; }
.drift-a { top: 11%; left: 8%; --size: 78px; }
.drift-b { top: 20%; right: 8%; --size: 62px; animation-delay: -1.4s; }
.drift-c { left: 10%; bottom: 16%; --size: 106px; animation-delay: -2.2s; }
.drift-d { right: 12%; bottom: 20%; --size: 56px; animation-delay: -4s; }
.drift-e { left: 34%; bottom: 8%; --size: 54px; animation-delay: -5.2s; }

.photo-slot .slot-art { position: absolute; top: 50%; left: 50%; z-index: 1; --size: 104px; opacity: .92; }
.slot-art.lemon { transform: translate(-50%, -52%) rotate(-12deg); }
.slot-art.lemon:after { transform: translateX(-50%) rotate(90deg); }
.slot-art.strawberry { transform: translate(-50%, -52%) rotate(8deg); }
.slot-art.strawberry:after { transform: translateX(-50%) rotate(90deg); }
.fly-sticker.lemon:after { transform: translateX(-50%) rotate(90deg); }
.fly-sticker.strawberry:after { transform: translateX(-50%) rotate(90deg); }

.confetti-layer { position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; }
.confetti-piece { position: absolute; top: -18px; width: 9px; height: 14px; border-radius: 3px; opacity: .96; animation: confettiFall var(--fall-speed, 1.8s) linear forwards; }
@keyframes confettiFall { to { transform: translate3d(var(--drift, 20px), 112vh, 0) rotate(720deg); opacity: 0; } }
.fly-sticker, .fly-card { opacity: 0; transform: translate3d(var(--fly-x, 0), var(--fly-y, 36px), 0) scale(.88) rotate(var(--fly-rotate, -5deg)); transition: opacity .75s ease, transform .85s cubic-bezier(.2,.9,.18,1); }
.fly-card { --fly-y: 44px; --fly-rotate: 0deg; }
.fly-sticker.is-visible, .fly-card.is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
.fly-sticker.is-visible { animation: hoverFloat var(--float-duration, 7s) ease-in-out var(--float-delay, 0s) infinite; }
.photo-slot.fly-card:nth-child(2n) { --fly-x: 32px; }
.photo-slot.fly-card:nth-child(2n + 1) { --fly-x: -32px; }
.notes-grid .fly-card:nth-child(2) { --fly-x: 42px; }
.notes-grid .fly-card:nth-child(3) { --fly-x: -42px; }
.fly-sticker.is-visible:hover { transform: translate3d(0, -8px, 0) scale(1.04) rotate(3deg); }
.photo-slot.fly-card.is-visible:hover, .notes-grid .fly-card.is-visible:hover { transform: translateY(-4px); }
@keyframes hoverFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 calc(var(--float-distance, 16px) * -1); } }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-10px); } 50% { transform: translateX(8px); } 75% { transform: translateX(-5px); } }

@media (max-width: 980px) { .hero { align-items: center; min-height: 96svh; padding-bottom: 44px; } .hero-copy { padding-top: 96px; } .sticker-sky { opacity: .76; } .hero-stickers { right: 18px; bottom: 4vh; width: 260px; height: 260px; opacity: .72; } .letter-layout { grid-template-columns: 1fr; } .character-stack { min-height: 280px; } .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .notes-grid { grid-template-columns: 1fr; } .notes-grid article { min-height: auto; } }
@media (max-width: 720px) { .section-inner { width: min(100% - 24px, 560px); } .sky-lemon-one { top: 12%; left: 54%; } .sky-berry-one { top: 68%; right: 12%; --size: 78px; --fly-x: 20px; --fly-y: 20px; } .sky-lemon-two, .sky-berry-two { display: none; } .lock-screen { padding: 0; } .phone-shell { width: 100%; min-height: 100svh; border: 0; border-radius: 0; } .lock-panel { min-height: calc(100svh - 48px); padding-top: 86px; } .top-nav { right: 12px; left: 12px; justify-content: center; } .top-nav a { min-width: 0; flex: 1 1 0; padding-inline: 10px; } .hero { min-height: 100svh; padding: 20px 16px 42px; } .hero-copy h2 { max-width: 9.2ch; } .hero-actions { display: grid; grid-template-columns: 1fr; width: min(100%, 360px); } .main-button, .soft-button { width: 100%; } .hero-stickers { bottom: 2vh; width: 190px; height: 190px; } .letter-section, .photo-section, .notes-section { padding-block: 58px; } .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .featured { grid-row: span 1; } .wide { grid-column: span 2; } .photo-slot { padding: 14px; } .footer-inner { display: grid; gap: 18px; } .birthday-footer button { width: 100%; } }
@media (max-width: 430px) { .keypad { grid-template-columns: repeat(3, 66px); gap: 12px 16px; } .keypad button { width: 66px; height: 66px; } .lock-clock { font-size: 4.7rem; } .hero-copy h2 { font-size: clamp(3.35rem, 18vw, 4.7rem); } .hero-copy p:not(.eyebrow) { font-size: 1rem; } .photo-grid { grid-template-columns: 1fr; } .wide { grid-column: auto; aspect-ratio: 9 / 12; } .story { min-height: 360px; } }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }
