/* ============================================================
   SAAVUTETTAVUUS — ruudunlukijalle näkyvä, visuaalisesti piilotettu
============================================================ */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   CUSTOM PROPERTIES
============================================================ */
:root {
    --c-bg:         #050505;
    --c-bg-2:       #080808;
    --c-bg-3:       #0D0D0D;
    --c-text:       #F0EDE6;
    --c-text-mid:   #8A8580;
    --c-text-muted: #4A4540;
    --c-accent:     #B8FF29;
    --c-accent-dim: rgba(184,255,41,0.09);
    --c-border:     #141414;
    --c-border-2:   #1E1E1E;
    --f-head:       'SF Hollywood Hills', sans-serif;
    --f-body:       'DM Sans', sans-serif;
    --nav-h:        72px;
    --pad-x:        clamp(1.25rem, 5vw, 4rem);
    --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
    --ease-io:      cubic-bezier(0.87, 0, 0.13, 1);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
@media (prefers-reduced-motion: no-preference) {
    :not([data-no-smooth]) { scroll-behavior: smooth; }
}
body {
    font-family: var(--f-body);
    background: var(--c-bg);
    color: var(--c-text);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.lk-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ============================================================
   NOISE OVERLAY
============================================================ */
body::after {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 8000;
    opacity: 0.028;
    background-image: url('/images/bg/noise.webp');
    background-size: 180px 180px;
}

/* ============================================================
   CUSTOM CURSOR
============================================================ */
@media (pointer: fine) { * { cursor: none !important; } }
@media (pointer: coarse) { #cur-dot, #cur-ring { display: none !important; } }
#cur-dot {
    position: fixed; top: 0; left: 0;
    width: 7px; height: 7px;
    background: var(--c-text);
    border-radius: 50%;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%,-50%);
    mix-blend-mode: difference;
}
#cur-ring {
    position: fixed; top: 0; left: 0;
    width: 38px; height: 38px;
    border: 1.5px solid rgba(240,237,230,0.4);
    border-radius: 50%;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%,-50%);
    transition: width .35s var(--ease-out), height .35s var(--ease-out), border-color .25s;
}
#cur-ring.hov { width: 58px; height: 58px; border-color: var(--c-accent); }
#cur-ring.clk { width: 28px; height: 28px; }

/* ============================================================
   PRELOADER
============================================================ */
#preloader {
    position: fixed; inset: 0;
    background: var(--c-bg);
    z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.pl-logo {
    font-family: var(--f-head);
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--c-text);
    opacity: 0; transform: translateY(24px);
    transition: opacity .7s ease, transform .7s var(--ease-out);
}
.pl-logo span { color: var(--c-accent); }
.pl-count {
    position: absolute; bottom: 2.5rem; right: var(--pad-x);
    font-family: var(--f-head);
    font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em;
    color: var(--c-text-mid);
}
.pl-bar {
    position: absolute; bottom: 0; left: 0;
    height: 2px; width: 0%;
    background: var(--c-accent);
}

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-h); z-index: 1000;
    display: flex; align-items: center;
    padding: 0 var(--pad-x);
    transition: background .4s var(--ease-out), border-color .4s;
}
.nav.scrolled {
    background: rgba(5,5,5,0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
    font-family: var(--f-head);
    font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em;
    margin-right: auto; transition: color .2s;
}
.nav-logo span { color: var(--c-accent); }
.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-link {
    font-size: 0.82rem; font-weight: 400; color: var(--c-text-mid);
    letter-spacing: 0.01em; position: relative; transition: color .2s;
    display: flex; align-items: center; gap: 0.4rem;
}
.nav-num {
    font-size: 0.62rem; font-weight: 500; color: var(--c-text-mid);
    letter-spacing: 0.04em; font-family: var(--f-body);
}
.nav-link::after {
    content: ''; position: absolute; bottom: -3px; left: 0;
    width: 0; height: 1px; background: var(--c-accent);
    transition: width .3s var(--ease-out);
}
.nav-link:hover { color: var(--c-text); }
.nav-link:hover::after { width: 100%; }
.nav-cta {
    font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--c-bg); background: var(--c-accent);
    padding: 0.6rem 1.4rem;
    border-radius: 0;
    transition: background .2s, transform .25s var(--ease-out);
}
.nav-cta:hover { background: #cbff55; transform: scale(1.03); }

.hamburger {
    display: none; flex-direction: column; gap: 6px;
    width: 28px; padding: 2px 0;
}
.hamburger span {
    display: block; width: 100%; height: 1.5px;
    background: var(--c-text); border-radius: 0;
    transition: transform .3s var(--ease-out), opacity .3s, width .3s;
    transform-origin: left center;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translateY(-1px); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translateY(1px); }

/* ============================================================
   MOBILE MENU
============================================================ */
.mob-menu {
    position: fixed; inset: 0; background: var(--c-bg);
    z-index: 900; display: flex; flex-direction: column;
    justify-content: center;
    padding: var(--nav-h) var(--pad-x) 3rem;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .65s var(--ease-io);
    pointer-events: none;
}
.mob-menu.open { clip-path: inset(0 0 0% 0); pointer-events: all; }
.mob-link {
    font-family: var(--f-head);
    font-size: clamp(2rem, 9vw, 4.5rem);
    font-weight: 800; letter-spacing: -0.02em; line-height: 1.1;
    color: var(--c-text); display: flex; align-items: baseline; gap: 0.6rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--c-border);
    opacity: 0; transform: translateX(-18px);
    transition: color .2s, padding-left .3s var(--ease-out), opacity .4s, transform .4s var(--ease-out);
}
.mob-link-num {
    font-size: 0.7rem; font-weight: 500; color: var(--c-text-mid);
    font-family: var(--f-body); letter-spacing: 0.04em;
}

