:root {
  --bg: #f7f8f4;
  --bg-alt: #eaeee4;
  --ink: #24312a;
  --muted: #5e6b60;
  --accent: #46654b;
  --accent-dark: #33492f;
  --line: #dbe1d3;
  --radius: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -5%, rgba(70, 101, 75, 0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(70, 101, 75, 0.07), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}

a { color: inherit; text-decoration: none; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 244, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 600;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}
.nav a { color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
}
.nav-cta:hover { background: var(--accent-dark); }

/* HERO */
.hero { padding: 80px 0 90px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 16px;
}
.eyebrow.center { text-align: center; }
.hero-text h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-alt); }

.hero-media { display: flex; justify-content: center; }
.hero-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 440px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(36, 49, 42, 0.18);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -80px 90px -40px rgba(36, 49, 42, 0.35);
  pointer-events: none;
}
.hero-photo img,
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* SECTIONS */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-title.center { text-align: center; }
.section-intro {
  color: var(--muted);
  max-width: 54ch;
  font-size: 1.05rem;
}
.section-intro.center { margin: 0 auto 8px; text-align: center; }
.section-intro.small { font-size: 0.92rem; margin-top: 36px; }

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.section-alt .card { background: #fff; }
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; font-size: 0.96rem; }
.text-highlight {
  background: #f0e6b8;
  color: var(--ink);
  padding: 0.1em 0.2em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(36, 49, 42, 0.14);
}
.about-text p { color: var(--muted); }
.creds {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}
.creds li {
  padding-left: 26px;
  position: relative;
  color: var(--ink);
}
.creds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* PRICING */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.price-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  background: var(--bg);
}
.price-item h3 { font-size: 1.15rem; }
.price {
  font-family: "Fraunces", serif;
  font-size: 1.9rem;
  color: var(--accent-dark);
  margin: 12px 0 6px;
}
.price-unit { display: inline-block; font-size: 1rem; color: var(--muted); }
.price-note { color: var(--muted); margin: 0; font-size: 0.9rem; }

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-grid p { color: var(--muted); }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
}
.contact-list li {
  display: grid;
  gap: 2px;
}
.contact-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
}
.contact-value { display: block; }
.contact-list a { font-size: 1.05rem; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-note { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* FOOTER */
.site-footer {
  padding: 32px 0;
  background: var(--accent-dark);
  color: #dbe4d6;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #cdd8c8;
  font-size: 0.9rem;
}
.footer-copy { margin: 0; }
.footer-up { color: #fff; }
.footer-up:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; }
  .hero-photo { max-width: 340px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 60px; }
  .section { padding: 60px 0; }
}

/* ===== index.html — lisäluokat ===== */
.cards.cards-3 { grid-template-columns: repeat(3, 1fr); }
.pricing.pricing-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.narrow { max-width: 760px; }
.narrow p { color: var(--muted); }

.note {
  border-left: 3px solid var(--accent);
  background: rgba(70, 101, 75, 0.06);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 28px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 44px auto 28px;
  max-width: 440px;
  columns: 1;
}
.info-list-label {
  max-width: 440px;
  margin: 40px auto 0;
  font-size: 1.2rem;
  text-align: center;
}
.info-list-label + .info-list { margin-top: 18px; }
.info-list li {
  break-inside: avoid;
  padding: 0 0 14px 26px;
  position: relative;
  color: var(--ink);
}
.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.link-arrow {
  color: var(--accent-dark);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.link-arrow:hover { border-color: var(--accent-dark); }

.page-hero {
  padding-top: 72px;
  padding-bottom: 24px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.page-hero .lead { margin: 0 auto; max-width: 54ch; }
.reception-details { padding-top: 24px; }
.booking-calendar { width: 100%; min-height: 540px; }
.booking-fallback { text-align: center; color: var(--muted); font-size: 0.9rem; }

.cta-band { background: var(--bg-alt); }
.center-cta {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.center-cta p { color: var(--muted); margin-bottom: 28px; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* Sisältöelementit: prose, steps, taulukko, FAQ */
.prose h2 { margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); }
.prose ul:not(.info-list):not(.creds):not(.steps) {
  color: var(--muted);
  padding-left: 22px;
  margin: 18px 0;
}
.prose ul:not(.info-list):not(.creds):not(.steps) li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 36px 0;
  display: grid;
  gap: 24px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 62px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
}
.steps h3 { margin-bottom: 6px; font-size: 1.2rem; }
.steps p { color: var(--muted); margin: 0; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 20px;
}
.price-table th,
.price-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.price-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
}
.price-table td { color: var(--muted); }
.price-table td:first-child { color: var(--ink); font-weight: 500; }
.price-table td:last-child { color: var(--accent-dark); font-weight: 600; white-space: nowrap; }

.faq { margin: 28px 0; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 32px 18px 0;
  position: relative;
  font-family: "Fraunces", serif;
  font-size: 1.12rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > p {
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 68ch;
}

/* Kriisi-info -kaista */
.crisis-band {
  background: #f4ede2;
  border-top: 1px solid #e6dcc9;
}
.crisis {
  margin: 0 auto;
  padding: 20px 0;
  max-width: 820px;
  font-size: 0.9rem;
  color: #6b5836;
  text-align: center;
}
.crisis strong { color: #7a5a24; }
.crisis a { color: #7a5a24; text-decoration: underline; }

/* Laajennettu footer */
.footer-left { display: grid; gap: 8px; }
.footer-privacy {
  margin: 0;
  font-size: 0.8rem;
  color: #a9b7a4;
  max-width: 62ch;
  line-height: 1.5;
}
.footer-privacy a { color: #fff; text-decoration: underline; }

@media (max-width: 900px) {
  .cards.cards-3 { grid-template-columns: 1fr; }
  .pricing.pricing-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .info-list { columns: 1; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .price-table th,
  .price-table td { padding: 12px 6px; }
  .price-table th:first-child,
  .price-table td:first-child { padding-left: 0; hyphens: auto; }
  .price-table th:last-child,
  .price-table td:last-child { padding-right: 0; }
  .price-table td:nth-child(2) { white-space: nowrap; }
}

/* Mobiilivalikko (hampurilainen, CSS-only) */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.nav-burger { display: none; }

@media (max-width: 900px) {
  .header-inner { position: relative; }
  .nav-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 -10px 0 auto;
    cursor: pointer;
  }
  .nav-burger span,
  .nav-burger span::before,
  .nav-burger span::after {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s;
  }
  .nav-burger span { position: relative; }
  .nav-burger span::before { position: absolute; left: 0; top: -8px; }
  .nav-burger span::after { position: absolute; left: 0; top: 8px; }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 44px rgba(36, 49, 42, 0.12);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.28s ease, opacity 0.2s ease, visibility 0.28s;
  }
  .nav a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .nav a[aria-current="page"] { color: var(--accent-dark); }
  .nav-cta {
    text-align: center;
    margin-top: 16px;
    border-bottom: none;
    color: #fff;
  }

  .nav-toggle:checked ~ .nav {
    max-height: min(420px, calc(100dvh - 72px));
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }
  .nav-toggle:checked ~ .nav-burger span { background: transparent; }
  .nav-toggle:checked ~ .nav-burger span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span::after { top: 0; transform: rotate(-45deg); }
  .nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
}

/* ===== Miten työskentelen — kuva + teksti ===== */
.work-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 52px;
  align-items: center;
}
.work-text p { color: var(--muted); }
.work-figure { margin: 0; text-align: center; }
.work-photo {
  aspect-ratio: 9 / 16;
  max-width: 260px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(36, 49, 42, 0.14);
}
.work-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work-figure figcaption {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}
@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; gap: 32px; }
  .work-photo { max-width: 240px; }
}
