/* =========================================================
   Tmi Marjonkaa – OVER-SEA edition
   Vaalea · merellinen · meditatiivinen · plus-paketti
   (Karsitaan myöhemmin – nyt reilusti tunnelmaa)
   ========================================================= */

/* Otsikot: Fraunces (Google Fonts, ladataan HTML:n fonttilinkissä) */

:root {
  --sand: #f6f3ed;
  --sand-deep: #ebe4d8;
  --mist: #e4eef2;
  --foam: #c2d6de;
  --foam-bright: #dceaf0;
  --sea: #2c5f6d;
  --sea-mid: #3a7586;
  --sea-deep: #173b45;
  --sea-glow: #6a9eae;
  --shell: #c9b396;
  --shell-soft: #e6d9c4;
  --ink: #243033;
  --ink-soft: #556267;
  --ink-faint: #879196;
  --white: #fffcf7;
  --glass: #fffcf7;
  --glass-border: rgba(201, 179, 150, 0.45);
  --ok: #3d7a6a;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 22px 60px -28px rgba(23, 59, 69, 0.38);
  --shadow-soft: 0 12px 36px -18px rgba(23, 59, 69, 0.22);
  --max: 1140px;
  /* Desktop default; mobile overrides below */
  --header-h: 204px;
  --header-h-mobile: 68px;


  --font-display: "Fraunces", "Lora", Georgia, serif;
  --section-space: clamp(4rem, 8vw, 6.75rem);
  --measure: 68ch;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--ink);
  min-height: 100vh;
  /* Fallback jos ambience ei lataudu – vaaleansininen meri */
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: clip;
}

/* ========== MERITAUSTA (selkeämpi vaaleansininen) ========== */
.sea-ambience {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  /* Kokosivun vaaleansininen merivesi + hiekka alhaalla */
  background:
    linear-gradient(180deg,
      #c5dde8 0%,
      #d2e6ef 12%,
      #dceef5 28%,
      #e4f1f6 45%,
      #eaf3f4 62%,
      #f0f2ec 82%,
      #f4f0e8 100%);
}

/* Taivas + meri – vahvempi sininen */
.sea-ambience__sky {
  position: absolute;
  inset: 0 0 28% 0;
  background:
    radial-gradient(ellipse 80% 60% at 78% 12%, rgba(255, 252, 247, 0.75), transparent 50%),
    radial-gradient(ellipse 55% 45% at 12% 25%, rgba(160, 205, 225, 0.55), transparent 65%),
    linear-gradient(180deg,
      #a8cddc 0%,
      #b9d8e6 35%,
      #c8e2ed 65%,
      #d4e9f0 100%);
  opacity: 0.92;
}

.sea-ambience__horizon {
  position: absolute;
  left: -5%;
  right: -5%;
  top: 32%;
  height: 36%;
  background:
    linear-gradient(180deg,
      transparent 0%,
      rgba(90, 150, 170, 0.22) 18%,
      rgba(70, 130, 155, 0.32) 42%,
      rgba(55, 115, 140, 0.28) 62%,
      rgba(100, 155, 175, 0.12) 82%,
      transparent 100%);
  opacity: 1;
}

/* Aurinko / valo – selkeämpi */
.sea-ambience__sun {
  position: absolute;
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  top: 4%;
  right: 4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(255, 252, 247, 0.85) 0%,
      rgba(255, 240, 220, 0.35) 28%,
      rgba(180, 210, 225, 0.12) 50%,
      transparent 72%);
  filter: blur(1px);
  opacity: 0.85;
  animation: sun-breathe 12s ease-in-out infinite;
}

/* Saariston siluetti – näkyvämpi */
.sea-ambience__land {
  position: absolute;
  left: 0;
  right: 0;
  top: 30%;
  height: 12%;
  opacity: 0.28;
  background:
    radial-gradient(ellipse 20% 100% at 18% 100%, #1b434e 0%, transparent 70%),
    radial-gradient(ellipse 14% 95% at 26% 100%, #2f6270 0%, transparent 70%),
    radial-gradient(ellipse 10% 70% at 32% 100%, #1b434e 0%, transparent 68%),
    radial-gradient(ellipse 24% 110% at 70% 100%, #1b434e 0%, transparent 72%),
    radial-gradient(ellipse 12% 85% at 82% 100%, #2f6270 0%, transparent 70%);
}

/* Aallot alhaalla – reilusti näkyvämmät */
.sea-ambience__waves {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 48%;
  opacity: 0.72;
}

.sea-ambience__waves svg {
  position: absolute;
  left: 0;
  width: 120%;
  height: 100%;
}

.sea-ambience__waves .w1 {
  bottom: 0;
  opacity: 0.85;
  animation: wave-drift 22s ease-in-out infinite;
}
.sea-ambience__waves .w2 {
  bottom: 5%;
  opacity: 0.65;
  animation: wave-drift 28s ease-in-out infinite reverse;
}
.sea-ambience__waves .w3 {
  bottom: 10%;
  opacity: 0.5;
  animation: wave-drift 34s ease-in-out infinite;
}

/* Vaahto / grain – hieman voimakkaampi */
.sea-ambience__grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* Lisäkerros: pehmeät merikaaret / vaahtoviivat */
.sea-ambience::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background:
    radial-gradient(ellipse 120% 40% at 50% 100%, rgba(70, 130, 155, 0.2), transparent 70%),
    radial-gradient(ellipse 80% 30% at 20% 85%, rgba(130, 185, 205, 0.25), transparent 65%),
    radial-gradient(ellipse 70% 28% at 85% 90%, rgba(100, 165, 185, 0.22), transparent 65%);
  pointer-events: none;
}

/* Content sits above ambience */
main, .site-header, .site-footer {
  position: relative;
  z-index: 1;
}

@keyframes sun-breathe {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.04); opacity: 0.62; }
}

@keyframes wave-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-3%); }
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sea-ambience__sun,
  .sea-ambience__waves .w1,
  .sea-ambience__waves .w2,
  .sea-ambience__waves .w3,
  .hero-vista,
  .float-soft { animation: none !important; }
}

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

