/* ============ Tokens ============ */
:root {
  --cream: #f7f1e6;
  --cream-2: #fbf8f1;
  --sage-bg: #b7c6b0;
  --sage: #a3b59d;
  --sage-soft: #d9e1d1;
  --green: #4d6a4f;
  --green-dark: #2f4632;
  --ink: #2a2a24;
  --ink-soft: #55574d;
  --accent: #e07a3f;
  --accent-dark: #c9662d;
  --line: #e4dccb;

  --radius-lg: clamp(22px, 3vw, 36px);
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(47, 70, 50, .12);

  --font: "Nunito", "Segoe UI", system-ui, sans-serif;
  --fs-h1: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem);
  --fs-h2: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem);
  --fs-body: clamp(.95rem, .9rem + .2vw, 1.05rem);

  --space-section: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  --container: 1200px;
  --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--sage-bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 800; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--green-dark); color: #fff; padding: .7rem 1.1rem; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 1rem; color: #fff; }

.page {
  max-width: 1440px;
  margin: clamp(0px, 1.5vw, 24px) auto;
  background: var(--cream);
  border-radius: clamp(0px, 2vw, 32px);
  overflow: hidden;
}
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.6rem;
  border-radius: 14px; border: 0;
  font: inherit; font-weight: 700; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: .55rem 1.3rem; font-size: .95rem; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 18px rgba(224, 122, 63, .3); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-cream { background: var(--cream-2); color: var(--green-dark); }
.btn-cream:hover { background: #fff; color: var(--green-dark); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.site-nav .btn-accent { border-radius: 999px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { background: rgba(247, 241, 230, .95); box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 80px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: #fff; flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.3rem; font-weight: 800; }
.brand-sub { font-size: .85rem; color: var(--ink-soft); }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); }
.nav-list { display: flex; gap: clamp(1rem, 3vw, 3rem); }
.nav-list a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .97rem; padding: .4rem 0; }
.nav-list a:hover { color: var(--green); text-decoration: underline; }

.nav-toggle { display: none; }

/* ============ Hero ============ */
.hero { position: relative; padding-bottom: clamp(3rem, 6vw, 6rem); margin-top: -80px; padding-top: 80px; }
.hero::before {
  content: ""; position: absolute; z-index: 0;
  top: 0; right: 0; width: 46%; height: 88%;
  background: var(--sage-soft);
  border-bottom-left-radius: 55% 40%;
  border-top-left-radius: 30% 12%;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-top: clamp(1rem, 3vw, 2.5rem);
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6rem; }
.hero-copy h1 { font-size: var(--fs-h1); font-weight: 900; letter-spacing: -.01em; max-width: 13ch; }
.hero-lead { color: var(--ink-soft); max-width: 36ch; font-size: 1.05rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; margin-top: 1.5rem; }
.hero-points li { display: flex; align-items: center; gap: .6rem; font-size: .8rem; line-height: 1.3; color: var(--ink-soft); }
.icon-circle {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sage-soft); color: var(--green); flex: none;
}
.icon-circle svg { width: 20px; height: 20px; }
.hero-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 6 / 5; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-wave { position: absolute; left: 0; bottom: 0; width: 100%; height: clamp(50px, 8vw, 110px); fill: var(--sage-soft); stroke: none; opacity: .75; }