.mob-menu.open .mob-link { opacity: 1; transform: translateX(0); }
.mob-menu.open .mob-link:nth-child(1) { transition-delay: .12s; }
.mob-menu.open .mob-link:nth-child(2) { transition-delay: .17s; }
.mob-menu.open .mob-link:nth-child(3) { transition-delay: .22s; }
.mob-menu.open .mob-link:nth-child(4) { transition-delay: .27s; }
.mob-menu.open .mob-link:nth-child(5) { transition-delay: .32s; }
.mob-menu.open .mob-link:nth-child(6) { transition-delay: .37s; }
.mob-link:hover { color: var(--c-accent); padding-left: 0.5rem; }
.mob-footer {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--c-border);
    display: flex; flex-direction: column; gap: 0.4rem;
}
.mob-footer a, .mob-footer span {
    font-size: 0.85rem; color: var(--c-text-mid); font-weight: 300;
    transition: color .2s;
}
.mob-footer a:hover { color: var(--c-text); }

/* ============================================================
   HERO
============================================================ */
.hero {
    min-height: 100dvh;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0 0 clamp(1.5rem, 3vw, 2.5rem);
    position: relative; overflow: hidden;
}

#hero-canvas-container {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

#hero-canvas-container canvas {
    display: block; width: 100%; height: 100%;
}

.hero-orb {
    position: absolute; border-radius: 50%;
    pointer-events: none; filter: blur(120px);
    display: none;
}
.hero-orb-1 {
    width: min(700px, 90vw); height: min(700px, 90vw);
    background: rgba(184,255,41,0.055);
    top: -15%; right: -12%;
    animation: orb 14s ease-in-out infinite;
}
.hero-orb-2 {
    width: min(450px, 65vw); height: min(450px, 65vw);
    background: rgba(184,255,41,0.03);
    bottom: 5%; left: -10%;
    animation: orb 18s ease-in-out infinite reverse;
}
@keyframes orb {
    0%,100% { transform: translate(0,0) scale(1); }
    40%      { transform: translate(28px,-44px) scale(1.06); }
    70%      { transform: translate(-22px,18px) scale(0.96); }
}