a {
  color: var(--sea);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--sea-deep); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(58, 117, 134, 0.4);
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ========== Type ========== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.18;
  color: var(--sea-deep);
  letter-spacing: -0.01em;
}

h3, h4 { font-weight: 600; }

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin: 0 0 1.1rem;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  margin: 0 0 0.9rem;
}

h3 { font-size: 1.38rem; margin: 0 0 0.55rem; }

p { margin: 0 0 1rem; color: var(--ink-soft); }

.lead {
  font-size: clamp(1.18rem, 2.1vw, 1.4rem);
  line-height: 1.65;
  color: var(--ink);
  max-width: 38rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea-mid);
  margin-bottom: 0.9rem;
}

/* Ei koristeviivaa otsikoiden edessä */

/* ========== Header + logo ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(201, 179, 150, 0.55);
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 0.65rem;
  padding-block: 0.35rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--sea-deep);
  min-width: 0;
  flex: 1 1 auto;
  max-width: min(100%, 320px);
}

/* Täysi logo-lockup – ~4× aiempi koko (mobiili edellä) */
.brand--with-logo {
  max-width: min(78vw, 280px);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 232px; /* ~4 × 58px */
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
  -webkit-user-drag: none;
}

@media (min-width: 480px) {
  .brand--with-logo { max-width: 320px; }
  .brand-logo { max-height: 256px; }
}

@media (min-width: 901px) {
  /* Matala header: pyöreä majakka + nimi Fraunces-fontilla */
  :root { --header-h: 96px; }
  .brand,
  .brand--with-logo {
    flex: 0 1 auto;
    max-width: 330px;
    gap: 0.7rem;
  }
  .brand-logo,
  .brand--with-logo .brand-logo--mark {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
    object-position: center;
    border-radius: 50%;
  }
  .brand-text--mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
    min-width: 0;
  }
  .brand-text--mobile .brand-name {
    font-size: 1.42rem;
    font-weight: 600;
    line-height: 1.05;
    white-space: nowrap;
  }
  .brand-text--mobile .brand-tag {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: lowercase;
    color: var(--sea-mid);
  }
  .header-inner {
    align-items: center;
    gap: 1.5rem;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .brand-text--mobile .brand-tag { display: none; }
  .brand-logo,
  .brand--with-logo .brand-logo--mark {
    width: 52px; height: 52px; max-width: 52px; max-height: 52px;
  }
  .brand-text--mobile .brand-name { font-size: 1.3rem; }
  .nav { gap: 0.1rem 0.8rem; }
  .nav a { font-size: 0.92rem; }
  .nav-cta { padding: 0.5rem 0.95rem !important; }
}

