:root {
      --color-bg: #020617;
      --color-bg-alt: #020617;
      --color-section: #0b1120;
      --color-primary: #1d4ed8;
      --color-primary-soft: #60a5fa;
      --color-accent: #ec4899;
      --color-text: #e5e7eb;
      --color-text-muted: #9ca3af;
      --color-border: #1f2937;
      --max-width: 1120px;
      --radius-lg: 18px;
      --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: "Fira Sans Condensed", system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: radial-gradient(circle at top, #111827 0, #020617 55%);
      color: var(--color-text);
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }

    p,
    li {
      font-size: 0.97rem;
    }

    h1,
    h2,
    h3,
    h4 {
      font-family: "Fira Sans Condensed", system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
      letter-spacing: 0.02em;
      font-weight: 600;
      margin: 0 0 0.4rem;
    }

    h1 {
      font-size: 2.45rem;
      line-height: 1.05;
    }

    h2 {
      font-size: 1.9rem;
      line-height: 1.2;
    }

    h3 {
      font-size: 1.25rem;
      line-height: 1.2;
    }

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

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

    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

/* HEADER & NAV — uusi rakenne */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;   /* ⭐ TASAA VÄLIT LUOTETTAVASTI */
  gap: 1rem;
}

/* Logo */

.nav-left {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  display: block;
  height: auto;
  max-height: 60px;   /* logo ei koskaan ylitä tätä */
  width: auto;
}

/* Desktop navigation links */

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-size: 0.86rem;
  font-weight: 500;
}

/* CTA */

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.15rem;
  font-size: 0.83rem;
  font-weight: 500;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #680080, #a303a6);
  border: 1px solid rgba(248, 250, 252, 0.16);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.9);
  text-decoration: none;
  white-space: nowrap;
}

/* Hamburger */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0.2rem;
  cursor: pointer;
  /* pakotetaan sisus pystyriviksi */
  display: none; /* desktopissa piilossa, mobile näyttää media-queryssä */
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 999px;
  margin: 3px 0; /* väli viivoille */
}


/* MOBILE */

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
  display: none;            /* desktopissa piilossa, mobile näyttää media-queryssä */
  border: none;
  background: transparent;
  padding: 0.2rem;
  cursor: pointer;

  display: none;            /* säilyy, media query yliajaa tämän */
  align-items: center;
  justify-content: center;

  /* 🔑 TÄMÄT LISÄKSI: */
  flex-direction: column;   /* laitetaan rivin sijaan kolumniksi */
  gap: 4px;                 /* väli viivojen väliin */
}


  .nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(15, 23, 42, 0.97);
    padding: 0.9rem 1.25rem;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(55, 65, 81, 0.8);
  }

  .nav.nav-open .nav-cta {
    display: inline-flex;
    margin: 0.7rem 1.25rem 1rem auto;
  }
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #38bdf8;
}

/* Kielivalitsin */

.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.5rem;
  padding-left: 0.5rem;
  border-left: 1px solid rgba(148, 163, 184, 0.4);
}

.lang-separator {
  font-size: 0.8rem;
  color: #9ca3af;
}

