/* Futuretic – sivuston tyylit */

:root {
  --bg: #070a14;
  --bg-alt: #0b1020;
  --surface: #111829;
  --surface-2: #161f35;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef0f7;
  --muted: #9ba4ba;
  --violet: #a78bfa;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --grad: linear-gradient(120deg, var(--violet), var(--cyan));
  --radius: 18px;
  --radius-sm: 10px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Tight", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 750; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow { max-width: 820px; }

.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;
}

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46ch; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Painikkeet */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  background: var(--grad);
  color: #060812;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 30px -10px rgba(34, 211, 238, 0.55);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(167, 139, 250, 0.7); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line-strong); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--text); box-shadow: none; }
.btn-small { padding: 0.55em 1.1em; font-size: 0.92rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; gap: 0.35em; align-items: center;
  color: var(--cyan); font-weight: 600; text-decoration: none;
}
.text-link span { transition: transform 0.2s ease; }
.text-link:hover span { transform: translateX(4px); }

/* Ylätunniste */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 10, 20, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(7, 10, 20, 0.85); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-family: var(--font-display);
  font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em;
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  text-decoration: none; color: var(--muted); font-size: 0.95rem; font-weight: 500;
  transition: color 0.2s ease;
}
.site-nav a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: transparent; cursor: pointer; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 12px; width: 18px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease;
  content: "";
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -12px rgba(0, 0, 0, 0.6);
    display: none;
  }
  .site-header.nav-open { background: var(--bg); }
  .nav-open .site-nav { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav .btn { margin-top: 16px; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 128px) 0 clamp(72px, 10vw, 112px);
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.orb {
  position: absolute; border-radius: 50%; opacity: 0.6;
  animation: drift 18s ease-in-out infinite alternate;
  will-change: transform;
}
.orb-1 { width: 760px; height: 760px; background: radial-gradient(circle, rgba(109, 74, 255, 0.85), transparent 65%); top: -340px; left: -280px; }
.orb-2 { width: 680px; height: 680px; background: radial-gradient(circle, rgba(14, 165, 198, 0.75), transparent 65%); top: -120px; right: -300px; animation-delay: -6s; }
.orb-3 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(192, 56, 139, 0.6), transparent 65%); bottom: -380px; left: 30%; opacity: 0.45; animation-delay: -11s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, 10px) scale(0.96); }
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}

.hero-inner h1 { max-width: 16ch; margin-bottom: 0.4em; font-size: clamp(2.5rem, 6.5vw, 4.6rem); }
.hero .lead { max-width: 52ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 3.5rem; }