/* Vanha teksti-brändi (fallback, jos logo ei ole) */
.brand-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, #b8d0d9 0%, #2c5f6d 100%);
  overflow: hidden;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--sea-deep);
}

.brand-tag {
  font-size: 0.76rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Footer logo – mobiili iso, PC maltillisempi (staattinen fallback) */
.footer-logo {
  display: block;
  width: auto;
  max-width: min(90vw, 360px);
  max-height: 384px;
  height: auto;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
  margin-bottom: 0.5rem;
}

@media (min-width: 800px) {
  /* Hieman isompi kuin header-logo (288px) */
  .footer-logo {
    max-width: 380px;
    max-height: 340px;
  }
}

/* Footer: animoitu logo – boksin koko pidetään, zoom out niin koko logo mahtuu.
   Omat luokat (ei .contact-logo-video) → ei keskitystä, ei korttikehystä. */
.footer-logo-anim {
  display: block;
  box-sizing: border-box;
  width: min(90vw, 268px);
  max-width: 100%;
  margin: 0 0 0.35rem 0;
  line-height: 0;
  overflow: visible;
  background: transparent;
}

.footer-logo-anim__el {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: normal;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

/* MP4-fallback (Safari): valkoinen tausta sekoittuu sivun pohjaan */
html.no-webm-alpha .footer-logo-anim {
  mix-blend-mode: multiply;
}

@media (min-width: 800px) {
  .footer-logo-anim {
    width: min(100%, 282px);
  }
}

.footer-brand-text {
  margin: 0;
  text-align: left;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.1rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.96rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--sea-deep);
  border-bottom-color: var(--shell);
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  margin-left: 0.25rem;
  padding: 0.58rem 1.1rem !important;
  border-radius: 999px;
  background: var(--sea-deep);
  color: var(--white) !important;
  border-bottom: none !important;
  box-shadow: none;
  white-space: nowrap;
}

.nav-cta:hover {
  filter: brightness(1.06);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(47, 98, 112, 0.16);
  background: var(--glass);
  border-radius: 12px;
  width: 46px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--sea-deep);
  border-radius: 2px;
}

@media (max-width: 900px) {
  /* Kompakti yläpalkki: majakka + wordmark (Newsreader) + hamburger */
  :root {
    --header-h: var(--header-h-mobile);
  }

  .header-inner {
    justify-content: flex-start;
    align-items: center;
    gap: 0.45rem;
    min-height: var(--header-h-mobile);
    padding-block: 0.4rem;
  }

  .brand,
  .brand--with-logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 52px);
    gap: 0.55rem;
    align-items: center;
  }

  /* Pyöreä majakka */
  .brand-logo,
  .brand--with-logo .brand-logo--mark {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    max-height: 46px;
    max-width: 46px;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
    border-radius: 50%;
  }

  /* Logon typografia – Newsreader kuten “Tmi Marjonkaa” -lockupissa */
  .brand-text--mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.12rem;
    min-width: 0;
    padding-top: 0.05rem;
  }

  .brand-text--mobile .brand-name {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 4.6vw, 1.28rem);
    font-weight: 600;
    font-optical-sizing: auto;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--sea-deep);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Logon tagline-tyyli: kevyt caps + letter-spacing */
  .brand-text--mobile .brand-tag {
    font-family: var(--font-body);
    font-size: clamp(0.58rem, 2.5vw, 0.68rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.06em;
    text-transform: lowercase;
    color: var(--sea-mid);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 0.1rem;
    width: 44px;
    height: 40px;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1.15rem;
    background: rgba(255, 252, 247, 0.97);
    border-bottom: 1px solid rgba(47, 98, 112, 0.1);
    box-shadow: var(--shadow-soft);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.85rem 0.4rem;
    border-bottom: 1px solid rgba(47, 98, 112, 0.08);
  }
  .nav-cta {
    margin: 0.65rem 0 0 !important;
    justify-content: center;
  }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.78rem 1.45rem;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), filter 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--sea-deep);
  color: var(--white);
  box-shadow: none;
}
.btn-primary:hover { color: var(--white); background: var(--sea); }

