/* =========================================================
   Samba Café – Brazilian Coffee
   Konsepti: "Viidakko keskellä Oulua" – Brasilian lämpö,
   vehreys ja rottinki kohtaavat pohjoisen kaupungin.
   ========================================================= */

/* ---------- Fontit (itse isännöidyt, ei kolmannen osapuolen pyyntöjä) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-soft-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-soft-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Marcellus";
  src: url("fonts/marcellus-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- Brändimuuttujat ---------- */
:root {
  --jungle: #0d3b26;
  --jungle-2: #12492f;
  --leaf: #1d6b3c;
  --leaf-2: #3f8a4a;
  --fern: #7aa548;
  --olive: #5d6f2c;
  --gold: #d6a442;
  --gold-soft: #e8c47a;
  --gold-deep: #7d5410;
  --mustard: #e9a92d;
  --rattan: #cf9a5e;
  --rattan-2: #b47c42;
  --terracotta: #b4532a;
  --orchid: #7b4a9c;
  --cream: #f6ecd9;
  --sand: #ecdcbe;
  --ink: #1c2a1f;
  --ink-soft: #3b4a3d;

  --bg: var(--cream);
  --text: var(--ink);
  --focus: #f2c14e;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-caps: "Marcellus", "Fraunces", Georgia, serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1280px;
  --header-h: 72px;
  --radius: 22px;
}

/* ---------- Perusta ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
svg { overflow: visible; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.05; }
p { margin: 0 0 1em; }
em { font-style: italic; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.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 {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--gold); color: var(--jungle); padding: .75rem 1.25rem; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---------- Painikkeet ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; letter-spacing: .01em; text-decoration: none;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--jungle); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: rgba(246,236,217,.55); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(246,236,217,.08); }
.btn-green { background: var(--jungle); color: var(--cream); }
.btn-green:hover { background: var(--leaf); }
.btn-outline { border-color: var(--jungle); color: var(--jungle); }
.btn-outline:hover { background: var(--jungle); color: var(--cream); }

.kicker {
  font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .16em;
  font-size: .82rem; color: var(--gold-deep); margin-bottom: 1.1rem;
}
.kicker-light { color: var(--gold-soft); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--cream);
  transition: background-color .35s ease, box-shadow .35s ease;
}
.site-header[data-scrolled="true"] {
  background: rgba(13, 59, 38, .97);
  box-shadow: 0 6px 24px rgba(5, 25, 15, .25);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; height: 100%;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; position: relative; z-index: 2; }
.brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(214,164,66,.6); }
.brand-name { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .18em; font-size: .95rem; white-space: nowrap; }
.nav-list { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); }
.nav-list a {
  text-decoration: none; font-weight: 600; font-size: .98rem; white-space: nowrap;
  padding: .5rem 0; display: inline-flex; align-items: center; gap: .4rem;
  background: linear-gradient(var(--gold), var(--gold)) no-repeat left 88% / 0 2px;
  transition: background-size .3s ease, color .2s ease;
}
.nav-list a:hover { background-size: 100% 2px; color: var(--gold-soft); }
.nav-social { display: flex; gap: .75rem; padding-left: .5rem; border-left: 1px solid rgba(246,236,217,.25); }
.nav-social a { background: none; min-width: 44px; min-height: 44px; justify-content: center; }
.nav-social-label { display: none; }
.menu-toggle { display: none; }

@media (max-width: 1099px) {
  .header-cta { display: none; }
  .b5 { display: none; }
  .brand-name { font-size: .85rem; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: .6rem;
    min-height: 44px; padding: .4rem .9rem .4rem .7rem;
    border-radius: 999px; border: 2px solid rgba(246,236,217,.45);
    background: transparent; color: var(--cream); cursor: pointer; font-weight: 700;
    position: relative; z-index: 2;
  }
  .menu-toggle-box { width: 20px; height: 12px; position: relative; }
  .menu-toggle-box span {
    position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .3s ease, top .3s ease;
  }
  .menu-toggle-box span:first-child { top: 0; }
  .menu-toggle-box span:last-child { top: 10px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-box span:first-child { top: 5px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-box span:last-child { top: 5px; transform: rotate(-45deg); }

  .nav-list {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: .25rem;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
    background:
      radial-gradient(circle at 85% 15%, rgba(214,164,66,.22), transparent 45%),
      var(--jungle);
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
  }
  .nav-list.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s ease, transform .3s ease; }
  .nav-list a { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 10vw, 3.2rem); padding: .2rem 0; }
  .nav-list a:hover { background-size: 0 0; }
  .nav-social { border-left: 0; padding: 1.5rem 0 0; margin-top: 1rem; border-top: 1px solid rgba(246,236,217,.25); gap: 1.5rem; }
  .nav-list .nav-social a { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
  .nav-social-label { display: inline; }
  .site-header.menu-open { background: var(--jungle); }
}

/* Kielivalinta */
.lang-switch { display: inline-flex; align-items: center; gap: .15rem; font-family: var(--font-caps); letter-spacing: .12em; font-size: .9rem; position: relative; z-index: 2; }
.lang-switch a {
  display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 .3rem;
  text-decoration: none; border-radius: 999px; color: rgba(246,236,217,.75); transition: color .2s, background-color .2s;
}
.lang-switch a:hover { color: var(--cream); background: rgba(246,236,217,.1); }
.lang-switch a[aria-current="page"] { color: var(--jungle); background: var(--gold); }
.lang-sep { opacity: .45; }
.nav-lang { display: none; }
@media (max-width: 1099px) {
  .site-header .lang-switch { display: none; }
  .nav-lang { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(246,236,217,.25); width: 100%; }
  .nav-lang-label { width: 100%; font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--gold-soft); }
  .nav-list .nav-lang a {
    font-family: var(--font-body); font-size: 1rem; font-weight: 700;
    min-height: 44px; padding: 0 1.2rem; border-radius: 999px; border: 2px solid rgba(246,236,217,.4);
    display: inline-flex; align-items: center;
  }
  .nav-list .nav-lang a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--jungle); }
  .nav-social { margin-top: .5rem; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow-x: clip; overflow-y: visible;
  background:
    radial-gradient(ellipse 60% 55% at 72% 55%, rgba(233,169,45,.20), transparent 70%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(29,107,60,.55), transparent 70%),
    var(--jungle);
  color: var(--cream);
  padding: calc(var(--header-h) + clamp(4.5rem, 10vw, 8rem)) var(--gutter) clamp(4.5rem, 8vw, 7rem);
}
.hero-canopy { position: absolute; inset: 0 0 auto 0; height: 260px; pointer-events: none; }
.cl { position: absolute; color: var(--leaf); --vein: rgba(255,255,255,.12); }
.c1 { width: 340px; height: 320px; left: -70px; top: -120px; transform: rotate(62deg); color: var(--leaf); }
.c2 { width: 90px; height: 135px; left: 27%; top: -40px; transform: rotate(168deg); color: var(--leaf-2); }
.c3 { width: 300px; height: 290px; left: 34%; top: -165px; transform: rotate(95deg) scaleY(-1); color: var(--olive); }
.c4 { width: 150px; height: 150px; right: 1%; top: -95px; transform: rotate(185deg); color: var(--leaf); }
.c5 { width: 80px; height: 120px; right: 9%; top: -30px; transform: rotate(200deg); color: var(--fern); opacity: .85; }
.c6 { width: 360px; height: 340px; right: -110px; top: -150px; transform: rotate(118deg); color: var(--leaf-2); }

