/* ============================================================
   NIEMENHARJUN MATKAILUKESKUS - Pihtipudas
   Brand: deep blue #244a8e · sky blue #4db1e4 · lime-green #a7da53
   Warm base (cream paper, navy dark bands), blue/lime brand accents.
   SVG icons only, no emoji. No heading highlighters.
   ============================================================ */

/* Omat fontit, ei Google Fontsia. Samat leikkaukset kuin Matin ja Liisan Asemalla,
   WOFF2-muodossa (noin 60 % pienempi kuin TTF, kirjaimet pikselilleen samat).
   Käytä format("woff2"), älä "woff2-variations" - se on vanha Chrome-arvo ja muut
   selaimet ohittavat koko rivin. Playfairista ladataan vain kursiivi, koska sitä
   käytetään vain Tervetuloa-sanassa. */
@font-face {
  font-family: "Neo Sans Ultra";
  src: url("fonts/NeoSansUltra.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/IBMPlexSans-VariableFont_wdth,wght.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-VariableFont_wght.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-Italic-VariableFont_wght.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #244a8e;          /* brand primary */
  --navy-d: #1a3160;        /* dark band bg */
  --sky: #4db1e4;           /* brand sky blue */
  --lime: #a7da53;          /* brand lime-green */
  --lime-d: #5e841f;        /* readable lime on cream (accents) */
  --gold: #f2a93b;          /* warm accent / stars */
  --ink: #241f18;           /* warm near-black (text + headings) */
  --muted: #5a5044;         /* warm secondary text */
  --paper: #f5f2ea;         /* warm cream */
  --paper-2: #ece5d6;       /* warmer tint band */
  --card: #ffffff;
  --line: rgba(40, 32, 20, 0.14);
  --line-soft: rgba(40, 32, 20, 0.07);

  --title: "Neo Sans Ultra", "IBM Plex Sans", system-ui, sans-serif;
  --display: "IBM Plex Sans", system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
  --pad: clamp(1.4rem, 5vw, 6rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.62; overflow-x: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--lime); color: var(--ink); }

/* ============ ICONS ============ */
.ic { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.18em; flex: none; }

/* ============ SHARED TYPE ============ */
.section-title { font-family: var(--title); font-weight: 700; font-size: clamp(2rem, 5.1vw, 3.7rem); line-height: 1.02; letter-spacing: -0.015em; color: var(--ink); }
.section-title.light { color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.3); }
.section-title .hl { color: var(--navy); }
.section-title.light .hl { color: var(--lime); }
.light-dim { color: rgba(255, 255, 255, 0.9) !important; }

/* Osioiden eyebrow, samat sanat kuin navigaatiossa (sama kuvio kuin Matin ja Liisan Asemalla) */
.sign { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime-d); margin-bottom: 0.9rem; }
.sign .ic { width: 1.05em; height: 1.05em; }
.sign--light { color: var(--lime); }

