:root {
  --barn: #8d1c1c;
  --barn-deep: #5a1010;
  --barn-bright: #b42828;
  --ink: #1c1814;
  --ink-soft: #3a342c;
  --cream: #f4efe4;
  --paper: #fffaf2;
  --wheat: #c9a45a;
  --wheat-deep: #9a7430;
  --field: #2f4a32;
  --dust: #b9a88a;
  --line: rgba(28, 24, 20, 0.12);
  --shadow: 0 18px 40px rgba(28, 24, 20, 0.12);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1160px;
  --header-h: 5.75rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 2px solid var(--barn);
  outline-offset: 3px;
}

a { color: var(--barn); text-underline-offset: 0.18em; }

a:hover { color: var(--barn-deep); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--barn);
  font-weight: 500;
  margin-bottom: 0.7rem;
}

/* Top bar + header */
.topbar {
  background: var(--ink);
  color: var(--cream);
  font-size: 0.82rem;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
}
.topbar a { color: var(--cream); text-decoration: none; }
.topbar a:hover { color: var(--wheat); }
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--wheat);
}
.open-badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #7dba63;
  box-shadow: 0 0 0 3px rgba(125, 186, 99, 0.25);
}
.open-badge.is-closed { color: #e0c9c0; }
.open-badge.is-closed::before { background: #c46a5a; box-shadow: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 250, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.logo-animals {
  height: 2.85rem;
  width: auto;
  display: block;
  margin: 0 0 0.22rem;
}
.logo-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
  line-height: 1;
}
.logo-riegel { color: var(--barn); }
.logo-rest {
  display: block;
  margin-top: 0.12rem;
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #1c1814;
  white-space: nowrap;
}
.logo-year {
  display: block;
  margin-top: 0.18rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1c1814;
  font-weight: 500;
}
.logo-on-dark .logo-rest,
.logo-on-dark .logo-year { color: var(--cream); }
.logo-on-dark .logo-animals { filter: brightness(0) invert(0.94); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.4rem 0.7rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav {
  display: flex;
  gap: 0.15rem 1.15rem;
  align-items: center;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--barn);
  border-bottom-color: var(--barn);
}
.site-nav .btn {
  margin-left: 0.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--barn);
  color: #fff !important;
  text-decoration: none;
  border: 0;
  padding: 0.72rem 1.15rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--barn-deep); color: #fff !important; }
.btn-ghost {
  background: transparent;
  color: var(--cream) !important;
  border: 1px solid rgba(244, 239, 228, 0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-outline {
  background: transparent;
  color: var(--barn) !important;
  border: 1px solid var(--barn);
}
.btn-outline:hover { background: var(--barn); color: #fff !important; }

/* Hero */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  color: var(--cream);
  display: grid;
  align-items: end;
  isolation: isolate;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(28,24,20,0.15) 0%, rgba(28,24,20,0.55) 48%, rgba(28,24,20,0.88) 100%);
}
.hero-inner {
  padding: 4.5rem 0 3.2rem;
  max-width: 42rem;
}
.hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero p.lede {
  font-size: 1.2rem;
  color: rgba(244, 239, 228, 0.92);
  max-width: 36rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.hero .kicker { color: var(--wheat); }

.page-hero {
  position: relative;
  min-height: 42vh;
  color: #fff;
  display: grid;
  align-items: end;
  isolation: isolate;
}
.page-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28,24,20,0.2), rgba(28,24,20,0.78));
}
.page-hero .wrap { padding: 5.5rem 0 2.4rem; }
.page-hero h1 { color: #fff; max-width: 18ch; }

/* Stats */
.stats {
  background: var(--barn-deep);
  color: var(--cream);
}
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.4rem 0;
}
.stat { text-align: center; padding: 0.6rem 0.4rem; }
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: #fff;
}
.stat span {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wheat);
}