.lang-switch {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.16rem 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #e5e7eb;
  text-decoration: none;
  opacity: 0.85;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.lang-switch:hover {
  opacity: 1;
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
}

.lang-active {
  border-color: rgba(248, 250, 252, 0.9);
  background: #020617;
  opacity: 1;
  font-weight: 600;
}
@media (max-width: 768px) {
  /* Piilotetaan desktop-valikko ja CTA oletuksena */
  .nav-links,
  .nav-cta {
    display: none;
  }

  /* Hamburger näkyviin oikeaan reunaan */
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  /* Kun navissa on .nav-open, näytetään valikko pudotusvalikkona */
  .nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.97);
    padding: 0.9rem 1.25rem 1.1rem;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(55, 65, 81, 0.8);
    z-index: 19;
  }

  /* Halutessasi voit piilottaa CTA:n kokonaan mobiilissa
     → poista tämä blokki, jos et halua CTA:ta ollenkaan mobile-dropdownin alle */
  .nav.nav-open .nav-cta {
    display: inline-flex;
    margin: 0.7rem 1.25rem 1rem auto;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .nav-lang {
    margin-top: 0.4rem;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }
}





    /* BRANDI-PILLIT NAVIN JA HERON VÄLIIN */

    .brand-pill-strip {
      background: radial-gradient(circle at top left, #1e293b, #020617 70%);
      border-top: 1px solid rgba(148, 163, 184, 0.35);
      border-bottom: 1px solid rgba(148, 163, 184, 0.25);
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    }

    .brand-pill-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0.65rem 1.25rem 0.7rem;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .brand-pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.55rem;
      font-size: 0.8rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .brand-pill {
      padding: 0.28rem 0.85rem;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.92);
      border: 1px solid rgba(96, 165, 250, 0.45);
      color: var(--color-primary-soft);
      font-weight: 600;
      white-space: nowrap;
      box-shadow: 0 0 14px rgba(56, 189, 248, 0.18);
    }

    @media (max-width: 640px) {
      .brand-pill-inner {
        padding-inline: 1rem;
      }

      .brand-pill-row {
        justify-content: center;
      }
    }

    /* SECTIONS GENERAL */

    section {
      padding: 3.2rem 1.25rem;
    }

    @media (min-width: 900px) {
      section {
        padding: 4.2rem 1.25rem;
      }
    }

    .section-inner {
      max-width: var(--max-width);
      margin: 0 auto;
    }

    .section-header {
      margin-bottom: 2rem;
    }

    .section-kicker {
      font-size: 0.95rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--color-primary-soft);
      margin-bottom: 0.35rem;
      font-weight: 500;
    }

    .section-title {
      margin: 0;
    }

    .section-description {
      margin-top: 0.55rem;
      color: var(--color-text-muted);
      max-width: 640px;
      font-size: 0.95rem;
    }
    

    /* HERO */

    .hero {
      padding-top: 4.1rem;
      padding-bottom: 3.2rem;
    }

    @media (min-width: 900px) {
      .hero {
        padding-top: 4.6rem;
        padding-bottom: 3.8rem;
      }
    }

    .hero-grid {
      display: grid;
      gap: 2.4rem;
    }

    @media (min-width: 900px) {
      .hero-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        align-items: center;
        column-gap: 3rem;
      }
    }

    .hero-kicker {
      font-size: 0.95rem;
      letter-spacing: 0.19em;
      text-transform: uppercase;
      color: var(--color-primary-soft);
      margin-bottom: 0.8rem;
      font-weight: 500;
    }

    .hero-title {
      margin: 0 0 0.7rem;
      font-size: 2.25rem;
    }

    @media (min-width: 900px) {
      .hero-title {
        font-size: 2.6rem;
      }
    }

    .hero-title span {
      background: linear-gradient(120deg, #60a5fa, #a855f7, #ec4899);
      background-clip: text;
      color: transparent;
    }

    .hero-lead {
      color: var(--color-text-muted);
      font-size: 0.98rem;
      max-width: 520px;
      margin-bottom: 1.5rem;
    }

    .hero-pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1.4rem;
    }

    .hero-pill {
      font-size: 0.76rem;
      padding: 0.2rem 0.8rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.45);
      color: var(--color-text-muted);
      background: rgba(15, 23, 42, 0.7);
      font-weight: 400;
    }

    .hero-cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.85rem;
      align-items: center;
      margin-bottom: 1.25rem;
    }

    .btn-primary,
    .btn-ghost {
      border-radius: 999px;
      font-size: 0.9rem;
      font-weight: 500;
      padding: 0.65rem 1.4rem;
      cursor: pointer;
      border: 1px solid transparent;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      text-decoration: none;
    }

    .btn-primary {
      background: radial-gradient(circle at 0 0, #3c94ff, #1d4ed8 55%, #0a228f);
      border-color: rgba(191, 219, 254, 0.4);
      box-shadow: 0 14px 40px rgba(15, 23, 42, 0.9);
    }

    .btn-primary:hover {
      filter: brightness(1.08);
    }

    .btn-ghost {
      background: rgba(15, 23, 42, 0.7);
      border-color: rgba(148, 163, 184, 0.4);
      color: var(--color-text-muted);
    }

    .btn-ghost:hover {
      background: rgba(15, 23, 42, 0.98);
    }
    @media (max-width: 640px) {
  .btn-primary {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
  }
}


    .hero-meta {
      font-size: 0.8rem;
      color: var(--color-text-muted);
      max-width: 450px;
    }

    .hero-highlight-card {
      background: radial-gradient(circle at top left, #1e293b, #020617);
      border-radius: 24px;
      padding: 1.4rem 1.25rem;
      border: 1px solid rgba(148, 163, 184, 0.3);
      box-shadow: var(--shadow-soft);
      position: relative;
      overflow: hidden;
    }

    .hero-highlight-tag {
      font-size: 0.95rem;
      color: var(--color-primary-soft);
      text-transform: uppercase;
      letter-spacing: 0.14em;
      margin-bottom: 0.35rem;
      font-weight: 500;
    }

    .hero-highlight-title {
      font-size: 1.05rem;
      margin-bottom: 0.5rem;
    }

    .hero-highlight-text {
      font-size: 0.88rem;
      color: var(--color-text-muted);
      margin-bottom: 0.7rem;
    }

    .hero-highlight-meta {
      font-size: 0.78rem;
      color: var(--color-text-muted);
    }

    .hero-highlight-list {
      margin: 0.35rem 0 0.35rem 1.1rem;
      padding: 0;
      font-size: 0.8rem;
      color: var(--color-text-muted);
    }

    .hero-highlight-list li {
      margin-bottom: 0.15rem;
    }

    .hero-orbit {
      position: absolute;
      inset: -60%;
      opacity: 0.18;
      background:
        radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.75), transparent 55%),
        radial-gradient(circle at 80% 25%, rgba(236, 72, 153, 0.65), transparent 55%),
        radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.7), transparent 55%);
      mix-blend-mode: screen;
      pointer-events: none;
    }
