*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.demo-back {
  position: fixed;
  top: max(12px, env(safe-area-inset-top, 0px));
  left: max(12px, env(safe-area-inset-left, 0px));
  z-index: 10000;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(12, 15, 13, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: var(--muted);
  /* ei backdrop-filteriä: rikkoo position:fixed joillain mobiiliselaimilla */
}
.demo-back:hover { color: var(--text); background: rgba(12, 15, 13, 0.78); }

.topbar {
  background: #080a09;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 8px 0;
}
.topbar a:hover { color: var(--text); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 22, 20, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border: 2px solid var(--brand-2);
  border-radius: 50%;
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-left: 2px solid var(--brand-2);
  transform: rotate(25deg);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}
.nav a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--text); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: none;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  cursor: pointer;
}
.btn:hover { background: var(--brand-2); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--brand-2); background: rgba(61, 92, 74, 0.2); }
.header-cta { white-space: nowrap; }

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand-2);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 12px;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
.lead, .section-lead, p { color: var(--muted); }
.section { padding: 64px 0; }
.section-soft { background: var(--bg-2); }
.page-hero {
  padding: 48px 0 28px;
  background: linear-gradient(180deg, #1a211d, var(--bg));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 8px; }
.crumbs { color: var(--muted); font-size: 0.9rem; }
.crumbs a:hover { color: var(--text); }

.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  background: center/cover no-repeat var(--hero);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,9,0.35), rgba(8,10,9,0.82));
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 48px 0 56px;
  max-width: 640px;
}
.hero-copy h1 { color: #fff; }
.hero-copy .lead { color: #d5ddd7; max-width: 48ch; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.split-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}
.story-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.story-photos span {
  min-height: 180px;
  border-radius: 6px;
  background: center/cover no-repeat #222;
  border: 1px solid var(--line);
}
.story-photos .a { background-image: var(--story-a); }
.story-photos .b { background-image: var(--story-b); }

.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--text);
}
.price-list span { color: var(--muted); }
.price-list strong { color: var(--brand-2); white-space: nowrap; }

.hours-band {
  padding: 28px 0;
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.hours-days {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hours-days span {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--line);
  color: var(--muted);
}
.hours-days .is-open {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.hours-note {
  text-align: center;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.accordion details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.accordion summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--brand-2); font-size: 1.2rem; }
.accordion details[open] summary::after { content: "–"; }
.accordion p { margin: 10px 0 4px; }

.style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.style-grid span {
  aspect-ratio: 1;
  border-radius: 6px;
  background: center/cover no-repeat #222;
  border: 1px solid var(--line);
}
.style-grid .s1 { background-image: var(--s1); }
.style-grid .s2 { background-image: var(--s2); }
.style-grid .s3 { background-image: var(--s3); }
.style-grid .s4 { background-image: var(--s4); }

.coupon {
  margin: 10px 0;
  padding: 22px 18px;
  text-align: center;
  background: var(--brand);
  color: #fff;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  clip-path: polygon(0 8%, 3% 0, 97% 0, 100% 8%, 100% 92%, 97% 100%, 3% 100%, 0 92%);
}

.review-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}
.review-card p { margin: 0 0 12px; color: var(--text); }
.review-card strong { display: block; color: var(--brand-2); }
.team-card { text-align: center; }
.team-card .avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: center/cover no-repeat #333;
  border: 2px solid var(--brand);
}
.team-card .a1 { background-image: var(--t1); }
.team-card .a2 { background-image: var(--t2); }
.team-card .a3 { background-image: var(--t3); }

.promo-band {
  padding: 48px 0;
  text-align: center;
  background: linear-gradient(135deg, #101412, #1c2620);
  border-block: 1px solid var(--line);
}
.promo-band strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.08em;
  color: var(--brand-2);
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-page-grid span {
  min-height: 220px;
  border-radius: 8px;
  background: center/cover no-repeat #222;
  border: 1px solid var(--line);
}
.gallery-page-grid .g1 { background-image: var(--g1); }
.gallery-page-grid .g2 { background-image: var(--g2); }
.gallery-page-grid .g3 { background-image: var(--g3); }
.gallery-page-grid .g4 { background-image: var(--g4); }
.gallery-page-grid .g5 { background-image: var(--g5); }
.gallery-page-grid .g6 { background-image: var(--g6); }

.price-table {
  width: 100%;
  border-collapse: collapse;
}
.price-table th,
.price-table td {
  text-align: left;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
}
.price-table th { color: var(--brand-2); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.price-table td:last-child { text-align: right; color: var(--text); font-weight: 700; }

.contact-layout,
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.contact-form,
.book-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.contact-form label,
.book-panel label { display: grid; gap: 6px; font-size: 0.92rem; color: var(--muted); }
.contact-form input,
.contact-form textarea,
.book-panel input,
.book-panel select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #141916;
}
.hours-list { list-style: none; margin: 18px 0 0; padding: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.week-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.week-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.week-table th,
.week-table td {
  border: 1px solid var(--line);
  padding: 8px 4px;
  text-align: center;
}
.week-table th { background: #161b18; font-size: 0.72rem; letter-spacing: 0.04em; }
.week-slot {
  width: 100%;
  padding: 8px 4px;
  border: none;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  border-radius: 2px;
}
.week-slot.is-off,
.week-slot:disabled {
  background: #2a312d;
  color: var(--muted);
  cursor: not-allowed;
}
.week-slot.is-on { outline: 2px solid #fff; }

.site-footer {
  margin-top: 40px;
  padding: 48px 0 28px;
  background: #0a0c0b;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.footer-grid p { margin: 8px 0 0; }
.footer-grid a { display: inline-block; margin: 4px 0; color: var(--muted); }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.partner-note { font-size: 0.85rem; color: var(--muted); }

.fab-calendar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.fab-calendar:hover { background: var(--brand-2); }
body[data-hide-fab] .fab-calendar { display: none; }

.modal[hidden] { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}
.modal-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 20px 24px;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.6rem;
  cursor: pointer;
}
.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
}
.cal-head button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-wd {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
}
.cal-day {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: #151916;
  color: var(--text);
  cursor: pointer;
  border-radius: 4px;
}
.cal-day.is-empty { visibility: hidden; }
.cal-day.is-off,
.cal-day:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.cal-day.is-on {
  background: var(--brand);
  border-color: var(--brand);
}
.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.slot {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: #151916;
  color: var(--text);
  cursor: pointer;
  border-radius: 4px;
}
.slot.is-on { background: var(--brand); border-color: var(--brand); }
.book-form { display: grid; gap: 10px; }
.book-form label { display: grid; gap: 6px; color: var(--muted); font-size: 0.92rem; }
.book-form input,
.book-form select {
  padding: 11px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #141916;
}
.reveal { opacity: 0; transform: translateY(14px); transition: 0.45s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .split-2,
  .services-grid,
  .contact-layout,
  .booking-layout,
  .footer-grid,
  .review-grid,
  .team-grid { grid-template-columns: 1fr; }
  .style-grid,
  .gallery-page-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    background: #121614;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .header-inner { position: relative; flex-wrap: wrap; }
  .header-cta { order: 2; margin-left: auto; }
}
@media (max-width: 560px) {
  .style-grid,
  .gallery-page-grid,
  .story-photos { grid-template-columns: 1fr; }
  .hours-days span { width: 48px; height: 48px; font-size: 0.62rem; }
}
