/* Fontit omalta palvelimelta (ei Google Fonts -kutsua, kävijän IP ei välity Googlelle). Inter = muuttuva paino 400-700. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/font-inter-latin-ext-var.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/font-inter-latin-var.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/font-inter-latin-ext-var.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/font-inter-latin-var.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/font-inter-latin-ext-var.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/font-inter-latin-var.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/font-inter-latin-ext-var.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/font-inter-latin-var.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 600; font-display: swap; src: url('/font-rajdhani-latin-ext-600.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 600; font-display: swap; src: url('/font-rajdhani-latin-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 700; font-display: swap; src: url('/font-rajdhani-latin-ext-700.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 700; font-display: swap; src: url('/font-rajdhani-latin-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ============================================================
   Aito Partner, yhteinen tyylitiedosto
   Navy #161326 + pinkki #FF2D78, Rajdhani (otsikot) + Inter (leipä)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #161326;
  --navy2: #1A1525;
  --accent: #FF2D78;
  --accent2: #FF6FA8;
  --white: #F0E6F6;
  --muted: rgba(240,230,246,0.55);
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(61,51,80,0.7);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* ---------- NAV ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 6%;
  background: rgba(22,19,38,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}
.nav-logo-wrap {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; flex-shrink: 0;
}
.logo-img { height: 40px; width: auto; display: block; }
.nav-logo-text { display: flex; flex-direction: column; gap: 0.05rem; }
.nav-logo-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.12em; color: #F0E6F6; line-height: 1;
}
.nav-logo-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.08em; color: rgba(240,230,246,0.45);
  text-transform: uppercase; line-height: 1;
}

.nav-links { display: flex; gap: 1.9rem; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s; letter-spacing: 0.05em; text-transform: uppercase;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { color: #FF6FA8; }

/* Dropdown parent */
.has-dropdown > a { display: inline-flex; align-items: center; gap: 0.35rem; }
.has-dropdown > a::after {
  content: ''; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s;
}
.has-dropdown:hover > a::after { transform: rotate(225deg) translateY(-1px); }

.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  background: rgba(26,21,37,0.98);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 0.5rem;
  list-style: none;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  z-index: 120;
}
/* Hover-silta, ettei valikko sulkeudu kun kursori liikkuu linkeille */
.has-dropdown::after {
  content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 14px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(6px);
}
.dropdown li { width: 100%; }
.dropdown a {
  display: block; padding: 0.7rem 0.95rem;
  border-radius: 9px;
  font-size: 0.8rem; text-transform: none; letter-spacing: 0.02em;
  color: var(--white); font-weight: 500;
  transition: background 0.18s, color 0.18s;
}
.dropdown a:hover { background: rgba(255,45,120,0.12); color: #FF6FA8; }

.nav-cta {
  background: linear-gradient(135deg, #FF2D78, #FF6FA8); color: #fff;
  padding: 0.55rem 1.35rem; border-radius: 100px;
  font-weight: 700; font-size: 0.85rem; text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  font-family: 'Rajdhani', sans-serif; letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3); white-space: nowrap;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ---------- SECTIONS ---------- */
section { padding: 7rem 6%; }

/* ---------- HERO (etusivu) ---------- */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 9rem 6% 7rem;
  position: relative; overflow: hidden;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.hero-orb { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: clamp(280px,35vw,520px); height: clamp(280px,35vw,520px); z-index: 1; animation: fadeUp 1s 0.5s ease both; }
.hero-orb canvas { width: 100%; height: 100%; }
.hero-team-visual {
  width: clamp(390px,40vw,620px); height: auto; aspect-ratio: 3/2;
  overflow: hidden; border-radius: 22px;
  border: 1px solid rgba(255,45,120,0.34);
  background: var(--navy2);
  box-shadow: 0 28px 70px rgba(0,0,0,0.48), 0 0 40px rgba(255,45,120,0.12);
  animation: heroPhotoIn 1s 0.5s ease both;
}
@keyframes heroPhotoIn { from { opacity: 0; transform: translateY(calc(-50% + 24px)); } to { opacity: 1; transform: translateY(-50%); } }
.hero-team-visual::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(22,19,38,0.28), transparent 35%), linear-gradient(0deg, rgba(22,19,38,0.22), transparent 38%);
}
.hero-team-visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
#hero .hero-content { max-width: 52%; }
.hero-content { position: relative; z-index: 2; max-width: 58%; }

