/* ============================================================
   BEAUTIQUE KIARA - style.css
   Tumma luksus -design (design_handoff_studio_demo)
   Jost, ohut letterspaced-versaali, greige + tummat inverse-osiot.
   Ei pyöristyksiä, ei varjoja (paitsi gallerian tekstivarjo).
   ============================================================ */

/* ---------- Custom properties ---------- */
:root {
  /* Vaaleat pinnat (kylmä, puhdas valkoinen/harmaa) */
  --color-bg:           #edeff1;  /* sivun pohja, viileä vaaleanharmaa */
  --color-bg-card:      #f7f8fa;  /* palvelulaatat, kortit, kohotettu lähes valkoinen */
  --color-cream:        #ffffff;  /* puhtain valkoinen, UKK-laatikot */
  --color-hairline:     #dde0e4;  /* 1px rajat laattojen välissä */

  /* Tummat pinnat (syvä espresso) */
  --color-ink:          #241c17;  /* inverse-osiot, moody */
  --color-ink-line:     #3a2e25;  /* footerin jakoviiva */

  /* Brändiaksentti */
  --color-accent:       #b0894f;  /* pehmeä pronssi-kulta: tähdet ja hienot aksentit */

  /* Teksti vaalealla (viileä neutraali charcoal) */
  --color-text:         #23262b;
  --color-text-body:    #4e545b;
  --color-text-soft:    #6e747b;
  --color-eyebrow:      #94765d;  /* lämmin taupe-ruskea eyebrow (brändiaksentti) */
  --color-divider:      #cdd2d7;

  /* Teksti tummalla (viileä lähes valkoinen) */
  --color-on-ink:       #f2f3f5;
  --color-on-ink-head:  #f4f5f7;
  --color-on-ink-body:  rgba(240, 242, 245, .75);
  --color-on-ink-lead:  rgba(242, 244, 246, .82);
  --color-on-ink-eyebrow: #b79e82;
  --color-on-ink-border:  rgba(242, 244, 246, .5);
  --color-on-ink-border-soft: rgba(240, 243, 246, .45);
  --color-on-ink-underline: rgba(240, 243, 246, .6);

  /* Muut */
  --color-white:        #ffffff;
  --color-white-soft:   rgba(255, 255, 255, .9);
  --color-white-line:   rgba(255, 255, 255, .6);
  --overlay-hero: linear-gradient(180deg, rgba(28,21,16,.76) 0%, rgba(28,21,16,.64) 50%, rgba(28,21,16,.7) 100%);
  --overlay-card: linear-gradient(to top, rgba(28,21,16,.9) 0%, rgba(28,21,16,.3) 52%, rgba(28,21,16,0) 100%);
  --shadow-gallery-word: 0 2px 30px rgba(0, 0, 0, .3);

  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-display: 'Montserrat', system-ui, -apple-system, sans-serif;

  /* Mitoitus: yhtenäinen sisältöleveys. 1068px = Instagram-upotusten näkyvä
     leveys (3 x 340px + 2 x 24px väli), johon muut osiot on linjattu. */
  --max-width: 1068px;
  --pad-section-x: 72px;
  --pad-nav-x: 56px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 26px;
  --spacing-lg: 44px;
  --spacing-xl: 90px;
  --spacing-2xl: 104px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: opacity .15s ease;
}
a:hover { opacity: .75; }
a:focus-visible,
button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
  opacity: 1;
}

h1, h2, h3 { margin: 0; font-weight: 400; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Kiinteä navbar peittäisi ankkurikohteet ilman tätä */
#palvelut, #galleria, #instagram, #ukk, #yhteystiedot { scroll-margin-top: 72px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--color-ink);
  color: var(--color-on-ink);
  padding: 12px 24px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.skip-link:focus { left: 0; }

/* ---------- Yleiset tekstityylit ---------- */
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--color-eyebrow);
}
.eyebrow--on-ink { color: var(--color-on-ink-eyebrow); }

