/* Sample baby shower: boho neutrals, line art, arches. Sand, sage, terracotta. */
:root { --sand: #efe6d8; --sand-2: #e3d6c3; --clay: #c98a6a; --clay-2: #b0715a; --sage: #a7b49b; --sage-2: #7f8f72; --brown: #5e4636; --muted: #8a7666;
  --display: 'DM Serif Display', Georgia, serif; --body: 'Outfit', system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--sand); color: var(--brown); font: 300 1.05rem/1.7 var(--body); }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.sample-banner { position: relative; z-index: 5; background: var(--brown); color: var(--sand); text-align: center; font: 400 .74rem var(--body); letter-spacing: .1em; padding: 9px; white-space: nowrap; }
.sample-banner a { color: #f3c9b4; margin-left: 10px; }

.hero { display: grid; gap: 30px; align-items: center; max-width: 1040px; margin: 0 auto; padding: 50px 22px 40px; min-height: calc(100svh - 36px); }
@media (min-width: 820px) { .hero { grid-template-columns: 1.1fr .9fr; } }
.pre { font-size: .95rem; letter-spacing: .06em; color: var(--muted); }
h1 { font: 400 clamp(4rem, 20vw, 7.5rem)/.9 var(--display); color: var(--brown); margin: 10px 0 14px; }
h1 em { color: var(--clay); }
.for { font-size: 1.15rem; } .for b { font-weight: 500; }
.when { display: inline-block; margin-top: 18px; padding: 8px 18px; border: 1px solid var(--brown); border-radius: 999px; font-size: .95rem; letter-spacing: .04em; }
.countdown { display: flex; gap: 18px; margin-top: 22px; color: var(--muted); font-size: .85rem; }
.countdown b { display: block; font: 400 2rem/1 var(--display); color: var(--clay); }
.tick { animation: tick .5s ease; } @keyframes tick { from { opacity: .3; transform: translateY(-30%); } }
.hero__arch { position: relative; justify-self: center; width: min(320px, 78vw); aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; background: linear-gradient(180deg, #e9d6c4, var(--sand-2)); box-shadow: inset 0 0 0 10px var(--sand), inset 0 0 0 11px var(--clay); overflow: hidden; }
.onesie { position: absolute; left: 50%; top: 52%; width: 46%; transform: translate(-50%, -50%) rotate(-6deg); animation: sway 4s ease-in-out infinite; }
@keyframes sway { 50% { transform: translate(-50%, -54%) rotate(6deg); } }
.sprig { position: absolute; width: 70px; height: 140px; color: var(--sage-2); }
.s1 { left: 10%; bottom: -6px; transform: rotate(-14deg); } .s2 { right: 10%; bottom: -6px; transform: rotate(14deg) scaleX(-1); color: var(--clay-2); }

section { padding: 60px 20px; }
.arches { display: grid; gap: 18px; max-width: 1040px; margin: 0 auto; }
@media (min-width: 760px) { .arches { grid-template-columns: repeat(3, 1fr); } }
.arch { text-align: center; padding: 60px 22px 30px; border-radius: 999px 999px 16px 16px; background: #f7f1e8; border: 1px solid var(--sand-2); transition: transform .4s ease; }
.arch:hover { transform: translateY(-6px); }
.arch--clay { background: #f1ddd0; } .arch--sage { background: #e3e8db; }
.ico { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 50%; border: 1px solid var(--brown); font-size: 1.3rem; }
.arch h2 { font: 400 1.8rem var(--display); margin-bottom: 6px; }
.arch a { display: inline-block; margin-top: 10px; color: var(--clay-2); font-weight: 500; }
.note { max-width: 620px; margin: 0 auto; text-align: center; font-size: 1.15rem; }
.sprig--small { position: static; display: block; margin: 0 auto 10px; width: 40px; height: 80px; color: var(--sage-2); }

.card { max-width: 540px; margin: 0 auto; padding: 50px 22px 34px; text-align: center; border-radius: 999px 999px 18px 18px; background: #f7f1e8; border: 1px solid var(--sand-2); }
.card h2 { font: 400 2.2rem var(--display); }
.rsvp__intro { color: var(--muted); margin: 4px 0 24px; }
.form, .more { display: grid; gap: 16px; text-align: left; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
label, legend { display: block; padding: 0; margin-bottom: 6px; font: 500 .9rem var(--body); }
small { font-weight: 300; color: var(--muted); }
input[type=text], select, textarea { width: 100%; font: 300 1rem var(--body); font-size: max(16px, 1rem); color: var(--brown); background: #fffaf3; border: 1px solid var(--sand-2); border-radius: 14px; padding: 12px 14px; min-height: 50px; }
select { appearance: none; } textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(201, 138, 106, .2); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; margin: 0; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 50px; border: 1px solid var(--sand-2); border-radius: 999px; background: #fffaf3; font-weight: 400; }
.choice input:checked + span { background: var(--sage); border-color: var(--sage-2); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.has-error input, .has-error select, .has-error textarea, .has-error .choice span { border-color: #b4523c; }
.rsvp-field-error { color: #a4472f; font-size: .9rem; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.btn { width: 100%; min-height: 54px; border: 0; border-radius: 999px; background: var(--clay); color: #fff; font: 500 1rem var(--body); letter-spacing: .04em; cursor: pointer; transition: background .3s; }
.btn:hover { background: var(--clay-2); } .btn:disabled { opacity: .6; }
.link { background: none; border: 0; font: 400 1rem var(--body); color: var(--clay-2); text-decoration: underline; cursor: pointer; }
.msg h3 { font: 400 2rem var(--display); margin-bottom: 6px; } .msg p { color: var(--muted); margin-bottom: 12px; } .demo-note { font-size: .88rem; }
.foot { text-align: center; padding: 20px 20px calc(50px + env(safe-area-inset-bottom)); font: italic 400 1.4rem var(--display); color: var(--clay-2); }

.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.js .rv.in { opacity: 1; transform: none; }
.arch.rv:nth-child(2) { transition-delay: .12s; } .arch.rv:nth-child(3) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } .js .rv { opacity: 1; transform: none; transition: none; } }
