/* ==========================================================================
   COFFEE GARDEN (Kraków, ul. Józefa 11) — L-45 "The Greenhouse"
   Exact color tokens, local typography, greenhouse motion (no reduced-motion kill block).
   ========================================================================== */

:root {
  --leaf-deep: #2E4B2F;
  --leaf: #4C6B43;
  --moss: #7A8B6F;
  --terracotta: #C67B4E;
  --cream: #F7F3EA;
  --paper: #FCFAF4;
  --ink: #26231E;
  --gold: #D9A441;

  /* Supporting warm timber tone for plant shelf rails */
  --timber: #9E744D;
  --timber-soft: rgba(158, 116, 77, 0.35);
  --ink-muted: #575247;
  --cream-muted: rgba(247, 243, 234, 0.8);
  --shadow-soft: 0 6px 20px rgba(38, 35, 30, 0.08);
  --shadow-lift: 0 14px 30px rgba(38, 35, 30, 0.15);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Karla', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  --radius: 2px;
  --container: 1220px;
  --header-offset: 102px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background-color: var(--cream);
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4, p, figure, blockquote, ul, dl {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* --------------------------------------------------------------------------
   M0: Preview Layer — Full-page diagonal watermark (4.5%) + Top Bar + Nav
   -------------------------------------------------------------------------- */
.preview-watermark {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 900;
  opacity: 0.045;
}

.watermark-text {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  fill: var(--ink);
}

.watermark-sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
}

.preview-bar {
  background-color: var(--leaf-deep);
  color: var(--cream);
  border-bottom: 1px solid rgba(247, 243, 234, 0.16);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.preview-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 6px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.preview-copy {
  color: var(--cream);
  line-height: 1.35;
  text-align: center;
}

.preview-copy strong {
  color: var(--paper);
  font-weight: 600;
}

.preview-sep {
  margin: 0 6px;
  color: var(--terracotta);
}

.site-nav {
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.site-nav.is-scrolled {
  background-color: var(--cream);
  border-bottom-color: var(--leaf);
  box-shadow: 0 4px 18px rgba(38, 35, 30, 0.08);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-leaf {
  width: 16px;
  height: 10px;
  background-color: var(--leaf-deep);
  border-radius: 0 85% 0 85%;
  transform: rotate(-18deg);
  display: inline-block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 200ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background-color: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.nav-links a:hover {
  color: var(--leaf-deep);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  background-color: var(--paper);
  border: 1px solid var(--leaf);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.hours-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--terracotta);
  flex-shrink: 0;
}

.hours-badge.is-open .hours-dot {
  background-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(76, 107, 67, 0.22);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--leaf);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--ink);
}

/* --------------------------------------------------------------------------
   Shared UI Primitives: Buttons, Tags, Stars, Section Headers
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, color 200ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn-primary {
  background-color: var(--leaf-deep);
  color: var(--cream);
  border: 1.5px solid var(--leaf-deep);
}

.btn-primary:hover {
  background-color: var(--leaf);
  border-color: var(--leaf);
}

.btn-outline {
  background-color: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-outline:hover {
  background-color: var(--paper);
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--terracotta);
  display: inline-block;
  flex-shrink: 0;
}

.stars-row {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.star-svg {
  width: 15px;
  height: 15px;
  fill: var(--gold);
  display: inline-block;
  flex-shrink: 0;
}

.stars-lg .star-svg {
  width: 19px;
  height: 19px;
}

.star-xs {
  width: 12px;
  height: 12px;
}

.section {
  padding: 76px 0;
  position: relative;
  scroll-margin-top: 98px;
}

.section-header {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 16px;
}

.title-en {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--moss);
  margin-top: 6px;
}

.section-lead {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.6;
}

.lead-en {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  color: var(--ink-muted);
}

.section-header-light .section-kicker {
  color: var(--gold);
}

.section-header-light .section-title {
  color: var(--cream);
}

.section-header-light .title-en {
  color: rgba(247, 243, 234, 0.78);
}

.section-header-light .section-lead {
  color: var(--cream);
}

.section-header-light .lead-en {
  color: var(--cream-muted);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.card-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--leaf);
}

.h-en {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.78em;
  color: var(--moss);
}

.copy-en {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   M1: Hero "The Greenhouse" — Hanging Plant Wall + Sunlight Beam
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--header-offset) + 46px) 0 68px;
  background:
    radial-gradient(circle at 12% 18%, rgba(76, 107, 67, 0.12), transparent 46%),
    radial-gradient(circle at 86% 12%, rgba(217, 164, 65, 0.1), transparent 38%),
    var(--cream);
  overflow: hidden;
}

/* Sunlight through leaves: drifting warm shaft across upper hero (14s linear infinite) */
.hero-sunbeam {
  position: absolute;
  top: 0;
  left: -35%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    112deg,
    transparent 0%,
    rgba(217, 164, 65, 0.05) 30%,
    rgba(252, 250, 244, 0.42) 50%,
    rgba(217, 164, 65, 0.07) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
  animation: sunDrift 14s linear infinite;
}

@keyframes sunDrift {
  0% {
    transform: translateX(-25%);
  }
  100% {
    transform: translateX(265%);
  }
}

/* Timber ceiling rail holding the hanging botanical wall */
.canopy-rail {
  position: absolute;
  top: 88px;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--leaf-deep) 0%, var(--timber) 30%, var(--timber) 70%, var(--leaf-deep) 100%);
  opacity: 0.85;
  z-index: 3;
  pointer-events: none;
}

