@font-face {
  font-family: "FG Regular";
  src: url("brand/gamay-narrow-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "FG Black";
  src: url("brand/gamay-narrow-black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
/* Values shared with the FAHRGEFUEL Shopify theme. */
:root {
  color-scheme: light;
  --paper: #f5f3ed;
  --white: #f9f8f3;
  --ink: #20251f;
  --muted: #5d6555;
  --olive: #20251f;
  --green: #c8d29d;
  --line: #d7d9cd;
  --danger: #81382f;
  --heading: "FG Black", "Arial Narrow", Arial, sans-serif;
  --body: "FG Regular", "Arial Narrow", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.125rem/1.5 var(--body); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .58; }
:focus-visible { outline: 3px solid #7b864c; outline-offset: 5px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.05; margin: 0; font-family: var(--heading); font-weight: 900; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.85rem, 6.1vw, 6rem); }
h2 { font-size: clamp(2.25rem, 4vw, 3.625rem); }
h3 { font-size: 1.875rem; }
.shell { width: min(calc(100% - 6rem), 1280px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.header-inner { min-height: 88px; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; line-height: 1; }
.brand img { width: 245px; height: auto; }
nav { display: flex; gap: 32px; align-items: center; font-size: 1.125rem; }
nav a { text-decoration: none; padding: 10px 0; }
nav a:hover, nav a[aria-current="page"] { color: #5a673b; text-decoration: underline; text-underline-offset: .35rem; }
.eyebrow { font-size: .875rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1.375rem; }
.event-intro { padding-block: 84px 60px; }
.event-intro h1 { font-size: clamp(4rem, 8vw, 6.875rem); line-height: 1; margin-bottom: 24px; }
.intro-copy { font-size: 1.4375rem; max-width: 620px; margin: 0; }
.section { padding-block: clamp(2.2rem, 5vw, 4.5rem); }
.event-section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 36px; }
.section-heading p { margin: .6rem 0 0; color: var(--muted); }
.ticket-reminder { max-width: 24ch; }
.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 36px; }
.event-card, .panel { background: var(--white); border: 1px solid var(--line); min-width: 0; }
.event-card { display: flex; flex-direction: column; background: transparent; border: 0; }
.event-image { position: relative; background: #d8ddcf; aspect-ratio: 1.5; overflow: hidden; }
.event-image .photo-credit { position: absolute; right: .5rem; bottom: .4rem; background: #1c261cb8; padding: .15rem .35rem; color: white; font-size: .72rem; }
.event-image img { width: 100%; height: 100%; object-fit: cover; }
.event-card-content { padding: 18px 0 0; flex: 1; display: flex; flex-direction: column; gap: .65rem; align-items: flex-start; }
.event-card-content p { margin: 0; }
.event-meta { font-size: .875rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.event-card-content .button-row { margin-top: auto; padding-top: .5rem; }
.event-card-content .button.outline { min-height: auto; padding: 0 0 6px; margin: 0 .45rem; border: 0; border-bottom: 1px solid currentColor; background: transparent; }
.event-card-content .button.outline:hover { color: #5a673b; }
.button-row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.button { display: inline-flex; justify-content: center; align-items: center; text-decoration: none; gap: .45rem; padding: 12px 24px; min-height: 56px; border: 1px solid transparent; background: var(--ink); color: white; font-size: 1.125rem; }
.button:hover { background: var(--green); color: var(--ink); }
.button.outline { color: var(--ink); border-color: var(--line); background: var(--paper); }
.button.outline:hover { background: var(--green); color: var(--ink); }
.button.danger { color: var(--danger); }
.button.danger:hover { background: #f1dfd9; }
.site-footer { border-top: 1px solid #c8cdbd; padding: 24px 0 36px; background: #e7e8df; }
.footer-inner, .footer-inner p { font-size: .875rem; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #5a673b; text-decoration: underline; }
.page { padding-block: 2.5rem 4.2rem; }
.page-header { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.6rem; }
.page-header h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
.page-header p:not(.eyebrow) { margin: .65rem 0 0; color: var(--muted); }
.panel { padding: 1.25rem; }
.stack { display: grid; gap: 1rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.2rem; }
.tabs .button[aria-current="true"] { color: var(--white); background: var(--olive); }
.toolbar, .stats { display: grid; gap: .8rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 1.1rem; }
.stat { padding: 1rem; border: 1px solid var(--line); background: var(--white); }
.stat b { display: block; font-family: var(--heading); font-weight: 900; font-size: 1.65rem; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .88rem; }
.review-card { display: grid; grid-template-columns: 185px 1fr auto; gap: 1rem; align-items: start; }
.review-card h3 { margin: .35rem 0; }
.review-card .button-row { justify-content: end; }
.review-card p { margin: .3rem 0 0; overflow-wrap: anywhere; }
.review-photo { padding: 0; border: 0; background: #e8ebdf; aspect-ratio: 1.5; width: 100%; overflow: hidden; display: grid; place-items: center; color: var(--muted); }
.review-photo img { width: 100%; height: 100%; object-fit: cover; }
.status { display: inline-block; padding: .18rem .55rem; color: #384330; background: #e9ecdf; font-size: .84rem; font-weight: 740; }
.status.approved, .status.paid { background: #dde8c6; }
.status.rejected { background: #f1dfd9; color: #783329; }
.status.waitlist { background: #f3e9c9; color: #654e16; }
.subtle, .field-note { color: var(--muted); font-size: .9rem; }
.field-note { margin: .22rem 0 0; }
.empty { border: 1px dashed #c3c9b6; padding: 1.5rem; color: var(--muted); }
.empty p { margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.full { grid-column: 1/-1; }
label { display: grid; gap: .28rem; font-size: 1rem; }
input:not([type="checkbox"]), select, textarea { min-width: 0; width: 100%; padding: .63rem .65rem; border: 1px solid #b8bead; border-radius: 0; background: var(--white); color: var(--ink); }
textarea { min-height: 6rem; resize: vertical; }
.check-label { display: flex; gap: .6rem; align-items: center; }
.check-label input { width: 1.05rem; height: 1.05rem; accent-color: var(--olive); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: .35rem; }
.error { color: var(--danger); min-height: 1.25em; font-weight: 650; margin: 0; }
.money-line { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; align-items: center; padding: .8rem; background: #edf0e2; }
.ticket-list { display: grid; gap: .55rem; }
.ticket { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem; padding: .8rem; background: #ecf0df; }
.ticket b { display: block; }
.ticket code { color: var(--ink); font-size: 1rem; overflow-wrap: anywhere; }
.thumbnails { display: flex; gap: .55rem; flex-wrap: wrap; }
.thumbnails img { width: 88px; height: 64px; object-fit: cover; border: 1px solid var(--line); }
.gallery { display: grid; gap: .65rem; margin-top: .8rem; }
.gallery img { width: 100%; max-height: 55vh; object-fit: contain; background: #e9ecdf; }
dialog { width: min(100% - 2rem, 680px); max-height: 90dvh; padding: 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink); box-shadow: 0 1.2rem 4rem #1b24194f; }
dialog::backdrop { background: #1b2419a6; }
.dialog-bar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: .65rem 1.15rem; border-bottom: 1px solid var(--line); background: var(--paper); z-index: 2; }
.dialog-bar .brand img { width: 156px; }
.close { border: 0; color: var(--ink); background: transparent; font-size: 1.6rem; padding: 0 .35rem; line-height: 1; min-height: 36px; min-width: 36px; }
#dialog-content { padding: 1.25rem; }
#dialog-content h2 { font-size: clamp(1.8rem, 5vw, 2.85rem); margin-bottom: .4rem; }
.toast { position: fixed; right: 1rem; bottom: 1rem; z-index: 5; max-width: min(360px, calc(100% - 2rem)); }
.toast:not(:empty) { background: var(--olive); color: var(--white); padding: .75rem 1rem; }
.skip { position: absolute; transform: translateY(-120%); background: var(--white); z-index: 5; padding: .5rem; }
.skip:focus { transform: translateY(0); }
.loading { padding-block: 3rem; }
@media (max-width: 920px) {
  .shell { width: min(100% - 2.5rem, 1216px); }
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-card { grid-template-columns: 125px 1fr; }
  .review-card .button-row { grid-column: 1/-1; justify-content: start; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 2.25rem); }
  .header-inner { padding-block: 16px; align-items: start; flex-direction: column; gap: .6rem; min-height: 74px; }
  .brand img { width: 190px; }
  nav { gap: 18px; flex-wrap: wrap; font-size: 1.0625rem; }
  nav a { padding: .25rem 0; }
  .event-intro { padding-block: 52px 36px; }
  .event-intro h1 { font-size: clamp(2.4rem, 12vw, 4rem); }
  .intro-copy { font-size: 1.25rem; }
  .event-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .section-heading, .page-header, .footer-inner { align-items: flex-start; flex-direction: column; }
  .toolbar { grid-template-columns: 1fr; }
  .stats { gap: .4rem; }
  .stat { padding: .65rem .5rem; }
  .stat span { font-size: .79rem; }
  .review-card { grid-template-columns: 93px minmax(0, 1fr); gap: .65rem; }
  .review-card h3 { font-size: 1.25rem; }
  .panel { padding: .85rem; }
}
.link-button { color: var(--olive); background: none; border: 0; padding: .2rem 0; text-decoration: underline; text-underline-offset: .18rem; font-weight: 650; }

.account-panel { max-width: 660px; }
.account-panel > p { margin-top: 0; }
.account-panel .link-button, .form-grid > .link-button { justify-self: start; }
.application-title { margin-top: .5rem; }
.garage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.garage-card { padding: 0; display: flex; flex-direction: column; }
.garage-image { background: #e9ecdf; aspect-ratio: 1.65; }
.garage-image img { width: 100%; height: 100%; object-fit: cover; }
.garage-card-details { padding: 1rem; display: grid; align-content: start; gap: .65rem; }
.garage-card-details p { margin: 0; }
@media (max-width: 920px) {
  .garage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .garage-grid { grid-template-columns: minmax(0, 1fr); }
}

.ticket-qr { background: #fff; flex: 0 0 auto; max-width: min(145px, 100%); height: auto; }
.scanner { display: grid; gap: .65rem; justify-items: start; }
.scanner video { background: var(--ink); display: block; width: min(100%, 520px); aspect-ratio: 4/3; object-fit: cover; }
.login-message { margin: 0; max-width: 48ch; }
