/* Ported from Baby Registry.dc.html — same palette, type, motion. */
:root {
  --cream: #FAF6F1; --ink: #2F4551; --navy: #2E576F; --navy-deep: #24455A; --rust: #C4744A; --rust-deep: #B0653C;
  --peach: #F9D2BE; --peach-deep: #EFC3AB; --coral: #E2946E; --blue: #DCE7EC; --blue-deep: #CFDDE4; --sand: #EFE0D3;
  --paper: #FFFDFA; --line: #E6DDD0; --line-input: #DCD3C6; --muted: #566B76; --stone: #8D8377; --brown: #4A3B33; --sea: #6A8A9B;
  --ease: cubic-bezier(0.22,1,0.36,1);
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Karla, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--navy); text-decoration: none; border-bottom: 1px solid rgba(46,87,111,0.3); }
a:hover { color: var(--rust); border-bottom-color: var(--rust); }
input, textarea, button { font-family: inherit; font-size: inherit; }
[hidden] { display: none !important; }
.serif { font-family: Newsreader, Georgia, serif; font-weight: 400; }

/* --- motion ------------------------------------------------------------ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes riseSoft { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes popIn { 0% { opacity: 0; transform: scale(0.82); } 60% { opacity: 1; transform: scale(1.05); } 100% { opacity: 1; transform: scale(1); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(26px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes veil { from { opacity: 0; } to { opacity: 1; } }
@keyframes driftA { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(26px,-34px,0) scale(1.08); } 100% { transform: translate3d(0,0,0) scale(1); } }
@keyframes driftB { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-32px,22px,0) scale(0.93); } 100% { transform: translate3d(0,0,0) scale(1); } }
@keyframes driftC { 0% { transform: translate3d(0,0,0); } 50% { transform: translate3d(18px,24px,0); } 100% { transform: translate3d(0,0,0); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.55; } 50% { transform: scale(1.35); opacity: 1; } }
@keyframes sheen { 0% { background-position: -220% 0; } 100% { background-position: 320% 0; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-10px) rotate(1.5deg); } }
@keyframes bobWhale { 0%, 100% { transform: translateY(0) rotate(-0.8deg); } 50% { transform: translateY(-12px) rotate(0.8deg); } }
@keyframes sailBob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-4px) rotate(3deg); } }
@keyframes sailDrift { from { transform: translateX(0); } to { transform: translateX(-56px); } }
@keyframes waveDrift { from { transform: translateX(0); } to { transform: translateX(-120px); } }
@keyframes balloonRise { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 8% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translate3d(var(--drift, 0px), -128vh, 0); opacity: 0; } }
@keyframes balloonSway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }

.rise { animation: rise 800ms var(--ease) both; }
.rise-soft { animation: riseSoft 800ms var(--ease) both; }
.rise-soft.d1 { animation-delay: 90ms; } .rise-soft.d2 { animation-delay: 180ms; } .rise-soft.d3 { animation-delay: 300ms; } .rise-soft.d4 { animation-delay: 400ms; }
.pop-in { animation: popIn 520ms var(--ease) both; }
.breathe { animation: breathe 3.2s ease-in-out infinite; }
.float { animation: float 11s ease-in-out infinite; }
.bob-whale { animation: bobWhale 8s ease-in-out infinite; }
.sail-bob { animation: sailBob 5.2s ease-in-out infinite; transform-origin: 60px 74px; }
.sail-drift { animation: sailDrift 9s linear infinite; }
.wave-drift { animation: waveDrift 16s linear infinite; }

/* --- shared bits -------------------------------------------------------- */
.blob { position: absolute; border-radius: 50%; pointer-events: none; }
.blob-a { top: -120px; left: -90px; width: 420px; height: 420px; background: var(--peach); opacity: 0.5; filter: blur(6px); animation: driftA 22s ease-in-out infinite; }
.blob-b { bottom: -140px; right: -110px; width: 480px; height: 480px; background: var(--blue); opacity: 0.6; filter: blur(4px); animation: driftB 28s ease-in-out infinite; }
.blob-c { top: -80px; left: 6%; width: 260px; height: 260px; background: var(--peach-deep); opacity: 0.7; animation: driftA 24s ease-in-out infinite; }
.blob-d { top: -70px; right: 8%; width: 240px; height: 240px; background: var(--blue-deep); opacity: 0.8; animation: driftB 26s ease-in-out infinite; }
.blob-e { top: -90px; left: 12%; width: 250px; height: 250px; background: var(--peach); opacity: 0.75; animation: driftA 25s ease-in-out infinite; }
.ring { position: absolute; border-radius: 50%; pointer-events: none; animation: driftC 20s ease-in-out infinite; }
.ring-a { top: 18%; right: 12%; width: 120px; height: 120px; border: 1px solid rgba(196,116,74,0.35); animation-duration: 19s; }
.ring-b { bottom: -110px; left: 34%; width: 200px; height: 200px; border: 1px solid rgba(46,87,111,0.22); animation-duration: 21s; }
.ring-c { bottom: -90px; right: 30%; width: 170px; height: 170px; border: 1px solid rgba(196,116,74,0.3); }
.ring-d { bottom: -100px; right: 14%; width: 190px; height: 190px; border: 1px solid rgba(46,87,111,0.24); animation-duration: 22s; }