.hero-link {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-primary-soft);
  font-weight: 500;
}
/* HARRI-CARLSON SIVU – RAKENNE JA TYYLIT */

/* Hero-osio: kuva + esittely */

.profile-hero {
  padding: 3.5rem 1.25rem 3rem;
}

@media (min-width: 900px) {
  .profile-hero {
    padding-top: 4.2rem;
  }
}

.profile-hero-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .profile-hero-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    column-gap: 2.6rem;
  }
}

.profile-photo-card {
  background: radial-gradient(circle at 10% 0, rgba(56, 189, 248, 0.55), transparent 60%), #020617;
  border-radius: 22px;
  padding: 0.7rem;
  border: 1px solid rgba(56, 189, 248, 0.8);
  box-shadow: 0 20px 55px rgba(37, 99, 235, 0.5);
  max-width: 420px;
  margin: 0 auto;
}

.profile-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.profile-hero-text {
  font-size: 0.96rem;
  color: var(--color-text-muted);
  max-width: 640px;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.9rem 0 1.1rem;
}

.profile-badge {
  font-size: 0.75rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: var(--color-text-muted);
}

.profile-meta-list {
  display: grid;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Perustiedot + nopea profiili */

.info-section {
  padding: 2.5rem 1.25rem 3rem;
}

.info-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.8rem;
}

@media (min-width: 900px) {
  .info-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    column-gap: 2.4rem;
  }
}