.btn-secondary {
  background: var(--white);
  color: var(--sea-deep);
  border: 1.5px solid var(--sea-deep);
  box-shadow: none;
}
.btn-secondary:hover {
  background: var(--sand);
  color: var(--sea-deep);
  border-color: var(--sea);
  box-shadow: 0 8px 20px -12px rgba(23, 59, 69, 0.35);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

/* ========== Hero (överi meri) ========== */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 var(--section-space);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -20%;
  transform: translateX(-50%);
  width: min(1400px, 160vw);
  height: 120%;
  background:
    radial-gradient(ellipse 50% 40% at 50% 30%, rgba(255,252,247,0.5), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-copy {
  animation: page-in 0.7s var(--ease) both;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--sea-deep);
  background: var(--white);
  border: 1px solid var(--glass-border);
}

.trust-pill i {
  font-style: normal;
  opacity: 0.75;
}

/* Big sea vista card */
.hero-vista {
  position: relative;
  border-radius: 18px;
  min-height: min(52vw, 420px);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--shell);
  animation: page-in 0.85s 0.08s var(--ease) both, float-soft 9s ease-in-out infinite;
  isolation: isolate;
}

.hero-vista__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 40%; /* maalauksen majakka pysyy rajauksessa */
}
.hero-vista::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(23, 59, 69, 0.28) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-vista__sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 75% 18%, rgba(255,252,247,0.75), transparent 55%),
    linear-gradient(180deg, #c8dce5 0%, #a8c5d0 38%, #7fa9b8 58%, #5d8f9f 78%, #4a7a8a 100%);
}

.hero-vista__sun {
  position: absolute;
  width: 90px;
  height: 90px;
  top: 14%;
  right: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff9f0 0%, rgba(255,240,220,0.5) 40%, transparent 70%);
  box-shadow: 0 0 60px 20px rgba(255, 248, 235, 0.35);
  opacity: 0.85;
}

.hero-vista__haze {
  position: absolute;
  inset: 28% 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(255,252,247,0.15) 30%, transparent 50%);
}

.hero-vista__water {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 48%;
  background:
    linear-gradient(180deg, rgba(90, 145, 160, 0.35), rgba(47, 98, 112, 0.55));
}

.hero-vista__wave {
  position: absolute;
  left: -8%;
  width: 116%;
  height: 70px;
}

.hero-vista__wave.a { bottom: 28%; opacity: 0.55; animation: wave-drift 16s ease-in-out infinite; }
.hero-vista__wave.b { bottom: 16%; opacity: 0.4; animation: wave-drift 20s ease-in-out infinite reverse; }
.hero-vista__wave.c { bottom: 4%; opacity: 0.55; animation: wave-drift 24s ease-in-out infinite; }

.hero-vista__foam-line {
  position: absolute;
  left: 0; right: 0;
  top: 52%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,252,247,0.75), transparent);
  opacity: 0.7;
}

.hero-vista__caption {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--shell);
  color: var(--sea-deep);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.4;
  box-shadow: none;
}

/* Mobiili (hero-gridin oma 1-palstainen breakpoint): maalaus kokonaan
   näkyviin, sitaatti kuvan alle ennen "Miten voin auttaa" -osiota. */
@media (max-width: 860px) {
  .hero-vista { min-height: 0; }
  .hero-vista::after { display: none; }
  .hero-vista__photo {
    position: static;
    height: auto;
    aspect-ratio: 1792 / 1008;
  }
  .hero-vista__caption {
    position: static;
    border: 0;
    border-top: 1px solid var(--shell);
    border-radius: 0;
    max-width: none;
  }
}

/* ========== Sections ========== */
.section {
  padding: var(--section-space) 0;
  position: relative;
}

.section-alt {
  background: var(--white);
}

/* Wave divider between sections */
.wave-divider {
  display: block;
  width: 100%;
  height: 36px;
  margin: 0;
  color: var(--white);
  line-height: 0;
}
.wave-divider svg { width: 100%; height: 100%; display: block; }

.section-head {
  max-width: 42rem;
  margin-bottom: 2rem;
}
.section-head p { margin-bottom: 0; }

/* ========== Cards ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.55rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--sand);
  border: 1px solid var(--glass-border);
  color: var(--sea);
  margin-bottom: 0.95rem;
  font-size: 1.55rem;
  line-height: 1;
}

.card h3 { color: var(--sea-deep); }
.card p:last-child { margin-bottom: 0; }

.soft-panel {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.3rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-soft);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}

.list-calm {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-calm li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.7rem;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(47, 98, 112, 0.07);
}
.list-calm li:last-child { border-bottom: none; }

.list-calm li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--shell);
  box-shadow: none;
}

/* Quote – tide style */
.quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-style: italic;
  line-height: 1.42;
  color: var(--sea-deep);
  margin: 0;
  max-width: 34rem;
}