.eyebrow { margin: 0 0 12px; display: flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); }
.eyebrow-rust { color: var(--rust-deep); } .eyebrow-navy { color: var(--navy); } .eyebrow-sea { color: var(--sea); margin-bottom: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rust); display: inline-block; flex: none; }
.dot-lg { width: 8px; height: 8px; margin-right: 10px; }
.form-error { margin: 0; font-size: 14px; color: var(--rust); }
.hint { margin: 2px 0 0; display: flex; align-items: center; gap: 9px; font-size: 14px; }
.hint.navy { color: var(--navy); } .hint.muted { color: var(--stone); }
.link-rust { align-self: flex-start; font-size: 15px; color: var(--rust); border-bottom-color: rgba(196,116,74,0.4); }
.link-button { border: none; background: none; padding: 0; color: var(--navy); cursor: pointer; border-bottom: 1px solid rgba(46,87,111,0.3); }
.link-button:hover { color: var(--rust); }

/* buttons */
button { cursor: pointer; }
.btn-primary, .btn-navy { padding: 14px 18px; border: none; border-radius: 3px; background: var(--navy); color: var(--cream); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; transition: background 240ms ease, transform 240ms var(--ease), box-shadow 240ms ease; }
.btn-primary:hover, .btn-navy:hover { background: var(--rust); color: var(--cream); transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(196,116,74,0.7); }
.btn-primary:active, .btn-navy:active { transform: translateY(0); }
.btn-navy { padding: 12px 20px; }
.btn-rust { align-self: flex-start; padding: 14px 24px; border: none; border-radius: 3px; background: var(--rust); color: var(--cream); font-weight: 600; font-size: 15px; transition: background 260ms ease, transform 260ms var(--ease), box-shadow 260ms ease; }
.btn-rust:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(46,87,111,0.75); }
.btn-rust:active { transform: translateY(1px); }
.btn-peach { padding: 12px 22px; border-radius: 3px; background: var(--coral); color: var(--ink); font-weight: 600; font-size: 15px; border: none; transition: background 240ms ease, transform 240ms var(--ease), box-shadow 240ms ease; }
.btn-peach:hover { background: var(--peach); color: var(--navy); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0,0,0,0.45); }
.btn-ghost { align-self: flex-start; padding: 10px 0; border: none; background: none; color: var(--stone); font-size: 14px; }
.btn-ghost:hover { color: var(--navy); }
.btn-outline { padding: 10px 14px; border: 1px solid var(--navy); border-radius: 3px; background: var(--paper); color: var(--navy); font-size: 14px; font-weight: 600; transition: background 300ms ease, color 300ms ease, letter-spacing 300ms ease; }
.btn-outline:hover { background: var(--navy); color: var(--cream); letter-spacing: 0.04em; }
.btn-google { display: inline-flex; align-items: center; gap: 10px; border-bottom: none; }
.btn-google svg { background: #fff; border-radius: 50%; padding: 3px; box-sizing: content-box; }

/* inputs */
input:not([type=checkbox]), textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line-input); border-radius: 3px; background: var(--cream); color: var(--ink); outline: none; font-size: 16px; }
input:focus, textarea:focus { border-color: var(--navy); }
textarea { resize: vertical; line-height: 1.6; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust-deep); }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.check { display: flex; align-items: center; gap: 9px; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--navy); cursor: pointer; }

/* photo slots: a filled slot shows the image; an empty one shows the dashed label */
.slot { width: 100%; height: 100%; display: grid; place-items: center; position: relative; }
.slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot.empty::after { content: attr(data-label); position: absolute; inset: 10px; display: grid; place-items: center; border: 1px dashed rgba(47,69,81,0.35); border-radius: 3px; color: rgba(47,69,81,0.6); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; padding: 8px; }
.photo { border-radius: 3px; overflow: hidden; background: var(--peach-deep); }
.photo.blue { background: var(--blue); } .photo.peach { background: var(--peach-deep); } .photo.sand { background: var(--sand); }
.photo.tall { aspect-ratio: 3 / 4; } .photo.wide { aspect-ratio: 4 / 3; background: var(--peach); }