.info-card {
  background: radial-gradient(circle at top, #020617, #020617 55%, #0b1120 100%);
  border-radius: 20px;
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
}

.info-list li {
  margin-bottom: 0.25rem;
}

/* CV / kokemus – aikajana-tyyli */

.cv-section {
  padding: 2.5rem 1.25rem 3rem;
}

.cv-timeline {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.cv-item {
  position: relative;
  padding: 0.9rem 0.9rem 0.9rem 1.3rem;
  border-radius: 14px;
  background: radial-gradient(circle at top, #020617, #020617 50%, #020617 100%);
  border: 1px solid rgba(31, 41, 55, 0.95);
}

.cv-item::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 1.1rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #ec4899);
}

.cv-period {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
  margin-bottom: 0.1rem;
}

.cv-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.cv-org {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}

.cv-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Case-esimerkit */

.case-section {
  padding: 2.5rem 1.25rem 3rem;
}

.case-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.3rem;
}

@media (min-width: 900px) {
  .case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.case-card {
  background: radial-gradient(circle at top, #020617, #0b1120 60%, #020617 100%);
  border-radius: 18px;
  padding: 1.1rem 1rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.case-tag {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-primary-soft);
  margin-bottom: 0.2rem;
}

.case-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.case-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
}

/* Urapolku / tarinallinen osio */

.story-section {
  padding: 2.5rem 1.25rem 3rem;
}

.story-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.story-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 740px;
}

    /* PALVELUT */

.services-clusters {
  display: grid;
  gap: 1.8rem;
}

@media (min-width: 960px) {
  .services-clusters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

.service-cluster {
  background: radial-gradient(circle at top, #111827, #020617);
  border-radius: 22px;
  padding: 1.1rem 1rem 1.15rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.service-cluster-header {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.1rem;
}

.service-cluster-title {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0;
}

.service-cluster-meta {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

.cluster-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

/* pinkki, magenta, sininen kehys */

.service-cluster.creative {
  border-color: rgba(236, 72, 153, 0.9);
  box-shadow: 0 18px 55px rgba(236, 72, 153, 0.3);
}

.service-cluster.creative .service-cluster-header {
  color: rgba(236, 72, 153, 0.9);
}

.service-cluster.project {
  border-color: rgba(217, 70, 239, 0.9);
  box-shadow: 0 18px 55px rgba(217, 70, 239, 0.3);
}

.service-cluster.project .service-cluster-header {
  color: rgba(217, 70, 239, 0.9);
}

.service-cluster.consulting {
  border-color: rgba(59, 130, 246, 0.95);
  box-shadow: 0 18px 55px rgba(59, 130, 246, 0.35);
}

.service-cluster.consulting .service-cluster-header {
  color: rgba(59, 130, 246, 0.96);
}

/* yksittäiset palvelukortit klusterien sisällä */

.service-card {
  background: radial-gradient(circle at top, #020617, #020617 55%, #0b1120 100%);
  border-radius: var(--radius-lg);
  padding: 0.9rem 0.85rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.service-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-primary-soft);
  font-weight: 500;
}

.service-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.service-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.service-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.1rem;
}

.service-link {
  margin-top: 0.35rem;
  font-size: 0.84rem;
  color: var(--color-primary-soft);
  font-weight: 500;
}

   

/* FOUNTAIN STUDIO — sama layout kuin Harri-osiossa */

.fountain-layout {
  display: grid;
  gap: 1.8rem;
}

@media (min-width: 900px) {
  .fountain-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    column-gap: 2.4rem;
  }
}

/* Kuva vasemmalle — sama tyyli kuin Harri-kuvassa */

.fountain-photo-card {
  background: radial-gradient(circle at 10% 0, rgba(56, 189, 248, 0.55), transparent 60%), #020617;
  border-radius: 22px;
  padding: 0.7rem;
  border: 1px solid rgba(56, 189, 248, 0.8);
  box-shadow: 0 20px 55px rgba(37, 99, 235, 0.5);
  max-width: 460px;
  margin: 0 auto;
}

.fountain-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

/* Tekstit oikealle – sama typografia kuin Harri-osiossa */

.fountain-text {
  font-size: 0.96rem;
  color: var(--color-text-muted);
  max-width: 650px;
}

.fountain-list {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.fountain-list li {
  margin-bottom: 0.12rem;
}

/* CTA-nappi */

.fountain-cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 123, 255, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fountain-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 123, 255, 0.4);
}



    /* ABOUT / HARRI */

.about-layout {
  display: grid;
  gap: 1.7rem;
}

@media (min-width: 900px) {
  .about-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    column-gap: 2.2rem;
  }
}

.about-photo-card {
  background: radial-gradient(circle at 10% 0, rgba(96, 165, 250, 0.6), transparent 60%),
    #020617;
  border-radius: 20px;
  padding: 0.6rem;
  border: 1px solid rgba(96, 165, 250, 0.7);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
  max-width: 480px;
  margin: 0 auto;
}

.about-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.about-text {
  font-size: 0.96rem;
  color: var(--color-text-muted);
  max-width: 650px;
}

.about-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.6rem;
  margin-bottom: 0.8rem;
}

.about-pill {
  font-size: 0.75rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--color-text-muted);
  background: rgba(15, 23, 42, 0.85);
  font-weight: 400;
}