.quote-block {
  display: grid;
  gap: 1rem;
  padding: 1.6rem 1.5rem;
  border-left: 2px solid var(--shell);
  background: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: none;
}

/* ========== Forms ========== */
.form-grid { display: grid; gap: 1rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--sea-deep);
  margin-bottom: 0.35rem;
}

.hint {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-top: 0.2rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.72rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(47, 98, 112, 0.16);
  background: rgba(255, 252, 247, 0.92);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

textarea { min-height: 130px; resize: vertical; }

input:focus, select:focus, textarea:focus {
  border-color: var(--sea-mid);
  box-shadow: 0 0 0 4px rgba(58, 117, 134, 0.12);
  outline: none;
}

.hp {
  position: absolute; left: -9999px; opacity: 0;
  height: 0; width: 0; overflow: hidden;
}

.form-note {
  font-size: 0.92rem;
  color: var(--ink-faint);
  margin-top: 0.75rem;
}

/* ========== Booking ========== */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .booking-layout { grid-template-columns: 1fr; }
}

.calendar {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.calendar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(196, 216, 224, 0.25));
  pointer-events: none;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.cal-head h3 {
  margin: 0;
  font-size: 1.22rem;
  text-transform: capitalize;
}

.cal-nav { display: inline-flex; gap: 0.4rem; }

.cal-nav button {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(47, 98, 112, 0.14);
  background: rgba(255,252,247,0.8);
  color: var(--sea-deep);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
}
.cal-nav button:hover { background: var(--mist); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.cal-dow {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0.35rem 0;
}

.cal-day {
  appearance: none;
  border: none;
  background: transparent;
  min-height: 46px;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.cal-day:hover:not(:disabled) {
  background: rgba(196, 216, 224, 0.45);
  transform: scale(1.04);
}
.cal-day.is-muted { color: var(--ink-faint); font-weight: 500; }
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--sea-glow); }
.cal-day.is-selected {
  background: linear-gradient(145deg, var(--sea-mid), var(--sea-deep));
  color: var(--white);
}
.cal-day:disabled { opacity: 0.32; cursor: not-allowed; }

.slot-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.slot {
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid rgba(47, 98, 112, 0.14);
  background: rgba(255,252,247,0.85);
  font: inherit;
  font-weight: 600;
  color: var(--sea-deep);
  cursor: pointer;
}
.slot:hover { background: var(--mist); }
.slot.is-selected {
  background: linear-gradient(145deg, var(--sea-mid), var(--sea-deep));
  border-color: transparent;
  color: var(--white);
}

.selected-summary {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(105deg, rgba(228,238,242,0.9), rgba(255,252,247,0.7));
  color: var(--sea-deep);
  font-weight: 600;
  border: 1px solid rgba(47, 98, 112, 0.08);
}

/* ========== Prices / contact ========== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
@media (max-width: 700px) {
  .price-grid { grid-template-columns: 1fr; }
}

.price-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.45rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.price-card::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -30%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 179, 150, 0.14), transparent 70%);
  pointer-events: none;
}

.price-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--sea-deep);
  margin: 0.35rem 0 0.5rem;
}

.badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sea);
  background: var(--sand);
  border: 1px solid var(--glass-border);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 800px) {
  .contact-strip { grid-template-columns: 1fr; }
}

.contact-item {
  background: var(--glass);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}

.contact-item span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.35rem;
}

.contact-item a,
.contact-item p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--sea-deep);
  text-decoration: none;
  font-weight: 600;
}
.contact-item p + p { margin-top: 0.28rem; }

/* Logo-video yhteystiedoissa (autoplay muted loop – ei gif) */
.contact-aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.contact-logo-video {
  position: relative;
  width: min(14rem, 72vw);
  margin: 1.35rem auto 0.15rem;
  z-index: 1;
}

/* Aside: leveys = boksit; korkeus PC:llä täyttää jäljelle jäävän tilan (alareuna = lomake) */
.contact-logo-video--aside {
  width: 100%;
  max-width: 100%;
  margin: 1.25rem 0 0;
  align-self: stretch;
}

