@font-face { font-family: 'Basis Sans'; src: url('/fonts/body.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Basis Sans'; src: url('/fonts/body-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Basis Display'; src: url('/fonts/display.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root { --forest: #123d2d; --deep: #09271e; --gold: #e8c575; --gold-dark: #806018; --ink: #202e27; --muted: #526057; --paper: #fff; --wash: #f2f5f2; --line: #d7ded7; --red: #9e2630; --radius: 6px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.6 'Basis Sans', sans-serif; letter-spacing: 0; }
[hidden] { display: none !important; }
a { color: var(--forest); text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 4px; }
img { max-width: 100%; height: auto; }
svg { width: 21px; height: 21px; flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: 'Basis Display', Georgia, serif; font-weight: 400; line-height: 1.08; text-wrap: balance; }
h2 { font-size: 46px; margin-bottom: 20px; }
h3 { font-size: 23px; line-height: 1.3; }
p { max-width: 72ch; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: -100px; padding: 12px; background: white; }
.skip-link:focus { top: 0; }
.site-header { min-height: 82px; background: var(--deep); color: white; padding: 20px max(32px, calc((100% - 1160px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header img { display: block; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a { color: white; text-decoration: none; font-size: 15px; }
.site-header nav .nav-action { color: var(--gold); display: flex; gap: 8px; align-items: center; }
.hero { position: relative; min-height: 510px; height: min(640px, 72svh); display: flex; align-items: center; overflow: hidden; color: white; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 48%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 24, 17, .96) 0%, rgba(5, 24, 17, .86) 32%, rgba(5, 24, 17, .1) 68%); }
.hero-content { position: relative; padding-block: 36px; animation: arrival .8s cubic-bezier(.16, 1, .3, 1); }
.hero h1 { font-size: 82px; max-width: 600px; margin-bottom: 20px; color: #fff3d4; }
.hero h1 span { color: var(--gold); }
.hero-motto { font-size: 21px; line-height: 1.5; margin-bottom: 30px; }
.image-caption { position: absolute; right: 18px; bottom: 12px; color: white; font-size: 12px; background: rgba(0, 0, 0, .72); padding: 3px 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 20px; border: 0; border-radius: var(--radius); text-decoration: none; font-size: 16px; font-weight: 700; line-height: 1.4; text-align: center; }
.gold { background: var(--gold); color: var(--deep); }
.primary { background: var(--forest); color: white; }
.secondary { background: var(--wash); color: var(--forest); }
.button:hover:not(:disabled) { filter: brightness(.92); }
.event-section { display: grid; grid-template-columns: 1.15fr .85fr; column-gap: 90px; padding-block: 64px 72px; }
.event-intro p { color: var(--muted); }
.event-details { margin: 10px 0 0; }
.event-details > div { padding: 15px 0; border-bottom: 1px solid var(--line); }
dt { font-weight: 700; }
dd { margin: 5px 0 0; }
.event-details dt { display: flex; align-items: center; gap: 10px; color: var(--forest); }
.prices { grid-column: 1 / -1; margin-top: 28px; }
.price-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin: 0; border-top: 1px solid var(--line); padding-top: 20px; }
.price-list dt { font-size: 15px; min-height: 48px; }
.price-list small { display: block; font-weight: 400; color: var(--muted); }
.price-list dd { font-size: 25px; font-weight: 700; color: var(--forest); }
.ceia-band { background: var(--forest); color: white; padding-block: 30px; }
.ceia-band > div { display: flex; gap: 30px; align-items: center; }
.ceia-band > div > svg { width: 48px; height: 48px; color: var(--gold); }
.ceia-band h2 { font-size: 36px; margin-bottom: 8px; }
.ceia-band p { margin-bottom: 0; font-size: 16px; }
.ceia-band a { color: var(--gold); text-decoration: none; white-space: nowrap; margin-left: auto; }
.registration-section { padding-block: 72px; }
.section-heading { margin-bottom: 40px; }
.section-heading p { color: var(--muted); }
.registration-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
fieldset { min-width: 0; border: 0; border-top: 1px solid var(--line); margin: 0 0 34px; padding: 22px 0 0; }
legend { font-size: 21px; font-weight: 700; padding: 0 18px 0 0; color: var(--forest); }
legend svg { margin-right: 8px; }
label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 7px; }
input:not([type='radio']):not([type='checkbox']), select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #a5b4a8; border-radius: 4px; color: var(--ink); background: white; }
input:disabled { background: var(--wash); }
input::placeholder { color: #637067; opacity: 1; }
input[type='checkbox'], input[type='radio'] { width: 20px; height: 20px; accent-color: var(--forest); flex-shrink: 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.couple-field { display: grid; grid-template-columns: 1fr 86px; align-items: center; gap: 20px; background: var(--wash); padding: 18px; margin-block: 22px; }
.couple-field p { font-size: 14px; margin: 0; color: var(--muted); }
.member-fields > div { margin-top: 18px; }
.child-row { display: grid; grid-template-columns: 1fr 100px; gap: 16px; }
.field-note { font-size: 14px; color: var(--muted); margin-block: 15px 0; }
#other-dish-field { margin-top: 18px; }
.quantity-note { font-size: 16px; color: var(--forest); padding-block: 10px; margin-bottom: 0; }
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-option { display: flex; gap: 10px; align-items: center; margin: 0; padding: 16px 12px; border: 1px solid var(--line); border-radius: 4px; min-height: 64px; cursor: pointer; }
.radio-option:has(input:checked) { background: var(--wash); border-color: var(--forest); }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; font-weight: 400; margin-block: 22px; }
.consent input { margin-top: 3px; }
.summary { position: sticky; top: 24px; background: var(--wash); border-radius: 6px; padding: 28px; }
.summary h3 { color: var(--forest); }
.summary dl > div { display: flex; gap: 15px; justify-content: space-between; margin-bottom: 13px; }
.summary dt { font-weight: 400; font-size: 15px; }
.summary dd { font-size: 15px; margin: 0; font-weight: 700; text-align: right; }
.summary-total { padding-block: 22px; border-block: 1px solid var(--line); margin-block: 20px; }
.summary-total span { display: block; font-size: 14px; }
.summary-total strong { display: block; font-size: 35px; line-height: 1.4; color: var(--forest); overflow-wrap: anywhere; }
.summary p { font-size: 15px; }
.summary-footer { color: var(--muted); margin-bottom: 0; margin-top: 24px; }
.message { padding: 16px; background: var(--wash); color: var(--forest); border-radius: 4px; font-size: 15px; overflow-wrap: anywhere; }
.message.error { color: var(--red); background: #fff0f0; }
.confirmation { max-width: 850px; margin-inline: auto; }
.confirmation > svg { width: 48px; height: 48px; color: var(--forest); margin-bottom: 20px; }
.confirmation dl > div { display: grid; grid-template-columns: 210px 1fr; gap: 20px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.confirmation dd { margin: 0; overflow-wrap: anywhere; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.gallery-section { padding-block: 16px 64px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.gallery a { text-decoration: none; }
.gallery img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; border-radius: 4px; }
.gallery span { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; font-size: 16px; }
.gallery a:hover span { text-decoration: underline; }
.guidance-section { border-top: 1px solid var(--line); padding-block: 50px 64px; }
.guidance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; color: var(--muted); }
footer { background: var(--deep); color: white; padding-block: 32px; }
footer > div { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }
footer p { margin: 0; font-size: 14px; flex: 1 1 300px; }
footer a { font-size: 14px; color: var(--gold); }
.admin-main { padding-block: 48px; }
.login-form { width: min(440px, 100%); margin: 40px auto; }
.login-form input { margin-bottom: 22px; }
.admin-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.admin-heading h1 { font-size: 44px; margin: 0; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 28px; margin-block: 20px; border-block: 1px solid var(--line); }
.admin-stats dt { color: var(--muted); font-size: 14px; font-weight: 400; }
.admin-stats dd { font-size: 26px; font-weight: 700; color: var(--forest); }
.admin-filters { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: end; gap: 16px; margin-block: 28px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; background: var(--wash); font-weight: 700; }
th, td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
td p { margin: 4px 0; }
td small { color: var(--muted); display: block; }
td:first-child { min-width: 190px; max-width: 290px; overflow-wrap: anywhere; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; padding: 10px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--forest); }
.status { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 12px; background: #fbf1ce; color: #604908; }
.status.paid, .status.accepted { background: #e2f0e4; color: #20432a; }
.status.failed { background: #fff0f0; color: var(--red); }
.admin-dishes { margin-top: 48px; }
.pagination { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-top: 20px; }
.mail-address { overflow-wrap: anywhere; max-width: 260px; }
details { margin-top: 8px; }
summary { cursor: pointer; }
@keyframes arrival { from { opacity: .7; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1000px) { .registration-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 30px; } .event-section { column-gap: 40px; } .hero h1 { font-size: 70px; } .admin-filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); } h2 { font-size: 36px; }
  .site-header { padding: 16px 18px; min-height: 74px; gap: 12px; } .site-header img { width: 136px; height: 32px; } .site-header nav { gap: 12px; } .site-header nav > a:not(.nav-action) { display: none; } .site-header nav a { font-size: 13px; }
  .hero { min-height: 475px; height: 67svh; max-height: 570px; } .hero h1 { font-size: 58px; } .hero-motto { font-size: 18px; } .hero-photo { height: 155%; top: -55%; object-position: 65% center; } .hero-shade { background: linear-gradient(90deg, rgba(5,24,17,.96), rgba(5,24,17,.62)); }
  .event-section { grid-template-columns: 1fr; padding-block: 40px; } .event-details { margin-top: 14px; } .price-list { grid-template-columns: 1fr 1fr; gap: 20px; } .price-list dt { min-height: auto; } .price-list dd { font-size: 23px; }
  .ceia-band > div { flex-wrap: wrap; gap: 18px; } .ceia-band > div > svg { display: none; } .ceia-band a { margin-left: 0; white-space: normal; } .ceia-band h2 { font-size: 32px; }
  .registration-section { padding-block: 44px; } .registration-layout { grid-template-columns: 1fr; gap: 30px; } .summary { position: static; } .field-grid { gap: 14px; } .payment-options { grid-template-columns: 1fr; } legend { font-size: 19px; } .consent { margin-top: 16px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 24px 16px; } .gallery span { font-size: 14px; } .guidance-grid { grid-template-columns: 1fr; gap: 0; }
  .confirmation dl > div { grid-template-columns: 1fr; gap: 4px; } .admin-stats { grid-template-columns: 1fr 1fr; gap: 20px; } .admin-stats dd { font-size: 23px; } .admin-heading { align-items: flex-start; flex-direction: column; } .admin-heading h1 { font-size: 36px; }
}
@media (max-width: 380px) { .hero h1 { font-size: 49px; } .field-grid { grid-template-columns: 1fr; } .child-row { grid-template-columns: 1fr 80px; } .gallery { grid-template-columns: 1fr; } .admin-filters { grid-template-columns: 1fr; } .site-header nav .nav-action { gap: 4px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-content { animation: none; } }
@media print { .site-header, .hero, .event-section, .ceia-band, .gallery-section, .guidance-section, footer, .button-row, .section-heading { display: none; } .wrap { width: 100%; } .registration-section { padding: 0; } #registration-layout { display: none; } .confirmation { display: block; } }