/* Sections */
.section { padding: 4.4rem 0; }
.section-cream { background: var(--cream); }
.section-ink { background: var(--ink); color: var(--cream); }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink p { color: rgba(244,239,228,0.86); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .copy { order: 2; }
.split img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.lede { font-size: 1.15rem; color: var(--ink-soft); }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.8rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.2rem 1.15rem 1.3rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
a.card:hover {
  transform: translateY(-3px);
  border-color: var(--barn);
  color: inherit;
}
.card img {
  width: calc(100% + 2.3rem);
  margin: -1.2rem -1.15rem 1rem;
  height: 150px;
  object-fit: cover;
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 0; flex: 1; }
.icon {
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.7rem;
  color: var(--barn);
}

.quote {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
  max-width: 40rem;
}
.quote cite {
  display: block;
  margin-top: 1.1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wheat);
}

/* Hours board */
.board {
  background: #241c16;
  color: var(--cream);
  padding: 1.6rem 1.5rem;
  border: 8px solid #3a2c22;
  box-shadow: var(--shadow);
}
.board h3 {
  color: var(--wheat);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dashed rgba(201,164,90,0.28);
  padding: 0.38rem 0;
  font-family: var(--mono);
  font-size: 0.9rem;
}
.hours-row:last-child { border-bottom: 0; }

/* Lists */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.4rem;
}
.check-list li {
  padding: 0.38rem 0 0.38rem 1.5rem;
  position: relative;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.7rem;
  height: 0.35rem;
  border-left: 2px solid var(--barn);
  border-bottom: 2px solid var(--barn);
  transform: rotate(-45deg);
}

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.timeline li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1.2rem;
  padding: 0 0 1.4rem 0;
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 6.5rem;
  top: 0.5rem;
  bottom: -0.2rem;
  width: 1px;
  background: var(--line);
}
.timeline li:last-child::before { display: none; }
.timeline time {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--barn);
  font-weight: 500;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.2rem;
  align-items: start;
}
.form {
  display: grid;
  gap: 0.85rem;
}
label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: grid;
  gap: 0.35rem;
}
input, select, textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 2px;
  width: 100%;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--barn);
  outline-offset: 1px;
}
.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.form-success {
  display: none;
  background: #e8f0e4;
  border: 1px solid #9fbf8e;
  padding: 1rem 1.1rem;
}
body.form-ok .form-success { display: block; }
body.form-ok .form { display: none; }

.map-frame {
  width: 100%;
  height: 360px;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

.dl {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.4rem 0.8rem;
  margin: 1rem 0 1.4rem;
}
.dl dt {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 0.15rem;
}
.dl dd { margin: 0; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(244,239,228,0.82);
  padding: 3rem 0 1.4rem;
  font-size: 0.95rem;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--wheat); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.8rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(244,239,228,0.12);
}
.site-footer h2, .site-footer h3 {
  color: #fff;
  font-size: 1.05rem;
  font-family: var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li { margin: 0.28rem 0; }
.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 1.1rem;
  font-size: 0.8rem;
  color: rgba(244,239,228,0.55);
}

.notice {
  background: #fff6e3;
  border-left: 4px solid var(--wheat-deep);
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 1.2rem 0;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.6rem;
}
.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.gallery img:first-child { height: 100%; min-height: 490px; grid-row: span 2; }

/* Mobile */
@media (max-width: 980px) {
  .stats .wrap,
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse,
  .contact-grid,
  .foot-grid { grid-template-columns: 1fr; }
  .split.reverse .copy { order: 0; }
  .split img { height: 280px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img,
  .gallery img:first-child { min-height: 0; height: 240px; grid-row: auto; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--paper);
    flex-direction: column;
    padding: 0.6rem 1.2rem 1.1rem;
    border-bottom: 1px solid var(--line);
    gap: 0.2rem;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav .btn { margin: 0.5rem 0 0; width: fit-content; }
}

@media (max-width: 560px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 0.2rem; }
  .timeline li::before { display: none; }
  .dl { grid-template-columns: 1fr; }
  .hero { min-height: 72vh; }
  .logo-name { font-size: 1.28rem; }
  .logo-animals { height: 1.95rem; }
}