/* Hero-kuvitus (vain leveillä näytöillä) */
.hero-visual { display: none; position: relative; height: 470px; }
@media (min-width: 1000px) {
  .hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
  .hero-visual { display: block; }
}
.hv-card {
  position: absolute; overflow: hidden;
  border-radius: 18px; border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75);
  animation: float 9s ease-in-out infinite;
}
.hv-label {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(7, 10, 20, 0.55); border: 1px solid var(--line-strong);
}
.hv-video { width: 100%; aspect-ratio: 16 / 9; top: 10px; left: 0; }
.hv-scene {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 28% 38%, rgba(167, 139, 250, 0.95), transparent 42%),
    radial-gradient(circle at 74% 58%, rgba(34, 211, 238, 0.85), transparent 46%),
    radial-gradient(circle at 50% 115%, rgba(244, 114, 182, 0.8), transparent 50%),
    #0b1020;
  background-size: 160% 160%;
  animation: scene 14s ease-in-out infinite alternate;
}
@keyframes scene { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.hv-play {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(7, 10, 20, 0.5); border: 1px solid rgba(255, 255, 255, 0.35);
}
.hv-play::after {
  content: ""; position: absolute; left: 26px; top: 21px;
  border-left: 16px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.hv-timeline { position: absolute; left: 16px; right: 16px; bottom: 14px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); z-index: 2; }
.hv-timeline span { display: block; height: 100%; border-radius: 3px; background: #fff; animation: progress 8s linear infinite; }

.hv-image {
  width: 42%; aspect-ratio: 4 / 5; right: -12px; top: 190px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, #0b1020 40%, transparent 41%),
    radial-gradient(circle at 62% 34%, #fde68a 0 10%, transparent 11%),
    linear-gradient(180deg, #f472b6, #a78bfa 55%, #312e81);
  animation-delay: -3s;
}
.hv-audio { width: 60%; left: 24px; top: 330px; height: 104px; animation-delay: -6s; }
.hv-wave {
  position: absolute; left: 16px; right: 16px; bottom: 16px; height: 44px;
  display: flex; align-items: center; gap: 4px;
}
.hv-wave span {
  flex: 1; height: 100%; border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  animation: eq 1.2s ease-in-out infinite;
}
.hv-wave span:nth-child(3n) { animation-delay: -0.3s; }
.hv-wave span:nth-child(3n+1) { animation-delay: -0.7s; }
.hv-wave span:nth-child(4n) { animation-delay: -0.5s; animation-duration: 0.9s; }
.hv-wave span:nth-child(5n) { animation-delay: -0.15s; animation-duration: 1.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.media-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(17, 24, 41, 0.6);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.chip-viz {
  width: 44px; height: 30px; border-radius: 999px;
  background: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 3px;
  position: relative; overflow: hidden;
}
/* Video */
.chip-video .play {
  width: 0; height: 0; border-left: 9px solid var(--cyan);
  border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px;
}
.chip-video .progress { position: absolute; left: 8px; right: 8px; bottom: 5px; height: 2px; background: var(--line-strong); border-radius: 2px; }
.chip-video .progress span { display: block; height: 100%; width: 40%; background: var(--cyan); border-radius: 2px; animation: progress 3s linear infinite; }
@keyframes progress { from { width: 0; } to { width: 100%; } }
/* Kuva */
.chip-image .chip-viz { display: grid; grid-template-columns: repeat(2, 8px); gap: 3px; align-content: center; justify-content: center; }
.chip-image .chip-viz span { width: 8px; height: 8px; border-radius: 2px; background: var(--violet); animation: pulse 2.4s ease-in-out infinite; }
.chip-image .chip-viz span:nth-child(2) { animation-delay: 0.3s; background: var(--pink); }
.chip-image .chip-viz span:nth-child(3) { animation-delay: 0.6s; background: var(--cyan); }
.chip-image .chip-viz span:nth-child(4) { animation-delay: 0.9s; }
@keyframes pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
/* Musiikki */
.chip-music .chip-viz span { width: 3px; height: 14px; background: var(--pink); border-radius: 2px; animation: eq 1s ease-in-out infinite; transform-origin: center; }
.chip-music .chip-viz span:nth-child(2) { animation-delay: -0.2s; }
.chip-music .chip-viz span:nth-child(3) { animation-delay: -0.5s; }
.chip-music .chip-viz span:nth-child(4) { animation-delay: -0.7s; }
.chip-music .chip-viz span:nth-child(5) { animation-delay: -0.35s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1.15); } }

/* Osiot */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); max-width: 720px; }
.section-head .lead { margin-bottom: 0; }

/* Palvelut */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  display: flex; flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(17, 24, 41, 0.4));
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.service:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.service p { color: var(--muted); }
.service .text-link { margin-top: auto; padding-top: 8px; }

.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 24px;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.25);
}
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--violet); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.service-icon .fill { fill: var(--cyan); stroke: none; }

.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 0.97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 12px; height: 7px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

