:root {
  color-scheme: light;
  --ink: #1d302d;
  --deep: #244c45;
  --green: #50736a;
  --sage: #dbe7e1;
  --sage-light: #edf2ee;
  --cream: #f7f5ef;
  --paper: #fffefa;
  --gold: #b18b5b;
  --muted: #5e6c63;
  --line: rgba(29, 48, 45, .14);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { --nav-height: 88px; width: 100%; max-width: 100%; scroll-behavior: smooth; scroll-padding-top: 0; overflow-x: hidden; overscroll-behavior-x: none; }
body { width: 100%; max-width: 100%; margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; overscroll-behavior-x: none; touch-action: pan-y; }
img { max-width: 100%; }
button, a { font: inherit; }
a { color: inherit; }
button { color: inherit; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; transform: translateY(-150%); padding: 12px 16px; border-radius: 30px; background: var(--deep); color: white; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 20; width: min(1320px, calc(100% - 64px)); min-height: var(--nav-height); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); background: rgba(247,245,239,.96); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; min-width: max-content; }
.brand img { width: 30px; height: 36px; }
.brand span { display: grid; gap: 4px; }
.brand strong { font-size: 14px; letter-spacing: .16em; font-weight: 700; }
.brand small { color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3.2vw, 48px); }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #45514d; text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .02em; transition: color .2s ease; }
.main-nav a:hover, .text-link:hover, .back-to-top:hover { color: var(--deep); }