.bulb { position: absolute; top: 0; width: 2px; transform-origin: top center; animation: sway 6s ease-in-out infinite alternate; }
.bulb::before { content: ""; position: absolute; inset: 0; background: rgba(20, 20, 15, .65); }
.bulb::after {
  content: ""; position: absolute; left: 50%; bottom: -16px; width: 14px; height: 18px; margin-left: -7px;
  border-radius: 50% 50% 46% 46%;
  background: radial-gradient(circle at 50% 40%, #fff6d6 0 30%, #f7c560 60%, #d4892a 100%);
  box-shadow: 0 0 18px 6px rgba(247, 197, 96, .55), 0 0 60px 18px rgba(247, 197, 96, .18);
}
.b1 { left: 22%; height: 70px; animation-delay: -1s; }
.b2 { left: 48%; height: 120px; animation-delay: -3s; }
.b3 { left: 63%; height: 52px; animation-delay: -2s; }
.b4 { left: 77%; height: 98px; animation-delay: -4s; }
.b5 { left: 90%; height: 40px; animation-delay: -.5s; }
@keyframes sway { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }

.hero-grid {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  display: grid; gap: clamp(3rem, 6vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .14em; font-size: .82rem;
  color: var(--gold-soft); margin-bottom: 1.5rem;
}
.eyebrow-mark { flex: none; --lc: var(--jungle); }

.hero-title { display: flex; flex-direction: column; font-family: var(--font-display); margin-bottom: 1.75rem; }
.ht-samba {
  font-size: clamp(4.6rem, 17vw, 10.5rem);
  font-weight: 800; letter-spacing: -.035em; line-height: .82;
  font-variation-settings: "SOFT" 100;
  color: var(--cream);
}
.ht-cafe {
  position: relative; align-self: flex-start;
  font-size: clamp(3.4rem, 12.5vw, 7.8rem);
  font-style: italic; font-weight: 500; line-height: .95;
  color: var(--gold);
  margin-left: clamp(2.2rem, 12vw, 8rem);
  font-variation-settings: "SOFT" 100;
}
.ht-flower {
  position: absolute; width: .48em; height: .48em; right: -.42em; top: -.08em;
  --petal: var(--mustard); --heart: var(--terracotta);
  animation: bloom 8s ease-in-out infinite;
}
@keyframes bloom { 0%,100% { transform: rotate(0); } 50% { transform: rotate(18deg) scale(1.06); } }
.hero-lede { max-width: 34rem; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: rgba(246,236,217,.88); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.5rem; }
.hero-status, .hours-status {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: .95rem; margin: 0;
}
.hero-status[hidden], .hours-status[hidden] { display: none; }
.hero-status::before, .hours-status::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9aa39b; flex: none;
}
.is-open::before { background: #7ee08a; box-shadow: 0 0 0 4px rgba(126,224,138,.22); }
.hero-address { margin: .4rem 0 0; color: rgba(246,236,217,.7); font-size: .95rem; }

@media (max-width: 959px) {
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .eyebrow { justify-content: center; flex-wrap: wrap; row-gap: .4rem; }
  .hero-title { align-items: center; }
  .ht-cafe { align-self: center; margin-left: 0; }
  .hero-lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
}

/* Hero visual */
.hero-visual { position: relative; justify-self: center; width: min(78vw, 430px); margin-top: 1rem; }
@media (min-width: 600px) and (max-width: 959px) { .hero-visual { width: min(54vw, 420px); } }
@media (min-width: 960px) { .hero-visual { width: 100%; max-width: 440px; margin-top: 0; } }
.hero-arch {
  position: relative; margin: 0;
  aspect-ratio: 4 / 5.3;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.hero-visual::before {
  content: ""; position: absolute; inset: -14px -14px 24px 14px;
  border: 2px solid rgba(214,164,66,.55);
  border-radius: 999px 999px var(--radius) var(--radius);
  z-index: 0;
}
.rattan-wall { position: absolute; inset: 0; z-index: 0; }
.rw { position: absolute; color: var(--rattan); }
.r1 { width: 110px; height: 110px; left: -78px; top: 22%; }
.r2 { width: 70px; height: 70px; left: -58px; top: calc(22% + 112px); color: var(--rattan-2); }
.r3 { width: 52px; height: 52px; left: -100px; top: calc(22% + 70px); }
.hero-monstera {
  position: absolute; width: 46%; aspect-ratio: 1; left: -18%; bottom: -10%;
  color: var(--leaf-2); transform: rotate(-28deg); z-index: 2;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}
.badge {
  position: absolute; right: -9%; bottom: 12%; z-index: 3;
  width: clamp(112px, 30%, 140px); aspect-ratio: 1;
  border-radius: 50%; background: var(--mustard); color: var(--jungle);
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
}
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge-ring text { font-family: var(--font-caps); font-size: 17.5px; letter-spacing: 2.4px; text-transform: uppercase; fill: var(--jungle); }
.badge-cup { width: 22%; height: auto; color: var(--jungle); --bean-line: var(--mustard); transform: rotate(25deg); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Rytminauha ---------- */
.ribbon-clip { position: relative; z-index: 5; overflow-x: clip; }
.ribbon {
  position: relative; z-index: 5;
  background: var(--mustard); color: var(--jungle);
  transform: rotate(-1.6deg);
  margin: -1.6rem -2vw -1rem; padding: .95rem 0;
  overflow: hidden;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.4);
}
.ribbon-track { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: marquee 38s linear infinite; }
.ribbon-track span { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); white-space: nowrap; }
.ribbon-track svg { width: 28px; height: 28px; flex: none; color: var(--jungle); --petal: var(--terracotta); --heart: var(--jungle); --bean-line: var(--mustard); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- TARINA ---------- */
.story {
  position: relative; overflow-x: clip; overflow-y: visible;
  padding: clamp(5.5rem, 10vw, 9rem) var(--gutter) clamp(4.5rem, 9vw, 8rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(207,154,94,.22), transparent 40%),
    var(--cream);
}
.story-leaf { position: absolute; width: 420px; height: 400px; left: -150px; bottom: -150px; color: var(--leaf); opacity: .09; transform: rotate(-40deg); }
.story-grid {
  position: relative; max-width: var(--max); margin: 0 auto;
  display: grid; gap: 2.5rem 4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1000px) {
  .story-grid { grid-template-columns: 1.1fr 1fr; align-items: end; }
}
.story-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 1.6rem + 4.2vw, 5.4rem);
  letter-spacing: -.025em; line-height: .98;
  color: var(--jungle);
  font-variation-settings: "SOFT" 100;
  max-width: 16ch;
}
.story-title em { color: var(--terracotta); font-weight: 500; }
.story-big { font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.65rem); line-height: 1.4; color: var(--jungle-2); margin-bottom: 1.4rem; }
.story-body > p:not(.story-big) { color: var(--ink-soft); max-width: 40rem; }
.story-points { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.story-points li {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem 1rem .55rem .7rem; border-radius: 999px;
  background: var(--sand); color: var(--jungle); font-weight: 600; font-size: .95rem;
}
.story-points svg { width: 26px; height: 18px; flex: none; --lz: var(--leaf); --lc: var(--gold); }
/* Zoom-painike (lightbox) */
.zoom {
  display: block; width: 100%; padding: 0; border: 0; background: var(--sand);
  overflow: hidden; cursor: zoom-in; position: relative;
}
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.zoom:hover img { transform: scale(1.04); }

/* ---------- MAKUJA ---------- */
.flavors {
  position: relative;
  background:
    radial-gradient(ellipse 50% 40% at 100% 10%, rgba(63,138,74,.35), transparent 70%),
    radial-gradient(ellipse 50% 50% at 0% 90%, rgba(13,59,38,.7), transparent 70%),
    var(--jungle-2);
  color: var(--cream);
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
  border-radius: clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px) 0 0;
  margin-top: -2rem;
  overflow-x: clip; overflow-y: visible;
}
.flavors-wrap {
  max-width: var(--max); margin: 0 auto;
  display: grid; gap: 3rem 5rem; grid-template-columns: 1fr;
}
@media (min-width: 1000px) {
  .flavors-wrap { grid-template-columns: .8fr 1.2fr; }
  .flavors-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.flavors-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3rem, 2rem + 5vw, 6rem); line-height: .92; letter-spacing: -.03em;
  font-variation-settings: "SOFT" 100; margin-bottom: 1.5rem;
}
.flavors-title em { display: block; color: var(--gold); font-weight: 500; }
.flavors-intro { color: rgba(246,236,217,.8); max-width: 26rem; }