.hero-wordmark-wrap {
    position: absolute;
    top: 30vh;
    left: var(--pad-x);
    right: var(--pad-x);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.hero-wordmark-wrap.visible {
    opacity: 1;
    transform: translateY(0);
}
.hero-wordmark {
    font-family: var(--f-head);
    font-size: clamp(4.5rem, 16vw, 16rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.88;
    color: var(--c-text);
    white-space: nowrap;
    will-change: transform, opacity;
    display: block;
}
.hero-wordmark .wm-accent { color: var(--c-accent); }

@keyframes wm-shake {
    0%   { transform: translate(0, 0); }
    2%   { transform: translate(-0.6px, 0.3px); }
    4%   { transform: translate(0.6px, -0.3px); }
    6%   { transform: translate(-0.3px, 0.5px); }
    8%   { transform: translate(0.3px, -0.3px); }
    9%   { transform: translate(0, 0); }
    100% { transform: translate(0, 0); }
}
.hero-wordmark .wm-letter {
    display: inline-block;
}
.hero-cta-shake {
    animation: wm-shake 3.3s 1s infinite;
}

.hero-content {
    padding: 0 var(--pad-x);
    position: relative;
    z-index: 2;
}
.hero-eyebrow {
    font-size: 0.7rem; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--c-text-mid); margin-bottom: 1.5rem;
    display: flex; align-items: center; gap: 0.8rem;
    opacity: 0;
}
.hero-eyebrow::before {
    content: ''; display: block; width: 28px; height: 1px;
    background: var(--c-text-mid);
}
.c-accent  { color: var(--c-accent); }
.c-outline { -webkit-text-stroke: 1.5px var(--c-text); color: transparent; }
.c-mid-stroke { -webkit-text-stroke: 1px var(--c-text-mid); color: transparent; }

.hero-bottom {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2rem; align-items: flex-end;
    opacity: 0; transform: translateY(22px);
}
.hero-desc {
    font-size: clamp(0.875rem, 1.4vw, 1.05rem);
    color: var(--c-text-mid); max-width: 420px;
    line-height: 1.75; font-weight: 300;
}

.hero-desc-highlight {
    color: var(--c-accent); font-weight: 400;
}
.hero-actions {
    display: flex; gap: 0.875rem;
    justify-content: flex-end; flex-wrap: wrap; align-items: center;
}

.scroll-cue { display: none; }

.scroll-hint {
    position: absolute; bottom: 2.5rem; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    z-index: 2; pointer-events: all;
    opacity: 0;
    animation: hint-enter 0.8s var(--ease-out) 2s forwards;
    transition: opacity 0.4s ease, transform 0.3s var(--ease-out);
    cursor: pointer;
    user-select: none;
}
.scroll-hint:hover { transform: translateX(-50%) translateY(-3px); }
.scroll-hint:hover span { color: var(--c-accent); }
.scroll-hint:hover .scroll-hint-arrow { color: var(--c-accent); }
.scroll-hint.hidden { opacity: 0 !important; pointer-events: none; transition: opacity 0.3s ease; }
@keyframes hint-enter { to { opacity: 1; } }
.scroll-hint span {
    font-size: 0.6rem; letter-spacing: 0.16em;
    text-transform: uppercase; color: #ffffff;
    transition: color 0.2s;
}
.scroll-hint-arrow {
    width: 22px; height: 22px;
    color: #ffffff;
    animation: arrow-bounce 1.4s ease-in-out infinite;
    transition: color 0.2s;
}
@keyframes arrow-bounce {
    0%, 100% { transform: translateY(0); }
    30%       { transform: translateY(5px); }
    60%       { transform: translateY(2px); }
}

.scroll-resume {
    position: absolute; bottom: -0.45rem; left: 50%;
    transform: translateX(-50%);
    z-index: 2; pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.scroll-resume.visible { opacity: 1; }
.scroll-resume svg {
    width: 26px; height: 26px;
    color: var(--c-text-mid);
    animation: arrow-bounce 1.4s ease-in-out infinite;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--f-body); font-size: 0.78rem; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
    padding: 0.875rem 1.875rem;
    border-radius: 0;
    transition: transform .25s var(--ease-out), background .2s, color .2s, border-color .2s;
    will-change: transform;
}
.btn:active { transform: scale(0.97) !important; }
.btn-primary { background: var(--c-accent); color: var(--c-bg); }
.btn-primary:hover { background: #cbff55; }
.btn-ghost { background: transparent; color: var(--c-text); border: 1px solid var(--c-border-2); }
.btn-ghost:hover { border-color: var(--c-text-mid); }

.btn-tip { position: relative; }
.btn-tip::after {
    content: attr(data-tip);
    position: absolute; bottom: calc(100% + 8px); left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(20,20,20,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--c-text);
    font-size: 0.62rem; font-weight: 400;
    letter-spacing: 0.04em; text-transform: none;
    white-space: nowrap;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn-tip:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================================
   MARQUEE
============================================================ */

#marquee {
    opacity: 0;
}

.marquee {
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow: hidden; padding: 1rem 0;
    background: var(--c-bg-2);
}
.marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee-item {
    display: flex; align-items: center; gap: 1.25rem; padding-right: 1.25rem;
    font-family: var(--f-head); font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.13em; text-transform: uppercase;
    color: var(--c-text-mid); white-space: nowrap;
}
.marquee-dot {
    display: inline-block; width: 4px; height: 4px;
    background: var(--c-accent); flex-shrink: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero-badge {
    position: absolute;
    top: calc(var(--nav-h) + 1.25rem);
    left: var(--pad-x);
    z-index: 2;
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.55rem; font-weight: 500; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--c-accent);
    background: rgba(184,255,41,0.06);
    border: 1px solid rgba(184,255,41,0.15);
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    opacity: 0;
}
.hero-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--c-accent); flex-shrink: 0;
    animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(184,255,41,0.4); }
    50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(184,255,41,0); }
}

/* ============================================================
   SECTION UTILITIES
============================================================ */
.section { padding: clamp(5rem, 11vw, 10rem) var(--pad-x); }
.sec-label {
    font-size: 0.66rem; font-weight: 500; letter-spacing: 0.17em;
    text-transform: uppercase; color: var(--c-accent);
    display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem;
}
.sec-label::before { content: ''; display: block; width: 22px; height: 1px; background: var(--c-accent); }
.sec-heading {
    font-family: var(--f-head);
    font-size: clamp(2.4rem, 6.5vw, 6rem);
    font-weight: 800; letter-spacing: -0.03em; line-height: 1.0;
}