/* Hanging botanical vines (pure CSS rounded ovals on fine threads, ±2deg 6s stagger) */
.hanging-wall {
  position: absolute;
  top: 92px;
  left: 0;
  right: 0;
  height: 270px;
  pointer-events: none;
  z-index: 3;
}

.vine {
  position: absolute;
  top: 0;
  width: 56px;
  transform-origin: top center;
  animation: leafSway 6s ease-in-out infinite;
}

.vine-cord {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 100%;
  background: linear-gradient(180deg, var(--leaf-deep), var(--moss));
  transform: translateX(-50%);
}

.leaf {
  position: absolute;
  display: block;
  background-color: var(--leaf);
  box-shadow: inset -2px -2px 0 rgba(38, 35, 30, 0.14);
}

.leaf-deep {
  background-color: var(--leaf-deep);
}

.leaf-moss {
  background-color: var(--moss);
}

.leaf-lg {
  width: 28px;
  height: 15px;
}

.leaf-md {
  width: 22px;
  height: 12px;
}

.leaf-sm {
  width: 16px;
  height: 9px;
}

.leaf-left {
  right: 50%;
  border-radius: 85% 0 85% 0;
  transform: rotate(20deg);
}

.leaf-right {
  left: 50%;
  border-radius: 0 85% 0 85%;
  transform: rotate(-20deg);
}

.leaf-tip {
  left: 50%;
  bottom: -6px;
  border-radius: 0 85% 50% 85%;
  transform: translateX(-50%) rotate(45deg);
}

/* Individual vine placements, heights, leaf intervals, staggered sway delays */
.vine-1 { left: 2.5%; height: 215px; animation-delay: 0s; }
.vine-1 .leaf:nth-child(2) { top: 24px; }
.vine-1 .leaf:nth-child(3) { top: 68px; }
.vine-1 .leaf:nth-child(4) { top: 116px; }
.vine-1 .leaf:nth-child(5) { top: 160px; }

.vine-2 { left: 11%; height: 150px; animation-delay: -1.1s; }
.vine-2 .leaf:nth-child(2) { top: 22px; }
.vine-2 .leaf:nth-child(3) { top: 66px; }
.vine-2 .leaf:nth-child(4) { top: 108px; }

.vine-3 { left: 22%; height: 105px; animation-delay: -2.4s; }
.vine-3 .leaf:nth-child(2) { top: 22px; }
.vine-3 .leaf:nth-child(3) { top: 58px; }

.vine-4 { left: 36%; height: 92px; animation-delay: -3.6s; }
.vine-4 .leaf:nth-child(2) { top: 18px; }
.vine-4 .leaf:nth-child(3) { top: 50px; }

.vine-5 { left: 50%; height: 168px; animation-delay: -0.7s; }
.vine-5 .leaf:nth-child(2) { top: 20px; }
.vine-5 .leaf:nth-child(3) { top: 58px; }
.vine-5 .leaf:nth-child(4) { top: 96px; }
.vine-5 .leaf:nth-child(5) { top: 128px; }

.vine-6 { left: 64%; height: 104px; animation-delay: -4.2s; }
.vine-6 .leaf:nth-child(2) { top: 22px; }
.vine-6 .leaf:nth-child(3) { top: 60px; }

