:root {
  --color-bg: #f6f3ee;
  --color-surface: #ffffff;
  --color-ink: #1c261f;
  --color-muted: #5a665c;
  --color-accent: #2d5a45;
  --color-accent-soft: #c8ddd2;
  --color-river: #3a6d8c;
  --font-display: "Source Serif 4", "Georgia", serif;
  --font-ui: "DM Sans", system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(28, 38, 31, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
}

a {
  color: var(--color-river);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent);
}

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

.skip-link:focus {
  left: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 90, 69, 0.12);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-lockup:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 8px;
}

.brand-lockup .brand-mark {
  flex-shrink: 0;
  height: 3.25rem;
  width: auto;
  max-width: 3.75rem;
  object-fit: contain;
  object-position: left center;
  image-rendering: -webkit-optimize-contrast;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--color-accent-soft);
  color: var(--color-ink);
}

.lang-switch {
  display: flex;
  border-radius: 999px;
  border: 1px solid rgba(28, 38, 31, 0.12);
  overflow: hidden;
}

.lang-switch button {
  border: 0;
  background: transparent;
  padding: 0.35rem 0.55rem;
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--color-muted);
  font-family: inherit;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--color-accent);
  color: #fff;
}

.hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: background-image 0.6s ease;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 32, 26, 0.35) 0%,
    rgba(20, 32, 26, 0.75) 100%
  );
  z-index: -1;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2.75rem;
  width: 100%;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .hero-grid {
    grid-template-columns: 7fr 3fr;
    align-items: end;
  }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.status-pill[data-open="true"] {
  background: rgba(90, 200, 140, 0.25);
  border: 1px solid rgba(180, 255, 210, 0.5);
}

.status-pill[data-open="false"] {
  background: rgba(255, 200, 120, 0.2);
  border: 1px solid rgba(255, 220, 160, 0.45);
}

.shop-status-detail {
  margin: 0.65rem 0 0;
  max-width: 38ch;
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 600;
  margin: 0.5rem 0 0;
  line-height: 1.15;
}

.hero-lead {
  margin: 0.75rem 0 0;
  max-width: 36ch;
  font-size: 1rem;
  opacity: 0.95;
}

.hours-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  backdrop-filter: blur(8px);
}

.hours-panel h2 {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.85;
  font-weight: 600;
  text-align: right;
}

/* One shared grid so every weekday lines up in column 1 and times in column 2. */
.hours-grid {
  display: grid;
  grid-template-columns: max-content minmax(6.75rem, max-content);
  column-gap: 0.4rem;
  row-gap: 0.22rem;
  justify-content: end;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}

.hours-grid > .hours-row {
  display: contents;
}

.hours-day {
  text-align: right;
  opacity: 0.95;
}

.hours-time {
  justify-self: start;
  text-align: left;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hours-time--closed {
  justify-self: center;
  text-align: center;
  font-variant-numeric: normal;
}

.hours-grid > .hours-fallback {
  grid-column: 1 / -1;
  justify-self: end;
  max-width: 28ch;
  text-align: right;
  list-style: none;
}

.hours-grid > .hours-row--special .hours-day {
  color: var(--color-accent);
}

.hours-grid > .hours-row--special .hours-time {
  font-weight: 600;
}

.hours-special-note {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--color-muted);
  text-align: right;
  max-width: 28ch;
  margin-left: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--color-accent-soft);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 1rem;
}

.section-poem {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.poem-backdrop {
  position: relative;
  min-height: min(52vh, 520px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background-color: #dfe8e4;
  background-image: var(--poem-bg);
  background-size: cover;
  background-position: 92% 42%;
  background-repeat: no-repeat;
}

.poem-backdrop__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(246, 243, 238, 0.97) 0%,
    rgba(246, 243, 238, 0.9) 34%,
    rgba(246, 243, 238, 0.45) 52%,
    rgba(246, 243, 238, 0.12) 68%,
    transparent 100%
  );
}

.poem-backdrop__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding: 2rem 1.5rem 2.25rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.75rem;
  min-height: min(52vh, 520px);
}

.poem-backdrop__text {
  flex: 1 1 18rem;
  max-width: 36rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.poem-backdrop__figure {
  flex: 0 1 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-left: auto;
}

.poem-backdrop__figure img {
  display: block;
  width: auto;
  max-width: min(42vw, 220px);
  height: auto;
  max-height: min(42vh, 360px);
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(28, 38, 31, 0.12));
}