.menu { counter-reset: none; }
.menu-item {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem;
  padding: 2.25rem 0;
  border-top: 2px dashed rgba(214,164,66,.35);
}
.menu-item:last-child { border-bottom: 2px dashed rgba(214,164,66,.35); }
@media (min-width: 640px) {
  .menu-item { grid-template-columns: auto 1fr minmax(150px, 34%); align-items: center; gap: 1rem 2rem; }
}
.mi-no { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--gold); padding-top: .55rem; align-self: start; }
.mi-copy h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); letter-spacing: -.015em; font-variation-settings: "SOFT" 100; }
.mi-fi { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--gold-soft); margin: .5rem 0 .9rem; }
.mi-copy p:last-child { color: rgba(246,236,217,.82); margin: 0; max-width: 32rem; }
.mi-photo { margin: 0; grid-column: 1 / -1; width: min(70vw, 280px); justify-self: center; margin-top: 1.25rem; }
@media (min-width: 640px) { .mi-photo { grid-column: auto; width: 100%; margin-top: 0; } }
.mi-photo .zoom {
  aspect-ratio: 4 / 5; border-radius: 18px;
  border: 7px solid var(--rattan);
  box-shadow: 0 22px 40px -18px rgba(0,0,0,.6);
  transition: transform .4s ease;
}
.mi-photo--a .zoom { transform: rotate(-3deg); }
.mi-photo--b .zoom { transform: rotate(2.4deg); border-radius: 999px 999px 18px 18px; }
.mi-photo--c .zoom { transform: rotate(-1.8deg); border-color: var(--gold); }
.mi-photo .zoom:hover { transform: rotate(0) scale(1.02); }
.mi-photo--a img { object-position: 50% 70%; }
.mi-photo--b img { object-position: 45% 55%; }
.mi-photo--c img { object-position: 40% 75%; }
.mi-beans, .mi-flowers { display: none; }
@media (min-width: 640px) {
  .mi-beans, .mi-flowers { display: flex; justify-content: center; align-items: center; gap: .5rem; height: 100%; }
  .mi-beans svg { width: 34px; height: 46px; color: var(--rattan); --bean-line: var(--jungle-2); }
  .mi-beans svg:nth-child(1) { transform: rotate(-24deg) translateY(8px); }
  .mi-beans svg:nth-child(2) { transform: rotate(12deg) translateY(-10px); color: var(--gold); width: 44px; height: 60px; }
  .mi-beans svg:nth-child(3) { transform: rotate(38deg) translateY(12px); }
  .mi-flowers svg { width: 70px; height: 70px; --petal: var(--mustard); --heart: var(--terracotta); }
  .mi-flowers svg:nth-child(2) { width: 46px; height: 46px; --petal: var(--orchid); --heart: var(--mustard); transform: translate(-14px, 26px); }
}