/* ============ Features ============ */
.features { padding-block: clamp(1rem, 2vw, 2rem) var(--space-section); }
.features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.feature { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.feature-icon { width: 36px; height: 36px; color: var(--green); }
.feature-title { font-size: 1.05rem; font-weight: 800; }
.feature p { font-size: .88rem; color: var(--ink-soft); max-width: 26ch; }

/* ============ Sections ============ */
.section { padding-block: 0 var(--space-section); }
.section-tight { padding-bottom: calc(var(--space-section) * .9); }
.section-head { display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.section-head .divider-title { margin-bottom: 0; }
.section-sub { text-align: center; color: var(--ink-soft); }
.note { margin-top: 1rem; font-size: .85rem; color: var(--ink-soft); text-align: center; }
.price { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
[data-placeholder] { }

.divider-title {
  display: flex; align-items: center; gap: 1rem;
  font-size: var(--fs-h2); text-align: center; margin-bottom: 1.6rem;
}
.divider-title::before, .divider-title::after {
  content: ""; flex: 1; height: 1px; background: var(--ink-soft); opacity: .45;
}
.divider-title span { display: inline-flex; align-items: center; gap: .9rem; }
.divider-title span::before, .divider-title span::after {
  content: ""; width: 7px; height: 7px; background: var(--green); transform: rotate(45deg); border-radius: 1px; flex: none;
}

/* ============ Drinks panel ============ */
.drinks-panel {
  display: grid; grid-template-columns: minmax(220px, .9fr) minmax(0, 3fr);
  gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center;
  background: var(--sage); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.75rem); box-shadow: var(--shadow);
}
.drinks-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.drinks-intro h2 { font-size: var(--fs-h2); color: var(--green-dark); }
.drinks-intro p { color: var(--green-dark); font-size: .95rem; max-width: 28ch; margin-bottom: .75rem; }
.drinks-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.drink { text-align: center; padding: .5rem clamp(.75rem, 2vw, 1.5rem); display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.drink + .drink { border-left: 1px solid rgba(47, 70, 50, .25); }
.drink-plate {
  width: min(100%, 150px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 8px solid rgba(255,255,255,.35); box-shadow: 0 8px 20px rgba(47,70,50,.2); margin-bottom: .9rem;
}
.drink-plate img { width: 100%; height: 100%; object-fit: cover; }
.drink h3 { font-size: 1.05rem; color: var(--green-dark); }
.drink p { font-size: .85rem; color: var(--green-dark); }
.drink .price { font-size: 1.1rem; margin-top: .25rem; }

/* ============ Pastries ============ */
.pastry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.pastry-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: stretch;
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: .75rem; transition: box-shadow .2s, transform .2s;
}
.pastry-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pastry-card img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.pastry-body { display: flex; flex-direction: column; gap: .35rem; padding: .5rem .25rem; }
.pastry-body h3 { font-size: 1.1rem; }
.pastry-body p { font-size: .85rem; color: var(--ink-soft); }
.pastry-body .price { margin-top: auto; color: var(--ink); font-size: 1.05rem; }

/* ============ About ============ */
.about-panel {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas: "copy media" "points media";
  column-gap: clamp(1.5rem, 3vw, 2.5rem); row-gap: 1.5rem;
  background: var(--sage-soft); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.about-copy { grid-area: copy; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.75rem) 0 0 clamp(1.5rem, 3vw, 2.75rem); }
.about-copy h2 { font-size: var(--fs-h2); }
.about-copy p { color: var(--ink-soft); max-width: 44ch; }
.about-copy .btn { margin-top: .5rem; }
.about-points { grid-area: points; display: flex; flex-wrap: wrap; gap: 1rem 2rem; padding: 0 0 clamp(1.5rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 2.75rem); }
.about-points li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; font-size: .8rem; line-height: 1.3; color: var(--ink-soft); }
.about-points svg { width: 34px; height: 34px; color: var(--green); }
.about-media { grid-area: media; min-height: 300px; border-top-left-radius: 120px 50%; overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }

/* ============ Gallery ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 1.5vw, 1rem); }
.gallery-grid li:first-child { grid-row: span 2; }
.gallery-item {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius-md); overflow: hidden; background: var(--sage-soft);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .4s; }
.gallery-grid li:first-child .gallery-item img { aspect-ratio: auto; }
.gallery-item:hover img { transform: scale(1.04); }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); width: 100%; overflow: visible;
}
.lightbox::backdrop { background: rgba(20, 28, 21, .82); }
.lightbox img { width: 100%; height: auto; max-height: 85vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox-close {
  position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--cream); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
}

/* ============ Visit ============ */
.visit-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .8fr);
  gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center;
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow);
}
.visit-info, .visit-social { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.visit-social { padding-left: clamp(1.5rem, 3vw, 2.5rem); border-left: 1px solid var(--line); }
.visit-card h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); }
.visit-social p { color: var(--ink-soft); font-size: .95rem; }
.contact-list { display: grid; gap: .8rem; font-size: .92rem; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; align-items: start; }
.contact-list svg { width: 22px; height: 22px; color: var(--green); margin-top: 1px; }
.contact-list address { font-style: normal; }
.contact-list a { color: var(--ink); font-weight: 700; }
.hours { margin: 0; display: grid; gap: .15rem; }
.hours div { display: flex; gap: .75rem; }
.hours dt { min-width: 3.5em; color: var(--ink-soft); }
.hours dd { margin: 0; }
.social-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-social {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .6rem 1.2rem;
  border-radius: 14px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; transition: background-color .2s;
}
.btn-social:hover { background: var(--accent-dark); color: #fff; }
.btn-social svg { width: 20px; height: 20px; }
.visit-media { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; }
.visit-media img { width: 100%; height: 100%; object-fit: cover; }

/* ============ Footer ============ */
.site-footer { padding-block: 1.5rem 2rem; font-size: .88rem; color: var(--ink-soft); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--green);
}
.footer-social a:hover { background: var(--sage-soft); }
.footer-social svg { width: 22px; height: 22px; }
.site-footer a { color: var(--ink-soft); }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .visit-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .visit-media { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
  .pastry-card { grid-template-columns: 1fr; }
  .pastry-card img { aspect-ratio: 4 / 3; height: auto; }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
    border: 0; background: var(--green); color: #fff; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, opacity .25s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: absolute; top: 100%; left: var(--gutter); right: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--cream-2); border-radius: var(--radius-md); padding: 1.25rem; box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .no-js .site-nav { display: flex; position: static; box-shadow: none; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: .8rem .25rem; border-bottom: 1px solid var(--line); }
  .site-header { background: rgba(247, 241, 230, .95); }

  .hero::before { width: 100%; height: 55%; top: auto; bottom: 0; border-radius: 50% 50% 0 0 / 18% 18% 0 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 16ch; }

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

  .drinks-panel { grid-template-columns: 1fr; }
  .drinks-intro p { max-width: 50ch; }
  .drinks-intro { order: 0; }

  .pastry-grid { grid-template-columns: 1fr; }
  .pastry-card { grid-template-columns: minmax(110px, 160px) minmax(0, 1fr); }
  .pastry-card img { aspect-ratio: 1; height: 100%; }

  .about-panel { grid-template-columns: 1fr; grid-template-areas: "media" "copy" "points"; }
  .about-copy { padding: 0 clamp(1.25rem, 4vw, 2rem); }
  .about-points { padding: 0 clamp(1.25rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2rem); }
  .about-media { min-height: 0; aspect-ratio: 16 / 9; border-radius: 0 0 50% 50% / 0 0 12% 12%; }

  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid li:first-child { grid-row: auto; grid-column: 1 / -1; }
  .gallery-grid li:first-child .gallery-item img { aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  .visit-card { grid-template-columns: 1fr; }
  .visit-social { padding-left: 0; border-left: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
  .visit-media { aspect-ratio: 4 / 3; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .drinks-list { grid-template-columns: 1fr; }
  .drink { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto auto; column-gap: 1rem; text-align: left; align-items: center; justify-items: start; padding: .9rem 0; }
  .drink + .drink { border-left: 0; border-top: 1px solid rgba(47, 70, 50, .25); }
  .drink-plate { grid-row: 1 / 4; width: 96px; margin: 0; border-width: 5px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid li:first-child { grid-column: auto; }
  .gallery-grid li:first-child .gallery-item img { aspect-ratio: 4 / 3; }
  .pastry-card { grid-template-columns: 100px minmax(0, 1fr); }
  .brand-name { font-size: 1.1rem; }
  .brand-mark { width: 40px; height: 40px; }
  .divider-title::before, .divider-title::after { display: none; }
  .divider-title { justify-content: center; }
  .social-buttons, .btn-social { width: 100%; }
  .btn-social { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-points { gap: .8rem; }
  .pastry-card { grid-template-columns: 1fr; }
  .pastry-card img { aspect-ratio: 4 / 3; height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