h1 { font-size: clamp(2.6rem, 4.5vw, 4.4rem); font-weight: 700; line-height: 1.18; letter-spacing: 0.01em; margin-bottom: 1.5rem; animation: fadeUp 0.7s 0.1s ease both; }
h1 em { font-style: normal; background: linear-gradient(135deg,#FF2D78 0%,#FF6FA8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: clamp(1rem,1.4vw,1.18rem); color: var(--muted); max-width: 480px; line-height: 1.72; margin-bottom: 2.8rem; animation: fadeUp 0.7s 0.2s ease both; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.7s 0.3s ease both; }

.btn-primary { background: linear-gradient(135deg,#FF2D78,#FF6FA8); color: #fff; padding: 0.95rem 2.4rem; border-radius: 100px; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: transform 0.25s, box-shadow 0.25s; font-family: 'Rajdhani', sans-serif; letter-spacing: 0.04em; box-shadow: 0 2px 10px rgba(0,0,0,0.3); display: inline-block; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 3px 14px rgba(0,0,0,0.35); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.18); color: var(--white); padding: 0.95rem 2.4rem; border-radius: 100px; font-size: 0.95rem; text-decoration: none; transition: border-color 0.2s, background 0.2s; backdrop-filter: blur(6px); background: rgba(255,255,255,0.04); display: inline-block; }
.btn-ghost:hover { border-color: rgba(255,45,120,0.5); background: rgba(255,45,120,0.06); }

.hero-stats { display: flex; gap: 3rem; margin-top: 5rem; border-top: 1px solid var(--card-border); padding-top: 2.5rem; animation: fadeUp 0.7s 0.4s ease both; flex-wrap: wrap; }
.stat-num { font-family: 'Rajdhani', sans-serif; font-size: 2.4rem; font-weight: 700; letter-spacing: 0.02em; background: linear-gradient(135deg,#FF2D78,#FF6FA8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 0.2rem; }

/* ---------- PAGE HERO (sisäsivut) ---------- */
.page-hero { padding: 10rem 6% 5rem; position: relative; overflow: hidden; background: var(--navy2); border-bottom: 1px solid var(--card-border); }
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(255,45,120,0.1) 0%, transparent 60%), radial-gradient(ellipse 30% 50% at 10% 30%, rgba(255,111,168,0.07) 0%, transparent 60%); }
.page-hero-content { position: relative; z-index: 1; max-width: 780px; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700; line-height: 1.18; letter-spacing: 0.01em; margin-bottom: 1.5rem; }
.page-hero h1 em { font-style: normal; background: linear-gradient(135deg,#FF2D78 0%,#FF6FA8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero p { font-size: 1.05rem; color: var(--muted); line-height: 1.75; max-width: 680px; }
.page-hero p + p { margin-top: 0.8rem; }

.section-label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: #FF6FA8; font-weight: 500; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.section-label::before { content: ''; display: block; width: 24px; height: 1.5px; background: #FF6FA8; }

/* ---------- SERVICES OVERVIEW GRID ---------- */
h2 { font-size: clamp(2rem,4vw,3.2rem); font-weight: 700; letter-spacing: 0.01em; margin-bottom: 1rem; line-height: 1.2; }
.section-desc { color: var(--muted); max-width: 560px; line-height: 1.7; margin-bottom: 3.5rem; font-size: 1rem; }
.btn-outline-pink { display: inline-flex; align-items: center; border: 1.5px solid rgba(255,45,120,0.5); color: #FF6FA8; background: rgba(255,45,120,0.06); padding: 0.75rem 1.8rem; border-radius: 100px; font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.06em; text-decoration: none; margin-bottom: 2.5rem; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.btn-outline-pink:hover { background: rgba(255,45,120,0.14); border-color: rgba(255,45,120,0.8); transform: translateY(-2px); }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem; }
.feature-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px; padding: 2.2rem 2rem; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 0.3s, border-color 0.3s, background 0.3s; opacity: 0; transform: translateY(28px); }
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(255,45,120,0.35); background: rgba(255,255,255,0.06); }
.feature-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.7rem; }
.feature-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.68; flex: 1; }
.feature-link { margin-top: 1.3rem; font-size: 0.82rem; color: #FF6FA8; font-weight: 600; font-family: 'Rajdhani', sans-serif; letter-spacing: 0.05em; }

/* ---------- ETUSIVUN TIIMIKUVAT ---------- */
.home-photo-band {
  padding-top: 0; padding-bottom: 7rem;
  display: grid; grid-template-columns: 1.65fr 1fr; gap: 1.4rem;
}
.home-photo { min-width: 0; overflow: hidden; border-radius: 18px; border: 1px solid var(--card-border); background: var(--navy2); }
.home-photo img { width: 100%; height: 100%; min-height: 320px; display: block; object-fit: cover; transition: transform 0.5s ease; }
.home-photo:hover img { transform: scale(1.015); }
.home-photo-wide img { object-position: center; }

/* ---------- SERVICE DETAIL (yksittäinen palvelu) ---------- */
main { padding: 4rem 6% 2rem; }
.detail-lead { max-width: 760px; margin-bottom: 3.5rem; }
.detail-lead p { color: var(--muted); line-height: 1.85; font-size: 1.05rem; margin-bottom: 1.1rem; }
.detail-lead p:last-child { margin-bottom: 0; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.6rem 2.2rem; margin-bottom: 3.5rem; }
.detail-item { border-left: 2px solid rgba(255,45,120,0.4); padding: 0.35rem 0 0.35rem 1.3rem; }
.detail-item h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.55rem; }
.detail-item p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ---------- PRICE CARD ---------- */
.price-card { margin-top: 1rem; background: rgba(255,45,120,0.06); border: 1px solid rgba(255,45,120,0.2); border-radius: 16px; padding: 1.4rem 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 560px; }
.price-card-info { flex: 1; min-width: 0; }
.price-card-label { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.2rem; }
.price-card-price { font-family: 'Rajdhani', sans-serif; font-size: 2.2rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1.1; background: linear-gradient(135deg,#FF2D78,#FF6FA8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; white-space: nowrap; }
.price-card-note { font-size: 0.78rem; color: var(--muted); margin-top: 0.25rem; }
.price-card-btn { flex-shrink: 0; background: linear-gradient(135deg,#FF2D78,#FF6FA8); color: #fff; padding: 0.7rem 1.4rem; border-radius: 100px; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 0.88rem; letter-spacing: 0.05em; text-decoration: none; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,0.3); transition: opacity 0.2s, transform 0.2s; }
.price-card-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* ---------- PROJECTS / ASIAKASTYÖT ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem; }
.project-card { border: 1px solid var(--card-border); border-radius: 16px; overflow: hidden; transition: transform 0.3s, border-color 0.3s; background: var(--card-bg); }
.project-card:hover { transform: translateY(-5px); border-color: rgba(255,45,120,0.35); }
.project-card-iframe { width: 100%; aspect-ratio: 3/4; position: relative; overflow: hidden; border-radius: 12px 12px 0 0; background: #0a0812; cursor: pointer; }
.project-card-iframe iframe { width: 200%; height: 200%; border: none; transform: scale(0.5); transform-origin: top left; pointer-events: none; }
.project-card-iframe-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,8,18,0.7) 100%); transition: background 0.3s; display: flex; align-items: center; justify-content: center; }
.project-card:hover .project-card-iframe-overlay { background: linear-gradient(180deg, rgba(255,45,120,0.05) 0%, rgba(10,8,18,0.4) 100%); }
.iframe-visit-btn { opacity: 0; background: linear-gradient(135deg,#FF2D78,#FF6FA8); color: #fff; padding: 0.55rem 1.3rem; border-radius: 100px; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; transition: opacity 0.25s, transform 0.25s; transform: translateY(6px); white-space: nowrap; box-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.project-card:hover .iframe-visit-btn { opacity: 1; transform: translateY(0); }
.project-thumb { height: 175px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.project-thumb.t1 { background: linear-gradient(135deg,#0e2a1a,#1a4a2e); }
.project-thumb.t2 { background: linear-gradient(135deg,#091825,#102640); }
.project-thumb.t3 { background: linear-gradient(135deg,#180e2a,#2a1a45); }
.project-body { padding: 1.6rem; }
.project-body h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 0.5rem; }
.project-body p { font-size: 0.87rem; color: var(--muted); line-height: 1.6; }
.project-tags { display: flex; gap: 0.5rem; margin-top: 1.1rem; flex-wrap: wrap; }
.ptag { font-size: 0.73rem; background: rgba(255,255,255,0.07); border-radius: 6px; padding: 0.22rem 0.65rem; color: var(--muted); }

/* ---------- ASIAKASTARINAT ---------- */
.stories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.5rem; }
.story-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px; padding: 2.2rem 2rem; display: flex; flex-direction: column; }
.story-mark { font-family: 'Rajdhani', sans-serif; font-size: 3rem; color: rgba(255,45,120,0.5); line-height: 0.6; display: block; margin-bottom: 0.7rem; height: 1.6rem; }
.story-quote { font-size: 1.02rem; line-height: 1.7; color: var(--white); margin-bottom: 1.5rem; flex: 1; }
.story-quote p { margin-bottom: 0.9rem; }
.story-quote p:last-child { margin-bottom: 0; }
.story-author strong { display: block; font-size: 0.92rem; font-weight: 600; }
.story-author span { font-size: 0.8rem; color: var(--muted); }
.story-author span a { color: #FF6FA8; text-decoration: none; }
.story-author span a:hover { text-decoration: underline; }

/* ---------- TEAM ---------- */
.team-group-photo { margin: 0 0 3rem; overflow: hidden; border-radius: 20px; border: 1px solid rgba(255,45,120,0.26); background: var(--navy2); box-shadow: 0 20px 55px rgba(0,0,0,0.32); }
.team-group-photo img { width: 100%; height: auto; aspect-ratio: 16/9; display: block; object-fit: cover; object-position: center; }
.team-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.2rem; align-items: stretch; }
.team-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px; padding: 1.9rem 1.2rem; text-align: center; display: flex; flex-direction: column; opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1), border-color 0.3s; }
.team-card.visible { opacity: 1; transform: translateY(0); }
.team-card:hover { transform: translateY(-6px); border-color: rgba(255,45,120,0.35); }
.team-photo { width: 100%; max-width: 225px; aspect-ratio: 1/1; border-radius: 50%; object-fit: cover; object-position: center top; display: block; margin: 0 auto 1.3rem; border: 3px solid rgba(255,45,120,0.2); background: var(--navy2); }
.team-info { padding: 0; }
.team-info h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.25rem; }
.team-role { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: #FF6FA8; font-weight: 500; margin-bottom: 0.9rem; }
.team-skills { display: block; margin-top: 0.35rem; font-weight: 500; color: #FF6FA8; opacity: 0.75; }
.team-bio { font-size: 0.88rem; color: var(--muted); line-height: 1.65; margin-bottom: 0.8rem; }
.team-hobbies { font-size: 0.82rem; color: rgba(240,230,246,0.4); line-height: 1.6; }
.team-actions { display: flex; flex-direction: column; gap: 0.5rem; margin-top: auto; padding-top: 1.3rem; }
.team-btn { display: block; padding: 0.55rem 0.8rem; border-radius: 100px; font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.03em; text-decoration: none; transition: opacity 0.2s, transform 0.2s, background 0.2s, border-color 0.2s; white-space: nowrap; }
.team-btn-call { background: linear-gradient(135deg,#FF2D78,#FF6FA8); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.team-btn-call:hover { opacity: 0.9; transform: translateY(-1px); }
.team-btn-mail { border: 1px solid var(--card-border); color: var(--white); background: rgba(255,255,255,0.03); }
.team-btn-mail:hover { border-color: rgba(255,45,120,0.5); background: rgba(255,45,120,0.06); }
.team-btn-book { border: 1px solid rgba(255,45,120,0.5); color: #FF6FA8; background: rgba(255,45,120,0.06); cursor: pointer; font-family: 'Rajdhani', sans-serif; }
.team-btn-book:hover { background: rgba(255,45,120,0.14); border-color: rgba(255,45,120,0.85); }
.team-spacer { visibility: hidden; border: 1px solid transparent; pointer-events: none; }

/* Ajanvarausmodaali */
.book-modal { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(10,8,18,0.78); backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: 2rem 1rem; }
.book-modal.open { display: flex; }
.book-modal-card { background: var(--navy2); border: 1px solid var(--card-border); border-radius: 18px; width: 100%; max-width: 720px; max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 24px 70px rgba(0,0,0,0.55); }
.book-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--card-border); flex-shrink: 0; }
.book-modal-head h3 { font-size: 1.1rem; }
.book-close { background: rgba(255,255,255,0.06); border: 1px solid var(--card-border); color: var(--white); border-radius: 100px; padding: 0.45rem 1.1rem; font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.book-close:hover { border-color: rgba(255,45,120,0.6); background: rgba(255,45,120,0.08); }
.book-modal-body { overflow-y: auto; -webkit-overflow-scrolling: touch; }
#book-frame { width: 100%; border: 0; display: block; min-height: 320px; height: 560px; background: #F7F4EF; }
@media (max-width: 560px) {
  .book-modal { padding: 0; }
  .book-modal-card { max-width: none; max-height: 100vh; height: 100vh; border-radius: 0; }
  #book-frame { height: auto; min-height: 70vh; }
}
@media (max-width: 1400px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- CONTACT ---------- */
.contact-details { max-width: 620px; }
.contact-detail { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; margin-bottom: 0.85rem; text-decoration: none; color: inherit; transition: border-color 0.2s; }
.contact-detail:hover { border-color: rgba(255,45,120,0.35); }
.cdt strong { display: block; font-weight: 500; color: var(--white); font-size: 0.95rem; }
.cdt span { color: var(--muted); font-size: 0.8rem; }
.cal-embed-container { border: 1px solid var(--card-border); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,0.02); margin-top: 2.5rem; }

/* ---------- BLOG ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.8rem; max-width: 1180px; }
.blog-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 0.3s, border-color 0.3s; }
.blog-card:hover { transform: translateY(-6px); border-color: rgba(255,45,120,0.35); }
.blog-thumb-wrap { position: relative; }
.blog-thumb { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-author-avatar { position: absolute; bottom: 14px; right: 14px; width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid var(--accent); box-shadow: 0 3px 12px rgba(0,0,0,0.5); }
.blog-card-body { padding: 1.7rem 1.9rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.blog-cats { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.blog-cat { font-size: 0.72rem; color: #FF6FA8; border: 1px solid rgba(255,45,120,0.3); padding: 0.22rem 0.7rem; border-radius: 100px; letter-spacing: 0.04em; }
.blog-card-body h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.7rem; }
.blog-card-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; flex: 1; }
.blog-meta { font-size: 0.78rem; color: rgba(240,230,246,0.4); margin-top: 1.2rem; }

/* Blog article */
.article { max-width: 960px; margin: 0 auto; padding: 3rem 6% 2rem; }
.article-meta { font-size: 0.82rem; color: rgba(240,230,246,0.45); margin-bottom: 1rem; }
.article h1 { font-size: clamp(2rem,4.5vw,3rem); line-height: 1.2; margin-bottom: 1.5rem; }
.article-lead { font-size: 1.15rem; font-weight: 500; font-style: italic; color: var(--white); line-height: 1.7; margin-bottom: 2rem; border-left: 3px solid var(--accent); padding-left: 1.2rem; }
.article-toc { margin-bottom: 2.5rem; }
.article-toc p { margin-bottom: 0.6rem; }
.article-toc ol { margin-left: 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; }
.article-toc a { color: var(--muted); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.article-toc a:hover { color: #FF6FA8; }
.article h2 { font-size: clamp(1.5rem,3vw,2rem); margin: 2.6rem 0 1rem; scroll-margin-top: 6rem; }
.article h3 { font-size: 1.2rem; margin: 1.8rem 0 0.7rem; }
.article p { color: rgba(240,230,246,0.82); line-height: 1.85; margin-bottom: 1.2rem; font-size: 1.05rem; }
.article ul { margin: 0 0 1.4rem 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.article li { color: rgba(240,230,246,0.82); line-height: 1.7; }
.article a { color: #FF6FA8; }
.article-callout { background: rgba(255,45,120,0.07); border: 1px solid rgba(255,45,120,0.22); border-radius: 14px; padding: 1.3rem 1.6rem; margin: 1.8rem 0; color: var(--white); line-height: 1.7; }
.article-callout strong { color: #FF6FA8; }

/* Author box */
.author-box { display: flex; gap: 1.4rem; align-items: center; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px; padding: 1.6rem 1.8rem; margin: 2.5rem 0; }
.author-photo { width: 82px; height: 82px; border-radius: 50%; object-fit: cover; object-position: center top; flex-shrink: 0; border: 2px solid rgba(255,45,120,0.4); }
.author-info .author-name { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 700; letter-spacing: 0.03em; }
.author-info .author-role { font-size: 0.82rem; color: #FF6FA8; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem; }
.author-contact { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.author-contact a { font-size: 0.86rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.author-contact a:hover { color: #FF6FA8; }

/* ---------- CTA ---------- */
.cta-section { background: var(--navy2); border-top: 1px solid var(--card-border); padding: 5rem 6%; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 600px; height: 300px; background: radial-gradient(ellipse, rgba(255,45,120,0.12) 0%, transparent 70%); pointer-events: none; }
.cta-section h2 { font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 700; margin-bottom: 1rem; position: relative; }
.cta-section p { color: var(--muted); max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-section p a { color: #FF6FA8; text-decoration: none; }
.cta-section p a:hover { text-decoration: underline; }

/* ---------- FOOTER ---------- */
footer { border-top: 1px solid var(--card-border); padding: 2.5rem 6%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; background: var(--navy); }
footer > :first-child { justify-self: start; }
footer > :last-child { justify-self: end; }
footer p { font-size: 0.82rem; color: var(--muted); }
.footer-logo-img { height: 32px; width: auto; display: block; opacity: 0.9; }

/* ---------- MOBIILIMENU ---------- */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; position: fixed; top: 65px; left: 0; right: 0; z-index: 99; background: rgba(22,19,38,0.98); backdrop-filter: blur(16px); border-bottom: 1px solid var(--card-border); padding: 0.5rem 6% 1.5rem; flex-direction: column; max-height: calc(100vh - 65px); overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu > a, .mm-group > .mm-parent { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--card-border); color: var(--white); text-decoration: none; font-size: 1.05rem; font-family: 'Rajdhani', sans-serif; font-weight: 700; letter-spacing: 0.03em; transition: color 0.2s; cursor: pointer; }
.mobile-menu > a:hover, .mm-parent:hover { color: #FF6FA8; }
.mm-parent::after { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.25s; }
.mm-group.open .mm-parent::after { transform: rotate(225deg); }
.mm-sub { display: none; flex-direction: column; padding: 0.3rem 0 0.6rem 0.8rem; }
.mm-group.open .mm-sub { display: flex; }
.mm-sub a { padding: 0.6rem 0; color: var(--muted); text-decoration: none; font-size: 0.95rem; font-family: 'Inter', sans-serif; font-weight: 500; }
.mm-sub a:hover { color: #FF6FA8; }
.mobile-menu .mob-cta { margin-top: 1rem; background: linear-gradient(135deg,#FF2D78,#FF6FA8); color: #fff !important; border-radius: 100px; padding: 0.9rem !important; text-align: center; justify-content: center; border-bottom: none !important; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1040px) {
  .nav-links { gap: 1.3rem; }
  .nav-links a { font-size: 0.76rem; letter-spacing: 0.03em; }
}
@media (max-width: 900px) {
  .hero-orb { display: none; }
  .hero-content { max-width: 100%; }
}
@media (max-width: 860px) {
  nav { padding: 1rem 5%; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  body { overflow-x: hidden; }
  section, main, .page-hero, .cta-section, .article { padding-left: 5% !important; padding-right: 5% !important; }
  h1 { font-size: clamp(1.9rem,8vw,2.8rem) !important; word-break: break-word; }
  h2 { font-size: clamp(1.5rem,7vw,2.2rem) !important; line-height: 1.2 !important; word-break: break-word; }
  .page-hero { padding-top: 7rem !important; }
  .page-hero h1 { font-size: clamp(2rem,9vw,3rem) !important; }
  .hero-stats { gap: 1.5rem; margin-top: 3rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }
  .price-card { flex-direction: column; align-items: flex-start; }
  .price-card-btn { width: 100%; text-align: center; }
  .author-box { flex-direction: column; text-align: center; }
  .author-contact { justify-content: center; }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0.8rem; }
  footer > :first-child, footer > :last-child { justify-self: center; }
}

@media (max-width: 980px) {
  #hero { min-height: auto; }
  .hero-team-visual {
    position: relative; display: block; right: auto; top: auto; transform: none;
    width: 100%; max-width: none; margin-top: 3.5rem; animation: none;
  }
  #hero .hero-content { max-width: 100%; }
  .home-photo-band { grid-template-columns: 1fr; }
  .home-photo img { min-height: 0; aspect-ratio: 16/10; }
}
@media (max-width: 560px) {
  .hero-team-visual { border-radius: 16px; }
  .home-photo-band { gap: 1rem; padding-bottom: 5rem; }
  .home-photo { border-radius: 14px; }
  .team-group-photo { margin-bottom: 2rem; border-radius: 15px; }
  .team-group-photo img { aspect-ratio: 4/3; }
}

/* ---------- HEADING FONTS ---------- */
h1, h2, h3, .nav-cta, .stat-num, .price-card-price, .section-label,
.feature-card h3, .project-body h3, .team-info h3, .page-hero h1,
.cta-section h2, .blog-card-body h3, .story-author strong, .detail-item h3 {
  font-family: 'Rajdhani', sans-serif; letter-spacing: 0.04em;
}
h1 { font-weight: 700; letter-spacing: 0.05em; line-height: 1.15; }
h2 { font-weight: 700; letter-spacing: 0.04em; line-height: 1.2; }
h3 { font-weight: 600; letter-spacing: 0.03em; }

/* ---------- RAUHALLINEN BRÄNDI-ILME ---------- */
:root {
  --white: #F5F1F5;
  --muted: rgba(245,241,245,0.66);
  --card-bg: #1C1828;
  --card-border: #342C43;
}

body { font-size: 16px; line-height: 1.6; }

nav {
  background: #161326;
  backdrop-filter: none;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.nav-links a { font-size: 0.9rem; letter-spacing: 0; text-transform: none; }
.dropdown { border-radius: 6px; box-shadow: 0 14px 32px rgba(0,0,0,0.32); }
.dropdown a { border-radius: 3px; }

/* Etusivun hero: kuva koko näkymän taustana, häivytys tekstin puolelle */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 6% 4rem;
  background: var(--navy);
  isolation: isolate;
}
#hero .hero-content { max-width: 640px; }
.hero-team-visual {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: auto;
  transform: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  animation: none;
}
.hero-team-visual img { object-position: 60% center; }
.hero-team-visual::after {
  display: block;
  background:
    linear-gradient(90deg, rgba(22,19,38,0.88) 0%, rgba(22,19,38,0.7) 40%, rgba(22,19,38,0.3) 75%, rgba(22,19,38,0.18) 100%),
    linear-gradient(0deg, var(--navy) 0%, rgba(22,19,38,0) 24%);
}
#hero .hero-sub { color: rgba(245,241,245,0.86); }
#hero .stat-label { color: rgba(245,241,245,0.74); }
#hero .btn-ghost { border-color: rgba(245,241,245,0.45); }

h1, h2, h3, .stat-num, .price-card-price, .section-label,
.feature-card h3, .project-body h3, .team-info h3, .page-hero h1,
.cta-section h2, .blog-card-body h3, .story-author strong, .detail-item h3 {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.025em;
}
h1 { animation: none; letter-spacing: -0.035em; line-height: 1.06; }
h1 em, .page-hero h1 em {
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.hero-sub, .hero-btns, .hero-stats { animation: none; }

.btn-primary, .price-card-btn, .team-btn-call {
  background: var(--accent);
  border-radius: 4px;
  box-shadow: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0;
}
.btn-primary:hover, .price-card-btn:hover, .team-btn-call:hover { background: #E9266C; transform: none; box-shadow: none; }
.btn-ghost, .btn-outline-pink {
  border-radius: 4px;
  background: transparent;
  backdrop-filter: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0;
}
.btn-ghost:hover, .btn-outline-pink:hover { transform: none; background: rgba(255,45,120,0.08); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
}
.hero-stats > div { min-width: 0; padding: 0 1.2rem; border-right: 1px solid var(--card-border); }
.hero-stats > div:first-child { padding-left: 0; }
.hero-stats > div:last-child { border-right: 0; }
.stat-num {
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

@media (max-width: 980px) {
  #hero { padding-top: 7rem; padding-bottom: 3rem; }
  .hero-team-visual img { object-position: 42% center; }
  .hero-team-visual::after {
    background: linear-gradient(180deg, rgba(22,19,38,0.7) 0%, rgba(22,19,38,0.8) 55%, var(--navy) 100%);
  }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-stats > div { min-width: 0; padding: 0.8rem 1rem 0.8rem 0; border-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: 0.01ms !important; }
}

/* ---------- SELKEÄT SISÄLTÖPINNAT ---------- */
.section-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  gap: 0;
}
.section-label::before { display: none; content: none; }
.section-desc { color: var(--muted); line-height: 1.75; }

.page-hero {
  padding-top: 9rem;
  padding-bottom: 4rem;
  background: var(--navy2);
}
.page-hero-bg { display: none; }
.page-hero h1 { letter-spacing: -0.035em; }

.cards-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 0 2.5rem;
  border-bottom: 1px solid var(--card-border);
}
.feature-card,
.feature-card.visible {
  min-height: 190px;
  padding: 1.8rem 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--card-border);
  border-radius: 0;
  opacity: 1;
  transform: none;
  transition: border-color 0.2s;
}
.feature-card:hover {
  background: transparent;
  border-color: var(--accent);
  transform: none;
}
.feature-card h3 { letter-spacing: -0.02em; }
.feature-link { font-family: 'Inter',sans-serif; letter-spacing: 0; }
.feature-link::after { content: ' →'; }

.home-photo-band { gap: 1rem; }
.home-photo { border-radius: 4px; }
.home-photo img { transition: none; }
.home-photo:hover img { transform: none; }

.detail-item { border-left-color: var(--accent); }
.price-card,
.contact-detail,
.cal-embed-container,
.article-callout,
.author-box {
  border-radius: 4px;
  background: var(--navy2);
}
.price-card-price {
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.project-card,
.story-card,
.blog-card {
  border-radius: 4px;
  background: var(--navy2);
  box-shadow: none;
}
.project-card:hover,
.blog-card:hover { transform: none; border-color: var(--accent); }
.project-card-iframe { border-radius: 0; }
.ptag,
.blog-cat { border-radius: 2px; }
.iframe-visit-btn { border-radius: 4px; background: var(--accent); font-family: 'Inter',sans-serif; letter-spacing: 0; }

.team-group-photo {
  border-radius: 4px;
  border-color: var(--card-border);
  box-shadow: none;
}
.team-grid { grid-template-columns: repeat(7,minmax(0,1fr)); gap: 1.2rem; align-items: stretch; }
.team-card,
.team-card.visible {
  padding: 1.6rem 1rem;
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  opacity: 1;
  transform: none;
  transition: border-color 0.2s;
}
.team-card:hover { transform: none; border-color: var(--accent); }
.team-photo {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1/1;
  margin: 0 auto 1.2rem;
  border: 2px solid rgba(255,45,120,0.22);
  border-radius: 50%;
}
.team-role { letter-spacing: 0.04em; }
.team-btn { border-radius: 4px; font-family: 'Inter',sans-serif; letter-spacing: 0; text-align: center; }
.team-btn-book { font-family: 'Inter',sans-serif; }
.book-modal-card,
.book-close { border-radius: 4px; }

.cta-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  text-align: left;
}
.cta-section::before { display: none; }
.cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.cta-section h2 { margin-bottom: 0.6rem; }
.cta-section p { max-width: 560px; margin: 0; }
.cta-inner > .btn-primary { flex-shrink: 0; }

footer { background: #141120; }
.mobile-menu { background: #161326; backdrop-filter: none; }
.mobile-menu > a,
.mm-group > .mm-parent { font-family: 'Inter',sans-serif; letter-spacing: 0; }

@media (max-width: 1400px) {
  .team-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 980px) {
  .cards-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .cards-grid,
  .team-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .cta-inner { align-items: flex-start; flex-direction: column; gap: 2rem; }
  .cta-inner > .btn-primary { width: 100%; text-align: center; }
}

/* ---------- TOIMITUKSELLISET KUVA–TEKSTI-SEKTIOT ---------- */
.service-story {
  display: grid;
  grid-template-columns: minmax(300px,0.72fr) minmax(520px,1.28fr);
  align-items: center;
  gap: clamp(3rem,6vw,7rem);
  background: var(--navy2);
}
.service-story-copy { max-width: 520px; }
.service-story-copy h2,
.trust-copy h2 {
  font-size: clamp(2.25rem,4vw,3.75rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin-bottom: 1.35rem;
}
.service-story-copy p,
.trust-copy p,
.team-intro-copy p,
.page-intro-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}
.text-link {
  display: inline-block;
  margin-top: 1.8rem;
  color: var(--accent2);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.text-link:hover { color: var(--white); }

.service-story-collage {
  height: clamp(430px,42vw,610px);
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
.service-story-collage figure {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--card-border);
}
.service-story-collage .collage-tall { grid-row: 1 / span 2; }
.service-story-collage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.service-story-collage .collage-tall img { object-position: center 25%; }
.service-story-collage figure:nth-child(2) img { object-position: center 56%; }
.service-story-collage figure:nth-child(3) img { object-position: center; }

.trust-section {
  padding: 0;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(360px,0.8fr);
  background: var(--navy);
  border-top: 1px solid var(--card-border);
}
.trust-photo {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--navy);
}
.trust-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17,13,31,0.22);
  pointer-events: none;
}
.trust-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.76) contrast(1.04) saturate(0.9);
}
.trust-copy {
  align-self: center;
  max-width: 610px;
  padding: clamp(4rem,7vw,8rem);
}
.trust-copy p { margin-bottom: 2rem; }

.team-intro,
.page-intro {
  padding-top: 9rem;
  padding-bottom: 5rem;
  display: grid;
  grid-template-columns: minmax(280px,0.7fr) minmax(520px,1.3fr);
  align-items: center;
  gap: clamp(3rem,6vw,7rem);
  background: var(--navy2);
  border-bottom: 1px solid var(--card-border);
}
.team-intro-copy,
.page-intro-copy { max-width: 520px; }
.team-intro-copy h1 {
  font-size: clamp(3rem,5.4vw,5.4rem);
  margin-bottom: 1.5rem;
}
/* Palvelusivujen intro: otsikoissa pidempiä sanoja, joten h1 hieman pienempi */
.page-intro-copy h1 {
  font-size: clamp(2.6rem,4.2vw,4.2rem);
  margin-bottom: 1.5rem;
}
.team-intro-photo img,
.page-intro-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  display: block;
  object-fit: cover;
  border: 1px solid var(--card-border);
}
.team-intro-photo figcaption {
  padding-top: 0.7rem;
  color: rgba(245,241,245,0.48);
  font-size: 0.78rem;
}

@media (max-width: 1100px) {
  .service-story,
  .team-intro,
  .page-intro { grid-template-columns: 1fr; }
  .service-story-copy,
  .team-intro-copy,
  .page-intro-copy { max-width: 680px; }
  .trust-section { grid-template-columns: 1fr; }
  .trust-copy { max-width: 760px; padding: 4rem 5%; }
}
@media (max-width: 620px) {
  .service-story-collage { height: 430px; gap: 6px; }
  .service-story-copy h2,
  .trust-copy h2 { font-size: clamp(2rem,10vw,2.8rem); }
  .trust-photo { min-height: 380px; }
  .trust-section { padding-left: 0 !important; padding-right: 0 !important; }
  .team-intro,
  .page-intro { padding-top: 7rem; }
  .team-intro-photo figcaption { font-size: 0.74rem; }
}

/* ---------- ETUSIVUN PALVELUT: DNA vasemmalla, kotisivut oikealla ---------- */
.home-services {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  background: var(--navy2);
  border-top: 1px solid var(--card-border);
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.home-service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding-right: clamp(2rem,5vw,6rem);
}
.home-service + .home-service {
  padding-right: 0;
  padding-left: clamp(2rem,5vw,6rem);
  border-left: 1px solid var(--card-border);
}
.home-service .section-desc { margin-bottom: 2.5rem; }
.home-service .btn-outline-pink { margin-top: auto; margin-bottom: 0; }
@media (max-width: 860px) {
  .home-services { grid-template-columns: 1fr; padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .home-service { padding-right: 0; }
  .home-service + .home-service {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--card-border);
    margin-top: 3.5rem;
    padding-top: 3.5rem;
  }
}

/* ---------- SISÄLTÖPÄIVITYS 2026-09: hero-teksti, palvelusivut, asiakastarinoiden välilehdet ---------- */
#hero .hero-sub { max-width: 560px; }
.hero-sub p + p { margin-top: 0.8rem; }
.hero-sub .hero-punch { color: var(--white); font-weight: 600; }
.page-intro-copy p + p { margin-top: 1rem; }

/* Hintalaatikon jatkoteksti (ylläpitopalvelut) */
.price-followup { margin-top: 1.2rem; max-width: 560px; color: var(--muted); line-height: 1.7; }
.price-followup a { color: var(--accent2); }

/* Asiakastöiden referenssitarjous sivun alussa */
.reference-offer { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--card-border); max-width: 680px; }
.reference-offer h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.reference-offer p { margin-bottom: 1.4rem; }
.reference-offer .btn-outline-pink { margin-bottom: 0; }

/* Alatunnisteen linkit + tietosuojaseloste */
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.82rem; }
.footer-links a:hover { color: var(--accent2); }
.legal h2 { font-size: clamp(1.3rem,2.4vw,1.6rem); margin-top: 2.4rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4rem; }
.legal ol { margin: 0 0 1.4rem 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.legal ol li { color: rgba(240,230,246,0.82); line-height: 1.7; }

/* Tiimikortti ilman kuvaa: neutraali pyöreä kehys, ei nimikirjaimia */
.team-photo-empty { background: var(--navy2); }
/* <button> (Varaa aika) ei peri rivikorkeutta: sama korkeus kuin linkkinapeilla ja paikkamerkillä */
.team-btn { line-height: 1.6; }

/* Tiimisivun palvelunumero (soittolinkki) */
.team-intro-call { margin-top: 1.6rem; }

/* Asiakastarinoiden välilehdet */
.story-tabs { display: flex; flex-wrap: wrap; gap: 0 2rem; margin-bottom: 2.2rem; border-bottom: 1px solid var(--card-border); }
.story-tab {
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 0.9rem 0; color: var(--muted); font: 600 0.98rem 'Inter', sans-serif;
  cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.story-tab:hover { color: var(--white); }
.story-tab[aria-selected="true"] { color: var(--white); border-bottom-color: var(--accent); }
.story-tab:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }
.story-panel[hidden] { display: none; }