.also { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.also-title {
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px;
}
.also-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.also-grid p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* Miksi */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-item { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.why-num { display: block; font-family: var(--font-mono); font-size: 0.85rem; color: var(--violet); margin-bottom: 20px; }
.why-item p { color: var(--muted); margin: 0; }

/* Prosessi */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 56px; counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--cyan);
}
.step::after {
  content: ""; position: absolute; top: 20px; left: 52px; right: -8px; height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.step:last-child::after { display: none; }
.step p { color: var(--muted); margin: 0; }

/* Omat maailmat */
.worlds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.world {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px; padding: 24px;
  border-radius: var(--radius); border: 1px solid var(--line);
  overflow: hidden; isolation: isolate; text-decoration: none;
}
.world::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  transition: transform 0.6s ease;
}
.world::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(7, 10, 20, 0.85));
}
.world:hover::before { transform: scale(1.06); }
.world h3 { font-size: 1.45rem; margin: 0; }
.world-tag {
  position: absolute; top: 20px; left: 24px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: rgba(7, 10, 20, 0.5); border: 1px solid var(--line-strong);
}
.world-1::before { background: radial-gradient(circle at 30% 30%, #ff6b3d, transparent 55%), radial-gradient(circle at 80% 70%, #7a1fa2, transparent 60%), #1a0d1f; }
.world-2::before { background: radial-gradient(circle at 70% 20%, #b91c1c, transparent 50%), radial-gradient(circle at 20% 80%, #0f3d63, transparent 60%), linear-gradient(180deg, #0a0f1d, #2a0b12); }
.world-3::before { background: radial-gradient(circle at 25% 25%, #facc15, transparent 45%), radial-gradient(circle at 75% 75%, #16a34a, transparent 55%), #0f1a14; }
.world-cta { border-style: dashed; border-color: var(--line-strong); }
.world-cta::before { background: radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.25), transparent 60%), var(--surface); }
.world-cta::after { display: none; }
.world-cta h3 { margin-bottom: 10px; }
.world-cta p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.world-cta:hover { border-color: var(--cyan); }

/* Studio */
.studio { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.studio-text p { font-size: 1.1rem; color: var(--muted); }
.studio-text p:first-child { color: var(--text); }

/* UKK */
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--cyan); font-family: var(--font-mono);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 22px; max-width: 65ch; }

/* Yhteys */
.contact-section { position: relative; overflow: hidden; }
.contact-section::before {
  content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 47, 209, 0.3), transparent 65%); right: -350px; top: -5%; z-index: -1;
}
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { margin: 32px 0 0; display: grid; gap: 20px; }
.contact-list dt { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-size: 1.05rem; }
.contact-list a { color: var(--cyan); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.contact-form {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(17, 24, 41, 0.75);
  backdrop-filter: blur(10px);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
}
.field ::placeholder { color: #5f6880; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; }
.form-note a { color: var(--text); }

/* Alatunniste */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 40px; align-items: start; }
.footer-brand p { color: var(--muted); margin: 12px 0 0; font-size: 0.95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: flex-end; }
.footer-nav a { text-decoration: none; color: var(--muted); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--text); }
.footer-copy { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.footer-copy a { color: var(--muted); }

/* Alasivut (tietosuoja, kiitos, 404) */
.page { padding: clamp(64px, 10vw, 120px) 0; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page h2 { font-size: 1.4rem; margin-top: 2.2em; }
.page p, .page li { color: var(--muted); }
.page a { color: var(--cyan); }
.page-center { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.page-center .lead { margin-inline: auto; }

/* Ilmestymisanimaatio (vain kun JS on käytössä) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsiivisuus */
@media (max-width: 1000px) {
  .worlds { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step::after { display: none; }
}

@media (max-width: 880px) {
  .services, .why, .also-grid { grid-template-columns: 1fr; }
  .studio, .contact { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .worlds, .steps { grid-template-columns: 1fr; }
  .world { min-height: 220px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .orb-1 { width: 520px; height: 520px; top: -260px; left: -240px; }
  .orb-2 { width: 460px; height: 460px; right: -260px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