/* ---------- Napit ---------- */
.btn {
  display: inline-block;
  padding: 15px 44px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.btn--fill {
  background: var(--color-on-ink-head);
  color: var(--color-ink);
}
.btn--line {
  border-color: var(--color-on-ink-border);
  color: var(--color-on-ink);
}
.btn--nav { padding: 11px 28px; }
.btn--contact { padding: 13px 36px; border-color: var(--color-on-ink-border-soft); }

/* ---------- Header / nav (kiinteä, läpinäkyvä ylhäällä, kutistuu scrollatessa) ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 30px var(--pad-nav-x);
  color: var(--color-on-ink);
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .55s cubic-bezier(0.4, 0, 0.2, 1), color .55s cubic-bezier(0.4, 0, 0.2, 1), padding .55s cubic-bezier(0.4, 0, 0.2, 1), border-color .55s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Ilman JS:ää .scrolled ei koskaan aktivoidu: navbar jää heron päälle */
html:not(.js) .header { position: absolute; }
.header.scrolled {
  padding: 12px var(--pad-nav-x);
  background-color: var(--color-bg-card);
  color: var(--color-text);
  border-bottom-color: var(--color-hairline);
}
.header.scrolled .btn--line {
  border-color: var(--color-text);
  color: var(--color-text);
}
.header.scrolled .menu-toggle {
  border-color: var(--color-text);
  color: var(--color-text);
}
/* Eksplisiittinen väri molemmissa tiloissa, jotta linkit eivät peri
   headerin hidasta .55s color-siirtymää vaan käyttävät omaa nopeaa transitiota */
.nav-links a { color: var(--color-on-ink); }
.header.scrolled .nav-links a { color: var(--color-text); }
.nav-links {
  display: flex;
  gap: 30px;
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.wordmark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
}
.wordmark__img {
  display: block;
  width: auto;
  height: 54px;
  transition: height .55s cubic-bezier(0.4, 0, 0.2, 1), opacity .55s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Tumma logo pinotaan vaalean päälle ja ristiinhäivytetään scrollatessa */
.wordmark__img--dark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.header.scrolled .wordmark__img { height: 34px; }
.header.scrolled .wordmark__img--light { opacity: 0; }
.header.scrolled .wordmark__img--dark { opacity: 1; }
.header__right { display: flex; justify-content: flex-end; }
/* Nav-linkit ja napit häivyttävät värinsä samaa tahtia headerin kanssa */
.nav-links a,
.header .btn--line,
.menu-toggle {
  transition: color .25s cubic-bezier(0.4, 0, 0.2, 1), border-color .25s cubic-bezier(0.4, 0, 0.2, 1), opacity .15s ease;
}

/* Burger: pelkät kolme viivaa, ei taustaa; muuttuu X:ksi avattaessa */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--color-on-ink);
  cursor: pointer;
  justify-self: end;
}
.menu-toggle__bar {
  display: block;
  width: 26px;
  height: 1.5px;
  background: currentColor;
  transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1), opacity .2s ease, background-color .55s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobiilivalikko: kiinteä paneeli, liukuu vasemmalta */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 95;
  width: min(82vw, 320px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 40px;
  background: var(--color-ink);
  color: var(--color-on-ink);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform .42s cubic-bezier(0.4, 0, 0.2, 1), visibility .42s;
}
.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 18, 15, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .42s ease, visibility .42s;
}
.nav-backdrop.open { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: calc(100vh - 30px);
  overflow: hidden;
  background: var(--color-ink);
}
/* Kuva on heroa korkeampi, jotta parallax-siirtymä ei paljasta reunoja */
.hero__img {
  position: absolute;
  top: -160px;
  left: 0;
  width: 100%;
  height: calc(100% + 160px);
  object-fit: cover;
  will-change: transform;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-hero);
  pointer-events: none;
}
.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-on-ink);
  padding: 0 80px;
  /* Sisältö optisesti näytön keskellä: keskitetty mutta hieman alempana */
  transform: translateY(30px);
}
.hero__content h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 46px;
  line-height: 1.18;
  letter-spacing: .04em;
  text-transform: uppercase;
  max-width: 840px;
}
.hero__lead {
  margin: 24px 0 0;
  font-size: 16px;
  letter-spacing: .06em;
  line-height: 1.8;
  color: var(--color-on-ink-lead);
  max-width: 420px;
}
.hero__cta {
  display: flex;
  gap: 18px;
  margin-top: 42px;
}
/* Arvostelu-eyebrow vain mobiilissa (piilotettu desktopilla) */
.hero__rating { display: none; }

