@font-face { font-family: 'Shippori Mincho'; font-weight: 400; font-display: swap; src: url('../fonts/ShipporiMincho-400.woff2') format('woff2'); }
@font-face { font-family: 'Shippori Mincho'; font-weight: 600; font-display: swap; src: url('../fonts/ShipporiMincho-600.woff2') format('woff2'); }
@font-face { font-family: 'Zen Maru Gothic'; font-weight: 400; font-display: swap; src: url('../fonts/ZenMaruGothic-400.woff2') format('woff2'); }
@font-face { font-family: 'Zen Maru Gothic'; font-weight: 500; font-display: swap; src: url('../fonts/ZenMaruGothic-500.woff2') format('woff2'); }
@font-face { font-family: 'Zen Maru Gothic'; font-weight: 700; font-display: swap; src: url('../fonts/ZenMaruGothic-700.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-weight: 400; font-display: swap; src: url('../fonts/SpaceMono-400.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-weight: 700; font-display: swap; src: url('../fonts/SpaceMono-700.woff2') format('woff2'); }

:root {
  --ink: #29222e;
  --ink-2: #5d5363;
  --ink-3: #8f8595;
  --paper: #f3eee7;
  --paper-2: #e9e2d9;
  --line: rgba(41, 34, 46, 0.12);
  --night: #1d1b25;
  --night-2: #282533;
  --cream: #fbf7f1;
  --milk: #d9bc9c;
  --matcha: #a7bb9c;
  --lav: #c7bde3;
  --rose: #e9b8c4;
  --sky: #b9cfe6;
  --holo: linear-gradient(115deg, #f6c9d8 0%, #cfd8ff 30%, #d4f3e6 55%, #fff0c9 80%, #f6c9d8 100%);
  --glass: rgba(255, 255, 255, 0.46);
  --glass-dark: rgba(29, 27, 37, 0.5);
  --glass-edge: rgba(255, 255, 255, 0.7);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 40px -18px rgba(41, 34, 46, 0.35);
  --serif: 'Shippori Mincho', 'Times New Roman', serif;
  --sans: 'Zen Maru Gothic', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --r: 18px;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); font-weight: 400; color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden;
}
/* film grain over everything */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body.lock { overflow: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: lowercase; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-3); display: flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.glass {
  background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--r);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: var(--shadow);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px;
  padding: 13px 22px; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap;
  background: var(--ink); color: var(--cream); position: relative; transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6), 0 8px 26px -6px rgba(199, 189, 227, 0.9); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: var(--glass); color: var(--ink); border: 1px solid var(--glass-edge); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn.holo { background: var(--holo); color: var(--ink); background-size: 200% 100%; animation: holo 8s linear infinite; }
@keyframes holo { to { background-position: 200% 0; } }
.btn.small { padding: 9px 14px; font-size: 13px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: default; transform: none; box-shadow: none; }
.link { font-family: var(--mono); font-size: 12px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(243, 238, 231, 0.72); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 19px; white-space: nowrap; }
.brand .orb-mini { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0 14%, transparent 16%), conic-gradient(from 200deg, #f4c9d9, #cdd7ff, #d2f2e3, #fff0c9, #f4c9d9); box-shadow: inset -2px -3px 5px rgba(80, 60, 110, 0.3); }
.links { display: flex; gap: 4px; flex: 1; }
.links a { text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); transition: background 0.2s ease, color 0.2s ease; }
.links a:hover { background: rgba(255, 255, 255, 0.6); color: var(--ink); }
.links a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, 0.75); box-shadow: inset 0 0 0 1px var(--glass-edge); }
.nav-r { display: flex; align-items: center; gap: 8px; }
.sound { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 7px 12px; font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.sound .bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.sound .bars i { width: 2px; height: 4px; background: currentColor; border-radius: 1px; }
.sound[aria-pressed="true"] { color: var(--ink); border-color: var(--ink-3); }
.sound[aria-pressed="true"] .bars i { animation: eq 0.9s ease-in-out infinite alternate; }
.sound .bars i:nth-child(2) { animation-delay: -0.3s; } .sound .bars i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }
.bagbtn { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 9px 14px; font-weight: 700; font-size: 13px; }
.bagbtn .n { font-family: var(--mono); font-size: 11px; background: var(--holo); color: var(--ink); border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; }
.bagbtn.bump { animation: bump 0.5s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes bump { 30% { transform: scale(1.12); } }

/* ---------- product cards ---------- */
.grid-p { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 34px 24px; }
.pc { display: flex; flex-direction: column; gap: 8px; }
.pc-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--paper-2); box-shadow: 0 20px 40px -24px rgba(41, 34, 46, 0.5); }
.pc-img img, .pc-img .swatch-art { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(.2, .7, .2, 1); }
.pc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.35) 48%, rgba(207, 216, 255, 0.25) 52%, transparent 65%); background-size: 250% 100%; background-position: 120% 0; transition: background-position 0.9s ease; pointer-events: none; mix-blend-mode: screen; }
.pc:hover .pc-img img, .pc:hover .pc-img .swatch-art { transform: scale(1.04); }
.pc:hover .pc-img::after { background-position: -20% 0; }
.badge { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; padding: 4px 9px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-edge); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 1; }
.pc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; }
.pc-name { font-weight: 700; font-size: 15px; text-decoration: none; }
.pc-price { font-family: var(--mono); font-size: 13px; }
.pc-meta { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }
.pc-add { text-decoration: none; display: inline-block; align-self: flex-start; margin-top: 4px; border: 1px solid var(--ink); background: transparent; border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 700; transition: background 0.2s ease, color 0.2s ease; }
.pc-add:hover { background: var(--ink); color: var(--cream); }

