:root {
  color-scheme: light;
  --bg: #f7f1e6;
  --bg-alt: #efe4d4;
  --panel: rgba(255, 250, 243, 0.82);
  --panel-strong: #f6ecdc;
  --text: #2f2418;
  --muted: #6f5a47;
  --wood: #8a6445;
  --wood-deep: #5e422c;
  --line: rgba(94, 66, 44, 0.16);
  --accent: #b17b52;
  --shadow: 0 24px 60px rgba(94, 66, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(177, 123, 82, 0.14), transparent 34%),
    radial-gradient(circle at bottom right, rgba(138, 100, 69, 0.12), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, #f4eadb 100%);
  color: var(--text);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(94, 66, 44, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(94, 66, 44, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 95%);
}

.background-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
  opacity: 0.5;
}

.background-orb-a {
  width: 24rem;
  height: 24rem;
  right: -8rem;
  top: -7rem;
  background: radial-gradient(circle, rgba(177, 123, 82, 0.24), transparent 68%);
}

.background-orb-b {
  width: 18rem;
  height: 18rem;
  left: -6rem;
  bottom: -5rem;
  background: radial-gradient(circle, rgba(138, 100, 69, 0.18), transparent 70%);
}

.site-header,
.hero,
.story-grid,
.menu-grid,
#gallery,
.shop-panel,
.visit-grid,
.site-footer {
  width: min(1120px, calc(100% - 4rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  height: 4.4rem;
  width: auto;
  display: block;
}

.brand-mark,
.brand-text {
  font-family: "DM Serif Display", Georgia, serif;
  letter-spacing: 0.04em;
}

.brand-mark {
  font-size: 1.35rem;
  color: var(--wood-deep);
}

.brand-text {
  font-size: 1.1rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--wood-deep);
}

.language-switch {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--line);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  font: inherit;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--wood-deep);
  color: #fff6eb;
}

.section {
  padding: 2rem 0;
}

.gallery-intro,
.photo-license {
  max-width: 66ch;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
  padding-top: 3rem;
}

.hero-copy,
.hero-card,
.story-cards article,
.menu-item,
.visit-card,
.shop-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy {
  padding: clamp(1.4rem, 3vw, 3rem);
  border-radius: 2rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

.lede,
.visit-card p,
.shop-panel p,
.story-cards p,
.menu-item span:last-child,
.card-text,
.site-footer p {
  color: var(--muted);
}

.lede {
  max-width: 56ch;
  margin: 1.2rem 0 0;
  font-size: 1.05rem;
}

.hero-actions,
.shop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--wood-deep);
  color: #fff6eb;
  box-shadow: 0 16px 28px rgba(94, 66, 44, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #4c3523;
}

.button-secondary {
  background: rgba(255, 250, 243, 0.85);
  color: var(--wood-deep);
  border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--panel-strong);
}

.button-cta {
  background: var(--accent);
  color: #fff6eb;
  box-shadow: 0 16px 28px rgba(177, 123, 82, 0.26);
}

.button-cta:hover,
.button-cta:focus-visible {
  background: #9a6643;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
}

.hero-metrics div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.hero-metrics dt {
  color: var(--wood);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
}

.hero-metrics dd {
  margin: 0;
  font-weight: 700;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: 2rem;
}

.card-label {
  margin: 0 0 1rem;
  color: var(--wood);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
}

.card-visual {
  position: relative;
  min-height: 22rem;
  border-radius: 1.7rem;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.18) 30%, transparent 52%),
    linear-gradient(180deg, #f9f0df 0%, #e9d3b9 100%);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}

.cup {
  width: 10rem;
  height: 6.6rem;
  border-radius: 0 0 4rem 4rem;
  background: linear-gradient(180deg, #fdf9f3, #e8d3bc);
  border: 0.45rem solid rgba(94, 66, 44, 0.22);
  border-top: 0;
  position: relative;
  box-shadow: inset 0 -1rem 1.6rem rgba(177, 123, 82, 0.16);
}

.cup::before {
  content: "";
  position: absolute;
  width: 4rem;
  height: 2.4rem;
  border: 0.45rem solid rgba(94, 66, 44, 0.22);
  border-left: 0;
  border-radius: 0 1.6rem 1.6rem 0;
  right: -3.1rem;
  top: 1.1rem;
}

.cup::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: -0.15rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(94, 66, 44, 0.12);
}

.steam {
  position: absolute;
  bottom: 63%;
  width: 0.35rem;
  height: 4.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(177, 123, 82, 0.4), transparent);
  animation: float 4.5s ease-in-out infinite;
}

.steam-one {
  left: 42%;
}

.steam-two {
  left: 50%;
  animation-delay: 0.8s;
}

.steam-three {
  left: 58%;
  animation-delay: 1.5s;
}

.hero-card h2 {
  font-size: 1.8rem;
  margin-bottom: 0.7rem;
}

.story-grid,
.menu-grid,
.visit-grid {
  display: grid;
  gap: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.photo-card {
  margin: 0;
  border-radius: 1.2rem;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  grid-column: span 4;
}

.photo-card.tall {
  grid-row: span 2;
}

.photo-card.wide {
  grid-column: span 8;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 16rem;
  max-height: 25rem;
  object-fit: cover;
}

.photo-card figcaption {
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.9);
}

.photo-license {
  margin-top: 1rem;
  font-size: 0.86rem;
}

.story-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.section-heading {
  padding: 1rem 0;
}

.story-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.story-cards article,
.menu-item,
.visit-card {
  border-radius: 1.5rem;
  padding: 1.4rem;
}

.menu-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
}

.menu-list {
  display: grid;
  gap: 0.8rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.menu-item span:first-child {
  font-weight: 700;
}

.shop-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  border-radius: 2rem;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.visit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visit-card.accent {
  background: linear-gradient(180deg, rgba(138, 100, 69, 0.16), rgba(255, 250, 243, 0.84));
}

.visit-address {
  font-style: normal;
  color: var(--wood);
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0.6rem 0 1rem;
  padding: 0.5rem 0.8rem;
  border-left: 3px solid var(--accent);
  background: rgba(177, 123, 82, 0.07);
  border-radius: 0 0.5rem 0.5rem 0;
}

.map-container {
  grid-column: 1 / -1;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  height: 320px;
}

.map-embed {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: sepia(0.18) contrast(1.05);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 0 3rem;
}

.site-footer p {
  margin: 0;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scaleY(0.95);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-0.7rem) scaleY(1.08);
    opacity: 0.8;
  }
}

@media (max-width: 960px) {
  .brand-logo {
    height: 3.6rem;
  }

  .site-header,
  .shop-panel,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .story-grid,
  .menu-grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-card,
  .photo-card.wide {
    grid-column: auto;
  }

  .photo-card.tall {
    grid-row: auto;
  }

  .hero-metrics,
  .story-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .story-grid,
  .menu-grid,
  #gallery,
  .shop-panel,
  .visit-grid,
  .site-footer {
    width: min(100% - 2.5rem, 1120px);
  }

  .brand-logo {
    height: 3rem;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 0.8rem 1rem;
  }

  .menu-item {
    flex-direction: column;
    gap: 0.2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.3rem, 13vw, 4rem);
  }
}