.rv { opacity: 0; transform: translateY(36px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.rv.in { opacity: 1; transform: translateY(0); }
.rv-d1 { transition-delay: .1s; }
.rv-d2 { transition-delay: .2s; }
.rv-d3 { transition-delay: .3s; }
.rv-d4 { transition-delay: .4s; }

/* ============================================================
   MANIFESTI
============================================================ */
.manifesti {
    background: var(--c-bg-2);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.manifesti-inner {
    display: grid;
    grid-template-columns: 60fr 40fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}
.manifesti-head {
    font-family: var(--f-head);
    font-size: clamp(2.6rem, 6.5vw, 6.5rem);
    font-weight: 800; letter-spacing: -0.04em; line-height: 0.95;
    color: var(--c-text); margin-bottom: 2.5rem;
}
.manifesti-body {
    display: flex; flex-direction: column; gap: 1.4rem;
}
.manifesti-body p {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: var(--c-text-mid); line-height: 1.8; font-weight: 300;
}
.manifesti-body strong { color: var(--c-text); font-weight: 500; }

.manifesti-right {
    padding-top: 0.5rem;
    display: flex; flex-direction: column; gap: 1.75rem;
}
.manifesti-testi {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 2rem 1.75rem;
}
.manifesti-testi-mark {
    font-family: var(--f-head); font-size: 3.5rem; line-height: 1;
    color: var(--c-accent); opacity: 0.35; margin-bottom: -0.25rem;
}
.manifesti-testi-quote {
    font-size: 0.95rem; color: var(--c-text);
    line-height: 1.75; font-weight: 300; font-style: italic;
    margin-bottom: 1.25rem;
}
.manifesti-testi-author { display: flex; align-items: center; gap: 0.875rem; }
.manifesti-testi-avatar {
    width: 40px; height: 40px; flex-shrink: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--f-head); font-size: 0.75rem; font-weight: 800;
    color: var(--c-accent);
}
.manifesti-testi-name { font-family: var(--f-head); font-size: 0.88rem; font-weight: 700; }
.manifesti-testi-role { font-size: 0.73rem; color: var(--c-text-mid); font-weight: 300; margin-top: 0.1rem; }
.manifesti-note {
    font-size: 0.78rem; color: var(--c-text-mid); font-weight: 300; line-height: 1.6;
}
.manifesti-mark {
    width: clamp(280px, 30vw, 470px);
    height: auto;
    align-self: center;
    margin-bottom: 0.5rem;
}

/* ============================================================
   SERVICES
============================================================ */
.services { background: var(--c-bg); }
.svc-intro {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: end; margin-bottom: 4rem;
}
.svc-sub { font-size: 1rem; color: var(--c-text-mid); line-height: 1.75; max-width: 380px; font-weight: 300; align-self: end; }
.svc-list { border-top: 1px solid rgba(255,255,255,0.06); }
.svc-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.svc-header {
    display: grid; grid-template-columns: 1fr auto;
    align-items: flex-start;   /* oli: center */
    gap: 1.25rem; padding: 1.5rem 0; cursor: pointer;
}
.svc-header:hover .svc-title { color: var(--c-accent); }

.svc-title {
    font-family: var(--f-head);
    font-size: clamp(1.2rem, 2.8vw, 2.1rem);
    font-weight: 800; letter-spacing: -0.02em; color: var(--c-text); transition: color .2s;
}
.svc-arrow {
    width: 28px; height: 28px;
    border: 1px solid var(--c-border-2);
    border-radius: 0;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    color: var(--c-text-mid);
    transition: background .25s, border-color .25s, color .25s, transform .35s var(--ease-out);
}
.svc-item.open .svc-arrow { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-bg); transform: rotate(45deg); }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.svc-item.open .svc-body { grid-template-rows: 1fr; }
.svc-body-inner { overflow: hidden; padding-left: 4.25rem; }
.svc-body-inner p {
    padding-bottom: 1.75rem; font-size: 0.95rem;
    color: var(--c-text-mid); line-height: 1.8; max-width: 600px; font-weight: 300;
}


/* ============================================================
   PROCESS
============================================================ */
.process { background: var(--c-bg-2); }
.proc-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 0; overflow: hidden; margin-top: 4rem;
}
.proc-step {
    background: var(--c-bg-2); padding: 2.75rem 1.75rem; transition: background .3s;
}
.proc-step:hover { background: var(--c-bg-3); }
.proc-num {
    font-family: var(--f-head); font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; color: var(--c-accent);
    margin-bottom: 1.5rem; display: block;
}
.proc-ttl { font-family: var(--f-head); font-size: clamp(1rem, 1.8vw, 1.25rem); font-weight: 800; letter-spacing: -0.02em; color: var(--c-text); margin-bottom: 0.8rem; }
.proc-desc { font-size: 0.875rem; color: var(--c-text-mid); line-height: 1.7; font-weight: 300; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials { background: var(--c-bg); }
.testi-grid-3 {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05); margin-top: 3.5rem;
}
.testi-card {
    background: rgba(255,255,255,0.03);
    border: none;
    padding: 2.25rem 2rem;
    display: flex; flex-direction: column; justify-content: space-between;
    gap: 1.75rem; transition: background .3s;
}
.testi-card:hover { background: rgba(255,255,255,0.05); }
.testi-mark {
    font-family: var(--f-head); font-size: 4rem; line-height: 1;
    color: var(--c-accent); opacity: 0.35; margin-bottom: -0.4rem;
}
.testi-quote {
    font-size: 0.95rem; color: var(--c-text);
    line-height: 1.75; font-weight: 300; font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 1rem; margin-top: 0.25rem; }
.testi-avatar {
    width: 42px; height: 42px; flex-shrink: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--f-head); font-size: 0.8rem; font-weight: 800;
    letter-spacing: 0.05em; color: var(--c-accent);
}
.testi-name { font-family: var(--f-head); font-size: 0.9rem; font-weight: 700; letter-spacing: -0.01em; }
.testi-role { font-size: 0.75rem; color: var(--c-text-mid); margin-top: 0.15rem; font-weight: 300; }