/* ---------- Palvelut (immersiiviset kuvakortit, vaalea tausta) ---------- */
.services {
  background: var(--color-bg);
  padding: var(--spacing-2xl) var(--pad-section-x) 172px;
}
.services__head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 58px;
}
.services__head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 48px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 14px;
  line-height: 1.08;
}
.services__lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-body);
  margin: 22px 0 0;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.svc-card {
  position: relative;
  display: block;
  height: 440px;
  overflow: hidden;
}
.svc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (prefers-reduced-motion: no-preference) {
  .svc-card img { transition: transform .6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
}
.svc-card:hover img { transform: scale(1.05); }
.svc-card__ov {
  position: absolute;
  inset: 0;
  background: var(--overlay-card);
}
.svc-card__cap {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  color: var(--color-white);
}
.svc-card__num {
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--color-white-line);
}
.svc-card__cap h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 25px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 10px 0 0;
}
.svc-card__go {
  display: inline-block;
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-white-line);
  padding-bottom: 4px;
}

/* ---------- Meistä (inverse split) ---------- */
.about {
  background: var(--color-ink);
}
/* Tumma tausta jää täysleveäksi, sisältö rajautuu keskitettyyn kolumniin */
.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: var(--max-width);
  margin: 0 auto;
}
.about__img {
  width: 100%;
  height: 600px;
  margin-top: -48px;
  object-fit: cover;
  object-position: center 30%;
  align-self: start;
  position: relative;
  z-index: 2;
}
.about__body {
  color: var(--color-on-ink-head);
  padding: 90px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.about__body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.24;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 22px;
}
.about__body p {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--color-on-ink-body);
  margin: 26px 0 0;
  max-width: 400px;
}
.link-underline {
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-on-ink-underline);
  padding-bottom: 5px;
  margin-top: 36px;
}

/* ---------- Asiakkaat / arvostelut (karuselli) ---------- */
.reviews {
  background: var(--color-bg);
  color: var(--color-text);
  padding: var(--spacing-2xl) var(--pad-section-x);
}
.reviews__head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.reviews__head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 14px;
  line-height: 1.08;
}
.reviews__lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-body);
  margin: 20px 0 0;
}
.reviews__carousel { position: relative; max-width: var(--max-width); margin: 0 auto; }
.reviews__viewport {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.reviews__viewport::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  margin: 0;
  background: var(--color-bg-card);
  border-top: 2px solid var(--color-accent);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  min-height: 188px;
}
.review__stars {
  color: var(--color-accent);
  font-size: 12px;
  letter-spacing: 3px;
}
.review p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text);
  margin: 14px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review cite {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--color-eyebrow);
  margin-top: auto;
  padding-top: 16px;
}
.reviews__controls { display: contents; }
.reviews__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, opacity .15s ease;
}
.reviews__nav--prev { left: calc(50% - 50vw + 28px); }
.reviews__nav--next { right: calc(50% - 50vw + 28px); }
.reviews__nav:hover { background: var(--color-ink); color: var(--color-on-ink); border-color: var(--color-ink); opacity: 1; }
.reviews__nav svg { width: 20px; height: 20px; }

/* ---------- Galleria (kuvakaruselli) ---------- */
.gallery { position: relative; }
.gallery__viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery__viewport::-webkit-scrollbar { display: none; }
.gallery__viewport img {
  flex: 0 0 50%;
  width: 50%;
  height: 470px;
  object-fit: cover;
  scroll-snap-align: start;
}
/* Ei CSS-scroll-behavioria: JS hoitaa pehmeän askelluksen ja tekee loopin
   nollaukset välittömästi (scrollLeft-asetus kunnioittaisi smoothia). */

/* Kevyet gradientit reunoille, jotta nuolinapit erottuvat kuvista */
.gallery__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  pointer-events: none;
}
.gallery__fade--left {
  left: 0;
  background: linear-gradient(90deg, rgba(20, 18, 15, .5), rgba(20, 18, 15, 0));
}
.gallery__fade--right {
  right: 0;
  background: linear-gradient(270deg, rgba(20, 18, 15, .5), rgba(20, 18, 15, 0));
}