/* Pehmeä merellinen hehku taakse (HRP:n glow-idea, Marjonkaa-värein) */
.contact-logo-video::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118%;
  height: 118%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(106, 158, 174, 0.22), transparent 58%),
    radial-gradient(circle at 50% 60%, rgba(44, 95, 109, 0.1), transparent 64%);
  pointer-events: none;
  z-index: -1;
  filter: blur(1.5px);
}

.contact-logo-video__el {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid var(--shell);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  mix-blend-mode: multiply;
}

/* PC: logo ei neliönä leveyden mukaan vaan täyttää tilan lomakkeen alareunaan asti */
@media (min-width: 801px) {
  .split:has(.contact-aside) {
    align-items: stretch;
  }

  .contact-aside {
    height: 100%;
    min-height: 0;
  }

  /* yläboksit pysyvät sisällön kokoisina */
  .contact-aside > .soft-panel,
  .contact-aside > .notice {
    flex: 0 0 auto;
  }

  .contact-logo-video--aside {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
  }

  .contact-logo-video--aside .contact-logo-video__el {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto; /* ei pakota neliötä → ei ylitä lomaketta */
    object-fit: contain;
    object-position: center center;
    border-radius: 18px;
  }
}

/* Mobiili: maltillisempi, silti selkeä – ei jättikokoista neliötä */
@media (max-width: 800px) {
  .contact-logo-video--aside {
    width: min(18rem, 88vw);
    margin: 1.25rem auto 0.5rem;
  }
}

/* ========== Footer meri ========== */
.site-footer {
  margin-top: 1rem;
  padding: 0 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-wave {
  display: block;
  width: 100%;
  height: 72px;
  color: var(--white);
  line-height: 0;
  margin-bottom: -1px;
}
.footer-wave svg { width: 100%; height: 100%; display: block; }

.footer-body {
  background: var(--white);
  padding: 1.5rem 0 0.5rem;
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--sea-deep);
  margin-bottom: 0.4rem;
  line-height: 0;
}

.footer-links { display: grid; gap: 0.4rem; }
.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
}
.footer-links a:hover { color: var(--sea-deep); }

.footer-meta {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--ink-faint);
}
.footer-meta a:not(.site-credit) {
  color: var(--ink-soft);
  text-decoration: none;
}
.footer-meta a:not(.site-credit):hover {
  color: var(--sea-deep);
}

.footer-meta__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}

/* HRP-krediitti: hillitty mainos, sama rivi/koko kuin footerin muu teksti (0.9rem) */
.site-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-height: 1.55em;
  padding: 0.12rem 0.45rem 0.12rem 0.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.17em; /* omistajan pyyntö 2026-09-30: noin 17 % suurempi kuin footer-meta; merkki (1.25em) skaalautuu samassa suhteessa */
  line-height: 1.35;
  color: var(--sea-deep);
  background: var(--white);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 3px 10px -8px rgba(23, 59, 69, 0.3);
  transition:
    border-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    background 0.22s var(--ease),
    color 0.22s var(--ease);
}
.site-credit:hover {
  border-color: rgba(44, 95, 109, 0.34);
  background: var(--sand);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 5px 14px -10px rgba(23, 59, 69, 0.38);
}
.site-credit:focus-visible {
  outline: 2px solid var(--sea-mid);
  outline-offset: 2px;
}
.site-credit__mark {
  flex-shrink: 0;
  width: 1.25em;
  height: 1.25em;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #e8e8ec;
  box-shadow: 0 0 0 1px rgba(23, 59, 69, 0.12);
}
.site-credit__text {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.28em;
  min-width: 0;
  line-height: 1.35;
}
.site-credit__label {
  font-size: 1em;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink-faint);
}
.site-credit__label::after {
  content: ":";
}
.site-credit__brand {
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--sea-deep);
}
.site-credit:hover .site-credit__brand {
  color: var(--sea);
}

/* Kapeilla näytöillä krediitti pysyy yhdellä rivillä (noin 10 % alkuperäistä suurempi) */
@media (max-width: 400px) {
  .site-credit { font-size: 1.1em; gap: 0.3rem; }
}

@media (max-width: 560px) {
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-meta__right {
    width: 100%;
  }
}

/* ========== Page hero ========== */
.page-hero {
  padding: clamp(3rem, 6.5vw, 5.5rem) 0 0;
  position: relative;
}

.page-hero .lead { margin-bottom: 0; }

.page-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  color: var(--sea-deep);
  margin: -0.35rem 0 1rem;
  max-width: 28rem;
}

