@font-face { font-family: Cormorant; src: url('/fonts/cormorant-garamond.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Great Vibes'; src: url('/fonts/great-vibes.ttf') format('truetype'); font-weight: 400; font-display: swap; }
:root { color-scheme: light; --paper: #faf7f1; --ink: #403524; --body: #625d50; --sage: #686b4e; --blush: #d6a7a2; --rule: #dedbd1; --error: #972c34; background: var(--paper); color: var(--ink); font-family: 'Avenir Next', Avenir, 'Century Gothic', sans-serif; font-synthesis: none; }
* { box-sizing: border-box; } body { margin: 0; } [hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 4px; } button,input,textarea,select { font: inherit; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 4px; } ::selection { background: #ead1ca; color: var(--ink); }
.page { max-width: 1200px; margin: auto; padding: 24px 48px; min-height: 100svh; }
.masthead { min-height: 56px; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.masthead>a:first-child { font: 28px/1.2 Cormorant,Georgia,serif; text-decoration: none; white-space: nowrap; }
.reply-link { font-size: 12px; color: var(--body); text-decoration: none; padding-block: 12px; }
.invitation-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 64px 0; align-items: center; }
.invitation { text-align: center; } .rings { display: block; margin: 0 auto 24px; }
h1 { display: grid; margin: 0; font: 400 clamp(64px,7vw,88px)/.9 Cormorant,Georgia,serif; text-transform: uppercase; text-wrap: balance; }
.ampersand { font: 400 88px/.6 'Great Vibes',cursive; text-transform: none; color: var(--blush); position: relative; z-index: 1; margin-block: -4px; }
.invitation h1>span:last-child { margin-top: -20px; }
.ceremony { font: 400 clamp(32px,3.6vw,44px)/1.3 'Great Vibes',cursive; color: var(--sage); margin: 24px -16px 0; text-wrap: balance; }
.welcome { font: 400 22px/1.2 Cormorant,Georgia,serif; color: var(--body); margin: 24px 0; text-wrap: pretty; }
.event-details { font-size: 16px; line-height: 1.7; } .event-details p { margin: 8px 0; } time span { display: block; }
.event-details .venue { margin: 16px 0 0; font: 32px/1.3 Cormorant,Georgia,serif; }
.text-link { display: inline-block; font-size: 12px; min-height: 44px; padding-top: 12px; }
.event-details .dress-code { color: var(--body); font-size: 12px; margin-top: 16px; }
.rsvp { padding-left: 48px; border-left: 1px solid var(--rule); }
h2 { margin: 0; font: 400 40px/1.2 Cormorant,Georgia,serif; text-wrap: balance; }
.form-intro { margin: 16px 0 32px; color: var(--body); font-size: 16px; line-height: 1.7; text-wrap: pretty; }
.field { margin-bottom: 24px; } label,legend { display: block; font-size: 14px; line-height: 1.5; margin-bottom: 8px; font-weight: 500; }
input:not([type=radio]),textarea,select { display: block; width: 100%; min-height: 48px; border: 1px solid #aaa99a; border-radius: 4px; background: #fffdf9; color: var(--ink); padding: 12px; font-size: 16px; }
input[readonly] { background: #efede5; color: var(--body); } textarea { resize: vertical; }
.hint { font-size: 12px; line-height: 1.6; color: var(--body); margin: 8px 0 0; } .optional { font-weight: 400; color: var(--body); }
fieldset { padding: 0; margin: 0 0 24px; border: 0; min-width: 0; } legend { padding: 0; }
.attendance-options { display: grid; gap: 8px; } .radio-option { display: flex; gap: 12px; align-items: center; min-height: 44px; padding: 8px 0; margin: 0; cursor: pointer; font-weight: 400; }
input[type=radio] { width: 20px; height: 20px; accent-color: var(--sage); margin: 0; }
.guest-count { margin: 12px 0 0; color: var(--sage); font-size: 12px; font-weight: 600; }
button,.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--sage); border-radius: 4px; padding: 12px 24px; color: white; background: var(--sage); font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; }
button:hover,.button:hover { background: #53563c; } button:disabled { opacity: .6; cursor: wait; } #submit-rsvp { width: 100%; }
.secondary { background: transparent; color: var(--sage); } .secondary:hover { background: #eeeee5; }
.text-button { border-color: transparent; color: var(--sage); background: transparent; padding-inline: 0; text-decoration: underline; text-underline-offset: 4px; } .text-button:hover { background: transparent; color: var(--ink); }
.privacy { margin: 16px 0 0; text-align: center; font-size: 11px; line-height: 1.7; color: var(--body); }
.status { border-left: 2px solid var(--error); padding-left: 12px; margin: 16px 0; color: var(--error); font-size: 14px; line-height: 1.6; } .status.notice { border-color: var(--sage); color: var(--sage); }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.confirmation { padding-block: 24px; outline: none; } .confirmation>svg { color: var(--sage); margin-bottom: 16px; } .confirmation h3 { font: 32px/1.2 Cormorant,Georgia,serif; margin: 0 0 16px; } .confirmation p { font-size: 14px; line-height: 1.6; } .confirmation .hint { font-size: 12px; } .confirmation ul { padding-left: 20px; font-size: 14px; line-height: 1.8; margin-bottom: 24px; } .confirmation button { display: flex; }
footer { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--rule); padding-top: 24px; color: var(--body); font-size: 12px; line-height: 1.7; } footer a { display: inline-block; min-height: 44px; padding-bottom: 16px; }
.admin-actions,.admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; } .admin-actions { justify-content: flex-start; }
.admin-title { display: block; font: 400 40px/1.2 Cormorant,Georgia,serif; text-transform: none; }
.admin-main { padding: 48px 0; } .login { max-width: 380px; margin: 48px auto 80px; }
.totals { display: flex; gap: 32px; flex-wrap: wrap; margin: 32px 0; padding: 24px 0; border-block: 1px solid var(--rule); } .totals div { min-width: 120px; } .totals dt { color: var(--body); font-size: 12px; } .totals dd { margin: 8px 0 0; font-size: 28px; font-variant-numeric: tabular-nums; }
.filters { display: flex; gap: 24px; margin: 24px 0; align-items: end; flex-wrap: wrap; } .filters .field { flex: 1; max-width: 420px; margin: 0; } .filters .filter { max-width: 200px; }
.table-wrap { overflow-x: auto; } table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; font-size: 14px; } th { font-size: 12px; font-weight: 500; color: var(--body); } th,td { padding: 16px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.6; } td .email { display: block; font-size: 12px; color: var(--body); overflow-wrap: anywhere; } td ul { margin: 0; padding-left: 16px; } .empty { padding: 48px 0; color: var(--body); font-size: 14px; } .updated { color: var(--body); font-size: 12px; }
@media(max-width:900px) { .page { padding: 24px 32px; } .invitation-layout { gap: 40px; } .rsvp { padding-left: 32px; } .ceremony { font-size: 36px; } }
@media(max-width:700px) { .page { padding: 16px 24px; } .masthead { gap: 12px; } .reply-link { max-width: 160px; text-align: right; line-height: 1.6; } .invitation-layout { display: block; padding: 40px 0; } h1 { font-size: clamp(64px,16vw,88px); } .ceremony { margin-inline: 0; font-size: clamp(32px,8vw,40px); } .rsvp { padding: 40px 0 0; margin-top: 40px; border-left: 0; border-top: 1px solid var(--rule); } .form-intro { margin-bottom: 24px; } footer { font-size: 11px; } .admin-main { padding-top: 24px; } .totals { gap: 24px; } .totals div { min-width: 100px; } .filters .field { min-width: 100%; } }
@media(max-width:480px) { .masthead { flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 8px; } .reply-link { max-width: none; text-align: left; padding-block: 8px; } }