.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--color-white-soft);
  color: var(--color-white);
  cursor: pointer;
  transition: opacity .15s ease;
}
.gallery__nav:hover { opacity: .75; }
.gallery__nav--prev { left: 24px; }
.gallery__nav--next { right: 24px; }
.gallery__nav svg { width: 20px; height: 20px; }
.gallery__ig {
  position: absolute;
  right: var(--pad-nav-x);
  bottom: 26px;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--color-white);
  border-bottom: 1px solid var(--color-white-line);
  padding-bottom: 5px;
}

/* ---------- Instagram-syöte ---------- */
.insta {
  background: var(--color-white);
  padding: var(--spacing-2xl) var(--pad-section-x);
}
.insta__head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 54px;
}
.insta__head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 14px;
  line-height: 1.08;
}
.insta__lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-body);
  margin: 22px 0 0;
}
.insta__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
/* Instagramin upotus asettelee itsensä flex-kohteena; margin nollataan */
.insta__grid .instagram-media {
  flex: 0 1 340px;
  margin: 0 !important;
}
.insta__link {
  display: block;
  width: fit-content;
  margin: 48px auto 0;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-divider);
  padding-bottom: 5px;
}

/* ---------- UKK ---------- */
.faq {
  background: var(--color-bg);
  padding: var(--spacing-xl) var(--pad-section-x);
}
.faq__head {
  text-align: center;
  margin-bottom: 46px;
}
.faq__head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 14px;
  line-height: 1.08;
}
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.faq__item {
  background: var(--color-cream);
  text-align: center;
  align-self: start;
}
.faq__q {
  position: relative;
  display: block;
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .2em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--color-text);
  text-align: center;
  padding: 26px 56px;
  transition: opacity .15s ease;
}
.faq__q:hover { opacity: .75; }
.faq__icon {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -5.5px;
  transition: transform .2s ease;
}
/* Plus-merkki kahdesta viivasta, kääntyy avattaessa */
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--color-eyebrow);
}
.faq__icon::before { left: 0; right: 0; top: 5px; height: 1px; }
.faq__icon::after { top: 0; bottom: 0; left: 5px; width: 1px; }
.faq__item.open .faq__icon { transform: rotate(45deg); }

/* Vastaus: auki ilman JS:ää, JS sulkee oletuksena ja avaa klikillä */
.faq__a {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .2s ease;
}
.faq__a-inner { overflow: hidden; min-height: 0; }
.faq__a p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--color-text-soft);
  margin: 0;
  padding: 0 34px 28px;
}
.js .faq__a { grid-template-rows: 0fr; }
.js .faq__item.open .faq__a { grid-template-rows: 1fr; }

/* ---------- Yhteystiedot + footer (inverse) ---------- */
.contact {
  background: var(--color-ink);
  color: var(--color-on-ink-head);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.contact__info {
  padding: 80px var(--pad-section-x);
  /* Sisältö kohdistuu samaan sisältösarakkeeseen kuin muut osiot; kartta jää reunaan */
  padding-left: max(var(--pad-section-x), calc((100vw - var(--max-width)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 26px;
}
.contact__info h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 37px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.contact__rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--color-on-ink-body);
  font-style: normal;
}
.contact__rows h3 {
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--color-on-ink-eyebrow);
  margin-bottom: 6px;
}
.contact .btn--contact { margin-top: 8px; }

.contact__map { min-height: 440px; }
.contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  /* Mustavalkoinen kartta, sopii sivuston lämpimään teemaan */
  filter: grayscale(1) contrast(1.05);
}

/* ---------- Footer (vaalea) ---------- */
.site-footer {
  background: var(--color-bg-card);
  color: var(--color-text-body);
  border-top: 1px solid var(--color-hairline);
  padding: var(--spacing-xl) var(--pad-nav-x) 0;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: var(--spacing-lg);
}
.site-footer__logo {
  display: block;
  width: auto;
  height: 52px;
}
.site-footer__brand p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text-soft);
  margin: 20px 0 24px;
  max-width: 340px;
}
.site-footer__socials { display: flex; gap: 14px; }
.site-footer__socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-hairline);
  color: var(--color-text);
  transition: background-color .25s ease, color .25s ease, opacity .15s ease;
}
.site-footer__socials a:hover { background: var(--color-ink); color: var(--color-on-ink); opacity: 1; }
.site-footer__socials svg { width: 18px; height: 18px; }
.site-footer__col h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 6px 0 22px;
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-soft);
  margin-bottom: 15px;
}
.site-footer__col a { color: var(--color-text-body); }
.site-footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid var(--color-hairline);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--color-text-soft);
}
.site-footer__bottom p { margin: 0; }