.section-poem h2 {
  margin: 0 0 1rem;
  text-shadow: 0 1px 0 rgba(246, 243, 238, 0.9);
}

.poem {
  width: 100%;
  max-width: 36rem;
  margin: 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.25rem;
  box-shadow: 0 8px 28px rgba(28, 38, 31, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.poem pre {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.55;
  white-space: pre-wrap;
  color: var(--color-ink);
}

@media (max-width: 640px) {
  .poem-backdrop {
    background-position: 80% center;
    min-height: min(58vh, 560px);
  }

  .poem-backdrop__scrim {
    background: linear-gradient(
      165deg,
      rgba(246, 243, 238, 0.96) 0%,
      rgba(246, 243, 238, 0.78) 42%,
      rgba(246, 243, 238, 0.35) 62%,
      transparent 88%
    );
  }

  .poem-backdrop__inner {
    flex-direction: column;
    align-items: stretch;
    min-height: min(58vh, 560px);
    padding: 1.5rem 1.1rem 1.75rem;
  }

  .poem-backdrop__figure {
    margin-left: 0;
    order: 3;
    align-self: center;
  }

  .poem-backdrop__figure img {
    max-width: min(70vw, 200px);
    max-height: 200px;
  }
}

.landscape-band {
  margin: 0;
  min-height: 180px;
  background-image: var(--landscape-bg);
  background-size: cover;
  background-position: center;
  border-block: 1px solid rgba(28, 38, 31, 0.08);
}

.two-col {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 90, 69, 0.06);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  justify-items: center;
  align-items: center;
}

.brands-grid img {
  max-width: 100%;
  max-height: 6rem;
  width: auto;
  height: auto;
  display: block;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(28, 38, 31, 0.06);
  padding: 0.75rem;
  object-fit: contain;
}

.weather-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.weather-temp {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
}

.weather-code {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.weather-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.quip {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--color-accent-soft);
  font-size: 0.95rem;
}

.weather-section h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 1.25rem;
}

.weather-layout {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .weather-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.weather-card--data {
  display: flex;
  flex-direction: column;
}

.weather-source {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(28, 38, 31, 0.08);
  font-size: 0.82rem;
  color: var(--color-muted);
}

.weather-summary__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}

.weather-summary__body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-ink);
}

.map-embed-section h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 0.65rem;
}

.map-embed-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0 0 0.5rem;
  max-width: 62ch;
}

.map-embed-note {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-ink);
}

.map-embed-note--gps {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.map-embed-linkwrap {
  margin: 0 0 1.1rem;
}

.map-embed-fullmap {
  font-size: 0.9rem;
  font-weight: 600;
}

.map-embed-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 90, 69, 0.08);
  background: #e8ece9;
}

.map-embed-frame iframe {
  display: block;
  width: 100%;
  height: min(52vh, 440px);
  min-height: 280px;
  border: 0;
}

.site-footer {
  padding: 2rem 1.25rem 2.5rem;
  padding-bottom: max(2.5rem, calc(2.5rem + env(safe-area-inset-bottom)));
  border-top: 1px solid rgba(28, 38, 31, 0.08);
  background: var(--color-bg);
  color: var(--color-ink);
  font-size: 0.9rem;
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.75rem;
}

.site-footer__main {
  flex: 1 1 16rem;
  min-width: 0;
  text-align: center;
}

.site-footer__sketch {
  flex: 0 0 auto;
  margin-left: auto;
  line-height: 0;
}

.site-footer__sketch-img {
  display: block;
  height: 4.75rem;
  width: auto;
  max-width: 5.25rem;
  max-height: 5rem;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.92;
  filter: drop-shadow(0 1px 2px rgba(28, 38, 31, 0.1));
  image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 520px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: center;
  }

  .site-footer__sketch {
    margin-left: 0;
    order: 3;
  }

  .site-footer__sketch-img {
    height: 4rem;
    max-width: 4.5rem;
  }
}

.site-footer__copy {
  margin: 0 0 0.65rem;
  color: var(--color-ink);
  font-size: 0.92rem;
}

.site-footer__social {
  margin: 0;
}

.site-footer__social a {
  font-weight: 600;
  color: var(--color-river);
}

.site-footer__social a:hover {
  color: var(--color-accent);
}