/* ============================================================
   STATS
============================================================ */
.stats { background: var(--c-accent); padding: clamp(3rem, 6vw, 5rem) var(--pad-x); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-item { padding: 1.5rem 2rem; text-align: center; }
.stat-num {
    font-family: var(--f-head);
    font-size: clamp(3rem, 9vw, 6.5rem);
    font-weight: 800; letter-spacing: -0.04em; color: var(--c-bg); line-height: 1;
}
.stat-lbl { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(5,5,5,0.5); margin-top: 0.4rem; }

/* ============================================================
   PORTFOLIO
============================================================ */
.portfolio { background: var(--c-bg); }
.port-header { margin-bottom: 3rem; }

.port-grid {
    display: flex;
    gap: 3px;
    height: clamp(500px, 68vh, 780px);
}

.port-card {
    flex: var(--flex, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: flex 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}

.port-img-wrap {
    position: absolute;
    inset: 0;
}

.port-img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    filter: saturate(0.45) brightness(0.85);
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
                filter  0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.port-card.is-active .port-img {
    transform: scale(1.04);
    filter: saturate(1) brightness(1);
}

/* Kapea (mobiili)kuva passiivisessa tilassa — piiloutuu kun kortti laajenee */
.port-img-narrow {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    z-index: 1;
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.port-card.is-active .port-img-narrow { opacity: 0; pointer-events: none; }

/* Overlay ja mobile-bar peiton yläpuolelle */
.port-overlay    { position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.15) 55%, transparent 85%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    z-index: 2; }
.port-mobile-bar { z-index: 3; }

.port-tag {
    font-size: 0.58rem; font-weight: 700; letter-spacing: 0.13em;
    text-transform: uppercase; color: var(--c-accent); margin-bottom: 0.4rem;
    opacity: 0; transform: translateY(12px);
    transition: opacity 0.55s 0.05s cubic-bezier(0.16,1,0.3,1),
                transform 0.55s 0.05s cubic-bezier(0.16,1,0.3,1);
}

.port-ttl {
    font-family: var(--f-head); font-size: clamp(1.1rem, 2vw, 1.7rem);
    font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem;
    opacity: 0; transform: translateY(12px);
    transition: opacity 0.55s 0.12s cubic-bezier(0.16,1,0.3,1),
                transform 0.55s 0.12s cubic-bezier(0.16,1,0.3,1);
}

.port-desc {
    font-size: 0.8rem; color: rgba(240,237,230,0.65);
    line-height: 1.6; font-weight: 300; max-width: 38ch;
    opacity: 0; transform: translateY(12px);
    transition: opacity 0.55s 0.19s cubic-bezier(0.16,1,0.3,1),
                transform 0.55s 0.19s cubic-bezier(0.16,1,0.3,1);
}

.port-arrow {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--c-accent); margin-top: 1rem;
    opacity: 0; transform: translateY(12px);
    transition: opacity 0.55s 0.26s cubic-bezier(0.16,1,0.3,1),
                transform 0.55s 0.26s cubic-bezier(0.16,1,0.3,1);
}

.port-arrow svg { width: 12px; height: 12px; }

.port-card.is-active .port-tag,
.port-card.is-active .port-ttl,
.port-card.is-active .port-desc,
.port-card.is-active .port-arrow {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   CALCULATOR
============================================================ */
.calc { background: var(--c-bg-2); }
.calc-head { margin-bottom: 3.5rem; }
.calc-sub {
    font-family: var(--f-head);
    font-size: clamp(1.4rem, 3.5vw, 2.5rem);
    font-weight: 800; letter-spacing: -0.03em;
    color: var(--c-accent); margin-top: 0.35rem;
}
.calc-layout {
    display: grid; grid-template-columns: 65fr 35fr;
    gap: 3rem; align-items: start;
}
.calc-steps { display: flex; flex-direction: column; gap: 1rem; }
.calc-step-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 2.5rem;
}
.calc-step-num {
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--c-accent);
    margin-bottom: 0.5rem; display: block;
}
.calc-step-title {
    font-family: var(--f-head);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 800; letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}
.calc-options { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.calc-opt {
    font-family: var(--f-body); font-size: 0.82rem; font-weight: 400;
    color: var(--c-text-mid); padding: 0.65rem 1.1rem;
    border: 1px solid var(--c-border-2); border-radius: 0;
    background: transparent; cursor: pointer;
    transition: border-color .2s, background .2s, color .2s;
    text-align: left;
}
.calc-opt:hover { border-color: var(--c-text-mid); color: var(--c-text); }
.calc-opt.selected {
    border-color: var(--c-accent);
    background: var(--c-accent-dim);
    color: var(--c-text);
}
.calc-opt-price {
    display: block; font-size: 0.72rem; color: var(--c-text-mid);
    margin-top: 0.2rem; font-weight: 300;
}
.calc-opt-desc {
    display: block; font-size: 0.72rem; line-height: 1.45;
    color: var(--c-text-mid); font-weight: 300;
    margin-top: 0.3rem; max-width: 46ch;
}
.calc-opt.selected .calc-opt-desc { color: var(--c-text-mid); }
.calc-hint {
    margin-top: 0.9rem; padding: 0.7rem 0.9rem;
    border-left: 2px solid var(--c-accent);
    background: var(--c-accent-dim);
    font-size: 0.75rem; line-height: 1.5; font-weight: 300;
    color: var(--c-text-mid);
}
.calc-opt.selected .calc-opt-price { color: var(--c-accent); }

.calc-panel-wrap { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.calc-panel {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 2.5rem 2rem;
}
.calc-panel-label {
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--c-text-mid); margin-bottom: 1rem;
}
.calc-price-big {
    font-family: var(--f-head);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800; letter-spacing: -0.04em; line-height: 1;
    color: var(--c-text); margin-bottom: 0.25rem;
}
.calc-price-big span { font-size: 0.38em; color: var(--c-text-mid); font-weight: 400; vertical-align: super; }
.calc-price-note { font-size: 0.75rem; color: var(--c-text-mid); font-weight: 300; margin-bottom: 1.5rem; }
.calc-divider { height: 1px; background: rgba(255,255,255,0.06); margin-bottom: 1.25rem; }
.calc-breakdown { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.calc-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.82rem;
}
.calc-row-name { color: var(--c-text-mid); font-weight: 300; }
.calc-row-price { color: var(--c-text); font-weight: 500; }
.calc-monthly { margin-bottom: 1.5rem; }
.calc-monthly-label {
    font-size: 0.63rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--c-text-mid); margin-bottom: 0.5rem;
}
.calc-monthly-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.82rem;
}
.calc-monthly-row + .calc-monthly-row { margin-top: 0.4rem; }
.calc-monthly-row span:first-child { color: var(--c-text-mid); font-weight: 300; }
.calc-monthly-row span:last-child { color: var(--c-accent); font-weight: 500; }
.calc-cta-btn {
    width: 100%; padding: 1rem; background: var(--c-accent); color: var(--c-bg);
    font-family: var(--f-body); font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
    border-radius: 0; border: none; cursor: pointer;
    transition: background .2s, transform .25s var(--ease-out);
    margin-top: 0.25rem;
}
.calc-cta-btn:hover { background: #cbff55; }
.calc-cta-btn:disabled {
    background: rgba(255,255,255,0.06);
    color: var(--c-text-mid);
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================================
   CALC PACKAGE SUMMARY (CPS) — lomakkeen pakettiboksi
============================================================ */
.cps {
    background: var(--c-accent-dim);
    border: 1px solid rgba(184,255,41,0.18);
    border-radius: 4px;
    padding: 1.1rem 1.4rem 1.25rem;
    margin-bottom: 1.75rem;
    animation: cpsFadeIn 0.3s var(--ease-out) both;
}
@keyframes cpsFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.cps-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
}
.cps-tag {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--c-accent);
}
.cps-dismiss {
    background: none;
    border: none;
    color: var(--c-text-mid);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}