/* ---------- 404 ---------- */
.error-page {
  min-height: 100vh;
  background: var(--color-ink);
  color: var(--color-on-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.error-page h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 46px;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.4;
}
.error-page p {
  font-size: 14.5px;
  color: var(--color-on-ink-body);
  max-width: 420px;
}
.error-page .btn { margin-top: 28px; }

/* ============================================================
   Responsiivisuus (prototyyppi oli desktop-only, 1200 px)
   ============================================================ */
@media (max-width: 1023px) {
  .nav-links, .header__right { display: none; }
  .menu-toggle { display: flex; }
  /* Läpinäkyvä navbar: heron taustakuva näkyy läpi (vaaleaksi vasta scrollatessa) */
  .header {
    grid-template-columns: auto 1fr;
    padding: 18px 16px;
  }
  .header.scrolled { padding: 10px 16px; }
  .wordmark { padding: 0; }
  .wordmark__img { height: 44px; }
  .header.scrolled .wordmark__img { height: 30px; }

  /* Mobiilissa sisältö vasempaan reunaan, ~16px reunoihin, ei keskitystä */
  .hero { height: 90vh; }
  .hero__content { padding: 0 16px; align-items: flex-start; text-align: left; }
  .hero__rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  .hero__rating-stars {
    color: var(--color-accent);
    font-size: 14px;
    letter-spacing: 3px;
  }
  .hero__rating-text {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-on-ink-lead);
  }
  /* Mobiili: siirretään heron rajausta oikealle, jotta olennainen osa (kädet + kulho) näkyy */
  .hero__img { object-position: 85% center; }
  .hero__content h1 { font-size: 40px; }
  .about__body h2 { font-size: 31px; }
  .contact__info h2 { font-size: 30px; }

  .services { padding: 72px 16px; }
  .services__head { text-align: left; max-width: none; margin-left: 0; margin-right: 0; }
  .services__head h2 { font-size: 36px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card { height: 400px; }

  /* Meistä: teksti ylös, kuva alle (kolumnien järjestys vaihtuu) */
  .about__inner { grid-template-columns: 1fr; }
  .about__img { order: 2; height: 380px; margin-top: 0; }
  .about__body { order: 1; padding: 56px 16px 64px; }

  .reviews { padding: 72px 16px; }
  .reviews__head { text-align: left; max-width: none; }
  .reviews__head h2 { font-size: 28px; }
  .review { flex-basis: calc((100% - 20px) / 2); }
  /* Mobiili: ei nuolinappeja arvosteluissa, vain automaattinen + sormivieritys */
  .reviews__nav { display: none; }

  .gallery__viewport img { flex-basis: 50%; width: 50%; height: 340px; }
  .gallery__fade { width: 90px; }
  .gallery__nav--prev { left: 14px; }
  .gallery__nav--next { right: 14px; }
  .gallery__ig { right: 16px; }

  .insta { padding: 72px 16px; }
  .insta__head { text-align: left; max-width: none; margin-left: 0; margin-right: 0; }
  .insta__head h2 { font-size: 28px; }
  .insta__link { margin-left: 0; margin-right: 0; }

  .faq { padding: 64px 16px; }
  .faq__head { text-align: left; margin-bottom: 34px; }
  .faq__head h2 { font-size: 30px; }
  .faq__item { text-align: left; }
  .faq__q { text-align: left; padding: 22px 46px 22px 18px; }
  .faq__icon { right: 18px; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { padding: 56px 16px; }
  .contact__map { min-height: 360px; }

  .site-footer { padding: 64px 16px 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 639px) {
  .hero__content h1 { font-size: 30px; }
  .hero__cta { flex-direction: column; gap: 14px; align-items: flex-start; }

  .services__grid { grid-template-columns: 1fr; }
  .svc-card { height: 360px; }
  .faq__grid { grid-template-columns: 1fr; }

  .gallery__viewport img { flex-basis: 100%; width: 100%; height: 300px; }
  .gallery__fade { width: 70px; }

  .review { flex-basis: 86%; }

  .site-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .site-footer__bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
