/* ==========================================================================
   miskas — theme: atelier-serif (beauty-wellness group, skeleton S2 split
   panel), adapted from its hair-salon framing to a small sauna/wellness
   studio.
   Palette: blush #F3E3DD · warm cream #FBF6F1 (primary bg) · deep plum
            #4A2C3A (primary text + dark bands) · soft copper accent
            #B4746B (decorative only) · AA-safe copper text #8C4A40
   Type:    Fraunces (variable, display, soft optical size + italic accents)
            / Karla (variable, body)
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/fraunces-var-normal-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("assets/fonts/fraunces-var-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("assets/fonts/karla-var-latin.woff2") format("woff2");
}

:root {
  --blush: #F3E3DD;         /* warm secondary background */
  --cream: #FBF6F1;         /* primary background — 11.42:1 with plum */
  --plum: #4A2C3A;          /* primary text + dark band background */
  --plum-soft: #6E4E5C;     /* secondary text on cream/blush — 5.7:1+ */
  --copper: #B4746B;        /* decorative accent only — fails AA as text */
  --copper-text: #8C4A40;   /* AA-safe copper for links/labels — 6.17:1 on cream */
  --cream-on-plum: #FBF6F1; /* 11.42:1 on plum */
  --blush-on-plum: #F3E3DD; /* 9.83:1 on plum */
  --focus: #8C4A40;
  --display: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --body: "Karla", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.25rem);
  --measure: 60ch;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--plum);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--blush); color: var(--plum); }

a { color: var(--copper-text); text-underline-offset: 3px; }
a:hover { color: var(--plum); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--plum);
  color: var(--cream-on-plum);
  padding: 0.6rem 1rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.85rem;
}
.skip-link:focus-visible { left: 0.5rem; top: 0.5rem; }

/* ------------------------------------------------------------------ draft */

.draft-banner {
  display: block;
  background: var(--plum);
  color: var(--cream-on-plum);
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  padding: 0.55rem var(--pad);
  border-bottom: 1px solid var(--copper);
}
.draft-banner strong { color: var(--blush-on-plum); font-weight: 700; }
.draft-banner:hover { background: #3a2029; }

/* --------------------------------------------------------------------- nav */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--blush);
}
.nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4rem;
}
.nav-mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  color: var(--plum);
  text-decoration: none;
  white-space: nowrap;
}
.nav-mark svg { flex: none; }
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  overflow-x: auto;
}
.nav-tabs a {
  display: block;
  font-family: var(--body);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--plum-soft);
  white-space: nowrap;
}
.nav-tabs a:hover { color: var(--copper-text); }
.nav-cta {
  display: flex;
  align-items: center;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--cream-on-plum);
  background: var(--plum);
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.nav-cta:hover { background: #3a2029; }

/* --------------------------------------------------------------- hero (S2) */

.hero { background: var(--cream); }
.hero-inner {
  max-width: 78rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.kicker {
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-text);
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(2.6rem, 6.2vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--plum);
  margin-bottom: 1.4rem;
}
/* signature move: handwritten-feel italic accent word in the headline */
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--copper-text);
}

.lede {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: var(--plum-soft);
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }
.cta {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid var(--plum);
  background: var(--plum);
  color: var(--cream-on-plum);
}
.cta:hover { background: #3a2029; border-color: #3a2029; }
.cta.ghost { background: transparent; color: var(--plum); border-color: var(--plum-soft); }
.cta.ghost:hover { border-color: var(--plum); background: var(--blush); }

.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  border-top: 1px solid var(--blush);
  padding-top: 1.4rem;
}
.hero-facts li {
  font-size: 0.9rem;
  color: var(--plum-soft);
}
.hero-facts strong { color: var(--plum); font-weight: 600; }

/* --------------------------------- signature move: organic blob/arch mask */

.hero-figure {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-figure svg { width: 100%; max-width: 420px; height: auto; }

/* --------------------------------------------------------------- sections */

section { scroll-margin-top: 5rem; }
.section-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(3.25rem, 8vw, 6rem) var(--pad);
}
.band { background: var(--cream); }
.band.blush { background: var(--blush); }
.band.plum { background: var(--plum); color: var(--cream-on-plum); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: inherit;
  margin: 0.4rem 0 1.2rem;
}
h2 em { font-style: italic; font-weight: 400; color: var(--copper-text); }
.band.plum h2 em { color: var(--blush); }

.section-note { color: var(--plum-soft); max-width: 36rem; }
.band.plum .section-note { color: var(--blush-on-plum); }
.split p { color: var(--plum-soft); max-width: var(--measure); margin-bottom: 1rem; }
.split p:last-of-type { margin-bottom: 0; }
.band.plum .split p { color: var(--blush-on-plum); }