.cps-dismiss:hover { color: var(--c-text); }
.cps-rows { display: flex; flex-direction: column; }
.cps-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    padding: 0.32rem 0;
    color: var(--c-text-mid);
    font-weight: 300;
}
.cps-row + .cps-row { border-top: 1px solid rgba(184,255,41,0.07); }
.cps-row-price { color: var(--c-text); font-weight: 500; }
.cps-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 500;
    padding-top: 0.8rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(184,255,41,0.2);
    color: var(--c-text);
}
.cps-total-price {
    color: var(--c-accent);
    font-size: 1rem;
    font-weight: 700;
}
.calc-empty {
    font-size: 0.82rem; color: var(--c-text-mid); font-weight: 300;
    font-style: italic;
}

.calc-mobile-bar {
    display: none;
    background: rgba(14,14,16,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    padding: 1.1rem var(--pad-x);
    padding-bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
    align-items: center; justify-content: space-between; gap: 1rem;

    /* Sticky alareunassa vain kun laskuriosio on näkyvissä */
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.35);
    transform: translateY(110%);
    transition: transform 0.3s ease;
}
.calc-mobile-bar.is-active { transform: translateY(0); }
.calc-mobile-price {
    font-family: var(--f-head); font-size: 2rem;
    font-weight: 800; letter-spacing: -0.03em;
}
.calc-mobile-price span { font-size: 0.8rem; color: var(--c-text-mid); font-weight: 300; }
.calc-mobile-monthly {
    font-size: 0.8rem; font-weight: 500; color: var(--c-accent);
    margin-top: 0.15rem;
}

/* ============================================================
   CONTACT
============================================================ */
.contact { background: var(--c-bg); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: start; }
.contact-email {
    font-family: var(--f-head); font-size: clamp(1rem, 2.5vw, 1.5rem); font-weight: 700;
    display: block; margin-top: 2rem; padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--c-border-2); transition: color .2s, border-color .2s;
}
.contact-email:hover { color: var(--c-accent); border-color: var(--c-accent); }
.contact-phone { display: block; font-size: 1rem; color: var(--c-text-mid); margin-top: 0.85rem; font-weight: 300; transition: color .2s; }
.contact-phone:hover { color: var(--c-text); }
.contact-note {
    margin-top: 2.5rem; padding: 1.25rem 1.5rem;
    background: var(--c-accent-dim); border-left: 2px solid var(--c-accent);
    font-size: 0.85rem; color: var(--c-text-mid); font-weight: 300; line-height: 1.65;
}
.contact-note strong { color: var(--c-accent); font-weight: 500; }