.vine-7 { left: 82%; height: 190px; animation-delay: -1.9s; }
.vine-7 .leaf:nth-child(2) { top: 24px; }
.vine-7 .leaf:nth-child(3) { top: 66px; }
.vine-7 .leaf:nth-child(4) { top: 108px; }
.vine-7 .leaf:nth-child(5) { top: 148px; }

.vine-8 { left: 93.5%; height: 155px; animation-delay: -3.1s; }
.vine-8 .leaf:nth-child(2) { top: 24px; }
.vine-8 .leaf:nth-child(3) { top: 68px; }
.vine-8 .leaf:nth-child(4) { top: 112px; }

@keyframes leafSway {
  0%, 100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

.hero-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 52px;
  align-items: center;
  padding-top: 38px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  background-color: var(--paper);
  border: 1px solid var(--leaf);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--leaf-deep);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(50px, 6.2vw, 86px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}

.hero-tagline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.tagline-pl {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  color: var(--leaf-deep);
}

.tagline-en {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}

.hero-statement {
  padding: 16px 20px;
  background-color: var(--paper);
  border-left: 3px solid var(--leaf-deep);
  border-top: 1px solid rgba(76, 107, 67, 0.25);
  border-right: 1px solid rgba(76, 107, 67, 0.25);
  border-bottom: 1px solid rgba(76, 107, 67, 0.25);
  border-radius: var(--radius);
  margin-bottom: 28px;
  box-shadow: var(--shadow-soft);
}

.statement-pl {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.48;
  color: var(--ink);
  margin-bottom: 8px;
}

.statement-en {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(76, 107, 67, 0.28);
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
}

.hero-rating strong {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink);
}

.meta-muted {
  color: var(--ink-muted);
  font-size: 14px;
}

.hero-hours-line {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--leaf-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dot-sep {
  color: var(--terracotta);
  font-weight: 600;
}

/* Hero greenhouse photo frame (portrait 3:4 matching 900x1200 natural ratio) */
.hero-visual {
  max-width: 540px;
  justify-self: end;
  width: 100%;
}

.greenhouse-frame {
  position: relative;
  border: 2px solid var(--leaf-deep);
  border-radius: var(--radius);
  padding: 10px;
  background-color: var(--paper);
  box-shadow: 0 20px 44px rgba(46, 75, 47, 0.16);
}

.greenhouse-frame::before {
  content: "";
  position: absolute;
  inset: -7px 14px auto 14px;
  height: 5px;
  background-color: var(--timber);
  border-radius: 1px;
}

.greenhouse-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 1px;
}

.frame-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background-color: rgba(252, 250, 244, 0.94);
  border: 1px solid var(--leaf);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.hero-caption {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--ink-muted);
}

.caption-en {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--moss);
}

/* --------------------------------------------------------------------------
   Full-page Botanical Marquee (24s linear infinite)
   -------------------------------------------------------------------------- */
.marquee-strip {
  background-color: var(--leaf-deep);
  color: var(--cream);
  border-top: 2px solid var(--timber);
  border-bottom: 2px solid var(--timber);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 24s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.m-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--terracotta);
  display: inline-block;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Greenhouse Plant Shelf Dividers (scroll-driven illumination opacity)
   -------------------------------------------------------------------------- */
.shelf-divider {
  --shelf-progress: 0.28;
  padding: 16px 0;
  background-color: var(--cream);
}

.shelf-divider-to-dark {
  background: linear-gradient(180deg, var(--cream) 50%, var(--leaf-deep) 50%);
}

.shelf-divider-from-dark {
  background: linear-gradient(180deg, var(--leaf-deep) 50%, var(--cream) 50%);
}

.shelf-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.shelf-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--leaf-deep);
  background-color: var(--cream);
  padding: 3px 10px;
  border: 1px solid var(--timber);
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: calc(0.45 + var(--shelf-progress) * 0.55);
  transition: opacity 220ms linear;
}

.shelf-rail {
  flex: 1;
  height: 4px;
  background-color: var(--timber-soft);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.shelf-glow {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--leaf-deep), var(--terracotta), var(--leaf));
  opacity: var(--shelf-progress);
  transform: scaleX(var(--shelf-progress));
  transform-origin: left center;
  transition: opacity 200ms linear, transform 200ms linear;
}

.shelf-leaf {
  width: 22px;
  height: 12px;
  background-color: var(--leaf);
  border-radius: 0 85% 0 85%;
  transform: rotate(-16deg);
  flex-shrink: 0;
  opacity: calc(0.4 + var(--shelf-progress) * 0.6);
}