/* Alasivujen yhtenäinen hero (ei etusivu) */
.page-hero--center {
  text-align: center;
}

.page-hero--center h1 {
  margin-left: auto;
  margin-right: auto;
}

.page-hero--center .page-tagline,
.page-hero--center .lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 38rem;
}

.page-hero--center .page-tagline {
  max-width: 32rem;
}
.page-hero .hero-cta {
  margin: 1.35rem 0 0;
}
.page-hero--center .hero-cta {
  display: flex;
  justify-content: center;
}

/* ========== Utils ========== */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.muted { color: var(--ink-soft); }

/* Rivinvaihto vain mobiilissa; desktopissa välimerkki */
.br-mobile { display: none; }
.sep-desktop { display: inline; }
@media (max-width: 700px) {
  .br-mobile { display: block; }
  .sep-desktop { display: none; }
}

.notice {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(203, 184, 154, 0.2);
  border: 1px solid rgba(203, 184, 154, 0.4);
  color: var(--ink);
}
.notice strong { color: var(--sea-deep); }

/* Step numbers with sea ring */
.step-num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  background: var(--sea-deep);
  margin-bottom: 0.65rem;
}

::selection {
  background: rgba(154, 186, 198, 0.5);
  color: var(--sea-deep);
}

/* ========== Scroll fade-in ========== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Portaittain viive ryhmissä (kortit, stripit) */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.22s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.32s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.42s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.52s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal-stagger > .reveal {
    transition-delay: 0s;
  }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--sand); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--foam), var(--sea-mid));
  border-radius: 999px;
  border: 2px solid var(--sand);
}

/* Yhteystiedot: luottamus, 112, sticky */
.contact-trust {
  text-align: center;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 auto 1rem;
  line-height: 1.5;
}
.notice--crisis {
  max-width: 46rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}
.optional {
  font-weight: 500;
  color: var(--ink-faint);
  font-size: 0.88em;
}
.contact-sticky { display: none; }
@media (max-width: 800px) {
  body.page-contact {
    padding-bottom: calc(4.9rem + env(safe-area-inset-bottom, 0px));
  }
  .contact-sticky {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    border-top: 1px solid var(--glass-border);
  }
  .contact-sticky a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--sea-deep);
    background: var(--sand);
    border: 1px solid var(--glass-border);
  }
  .contact-sticky .contact-sticky__book {
    color: var(--white);
    background: var(--sea-deep);
    border-color: transparent;
  }
}

/* ========== Rannikon rauha: rauhallinen hiekkapohja ========== */
/* Meritausta hiekan sävyyn, ei vaaleansinistä pintaa */
.sea-ambience {
  background: var(--sand);
}
.sea-ambience__sky,
.sea-ambience__sun,
.sea-ambience__land,
.sea-ambience__horizon,
.sea-ambience__waves,
.sea-ambience::after {
  display: none;
}
.sea-ambience__grain { opacity: 0.03; }

/* Tekstipalstan mitta */
main p,
main ul,
main ol {
  max-width: var(--measure);
}
.page-hero--center .lead,
.contact-trust {
  max-width: min(var(--measure), 38rem);
}
.page-hero .hero-cta { max-width: none; }

/* Ei sinistä hehkua logon takana */
.contact-logo-video::before { display: none; }

/* ========== Sisältöpäivitys 2026-09-30: muotokuva, koulutus, vastaanottoajat ========== */
.portrait-figure {
  margin: 0 0 1.25rem;
  max-width: 420px;
}
.portrait-figure__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--shell);
  box-shadow: var(--shadow-soft);
}
@media (max-width: 800px) {
  .portrait-figure { margin-left: auto; margin-right: auto; }
}

.intro-approach {
  margin: 1.1rem 0 0.25rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.list-calm .list-sub {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
}
.list-calm .list-sub li {
  padding: 0.3rem 0 0.3rem 1.1rem;
  border-bottom: none;
  font-size: 0.95em;
}
.list-calm .list-sub li::before {
  top: 0.8rem;
  width: 0.4rem;
  height: 0.4rem;
  box-shadow: none;
  background: var(--shell);
}

@media (min-width: 801px) {
  .contact-strip--4 { grid-template-columns: repeat(2, 1fr); }
}

.slot[hidden] { display: none; }
.nw { white-space: nowrap; }
.contact-item p .nw {
  display: inline;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  text-transform: none;
  color: inherit;
}