/* ------------------------------ signature move: ruled list, dotted leader */

.price-note {
  font-size: 0.88rem;
  color: var(--plum-soft);
  margin-bottom: 1.2rem;
  max-width: 40rem;
}

.price-list {
  list-style: none;
  margin-top: 1.6rem;
  display: grid;
  gap: 1.15rem;
}
.price-list li {
  border-bottom: 1px solid var(--blush);
  padding-bottom: 1.15rem;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.price-row .svc {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.14rem;
  color: var(--plum);
  white-space: nowrap;
}
.price-row .leader {
  flex: 1 1 auto;
  min-width: 1.5rem;
  border-bottom: 1px dotted var(--copper);
  transform: translateY(-0.35rem);
}
.price-row .amount {
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--copper-text);
  white-space: nowrap;
}
.price-list .desc {
  display: block;
  color: var(--plum-soft);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}
.table-foot {
  margin-top: 1.4rem;
  font-size: 0.88rem;
  color: var(--plum-soft);
}

/* --------------------------------------------------------- process steps */

.step-list {
  list-style: none;
  display: grid;
  gap: 1.4rem;
  margin-top: 1.6rem;
}
.step-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
}
.step-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--copper-text);
}
.band.plum .step-num { color: var(--blush); }
.step-list h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.step-list p { color: var(--plum-soft); font-size: 0.95rem; margin: 0; }
.band.plum .step-list p { color: var(--blush-on-plum); }

/* ------------------------------------------- signature move: pull-quote */

.pull-quote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.4;
  color: var(--plum);
  border-left: 3px solid var(--copper);
  padding-left: 1.4rem;
  margin: 1.8rem 0;
  max-width: 42rem;
}
.pull-quote cite {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--plum-soft);
  margin-top: 0.9rem;
}
.band.plum .pull-quote { color: var(--cream-on-plum); border-left-color: var(--blush); }
.band.plum .pull-quote cite { color: var(--blush-on-plum); }

/* ------------------------------------------------------------- figures */

.blob-figure { display: flex; justify-content: center; }
.blob-figure svg { width: 100%; max-width: 340px; height: auto; }

/* -------------------------------------------------------------- photo note */

.photo-note {
  margin-top: 1.8rem;
  max-width: 46rem;
  border-left: 3px solid var(--copper);
  background: var(--blush);
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  color: var(--plum-soft);
  border-radius: 0 0.5rem 0.5rem 0;
}
.photo-note strong { color: var(--plum); }

/* ----------------------------------------------------------- yhteystiedot */

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2.2rem;
}
.visit-block {
  border-top: 2px solid var(--copper);
  background: rgba(255, 255, 255, 0.35);
  padding: 1.1rem 1.25rem 1.25rem;
  border-radius: 0.4rem;
}
.band.plum .visit-block { background: rgba(255, 255, 255, 0.06); border-top-color: var(--blush); }
.visit-block h3 {
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper-text);
  margin-bottom: 0.6rem;
}
.band.plum .visit-block h3 { color: var(--blush); }
.visit-block p { font-size: 0.98rem; }
.visit-block .small { font-size: 0.9rem; color: var(--plum-soft); margin-top: 0.4rem; }
.band.plum .visit-block .small { color: var(--blush-on-plum); }
.text-link { font-weight: 600; }

.notice-box {
  margin-top: 2rem;
  max-width: 50rem;
  padding: 1.1rem 1.3rem;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 0.5rem;
  border: 1px dashed var(--blush-on-plum);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------- footer */

.footer { border-top: 1px solid var(--blush); background: var(--cream); }
.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem 1.6rem;
  margin: 2.4rem 0;
}
.footer-cell { min-width: 0; }
.footer-label {
  display: block;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum-soft);
  margin-bottom: 0.2rem;
}
.footer-value { font-size: 0.95rem; color: var(--plum); overflow-wrap: break-word; }
.footer-meta {
  padding-bottom: 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--plum-soft);
  text-align: center;
  border-top: 1px solid var(--blush);
  padding-top: 1.4rem;
}

/* ------------------------------------------------------------ animation */

@media (prefers-reduced-motion: no-preference) {
  .cta, .nav-tabs a, .nav-cta, a { transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 60rem) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-figure { order: -1; max-width: 20rem; margin: 0 auto; }
  .split, .split.flip { grid-template-columns: minmax(0, 1fr); }
  .visit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 44rem) {
  .nav-mark span { display: none; }
  .nav-tabs { gap: 1rem; }
  .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-row { flex-wrap: wrap; }
  .price-row .leader { display: none; }
}

@media (max-width: 26rem) {
  .hero-actions .cta { width: 100%; text-align: center; }
}