/* --------------------------------------------------------------------------
   Potted-Plant Scroll Entrance Animation (M2–M3–M5–M6: 24px -> 0, 500ms, 90ms stagger)
   -------------------------------------------------------------------------- */
.reveal-pot {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
  transition-delay: calc(var(--stagger-index, 0) * 90ms);
}

.reveal-pot.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   M2: Trio Section — Kawa • Rośliny • Makramy
   -------------------------------------------------------------------------- */
.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.trio-card {
  background-color: var(--paper);
  border: 1px solid rgba(76, 107, 67, 0.35);
  border-top: 4px solid var(--timber);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.trio-card.is-visible {
  transition: transform 200ms ease, box-shadow 200ms ease;
  transition-delay: 0ms;
}

.trio-card.is-visible:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.trio-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background-color: var(--leaf-deep);
}

.trio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 400ms ease;
}

/* Crop real photo 07 directly onto the interior handmade macramé wall hangings */
.trio-media-macrame img {
  object-position: 36% 27%;
  transform: scale(1.62);
  transform-origin: 36% 27%;
}

.trio-card:hover .trio-media img {
  transform: scale(1.03);
}

.trio-card:hover .trio-media-macrame img {
  transform: scale(1.68);
}

.media-index {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 9px;
  background-color: rgba(46, 75, 47, 0.9);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  border-radius: var(--radius);
}

.trio-body {
  padding: 22px 22px 24px;
  flex: 1;
}

.trio-body h3 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   M3: Signatures — Homemade Cheesecake & Peruvian V60
   -------------------------------------------------------------------------- */
.signatures-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: start;
}

.sig-feature,
.sig-card {
  background-color: var(--paper);
  border: 1px solid rgba(76, 107, 67, 0.35);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.sig-feature.is-visible,
.sig-card.is-visible {
  transition: transform 200ms ease, box-shadow 200ms ease;
  transition-delay: 0ms;
}

.sig-feature.is-visible:hover,
.sig-card.is-visible:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.sig-photo {
  overflow: hidden;
  background-color: var(--leaf-deep);
}

.sig-photo-main {
  max-width: 640px;
}

.sig-photo-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 52%;
}

.sig-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sig-photo-breakfast {
  max-width: 640px;
}

.sig-photo-breakfast img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 22% 72%;
}

.sig-card-interior {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
}

.sig-photo-interior {
  max-width: 520px;
}

.sig-photo-interior img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center 55%;
}

.sig-copy {
  padding: 24px;
}

.sig-copy h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 10px;
}

.sig-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.botanical-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--leaf-deep);
  background-color: var(--cream);
  border: 1px solid var(--leaf);
  border-radius: var(--radius);
  padding: 4px 10px;
}

/* --------------------------------------------------------------------------
   M4: Botanical Tag Menu on Deep Leaf Field (#2E4B2F)
   -------------------------------------------------------------------------- */
.menu-section {
  background-color: var(--leaf-deep);
  color: var(--cream);
  padding: 86px 0;
}

.menu-group {
  margin-bottom: 58px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(247, 243, 234, 0.18);
}

.menu-group-last {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.menu-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.group-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 6px;
}

.group-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--cream);
}

.group-en {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.72em;
  color: rgba(247, 243, 234, 0.78);
}

.group-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cream-muted);
}

.breakfast-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background-color: rgba(252, 250, 244, 0.11);
  border: 1px solid rgba(252, 250, 244, 0.3);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--paper);
}

.drinks-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
  gap: 24px;
  align-items: start;
}

.tag-grid {
  display: grid;
  gap: 18px;
}

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

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

.tag-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Kraft/Paper Botanical Plant Tag: paper surface, 1px leaf stroke, terracotta hole dot, 2deg hover sway */
.plant-tag {
  position: relative;
  background-color: var(--paper);
  color: var(--ink);
  border: 1px solid var(--leaf);
  border-radius: var(--radius);
  padding: 18px 20px 20px;
  box-shadow: 0 8px 20px rgba(15, 28, 16, 0.22);
  transform-origin: 18px 18px;
  transition: transform 300ms ease, box-shadow 200ms ease;
}

.plant-tag::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 14px;
  height: 8px;
  background-color: rgba(76, 107, 67, 0.2);
  border-radius: 0 85% 0 85%;
  transform: rotate(-18deg);
  pointer-events: none;
}