.about-list {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}


    /* CONTACT */

    .contact-layout {
      display: grid;
      gap: 1.7rem;
    }

    @media (min-width: 880px) {
      .contact-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        align-items: start;
        column-gap: 2rem;
      }
    }

    form {
      display: grid;
      gap: 0.85rem;
    }

    label {
      font-size: 0.76rem;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      color: var(--color-text-muted);
      display: block;
      margin-bottom: 0.2rem;
      font-weight: 500;
    }

    input,
    textarea {
      width: 100%;
      border-radius: 12px;
      border: 1px solid rgba(51, 65, 85, 0.95);
      background: rgba(15, 23, 42, 0.9);
      color: var(--color-text);
      padding: 0.55rem 0.7rem;
      font-size: 0.9rem;
      outline: none;
      transition: border-color 0.15s ease, box-shadow 0.15s ease,
        background 0.15s ease;
    }

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

    input:focus,
    textarea:focus {
      border-color: rgba(96, 165, 250, 0.9);
      box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.7);
      background: rgba(15, 23, 42, 0.98);
    }

    .contact-details {
      font-size: 0.9rem;
      color: var(--color-text-muted);
    }

    .contact-details a {
      color: var(--color-primary-soft);
    }

    .contact-line {
      margin-bottom: 0.4rem;
    }

    .contact-tag {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--color-text-muted);
      margin-bottom: 0.4rem;
      font-weight: 500;
    }

    /* FOOTER */

    footer {
      border-top: 1px solid rgba(31, 41, 55, 0.95);
      padding: 1.2rem 1.25rem 1.6rem;
      font-size: 0.8rem;
      color: var(--color-text-muted);
    }

    .footer-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    @media (min-width: 720px) {
      .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
      }
    }

    /* SMALL SCREEN TWEAKS */

    @media (max-width: 640px) {
      .hero {
        padding-top: 3.5rem;
      }

      .hero-title {
        font-size: 2rem;
      }

      .nav {
        padding-inline: 1rem;
      }

      .nav-links {
        display: none;
      }
    }
    .services-cta-wrapper {
  margin-top: 2.5rem;
  text-align: center;
}

.services-cta {
  display: inline-block;
  padding: 0.95rem 2.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, #680080, #a303a6);
  color: white;
  border: 1px solid rgba(248, 250, 252, 0.16);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 123, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 32px rgba(0, 123, 255, 0.45);
}
@media (max-width: 640px) {
  .services-cta {
    padding: 0.85rem 1.6rem;
    font-size: 1rem;
  }
}

/* ========================================================
   FOUNTAIN STUDIO – HERO SECTION
   ======================================================== */

.fs-hero {
  position: relative;
  min-height: 72vh;
  padding: 5rem 1.25rem 3.5rem;
  overflow: hidden;
}

/* ---------- Taustakaruselli ---------- */

.fs-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.fs-carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  transform: translateX(0%);
  transition: transform 0.9s ease-in-out;
}

.fs-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
}

.fs-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tumma overlay taustan ja tekstin välillä */
.fs-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(10, 20, 40, 0.3), rgba(10, 15, 25, 0.85));
}

/* ---------- Hero-sisällön layout ---------- */

.fs-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}

.fs-hero-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .fs-hero-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
  }
}

/* ---------- Vasemman puolen pystykuva ---------- */

.fs-hero-left {
  display: flex;
  justify-content: center;
}

.fs-portrait-frame {
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.8), transparent 60%), #020617;
  padding: 0.4rem;
  border-radius: 18px;
  border: 1px solid rgba(59, 130, 246, 0.85);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.9);
  max-width: 365px;
  width: 100%;
}

.fs-portrait-img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.6s ease;
}

@media (max-width: 768px) {
  .fs-portrait-frame {
    max-width: 220px;
  }
}

/* ---------- Oikean puolen blur-kehys ---------- */

.fs-hero-right {
  display: flex;
}

.fs-hero-blurbox {
  background: rgba(15, 23, 42, 0.45);           /* läpinäkyvä tausta */
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  padding: 1.8rem 1.8rem 2rem;
  border-radius: 24px;
  border: 1px solid rgba(59, 130, 246, 0.85); /* kevyempi border */
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.65);
}

/* Typography */
.fs-hero-lead {
  font-size: 0.97rem;
  color: var(--color-text-muted);
  max-width: 620px;
  margin-bottom: 0.9rem;
}

.fs-hero-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: 1.1rem;
  margin-bottom: 0.4rem;
}