.fg { margin-bottom: 1.2rem; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.2rem; }
.flabel { display: block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-mid); margin-bottom: 0.45rem; }
.finput, .fselect, .ftextarea {
    width: 100%; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
    color: var(--c-text); font-family: var(--f-body); font-size: 0.9375rem; font-weight: 300;
    padding: 0.875rem 1rem; border-radius: 0; outline: none;
    transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.finput:focus, .fselect:focus, .ftextarea:focus { border-color: var(--c-accent); background: rgba(255,255,255,0.05); }
.finput:-webkit-autofill,
.finput:-webkit-autofill:hover,
.finput:-webkit-autofill:focus { -webkit-text-fill-color: var(--c-text); -webkit-box-shadow: 0 0 0 1000px #080808 inset; transition: background-color 9999s ease-in-out 0s; }
.fselect {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%234A4540' d='M5 7L0 2h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
    background-color: rgba(255,255,255,0.03);
}
.fselect option { background: #0D0D0D; }
.ftextarea { resize: none; min-height: 150px; line-height: 1.65; }
.fsubmit {
    width: 100%; padding: 1rem; background: var(--c-accent); color: var(--c-bg);
    font-family: var(--f-body); font-size: 0.85rem; font-weight: 500;
    letter-spacing: 0.07em; text-transform: uppercase;
    border-radius: 0; border: none; cursor: pointer; margin-top: 0.5rem;
    transition: background .2s, transform .25s var(--ease-out);
}
.fsubmit:hover { background: #cbff55; transform: scale(1.02); }
.fsubmit:active { transform: scale(0.99); }

/* ============================================================
   FOOTER
============================================================ */
footer { background: var(--c-bg-2); border-top: 1px solid rgba(255,255,255,0.05); }

.foot-cta {
    padding: clamp(3.5rem, 8vw, 7rem) var(--pad-x);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.foot-cta-label {
    font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--c-accent); margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.75rem;
}
.foot-cta-label::before { content: ''; display: block; width: 22px; height: 1px; background: var(--c-accent); }
.foot-cta-head {
    font-family: var(--f-head);
    font-size: clamp(2.2rem, 6vw, 5.5rem);
    font-weight: 800; letter-spacing: -0.03em; line-height: 1.0;
    color: var(--c-text);
}
.foot-cta-head span { color: var(--c-accent); }

.foot-main {
    display: grid; grid-template-columns: 1.8fr 1fr 1fr;
    gap: 4rem; padding: 4rem var(--pad-x);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.foot-logo {
    font-family: var(--f-head); font-size: 1.5rem; font-weight: 800;
    letter-spacing: -0.02em; margin-bottom: 1.25rem;
}
.foot-logo span { color: var(--c-accent); }
.foot-desc { font-size: 0.875rem; color: var(--c-text-mid); line-height: 1.7; font-weight: 300; max-width: 320px; }

.foot-col-ttl { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-text-mid); margin-bottom: 1.25rem; }
.foot-nav-links { display: flex; flex-direction: column; gap: 0.6rem; }
.foot-nav-links a {
    font-size: 0.9rem; color: var(--c-text-mid); font-weight: 300; transition: color .2s;
    display: flex; align-items: center; gap: 0.45rem;
}
.foot-nav-links a:hover { color: var(--c-text); }
.foot-nav-num { font-size: 0.62rem; color: var(--c-text-mid); font-family: var(--f-body); }

.foot-contact-links { display: flex; flex-direction: column; gap: 0.6rem; }
.foot-contact-links a, .foot-contact-links span { font-size: 0.9rem; color: var(--c-text-mid); font-weight: 300; transition: color .2s; }
.foot-contact-links a:hover { color: var(--c-text); }
.foot-contact-links .foot-loc { font-size: 0.8rem; color: var(--c-text-mid); margin-top: 0.5rem; }

.foot-bottom {
    padding: 1.5rem var(--pad-x);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 0.75rem;
}
.foot-bottom p, .foot-bottom a { font-size: 0.75rem; color: var(--c-text-mid); }
.foot-bottom a:hover { color: var(--c-text); }

/* ============================================================
   FAQ
============================================================ */
.faq-head { margin-bottom: 3.5rem; }

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 5rem;
    align-items: start;
}

.faq-list { border-top: 1px solid var(--c-border); }
.faq-item { border-bottom: 1px solid var(--c-border); }

.faq-q {
    width: 100%; display: flex; align-items: center;
    justify-content: space-between; gap: 1.5rem;
    padding: 1.5rem 0; background: none; border: none;
    text-align: left; color: var(--c-text);
    font-family: inherit; cursor: pointer;
}
.faq-q-text {
    font-family: var(--f-head);
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    font-weight: 400; letter-spacing: 0.02em;
    line-height: 1.35; transition: color .2s;
}
.faq-q:hover .faq-q-text,
.faq-item.open .faq-q-text { color: var(--c-accent); }

.faq-icon {
    flex-shrink: 0; width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    color: var(--c-text-mid);
    border: 1px solid var(--c-border-2);
    border-radius: 0;
    transition: background .25s, border-color .25s, color .25s, transform .35s var(--ease-out);
}
.faq-item.open .faq-icon { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-bg); transform: rotate(45deg); }

.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; padding-bottom: 0; }
.faq-a-inner p {
    padding-bottom: 1.75rem;
    font-size: clamp(0.875rem, 1.1vw, 0.975rem);
    color: var(--c-text-mid); line-height: 1.85;
    font-weight: 300; max-width: 66ch;
}

.faq-sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.faq-cta-box {
    background: var(--c-bg-3); border: 1px solid var(--c-border-2);
    padding: 2.5rem;
}
.faq-cta-eyebrow {
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--c-text-mid); margin-bottom: 1rem;
}
.faq-cta-head {
    font-family: var(--f-head);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800; letter-spacing: -0.03em;
    line-height: 1.05; margin-bottom: 1.1rem;
}
.faq-cta-body {
    font-size: 0.875rem; color: var(--c-text-mid);
    line-height: 1.75; font-weight: 300; margin-bottom: 1.75rem;
}
.faq-cta-btn { width: 100%; justify-content: center; font-size: 0.78rem; padding: 0.9rem 1.5rem; }
.faq-cta-meta {
    display: flex; flex-direction: column; gap: 0.35rem;
    margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--c-border);
}
.faq-cta-meta a { font-size: 0.78rem; color: var(--c-text-mid); transition: color .2s; }
.faq-cta-meta a:hover { color: var(--c-accent); }

/* ============================================================
   RESPONSIVE — TABLET 1100px
============================================================ */