/* ---------- ERIKOISPÄIVÄT ---------- */
.specials {
  position: relative; overflow-x: clip; overflow-y: visible;
  background:
    radial-gradient(ellipse 45% 70% at 100% 50%, rgba(255,255,255,.18), transparent 70%),
    var(--mustard);
  color: var(--jungle);
  padding: clamp(4rem, 8vw, 6.5rem) var(--gutter);
}
.specials-inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  display: grid; gap: 1.5rem 4rem; grid-template-columns: 1fr;
}
@media (min-width: 1100px) {
  .specials-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; padding-right: clamp(0px, 12vw, 190px); }
}
.specials-kicker { font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); margin: 0 0 .25rem; color: var(--jungle-2); }
.specials-title {
  font-family: var(--font-display); font-weight: 800; font-variation-settings: "SOFT" 100;
  font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem); letter-spacing: -.035em; line-height: .92;
  hyphens: manual;
}
.specials-lede { font-family: var(--font-display); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.4; font-weight: 500; }
.specials-copy > p { max-width: 36rem; }
.specials-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.specials-art { position: absolute; inset: 0; pointer-events: none; }
.sa { position: absolute; }
.sa-leaf1 { width: 260px; height: 260px; right: -90px; top: 52px; color: var(--leaf); transform: rotate(-150deg); opacity: .9; }
.sa-leaf2 { width: 300px; height: 290px; right: -40px; bottom: -150px; color: var(--olive); transform: rotate(-70deg); }
.sa-flower1 { width: 96px; height: 96px; right: 150px; top: 46%; --petal: var(--terracotta); --heart: var(--jungle); }
.sa-flower2 { width: 58px; height: 58px; right: 90px; top: calc(46% + 90px); --petal: var(--orchid); --heart: var(--mustard); }
@media (max-width: 1099px) {
  .specials-inner { padding-right: clamp(0px, 14vw, 140px); }
  .sa-leaf1 { width: 160px; height: 160px; right: -70px; top: 32px; }
  .sa-leaf2 { width: 200px; height: 190px; bottom: -120px; right: -60px; opacity: .5; }
  .sa-flower1 { width: 54px; height: 54px; right: 18px; top: auto; bottom: 26px; }
  .sa-flower2 { display: none; }
}