/* app theme artwork (no image: drawn from the palette) */
.swatch-art { display: grid; place-items: center; background: radial-gradient(120% 90% at 20% 10%, var(--c1), transparent 60%), radial-gradient(90% 80% at 90% 90%, var(--c2), transparent 60%), linear-gradient(160deg, var(--c4), var(--c3)); }
.swatch-art .ph { width: 46%; aspect-ratio: 9 / 18; border-radius: 18px; background: #fbf7f1; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.45), 0 0 0 5px rgba(255, 255, 255, 0.4); padding: 14% 10%; display: flex; flex-direction: column; gap: 7%; }
.swatch-art .ph b { height: 7%; width: 70%; border-radius: 4px; background: var(--c4); }
.swatch-art .ph i { height: 3.5%; border-radius: 3px; background: var(--c1); opacity: 0.85; }
.swatch-art .ph i:nth-of-type(2) { width: 80%; background: var(--c2); } .swatch-art .ph i:nth-of-type(3) { width: 60%; }
.swatch-art .ph s { margin-top: auto; align-self: flex-end; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--c3); text-decoration: none; }

/* ---------- section scaffolding ---------- */
.sec { padding: 96px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; margin-top: 10px; }
.dark { background: var(--night); color: var(--cream); }
.dark .eyebrow { color: rgba(251, 247, 241, 0.55); }

/* ---------- pearl (the pet) ---------- */
.pet { position: fixed; left: 22px; bottom: 22px; z-index: 45; display: flex; align-items: flex-end; gap: 12px; }
.pet-btn { position: relative; width: 74px; height: 74px; border-radius: 50%; border: 1px solid var(--glass-edge); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); padding: 0; display: grid; place-items: center; }
.orb { --lx: 0; --ly: 0; position: relative; isolation: isolate; width: 50px; height: 50px; border-radius: 50%; animation: breathe 4.6s ease-in-out infinite; transform-origin: 50% 90%; }
/* breathing: a soft squash and stretch from the bottom, so it sits */
@keyframes breathe { 0%, 100% { transform: scale(1, 1) translateY(0); } 45% { transform: scale(0.97, 1.04) translateY(-2px); } 70% { transform: scale(1.02, 0.98) translateY(0); } }
/* the face turns with --lx/--ly (−1..1); the shine slides the other way, so it reads as a turn, not a slide */
.orb .face { position: absolute; inset: 0; transform: translate(calc(var(--lx) * 6px), calc(var(--ly) * 4px)); transition: transform 0.9s cubic-bezier(.3, .7, .3, 1); z-index: 1; }
.orb::after { content: ''; position: absolute; left: 22%; top: 14%; width: 30%; height: 22%; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 255, 255, 0.9), transparent 70%); transform: translate(calc(var(--lx) * -4px), calc(var(--ly) * -3px)); transition: transform 0.9s cubic-bezier(.3, .7, .3, 1); pointer-events: none; }
.orb.blink .eye { transform: scaleY(0.1); }
.pet-btn { animation: wander 19s ease-in-out infinite; }
@keyframes wander { 0%, 100% { translate: 0 0; } 25% { translate: 3px -4px; } 50% { translate: -2px -6px; } 75% { translate: -4px -2px; } }
.orb::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 26%, #fff 0 9%, rgba(255, 255, 255, 0.4) 14%, transparent 22%), conic-gradient(from 200deg, #f4c9d9, #cdd7ff, #d2f2e3, #fff0c9, #f4c9d9); box-shadow: inset -6px -8px 14px rgba(80, 60, 110, 0.32), 0 6px 16px -4px rgba(150, 120, 190, 0.55); animation: spin 14s linear infinite; }
@keyframes spin { to { filter: hue-rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.orb .eye { position: absolute; top: 52%; width: 5px; height: 6px; border-radius: 50%; background: var(--ink); transition: transform 0.08s ease, height 0.2s ease, border-radius 0.2s ease; }
.orb .eye.l { left: 34%; } .orb .eye.r { right: 34%; }
.orb .cheek { position: absolute; top: 62%; width: 8px; height: 4px; border-radius: 50%; background: rgba(240, 140, 170, 0.55); }
.orb .cheek.l { left: 20%; } .orb .cheek.r { right: 20%; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.1); } }
.orb.happy .eye { height: 4px; border-radius: 6px 6px 0 0; background: transparent; border: 2px solid var(--ink); border-bottom: 0; width: 7px; animation: none; }
.orb.sleepy .eye { height: 2px; border-radius: 2px; animation: none; }
.orb.love::before { box-shadow: inset -6px -8px 14px rgba(80, 60, 110, 0.32), 0 0 22px 4px rgba(244, 170, 200, 0.9); }
.pet-chip { position: absolute; top: -8px; right: -18px; font-family: var(--mono); font-size: 10px; padding: 3px 7px; border-radius: 999px; background: var(--ink); color: var(--cream); white-space: nowrap; }
.pet-pop { display: none; width: 248px; padding: 14px; }
.pet.open .pet-pop { display: block; animation: rise 0.3s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.pet-say { font-family: var(--serif); font-size: 18px; min-height: 26px; }
.pet-acts { display: flex; gap: 6px; margin: 10px 0 12px; }
.pet-acts button { flex: 1; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.6); border-radius: 999px; padding: 7px 0; font-size: 12px; font-weight: 700; }
.pet-acts button:hover { background: #fff; }
.meter-row { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 10px; color: var(--ink-2); margin-top: 6px; }
.dots { display: flex; gap: 4px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink-3); }
.dots i.on { background: var(--holo); border-color: var(--ink-2); }
.floaty { position: absolute; left: 50%; top: -6px; font-family: var(--serif); font-size: 15px; pointer-events: none; animation: floaty 1.1s ease-out forwards; white-space: nowrap; color: var(--ink); }
@keyframes floaty { from { opacity: 1; transform: translate(-50%, 0); } to { opacity: 0; transform: translate(-50%, -34px); } }