/* ============ BUTTONS ============ */
.btn { position: relative; display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--sans); font-weight: 700; font-size: 0.95rem; padding: 0.9em 1.55em; border-radius: 12px; border: 2px solid transparent; cursor: pointer; transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, box-shadow 0.35s, border-color 0.3s; }
.btn .ic { transition: transform 0.35s var(--ease); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { transform: translateY(-3px); background: var(--navy-d); box-shadow: 0 16px 30px -14px rgba(36, 74, 142, 0.6); }
.btn--primary:hover .ic { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-3px); }
.btn--glass { background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(8px); color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn--glass:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-3px); }
.btn--nav { background: transparent; color: #fff; padding: 0.62em 1.1em; font-size: 0.85rem; border-color: rgba(255, 255, 255, 0.5); }
.btn--nav:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn--nav:hover .ic { transform: translateX(3px); }
.nav.is-scrolled .btn--nav { color: var(--ink); border-color: var(--line); }
.nav.is-scrolled .btn--nav:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--block { width: 100%; justify-content: center; }
.btn--sm { padding: 0.6em 1.15em; font-size: 0.85rem; border-radius: 9px; }

.link-underline { position: relative; font-weight: 700; color: var(--navy); padding-bottom: 3px; display: inline-block; }
.link-underline::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ============ PLACEHOLDER BLOCKS (bland, labeled - swap for photos) ============ */
.ph { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.55rem; text-align: center; padding: 1.1rem; border-radius: inherit; overflow: hidden; background: linear-gradient(135deg, #efe9db 0%, #e7ddc7 55%, #dfe6c9 100%); border: 1px solid var(--line); color: var(--navy); }
.ph::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(40, 32, 20, 0.04) 0 12px, transparent 12px 24px); pointer-events: none; }
.ph .ic { width: 2.4rem; height: 2.4rem; opacity: 0.7; }
.ph span { position: relative; z-index: 1; font-family: var(--display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.03em; color: var(--navy); opacity: 0.9; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; display: block; }
.ph--dark { background: var(--navy); border-color: rgba(255, 255, 255, 0.14); color: #fff; }
.ph--dark::after { background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 12px, transparent 12px 24px); }
.ph--dark .ic { color: var(--lime); opacity: 0.9; }
.ph--dark span { color: rgba(255, 255, 255, 0.92); }

/* ============ NAV (light over hero -> solid on scroll) ============ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 2rem; padding: 1rem var(--pad); transition: padding 0.5s var(--ease), background 0.5s, box-shadow 0.5s; }
.nav.is-scrolled { padding: 0.5rem var(--pad); background: rgba(245, 242, 234, 0.82); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 6px 22px -18px rgba(40, 32, 20, 0.5); }
.nav__brand { position: relative; display: flex; align-items: center; height: 69px; }   /* sama kuin .nav__logo, muuten logo vuotaa laatikon yli */
.nav__logo { height: 69px; width: auto; transition: opacity 0.4s; }
.nav__logo--dark { position: absolute; left: 0; opacity: 0; }
.nav.is-scrolled .nav__logo--light { opacity: 0; }
.nav.is-scrolled .nav__logo--dark { opacity: 1; }
.nav__links { margin-left: auto; display: flex; gap: 1.7rem; }
.nav__links a { position: relative; font-size: 0.9rem; font-weight: 600; color: #fff; opacity: 0.92; transition: color 0.3s, opacity 0.3s; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
.nav.is-scrolled .nav__links a { color: var(--ink); text-shadow: none; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background: var(--lime); border-radius: 2px; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; margin-left: auto; width: 34px; height: 24px; background: none; border: none; cursor: pointer; position: relative; z-index: 110; }
.nav__burger span { display: block; width: 100%; height: 2.5px; background: #fff; border-radius: 3px; transition: transform 0.4s var(--ease), opacity 0.3s, background 0.4s; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }
.nav.is-scrolled .nav__burger span { background: var(--ink); box-shadow: none; }
.nav__burger span + span { margin-top: 6px; }
.nav__burger.is-open span { background: #fff; box-shadow: none; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ============ MOBILE MENU ============ */
.mobile-menu { position: fixed; inset: 0; z-index: 95; background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: var(--pad); clip-path: circle(0% at 100% 0); transition: clip-path 0.7s var(--ease); pointer-events: none; }
.mobile-menu.is-open { clip-path: circle(150% at 100% 0); pointer-events: auto; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 0.1rem; }
.mobile-menu__links a { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 8vw, 2.7rem); padding: 0.3rem 0; display: flex; align-items: baseline; gap: 1rem; opacity: 0; transform: translateY(24px); }
.mobile-menu.is-open .mobile-menu__links a { animation: mmIn 0.55s var(--ease) forwards; }
.mobile-menu.is-open a:nth-child(1){animation-delay:.14s}.mobile-menu.is-open a:nth-child(2){animation-delay:.2s}.mobile-menu.is-open a:nth-child(3){animation-delay:.26s}.mobile-menu.is-open a:nth-child(4){animation-delay:.32s}.mobile-menu.is-open a:nth-child(5){animation-delay:.38s}.mobile-menu.is-open a:nth-child(6){animation-delay:.44s}
@keyframes mmIn { to { opacity: 1; transform: none; } }
.mm-num { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; color: var(--lime); }
.mobile-menu__foot { margin-top: 2.5rem; color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; line-height: 1.9; }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--navy), var(--sky)); z-index: 200; will-change: transform; }

/* ============ HERO (full-bleed) ============ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--navy-d); }
.hero__bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(160deg, var(--navy) 0%, var(--sky) 130%); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 12s ease-out both; }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.11); } }
@media (prefers-reduced-motion: reduce) { .hero__img { animation: none; } }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(12, 20, 34, 0.5) 0%, rgba(12, 20, 34, 0) 26%, rgba(12, 20, 34, 0.34) 60%, rgba(12, 20, 34, 0.9) 100%),
  radial-gradient(130% 80% at 8% 112%, rgba(12, 20, 34, 0.6), transparent 58%); }
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) clamp(3rem, 7vw, 5rem); }
.hero__content { max-width: 42ch; }
.hero__title { font-family: var(--serif); font-weight: 800; font-size: clamp(2.5rem, 7.2vw, 5.4rem); line-height: 1; letter-spacing: -0.02em; color: #fff; margin-bottom: 1rem; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65), 0 4px 16px rgba(0, 0, 0, 0.55), 0 8px 40px rgba(0, 0, 0, 0.6); }
.hero__title em { font-style: italic; color: var(--lime); }
.hero__lead { color: rgba(255, 255, 255, 0.95); font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 44ch; margin-bottom: 1.9rem; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75), 0 3px 14px rgba(0, 0, 0, 0.6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__hours { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin-top: 1.6rem; font-size: 0.92rem; font-weight: 600; color: rgba(255, 255, 255, 0.95); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 3px 14px rgba(0, 0, 0, 0.6); }
.hero__hours .ic { color: var(--lime); }
.hero__fact { display: inline-flex; align-items: center; gap: 0.45em; white-space: nowrap; }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 1.2rem; transform: translateX(-50%); width: 40px; height: 40px; display: grid; place-items: center; color: #fff; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(18, 26, 40, 0.35); backdrop-filter: blur(6px); animation: heroBob 2.2s var(--ease) infinite; }
.hero__scroll .ic { width: 1.4rem; height: 1.4rem; }
@keyframes heroBob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
@media (max-width: 860px) { .hero__scroll { display: none; } }

/* ============ MARQUEE ============ */
/* ============ ÄÄNESTYSBANNERI (ajastettu, ks. script.js VOTE) ============ */
.vote { background: var(--navy-d); color: #fff; border-top: 3px solid var(--lime); }
.vote__inner { max-width: var(--maxw); margin: 0 auto; padding: 1.6rem var(--pad); display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; }
.vote__logo { width: 170px; height: auto; flex: 0 0 auto; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.35)); }
.vote__text { flex: 1 1 260px; }
.vote__kicker { display: flex; align-items: center; gap: 0.5em; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
.vote__kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: votePulse 1.8s ease-in-out infinite; }
@keyframes votePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .vote__kicker::before { animation: none; } }
.vote__title { font-family: var(--title); font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.1; margin: 0.25rem 0 0.3rem; }
.vote__sub { font-size: 0.95rem; color: rgba(255,255,255,0.78); max-width: 52ch; }
.vote__btn { flex: 0 0 auto; }
.vote__count-label { margin-top: 0.9rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.62); }
.vote__clock { display: flex; gap: 0.5rem; margin-top: 0.45rem; }
.vclock { display: flex; flex-direction: column; align-items: center; min-width: 3.4rem; padding: 0.5rem 0.3rem 0.4rem; border-radius: 12px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); }
.vclock b { font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; }
.vclock i { font-style: normal; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-top: 0.3rem; }
@media (max-width: 760px) {
  .vote__inner { flex-direction: column; text-align: center; gap: 1rem; }
  .vote__logo { width: 130px; }
  .vote__text { flex: 1 1 auto; }
  .vote__kicker { justify-content: center; }
  .vote__sub { margin-inline: auto; }
  .vote__clock { justify-content: center; }
  .vote__btn { width: 100%; justify-content: center; }
}