/* ---------- AUKIOLO + LÖYDÄ ---------- */
.visit {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) var(--gutter) clamp(6rem, 11vw, 10rem);
  background:
    radial-gradient(circle at 8% 12%, rgba(207,154,94,.35) 0 60px, transparent 61px),
    radial-gradient(circle at 4% 22%, rgba(180,124,66,.28) 0 34px, transparent 35px),
    radial-gradient(circle at 96% 70%, rgba(207,154,94,.3) 0 80px, transparent 81px),
    var(--sand);
  overflow-x: clip; overflow-y: visible;
}
.visit-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; gap: 3.5rem; grid-template-columns: 1fr;
}
@media (min-width: 960px) { .visit-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; } }

.hours {
  background: var(--jungle); color: var(--cream);
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.4rem, 4vw, 3rem);
  box-shadow: 0 0 0 6px var(--sand), 0 0 0 8px var(--rattan-2), 0 30px 60px -30px rgba(13,59,38,.7);
  position: relative;
}
@media (min-width: 960px) { .hours { position: sticky; top: calc(var(--header-h) + 2rem); transform: rotate(-1.2deg); } }
.hours-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 1.8rem + 2vw, 3.2rem); letter-spacing: -.02em; margin-bottom: 1rem; display: flex; flex-direction: column; }
.hours-pt { font-style: italic; font-weight: 500; font-size: .45em; color: var(--gold); letter-spacing: 0; margin-bottom: .3rem; }
.hours-status { margin-bottom: 1.25rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.hours-table th, .hours-table td { padding: .75rem .75rem; text-align: left; font-weight: 500; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--gold-soft); white-space: nowrap; }
.hours-table tr + tr th, .hours-table tr + tr td { border-top: 1px dotted rgba(246,236,217,.25); }
.hours-table tr.closed td { color: rgba(246,236,217,.6); font-weight: 500; font-style: italic; }
.hours-table tr.is-today th, .hours-table tr.is-today td { background: var(--mustard); color: var(--jungle); border-top-color: transparent; }
.hours-table tr.is-today + tr th, .hours-table tr.is-today + tr td { border-top-color: transparent; }
.hours-table tr.is-today th { border-radius: 999px 0 0 999px; font-weight: 700; }
.hours-table tr.is-today td { border-radius: 0 999px 999px 0; }
.hours-table tr.is-today th::after { content: " · tänään"; font-weight: 500; font-style: italic; font-family: var(--font-display); }
.hours-note { margin: 1.5rem 0 0; font-size: .92rem; color: rgba(246,236,217,.72); }