.fs-services-list {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.fs-services-list li {
  margin-bottom: 0.25rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .fs-hero {
    padding-top: 3.5rem;
  }

  .fs-hero-blurbox {
    padding: 1.3rem 1.2rem 1.6rem;
  }
}


/* ---------- YHTEISTYÖKUMPPANIT ---------- */

.fs-partners {
  padding: 2.5rem 1.25rem 3rem;
}

.fs-partners .section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.fs-partner-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 960px) {
  .fs-partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fs-partner-card {
  background: radial-gradient(circle at top, #020617, #0b1120 60%, #020617 100%);
  border-radius: 18px;
  padding: 1.1rem 1rem 1.2rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.fs-partner-logo-wrap {
  height: 52px;
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
}

.fs-partner-logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.fs-partner-name {
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.fs-partner-text {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.fs-partner-link {
  font-size: 0.88rem;
  color: var(--color-primary-soft);
  text-decoration: none;
}

/* ---------- SHOWCASE ---------- */

.fs-showcase {
  padding: 2.5rem 1.25rem 3.2rem;
}

.fs-showcase .section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.fs-showcase-grid {
  display: grid;
  gap: 1.3rem;
}

@media (min-width: 960px) {
  .fs-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fs-showcase-card {
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top, #020617, #020617 60%, #0b1120 100%);
  border-radius: 18px;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.fs-showcase-image-wrap {
  position: relative;
  overflow: hidden;
}

.fs-showcase-image {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fs-showcase-card:hover .fs-showcase-image {
  transform: scale(1.05);
}

.fs-showcase-body {
  padding: 0.85rem 0.9rem 1rem;
}

.fs-showcase-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.fs-showcase-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ========================================================
   SHOWCASE SIVU – HERO + CONTENT
   ======================================================== */

/* ---------- HERO ---------- */

.sc-hero {
  position: relative;
  min-height: 72vh;
  padding: 5rem 1.25rem 3.5rem;
  overflow: hidden;
}

/* Taustakuva */

.sc-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.sc-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sc-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(10, 20, 40, 0.3), rgba(10, 15, 25, 0.9));
}

/* Sisältö taustan päällä */

.sc-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}

.sc-hero-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .sc-hero-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
  }
}

/* Vasemman puolen pystyvideo */

.sc-hero-left {
  display: flex;
  justify-content: center;
}

.sc-video-frame {
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.8), transparent 60%), #020617;
  padding: 0.4rem;
  border-radius: 22px;
  border: 1px solid rgba(59, 130, 246, 0.85);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.9);
  max-width: 280px;
  width: 100%;
  aspect-ratio: 9 / 16; /* pystyvideo */
  overflow: hidden;
}

.sc-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}

@media (max-width: 768px) {
  .sc-video-frame {
    max-width: 220px;
  }
}

/* Oikean puolen blur-kehys + tekstit */

.sc-hero-right {
  display: flex;
}

.sc-hero-blurbox {
  background: rgba(15, 23, 42, 0.45);           /* läpinäkyvä tausta */
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  padding: 1.8rem 1.8rem 2rem;
  border-radius: 24px;
  border: 1px solid rgba(59, 130, 246, 0.85);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.65);
}

.sc-hero-lead {
  font-size: 0.97rem;
  color: var(--color-text-muted);
  max-width: 620px;
  margin-bottom: 0.9rem;
}

.sc-hero-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: 1.1rem;
  margin-bottom: 0.4rem;
}

.sc-hero-list {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.sc-hero-list li {
  margin-bottom: 0.25rem;
}

/* Mobile tweaks */

@media (max-width: 768px) {
  .sc-hero {
    padding-top: 3.5rem;
  }

  .sc-hero-blurbox {
    padding: 1.3rem 1.2rem 1.6rem;
  }
}

/* ---------- SISÄLTÖ: TEKSTI + 3 KUVAA ---------- */

.sc-content {
  padding: 2.5rem 1.25rem 3.2rem;
}

.sc-content .section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.sc-about-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.2rem;
}