/* ---------- bag drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(29, 27, 37, 0.35); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 10px; right: 10px; bottom: 10px; width: min(420px, calc(100vw - 20px)); z-index: 61; display: flex; flex-direction: column; padding: 22px; background: rgba(251, 247, 241, 0.88); transform: translateX(110%); transition: transform 0.45s cubic-bezier(.2, .9, .3, 1); }
.drawer.on { transform: translateX(0); }
.drawer-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-h h2 { font-size: 26px; }
.x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 18px; line-height: 1; display: grid; place-items: center; padding: 0; }
.drawer-body { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 12px; }
.li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.li .th { width: 64px; height: 80px; border-radius: 10px; overflow: hidden; }
.li .th img, .li .th .swatch-art { width: 100%; height: 100%; object-fit: cover; }
.li .nm { font-weight: 700; font-size: 14px; }
.li .sub { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 3px; }
.li .rm { border: 0; background: none; font-family: var(--mono); font-size: 11px; color: var(--ink-3); text-decoration: underline; padding: 0; }
.drawer-foot { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 10px; }
.row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.row.big { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.note { font-family: var(--mono); font-size: 11px; color: var(--ink-3); line-height: 1.6; }
.empty { text-align: center; margin: auto; padding: 40px 0; }
.empty .orb { margin: 0 auto 16px; }
.field { width: 100%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.7); border-radius: 12px; padding: 13px 14px; font: inherit; font-size: 15px; color: var(--ink); }
.field:focus { outline: none; border-color: var(--ink-3); box-shadow: 0 0 0 4px rgba(199, 189, 227, 0.4); }
.dl { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 700; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 160%); padding: 11px 18px; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; transition: transform 0.45s cubic-bezier(.2, .9, .3, 1.2); white-space: nowrap; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- footer ---------- */
.foot { padding: 56px 0 120px; border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.foot .brand { font-size: 22px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { font-family: var(--mono); font-size: 12px; text-decoration: none; color: var(--ink-2); }

@media (max-width: 820px) {
  .wrap { padding: 0 18px; }
  .nav-in { flex-wrap: wrap; height: auto; padding: 10px 0 0; gap: 10px; }
  .links { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 0 14px 8px; }
  .nav-r { margin-left: auto; }
  .sound .lbl { display: none; }
  .sec { padding: 64px 0; }
  .pet { left: 12px; bottom: 12px; }
}
@media (max-width: 560px) {
  .grid-p { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .pc-name { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- drift ---------- */
.drift { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

/* ---------- arriving at a place: the painting, then you scroll through the door ---------- */
.arrive { position: relative; height: 160vh; }
.arrive-stick { position: sticky; top: 64px; height: calc(100vh - 64px); overflow: hidden; display: grid; place-items: center; }
.arrive-bg { position: absolute; inset: -60px; background-position: center; background-size: cover; filter: blur(40px) saturate(0.9) brightness(0.92); transform: scale(1.1); }
.arrive-bg::after { content: ''; position: absolute; inset: 0; background: rgba(243, 238, 231, 0.25); }
.arrive-paint { position: relative; height: min(calc(100% - 150px), 640px); margin-top: -40px; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; box-shadow: 0 50px 90px -30px rgba(41, 34, 46, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.4) inset; will-change: transform; }
.arrive-paint img { width: 100%; height: 100%; object-fit: cover; }
.arrive-sign { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); z-index: 2; padding: 14px 26px 16px; text-align: center; background: rgba(251, 247, 241, 0.86); border: 0; cursor: pointer; }
.arrive-sign .eyebrow { justify-content: center; }
.arrive-sign b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; margin: 6px 0 4px; color: var(--ink); }
.arrive-sign span { font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.arrive-sign span::after { content: ' ↓'; display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }
.arrive-back { position: absolute; top: 20px; left: 20px; z-index: 3; font-family: var(--mono); font-size: 11px; text-decoration: none; padding: 7px 12px; border-radius: 999px; background: rgba(251, 247, 241, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.inside { position: relative; margin-top: -42vh; padding-top: 40px; padding-bottom: 40px; }
.inside-head { margin-bottom: 30px; max-width: 620px; }
.inside-head h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1; margin: 12px 0 14px; }
.inside-head p { margin: 0; color: var(--ink-2); line-height: 1.7; font-size: 16px; }
.inside .letter-form { display: flex; gap: 8px; max-width: 460px; margin-top: 22px; }
.inside .letter-form .field { flex: 1; border-radius: 999px; padding: 13px 18px; }
@media (max-width: 700px) {
  .arrive-stick { top: 98px; height: calc(100vh - 98px); }
  .arrive-paint { height: 100%; width: 100%; aspect-ratio: auto; border-radius: 0; }
  .arrive-sign { bottom: 28px; width: max-content; max-width: calc(100% - 32px); }
  .inside .letter-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .arrive { height: auto; } .arrive-stick { position: relative; top: 0; height: 80vh; } .inside { margin-top: 0; } .orb, .pet-btn { animation: none; } }
.gift-row { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 16px; }
.gift-row img { width: 100%; aspect-ratio: 1290 / 2796; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
@media (max-width: 560px) { .gift-row { gap: 8px; } .gift-row img { border-radius: 14px; } }
.home-row { display: grid; grid-template-columns: 1fr minmax(260px, 400px); gap: 48px; align-items: center; }
.home-vid { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
@media (max-width: 800px) { .home-row { grid-template-columns: 1fr; } }

/* ---------- pearl's glass house (the garden) ---------- */
.dome-scene { position: relative; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background-size: cover; background-position: center 70%; box-shadow: var(--shadow); display: grid; place-items: end center; }
.dome-scene::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 236, 244, 0.15), rgba(40, 50, 40, 0.25)); }
.dome { position: relative; width: 62%; aspect-ratio: 1 / 1.08; margin-bottom: 15%; border-radius: 50% 50% 44% 44% / 56% 56% 44% 44%; background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.55), transparent 18%), radial-gradient(circle at 50% 60%, rgba(255, 240, 248, 0.18), rgba(255, 255, 255, 0.06) 70%); border: 1.5px solid rgba(255, 255, 255, 0.7); box-shadow: inset -10px -14px 30px rgba(255, 255, 255, 0.25), inset 8px 6px 20px rgba(255, 255, 255, 0.35), 0 30px 40px -24px rgba(30, 30, 20, 0.6); display: grid; place-items: end center; z-index: 1; backdrop-filter: blur(1.5px); -webkit-backdrop-filter: blur(1.5px); }
.dome::before { content: ''; position: absolute; top: -9%; left: 50%; width: 13%; aspect-ratio: 1; margin-left: -6.5%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.15)); border: 1.5px solid rgba(255, 255, 255, 0.7); }
.dome::after { content: ''; position: absolute; left: -6%; right: -6%; bottom: -7%; height: 16%; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, #8fae7c, #5f7f55 60%, #4a6343); z-index: -1; }
.dome .orb { transform-origin: 50% 100%; margin-bottom: 8%; scale: 2.6; translate: 0 -30%; }
.dome .glow { position: absolute; bottom: 10%; width: 70%; height: 40%; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 220, 236, 0.6), transparent 70%); pointer-events: none; }