/* ============================================================
   INFORMATION
============================================================ */
.information {
    background: var(--c-bg-2);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.info-inner {
    display: grid;
    grid-template-columns: 45fr 55fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}
.info-left { padding-top: 0.25rem; }
.info-body {
    display: flex; flex-direction: column; gap: 1.4rem;
    padding-top: 0.5rem;
}
.info-body p {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: var(--c-text-mid); line-height: 1.8; font-weight: 300;
}

@media (max-width: 1100px) {
    .manifesti-inner { grid-template-columns: 1fr; gap: 3rem; }
    .info-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .proc-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-grid-3 { grid-template-columns: 1fr; }
    .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
    .foot-main { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .calc-layout { grid-template-columns: 1fr; }
    .calc-panel-wrap { position: static; display: none; }
    .calc-mobile-bar { display: flex; }
    .faq-layout { grid-template-columns: 1fr; gap: 3rem; }
    .faq-sidebar { position: static; }
}

/* ============================================================
   RESPONSIVE — MOBILE 768px
============================================================ */
@media (max-width: 768px) {
    :root { --nav-h: 64px; }

    .nav-links { display: none; }
    .hamburger { display: flex; }

    .hero-wordmark-wrap { top: 28vh; }
    .hero-content { padding: 0 var(--pad-x) clamp(1.5rem, 5vw, 2.5rem); position: absolute; bottom: 0; left: 0; right: 0; }
    .hero-bottom { grid-template-columns: 1fr; gap: 1.25rem; }
    .hero-actions { justify-content: flex-start; flex-direction: column; align-items: flex-start; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .scroll-cue { display: none; }

    .manifesti-inner { grid-template-columns: 1fr; gap: 2rem; }
    .info-inner { grid-template-columns: 1fr; gap: 1.75rem; }
    .manifesti-head { font-size: clamp(2.4rem, 10vw, 3.8rem); }

    .svc-intro { grid-template-columns: 1fr; gap: 1.25rem; }
    .svc-sub { max-width: 100%; }
    .svc-body-inner { padding-left: 0; }
    .svc-title { font-size: clamp(1.1rem, 5vw, 1.5rem); }

    .proc-grid { grid-template-columns: 1fr; }

    .testi-grid-3 { grid-template-columns: 1fr; }

    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { padding: 1.25rem; }

    /* ── Mobile portfolio: staattiset kortit ── */
    .port-grid {
        flex-direction: column;
        height: auto;
        gap: 2.5rem;
    }

    .port-card {
        flex: none;
        width: 100%;
        height: auto;
        overflow: visible;
        cursor: default;
    }

    .port-img-wrap {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 3 / 2;
        overflow: hidden;
        border-radius: 0;
    }

    .port-card .port-img {
        width: 100%; height: 100%;
        object-fit: cover; display: block;
        filter: saturate(1) brightness(1);
        transform: none !important;
        transition: none;
    }

    .port-img-narrow { display: none; }

    .port-overlay {
        position: static;
        inset: auto;
        background: none;
        padding: 1rem 0 0;
        display: flex; flex-direction: column;
    }

    .port-tag {
        opacity: 1; transform: none; transition: none;
        margin-bottom: 0.35rem;
    }

    .port-ttl {
        opacity: 1; transform: none; transition: none;
        font-size: clamp(1.15rem, 5vw, 1.5rem);
        margin-bottom: 0.5rem;
    }

    .port-desc {
        opacity: 1; transform: none; transition: none;
        max-width: 100%;
        color: var(--c-text-mid);
    }

    .port-arrow {
        opacity: 1; transform: none;
        transition: color 0.2s;
        margin-top: 0.75rem;
        pointer-events: auto;
    }

    .calc-step-card { padding: 1.75rem 1.25rem; }
    .calc-mobile-bar { display: flex; }

    .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .frow { grid-template-columns: 1fr; }

    .foot-cta { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .foot-cta-head { font-size: clamp(2rem, 10vw, 3rem); }
    .foot-main { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem var(--pad-x); }
    .foot-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE 480px
============================================================ */
@media (max-width: 480px) {
    .sec-heading { font-size: clamp(2rem, 10vw, 3rem); }
    .stats-grid { grid-template-columns: 1fr; }
    .calc-options { flex-direction: column; }
    .calc-opt { width: 100%; }
}

/* ============================================================
   CONTACT FORM — PALAUTE (BUG 1 korjaus)
============================================================ */
.form-feedback {
    display: none;
    padding: 0.875rem 1.1rem;
    font-size: 0.83rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.form-feedback--ok {
    display: block;
    background: rgba(184,255,41,0.08);
    border: 1px solid rgba(184,255,41,0.4);
    color: var(--c-accent);
}
.form-feedback--err {
    display: block;
    background: rgba(255,80,80,0.06);
    border: 1px solid rgba(255,80,80,0.3);
    color: #ff9999;
}
.fsubmit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================================
   PORTFOLIO — LINKKI-NUOLI (BUG 5 korjaus)
============================================================ */
a.port-arrow {
    text-decoration: none;
    cursor: pointer;
}
a.port-arrow:hover {
    color: #cbff55;
}
a.port-arrow:hover svg { transform: translateX(2px); transition: transform 0.2s var(--ease-out); }

/* ============================================================
   HERO FALLBACK — WebGL ei tuettu (BUG 2 korjaus)
============================================================ */
.hero-no-3d #hero-canvas-container { display: none; }
.hero-no-3d {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: clamp(2rem, 5vw, 4rem);
    min-height: 100vh;
    background: var(--c-bg);
}