.find { display: grid; gap: 0; grid-template-columns: 1fr; }
.find-photo {
  margin: 0; position: relative;
  aspect-ratio: 4 / 4.4; border-radius: 999px 999px 0 0; overflow: hidden;
}
.find-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 58%; }
.find-card {
  background: var(--cream); border-radius: 0 0 28px 28px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 30px 50px -35px rgba(13,59,38,.55);
}
.find-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 1.8rem + 2vw, 3.2rem); color: var(--jungle); letter-spacing: -.02em; margin-bottom: 1rem; }
.find-title em { color: var(--terracotta); font-weight: 500; }
.find-address { font-style: normal; font-size: 1.15rem; font-weight: 600; color: var(--jungle); margin-bottom: 1rem; line-height: 1.5; }
.find-tip { color: var(--ink-soft); }
.find-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- FOOTER ---------- */
.site-footer {
  position: relative; background: var(--jungle); color: var(--cream);
  padding: clamp(3.5rem, 6vw, 4.5rem) var(--gutter) 1.5rem;
}
.footer-garland { position: absolute; inset: -46px 0 auto 0; height: 110px; pointer-events: none; z-index: 2; }
.fg { position: absolute; }
.f1 { width: 210px; height: 200px; left: -50px; top: -10px; color: var(--leaf); transform: rotate(-12deg); }
.f2 { width: 46px; height: 46px; left: 20%; top: 40px; --petal: var(--mustard); --heart: var(--terracotta); }
.f4 { width: 220px; height: 210px; right: -60px; top: -4px; color: var(--olive); transform: rotate(-168deg) scaleY(-1); }
.f5 { width: 34px; height: 34px; right: 24%; top: 50px; --petal: var(--orchid); --heart: var(--mustard); }
.footer-inner {
  position: relative; max-width: var(--max); margin: 0 auto;
  display: grid; gap: 2rem; grid-template-columns: 1fr; justify-items: center; text-align: center;
}

.footer-top { display: flex; align-items: center; justify-content: center; gap: 1rem; text-align: left; }
.footer-logo { width: 72px; height: 72px; border-radius: 50%; flex: none; }
.footer-hello { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.6rem); line-height: 1; color: var(--gold); letter-spacing: -.02em; }
.footer-hello-sub { display: block; font-style: normal; font-weight: 400; font-size: 1rem; color: var(--cream); letter-spacing: 0; margin-top: .35rem; font-family: var(--font-body); }
.footer-cols { display: grid; gap: 1.5rem 1rem; grid-template-columns: 1fr 1fr; width: 100%; max-width: 760px; }
.footer-cols > div:last-child { grid-column: 1 / -1; }
@media (max-width: 359px) { .footer-cols { grid-template-columns: 1fr; } }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 2rem; } .footer-cols > div:last-child { grid-column: auto; } }
.footer-h { font-family: var(--font-caps); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--gold-soft); margin-bottom: .5rem; }
.footer-cols p { color: rgba(246,236,217,.85); margin: 0; font-size: .95rem; line-height: 1.6; }
.footer-cols a { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 32px; }
.footer-social a { min-height: 40px; font-size: .95rem; }
.footer-cols a:hover { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 4px; }
.footer-legal { width: 100%; margin: 0; padding-top: 1.25rem; border-top: 1px solid rgba(246,236,217,.16); font-size: .82rem; color: rgba(246,236,217,.6); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(7, 26, 16, .92); }
.lightbox-figure { position: relative; margin: 0; max-width: min(92vw, 720px); text-align: center; color: var(--cream); }
.lightbox-figure img { max-height: 80vh; max-height: 80dvh; width: auto; margin: 0 auto; border-radius: 14px; }
.lightbox-figure figcaption { margin-top: .9rem; font-size: .95rem; }
.lightbox-close {
  position: absolute; top: max(1rem, env(safe-area-inset-top)); right: 1rem;
  width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: var(--gold); color: var(--jungle); font-size: 2rem; line-height: 1; cursor: pointer;
}