.plant-tag:hover {
  transform: rotate(-2deg) translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 28, 16, 0.34);
}

.plant-tag:nth-child(even):hover {
  transform: rotate(2deg) translateY(-2px);
}

.tag-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(76, 107, 67, 0.35);
}

.tag-code {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--leaf);
}

.tag-price {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--leaf-deep);
  background-color: var(--cream);
  padding: 2px 8px;
  border: 1px solid rgba(76, 107, 67, 0.4);
  border-radius: var(--radius);
  white-space: nowrap;
}

.tag-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.24;
  color: var(--ink);
  margin-bottom: 5px;
}

.tag-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--moss);
}

.tag-desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.tag-addon {
  margin-top: 8px;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--terracotta);
}

.menu-side-photo {
  max-width: 390px;
  justify-self: end;
  width: 100%;
  background-color: var(--paper);
  padding: 8px;
  border: 1px solid var(--leaf);
  border-radius: var(--radius);
}

.menu-side-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}

.menu-side-photo figcaption {
  padding: 10px 6px 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.menu-footnote {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cream-muted);
  line-height: 1.55;
}

.footnote-en {
  display: block;
  margin-top: 4px;
  opacity: 0.82;
}

.menu-subblock {
  margin-top: 38px;
}

.subblock-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.subblock-head h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--cream);
}

.menu-photo-strip {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.strip-photo {
  background-color: var(--paper);
  padding: 8px;
  border: 1px solid var(--leaf);
  border-radius: var(--radius);
  max-width: 520px;
}

.strip-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.strip-photo figcaption {
  padding: 9px 4px 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   M5: Greenhouse Notes (Google 4.7/1,166 + 2 Verbatim Quotes Only)
   -------------------------------------------------------------------------- */
.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.rating-card,
.note-card {
  background-color: var(--paper);
  border: 1px solid rgba(76, 107, 67, 0.4);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.rating-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 14px 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(76, 107, 67, 0.22);
}

.rating-score {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--leaf-deep);
}

.rating-count {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-muted);
}

.rating-count strong {
  color: var(--ink);
}

.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bar-row {
  display: grid;
  grid-template-columns: 36px 1fr 44px;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.bar-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
  font-weight: 600;
}

.bar-track {
  height: 9px;
  background-color: var(--cream);
  border: 1px solid rgba(76, 107, 67, 0.25);
  border-radius: 1px;
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  background-color: var(--leaf-deep);
}

.bar-val {
  text-align: right;
  color: var(--ink-muted);
}

.notes-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.note-card {
  border-left: 4px solid var(--leaf-deep);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.note-card.is-visible {
  animation: noteFloat 7.5s ease-in-out infinite;
}

.note-card-owner {
  border-left-color: var(--terracotta);
}

.note-card-owner.is-visible {
  animation-delay: -3.2s;
}

@keyframes noteFloat {
  0%, 100% {
    transform: rotate(-0.35deg) translateY(0);
  }
  50% {
    transform: rotate(0.35deg) translateY(-2px);
  }
}

.note-card:hover {
  box-shadow: var(--shadow-lift);
}

.note-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.42;
  color: var(--ink);
  margin-bottom: 10px;
}

.note-translation {
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.note-source {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--moss);
}

.community-strip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  background-color: var(--paper);
  border: 1px dashed var(--leaf);
  border-radius: var(--radius);
  font-size: 14px;
}

.community-strip .tag-dot {
  margin-top: 6px;
}

.community-en {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   M6: Visit Section — Address, Hours, Contact, Map
   -------------------------------------------------------------------------- */
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: stretch;
}

.visit-card {
  background-color: var(--paper);
  border: 1px solid rgba(76, 107, 67, 0.4);
  border-top: 4px solid var(--leaf-deep);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.visit-block {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(76, 107, 67, 0.2);
}

.visit-block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.visit-address {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.visit-district {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--terracotta);
}

.hours-badge-inline {
  margin-bottom: 14px;
}

.hours-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hours-table > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
}

.hours-table dt {
  color: var(--ink);
  font-weight: 500;
}

.dt-en {
  color: var(--ink-muted);
  font-weight: 400;
  font-size: 13px;
}

.hours-table dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--leaf-deep);
  white-space: nowrap;
}

.contact-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}