/* --- gate --------------------------------------------------------------- */
.gate { position: relative; min-height: 100vh; display: grid; align-content: center; justify-items: center; padding: 48px 24px; background: var(--cream); overflow: hidden; }
.gate-card { position: relative; width: 100%; max-width: 420px; }
.gate-photo { width: 100%; aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; background: var(--peach); margin-bottom: 32px; }
.gate-title { margin: 0 0 14px; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 40px; line-height: 1.1; color: var(--navy); text-wrap: pretty; }
.gate-lede { margin: 0 0 28px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 36ch; }
.gate-form { display: flex; flex-direction: column; gap: 12px; }
.gate-form input { padding: 14px 16px; background: var(--paper); }
#gate-error { margin-top: 12px; }

/* --- header ------------------------------------------------------------- */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 20; }
.site-header-inner { max-width: 1100px; margin: 0 auto; padding: 20px 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: baseline; justify-content: space-between; }
.site-header h1 { margin: 0; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--cream); }
.site-title { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: color 220ms ease, border-color 220ms ease; }
.site-title:hover { color: var(--peach); border-bottom-color: rgba(249,210,190,0.6); }
.claim-counter { margin: 4px 0 0; font-size: 13px; color: var(--peach); cursor: default; user-select: none; }
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-pill { padding: 8px 15px; border: 1px solid rgba(249,210,190,0.45); border-radius: 999px; background: transparent; color: var(--peach); font-size: 14px; transition: background 220ms ease, color 220ms ease, transform 220ms var(--ease); }
.nav-pill:hover, .nav-pill.active { background: var(--peach); color: var(--navy); transform: translateY(-2px); border-bottom-color: rgba(249,210,190,0.45); }
.nav-pill-admin { border-color: var(--coral); background: var(--coral); color: var(--ink); animation: popIn 380ms var(--ease) both; }
.nav-pill-admin:hover { background: var(--peach); }
/* section filter: sits under the hero and sticks beneath the header while you scroll the gifts */
.section-nav { position: sticky; top: var(--header-h, 0px); z-index: 10; background: var(--cream); box-shadow: 0 1px 0 rgba(47,69,81,0.1); }
.section-nav-inner { max-width: 1100px; margin: 0 auto; padding: 12px 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.section-pill { padding: 6px 14px; border: 1px solid rgba(47,69,81,0.25); border-radius: 999px; background: transparent; color: var(--navy); font: inherit; font-size: 13px; cursor: pointer; transition: background 220ms ease, color 220ms ease; }
.section-pill:hover { background: rgba(47,69,81,0.08); }
.section-pill.active { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.progress-track { height: 4px; background: var(--navy-deep); }
.progress-bar { height: 4px; background: linear-gradient(100deg, #E2946E 0%, #F9D2BE 45%, #E2946E 60%); background-size: 240% 100%; animation: sheen 5.5s linear infinite; transition: width 700ms var(--ease); }

/* --- heroes ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero-peach { background: var(--peach); } .hero-blue { background: var(--blue); } .hero-sand { background: var(--sand); }
.hero-inner { position: relative; max-width: 1100px; margin: 0 auto; padding: 48px 28px; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; align-items: center; }
.hero-narrow { max-width: 900px; padding: 56px 28px; } .hero-tight { max-width: 760px; padding: 56px 28px; }
.hero-title { margin: 0 0 14px; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 34px; line-height: 1.15; color: var(--navy); text-wrap: pretty; }
.hero-title-xl { margin: 0 0 16px; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 40px; line-height: 1.1; color: var(--navy); }
.hero-lede { margin: 0; font-size: 17px; line-height: 1.65; color: var(--brown); max-width: 44ch; }
.hero-lede-lg { margin: 0; font-size: 18px; line-height: 1.65; color: var(--ink); max-width: 48ch; }
.hero-lede-lg.brown { color: var(--brown); max-width: 46ch; }
.photo-cluster { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.photo-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }

/* --- pages -------------------------------------------------------------- */
.page { margin: 0 auto; padding: 48px 28px 96px; }
.page-wide { max-width: 1100px; } .page-mid { max-width: 900px; } .page-tight { max-width: 760px; } .page-note { max-width: 700px; padding-top: 44px; }

/* registry grid */
.items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 24px; }
.items-sections { display: grid; gap: 56px; }
.items-section-title { margin: 0 0 22px; padding-bottom: 12px; border-bottom: 1px solid rgba(47,69,81,0.14); font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 28px; line-height: 1.15; color: var(--navy); }
.item-card { display: flex; flex-direction: column; gap: 12px; transition: transform 420ms var(--ease); }
.item-card:hover { transform: translateY(-6px); }
.item-thumb { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 rgba(47,69,81,0); transition: box-shadow 420ms ease; }
.item-card:hover .item-thumb { box-shadow: 0 18px 34px -20px rgba(47,69,81,0.55); }
.claimed-veil { position: absolute; inset: 0; background: rgba(250,246,241,0.72); pointer-events: none; }
.claimed-badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: var(--navy); color: var(--cream); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; pointer-events: none; }
.item-text { display: flex; flex-direction: column; gap: 4px; }
.item-card-name { margin: 0; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 20px; line-height: 1.25; color: var(--navy); }
.item-card-meta { margin: 0; font-size: 14px; color: var(--rust-deep); }
.item-card-by { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.item-cta { margin-top: auto; }

/* shower */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 36px; }
.fact { padding: 26px 24px; background: var(--paper); }
.fact-label { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust-deep); }
.fact-value { margin: 0; font-family: Newsreader, Georgia, serif; font-size: 24px; line-height: 1.3; color: var(--navy); }
.fact-sub { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.rsvp-banner { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 24px 26px; background: var(--navy); border-radius: 4px; }
.rsvp-banner > div { flex: 1 1 260px; }
.rsvp-banner-title { margin: 0 0 4px; font-family: Newsreader, Georgia, serif; font-size: 22px; color: var(--cream); }
.rsvp-banner-sub { margin: 0; font-size: 15px; color: var(--peach); }

/* rsvp */
/* multi-line copy entries render as paragraphs; inside a heading they should just stack as lines */
h1 p, h2 p, h3 p { margin: 0; }

/* rendered from content/*.md */
.prose { margin: 0 0 36px; max-width: 62ch; font-size: 17px; line-height: 1.65; color: var(--ink); }
.prose h3 { margin: 0 0 16px; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 28px; line-height: 1.15; color: var(--navy); }
.prose h4 { margin: 24px 0 8px; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 22px; color: var(--navy); }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose strong { font-weight: 600; color: var(--navy); }
.prose a { color: var(--rust-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose:empty { display: none; }
.map-block { margin: 0 0 28px; }
.map-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.map-address { margin: 0; font-family: Newsreader, Georgia, serif; font-size: 22px; color: var(--navy); }
.map-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: #EFE9E0; }
.map-frame iframe { display: block; width: 100%; height: 280px; border: 0; }
.card-form { display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.choice-row { display: flex; gap: 10px; }
.choice { flex: 1 1 0; padding: 14px 16px; border-radius: 3px; transition: background 240ms ease, color 240ms ease, border-color 240ms ease, transform 240ms var(--ease); }
.choice:hover { transform: translateY(-2px); }
.choice-yes { border: 1px solid var(--navy); background: var(--paper); color: var(--navy); font-weight: 600; }
.choice-no { border: 1px solid var(--line-input); background: var(--cream); color: var(--muted); }
.choice-no:hover { border-color: var(--rust); }
.choice-yes.selected { background: var(--navy); color: var(--cream); }
.choice-no.selected { border-color: var(--rust); color: var(--rust); font-weight: 600; }
.sent-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 36px 32px; background: var(--blue); border-radius: 4px; }
.sent-card h3 { margin: 0; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 30px; line-height: 1.2; color: var(--navy); }
.sent-card p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); max-width: 34ch; }
.sent-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.sent-actions .btn-primary { text-decoration: none; }
.sailboat { position: absolute; right: 22px; bottom: 16px; width: 108px; height: auto; opacity: 0.9; pointer-events: none; }

/* notes */
.note-title { margin: 0 0 10px; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 32px; color: var(--rust); }
.note-lede { margin: 0 0 28px; font-size: 17px; line-height: 1.65; color: var(--muted); }
.note-form { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.note-form input, .note-form textarea { padding: 12px 14px; font-size: 16px; }
.note-form .btn-navy { align-self: flex-start; }
.notes-list { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; }
.note-quote { margin: 0; padding: 20px 22px; background: var(--blue); border-radius: 4px; animation: popIn 500ms var(--ease) both; transition: transform 380ms var(--ease); }
.note-quote:hover { transform: translateY(-3px) rotate(-0.4deg); }
.note-quote p { margin: 0 0 10px; font-family: Newsreader, Georgia, serif; font-size: 19px; line-height: 1.5; color: var(--ink); font-style: italic; }
.note-quote footer { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); }

/* admin */
.admin-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.admin-title { margin: 0 0 10px; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 32px; color: var(--navy); }
.admin-lede { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.admin-who { margin: 0; font-size: 13px; color: var(--stone); }
.admin-sub { margin: 36px 0 12px; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 24px; color: var(--navy); }
.admin-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.admin-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) auto; gap: 16px; align-items: center; padding: 14px 18px; background: var(--paper); }
.admin-row .name { font-size: 15px; color: var(--ink); }
.admin-row .status { font-size: 14px; color: var(--stone); }
.admin-row .actions { display: flex; justify-content: flex-end; gap: 6px; }
.admin-row.is-hidden .name, .admin-row.is-hidden .status { opacity: 0.45; text-decoration: line-through; }
.admin-empty { padding: 14px 18px; background: var(--paper); font-size: 14px; color: var(--stone); }
.btn-release { padding: 7px 12px; border: 1px solid var(--line-input); border-radius: 3px; background: var(--cream); color: var(--rust); font-size: 13px; }
.btn-release:hover { border-color: var(--rust); }

/* --- footer ------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; background: #EAF1F4; border-top: 1px solid var(--blue); }
.footer-inner { position: relative; z-index: 1; max-width: 1040px; margin: 0 auto; padding: 40px 28px 132px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; align-items: end; }
.footer-art { display: flex; justify-content: flex-start; }
.whale { display: block; width: 100%; max-width: 260px; height: auto; margin-bottom: -104px; }
.whale-fallback { width: 260px; max-width: 100%; height: auto; margin-bottom: -60px; }
.footer-text { position: relative; z-index: 3; text-align: right; }
.footer-text .eyebrow { justify-content: flex-end; }
.footer-line { margin: 0; font-family: Newsreader, Georgia, serif; font-size: 26px; line-height: 1.4; color: var(--navy); text-wrap: pretty; }
.waves { display: block; position: absolute; left: 0; bottom: 0; z-index: 2; width: 100%; height: 124px; }

/* --- balloons ----------------------------------------------------------- */
.balloons { position: fixed; inset: 0; z-index: 60; overflow: hidden; pointer-events: none; }
.balloon { position: absolute; bottom: -14vh; animation: balloonRise var(--dur) var(--delay) cubic-bezier(0.34,0.02,0.62,1) both; will-change: transform, opacity; }
.balloon-body { width: 100%; height: 100%; opacity: 0.82; border-radius: 50% 50% 47% 47% / 56% 56% 44% 44%; animation: balloonSway 4.6s ease-in-out infinite; }
.balloon-string { position: absolute; top: 100%; left: 50%; width: 1px; opacity: 0.5; }

/* --- modals ------------------------------------------------------------- */
.veil { position: fixed; inset: 0; z-index: 50; background: rgba(47,69,81,0.46); backdrop-filter: blur(3px); display: grid; align-items: center; justify-items: center; padding: 24px; animation: veil 260ms ease both; }
.modal { width: 100%; background: var(--cream); border-radius: 5px; box-shadow: 0 40px 80px -30px rgba(20,40,52,0.6); animation: modalIn 420ms var(--ease) both; }
.modal-sm { max-width: 380px; display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.modal-lg { max-width: 760px; max-height: 88vh; overflow: auto; }
.modal-title { margin: 0; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--navy); }
.modal-lede { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.modal-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.modal-actions .btn-ghost { padding: 12px 8px; }
.item-hero { width: 100%; aspect-ratio: 16 / 9; background: #EFE9E0; }
.item-body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.item-title { margin: 0 0 6px; font-family: Newsreader, Georgia, serif; font-weight: 400; font-size: 30px; line-height: 1.2; color: var(--navy); }
.item-meta { margin: 0; font-size: 15px; color: var(--stone); }
.item-note { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 58ch; }
.claim-box { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.claim-label { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); }
.claim-box input:not([type=checkbox]) { padding: 12px 14px; }
.claim-box .btn-rust { padding: 12px 20px; }
.claimed-box { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--blue); border-radius: 4px; }
.claimed-box p { margin: 0; display: flex; align-items: center; font-size: 16px; color: var(--navy); }

@media (max-width: 640px) {
  .gate-title { font-size: 32px; }
  .site-header-inner { padding: 16px 18px; }
  .section-nav-inner { padding: 10px 18px; }
  .hero-inner, .page { padding-left: 18px; padding-right: 18px; }
  .item-body { padding: 22px 20px 24px; }
  .admin-row { grid-template-columns: 1fr; gap: 6px; }
  .admin-row .actions { justify-content: flex-start; }
}