/* ---------- Sisääntulot ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }


/* ---------- Tropiikin lehdet ja tuuli ---------- */
.deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.dl { position: absolute; }
/* Lehtien sääntö: lehti tulee aina joko sivun reunasta (osiot leikkaavat vain vaakasuunnassa)
   tai seuraavan osion takaa (lehti z 0, seuraava osio maalataan sen päälle). Mikään lehti ei
   ulotu oman osionsa yläreunan yli, paitsi sivun yläreunassa ja rytminauhan alla. */
.hero-canopy { z-index: 2; }
.hero-floor, .specials-art { z-index: 0; }
.hero-grid, .story-grid, .flavors-wrap, .specials-inner, .visit-grid, .footer-inner { position: relative; z-index: 3; }
.site-footer { overflow-x: clip; overflow-y: visible; }

.c7 { width: 70px; height: 240px; left: 8%; top: -120px; transform: rotate(170deg); color: var(--fern); }
.c8 { width: 100px; height: 150px; left: 57%; top: -58px; transform: rotate(195deg); color: var(--leaf); --vein: rgba(255,255,255,.14); }
.c9 { width: 80px; height: 270px; right: 17%; top: -160px; transform: rotate(-168deg); color: var(--olive); }

.hero-floor { position: absolute; inset: auto 0 0 0; height: 320px; pointer-events: none; }
.hf { position: absolute; }
.hf1 { width: 360px; height: 340px; left: -150px; bottom: -205px; color: var(--leaf); transform: rotate(-62deg); }
.hf2 { width: 70px; height: 240px; left: 2%; bottom: -160px; color: var(--fern); transform: rotate(16deg); opacity: .85; }
.hf3 { width: 210px; height: 210px; right: -60px; bottom: -70px; color: var(--leaf-2); transform: rotate(-20deg); --vein: rgba(255,255,255,.16); }

.st1 { width: 240px; height: 240px; right: -90px; top: 30px; color: var(--leaf); transform: rotate(200deg); }
.st2 { width: 90px; height: 310px; right: 5%; bottom: -150px; color: var(--leaf-2); transform: rotate(-14deg); }

.fl1 { width: 380px; height: 360px; left: -150px; bottom: -70px; color: var(--leaf-2); opacity: .5; transform: rotate(-40deg); }
.fl2 { width: 200px; height: 200px; right: -95px; top: 24%; color: var(--leaf); opacity: .85; transform: rotate(-100deg); }
.fl3 { width: 80px; height: 280px; right: 3%; bottom: -120px; color: var(--fern); opacity: .4; transform: rotate(12deg); }

.vi1 { width: 90px; height: 310px; left: -14px; bottom: -70px; color: var(--leaf); transform: rotate(26deg); }
.vi2 { width: 320px; height: 300px; right: -150px; top: 74px; color: var(--leaf-2); transform: rotate(140deg); }
.vi3 { width: 110px; height: 165px; left: 27%; bottom: -80px; color: var(--fern); transform: rotate(8deg); }
.vi4 { width: 60px; height: 210px; right: 30%; bottom: -120px; color: var(--leaf-2); transform: rotate(-12deg); }

.f3 { width: 46px; height: 160px; left: 30%; top: 6px; color: var(--leaf-2); transform: rotate(-10deg); }
.f6 { width: 56px; height: 84px; right: 38%; top: 26px; color: var(--fern); transform: rotate(24deg); --vein: rgba(255,255,255,.18); }

@media (max-width: 599px) {
  .hf1 { width: 230px; height: 220px; left: -100px; bottom: -110px; }
  .hf2, .st2 { display: none; }
  .vi3 { left: 8%; width: 80px; height: 120px; bottom: -60px; }
  .vi4 { right: 14%; height: 170px; bottom: -100px; }
  .hf3 { width: 130px; height: 130px; right: -50px; bottom: -50px; }
  .st1 { width: 150px; height: 150px; right: -75px; top: 30px; }
  .fl1 { width: 240px; height: 230px; left: -120px; }
  .fl2 { width: 140px; height: 140px; right: -90px; }
  .vi2 { width: 220px; height: 210px; right: -130px; top: 50px; }
  .c9 { right: 6%; }
}