/* Desktop: teksti + 3 kuvaa gridissä */
@media (min-width: 960px) {
  .sc-about-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

.sc-about-text {
  font-size: 0.94rem;
  color: var(--color-text-muted);
}

/* Kuvakortit */

.sc-about-image-card {
  background: radial-gradient(circle at top, #020617, #0b1120 60%, #020617 100%);
  border-radius: 18px;
  padding: 0.75rem 0.75rem 0.9rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

.sc-about-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 0.45rem;
}

.sc-about-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.sc-about-image-card:hover .sc-about-image {
  transform: scale(1.04);
}

.sc-about-caption {
  font-size: 0.86rem;
  color: var(--color-text-muted);
}
/* ----------------------------------------------
   SHOWCASE: Kuvagrid ilman tekstipalstaa
   ---------------------------------------------- */

.sc-about-grid--images-only {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.2rem;
}

/* Desktop: kolme yhtä leveää kuvaa */
@media (min-width: 960px) {
  .sc-about-grid--images-only {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Kuvakortti */
.sc-about-image-card {
  background: radial-gradient(circle at top, #020617, #0b1120 60%, #020617 100%);
  border-radius: 18px;
  padding: 0.75rem 0.75rem 0.9rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
  font-size: 0.86rem;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
}

/* Kuva, aina sama korkeus ja skaalautuu ok */
.sc-about-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 0.45rem;
  height: 220px;                /* TÄÄ määrittää korttien tasakoon */
  aspect-ratio: 5 / 4;
}

.sc-about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

/* Hover zoom */
.sc-about-image-card:hover .sc-about-image {
  transform: scale(1.04);
}

/* Kuvateksti */
.sc-about-caption {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}
/* ============================================
   YouTube popup (showcase)
   ============================================ */

.sc-about-image-wrap--video {
  cursor: pointer;
}

/* Play-badge kortin päällä */
.sc-about-play-badge {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.0)
  );
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  color: #e5e7eb;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.25rem;
  pointer-events: none;
}

/* Popup-yläkerros */

.video-modal {
  position: fixed;
  inset: 0;
  display: none; /* piilossa oletuksena */
  z-index: 999;
}

.video-modal.open {
  display: block;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
}

/* Varsinainen dialogi */

.video-modal-dialog {
  position: relative;
  max-width: 960px;
  margin: 4vh auto;
  padding: 0 1rem;
  z-index: 1;
}

.video-modal-iframe-wrap {
  position: relative;
  width: 100%;
  /* 16:9 aspect */
  padding-top: 56.25%;
  background: #020617;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.9);
}

.video-modal-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Sulje-nappi */

.video-modal-close {
  position: absolute;
  top: -2.2rem;
  right: 0.5rem;
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Mobiilissa hieman tiiviimpi */

@media (max-width: 640px) {
  .video-modal-dialog {
    margin-top: 8vh;
  }

  .video-modal-close {
    top: -2rem;
    right: 0.2rem;
  }
}
/* ============================================
   Kuvalightbox (showcase)
   ============================================ */

.image-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 998;
}

.image-modal.open {
  display: block;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
}

.image-modal-dialog {
  position: relative;
  max-width: 1100px;
  margin: 5vh auto;
  padding: 0 1rem;
  z-index: 1;
}

.image-modal-img-wrap {
  background: #020617;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.9);
}

.image-modal-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

/* Sulje-nappi */

.image-modal-close {
  position: absolute;
  top: -2.2rem;
  right: 0.5rem;
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 640px) {
  .image-modal-dialog {
    margin-top: 8vh;
  }

  .image-modal-close {
    top: -2rem;
    right: 0.2rem;
  }
}


/* =========================================================
   FIXES: Mobile hamburger + language switch active state
   (Added for FI/EN include navigation)
   ========================================================= */

/* Active language pill (uses aria-current="page") */
.lang-switch[aria-current="page"] {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.55);
  color: #ffffff;
  opacity: 1;
}

/* Make sure hamburger is visible on mobile and opens the menu */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Ensure hamburger bars are visible */
  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 4px 0;
    background: #e5e7eb;
    border-radius: 2px;
  }

  /* Show CTA inside opened menu */
  .nav-open .nav-cta {
    display: inline-flex !important;
    margin-top: 0.6rem;
  }
}
/* =========================================================
   THANK YOU PAGE (kiitos.php) – centered card
   ========================================================= */

main {
  width: 100%;
}

/* Make sure the thank-you block behaves like a centered section */
.popup {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;

  min-height: 55vh;
  display: grid;
  place-items: center;
  padding: 2.2rem 1rem;
}

/* The card */
.popup-content {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 1.75rem 1.75rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.popup-content h2 {
  margin: 0 0 0.75rem;
}

.popup-content p {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
}

.popup-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Ensure primary button text is visible even on <button> */
.btn-primary {
  color: #fff;
  appearance: none;
  -webkit-appearance: none;
}

@media (max-width: 520px) {
  .popup { padding: 1.4rem 1rem; }
  .popup-content { padding: 1.4rem 1.2rem; }
}
