/* Layout: centered logo masthead, full-width nav band beneath, calm single-column pages with split image/text rows */
:root {
  --bg: #f3ece1;
  --surface: #fffdf9;
  --ink: #3a3631;
  --muted: #6e655c;
  --line: #ecdcdc;
  --accent: #93535b;
  --accent-soft: #f4e3e3;
  --nav: #e8c8c8;
  --nav-ink: #3a3631;
  --ph-a: #f5e8e8;
  --ph-b: #eedcdc;
  --shadow: rgba(90, 50, 55, 0.35);
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-script: "Dancing Script", "Segoe Script", "Brush Script MT", cursive;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1d1b18; --surface: #25221e; --ink: #ede7dd; --muted: #b3a898; --line: #3f3335;
    --accent: #e3aeb3; --accent-soft: #382a2c; --nav: #3a2b2d; --nav-ink: #ede7dd;
    --ph-a: #2f2628; --ph-b: #282022; --shadow: rgba(0, 0, 0, 0.6); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1d1b18; --surface: #25221e; --ink: #ede7dd; --muted: #b3a898; --line: #3f3335;
  --accent: #e3aeb3; --accent-soft: #382a2c; --nav: #3a2b2d; --nav-ink: #ede7dd;
  --ph-a: #2f2628; --ph-b: #282022; --shadow: rgba(0, 0, 0, 0.6); color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; max-width: 65ch; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }

/* Header */
.masthead { background: var(--surface); border-bottom: 1px solid var(--line); }
.masthead .wrap { display: flex; justify-content: center; padding-block: 28px 24px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  border: 1.5px dashed var(--muted); display: grid; place-items: center;
  font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.logo-text { display: flex; flex-direction: column; }
.logo-text { align-items: center; gap: 2px; }
.logo-name { font-family: var(--font-script); font-weight: 600; font-size: clamp(2.4rem, 7vw, 3.4rem); line-height: 1; color: var(--accent); }
.logo-sub { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

nav.site-nav { background: var(--nav); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; }
nav.site-nav ul { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; max-width: 1080px; }
nav.site-nav a {
  display: block; padding: 14px 22px; color: var(--nav-ink); text-decoration: none;
  font-weight: 500; font-size: 0.95rem; letter-spacing: 0.04em;
  border-bottom: 3px solid transparent; transition: border-color .2s, opacity .2s; opacity: .8;
}
nav.site-nav a:hover { opacity: 1; }
nav.site-nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--accent); }

/* Placeholder image */
.ph {
  width: 100%; max-width: 100%; border-radius: 6px;
  background: repeating-linear-gradient(135deg, var(--ph-a) 0 14px, var(--ph-b) 14px 28px);
  display: grid; place-items: center; color: var(--muted);
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 12px;
}
.ph-wide { aspect-ratio: 16 / 7; }
.ph-photo { aspect-ratio: 4 / 5; }
.ph-square { aspect-ratio: 1; }

/* Pages */
main { padding-block: 48px 72px; }
.page { display: flex; flex-direction: column; gap: 64px; }
.section { display: flex; flex-direction: column; gap: 20px; }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero > div, .split > div { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.split.reverse { grid-template-columns: 1.3fr 1fr; }

.btn {
  display: inline-block; align-self: flex-start; background: var(--accent); color: var(--surface);
  padding: 12px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; border: 0;
  font: inherit; font-weight: 600; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }


.band { background: var(--nav); color: var(--nav-ink); border-radius: 8px; padding: 40px clamp(20px, 5vw, 56px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

.creds { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.creds li { padding: 14px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.creds strong { font-weight: 600; }
.creds span { color: var(--muted); font-size: 0.95rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-grid > * { min-width: 0; }
.info { display: flex; flex-direction: column; gap: 22px; }
.info dl { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.info dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.info dd { margin: 0; overflow-wrap: anywhere; }

footer { border-top: 1px solid var(--line); background: var(--surface); }
footer .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.88rem; color: var(--muted); }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 4px; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--nav); color: var(--accent);
  font-family: var(--font-body); font-size: 1.3rem; line-height: 1; transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-answer { padding: 0 4px 22px; color: var(--muted); }

/* Collage (Minusta) */
.collage {
  display: grid; grid-template-columns: repeat(12, 1fr);
  width: 100%; max-width: 900px; margin-inline: auto; padding: 16px 14px 28px;
}
.collage .ph {
  grid-row: 1; aspect-ratio: 4 / 3; border: 8px solid var(--surface); border-radius: 4px;
  box-shadow: 0 10px 28px -12px var(--shadow);
}
.collage .ph:nth-child(1) { grid-column: 1 / 9; transform: rotate(-3deg); z-index: 1; }
.collage .ph:nth-child(2) { grid-column: 6 / 13; margin-top: 22%; transform: rotate(2.5deg); z-index: 2; }

/* Hinnasto */
.price-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 820px; }
.price-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 6px 32px; align-items: baseline;
  padding: 20px 4px; border-bottom: 1px solid var(--line);
}
.price-name { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.price-name strong { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; line-height: 1.35; }
.price-name span { color: var(--muted); font-size: 0.95rem; }
.price-duration { color: var(--muted); font-size: 0.95rem; white-space: nowrap; }
.price-amount { font-weight: 600; font-size: 1.15rem; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; min-width: 4.5em; }
.price-note { color: var(--muted); font-size: 0.95rem; }

/* Tietosuojaseloste */
.policy { display: flex; flex-direction: column; gap: 36px; max-width: 760px; }
.policy .section { gap: 12px; }
.policy p + p { margin-top: 4px; }

footer a { color: var(--accent); }

@media (max-width: 760px) {
  .hero, .split, .split.reverse, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .creds { grid-template-columns: 1fr; }
  nav.site-nav a { padding: 12px 14px; }
  .hero > .ph-photo, .split > .ph-photo { max-width: 480px; justify-self: center; }
  .price-row { grid-template-columns: 1fr auto; }
  .price-name { grid-column: 1 / -1; }
  .collage .ph { border-width: 5px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
body { margin: 0; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
img.ph { display: block; object-fit: cover; padding: 0; background: none; }

/* Footer contact line */
footer .nap { flex-basis: 100%; }
