:root {
  color-scheme: light;
  --forest: #153a32;
  --dark: #16352e;
  --wine: #8d3045;
  --paper: #f9f5eb;
  --ivory: #fffdf7;
  --line: #ded7c9;
  --muted: #53645b;
  --gold: #f4cb82;
  font-family: system-ui, sans-serif;
  color: var(--dark);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #aa4c33; outline-offset: 3px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 16px; top: 12px; padding: 12px; background: var(--ivory); transform: translateY(-160%); }
.skip:focus { transform: none; }
.top, .hero { background: var(--forest); color: var(--ivory); }
.top { border-bottom: 1px solid #ffffff27; }
.top-inner, .footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.top-inner { min-height: 67px; }
.brand { font-size: 1rem; letter-spacing: -.025em; }
.brand b { font-weight: 750; }
.languages, .shifts { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; }
.languages { border: 1px solid #ffffff5d; }
.languages button, .shifts button { border: 0; border-radius: 999px; background: transparent; color: inherit; font-size: .9rem; font-weight: 700; min-width: 42px; min-height: 44px; padding: 4px 11px; }
.languages button[aria-pressed=true] { color: var(--forest); background: var(--ivory); }
.languages button:focus-visible { outline-color: var(--gold); }
.hero { overflow: hidden; }
.hero-inner { min-height: 360px; display: grid; grid-template-columns: minmax(0, 1fr) min(39%, 430px); align-items: center; gap: 28px; }
.intro { padding-block: 48px 56px; z-index: 1; }
.edition { display: flex; align-items: center; gap: 10px; color: var(--gold); font-size: .875rem; font-weight: 750; letter-spacing: .12em; margin: 0 0 18px; }
.edition span { width: 18px; height: 1px; background: currentColor; }
h1, .section-title, .date-day { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; }
h1 { font-size: clamp(2.85rem, 5.85vw, 5.2rem); line-height: .96; letter-spacing: -.055em; margin: 0; max-width: 720px; text-wrap: balance; }
.summary { font-size: 1.0625rem; color: #e8eee6; max-width: 38ch; margin: 20px 0 0; line-height: 1.55; }
.illustration { position: relative; width: min(100%, 400px); aspect-ratio: 1 / .85; justify-self: center; }
.placemat, .plate, .plate-rim, .star, .fork, .knife, .spark, .berry { position: absolute; }
.placemat { width: 72%; aspect-ratio: 1; top: 4%; left: 14%; border-radius: 50%; display: grid; place-items: center; background: repeating-conic-gradient(#d67a88 0 4deg, #a34559 4deg 8deg); box-shadow: 0 20px 35px #0e292783; }
.plate { width: 87%; aspect-ratio: 1; border-radius: 50%; background: #f8ecd0; border: 7px solid #eed9ac; display: grid; place-items: center; }
.plate-rim { width: 77%; aspect-ratio: 1; border-radius: 50%; border: 2px solid #b68254; box-shadow: inset 0 0 0 7px #f8ecd0, inset 0 0 0 8px #dbbd88; display: grid; place-items: center; }
.star { width: 49%; aspect-ratio: 1; background: var(--wine); clip-path: polygon(50% 0,58% 34%,85% 15%,66% 42%,100% 50%,66% 58%,85% 85%,58% 66%,50% 100%,42% 66%,15% 85%,34% 58%,0 50%,34% 42%,15% 15%,42% 34%); transform: rotate(12deg); }
.fork, .knife { width: 2%; height: 38%; border-radius: 8px; top: 42%; background: var(--gold); }
.fork { left: 7%; transform: rotate(10deg); }
.fork i { position: absolute; left: -105%; top: -32%; width: 310%; height: 45%; border-radius: 0 0 10px 10px; background: repeating-linear-gradient(to right, var(--gold) 0 16%, transparent 16% 28%); border-bottom: 10px solid var(--gold); }
.knife { right: 7%; transform: rotate(-12deg); }
.knife::before { content: ''; position: absolute; right: 0; top: -31%; width: 245%; height: 75%; border-radius: 100% 10px 2px 6px; background: var(--gold); }
.spark { width: 10%; aspect-ratio: 1; background: var(--gold); clip-path: polygon(50% 0,60% 41%,100% 50%,60% 59%,50% 100%,40% 59%,0 50%,40% 41%); }
.spark-one { right: 7%; top: 8%; }
.spark-two { left: 18%; bottom: 1%; width: 7%; }
.berry { width: 2.5%; aspect-ratio: 1; border-radius: 50%; background: #ea94a0; }
.berry-one { left: 6%; top: 18%; }
.berry-two { right: 16%; bottom: 8%; }
.guide { padding-block: 36px 64px; }
.section-title { margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.35rem); line-height: 1.1; letter-spacing: -.04em; }
.dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-block: 18px 22px; }
.date-card { background: var(--ivory); display: grid; grid-template-columns: auto 1fr; gap: 0 8px; align-items: baseline; text-align: left; color: var(--dark); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.date-card:hover { border-color: var(--wine); }
.date-card[aria-pressed=true] { color: #fffdf7; background: var(--wine); border-color: var(--wine); }
.date-day { font-size: clamp(2.45rem, 5vw, 4rem); line-height: .9; letter-spacing: -.065em; }
.date-month { font-weight: 800; font-size: .875rem; letter-spacing: .06em; }
.date-name { margin-top: 11px; grid-column: 1 / -1; font-weight: 650; font-size: .9375rem; }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 30px; border-block: 1px solid var(--line); padding-block: 16px; }
.filter { display: grid; gap: 7px; }
.field-label { font-weight: 700; font-size: .875rem; }
.shifts { background: #ece5d7; }
.shifts button { padding-inline: 14px; }
.shifts button[aria-pressed=true] { color: var(--ivory); background: var(--forest); }
select { min-width: 240px; min-height: 51px; color: var(--dark); background-color: var(--ivory); border: 1px solid var(--line); border-radius: 10px; padding: 8px 36px 8px 13px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--dark) 50%), linear-gradient(135deg, var(--dark) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 11px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.result-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 28px; }
#count { margin: 0; font-size: .9rem; color: var(--muted); font-weight: 650; text-align: right; }
.opening-note { margin: 10px 0 24px; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.area + .area { margin-top: 29px; }
.area-title { font-size: 1.07rem; margin: 0 0 10px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.venue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.venue { display: flex; flex-direction: column; align-items: start; gap: 9px; background: var(--ivory); border: 1px solid var(--line); border-radius: 15px; padding: 16px; overflow-wrap: anywhere; }
.venue h4, .venue p { margin: 0; }
.venue h4 { font-size: 1.08rem; line-height: 1.25; }
.venue p.venue-city { margin-top: -5px; color: var(--wine); font-size: .9rem; font-weight: 700; }
.address, .venue-note { font-size: .9rem; line-height: 1.45; color: var(--muted); }
.venue-shifts, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.badge { border-radius: 999px; padding: 5px 9px; font-size: .875rem; font-weight: 680; }
.badge-day { background: #f5e4bd; color: #5e410d; }
.badge-night { background: #ecdee6; color: #68253e; }
.actions { margin-top: auto; padding-top: 3px; }
.action { color: var(--forest); font-size: .9rem; min-height: 44px; display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 680; }
.action:hover { background: #eaf0e8; }
.action-link { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.action-link:hover { background: #275348; }
.empty { padding: 18px; margin-top: 16px; border-radius: 14px; background: var(--ivory); border: 1px solid var(--line); }
.empty p { margin: 0 0 12px; }
.empty button { border-radius: 8px; padding: 10px 14px; color: var(--ivory); background: var(--forest); border: 0; min-height: 44px; }
.footer { background: var(--forest); color: var(--ivory); padding-block: 22px; }
.footer p { font-size: .875rem; margin: 0; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 42px); }
  .venue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 32px); }
  .top-inner { min-height: 60px; }
  .hero-inner { display: block; position: relative; min-height: 0; }
  .intro { padding-block: 32px 28px; position: relative; }
  .edition { letter-spacing: .07em; margin-bottom: 14px; }
  h1 { font-size: clamp(2.3rem, 10.4vw, 3.3rem); max-width: 92%; text-wrap: initial; }
  .summary { font-size: 1rem; max-width: 31ch; margin-top: 15px; }
  .illustration { width: 116px; position: absolute; right: -44px; top: 16px; transform: rotate(-24deg); opacity: .46; pointer-events: none; }
  .guide { padding-block: 24px 40px; }
  .dates { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 12px 17px; gap: 8px; }
  .date-card { padding: 13px 15px; }
  .date-name { margin-top: 7px; }
  .filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .shifts { justify-self: start; }
  select { min-width: 0; width: 100%; }
  .venue-grid { grid-template-columns: 1fr; }
  .footer .wrap { flex-wrap: wrap; gap: 8px; }
}