.contact-list a {
  font-weight: 500;
  color: var(--leaf-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-list a:hover {
  color: var(--terracotta);
}

.visit-practical {
  font-size: 14px;
  color: var(--ink);
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.map-block {
  background-color: var(--paper);
  border: 1px solid rgba(76, 107, 67, 0.4);
  border-top: 4px solid var(--timber);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.map-frame {
  flex: 1;
  min-height: 460px;
  border: 1px solid rgba(76, 107, 67, 0.3);
  border-radius: 1px;
  overflow: hidden;
  background-color: var(--cream);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  display: block;
}

.map-caption {
  padding: 12px 6px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
}

.map-text-link {
  color: var(--leaf-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-text-link:hover {
  color: var(--terracotta);
}

/* --------------------------------------------------------------------------
   M7: Footer "Greenhouse Nightfall" (leaf-deep field)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--leaf-deep);
  color: var(--cream);
  border-top: 4px solid var(--timber);
  padding: 64px 0 46px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr) minmax(0, 0.95fr);
  gap: 36px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(247, 243, 234, 0.2);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--paper);
  margin-bottom: 8px;
}

.footer-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: rgba(247, 243, 234, 0.84);
  margin-bottom: 10px;
}

.footer-addr {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--cream-muted);
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
}

.footer-col a {
  color: var(--cream);
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 200ms ease, color 200ms ease;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-disclaimer {
  margin-top: 30px;
  padding: 18px 20px;
  background-color: rgba(252, 250, 244, 0.07);
  border: 1px solid rgba(247, 243, 234, 0.22);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.58;
  color: var(--cream);
}

.footer-disclaimer .preview-pill {
  margin-bottom: 10px;
}

.disclaimer-en {
  margin-top: 8px;
  color: var(--cream-muted);
  font-size: 12.5px;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints (Tablet <= 980px & Mobile <= 640px including 390x844)
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--cream);
    border-bottom: 1px solid var(--leaf);
    padding: 16px 28px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    box-shadow: var(--shadow-soft);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .signatures-layout,
  .drinks-layout,
  .reviews-layout,
  .visit-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .menu-side-photo {
    justify-self: start;
    max-width: 520px;
  }

  .trio-grid,
  .tag-grid-three,
  .menu-photo-strip {
    grid-template-columns: 1fr;
  }

  .sig-card-interior {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-offset: 122px;
  }

  .container {
    padding: 0 18px;
  }

  .preview-bar-inner {
    padding: 5px 12px;
    gap: 4px 8px;
    font-size: 9.5px;
  }

  .preview-pill {
    font-size: 9px;
    padding: 1px 6px;
  }

  .nav-inner {
    padding: 8px 12px;
    gap: 6px;
  }

  .nav-brand {
    font-size: 13.5px;
    gap: 6px;
    min-width: 0;
  }

  .brand-leaf {
    width: 12px;
    height: 8px;
  }

  .nav-right {
    gap: 6px;
    flex-shrink: 0;
  }

  .hours-badge {
    font-size: 9px;
    padding: 4px 7px;
    gap: 5px;
    max-width: 158px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    width: 32px;
    height: 32px;
    padding: 6px;
    flex-shrink: 0;
  }

  .hours-badge-inline {
    max-width: 100%;
    white-space: normal;
    font-size: 10.5px;
    padding: 5px 10px;
  }

  .hero {
    padding: 174px 0 48px;
  }

  .canopy-rail {
    top: 118px;
  }

  .hanging-wall {
    top: 122px;
    height: 92px;
  }

  .vine-3, .vine-4, .vine-6 {
    display: none;
  }

  .vine-1 { left: 2%; height: 82px; }
  .vine-2 { left: 20%; height: 60px; }
  .vine-5 { left: 48%; height: 68px; }
  .vine-7 { left: 76%; height: 78px; }
  .vine-8 { left: 91%; height: 56px; }

  .vine .leaf:nth-child(4),
  .vine .leaf:nth-child(5) {
    display: none;
  }

  .hero-grid {
    gap: 32px;
    padding-top: 26px;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: 54px 0;
    scroll-margin-top: 126px;
  }

  .menu-section {
    padding: 60px 0;
  }

  .tag-grid-drinks,
  .tag-grid-breakfast {
    grid-template-columns: 1fr;
  }

  .shelf-code {
    font-size: 10px;
    padding: 2px 8px;
  }

  .rating-card,
  .note-card,
  .visit-card {
    padding: 20px;
  }

  .hours-table > div {
    flex-direction: column;
    gap: 2px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 340px;
  }
}
