:root {
  --bg: #1e3a2f;
  --ink: #f4efe4;
  --muted: #e7dcc8;
  --accent: #e7c27a;
  --accent-ink: #1e3a2f;
  --surface: #163028;
  --field: #12261e;
  --field-ink: #f4efe4;
  --onfield: #e7c27a;
  --margin: clamp(1rem, 3vw, 2.4rem);
  --rail: 8.5rem;
  --sans: "Newsreader", "Iowan Old Style", Palatino, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-left: var(--rail);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.15rem;
  line-height: 1.5;
  color-scheme: dark;
}
body::before {
  content: "";
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: var(--rail);
  background: #12261e;
  border-right: 1px solid #e7c27a;
  z-index: 40;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 0.98; margin: 0; }
h1 { font-size: clamp(3.4rem, 6.5vw, 6.2rem); }
h2 { font-size: clamp(2.1rem, 3.5vw, 3.2rem); }
h3 { font-size: 1.7rem; }
p { margin: 0 0 0.85rem; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: #e7c27a; color: #1e3a2f; }
.skip { position: absolute; left: calc(var(--rail) + 1rem); top: -4rem; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 0.5rem 0.8rem; }
.skip:focus { top: 0.5rem; }
.nav-toggle { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }

main { display: flex; flex-direction: column; }
main > .hero { order: 1; }
main > .section:has(.band) { order: 2; }
main > .quote-block { order: 3; }
main > .section:has(.moments) { order: 4; }
main > .visit { order: 5; }
main > .section:has(.catalog) { order: 6; }
main > .about { order: 7; }
main > .section:has(.faq-table) { order: 8; }

.disclaimer { margin: 0; padding: 0.7rem 8% 0.7rem 12%; background: var(--field); color: var(--field-ink); font-style: italic; }
.disclaimer a { color: var(--onfield); }
.cookie-modal { position: fixed; left: var(--rail); right: 0; bottom: 0; z-index: 80; }
.cookie-modal[hidden] { display: none; }
.cookie-window {
  display: flex; justify-content: flex-end; gap: 1.2rem; align-items: center;
  padding: 1rem 8% 1rem 30%; background: #12261e; color: var(--field-ink);
  border-top: 1px solid var(--accent);
}
.cookie-window p { margin: 0; font-style: italic; }
.cookie-window a { color: var(--onfield); }
.cookie-actions { display: flex; gap: 0.8rem; }
.cookie-window .btn { background: var(--accent); color: var(--accent-ink); }
.cookie-window .btn-ghost { color: var(--accent); }

.header-river {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding: 1.1rem 8% 0.2rem 12%;
}
.header-river .header-bar { display: contents; }
.header-river .logo { grid-column: 1; grid-row: 1; font-size: 1.35rem; font-style: italic; text-decoration: none; color: var(--accent); }
.header-river .header-place { grid-column: 1; grid-row: 2; margin: 0; color: var(--muted); font-style: italic; }
.header-river .header-tools { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 0.8rem; align-items: center; }
.header-river .nav-panel {
  grid-column: 1 / -1; grid-row: 3;
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.35rem 1.2rem;
  padding: 0.7rem 0 0.35rem;
  font-style: italic;
}
.nav-panel a { text-decoration: none; }
.nav-panel a[aria-current="page"] { color: var(--accent); }
.burger { display: none; cursor: pointer; min-height: 44px; align-items: center; font-style: italic; color: var(--accent); }
.cart-link { color: var(--accent); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; font-style: italic; }
.cart-link span { margin-left: 0.3rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0.35rem 0.15rem;
  background: transparent; color: var(--accent);
  border: 0; border-bottom: 1px solid var(--accent);
  text-decoration: none; cursor: pointer; font-style: italic;
}
.btn:hover { color: #f4efe4; border-color: #f4efe4; }
.btn-ghost {
  display: inline-flex; align-items: center; min-height: 44px;
  background: transparent; color: var(--muted); border: 0;
  text-decoration: none; font-style: italic; cursor: pointer; padding: 0.25rem 0;
}

.hero-panorama { display: block; }
.hero-panorama .hero-photo {
  width: calc(100% + var(--rail));
  max-width: none;
  margin-left: calc(var(--rail) * -1);
  aspect-ratio: 21/9;
  height: auto;
  max-height: 62vh;
  object-fit: cover;
}
.hero-panorama .hero-card { background: transparent; padding: 1.6rem 8% 1.8rem 42%; }
.hero-title span { display: block; }
.hero-facts { margin: 0.8rem 0 0; color: var(--accent); font-style: italic; }
.hero-card .support { max-width: 34ch; font-size: 1.35rem; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: center; }
.credit { color: var(--accent); font-style: italic; }
.quiet-link { color: var(--ink); font-style: italic; }

.section { padding: 0; }
.band-head, .moment-head { padding: 1.2rem 8% 0.5rem 42%; }
.band-caption { padding: 0.8rem 8% 1.4rem 42%; font-style: italic; color: var(--muted); }
.band-river { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.band-river a { display: block; position: relative; color: inherit; text-decoration: none; }
.band-river a:first-child { grid-column: 1 / -1; }
.band-river a:first-child img { width: calc(100% + var(--rail)); max-width: none; margin-left: calc(var(--rail) * -1); aspect-ratio: 21/8; object-fit: cover; height: auto; }
.band-river a:not(:first-child) img { width: 100%; margin-left: 0; aspect-ratio: 4/3; object-fit: cover; height: auto; }
.band-river .band-title {
  position: absolute; left: 42%; bottom: 1.2rem; margin: 0;
  color: var(--accent); background: transparent;
  font-size: clamp(2rem, 4vw, 3.4rem); font-style: italic;
}

.moments-river .moment { display: block; padding-bottom: 0.4rem; }
.moments-river .moment:nth-child(odd) { background: var(--surface); }
.moments-river .moment img {
  width: calc(100% + var(--rail));
  max-width: none;
  margin-left: calc(var(--rail) * -1);
  aspect-ratio: 21/8;
  object-fit: cover;
  height: auto;
}
.moments-river .moment h3,
.moments-river .moment p { margin-left: 42%; margin-right: 8%; max-width: 34rem; }
.moments-river .moment h3 { padding-top: 0.9rem; font-style: italic; color: var(--accent); }
.moment .gap-a, .moment .gap-b, .moment .gap-c,
.moment .gap-d, .moment .gap-e, .moment .gap-f { display: none; }

.catalog { padding-bottom: 1.6rem; }
.catalog h2 { margin: 0.6rem 8% 0.6rem 42%; }
.catalog-river .menu-photo {
  width: calc(100% + var(--rail));
  max-width: none;
  margin-left: calc(var(--rail) * -1);
  aspect-ratio: 21/8;
  object-fit: cover;
  height: auto;
}
.catalog-river .menu-cols { margin-left: 42%; margin-right: 8%; max-width: 36rem; padding-top: 0.8rem; }
.menu-group h3 { margin: 1.1rem 0 0.2rem; color: var(--accent); font-style: italic; }
.menu-item { padding: 0.7rem 0; border-bottom: 1px solid rgba(231, 194, 122, 0.45); }
.menu-row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.menu-row a { text-decoration: none; font-style: italic; font-size: 1.25rem; }
.menu-desc { color: var(--muted); margin: 0.15rem 0 0.2rem; }
.price { font-variant-numeric: tabular-nums; color: var(--accent); }
.pick { display: flex; gap: 1.2rem; margin: 0 0 0.4rem; }
.pick label { cursor: pointer; font-style: italic; }
.switch > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#rano:checked ~ .pick label[for="rano"],
#vecer:checked ~ .pick label[for="vecer"] { color: var(--accent); }
#rano:focus-visible ~ .pick label[for="rano"],
#vecer:focus-visible ~ .pick label[for="vecer"] { outline: 2px solid var(--accent); }
.group-rano, .group-vecer { display: block; }
#vecer:checked ~ .group-rano,
#rano:checked ~ .group-vecer { display: none; }

.about { padding: 1.4rem 0 1rem; }
.about-facts { margin-left: 12%; }
.about-facts p { margin: 0; color: var(--accent); font-style: italic; }
.about-copy { margin-left: 42%; margin-right: 8%; max-width: 36rem; }
.about-copy img { width: 100%; aspect-ratio: 16/7; object-fit: cover; height: auto; margin: 0.7rem 0; }
.soft { color: var(--muted); }

.quote-block img {
  width: calc(100% + var(--rail));
  max-width: none;
  margin-left: calc(var(--rail) * -1);
  aspect-ratio: 21/8;
  object-fit: cover;
  height: auto;
}
.quote-block blockquote { margin: 0 8% 0 42%; padding: 1.3rem 0 1.6rem; max-width: 34rem; }
.quote-block p { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; font-style: italic; margin: 0; }
.quote-block footer { margin-top: 0.7rem; color: var(--accent); }

.faq-table { margin-left: 42%; margin-right: 8%; max-width: 36rem; padding-bottom: 2.4rem; }
.faq-q { margin: 1.1rem 0 0.15rem; font-style: italic; color: var(--accent); }
.faq-a { margin: 0; }

.visit img {
  width: calc(100% + var(--rail));
  max-width: none;
  margin-left: calc(var(--rail) * -1);
  aspect-ratio: 21/8;
  object-fit: cover;
  height: auto;
}
.visit-card { margin-left: 42%; margin-right: 8%; max-width: 34rem; padding: 1.1rem 0 1.8rem; }
.hours { width: 100%; border-collapse: collapse; margin: 0.2rem 0 0.7rem; }
.hours td { padding: 0.25rem 0; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--accent); }

.footer-river { padding: 1.2rem 8% 1.4rem 12%; }
.footer-name { font-size: clamp(3rem, 8vw, 5.6rem); color: var(--accent); margin: 0; line-height: 0.88; font-style: italic; }
.footer-row { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 1.2rem; margin-top: 0.8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; justify-content: flex-end; }
.footer-links a { text-decoration: none; font-style: italic; }
.legal-line { color: var(--muted); font-size: 0.98rem; max-width: 70ch; }

.page-intro { margin-left: 42%; margin-right: 8%; padding-top: 1.4rem; max-width: 36rem; }
.page-intro p { color: var(--muted); font-style: italic; }
.prose { margin-left: 42%; margin-right: 8%; max-width: 40rem; padding-bottom: 2.5rem; }
.prose h2 { margin: 1.4rem 0 0.35rem; font-style: italic; color: var(--accent); }
.split { display: block; padding-bottom: 1.6rem; }
.split img, .product-hero img {
  width: calc(100% + var(--rail));
  max-width: none;
  margin-left: calc(var(--rail) * -1);
  aspect-ratio: 21/9;
  object-fit: cover;
  max-height: 70vh;
}
.split > div:last-child { margin-left: 42%; margin-right: 8%; max-width: 36rem; padding-top: 1rem; }
.price-lg { font-size: clamp(2.4rem, 4vw, 3.6rem); color: var(--accent); margin: 0.15rem 0; font-style: italic; }
.actions { display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: center; }
.crumbs { margin: 0 0 0.5rem; font-style: italic; }
.crumbs a { color: var(--accent); }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 0.35rem 0.3rem 0.35rem 0; border-bottom: 1px solid rgba(231,194,122,.35); }
.spec th { color: var(--accent); font-weight: 500; font-style: italic; width: 38%; }
.note { background: var(--surface); padding: 0.75rem 0.85rem; }
.note p { margin: 0; }
.ingredient { margin: 0 0 1.1rem; }
.ingredient h2 { font-size: 1.35rem; color: var(--accent); font-style: italic; }
.voice { margin: 0 0 1.5rem; }
.voice p { font-size: 1.45rem; line-height: 1.3; font-style: italic; margin: 0 0 0.3rem; }
.voice footer { color: var(--accent); }
.product-grid { display: grid; grid-template-columns: 1fr; }
.product-grid a { text-decoration: none; display: block; }
.product-grid img { width: calc(100% + var(--rail)); max-width: none; margin-left: calc(var(--rail) * -1); aspect-ratio: 21/8; object-fit: cover; }
.product-grid h2, .product-grid h3, .product-grid p { margin-left: 42%; margin-right: 8%; }
.product-grid h2, .product-grid h3 { font-style: italic; color: var(--accent); padding-top: 0.6rem; }
.product-grid p { color: var(--muted); }

.cart-fallback { display: flex; flex-wrap: wrap; gap: 1rem; }
.cart-line { display: grid; grid-template-columns: 140px 1fr auto; gap: 0.8rem; align-items: center; margin: 0 0 0.8rem; }
.cart-line img { width: 140px; height: 78px; object-fit: cover; }
.qty { display: flex; align-items: center; gap: 0.45rem; }
.qty button { min-width: 44px; min-height: 44px; background: transparent; color: var(--accent); border: 0; cursor: pointer; font-style: italic; }
.line-total { color: var(--accent); font-variant-numeric: tabular-nums; }
.lede { font-size: 1.8rem; font-style: italic; }
.checkout-grid { margin-left: 42%; margin-right: 8%; max-width: 40rem; display: grid; gap: 0.9rem; padding-bottom: 2.5rem; }
.form label, .checkout-grid label { display: grid; gap: 0.2rem; font-style: italic; color: var(--accent); }
input, select, textarea {
  width: 100%; background: transparent; color: var(--ink);
  border: 0; border-bottom: 1px solid var(--accent);
  padding: 0.6rem 0.15rem; border-radius: 0;
}
textarea { min-height: 7rem; resize: vertical; }
.field-error { color: #ffb4a8; }
.field-error[hidden] { display: none; }
.order-card { padding: 0.2rem 0 0.8rem; }
.sum-lines { list-style: none; padding: 0; margin: 0 0 0.6rem; }
.sum-lines li, .sum-row { display: flex; justify-content: space-between; gap: 0.8rem; margin: 0 0 0.25rem; }
.thanks-modal { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 90; display: grid; place-items: center; padding: 1rem; }
.thanks-modal[hidden] { display: none; }
.thanks-window { background: var(--bg); color: var(--ink); width: min(28rem, 100%); padding: 1.4rem; position: relative; border-top: 1px solid var(--accent); }
.thanks-close { position: absolute; top: 0.25rem; right: 0.45rem; background: none; border: 0; color: var(--accent); font-size: 1.5rem; cursor: pointer; }

@media (max-width: 860px) {
  body { padding-left: 0; }
  body::before { display: none; }
  .skip { left: 1rem; }
  .cookie-modal { left: 0; }
  .burger { display: inline-flex; }
  .header-river { padding: 0.8rem var(--margin) 0.2rem; }
  .header-river .nav-panel { display: none; justify-content: flex-start; }
  .nav-toggle:checked ~ .nav-panel { display: flex; flex-direction: column; align-items: flex-start; }
  .disclaimer, .hero-panorama .hero-card,
  .band-head, .moment-head, .band-caption,
  .band-river .band-title,
  .moments-river .moment h3, .moments-river .moment p,
  .catalog h2, .catalog-river .menu-cols,
  .about-facts, .about-copy,
  .quote-block blockquote, .faq-table, .visit-card,
  .page-intro, .prose, .split > div:last-child, .checkout-grid,
  .product-grid h2, .product-grid h3, .product-grid p,
  .footer-river {
    margin-left: 0; padding-left: var(--margin); padding-right: var(--margin); max-width: none;
  }
  .hero-panorama .hero-card, .band-head, .moment-head { padding-left: var(--margin); }
  .band-river .band-title { left: var(--margin); position: static; padding: 0.4rem var(--margin) 0.8rem; }
  .hero-panorama .hero-photo,
  .band-river a:first-child img,
  .moments-river .moment img, .catalog-river .menu-photo,
  .quote-block img, .visit img, .split img, .product-hero img, .product-grid img {
    width: 100%; margin-left: 0; aspect-ratio: 4/3;
  }
  .band-river a:not(:first-child) { display: block; }
  .footer-row, .cart-line { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .cookie-window { flex-direction: column; align-items: flex-start; padding: 1rem var(--margin); }
  .header-place { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