/* Lempeä tuuli: jokainen lehti omaan tahtiinsa */
.cl, .hf, .dl, .story-leaf, .hero-monstera, .sa-leaf1, .sa-leaf2, .fg:not(.f2):not(.f5) {
  animation: breeze var(--d, 10s) cubic-bezier(.45, 0, .55, 1) var(--dl, 0s) infinite alternate;
  will-change: rotate;
}
:is(.hero-canopy, .hero-floor, .deco, .footer-garland, .specials-art) > svg:nth-child(3n+1) { --d: 9s; --dl: -1.5s; --amp: 2.6deg; }
:is(.hero-canopy, .hero-floor, .deco, .footer-garland, .specials-art) > svg:nth-child(3n+2) { --d: 12.5s; --dl: -5s; --amp: 3.4deg; }
:is(.hero-canopy, .hero-floor, .deco, .footer-garland, .specials-art) > svg:nth-child(3n) { --d: 10.5s; --dl: -8s; --amp: 2.2deg; }
.hero-monstera { --d: 13s; --dl: -3s; --amp: 2deg; }
@keyframes breeze {
  0%   { rotate: calc(var(--amp, 2.5deg) * -1); translate: 0 0; }
  45%  { rotate: calc(var(--amp, 2.5deg) * .6); translate: 3px 1px; }
  100% { rotate: var(--amp, 2.5deg); translate: 5px 2px; }
}

/* ---------- Intro: hero paljastuu lehtien alta ---------- */
/* Verho näkyy vain kun <head>-skripti lisää .intro-play; liike käynnistyy vasta kun
   main.js on saanut ensimmäisen ruudun piirrettyä (.intro-go), jotta liuku näkyy sulavana. */
.intro { display: none; }
.intro-play .intro {
  display: block; position: fixed; inset: 0; z-index: 150; pointer-events: none; overflow: hidden;
  --u: 1vmax;
  animation: intro-off 0s linear 5s forwards; /* varmistus, jos skripti ei käynnisty */
}
@media (orientation: portrait) { .intro-play .intro { --u: .8vmax; } }
.intro-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, var(--jungle-2), var(--jungle) 70%); }
.il {
  position: absolute; left: var(--x); top: var(--y);
  width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u));
  transform: rotate(var(--r));
  --vein: rgba(255,255,255,.14);
  will-change: transform;
}
.intro-go .intro { animation: intro-off 0s linear 2.1s forwards; }
.intro-go .intro-bg { animation: intro-fade .7s ease .45s forwards; }
.intro-go .il-l { animation: slide-left 1.5s cubic-bezier(.6, .05, .3, 1) var(--dl) forwards; }
.intro-go .il-r { animation: slide-right 1.5s cubic-bezier(.6, .05, .3, 1) var(--dl) forwards; }
@keyframes slide-left {
  0%   { transform: translate(0, 0) rotate(var(--r)); }
  18%  { transform: translate(1.5vw, 0) rotate(calc(var(--r) + 3deg)); }
  100% { transform: translate(-75vw, var(--ty)) rotate(calc(var(--r) - 12deg)); }
}
@keyframes slide-right {
  0%   { transform: translate(0, 0) rotate(var(--r)); }
  18%  { transform: translate(-1.5vw, 0) rotate(calc(var(--r) - 3deg)); }
  100% { transform: translate(75vw, var(--ty)) rotate(calc(var(--r) + 12deg)); }
}
@keyframes intro-fade { to { opacity: 0; } }
@keyframes intro-off { to { visibility: hidden; } }

/* Heron sisältö nousee esiin lehtien väistyessä */
.intro-go .hero-copy > *, .intro-go .hero-visual { animation: hero-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.intro-go .hero-copy > :nth-child(1) { animation-delay: .65s; }
.intro-go .hero-copy > :nth-child(2) { animation-delay: .75s; }
.intro-go .hero-copy > :nth-child(3) { animation-delay: .85s; }
.intro-go .hero-copy > :nth-child(4) { animation-delay: .95s; }
.intro-go .hero-copy > :nth-child(n+5) { animation-delay: 1.05s; }
.intro-go .hero-visual { animation-delay: .8s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Pienet näytöt ---------- */
@media (max-width: 599px) {
  .b1 { display: none; }
  .f1, .f4 { width: 150px; height: 140px; }
}
@media (max-width: 419px) {
  .brand-name { display: none; }
  .badge { right: -4%; }
  .hero-monstera { left: -12%; }
  .r1, .r2, .r3 { display: none; }
}

/* ---------- Vähennetty liike ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Englanninkielinen sivu */
html:lang(en) .hours-table tr.is-today th::after { content: " · today"; }