.hero { min-height: 650px; padding-top: 78px; padding-bottom: 82px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(40px, 7vw, 98px); }
.hero-copy { padding: 12px 0 0 18px; max-width: 550px; }
.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 10px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(177,139,91,.13); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(58px, 7.5vw, 94px); font-weight: 400; letter-spacing: -.065em; line-height: .98; }
h1 em, h2 em { color: var(--green); font-weight: 400; }
.hero-lede { max-width: 450px; margin: 27px 0 29px; color: #58635e; font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; text-align: center; text-decoration: none; font-size: 14px; line-height: 1.4; font-weight: 700; letter-spacing: .01em; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, .gift-button:focus-visible, .main-nav a:focus-visible, .back-to-top:focus-visible { outline: 3px solid #8a653b; outline-offset: 4px; }
.button-primary { background: var(--deep); color: white; box-shadow: 0 8px 20px rgba(36,76,69,.12); }
.button-primary:hover { background: #173e37; }
.button-primary span, .button-light span { color: #d9bc94; font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; color: #59635e; font-size: 14px; font-weight: 700; }
.text-link span { color: var(--gold); font-size: 16px; }
.countdown { position: relative; isolation: isolate; width: min(100%, 380px); min-height: 108px; margin-top: 34px; padding: 15px 17px; display: grid; grid-template-columns: 48px minmax(0, 1fr) 58px; align-items: center; gap: 13px; overflow: hidden; border: 1px solid rgba(177,139,91,.36); border-radius: 18px; background: linear-gradient(125deg, #244c45, #1d302d); color: var(--paper); box-shadow: 0 14px 32px rgba(36,76,69,.16); }
.countdown::after { position: absolute; z-index: -1; top: -72px; right: 35px; width: 170px; height: 170px; border: 1px solid rgba(217,188,148,.1); border-radius: 50%; box-shadow: 0 0 0 18px rgba(217,188,148,.025), 0 0 0 38px rgba(217,188,148,.02); content: ""; }
.countdown-mark { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(217,188,148,.48); border-radius: 50%; background: rgba(255,254,250,.06); color: #d9bc94; font-size: 21px; }
.countdown-mark::before, .decor-star::before, .closing-flower::before, .hero-spark::before { display: block; width: 1em; height: 1em; background: currentColor; clip-path: polygon(50% 0%, 61% 36%, 100% 50%, 61% 64%, 50% 100%, 39% 64%, 0% 50%, 39% 36%); content: ""; }
.countdown-copy { min-width: 0; display: grid; justify-items: start; gap: 2px; }
.countdown-value { color: var(--paper); font-family: var(--serif); font-size: 48px; font-weight: 400; letter-spacing: -.055em; line-height: .95; }
.countdown-value[data-kind="message"] { max-width: 100%; font-family: var(--sans); font-size: clamp(18px, 4.5vw, 23px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.countdown-copy small { color: rgba(255,254,250,.76); font-size: 12px; line-height: 1.4; }
.countdown-date { min-width: 58px; display: grid; justify-items: center; padding: 7px 5px; border: 1px solid rgba(217,188,148,.35); border-radius: 12px; background: rgba(255,254,250,.07); text-decoration: none; }
.countdown-date strong { color: #fffefa; font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: .95; }
.countdown-date small { margin-top: 4px; color: #e3d0b2; font-size: 9px; font-weight: 700; letter-spacing: .13em; line-height: 1; }
.countdown-date span { margin-top: 3px; color: rgba(255,254,250,.68); font-size: 9px; letter-spacing: .08em; }
.hero-footnote { margin: 30px 0 0; color: var(--muted); font-family: var(--serif); font-size: 15px; line-height: 1.6; font-style: italic; }
.hero-visual { position: relative; min-width: 0; width: 100%; max-width: 440px; justify-self: center; padding: 0; }
.hero-photo-wrap { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 18px; background: #702c27; box-shadow: 0 18px 45px -24px rgba(55,31,25,.3); }
.hero-photo { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.hero-photo-label { display: flex; align-items: center; gap: 13px; margin-top: 20px; padding: 0; }
.label-seal { width: 39px; height: 39px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(177,139,91,.56); border-radius: 50%; color: var(--gold); font-family: var(--serif); font-size: 20px; }
.hero-photo-label strong, .hero-photo-label small { display: block; font-size: 12px; line-height: 1.6; }
.hero-photo-label strong { font-weight: 700; }
.hero-photo-label small { color: var(--muted); }
.hero-side-note { margin: 0 0 12px; display: flex; align-items: center; gap: 12px; color: #69746f; font-size: 9px; font-weight: 700; letter-spacing: .16em; line-height: 1.7; }
.hero-side-note::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.hero-side-note span { color: var(--gold); }

.event-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 84px); padding: 54px 0 20px; border-top: 1px solid var(--line); }
.event-invitation { padding-left: 18px; }
.event-invitation .eyebrow { margin-bottom: 20px; }
.event-invitation h2 { margin: 0; font-family: var(--serif); font-size: clamp(46px, 5.3vw, 66px); font-weight: 400; letter-spacing: -.055em; line-height: 1.04; }
.event-intro { max-width: 410px; margin: 24px 0 30px; color: #58635e; font-size: 16px; line-height: 1.8; }
.event-date-row { display: flex; align-items: center; gap: 24px; }
.event-calendar { width: 104px; flex: 0 0 auto; display: grid; justify-items: center; padding: 14px 12px 16px; border-radius: 12px; background: var(--deep); color: var(--paper); }
.event-calendar span { color: #e3d0b2; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.event-calendar strong { margin: 4px 0; font-family: var(--serif); font-size: 58px; font-weight: 400; line-height: 1.05; letter-spacing: -.05em; }
.event-detail-label { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.event-date-copy p { margin: 9px 0 7px; font-family: var(--serif); font-size: 25px; letter-spacing: -.035em; }
.event-date-copy time { white-space: nowrap; }
.event-date-copy > span:last-child { display: block; color: var(--muted); font-size: 14px; line-height: 1.6; }
.event-dress-code { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 390px; min-height: 154px; margin-top: 26px; padding: 17px 18px; overflow: hidden; border: 1px solid rgba(29,48,45,.11); border-radius: 18px; background: linear-gradient(115deg, var(--paper), #edf2ee); box-shadow: 0 12px 30px rgba(29,48,45,.055); }
.event-dress-copy { position: relative; z-index: 1; min-width: 0; }
.event-dress-label { display: flex; align-items: center; gap: 7px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .11em; line-height: 1.5; text-transform: uppercase; }
.event-dress-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--gold); }
.event-dress-title { display: block; margin-top: 5px; color: var(--ink); font-size: 25px; font-weight: 700; letter-spacing: -.045em; line-height: 1.15; }
.event-dress-note { display: block; max-width: 170px; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.event-dress-art { width: clamp(100px, 40%, 150px); height: auto; flex: 0 0 auto; margin: 0 -7px 0 0; border-radius: 12px; object-fit: contain; }
.event-location { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 16px 42px rgba(29,48,45,.05); }
.event-map { height: 300px; background: var(--sage-light); border-bottom: 1px solid var(--line); }
.event-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.event-location-info { padding: 25px 28px 27px; }
.event-location-info .eyebrow { margin-bottom: 8px; font-size: 12px; }
.event-location-info h3 { margin: 0 0 9px; font-family: var(--serif); font-size: 31px; font-weight: 400; letter-spacing: -.04em; }
.event-location-info address { color: #58635e; font-size: 14px; font-style: normal; line-height: 1.8; }
.event-location-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.map-link { display: inline-flex; align-items: center; gap: 16px; min-height: 48px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; line-height: 1.4; font-weight: 700; transition: background .2s ease, color .2s ease; }
.map-link span { color: var(--gold); }
.map-link:hover { background: var(--deep); color: var(--paper); }
.waze-link { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: transparent; text-decoration: none; transition: transform .2s ease; }
.waze-link img { display: block; width: 26px; height: 26px; }
.waze-link:hover { transform: translateY(-2px); }
.map-link:focus-visible, .waze-link:focus-visible { outline: 3px solid #8a653b; outline-offset: 4px; }
.celebration-confetti { position: fixed; inset: 0; z-index: 1000; width: 100%; height: 100%; pointer-events: none; }

.gifts-heading h2, .closing-section h2 { margin: 0; font-family: var(--serif); font-size: clamp(45px, 5.5vw, 68px); font-weight: 400; letter-spacing: -.06em; line-height: 1.02; }

.gifts-section { padding: 112px 0 120px; }
.gifts-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin: 0 0 44px; }
.gifts-heading .eyebrow { margin-bottom: 17px; }
.gifts-heading h2 { font-size: clamp(48px, 6vw, 72px); }
.gifts-heading > p { width: min(100%, 360px); margin: 0 0 8px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.gift-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.gift-card { min-height: 290px; display: flex; flex-direction: column; padding: 22px 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,254,250,.48); transition: background .2s ease, transform .2s ease; }
.gift-card:hover { position: relative; z-index: 1; background: var(--paper); transform: translateY(-3px); box-shadow: 0 14px 28px rgba(29,48,45,.06); }
.gift-card-featured { background: #edf2ee; }
.gift-index { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; color: var(--deep); font-size: 12px; }
.gift-index span { color: var(--muted); font-weight: 600; }
.gift-card h3 { min-height: 54px; margin: 20px 0 12px; font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -.035em; line-height: 1.15; }
.gift-card p { min-height: 70px; margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.gift-button { min-height: 48px; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 1px solid rgba(36,76,69,.3); border-radius: 999px; background: transparent; color: var(--deep); text-align: left; font-size: 14px; line-height: 1.4; font-weight: 700; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.gift-button span { color: var(--gold); font-size: 14px; }
.gift-button:hover { border-color: var(--deep); background: var(--deep); color: white; }
.gift-button:hover span { color: #e2c69f; }
.pix-note { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.pix-note span { flex: 0 0 auto; margin-top: .35em; color: var(--gold); }

.closing-section { position: relative; overflow: hidden; padding: 93px 24px 72px; background: var(--deep); color: white; text-align: center; }
.closing-section::before, .closing-section::after { position: absolute; width: 310px; height: 310px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; content: ""; }
.closing-section::before { top: -210px; left: -115px; }
.closing-section::after { right: -130px; bottom: -230px; width: 390px; height: 390px; }
.closing-flower { width: 26px; height: 26px; margin: 0 auto 22px; color: #d4ae7c; }
.closing-section .eyebrow { justify-content: center; margin-bottom: 15px; color: #d7c1a2; }
.closing-section h2 { font-size: clamp(43px, 6vw, 70px); }
.closing-section h2 em { color: #d3b58b; }
.closing-section > p:not(.eyebrow) { width: min(100%, 500px); margin: 22px auto 28px; color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.8; }
.button-light { position: relative; z-index: 1; background: var(--paper); color: var(--deep); }
.button-light:hover { background: #e9e4d8; }
.button-light span { color: var(--gold); }
.closing-details { position: relative; z-index: 1; margin: 36px auto 0; display: flex; justify-content: center; align-items: center; gap: 14px; color: rgba(255,255,255,.85); font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.closing-details i { width: 4px; height: 4px; border-radius: 50%; background: #d3b58b; }
.site-footer { width: min(1320px, calc(100% - 64px)); min-height: 102px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.site-footer > p { justify-self: start; }
.brand-footer { grid-column: 2; grid-row: 1; }
.back-to-top { justify-self: end; }
.brand-footer img { width: 26px; height: 32px; }
.brand-footer strong { font-size: 12px; }
.brand-footer small { font-size: 12px; }
.site-footer > p, .back-to-top { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.back-to-top { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 650; }

.pix-dialog { width: min(480px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; border: 0; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(8,26,23,.28); }
.pix-dialog::backdrop { background: rgba(18,35,32,.58); backdrop-filter: blur(4px); }
.pix-modal { position: relative; padding: 36px 28px 28px; text-align: center; }
.dialog-close { position: sticky; z-index: 2; top: 12px; width: 44px; height: 44px; margin: -24px -16px -20px auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--deep); font-size: 24px; cursor: pointer; }
.dialog-close:hover { background: var(--sage-light); }
.pix-modal .eyebrow { justify-content: center; max-width: calc(100% - 60px); margin: 0 auto 12px; font-size: 12px; letter-spacing: .08em; }
.pix-selected { margin: 0 0 16px; color: var(--deep); font-size: 16px; line-height: 1.5; font-weight: 650; }
.qr-frame { width: min(184px, 100%); aspect-ratio: 1; margin: 0 auto; padding: 7px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: white; }
.qr-frame[hidden] { display: none; }
.qr-frame img { width: 100%; height: auto; max-width: 206px; object-fit: contain; image-rendering: pixelated; }
.pix-instruction { margin: 0 auto 14px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.pix-code-label { display: block; margin: 14px 0 6px; color: var(--muted); text-align: left; font-size: 11px; font-weight: 650; letter-spacing: .035em; }
.pix-code { width: 100%; height: 82px; min-height: 82px; margin-bottom: 12px; resize: none; padding: 6px; border: 1px solid var(--line); border-radius: 9px; background: #f4f4ee; color: #47514c; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; line-height: 1.25; overflow-wrap: anywhere; }
.copy-button { width: 100%; }
.copy-status { min-height: 18px; margin: 8px 0 2px; color: var(--deep); font-size: 13px; line-height: 1.5; }
.pix-recipient { margin: 0 0 22px; padding: 13px 16px; border-radius: 10px; background: var(--sage-light); color: var(--deep); font-size: 14px; line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }


.button-outline { border-color: rgba(36,76,69,.3); background: transparent; color: var(--deep); }
.button-outline:hover { background: var(--sage-light); }
.event-actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.event-actions .button { max-width: 100%; }
.gift-index strong { color: var(--deep); font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.custom-gift { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 24px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--sage-light); }
.custom-gift-copy { min-width: 0; flex: 1 1 300px; }
.custom-gift-kicker { margin: 0 0 8px !important; color: var(--green) !important; font-size: 11px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.custom-gift h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -.035em; }
.custom-gift p { max-width: 45ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.custom-gift-key { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.custom-gift-key > span { color: var(--muted); font-size: 12px; font-weight: 600; }
.custom-gift-key input { width: 168px; max-width: 100%; padding: 8px 10px; border: 1px solid rgba(36,76,69,.17); border-radius: 8px; background: rgba(255,254,250,.8); color: var(--deep); font: 650 14px var(--sans); letter-spacing: .015em; }
.custom-gift-actions { display: grid; flex: 0 1 290px; gap: 8px; }
.custom-gift-actions .button { width: 100%; background: var(--paper); }
.custom-gift-actions .button-primary { background: var(--deep); }
.custom-gift-actions .copy-status { min-height: 18px; margin: -3px 0 0; text-align: center; }
.pix-recipient span, .pix-recipient strong { display: block; }
.pix-recipient span { margin-bottom: 3px; color: var(--muted); font-size: 12px; }
.custom-pix-form { margin: 0 0 20px; text-align: left; }
.custom-pix-form label { display: block; margin-bottom: 8px; color: var(--deep); font-size: 14px; font-weight: 700; }
.custom-pix-input-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--muted); font-size: 16px; }
.custom-pix-input-row input { width: 100%; min-width: 0; padding: 12px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 600 16px var(--sans); }
.custom-pix-form .button { width: 100%; }
.custom-pix-form .copy-status { text-align: center; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #8a653b; outline-offset: 4px; }
[hidden] { display: none !important; }

@media (min-width: 1500px) {
  .hero { min-height: 720px; }
}
@media (max-width: 1050px) {
  .section-shell, .site-header, .site-footer { width: min(100% - 48px, 900px); }
  .hero { min-height: 590px; gap: 40px; padding-top: 66px; }
  .hero-copy { padding-left: 0; }
  .hero h1 { font-size: clamp(56px, 8vw, 78px); }
  .hero-visual { max-width: 390px; }
  .event-invitation { padding-left: 0; }
  .event-date-row { gap: 18px; }
  .event-date-copy p { font-size: 23px; }
  .gift-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gift-card { min-height: 220px; }
}
@media (max-width: 720px) {
  html { --nav-height: 75px; }
  .section-shell, .site-header, .site-footer { width: calc(100% - 40px); }
  .site-header { min-height: 75px; gap: 12px; }
  .brand { gap: 8px; }
  .brand img { width: 26px; height: 32px; }
  .brand strong { font-size: 12px; }
  .brand small { font-size: 12px; }
  .main-nav { display: none; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 42px; min-height: auto; padding-top: 56px; padding-bottom: 58px; }
  .hero-copy { padding: 0; }
  .hero .eyebrow { margin-bottom: 20px; font-size: 12px; }
  .hero h1 { font-size: clamp(57px, 14vw, 79px); }
  .hero-lede { max-width: 390px; margin: 20px 0 23px; font-size: 16px; line-height: 1.8; }
  .hero-actions { gap: 18px; }
  .countdown { width: min(100%, 390px); margin-top: 30px; }
  .hero-footnote { margin-top: 23px; font-size: 15px; }
  .hero-visual { width: min(100%, 380px); align-self: center; padding: 0; }
  .hero-photo-wrap { aspect-ratio: 3 / 4; border-radius: 14px; }
  .hero-photo-label { margin-top: 16px; gap: 11px; }
  .label-seal { width: 34px; height: 34px; font-size: 18px; }
  .hero-side-note { font-size: 9px; }
  .event-section { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; padding-bottom: 0; }
  .event-dress-code { gap: 8px; padding-inline: 14px; }
  .event-dress-art { width: clamp(100px, 38%, 140px); }
  .event-invitation h2 { font-size: clamp(44px, 11vw, 62px); }
  .event-intro { margin: 20px 0 25px; font-size: 16px; }
  .event-date-row { gap: 20px; }
  .event-calendar { width: 92px; }
  .event-calendar strong { font-size: 52px; }
  .event-map { height: 280px; }
  .event-location-info { padding: 23px; }
  .gifts-heading h2 { font-size: clamp(45px, 12vw, 61px); }
  .gifts-section { padding: 76px 0 80px; }
  .gifts-heading { display: block; margin-bottom: 29px; }
  .gifts-heading .eyebrow { margin-bottom: 15px; }
  .gifts-heading > p { margin: 18px 0 0; font-size: 16px; }
  .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gift-card { min-height: 270px; padding: 22px 18px 20px; }
  .gift-card h3 { min-height: 54px; margin-top: 18px; font-size: 24px; }
  .pix-note { align-items: flex-start; line-height: 1.6; }
  .closing-section { padding: 73px 22px 54px; }
  .closing-section h2 { font-size: clamp(40px, 11vw, 57px); }
  .closing-details { flex-wrap: wrap; gap: 9px; margin-top: 31px; font-size: 12px; }
  .site-footer { min-height: 90px; grid-template-columns: 1fr auto; gap: 8px 18px; padding: 18px 0; }
  .site-footer > p { grid-column: 1; grid-row: 2; font-size: 12px; }
  .brand-footer { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .back-to-top { grid-column: 2; grid-row: 2; }
  .pix-modal { padding: 34px 22px 23px; }
}
@media (max-width: 390px) {
  .section-shell, .site-header, .site-footer { width: calc(100% - 32px); }
  .hero h1 { font-size: 55px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .text-link { padding: 3px 4px; }
  .event-date-row { gap: 15px; }
  .event-date-copy p { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 720px) {
  .custom-gift { flex-direction: column; align-items: stretch; gap: 20px; padding: 24px; }
  .custom-gift-copy { flex: 0 1 auto; }
  .custom-gift-actions { width: 100%; min-width: 0; flex: 0 1 auto; }
  .custom-gift h3 { font-size: 26px; }
  .event-actions .button { width: 100%; }
}
@media (max-width: 480px) {
  .gift-grid { grid-template-columns: minmax(0, 1fr); }
  .gift-card { min-height: 0; padding: 24px; }
  .gift-card h3 { min-height: 0; margin: 16px 0 10px; font-size: 26px; }
  .gift-card p { min-height: 0; margin-bottom: 20px; }
  .custom-gift .button { width: 100%; }
}

/* Operação sorriso */
.scratch-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 110px); align-items: center; padding-top: 32px; padding-bottom: 110px; scroll-margin-top: calc(var(--nav-height) + 20px); }
.scratch-copy h2 { margin: 18px 0 24px; font: 400 clamp(54px, 6vw, 80px)/1 var(--serif); letter-spacing: -.055em; }
.scratch-copy h2 em { color: var(--green); font-weight: 400; }
.scratch-copy > p:not(.eyebrow) { max-width: 42ch; color: var(--muted); line-height: 1.8; }
.scratch-steps { list-style: decimal-leading-zero; padding-left: 28px; margin: 28px 0; color: var(--deep); font-size: 14px; line-height: 1.7; }
.scratch-steps li { padding: 6px 0 6px 10px; }
.scratch-steps li::marker { color: var(--gold); font-weight: 700; }
.scratch-card { position: relative; border: 1px solid var(--line); border-radius: 24px; padding: 26px clamp(18px, 3vw, 36px); background: linear-gradient(145deg, #f0f3eb, #e1eae2); text-align: center; }
.scratch-label { margin: 0; color: var(--deep); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.scratch-art { width: min(100%, 320px); aspect-ratio: 320 / 360; position: relative; margin: 10px auto 0; }
.scratch-art > img, .scratch-art > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scratch-art canvas { touch-action: none; cursor: crosshair; }
.scratch-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(ellipse, rgba(233,239,229,.94) 10%, rgba(233,239,229,.45) 55%, transparent 73%); }
.scratch-lock > span { color: var(--gold); font-size: 30px; }
.scratch-lock p { color: var(--deep); font: 400 27px/1.2 var(--serif); }
.scratch-card .button { width: 100%; margin-top: 8px; font-size: 14px; }
.scratch-fine, .scratch-card .scratch-fine { font-size: 12px; line-height: 1.6; color: #53635b; margin: 16px 0 0; }
.scratch-hint { display: block; font-size: 12px; color: var(--deep); }
#scratch-progress { display: block; width: 100%; height: 6px; margin: 12px 0; accent-color: var(--deep); border: 0; }
.scratch-alternative { padding: 14px 8px; min-height: 44px; border: 0; background: transparent; color: var(--deep); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.scratch-result { padding: 0 0 12px; }
.scratch-result .eyebrow { justify-content: center; margin: 0 0 10px; font-size: 11px; }
.scratch-result h3 { margin: 0 0 12px; color: var(--deep); font: 400 32px/1.1 var(--serif); letter-spacing: -.03em; }
.scratch-result > p:last-child { margin: 0; font-size: 14px; line-height: 1.7; color: #53635b; }
.pix-scratch-invite { padding: 15px 0 8px; margin: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pix-scratch-invite .button { width: 100%; font-size: 14px; }
.pix-scratch-invite p { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 10px 0 0; }
@media (max-width: 720px) { .scratch-section { grid-template-columns: 1fr; padding-top: 0; padding-bottom: 72px; gap: 28px; } .scratch-copy h2 br { display: none; } .scratch-card { width: min(100%, 440px); justify-self: center; } }

.scratch-art > img { z-index: 0; }
.scratch-prize { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.scratch-prize text { fill: var(--deep); font-family: var(--sans); font-size: 10px; font-weight: 750; letter-spacing: .5px; }
.scratch-art > canvas { z-index: 2; }
.scratch-lock { z-index: 3; }

.scratch-prize > svg { display: block; width: 100%; height: 100%; }
