:root {
  color-scheme: light;
  --paper: #f5efe5;
  --ink: #203c33;
  --ink-soft: #4e675c;
  --muted: #7d887d;
  --terracotta: #c76f4f;
  --terracotta-dark: #a9533d;
  --gold: #c99a5b;
  --line: rgba(48, 72, 61, .15);
  --serif: Georgia, 'Songti SC', 'Noto Serif CJK SC', serif;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
button, input { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
.page-shell { width: 100%; max-width: 480px; min-height: 100vh; margin: 0 auto; padding: 0 18px; }
.topbar { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; color: var(--ink); font-family: var(--serif); font-size: 15px; text-decoration: none; letter-spacing: .06em; }
.wordmark-mark { display: grid; width: 24px; height: 24px; place-items: center; color: var(--terracotta); font-size: 20px; }
.topbar-note { color: var(--muted); font-size: 9px; letter-spacing: .07em; white-space: nowrap; }
.sender-link { flex: 0 0 auto; color: var(--muted); font-size: 10px; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.sender-link:hover { color: var(--terracotta-dark); }
.sender-link span { margin-left: 2px; color: var(--gold); }
.hero { padding: 34px 0 37px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-copy { position: relative; z-index: 2; width: 100%; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0 0 17px; color: var(--terracotta-dark); font-size: 9px; font-weight: 600; letter-spacing: .18em; }
.eyebrow-line { display: inline-block; width: 20px; height: 1px; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 13vw, 58px); letter-spacing: -.05em; line-height: 1.18; }
.hero h1 em { color: var(--terracotta); font-style: normal; }
.hero-intro { margin: 17px 0 21px; color: var(--ink-soft); font-size: 13px; line-height: 1.9; }
.open-button, .submit-button { min-height: 48px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; border: 0; border-radius: 3px; color: #fff9ef; background: var(--ink); cursor: pointer; transition: background .2s, transform .2s; }
.open-button { transition: opacity .25s, background .2s, transform .2s; }
.hero.is-open .open-button { opacity: 0; pointer-events: none; }
.open-button:hover, .submit-button:hover { background: #2f5648; transform: translateY(-2px); }
.open-button span, .submit-button span { color: #e4bc83; font-size: 18px; }
.hero-footnote { margin: 22px 0 0; color: #a39a89; font-family: var(--serif); font-size: 11px; letter-spacing: .15em; }
.hero.is-open .hero-footnote { opacity: 0; transition: opacity .25s; }
.gift-stage { width: 100%; height: 276px; position: relative; display: grid; place-items: center; isolation: isolate; }
.gift-stage::before { position: absolute; z-index: -1; content: ''; width: 83%; height: 88%; border: 1px solid rgba(182, 146, 102, .2); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(235, 214, 180, .55), rgba(245, 239, 229, 0) 68%); }
.stage-glow { position: absolute; z-index: -1; width: 60%; height: 37%; bottom: 23%; border-radius: 50%; background: rgba(225, 186, 132, .3); filter: blur(34px); transition: opacity .5s; }
.stage-steam { position: absolute; z-index: -1; width: 29px; height: 72px; top: 9%; border: 1px solid rgba(202, 178, 144, .45); border-width: 0 1px 0 0; border-radius: 50%; transform: rotate(16deg); opacity: .62; }
.steam-one { left: 35%; }
.steam-two { left: 52%; top: 4%; height: 89px; transform: rotate(-13deg); opacity: .4; }
.gift-box { position: absolute; width: 204px; height: 189px; bottom: 12%; padding: 0; border: 0; background: transparent; cursor: pointer; filter: drop-shadow(0 17px 15px rgba(72, 54, 36, .16)); transition: filter .3s; }
.gift-box:focus-visible, .open-button:focus-visible, .submit-button:focus-visible, .text-button:focus-visible, .add-guest-button:focus-visible, .sender-link:focus-visible { outline: 3px solid #d9aa70; outline-offset: 4px; }
.gift-body { position: absolute; left: 11px; right: 11px; bottom: 0; height: 132px; overflow: hidden; border-radius: 3px 3px 5px 5px; background: linear-gradient(140deg, #d47b59, #bb6548 72%); box-shadow: inset 0 1px rgba(255,255,255,.3); }
.gift-lid { position: absolute; z-index: 3; left: 0; right: 0; bottom: 116px; height: 42px; border-radius: 3px; background: linear-gradient(170deg, #d78361, #c06b4d); box-shadow: inset 0 2px rgba(255,255,255,.27), 0 6px 9px rgba(91, 52, 39, .14); transform-origin: 8% 94%; transition: transform .72s cubic-bezier(.2,.75,.2,1), opacity .5s; }
.ribbon { position: absolute; display: block; background: #d8b276; box-shadow: inset 1px 0 rgba(255,255,255,.35); }
.ribbon-lid { top: 0; bottom: 0; left: 46%; width: 18px; }
.ribbon-body { top: 0; bottom: 0; left: 43%; width: 25px; }
.ribbon-cross { top: 51%; left: 0; right: 0; height: 18px; }
.bow-left, .bow-right { position: absolute; top: -25px; width: 34px; height: 23px; border: 6px solid #d8b276; border-radius: 65% 55% 60% 50%; }
.bow-left { left: calc(50% - 32px); transform: rotate(24deg); }
.bow-right { left: calc(50% - 1px); transform: rotate(-24deg); }
.bow-knot { position: absolute; left: calc(50% - 6px); top: 4px; width: 13px; height: 13px; border-radius: 50%; background: #e0bd83; }
.gift-seal { position: absolute; z-index: 2; left: 50%; top: 47%; width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid rgba(255, 244, 218, .75); border-radius: 50%; color: #fff4df; font-size: 15px; transform: translate(-50%, -50%); }
.stage-caption { position: absolute; bottom: 1%; margin: 0; color: #8a897d; font-family: var(--serif); font-size: 11px; letter-spacing: .08em; transition: opacity .3s; }
.gift-voucher { position: absolute; z-index: 1; bottom: 28%; width: 180px; min-height: 174px; padding: 18px 12px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(190, 154, 105, .46); background: linear-gradient(145deg, #fbf5e9, #f1e4ce); box-shadow: 0 10px 30px rgba(93, 65, 41, .12); opacity: 0; transform: translateY(40px) scale(.82); transition: opacity .5s .2s, transform .7s cubic-bezier(.18,.8,.24,1) .1s; }
.voucher-mark { margin-bottom: 8px; color: var(--terracotta); font-size: 20px; }
.voucher-kicker { color: #a99371; font-size: 7px; letter-spacing: .21em; }
.gift-voucher strong { margin-top: 8px; font-family: var(--serif); font-size: 19px; font-weight: 400; letter-spacing: .04em; }
.voucher-place { margin-top: 7px; color: #6a7467; font-size: 10px; letter-spacing: .1em; }
.stage-sparkle { position: absolute; color: #c39b65; }
.sparkle-one { top: 16%; right: 13%; font-size: 20px; }
.sparkle-two { top: 31%; left: 9%; font-size: 13px; }
.sparkle-three { bottom: 19%; right: 9%; font-size: 14px; }
.gift-stage.is-open .gift-lid { transform: translate(-17px, -76px) rotate(-24deg); }
.gift-stage.is-open .gift-voucher { opacity: 1; transform: translateY(-18px) scale(1); }
.gift-stage.is-open .stage-caption { opacity: 0; }
.gift-stage.is-open .stage-glow { opacity: .55; }
.gift-stage.is-open .gift-box { filter: drop-shadow(0 22px 17px rgba(72, 54, 36, .18)); }
.reveal-section, .booking-section { padding: 46px 0 50px; border-top: 1px solid var(--line); }
.section-heading { max-width: 400px; margin: 0 auto 26px; text-align: center; }
.section-heading .eyebrow { margin-bottom: 15px; }
.section-heading h2, .booking-intro h2 { margin-bottom: 13px; font-family: var(--serif); font-size: 29px; font-weight: 400; letter-spacing: -.025em; line-height: 1.4; }
.section-heading > p:last-child, .booking-intro > p:last-child { color: var(--ink-soft); font-size: 12px; line-height: 1.8; }
.section-heading strong { color: var(--terracotta-dark); font-weight: 600; }
.gift-facts { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact-card { min-height: 72px; padding: 13px 7px; display: flex; align-items: center; gap: 13px; }
.fact-card + .fact-card { border-top: 1px solid var(--line); }
.fact-icon { color: var(--terracotta); font-family: var(--serif); font-size: 11px; letter-spacing: .1em; }
.fact-card div { display: grid; gap: 5px; }
.fact-card strong { font-family: var(--serif); font-size: 14px; font-weight: 500; }
.fact-card span:last-child { color: var(--muted); font-size: 10px; line-height: 1.65; }
.reveal-footer { margin: 27px auto 0; text-align: center; }
.reveal-footer > span { color: #a99371; font-size: 9px; letter-spacing: .16em; }
.reveal-footer p { margin: 9px 0 15px; color: var(--ink-soft); font-family: var(--serif); font-size: 14px; line-height: 1.8; }
.text-button { padding: 8px 0; border: 0; border-bottom: 1px solid var(--gold); color: var(--terracotta-dark); background: transparent; cursor: pointer; font-size: 12px; letter-spacing: .07em; }
.text-button span { margin-left: 7px; }
.booking-section { display: grid; grid-template-columns: 1fr; align-items: start; gap: 12px; background: rgba(255, 252, 246, .45); }
.booking-intro { padding: 3px 0 0; }
.booking-intro .eyebrow { justify-content: flex-start; margin-bottom: 11px; }
.booking-intro h2 { margin-bottom: 7px; font-size: 30px; }
.mobile-break { display: none; }
.booking-intro > p:last-child { margin-bottom: 0; }
.booking-form { padding: 20px 15px; border: 1px solid rgba(55, 76, 64, .13); background: #fbf8f1; box-shadow: 0 12px 35px rgba(74, 66, 50, .045); }
.form-section-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.section-number { color: var(--terracotta); font-family: var(--serif); font-size: 12px; }
.form-section-head h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 17px; font-weight: 500; }
.form-section-head p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 7px; color: #465a4f; font-size: 11px; }
.field input { width: 100%; min-height: 44px; padding: 0 10px; border: 1px solid #d9d8cc; border-radius: 2px; outline: 0; color: var(--ink); background: #fffdf9; font-size: 13px; transition: border-color .2s, box-shadow .2s; }
.field input:focus { border-color: #ae8e5e; box-shadow: 0 0 0 3px rgba(193, 157, 102, .13); }
.field input::placeholder { color: #b8b5a8; font-size: 11px; }
.required-mark { color: var(--terracotta); }
.date-field { width: 100%; }
.field-hint { margin: 8px 0 0; color: #8b907f; font-size: 10px; line-height: 1.6; }
.guest-head { margin: 30px 0 16px; }
.guest-list { display: grid; gap: 12px; }
.guest-card { padding: 13px 11px; border: 1px solid #e2ded2; background: #fffdf9; }
.guest-card-header { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.guest-index { color: var(--terracotta-dark); font-family: var(--serif); font-size: 13px; }
.guest-card-label { color: #738176; font-size: 10px; }
.remove-guest { margin-left: auto; padding: 4px 0 4px 8px; border: 0; color: #9c857b; background: transparent; cursor: pointer; font-size: 10px; }
.guest-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 9px; }
.field-wide { grid-column: 1 / -1; }
.add-guest-button { margin-top: 11px; padding: 8px 0; border: 0; color: var(--terracotta-dark); background: transparent; cursor: pointer; font-size: 11px; }
.add-guest-button > span { margin-right: 5px; font-size: 16px; vertical-align: -1px; }
.add-guest-button small { margin-left: 6px; color: #a39a89; font-size: 9px; }
.add-guest-button:disabled { color: #a7a497; cursor: not-allowed; }
.pet-row { margin-top: 25px; padding: 14px 0; display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pet-icon { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 50%; color: var(--terracotta); background: #f3e4d8; font-size: 19px; }
.pet-copy { display: grid; gap: 4px; flex: 1; }
.pet-copy strong { font-size: 10px; font-weight: 600; }
.pet-copy span { color: var(--muted); font-size: 9px; line-height: 1.5; }
.switch { flex: 0 0 auto; display: flex; align-items: center; gap: 5px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch-track { width: 37px; height: 22px; position: relative; border-radius: 20px; background: #d1d2c6; transition: background .2s; }
.switch-knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fffdf9; box-shadow: 0 1px 3px rgba(0,0,0,.12); transition: transform .2s; }
.switch input:checked + .switch-track { background: var(--terracotta); }
.switch input:checked + .switch-track .switch-knob { transform: translateX(15px); }
.switch input:focus-visible + .switch-track { outline: 3px solid #d9aa70; outline-offset: 2px; }
.switch-label { min-width: 36px; color: #7d887d; font-size: 9px; }
.consent-row { margin-top: 20px; display: grid; grid-template-columns: 16px 1fr; gap: 9px; align-items: start; color: #777f74; font-size: 9px; line-height: 1.75; cursor: pointer; }
.consent-row input { position: absolute; opacity: 0; }
.consent-check { width: 15px; height: 15px; margin-top: 1px; display: grid; place-items: center; border: 1px solid #bdb9ab; background: #fffdf9; }
.consent-row input:checked + .consent-check { border-color: var(--ink); background: var(--ink); }
.consent-row input:checked + .consent-check::after { content: '✓'; color: white; font-size: 10px; }
.consent-row input:focus-visible + .consent-check { outline: 3px solid #d9aa70; outline-offset: 2px; }
.form-note { margin: 11px 0 0 25px; color: #a09b8c; font-size: 9px; line-height: 1.7; }
.form-status { min-height: 17px; margin: 12px 0 0; color: #58705f; font-size: 11px; }
.form-status.is-error { color: #a74e38; }
.submit-button { width: 100%; margin-top: 2px; min-height: 48px; font-size: 12px; }
.submit-button:disabled { opacity: .6; cursor: wait; transform: none; }
.success-card { margin: 0 auto; padding: 42px 22px; border: 1px solid rgba(55, 76, 64, .13); background: #fbf8f1; text-align: center; }
.success-mark { width: 42px; height: 42px; margin: 0 auto 19px; display: grid; place-items: center; border: 1px solid rgba(201,154,91,.5); border-radius: 50%; color: var(--terracotta); font-size: 23px; }
.success-card .eyebrow { justify-content: center; font-size: 8px; }
.success-card h3 { margin: 0 0 11px; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.success-card > p:not(.eyebrow) { color: var(--ink-soft); font-size: 12px; line-height: 1.9; }
.success-signoff { display: block; margin-top: 19px; color: var(--terracotta); font-family: var(--serif); font-size: 13px; }
.page-footer { min-height: 65px; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); color: #979486; font-family: var(--serif); font-size: 9px; letter-spacing: .04em; }

@media (max-width: 375px) {
  .page-shell { padding: 0 15px; }
  .topbar-note { display: none; }
  .hero { padding-top: 29px; }
  .hero h1 { font-size: 46px; }
  .gift-stage { height: 258px; }
  .gift-box { transform: scale(.94); }
  .gift-stage.is-open .gift-box { transform: scale(.94); }
  .booking-form { padding: 17px 12px; }
  .pet-copy strong { font-size: 9px; }
  .pet-copy span { font-size: 8px; }
  .switch { gap: 3px; }
}

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