/* Yhteystiedot page styles — VERBATIM from design-source GI - Contact.html. */


        @font-face { font-family: 'NORD'; src: url('fonts/NORD-Thin.otf') format('opentype'); font-weight: 100; font-style: normal; font-display: swap; }
        @font-face { font-family: 'NORD'; src: url('fonts/NORD-Book.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
        @font-face { font-family: 'NORD'; src: url('fonts/NORD-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
        @font-face { font-family: 'NORD'; src: url('fonts/NORD-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        /* :root → tokens.css */
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Open Sans', sans-serif;
            background: var(--bg);
            color: var(--ink);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }
        h1, h2, h3 { font-family: 'NORD', sans-serif; font-weight: 400; text-transform: uppercase; }
        a { color: inherit; }
        img { max-width: 100%; display: block; }

        /* ---------------- HEADER ---------------- */
        .header {
            position: absolute;
            top: 0; left: 0; right: 0;
            z-index: 100;
            padding: 1.5rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 300ms ease;
        }
        .header::after {
            content: ""; position: absolute;
            left: 2rem; right: 2rem; bottom: 0;
            height: 1px;
            background: rgba(255, 255, 255, 0.25);
            transition: background 300ms ease;
        }
        .header.scrolled { position: fixed; background: white; }
        .header.scrolled::after { background: var(--border); }
        .header.scrolled .nav-link { color: var(--ink-soft); }
        .header.scrolled .nav-link:hover { color: var(--accent); }
        .header.scrolled .logo .logo-white { display: none; }
        .header.scrolled .logo .logo-dark { display: block; }
        .logo { display: flex; align-items: center; text-decoration: none; }
        .logo img { display: block; height: 35.2px; width: auto; }
        .logo .logo-dark { display: none; }
        .nav { display: flex; gap: 2rem; align-items: center; }
        .nav-item { position: relative; font-size: var(--text-small); line-height: 1.7; }
        .nav-trigger {
            display: inline-flex; align-items: center; gap: 0.4rem;
            background: none; border: none; padding: 0; margin: 0; cursor: pointer;
            font: inherit; color: inherit; line-height: 1.7;
            letter-spacing: inherit; text-transform: inherit;
            vertical-align: middle; height: auto;
        }
        .nav-trigger .chev {
            width: 8px; height: 8px;
            border-right: 1px solid currentColor;
            border-bottom: 1px solid currentColor;
            transform: translateY(-2px) rotate(45deg);
            transition: transform 200ms ease;
        }
        .nav-item.open .nav-trigger .chev { transform: translateY(1px) rotate(-135deg); }
        .nav-dropdown {
            position: absolute; top: 100%; left: 50%;
            transform: translateX(-50%) translateY(-4px);
            margin-top: 0.5rem; min-width: 180px;
            background: rgba(0, 0, 0, 0.45);
            backdrop-filter: blur(20px) saturate(140%);
            -webkit-backdrop-filter: blur(20px) saturate(140%);
            padding: 0.6rem 0;
            display: flex; flex-direction: column; align-items: flex-start;
            opacity: 0; visibility: hidden; pointer-events: none;
            transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
            z-index: 110;
        }
        .nav-dropdown::before {
            content: ""; position: absolute;
            top: -0.6rem; left: 0; right: 0; height: 0.6rem;
        }
        .nav-item.open .nav-dropdown {
            opacity: 1; visibility: visible; pointer-events: auto;
            transform: translateX(-50%) translateY(0);
            transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 0s;
        }
        .nav-dropdown a {
            display: inline-block; position: relative;
            margin: 0 1.5rem; padding: 0.7rem 0;
            color: rgba(255, 255, 255, 0.7);
            font-size: var(--text-meta); font-weight: 400;
            text-transform: uppercase; letter-spacing: 0.08em;
            text-decoration: none;
            transition: color 200ms ease;
            white-space: nowrap;
        }
        .nav-dropdown a.active { color: white; }
        .nav-dropdown a::after {
            content: ''; position: absolute;
            left: 0; bottom: 0.4rem; width: 100%; height: 1px;
            background: white;
            transform: scaleX(0); transform-origin: left;
            transition: transform 300ms ease;
        }
        .nav-dropdown a:hover { color: white; }
        .nav-dropdown a:hover::after, .nav-dropdown a.active::after { transform: scaleX(1); }
        .header.scrolled .nav-dropdown {
            background: white;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
            border: 1px solid var(--border);
        }
        .header.scrolled .nav-dropdown a { color: var(--ink-soft); }
        .header.scrolled .nav-dropdown a.active { color: var(--accent); }
        .header.scrolled .nav-dropdown a::after { background: var(--accent); }
        .header.scrolled .nav-dropdown a:hover { color: var(--accent); }
        .nav-link {
            font-weight: 400; font-size: var(--text-small);
            text-transform: uppercase; letter-spacing: 0.08em;
            color: white; text-decoration: none;
            transition: color 200ms ease;
            position: relative; padding-bottom: 4px;
        }
        .nav-link::after {
            content: ''; position: absolute;
            left: 0; bottom: 0; width: 100%; height: 1px;
            background: currentColor;
            transform: scaleX(0); transform-origin: left center;
            transition: transform 300ms ease;
        }
        .nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
        .lang-switcher {
            display: flex; align-items: center; gap: 0.5rem;
            margin-left: 2rem; padding-left: 2rem;
            border-left: 1px solid rgba(255, 255, 255, 0.25);
            font-size: var(--text-meta); text-transform: uppercase;
            letter-spacing: 0.15em; font-weight: 400;
        }
        .lang-switcher a {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: none;
            transition: color 200ms ease;
        }
        .lang-switcher a.active { color: white; }
        .lang-switcher .divider { color: rgba(255, 255, 255, 0.35); }
        .header.scrolled .lang-switcher { border-left-color: var(--border); }
        .header.scrolled .lang-switcher a { color: var(--ink-soft); opacity: 0.5; }
        .header.scrolled .lang-switcher a.active { color: var(--ink); opacity: 1; }
        .header.scrolled .lang-switcher .divider { color: var(--border); }

        /* HERO ENTRANCE — shared site-wide pattern */
        @keyframes heroFadeUp {
            from { opacity: 0; transform: translateY(22px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .hero-anim {
            opacity: 0;
            animation: heroFadeUp 1100ms cubic-bezier(0.22, 1, 0.36, 1) both;
            animation-delay: calc(250ms + var(--i, 0) * 140ms);
            will-change: opacity, transform;
        }
        @media (prefers-reduced-motion: reduce) {
            .hero-anim { animation: none; opacity: 1; transform: none; }
        }

        /* ---------------- PAGE BANNER ---------------- */
        .page-banner {
            position: relative;
            height: 72vh; min-height: 560px; max-height: 820px;
            overflow: hidden;
            background: #1a1a1a;
            color: white;
            display: flex; align-items: flex-end;
        }
        .page-banner-bg {
            position: absolute; inset: 0;
            background-image: url('https://www.gullsten-inkinen.com/wp-content/uploads/2025/10/AH-VALLILAN-VOIMALA-103.jpg');
            background-size: cover; background-position: center;
            opacity: 0.92;
            transform: scale(1.04);
            animation: bannerSlowZoom 18000ms ease-out forwards;
        }
        @keyframes bannerSlowZoom {
            from { transform: scale(1.08); }
            to   { transform: scale(1.0); }
        }
        .page-banner::after {
            content: ""; position: absolute; inset: 0;
            background:
                linear-gradient(45deg,
                    rgba(0,0,0,0.65) 0%,
                    rgba(0,0,0,0.25) 45%,
                    rgba(0,0,0,0) 75%),
                linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.35) 65%, rgba(0,0,0,0.7) 100%);
        }
        .page-banner-inner {
            position: relative; z-index: 2;
            width: 100%;
            max-width: 1600px;
            margin: 0 auto;
            padding: 0 2rem 4.5rem;
        }
        .page-banner-eyebrow {
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-small);
            text-transform: uppercase; letter-spacing: 0.22em;
            font-weight: 700;
            color: rgba(255,255,255,0.9);
            margin-bottom: 1.25rem;
            display: inline-flex; align-items: center; gap: 0.85rem;
        }
        .page-banner-eyebrow::before {
            content: ""; width: 36px; height: 1px;
            background: rgba(255,255,255,0.8);
        }
        .page-banner-title {
            font-family: 'NORD', sans-serif; font-weight: 400;
            font-size: var(--fluid-banner);
            line-height: 1.0; letter-spacing: 0.005em;
            text-transform: uppercase;
            text-shadow: 0 2px 14px rgba(0,0,0,0.35);
            margin: 0 0 1.25rem;
        }
        .page-banner-lede {
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-body);
            line-height: 1.6;
            color: rgba(255,255,255,0.92);
            max-width: 640px;
            text-shadow: 0 1px 6px rgba(0,0,0,0.35);
            font-weight: 400;
        }

        /* ---------------- CONTACT QUICK BAR ---------------- */
        .quickbar {
            border-bottom: 1px solid var(--border);
            background: white;
        }
        .quickbar-inner {
            max-width: 1600px;
            margin: 0 auto;
            padding: 2.5rem 2rem;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
        }
        .quickbar-item {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }
        .quickbar-label {
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-meta);
            text-transform: uppercase;
            letter-spacing: 0.16em;
            font-weight: 700;
            color: var(--muted);
            display: inline-flex; align-items: center; gap: 0.65rem;
        }
        .quickbar-value {
            font-family: 'Open Sans', sans-serif;
            font-weight: 700;
            font-size: var(--text-body);
            line-height: 1.3;
            letter-spacing: 0;
            color: var(--ink);
            text-transform: none;
            text-decoration: none;
            transition: color 200ms ease;
        }
        a.quickbar-value:hover { color: var(--accent); }
        .quickbar-item .socials { gap: 1.4rem; align-items: center; height: calc(var(--text-body) * 1.3); }
        .quickbar-item .social-link {
            width: auto;
            height: auto;
            border: none;
            background: transparent;
            color: var(--ink);
        }
        .quickbar-item .social-link:hover { background: transparent; color: var(--accent); }
        .quickbar-item .social-link svg { width: 28px; height: 28px; }
        .quickbar-value.is-email {
            font-family: 'Open Sans', sans-serif;
            font-weight: 700;
            text-transform: none;
            letter-spacing: 0;
            font-size: clamp(1.05rem, 1.3vw, 1.25rem);
            word-break: break-word;
        }
        .quickbar-sub {
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-small);
            color: var(--muted);
            font-weight: 400;
        }

        /* ---------------- INTRO + LEADERSHIP ---------------- */
        .leadership {
            padding: 7rem 2rem 3rem;
            max-width: 1400px;
            margin: 0 auto;
        }
        .leadership-header {
            display: grid;
            grid-template-columns: 220px 1fr;
            gap: 5rem;
            margin-bottom: 4rem;
            align-items: start;
        }
        .leadership-eyebrow {
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-small);
            text-transform: uppercase;
            letter-spacing: 0.2em;
            font-weight: 700;
            color: var(--accent);
            padding-top: 0.5rem;
        }
        .leadership-eyebrow::before {
            content: "";
            display: block;
            width: 32px; height: 1px;
            background: var(--accent);
            margin-bottom: 1rem;
        }
        .leadership-headline {
            font-family: 'NORD', sans-serif;
            font-weight: 400;
            text-transform: uppercase;
            font-size: var(--fluid-h3);
            line-height: 1.25;
            letter-spacing: 0.01em;
            margin: 0 0 1.5rem;
            color: var(--ink);
            text-wrap: balance;
            max-width: 28ch;
        }
        .leadership-lede {
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-body);
            line-height: 1.6;
            color: var(--ink-soft);
            max-width: 64ch;
        }

        .leaders-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 3rem;
        }
        .leader-card {
            display: flex;
            flex-direction: column;
            text-decoration: none;
            color: inherit;
            background: var(--bg-subtle);
            border: 1px solid var(--border);
            transition: border-color 250ms ease, transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
        }
        .leader-card:hover {
            border-color: var(--ink);
            transform: translateY(-4px);
        }
        .leader-portrait {
            position: relative;
            aspect-ratio: 4 / 3;
            overflow: hidden;
            background: #ececec;
        }
        .leader-portrait img {
            position: absolute; inset: 0;
            width: 100%; height: 100%;
            object-fit: cover;
            transition: opacity 600ms ease, transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
            opacity: 0;
        }
        .leader-portrait img.loaded { opacity: 1; }
        .leader-portrait img.alt { opacity: 0; }
        .leader-card:hover .leader-portrait img.main { opacity: 0; }
        .leader-card:hover .leader-portrait img.alt.loaded { opacity: 1; }
        .leader-card:hover .leader-portrait img { transform: scale(1.03); }
        .leader-info {
            padding: 2rem 2.25rem 2.25rem;
            display: flex;
            flex-direction: column;
            gap: 0.85rem;
        }
        .leader-name {
            font-family: 'NORD', sans-serif;
            font-weight: 400;
            text-transform: uppercase;
            font-size: var(--fluid-h3);
            line-height: 1.15;
            letter-spacing: 0.01em;
            color: var(--ink);
            margin: 0;
        }
        .leader-role {
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-meta);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            color: var(--muted);
            margin: 0 0 0.5rem;
            line-height: 1.5;
        }
        .leader-contact {
            border-top: 1px solid var(--border);
            padding-top: 1.25rem;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-body);
            line-height: 1.5;
        }
        .leader-contact a {
            color: var(--ink-soft);
            text-decoration: none;
            transition: color 200ms ease;
            display: inline-flex;
            align-items: center;
            gap: 0.65rem;
        }
        .leader-contact a:hover { color: var(--accent); }
        .leader-contact a svg {
            width: 14px; height: 14px;
            stroke: currentColor;
            stroke-width: 1.5;
            fill: none;
            flex-shrink: 0;
            opacity: 0.7;
        }

        /* ---------------- TEAM GRID ---------------- */
        .team {
            padding: 4rem 2rem 7rem;
            max-width: 1600px;
            margin: 0 auto;
        }
        .section-divider {
            display: flex;
            align-items: end;
            justify-content: space-between;
            gap: 2rem;
            margin-bottom: 3rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border);
            flex-wrap: wrap;
        }
        .section-divider h2 {
            font-family: 'NORD', sans-serif;
            font-weight: 400;
            font-size: var(--fluid-h3);
            text-transform: uppercase;
            letter-spacing: 0.01em;
            margin: 0;
        }
        .section-divider .section-divider-count {
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-meta);
            text-transform: uppercase;
            letter-spacing: 0.16em;
            font-weight: 700;
            color: var(--muted);
        }
        .section-divider .section-divider-count strong {
            color: var(--ink);
            font-weight: 700;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
        }
        .team-card {
            position: relative;
            aspect-ratio: 3 / 4;
            overflow: hidden;
            background: #1a1a1a;
            color: white;
            cursor: default;
        }
        .team-card-portrait {
            position: absolute; inset: 0;
            overflow: hidden;
        }
        .team-card-portrait img {
            position: absolute; inset: 0;
            width: 100%; height: 100%;
            object-fit: cover;
            transition: opacity 500ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
            opacity: 0;
        }
        .team-card-portrait img.loaded { opacity: 1; }
        .team-card-portrait img.alt { opacity: 0; }
        .team-card:hover .team-card-portrait img.main { opacity: 0; }
        .team-card:hover .team-card-portrait img.alt.loaded { opacity: 1; }
        .team-card:hover .team-card-portrait img { transform: scale(1.04); }
        .team-card::before {
            content: "";
            position: absolute; inset: 0;
            background: linear-gradient(180deg,
                rgba(0,0,0,0) 35%,
                rgba(0,0,0,0.4) 70%,
                rgba(0,0,0,0.85) 100%);
            z-index: 1;
            pointer-events: none;
            transition: background 600ms cubic-bezier(0.22, 1, 0.36, 1);
        }
        .team-card:hover::before {
            background: linear-gradient(180deg,
                rgba(0,0,0,0) 10%,
                rgba(0,0,0,0.5) 50%,
                rgba(0,0,0,0.88) 100%);
        }
        .team-card-body {
            position: absolute;
            left: 0; right: 0; bottom: 0;
            z-index: 2;
            padding: 1.5rem;
            color: white;
            display: grid;
            grid-template-rows: auto auto 0fr;
            row-gap: 0.4rem;
            transition: grid-template-rows 700ms cubic-bezier(0.22, 1, 0.36, 1);
        }
        .team-card:hover .team-card-body,
        .team-card:focus-within .team-card-body {
            grid-template-rows: auto auto 1fr;
        }
        .team-card-name {
            font-family: 'NORD', sans-serif;
            font-weight: 400;
            text-transform: uppercase;
            font-size: var(--text-lede);
            line-height: 1.15;
            letter-spacing: 0.02em;
            margin: 0;
            color: white;
            text-shadow: 0 1px 3px rgba(0,0,0,0.5);
            text-wrap: balance;
        }
        .team-card-role {
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-small);
            font-weight: 600;
            text-transform: none;
            letter-spacing: 0.01em;
            color: rgba(255,255,255,0.85);
            margin: 0;
            line-height: 1.45;
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        }
        .team-card-contact {
            overflow: hidden;
            min-height: 0;
            opacity: 0;
            transform: translateY(6px);
            transition: opacity 350ms ease,
                        transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
                        padding-top 700ms cubic-bezier(0.22, 1, 0.36, 1);
            padding-top: 0;
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-small);
            line-height: 1.5;
        }
        .team-card:hover .team-card-contact,
        .team-card:focus-within .team-card-contact {
            opacity: 1;
            transform: translateY(0);
            padding-top: 0.85rem;
        }
        .team-card-contact::before {
            content: "";
            display: block;
            width: 24px; height: 1px;
            background: rgba(255,255,255,0.4);
            margin-bottom: 0.4rem;
        }
        .team-card-contact a {
            color: rgba(255,255,255,0.95);
            text-decoration: none;
            transition: color 200ms ease;
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        }
        .team-card-contact a:hover { color: var(--accent); }

        /* ---------------- CONTACT BAND ---------------- */
        .contact-band {
            position: relative;
            background: var(--bg);
            color: var(--ink);
            padding: 7rem 2rem;
            border-top: 1px solid var(--border);
        }
        .contact-band-inner {
            position: relative;
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5.5rem;
            align-items: start;
        }
        .contact-band-eyebrow {
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-small);
            text-transform: uppercase;
            letter-spacing: 0.18em;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 1.5rem;
        }
        .contact-band-side h2 {
            font-family: 'NORD', sans-serif;
            font-weight: 400;
            font-size: var(--fluid-title);
            line-height: 1.1;
            letter-spacing: 0.01em;
            text-transform: uppercase;
            margin: 0 0 1.5rem;
            text-wrap: balance;
            color: var(--ink);
            max-width: 16ch;
        }
        .contact-band-side .lede {
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-body);
            line-height: 1.7;
            color: var(--ink-soft);
            margin-bottom: 3.25rem;
            max-width: 42ch;
        }
        .contact-band-details {
            display: flex;
            flex-direction: column;
            gap: 2.5rem;
        }
        .detail-group .detail-label {
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-small);
            text-transform: uppercase;
            letter-spacing: 0.16em;
            font-weight: 700;
            color: var(--muted);
            margin-bottom: 1.25rem;
        }
        .detail-group-rows {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        .detail-group-row { display: flex; flex-direction: column; gap: 0.25rem; }
        .detail-name {
            font-family: 'Open Sans', sans-serif;
            font-weight: 700;
            font-size: var(--text-body);
            letter-spacing: 0;
            line-height: 1.3;
            color: var(--ink);
        }
        .detail-meta {
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-small);
            color: var(--muted);
        }
        .detail-group-rows a {
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-body);
            color: var(--ink-soft);
            text-decoration: none;
            transition: color 200ms ease;
            width: fit-content;
        }
        .detail-group-rows a:hover { color: var(--accent); }

        /* ---------------- FORM ---------------- */
        .contact-form {
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 1.75rem;
            background: var(--bg-subtle);
            border: 1px solid var(--border);
            padding: 3rem;
        }
        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.75rem;
        }
        .form-field {
            display: flex;
            flex-direction: column;
            position: relative;
        }
        .form-field--full { grid-column: 1 / -1; }
        .form-field label {
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-small);
            font-weight: 700;
            text-transform: none;
            letter-spacing: 0;
            color: var(--ink);
            margin-bottom: 0.6rem;
        }
        .form-field label .req { color: var(--accent); margin-left: 0.15rem; }
        .form-field input,
        .form-field textarea {
            background: transparent;
            border: none;
            border-bottom: 1px solid var(--border);
            padding: 0.7rem 0;
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-body);
            color: var(--ink);
            outline: none;
            transition: border-color 200ms ease;
            border-radius: 0;
            -webkit-appearance: none;
        }
        .form-field input:focus,
        .form-field textarea:focus {
            border-bottom-color: var(--accent);
        }
        .form-field input::placeholder,
        .form-field textarea::placeholder {
            color: #AAAAAA;
            font-family: 'Open Sans', sans-serif;
        }
        .form-field textarea {
            min-height: 130px;
            resize: vertical;
            line-height: 1.5;
        }
        .form-consent {
            display: flex;
            align-items: flex-start;
            gap: 0.85rem;
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-meta);
            line-height: 1.55;
            color: var(--muted);
            cursor: pointer;
            margin: 0.25rem 0;
        }
        .form-consent input { margin-top: 0.2rem; accent-color: var(--accent); }
        .form-consent a {
            color: var(--ink);
            text-decoration: underline;
            text-underline-offset: 3px;
            text-decoration-thickness: 1px;
        }
        .form-submit {
            align-self: flex-start;
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 2.5rem;
            background: var(--accent);
            color: white;
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-meta);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            isolation: isolate;
            transition: color 250ms ease;
            margin-top: 1rem;
        }
        .form-submit::before {
            content: "";
            position: absolute; inset: 0;
            background: var(--ink);
            transform: translateX(-101%);
            transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
            z-index: -1;
        }
        .form-submit:hover { color: white; }
        .form-submit:hover::before { transform: translateX(0); }
        .form-submit .arrow { transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1); }
        .form-submit:hover .arrow { transform: translateX(4px); }

        .form-thanks {
            display: none;
            padding: 1.5rem 0 0;
            color: var(--ink-soft);
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-body);
            line-height: 1.6;
        }
        .form-thanks.show { display: block; }
        .form-thanks strong {
            display: block;
            font-family: 'NORD', sans-serif;
            text-transform: uppercase;
            font-size: var(--text-body);
            margin-bottom: 0.4rem;
            color: var(--ink);
        }

        /* ---------------- SOCIAL + ADDRESS BAND ---------------- */
        .info-band {
            padding: 6rem 2rem;
            background: var(--bg-subtle);
            border-top: 1px solid var(--border);
        }
        .info-band-inner {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }
        .info-band-text h3 {
            font-family: 'NORD', sans-serif;
            font-weight: 400;
            font-size: var(--fluid-h2);
            text-transform: uppercase;
            letter-spacing: 0.01em;
            margin: 0 0 1rem;
        }
        .info-band-text p {
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-body);
            line-height: 1.7;
            color: var(--ink-soft);
            max-width: 52ch;
            margin-bottom: 2rem;
        }
        .socials {
            display: flex;
            gap: 0.85rem;
        }
        .social-link {
            width: 44px; height: 44px;
            border: 1px solid var(--border);
            background: white;
            color: var(--ink);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 200ms ease;
        }
        .social-link:hover {
            background: var(--ink);
            color: white;
            border-color: var(--ink);
        }
        .social-link svg { width: 18px; height: 18px; fill: currentColor; }

        .map-block {
            position: relative;
            aspect-ratio: 4 / 3;
            overflow: hidden;
            background: #e0e0e0;
        }
        .map-block iframe {
            position: absolute; inset: 0;
            width: 100%; height: 100%;
            border: none;
            filter: grayscale(1) contrast(0.95);
        }

        /* ---------------- FOOTER ---------------- */
        .footer {
            background: white;
            padding: 3rem 2rem 2rem;
            border-top: 1px solid var(--border);
        }
        .footer-content { margin: 0 auto; display: flex; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
        .footer-section h4 {
            text-transform: uppercase;
            font-family: 'Open Sans', sans-serif;
            font-size: var(--text-lede); letter-spacing: 0;
            margin-bottom: 1.5rem;
            font-weight: 700;
        }
        .footer-section p, .footer-section a {
            font-size: var(--text-small); line-height: 1.8;
            color: var(--ink-soft); text-decoration: none;
        }
        .footer-section a:hover { color: var(--accent); }
        .footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
        .footer-logo { display: block; height: 32px; width: auto; margin-bottom: 1.25rem; }
        .footer-bottom {
            text-align: center; padding-top: 2rem;
            border-top: 1px solid var(--border);
            font-size: var(--text-meta); color: var(--ink-soft);
        }

        /* ---------------- RESPONSIVE ---------------- */
        @media (max-width: 1180px) {
            .team-grid { grid-template-columns: repeat(3, 1fr); }
        }
        @media (max-width: 1024px) {
            .quickbar-inner { grid-template-columns: 1fr; gap: 1.75rem; padding: 2rem 1.5rem; }
            .leadership { padding: 5rem 1.5rem 2rem; }
            .leadership-header { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3.5rem; }
            .leaders-grid { gap: 2rem; grid-template-columns: 1fr; }
            .team { padding: 3rem 1.5rem 5rem; }
            .team-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
            .contact-band { padding: 5rem 1.5rem; }
            .contact-band-inner { grid-template-columns: 1fr; gap: 3.5rem; }
            .contact-form { padding: 0; }
            .form-grid { grid-template-columns: 1fr; }
            .info-band { padding: 4rem 1.5rem; }
            .info-band-inner { grid-template-columns: 1fr; gap: 2.5rem; }
            .page-banner-inner { padding: 0 1.5rem 2.5rem; }
        }
        @media (max-width: 720px) {
            .header { padding: 1rem 1.25rem; }
            .header::after { left: 1.25rem; right: 1.25rem; }
            .nav, .lang-switcher { display: none; }
            .page-banner { height: 55vh; min-height: 400px; }
            .leader-card { transform: none !important; }
            .leader-info { padding: 1.5rem 1.75rem 1.75rem; }
            .team-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.25rem; }
            .form-grid { grid-template-columns: 1fr; }
            .footer-content { grid-template-columns: 1fr; gap: 2rem; }
        }
        /* Button emphasis + arrow size (brief) */
        .cta-button, .form-submit, .load-more, .hero-btn, .btn-square { font-weight: 700; }
        .arrow, .btn-square-arrow { font-size: 1.35em; line-height: 1; display: inline-block; vertical-align: middle; }
    