.marquee { overflow: hidden; background: var(--navy); color: #fff; padding: 0.85rem 0; }
.marquee__track { display: flex; gap: 2.2rem; white-space: nowrap; width: max-content; animation: marquee 34s linear infinite; }
.marquee__track span { font-family: var(--display); font-weight: 600; font-size: clamp(0.95rem, 2vw, 1.35rem); display: inline-flex; align-items: center; gap: 2.2rem; }
.marquee__track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ QUICK FACTS ============ */
.facts { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) var(--pad) 0; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem 1.4rem; box-shadow: 0 20px 40px -34px rgba(40, 32, 20, 0.4); }
.fact .ic { width: 1.7rem; height: 1.7rem; color: var(--navy); }
.fact b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--ink); line-height: 1; margin: 0.7rem 0 0.4rem; letter-spacing: -0.02em; }
.fact span { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 720px) { .facts__grid { grid-template-columns: 1fr 1fr; } }

/* ============ SERVICES / ACCORDION ============ */
.services { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 10vw, 6.5rem) var(--pad); }
.services__head { text-align: center; max-width: 660px; margin: 0 auto 3rem; }
.services__intro { color: var(--muted); margin-top: 1.2rem; }
.acc { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; align-items: start; }
.acc__item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.acc__item[open] { border-color: var(--sky); box-shadow: 0 24px 46px -30px rgba(40, 32, 20, 0.4); }
.acc__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.35rem; user-select: none; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary:hover .acc__title { color: var(--navy); }
.acc__ic { width: 1.7rem; height: 1.7rem; color: var(--navy); flex: none; }
.acc__title { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); flex: 1 1 auto; transition: color 0.3s; }
.acc__hours { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.78rem; font-weight: 700; color: var(--navy); background: rgba(102, 170, 222, 0.18); padding: 0.35em 0.8em; border-radius: 100px; white-space: nowrap; }
.acc__hours .ic { width: 1em; height: 1em; }
.acc__chev { width: 1.3rem; height: 1.3rem; color: var(--muted); flex: none; transition: transform 0.35s var(--ease), color 0.3s; }
.acc__item[open] .acc__chev { transform: rotate(180deg); color: var(--navy); }
.acc__body { padding: 0 1.35rem 1.35rem; }
.acc__body p { color: var(--muted); margin-bottom: 0.7rem; }
.acc__body p:last-child { margin-bottom: 0; }
.acc__body b { color: var(--ink); }
.acc__item[open] .acc__body { animation: accIn 0.4s var(--ease); }
@keyframes accIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.ph--acc { aspect-ratio: 16 / 10; border-radius: 12px; margin-top: 1rem; }
.services--alt { background: var(--paper-2); max-width: none; }
.services--alt > .services__head, .services--alt > .acc { max-width: 1080px; margin-left: auto; margin-right: auto; }
.services--alt > .services__head { max-width: 660px; }
.services--alt .acc__item { background: #fff; }

/* miniprice rows inside accordion */
.miniprice { margin-top: 1rem; display: grid; gap: 0.1rem; }
.mprow { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.92rem; color: var(--muted); }
.mprow b { font-family: var(--display); font-weight: 700; color: var(--ink); white-space: nowrap; }

.acc__hint { color: var(--muted); font-weight: 600; margin: 1.6rem 0 0.9rem; }
.acc--story { display: flex; flex-direction: column; max-width: none; margin: 0; gap: 0.6rem; }
.acc--story .acc__body { padding-left: calc(1.35rem + 1.7rem + 1rem); }

/* ============ LOUNAS (dark band + weekly list) ============ */
.lunch { background: var(--navy); color: #fff; }
.lunch__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 10vw, 6rem) var(--pad) clamp(2.5rem, 6vw, 3.5rem); display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.lunch__text > p { margin-top: 1.2rem; max-width: 52ch; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin: 2rem 0 1.3rem; }
.prices__h { font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); margin-bottom: 0.7rem; }
.prow { display: flex; justify-content: space-between; gap: 0.8rem; padding: 0.55rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.94rem; color: rgba(255, 255, 255, 0.85); }
.prow b { font-family: var(--display); font-weight: 700; color: #fff; white-space: nowrap; }
.lunch__extra { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
.lunch__extra span { display: flex; align-items: center; gap: 0.6em; }
.lunch__extra .ic { color: var(--lime); }
.lunch__extra b { color: #fff; }
.lunch__side { position: relative; }
.lunch__photo { border-radius: 18px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.5); aspect-ratio: 3 / 2; }

.lweek { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) clamp(4rem, 10vw, 6rem); }
.lweek__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; padding-top: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid rgba(255, 255, 255, 0.16); }
.lweek__title { font-family: var(--title); font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 2.4rem); color: #fff; letter-spacing: -0.01em; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }
.lweek__meta { display: flex; align-items: center; gap: 0.9rem 1.3rem; flex-wrap: wrap; }
.lweek__wk { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); background: var(--lime); padding: 0.4em 0.9em; border-radius: 100px; }
.lweek__wk b { font-family: var(--display); }
.lweek__time { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.92rem; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.lweek__time .ic { color: var(--lime); }
.lweek__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem 1.8rem; }
.lweek__list li { display: flex; align-items: baseline; gap: 1rem; padding: 0.85rem 0.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.lweek__d { font-family: var(--display); font-weight: 700; font-size: 0.95rem; color: var(--lime); flex: 0 0 6rem; }
.lweek__dish { color: rgba(255, 255, 255, 0.9); font-size: 0.97rem; line-height: 1.4; }
.lweek__list li.is-past { opacity: 0.42; }
.lweek__list li.is-past .lweek__d { color: rgba(255, 255, 255, 0.6); }
.lweek__list li.is-today { background: rgba(192, 209, 103, 0.16); border-bottom-color: transparent; border-radius: 10px; padding-left: 0.9rem; padding-right: 0.9rem; position: relative; }
.lweek__list li.is-today::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 3px; background: var(--lime); border-radius: 3px; }
.lweek__list li.is-today .lweek__d { color: #fff; }
.lweek__list li.is-today::after { content: "Tänään"; margin-left: auto; align-self: center; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: var(--lime); padding: 0.28em 0.6em; border-radius: 100px; flex: none; }
.lweek__note { margin-top: 1.5rem; display: flex; align-items: flex-start; gap: 0.55em; color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; }
.lweek__note .ic { color: var(--lime); flex: none; margin-top: 0.15em; }
@media (max-width: 760px) { .lweek__list { grid-template-columns: 1fr; } }

/* ============ MAJOITUS ============ */
.stay { background: var(--paper); }
.stay__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 10vw, 6.5rem) var(--pad); }
.stay__head { max-width: 640px; margin-bottom: 2.6rem; }
.stay__intro { color: var(--muted); margin-top: 1.2rem; }
.stay__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.scard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 24px 50px -38px rgba(40, 32, 20, 0.5); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.scard:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -34px rgba(40, 32, 20, 0.5); }
.ph--card { aspect-ratio: 3 / 2; border-radius: 0; }
.scard__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: 0.7rem; }
.scard__body h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.scard__body p { color: var(--muted); font-size: 0.94rem; }
.ticklist { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.3rem; }
.ticklist li { display: flex; align-items: flex-start; gap: 0.6em; font-size: 0.9rem; color: var(--ink); }
.ticklist .ic { color: var(--navy); width: 1.15em; height: 1.15em; margin-top: 0.15em; }
.scard__cta { align-self: flex-start; margin-top: 0.6rem; }
.stay__cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ============ CARAVAN (dark blue band) ============ */
.caravan { background: var(--navy); color: #fff; }
.caravan__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 10vw, 6.5rem) var(--pad); display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.cprice { margin: 2rem 0 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.cprow { display: flex; justify-content: space-between; gap: 1.2rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.94rem; color: rgba(255, 255, 255, 0.86); }
.cprow b { font-family: var(--display); font-weight: 700; color: #fff; white-space: nowrap; }
.caravan__note { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.92rem; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.caravan__note .ic { color: var(--lime); }
.ph--dark { aspect-ratio: 4 / 3; border-radius: 20px; }

/* ============ STORY / ARKKITEHTUURI ============ */
.story { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 10vw, 7rem) var(--pad); display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.story__media { position: sticky; top: 90px; }
.ph--tall { aspect-ratio: 4 / 5; border-radius: 20px; box-shadow: 0 30px 60px -34px rgba(40, 32, 20, 0.5); }
.story__tag { position: absolute; right: 14px; bottom: -16px; display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--navy); color: #fff; border-radius: 14px; padding: 0.85rem 1.3rem; box-shadow: 0 18px 32px -18px rgba(0, 0, 0, 0.35); border-left: 4px solid var(--lime); }
.story__tag b { font-family: var(--display); font-weight: 700; letter-spacing: 0.06em; font-size: 1.05rem; color: var(--lime); }
.story__tag i { font-style: normal; font-size: 0.78rem; color: rgba(255, 255, 255, 0.85); }
.story__text > p { color: var(--muted); margin-top: 1.3rem; }

/* ============ REVIEWS ============ */
.reviews { background: var(--paper-2); padding: clamp(4rem, 10vw, 6.5rem) 0; }
.reviews__head { max-width: 700px; margin: 0 auto 2.4rem; padding: 0 var(--pad); text-align: center; }
.reviews__rating { margin-top: 1rem; color: var(--muted); font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.5em; flex-wrap: wrap; }
.reviews__stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.reviews__stars .star-off, .reviews__stars .star-half { color: #dcc7a4; }
.reviews__rating b { color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.reviews__ph-note { margin-top: 0.8rem; font-size: 0.82rem; color: var(--muted); opacity: 0.85; }
.rev-marquee { overflow: hidden; padding: 0.5rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.rev-track { display: flex; gap: 1.1rem; width: max-content; animation: marquee 78s linear infinite; }
.rev-marquee:hover .rev-track { animation-play-state: paused; }
.rev { width: 340px; flex: none; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.85rem; box-shadow: 0 16px 34px -30px rgba(40, 32, 20, 0.4); }
.rev__stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; }
.rev__stars .star-off { color: #dcc7a4; }
.rev blockquote { color: var(--ink); font-size: 0.95rem; line-height: 1.55; }
.rev figcaption { display: flex; align-items: center; gap: 0.65rem; margin-top: auto; }
.rev figcaption b { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.rev__ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 700; background: var(--a, var(--navy)); flex: none; }
@media (prefers-reduced-motion: reduce) { .rev-track { animation: none; } .rev-marquee { overflow-x: auto; } }

/* ============ VISIT ============ */
.visit { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 9vw, 6rem) var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.visit__text p { color: var(--muted); margin-top: 1.2rem; max-width: 46ch; }
.visit__hours { margin: 2rem 0 0; border-top: 1px solid var(--line); }
.hrow { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.hrow span { color: var(--muted); }
.hrow b { font-family: var(--display); font-weight: 600; color: var(--ink); text-align: right; }
.visit__map { position: relative; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(40, 32, 20, 0.5); }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
/* Osoitekyltti on kartan yläreunassa, koska OpenStreetMapin omat linkit ja
   tekijätiedot ovat alareunassa eikä niiden päälle saa asettaa mitään. */
.visit__map-label { position: absolute; z-index: 3; top: 1.1rem; left: 1.1rem; pointer-events: none; display: inline-flex; align-items: center; gap: 0.4em; background: var(--card); border: 1px solid var(--line); padding: 0.6em 1em; border-radius: 100px; font-size: 0.85rem; font-weight: 700; }
.visit__map-label .ic { width: 1em; height: 1em; color: var(--navy); }
.visit__mapbtns { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }

/* ============ CONTACT ============ */
.contact { background: var(--paper-2); }
.contact__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 10vw, 6.5rem) var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.contact__text > p { color: var(--muted); margin-top: 1.2rem; max-width: 42ch; }
.contact__info { list-style: none; margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; }
.contact__info li { display: flex; align-items: center; gap: 0.7em; color: var(--ink); }
.contact__info .ic { color: var(--navy); flex: none; }
.contact__form { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.3rem); display: flex; flex-direction: column; gap: 1.4rem; box-shadow: 0 24px 50px -34px rgba(40, 32, 20, 0.4); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { position: relative; }
.field input, .field textarea { width: 100%; background: transparent; border: none; border-bottom: 1.5px solid var(--line); color: var(--ink); font-family: var(--sans); font-size: 1rem; padding: 0.8rem 0 0.5rem; outline: none; resize: none; }
.field textarea { min-height: 3rem; }
.field label { position: absolute; left: 0; top: 0.8rem; color: var(--muted); font-size: 1rem; pointer-events: none; transition: all 0.35s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: -0.7rem; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.field__line { position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.field input:focus ~ .field__line, .field textarea:focus ~ .field__line { transform: scaleX(1); }
.contact__reply { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.9rem; }
.contact__success { color: var(--navy); font-weight: 600; background: rgba(102, 170, 222, 0.16); border: 1px solid rgba(102, 170, 222, 0.5); padding: 0.9rem 1.1rem; border-radius: 12px; font-size: 0.93rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }   /* honeypot: pois ruudulta, ei display:none jotta botit yhä täyttävät sen */
/* Selectillä ja date/time-kentillä ei ole :placeholder-shown-tilaa, joten label
   nostetaan pysyvästi ylös. Muuten se olisi arvon päällä. */
.field--select select, .field--filled input { width: 100%; background: transparent; border: none; border-bottom: 1.5px solid var(--line); color: var(--ink); font-family: var(--sans); font-size: 1rem; padding: 0.8rem 0 0.5rem; outline: none; }
.field--select label, .field--filled label { top: -0.7rem; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.field--select select:focus ~ .field__line, .field--filled input:focus ~ .field__line { transform: scaleX(1); }
.group-fields { border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.15rem 1.2rem; background: var(--paper); display: flex; flex-direction: column; gap: 1.4rem; }
.group-fields__h { font-family: var(--display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.field__hint { display: block; margin-top: 0.5rem; font-size: 0.8rem; color: var(--muted); }
.acc__links { margin-top: 0.9rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .group-fields { padding: 0.9rem; gap: 1.2rem; } }

/* ============ GALLERY ============ */
.gallery { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 9vw, 6rem) var(--pad); }
.gallery__head { margin-bottom: 2.4rem; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; }
.gallery__item { position: relative; overflow: hidden; border-radius: 16px; box-shadow: 0 16px 34px -26px rgba(40, 32, 20, 0.5); }
.gallery__item .ph { border-radius: 16px; }
.gallery__item .ph > img { transition: transform 1s var(--ease); }
.gallery__item:hover .ph > img { transform: scale(1.07); }
.gallery__item::before { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(0deg, rgba(22, 35, 63, 0.65), transparent 55%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.gallery__item::after { content: attr(data-cap); position: absolute; left: 1rem; bottom: 0.9rem; z-index: 4; font-family: var(--display); font-weight: 700; font-size: 0.98rem; color: #fff; transform: translateY(10px); opacity: 0; transition: all 0.5s var(--ease); pointer-events: none; }
.gallery__item:hover::before, .gallery__item:hover::after { opacity: 1; }
.gallery__item:hover::after { transform: none; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item { opacity: 0; transform: scale(0.96); }
.gallery__item.is-in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }

/* ============ PARTNERS ============ */
.partners { background: var(--paper); padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 1px solid var(--line); }
.partners__label { text-align: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.6rem; }
.partners__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners__track { display: flex; align-items: center; gap: clamp(2rem, 5vw, 3.5rem); width: max-content; animation: marquee 42s linear infinite; }
.partners__row:hover .partners__track { animation-play-state: paused; }
.plogo-link { display: inline-flex; align-items: center; flex: none; }
.plogo { height: clamp(28px, 5vw, 40px); width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.55; transition: opacity 0.3s, filter 0.3s; flex: none; }
.plogo:hover { filter: grayscale(0); opacity: 1; }
.plogo[alt="K-Plussa"] { height: clamp(40px, 6.5vw, 56px); }
@media (prefers-reduced-motion: reduce) { .partners__track { animation: none; } .partners__row { overflow-x: auto; } }

/* ============ FOOTER ============ */
.footer { background: var(--navy); color: #fff; padding: clamp(3rem, 8vw, 5rem) var(--pad) 2rem; }
.footer__top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 2fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer__logo { height: 50px; width: auto; }
.footer__brand p { color: rgba(255, 255, 255, 0.66); margin-top: 1.2rem; max-width: 34ch; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); transition: background 0.3s, transform 0.3s, color 0.3s; }
.footer__social a:hover { background: var(--lime); color: var(--ink); transform: translateY(-2px); }
.footer__social .ic { width: 1.2rem; height: 1.2rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__cols h3 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); margin-bottom: 1.1rem; }
.footer__cols a { display: block; color: rgba(255, 255, 255, 0.66); padding: 0.35rem 0; transition: color 0.3s, transform 0.3s var(--ease); }
.footer__cols a:hover { color: #fff; transform: translateX(5px); }
.footer__bottom { max-width: var(--maxw); margin: 2rem auto 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; color: rgba(255, 255, 255, 0.5); font-size: 0.82rem; }
.footer__made { display: inline-flex; align-items: center; gap: 0.5em; }

/* ============ LANGUAGE SWITCHER ============ */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--sans); font-weight: 700; font-size: 0.82rem; color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 9px; padding: 0.5em 0.7em; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.nav.is-scrolled .lang__btn { color: var(--ink); border-color: var(--line); }
.lang__btn .ic { width: 1.05em; height: 1.05em; }
.lang__chev { transition: transform 0.3s; }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0.4rem; box-shadow: 0 20px 44px -20px rgba(40, 32, 20, 0.4); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.25s, transform 0.3s, visibility 0.25s; z-index: 120; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__opt { padding: 0.55rem 0.8rem; border-radius: 8px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.lang__opt.is-active { background: rgba(102, 170, 222, 0.18); color: var(--navy); }
.lang__opt--link { color: var(--ink); }
.lang__opt--link:hover { background: var(--paper-2); }
.lang__flag { font-size: 1.05em; line-height: 1; }
.flagi { width: 1.2em; height: auto; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18); }   /* SVG-lippu emojin tilalla, ks. script.js */
/* Mobiilissa kielivalikko on hampurilaisen sisällä lippusiruina (sama kuin MLA:lla) */
.mobile-menu__lang { margin-top: 1.4rem; }
.mm-langs { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.mm-lang { display: inline-flex; align-items: center; gap: 0.3em; padding: 0.32em 0.6em; border-radius: 100px; border: 1px solid rgba(255,255,255,0.28); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em; color: #fff; }
.mm-lang.is-active { background: var(--lime); color: var(--navy-d); border-color: var(--lime); }

/* ============ SECTION WAVES (light <-> dark transitions) ============ */
/* Dark sections get a wavy top/bottom edge that flows into the light section next to it.
   Pseudo-elements are positioned, so they paint over the neighbouring in-flow sections. */
.lunch, .caravan, .footer { position: relative; }
/* z-index 2: seuraava osio (.services--alt) on myös position:relative, joten se maalautuisi
   DOM-järjestyksen takia caravanin alareunan aallon päälle ja aalto katoaisi. */
.lunch::before, .caravan::before, .footer::before {
  content: ""; position: absolute; left: 0; bottom: calc(100% - 1px); width: 100%; height: 46px; pointer-events: none; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23244a8e' d='M0,48L0,26C240,44,480,8,720,22C960,36,1200,50,1440,26L1440,48Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.lunch::after, .caravan::after {
  content: ""; position: absolute; left: 0; top: calc(100% - 1px); width: 100%; height: 46px; pointer-events: none; transform: scaleY(-1); z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23244a8e' d='M0,48L0,26C240,44,480,8,720,22C960,36,1200,50,1440,26L1440,48Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

/* ============ NATURAL-ASPECT IMAGES (no crop, except hero) ============ */
.ph:has(> img) { aspect-ratio: auto; height: auto; padding: 0; background: none; border: none; box-shadow: none; }
.ph:has(> img)::after { display: none; }
.ph > img { position: static; inset: auto; width: 100%; height: auto; object-fit: fill; z-index: auto; border-radius: inherit; cursor: zoom-in; }
.lunch__photo:has(img) { aspect-ratio: auto; }
.ph--card { border-radius: 0; }

/* ============ GALLERY: masonry, natural aspect, load-more, clickable ============ */
.gallery__grid { display: block; column-count: 4; column-gap: 1rem; grid-template-columns: none; }
.gallery__item { display: block; width: 100%; margin: 0 0 1rem; break-inside: avoid; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 34px -26px rgba(40, 32, 20, 0.5); cursor: zoom-in; opacity: 1; transform: none; }
.gallery__item img { width: 100%; height: auto; display: block; transition: transform 0.8s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item::before, .gallery__item::after { content: none; }
.gallery__item.is-more { display: none; }
.gallery__item.is-more.is-shown { display: block; }
.gallery__more-wrap { text-align: center; margin-top: 1.8rem; }
.gallery__more { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--sans); font-weight: 700; font-size: 0.9rem; color: var(--navy); background: var(--card); border: 1px solid var(--line); border-radius: 100px; padding: 0.7em 1.4em; cursor: pointer; transition: background 0.3s, color 0.3s, transform 0.3s; }
.gallery__more:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.gallery__more[hidden] { display: none; }
@media (max-width: 980px) { .gallery__grid { column-count: 3; } }
@media (max-width: 640px) { .gallery__grid { column-count: 2; } }

/* ============ LIGHTBOX (any image) ============ */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 4vw; background: rgba(18, 26, 40, 0.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox.is-open { display: grid; animation: lbIn 0.25s var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__img { max-width: min(94vw, 1100px); max-height: 90vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7); }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.5rem; width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; transition: background 0.3s, transform 0.3s; }
.lightbox__close:hover { background: rgba(255, 255, 255, 0.32); transform: rotate(90deg); }

/* ============ LIGHT-TO-LIGHT WAVES (paper-2 sections into paper) ============ */
.reviews, .contact, .services--alt { position: relative; }
.reviews::before, .contact::before, .reviews::after, .contact::after, .services--alt::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 40px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23ece5d6' d='M0,48L0,26C240,44,480,8,720,22C960,36,1200,50,1440,26L1440,48Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.reviews::before, .contact::before { bottom: 100%; }
.reviews::after, .contact::after, .services--alt::after { top: 100%; transform: scaleY(-1); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .acc { grid-template-columns: 1fr; }
  .stay__grid { grid-template-columns: 1fr; max-width: 460px; }
  .footer__top { grid-template-columns: 1fr; }
  .caravan__inner, .lunch__inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__links, .nav .btn--nav { display: none; }
  .nav__burger { display: block; }
  .story { grid-template-columns: 1fr; }
  .story__media { position: relative; top: 0; max-width: 420px; }
  .lunch__side { max-width: 520px; }
  .visit { grid-template-columns: 1fr; }
  .visit__mapwrap { max-width: 480px; }
  .contact__inner { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .lang { display: none; }
}
@media (max-width: 560px) {
  .footer__cols { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr; gap: 1rem; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item--wide { grid-column: span 2; }
  .hero__hours { flex-wrap: wrap; column-gap: 1rem; row-gap: 0.3rem; font-size: 0.85rem; }
  .acc__hours { display: none; }
  .lweek__list li.is-today::after { display: none; }
}

/* ============ PALVELUT: vertical service cards (matiski-style, navy accent) ============ */
/* single column so opening a card expands in place, no teleport */
.acc--bento { display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem; max-width: 880px; margin: 0 auto; }
.acc--bento .acc__item { position: relative; overflow: hidden; border-radius: 16px; transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
/* navy accent bar that grows in on hover/open */
.acc--bento .acc__item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--navy); transform: scaleY(0); transform-origin: top; transition: transform 0.35s var(--ease); z-index: 3; }
.acc--bento .acc__item:hover, .acc--bento .acc__item[open] { border-color: var(--navy); box-shadow: 0 22px 40px -26px rgba(40, 32, 20, 0.5); }
.acc--bento .acc__item:hover:not([open]) { transform: translateY(-2px); }
.acc--bento .acc__item:hover::before, .acc--bento .acc__item[open]::before { transform: scaleY(1); }
/* summary row: icon medallion | title + teaser | hours | chevron */
.acc--bento .acc__item summary { display: flex; align-items: center; flex-wrap: wrap; gap: 0.85rem 1rem; padding: 1.05rem 1.35rem; }
.acc--bento .acc__ic { box-sizing: border-box; width: 3rem; height: 3rem; padding: 0.62rem; border-radius: 13px; background: rgba(36, 74, 142, 0.12); color: var(--navy); flex: none; transition: background 0.3s, color 0.3s; }
.acc--bento .acc__item:hover .acc__ic, .acc--bento .acc__item[open] .acc__ic { background: var(--navy); color: #fff; }
.acc--bento .acc__head { flex: 1 1 12rem; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.acc--bento .acc__title { flex: none; font-size: 1.2rem; }
.acc--bento .acc__teaser { font-size: 0.88rem; color: var(--muted); line-height: 1.35; }
.acc--bento .acc__hours { flex: none; }
.acc--bento .acc__chev { flex: none; }
@media (max-width: 560px) { .acc--bento .acc__hours { display: inline-flex; } }

/* ============ HERO: crossfade aerial <-> ravintola_2 ============ */
.hero__img--2 { opacity: 0; z-index: 0; animation: heroCross 16s var(--ease) infinite; }
@keyframes heroCross { 0%, 8% { opacity: 0; } 42%, 58% { opacity: 1; } 92%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__img--2 { animation: none; opacity: 0; } }

/* Accommodation cards: uniform 3:2 crop so the three cards line up (thumbnails, like the hero exception) */
.ph--card:has(> img) { aspect-ratio: 3 / 2; }
.ph--card > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }

/* hidden must beat the media bar's display:flex */
[hidden] { display: none !important; }

/* ============ SMALL BUTTON + REVIEW CTA ============ */
.btn--sm { padding: 0.6em 1.15em; font-size: 0.85rem; border-radius: 9px; }
.reviews__cta { display: flex; justify-content: center; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.2rem; }

/* ============ MEDIA MODE (kuvapankki, matiski-style) ============ */
.gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 0 1.5rem; flex-wrap: wrap; }
/* .sign omalle riville, jotta otsikko jaa vasempaan reunaan kuten muissa osioissa
   eika keskelle sign-merkin ja Medialle-napin valiin */
.gallery__head .sign { flex-basis: 100%; }
.gallery__mediabtn { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--sans); font-weight: 700; font-size: 0.82rem; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 100px; padding: 0.55em 1.1em; cursor: pointer; transition: color .3s, border-color .3s, background .3s; }
.gallery__mediabtn .ic { width: 1.05em; height: 1.05em; }
.gallery__mediabtn:hover { color: var(--navy); border-color: var(--navy); }
.gallery.media-mode .gallery__mediabtn { color: #fff; background: var(--navy); border-color: var(--navy); }
.gallery__bar { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem 1.4rem; flex-wrap: wrap; margin: 0 0 1.6rem; padding: 0.85rem 1.15rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.gallery__bar-info { font-size: 0.9rem; color: var(--muted); max-width: 62ch; }
.gallery__bar-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.gallery__credit { display: flex; align-items: center; gap: 0.5em; margin-top: 1.3rem; font-size: 0.85rem; color: var(--muted); }
.gallery__credit .ic { color: var(--navy); }
.gallery__item { position: relative; }
.gallery.media-mode .gallery__item { cursor: pointer; }
.gallery__pick { position: absolute; top: 10px; right: 10px; z-index: 4; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.9); box-shadow: 0 2px 8px rgba(0,0,0,0.35); display: none; place-items: center; color: transparent; }
.gallery.media-mode .gallery__pick { display: grid; }
.gallery__pick .ic { width: 18px; height: 18px; }
.gallery.media-mode .gallery__item.is-picked .gallery__pick { background: var(--navy); color: #fff; }
.gallery.media-mode .gallery__item.is-picked { outline: 3px solid var(--navy); outline-offset: -3px; }
.gallery.media-mode .gallery__item.is-more { display: block; }
.gallery.media-mode .gallery__more-wrap { display: none; }

/* ============ ACCORDION MULTI-IMAGE GALLERY ============ */
.acc__gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-top: 1.1rem; }
.acc__gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); cursor: zoom-in; }
@media (max-width: 620px) { .acc__gallery { grid-template-columns: repeat(2, 1fr); } }
/* Lounaskuvien nauha (sama kuin MLA:lla): yhtenäinen 4:3, koko kuva lightboxissa */
.lunch__gallery { max-width: var(--maxw); margin: 0 auto clamp(2rem, 5vw, 3rem); padding: 0 var(--pad); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.lphoto { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); margin: 0; }
.lphoto img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 0.8s var(--ease); }
.lphoto:hover img { transform: scale(1.06); }
@media (max-width: 640px) { .lunch__gallery { grid-template-columns: 1fr 1fr; } }

/* Tankkaus: kaksi kuvaa isompina samalla rivillä */
.acc__gallery--two { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.acc__gallery--two img { aspect-ratio: 4 / 3; }

/* ============ SIGNATURE DISH (à la carte highlight) ============ */
.dish { display: flex; gap: 1.1rem; align-items: center; margin: 1.1rem 0; padding: 0.9rem; background: rgba(36, 74, 142, 0.05); border: 1px solid var(--line); border-radius: 14px; }
/* Kuhafilee-kuva on 1080x1920 eli 9:16. Neliökehys leikkasi siitä valtaosan pois. */
.dish img { width: 108px; aspect-ratio: 9 / 16; height: auto; object-fit: cover; border-radius: 12px; flex: none; cursor: zoom-in; }
.dish__tag { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--lime-d); }
.dish__tag .ic { width: 1em; height: 1em; }
.dish__name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin: 0.3rem 0; }
.dish__desc { color: var(--muted); font-size: 0.92rem; margin: 0; }
@media (max-width: 560px) { .dish { flex-direction: column; align-items: center; } .dish img { width: 150px; } }

/* Sähköpyöräkuva on 1200x1600 pystykuva ja vei täysleveänä puoli ruutua.
   Rajataan 4:3-kehykseen ja näytetään alaosa, eli pyörä, ei yläilmoja. */
.ph--acc.ph--bike:has(> img) { max-width: 340px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; }
.ph--bike > img { height: 100%; object-fit: cover; object-position: center 78%; }

/* Caravanin otsikko oli kiinni leipätekstissä: lounasosiolla oli tämä sääntö, caravanilla ei. */
.caravan__text > p { margin-top: 1.2rem; max-width: 52ch; }

/* ============ HERO AWARD BADGE ============ */
.hero__award { position: absolute; z-index: 3; right: var(--pad); top: clamp(5.5rem, 12vw, 8rem); width: clamp(112px, 15vw, 172px); height: auto; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.4)); }
.hero__award img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) {
  .hero__award { width: 64px; top: auto; bottom: 1rem; right: 1rem; }
  .hero__hours { padding-right: 80px; }   /* tilaa oikean alakulman awardille */
}
/* hero-napit vierekkäin puhelimessa: pinottuina ne veivät kolmanneksen kuvasta */
@media (max-width: 560px) {
  .hero__actions { flex-wrap: nowrap; gap: 0.5rem; }
  .hero__actions .btn { font-size: 0.8rem; padding: 0.75em 1em; gap: 0.4em; }
}

/* ============ VIIKON PAIVAMAARAVALI ============ */
.lweek__dates { font-size: 0.92rem; font-weight: 600; color: rgba(255, 255, 255, 0.72); }

/* ============ TERVETULOA (ennen footeria) ============ */
.welcome { background: var(--paper); padding: clamp(3rem, 8vw, 5.5rem) var(--pad) clamp(3.5rem, 9vw, 6rem); text-align: center; overflow: hidden; }
.welcome__word { font-family: var(--serif); font-weight: 800; font-style: italic; font-size: clamp(3rem, 13vw, 9rem); line-height: 0.95; letter-spacing: -0.02em; color: var(--ink); }
.welcome__word span { color: var(--lime-d); }
.welcome__rule { display: block; width: clamp(70px, 12vw, 130px); height: 3px; margin: 1.5rem auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--sky), var(--navy)); }
.welcome__sub { margin-top: 1.3rem; font-family: var(--display); font-weight: 600; font-size: clamp(0.9rem, 1.7vw, 1.05rem); color: var(--muted); }
@media (max-width: 560px) { .welcome__word { font-size: 2.9rem; } }

/* ============ VARAUSNAPPI MOBIILIVALIKOSSA ============ */
/* Navin nappi piiloutuu alle 860 px:n, joten varaus loytyy burger-valikosta. */
.mobile-menu__book { margin-bottom: 1.6rem; }

/* ============ HERON VIERITYSVIHJE MOBIILISSA ============ */
/* Nuoli oli piilotettu kokonaan puhelimessa, mutta juuri siella sita tarvitaan:
   sisalto jatkuu ruudun alapuolella eika sita muuten huomaa. */
@media (max-width: 860px) {
  .hero__scroll { display: grid; width: 38px; height: 38px; bottom: 1rem; }
  .hero__scroll .ic { width: 1.25rem; height: 1.25rem; }
  /* nuoli on absoluuttinen, joten sisallolle varataan sen verran tilaa alas:
     kapealla puhelimella osoiterivi rivittyi kahdelle riville ja meni nuolen alle */
  .hero__inner { padding-bottom: 5.4rem; }
}