/* ===== next style block ===== */

    /* Header fit fix: estä vaakavieritys kapeilla desktop-leveyksillä (ei hampurilaisvalikkoa tällä sivulla) */
    @media (max-width: 1000px) { .lang-switcher { display: none; } }
    @media (max-width: 880px) { .nav { gap: 1rem; } .nav-link, .nav-item { font-size: var(--text-meta); } }
    

/* ===== next style block ===== */

    /* === Typografian yhtenäistys (palaverin kohta 6) ===
       Yksi tyyli per rooli koko sivustolle. Sijoitettu bodyn loppuun jotta
       voittaa aiemmat hajanaiset säännöt samalla spesifisyydellä. */
    /* Hero-eyebrow: identtinen koko, paino ja viiva kaikilla sivuilla */
    .page-banner-eyebrow { font-weight: 400; color: rgba(255,255,255,0.95); margin-bottom: 1rem; }
    .page-banner-eyebrow::before { width: 28px; height: 1px; background: rgba(255,255,255,0.7); }
    /* Tuntomerkit-osio: ei viivaa ylimmän rivin yläpuolelle */
    .feature-row:nth-child(1), .feature-row:nth-child(2) { border-top: none; padding-top: 0; }
    @media (max-width: 760px) { .feature-row:nth-child(2) { border-top: 1px solid var(--border); padding-top: 1.75rem; } }
    /* Suunnitteluprosessi: ei yläviivaa askeleissa desktopilla */
    @media (min-width: 901px) { .service-process .process-step { border-top: none; padding-top: 0; } }
    /* Sisältökorttien otsikot: yhtenäinen uppercase Open Sans (sama kaikkialla) */
    .value-card h3, .feature-row h3, .process-step h3 {
        font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: var(--text-lede);
        text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.3;
    }
    /* Referenssi-/projektikorttien otsikot yhtenäiseksi */
    .related-card-title {
        font-family: 'NORD', sans-serif; font-weight: 400; font-size: var(--text-h3);
        text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1;
    }
    /* Painikkeet: yksi paino */
    .cta-button { font-weight: 700; }
    /* Navigaatio: yksi koko/paino kaikilla sivuilla */
    .nav-link, .nav-item { font-size: var(--text-small); font-weight: 400; }
    

/* ===== CF7 adaptation (WP) ===== */
/* The mirrored CF7 form must lay out exactly like the design form: the
   control-wrap span CF7 inserts becomes layout-transparent, its chrome
   stays hidden while the design's own .form-thanks handles confirmation. */
.contact-form .wpcf7-form-control-wrap { display: contents; }
.wpcf7 form .wpcf7-response-output { display: none; }
.contact-form .wpcf7-not-valid-tip { font-family: 'Open Sans', sans-serif; font-size: var(--text-meta); color: var(--accent); margin-top: 0.35rem; }

