:root {
    --page: #f7f7f3;
    --surface: #ffffff;
    --surface-warm: #f0f0e9;
    --ink: #191d1a;
    --muted: #606861;
    --quiet: #656c66;
    --line: rgba(25, 29, 26, 0.12);
    --brand: #3f3c71;
    --brand-dark: #302e59;
    --brand-soft: #e9e8f4;
    --shadow-sm: 0 8px 30px rgba(30, 36, 31, 0.07);
    --shadow-lg: 0 28px 80px rgba(30, 36, 31, 0.12);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--page);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { touch-action: manipulation; }
img, svg { display: block; max-width: 100%; }
.container { width: min(calc(100% - 48px), var(--max-width)); margin-inline: auto; }
.section { padding: clamp(76px, 10vw, 132px) 0; scroll-margin-top: 90px; }
.skip-link {
    position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px;
    border-radius: var(--radius-sm); background: var(--ink); color: white;
    transform: translateY(-160%); transition: transform 180ms ease; text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

h1, h2, h3 { color: var(--ink); line-height: 1.03; letter-spacing: -0.045em; text-wrap: balance; }
h1 { max-width: 850px; font-size: clamp(3.2rem, 7vw, 6.6rem); font-weight: 760; }
h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); font-weight: 740; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 700; letter-spacing: -0.03em; }
p { color: var(--muted); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
    color: var(--brand); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 16%, transparent); }
.section-heading { max-width: 760px; margin-bottom: clamp(36px, 6vw, 62px); }
.section-heading p { max-width: 660px; margin-top: 20px; font-size: clamp(1.05rem, 1.8vw, 1.22rem); }

.site-header {
    position: sticky; z-index: 100; top: 0; border-bottom: 1px solid transparent;
    background: rgba(247, 247, 243, 0.82); backdrop-filter: blur(18px); transition: border-color 180ms ease;
}
.site-header.scrolled { border-color: var(--line); }
.header-inner { display: flex; min-height: 80px; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { width: 188px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.site-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.site-nav a {
    display: inline-flex; min-height: 44px; align-items: center; padding: 9px 13px;
    border-radius: 9px; color: var(--muted); font-size: 0.94rem; font-weight: 650;
    text-decoration: none; transition: color 180ms ease, background 180ms ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); background: rgba(25, 29, 26, 0.055); }
.language-switcher {
    display: inline-flex; align-items: center; padding: 3px;
    border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.72);
}
.language-switcher button {
    min-width: 38px; min-height: 34px; padding: 5px 8px; border: 0; border-radius: 7px;
    background: transparent; color: var(--quiet); font: inherit; font-size: .76rem; font-weight: 800;
    letter-spacing: .04em; cursor: pointer; transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.language-switcher button:hover { color: var(--ink); }
.language-switcher button[aria-pressed="true"] {
    background: var(--surface); color: var(--brand); box-shadow: 0 1px 4px rgba(30,36,31,.12);
}
.nav-toggle {
    display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(90deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px); opacity: 0; }

.hero { position: relative; overflow: visible; padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); }
.hero-copy { position: relative; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero-copy > p { max-width: 36rem; margin-top: 28px; font-size: clamp(1.06rem, 1.6vw, 1.25rem); line-height: 1.58; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button {
    display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 19px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface);
    color: var(--ink); font-weight: 720; text-decoration: none; box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-2px); border-color: rgba(25,29,26,.24); }
.button.primary { border-color: var(--brand); background: var(--brand); color: white; box-shadow: none; }
.button.primary:hover { background: var(--brand-dark); }
.button svg { width: 17px; height: 17px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }


.hero h1 { max-width: 760px; font-size: clamp(2.75rem, 5vw, 4.75rem); letter-spacing: -0.04em; line-height: 1.02; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.orbit { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.orbit::before {
    content: ""; position: absolute; top: 62%; left: 50%; width: 94%; height: 34%;
    border: 1px solid color-mix(in srgb, var(--brand) 12%, transparent); border-radius: 50%; transform: translate(-50%, -50%);
}
.orbit-list { list-style: none; }
.orbit-item {
    position: absolute; top: 0; left: 0; display: block; color: inherit; text-decoration: none; pointer-events: auto;
    opacity: 0; will-change: transform, opacity;
}
.orbit:not(.is-ready) .orbit-item { opacity: 0 !important; }
.orbit-icon {
    display: grid; width: 48px; height: 48px; place-items: center; overflow: hidden; padding: 9px;
    border: 1px solid var(--line); border-radius: 13px; background: white;
    box-shadow: 0 0 0 5px var(--page), 0 1px 2px rgba(30,36,31,.06), 0 8px 18px rgba(30,36,31,.09);
    transition: transform 250ms cubic-bezier(.2,.7,.2,1), box-shadow 250ms ease;
}
.orbit-icon img { width: 100%; height: 100%; object-fit: contain; }
.orbit-item:hover, .orbit-item:focus-visible { z-index: 10; opacity: 1 !important; }
.orbit-item:hover .orbit-icon, .orbit-item:focus-visible .orbit-icon { transform: scale(1.1); box-shadow: 0 0 0 5px var(--page), 0 12px 26px rgba(30,36,31,.16); }
.orbit-item:focus-visible { outline: none; }
.orbit-item:focus-visible .orbit-icon { outline: 2px solid var(--brand); outline-offset: 3px; }
.orbit-tip {
    position: absolute; bottom: calc(100% + 12px); left: 50%; display: grid; gap: 1px; width: max-content; max-width: 240px; padding: 9px 13px;
    border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow-sm);
    color: var(--muted); font-size: .82rem; line-height: 1.35; text-align: center;
    opacity: 0; transform: translate(-50%, 6px); transition: opacity 200ms ease, transform 200ms ease; pointer-events: none;
}
.orbit-tip strong { color: var(--ink); font-size: .9rem; }
.orbit-item:hover .orbit-tip, .orbit-item:focus-visible .orbit-tip { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.orbit-caption {
    position: absolute; z-index: 6; bottom: -4%; left: 50%; display: inline-flex; min-height: 44px; align-items: center; gap: 8px;
    color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase;
    transform: translateX(-50%); transition: color 180ms ease;
}
.orbit-caption svg { width: 14px; height: 14px; transition: transform 180ms ease; }
.orbit-caption:hover { color: var(--brand); }
.orbit-caption:hover svg { transform: translateY(3px); }
.motion-toggle {
    position: absolute; z-index: 7; right: 0; bottom: -2%; display: grid; width: 34px; height: 34px; place-items: center;
    border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.8); color: var(--muted); cursor: pointer;
    transition: color 180ms ease, border-color 180ms ease;
}
.motion-toggle:hover { border-color: rgba(25,29,26,.24); color: var(--ink); }
.motion-toggle svg { width: 14px; height: 14px; }
.motion-toggle .icon-play, .motion-toggle[aria-pressed="true"] .icon-pause { display: none; }
.motion-toggle[aria-pressed="true"] .icon-play { display: inline; }
.hero-visual.is-paused .dot.big { animation-play-state: paused; }
.project-card { scroll-margin-top: 110px; }
.project-card:target { animation: card-focus 1800ms ease-out; }
@keyframes card-focus { 0%, 40% { box-shadow: 0 0 0 3px var(--brand), var(--shadow-sm); } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 480px; aspect-ratio: 88 / 76; }
.hero-mark { position: relative; z-index: 5; display: block; width: 86%; height: 86%; margin: 7% auto 0; overflow: visible; color: var(--brand); pointer-events: none; }
.hero-mark .dot:not(.big) { fill-opacity: .8; }
.hero-mark .dot {
    fill: currentColor; transform-box: fill-box; transform-origin: center;
    animation: dot-in 1500ms cubic-bezier(.16,.8,.24,1) both; animation-delay: calc(var(--d) * 1ms);
}
.hero-mark.is-ready .dot { animation: none; }
.hero-mark.is-ready .dot.big { animation: dot-twinkle 3.2s ease-in-out infinite; animation-delay: calc(var(--d) * 3ms); }
@keyframes dot-in { from { opacity: 0; transform: translate(var(--x), var(--y)) scale(.3); } }
@keyframes dot-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

.hero-areas { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 7vw, 84px); border-top: 1px solid var(--line); }
.hero-areas a {
    display: flex; min-height: 64px; align-items: center; gap: 12px; padding: 18px 16px 18px 0;
    color: var(--ink); font-size: .94rem; font-weight: 700; text-decoration: none; transition: color 180ms ease;
}
.hero-areas a + a { padding-left: 16px; border-left: 1px solid var(--line); }
.hero-areas a svg { width: 16px; height: 16px; margin-left: auto; color: var(--quiet); transition: transform 180ms ease, color 180ms ease; }
.hero-areas a:hover { color: var(--brand); }
.hero-areas a:hover svg { color: var(--brand); transform: translateY(3px); }

.section-intro { display: grid; grid-template-columns: .85fr 1.15fr; align-items: end; gap: 40px; margin-bottom: 54px; }
.section-intro p { max-width: 610px; justify-self: end; font-size: 1.12rem; }

#expertise { padding-top: clamp(40px, 5vw, 64px); }
.expertise-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.expertise-area { position: relative; overflow: hidden; padding: 34px 34px 38px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.expertise-area > :not(.area-art) { position: relative; }
.area-art {
    position: absolute; right: -14px; bottom: -12px; width: clamp(150px, 17vw, 220px); color: var(--brand);
    opacity: .08; pointer-events: none; transition: opacity 400ms ease, transform 600ms cubic-bezier(.2,.7,.2,1);
}
.expertise-area:hover .area-art, .expertise-area:target .area-art { opacity: .16; transform: translateY(-6px); }
.expertise-area:nth-child(odd) { border-right: 1px solid var(--line); }
.expertise-area:nth-child(even) { padding-left: 34px; padding-right: 0; }
.area-number { color: var(--quiet); font-size: .75rem; font-weight: 750; }
.expertise-area h3 { margin-top: 26px; }
.expertise-area > p { max-width: 500px; margin-top: 12px; }
.check-list { display: grid; gap: 8px; margin-top: 20px; list-style: none; }
.check-list li { position: relative; padding-left: 22px; color: var(--ink); font-size: .95rem; line-height: 1.5; }
.check-list li::before { content: ""; position: absolute; top: .55em; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.ways { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(48px, 7vw, 76px); }
.ways-title { grid-column: 1 / -1; margin-bottom: 4px; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.way { position: relative; padding: 0 26px 26px 0; }
.way-step {
    position: relative; z-index: 1; display: grid; width: 40px; height: 40px; place-items: center; margin-bottom: 20px;
    border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); border-radius: 50%; background: var(--page);
    color: var(--brand); font-size: .8rem; font-weight: 800;
}
.way:not(:last-child)::before {
    content: ""; position: absolute; top: 20px; left: 48px; right: 8px; height: 1px;
    background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--brand) 35%, transparent) 0 3px, transparent 3px 9px);
}
.way h4 { color: var(--ink); font-size: 1.15rem; font-weight: 750; letter-spacing: -0.015em; }
.way p { max-width: 340px; margin-top: 8px; font-size: .95rem; }

.problem-list { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; list-style: none; }
.problem { display: flex; grid-column: span 3; flex-direction: column; gap: 18px; }
.problem--featured { grid-column: span 6; }
.problem-bubble {
    position: relative; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px 20px 20px 6px;
    background: var(--surface); box-shadow: 0 1px 2px rgba(30,36,31,.04);
}
.problem-bubble::after {
    content: ""; position: absolute; bottom: -9px; left: 18px; width: 16px; height: 16px;
    border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0 0 4px 0;
    background: inherit; transform: skewX(-30deg) rotate(45deg) scale(.7);
}
.problem q { color: var(--ink); font-size: 1.05rem; font-weight: 600; line-height: 1.45; quotes: "“" "”"; }
.problem--featured .problem-bubble { padding: 28px 30px; border-color: var(--brand); background: var(--brand); box-shadow: var(--shadow-sm); }
.problem--featured .problem-bubble::after { border-color: var(--brand); }
.problem--featured q { color: white; font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.38; letter-spacing: -0.01em; }
.problem-answer { position: relative; display: grid; gap: 6px; padding-left: 26px; }
.problem-answer::before {
    content: ""; position: absolute; top: .35em; left: 4px; width: 9px; height: 9px; border-radius: 50%;
    background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);
}
.problem-answer p { max-width: 520px; font-size: .95rem; }
.problem-area { color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.problem-source { display: inline-flex; width: fit-content; min-height: 44px; align-items: center; gap: 8px; color: var(--ink); font-size: .9rem; font-weight: 750; text-decoration: none; }
.problem-source svg { width: 16px; height: 16px; transition: transform 180ms ease; }
.problem-source:hover svg { transform: translateX(3px); }

.projects-section { background: var(--surface-warm); }
.project-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.project-card {
    --pv-bg: var(--brand-soft); --pv-accent: var(--brand);
    display: flex; grid-column: span 3; flex-direction: column; overflow: hidden;
    border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.72);
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.project-card.span-2 { grid-column: span 2; }
.project-card.span-3 { grid-column: span 3; }
.project-group { grid-column: 1 / -1; margin-top: 18px; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.project-group:first-child { margin-top: 0; }
.project-group:has(+ .project-group-note) { margin-bottom: -10px; }
.project-group-note { grid-column: 1 / -1; color: var(--muted); font-size: .94rem; }
.project-group-note a { color: var(--ink); font-weight: 700; }
.project-card.span-4 { grid-column: span 4; }
.project-card:hover { background: white; box-shadow: var(--shadow-sm); }
.brand-viridia { --pv-bg: #eef5e6; --pv-accent: #71a93c; }
.brand-mooo { --pv-bg: #e6f2ee; --pv-accent: #6ea796; }
.brand-mooo .project-icon { background: #6ea796; }
.brand-smallbuss { --pv-bg: #fbf1d6; --pv-accent: #f5b82e; }
.brand-grouse { --pv-bg: #f4ebe1; --pv-accent: #b89a7a; }
.brand-ready { --pv-bg: #e3f6ee; --pv-accent: #39d6a0; }
.brand-audithub { --pv-bg: #e8f0ff; --pv-accent: #246bfd; }
.brand-minutes { --pv-bg: #fdeee4; --pv-accent: #ee8a4f; }
.brand-calmix { --pv-bg: #efeafd; --pv-accent: #7b4dff; }

.project-visual {
    position: relative; height: 250px; overflow: hidden; border-bottom: 1px solid var(--line);
    background-color: var(--pv-bg);
    background-image:
        radial-gradient(circle at 85% 0%, color-mix(in srgb, var(--pv-accent) 28%, transparent), transparent 60%),
        radial-gradient(color-mix(in srgb, var(--pv-accent) 22%, transparent) 1px, transparent 1.4px);
    background-size: auto, 18px 18px;
}
.project-icon {
    position: absolute; z-index: 2; top: 22px; left: 22px; display: grid; width: 56px; height: 56px; place-items: center;
    overflow: hidden; border-radius: 14px; background: white; box-shadow: 0 6px 18px rgba(30,36,31,.14);
}
.project-icon img { width: 100%; height: 100%; object-fit: contain; }
.project-icon.padded { padding: 9px; }
.project-shot {
    position: absolute; top: 48px; left: 104px; width: min(720px, calc(100% - 104px)); max-width: none; height: auto;
    border: 1px solid rgba(25,29,26,.08); border-radius: 10px 0 0 0; box-shadow: 0 18px 50px rgba(30,36,31,.18);
    transition: transform 400ms ease;
}
.project-visual--popover .project-shot { top: 40px; left: auto; right: 12%; width: 300px; border-radius: 14px; }
.project-visual--phone .project-shot { top: 40px; left: auto; right: 22%; width: 150px; border: 4px solid #1b1b1d; border-radius: 22px; }
.project-visual--icon .project-icon { inset: 0; width: 112px; height: 112px; margin: auto; border-radius: 28px; }
.project-visual--icon .project-icon.padded { padding: 14px; }
.project-visual--icon::before, .project-visual--icon::after {
    content: ""; position: absolute; top: 50%; left: 50%; border: 1px solid color-mix(in srgb, var(--pv-accent) 35%, transparent);
    border-radius: 50%; transform: translate(-50%, -50%);
}
.project-visual--icon::before { width: 190px; height: 190px; }
.project-visual--icon::after { width: 290px; height: 290px; opacity: .6; }
.project-card:hover .project-shot { transform: translateY(-8px); }
.project-body { display: flex; flex: 1; flex-direction: column; padding: clamp(24px, 3vw, 34px); }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-size: .72rem; font-weight: 800; }
.badge.live { gap: 7px; background: #e5f2e9; color: #285f3d; }
.badge.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #328252; }
.project-index { color: var(--quiet); font-size: .75rem; font-weight: 750; }
.project-card h4 { margin-top: 26px; color: var(--ink); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.03; letter-spacing: -0.045em; }
.project-body > p { max-width: 560px; margin-top: 14px; }
.project-role { margin-top: 16px; padding-left: 14px; border-left: 2px solid var(--pv-accent); font-size: .94rem; }
.project-role strong { color: var(--ink); }
.project-kind { margin-top: 8px; color: var(--quiet); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.platform-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; list-style: none; }
.platform-list li {
    display: inline-flex; min-height: 30px; align-items: center; padding: 4px 9px;
    border: 1px solid var(--line); border-radius: 999px; color: var(--muted);
    background: rgba(255,255,255,.58); font-size: .72rem; font-weight: 720;
}
.project-link { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-top: auto; padding-top: 28px; color: var(--ink); font-weight: 760; text-decoration: none; }
.project-link svg { width: 17px; height: 17px; transition: transform 180ms ease; }
.project-link:hover svg { transform: translate(3px, -3px); }

.approach-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 9vw, 116px); }
.approach-copy { position: sticky; top: 112px; align-self: start; }
.approach-copy p { max-width: 480px; margin-top: 22px; font-size: 1.08rem; }
.approach-copy p + p { margin-top: 14px; }
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step-number { padding-top: .3em; color: var(--quiet); font-size: .75rem; font-weight: 750; }
.step h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.3; }
.step p { max-width: 610px; margin-top: 7px; }

.contact-section { padding-top: 0; }
.contact-panel {
    position: relative; display: grid; overflow: hidden; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center;
    gap: clamp(32px, 5vw, 64px); padding: clamp(32px, 6vw, 72px); border-radius: var(--radius-lg); background: var(--brand); color: white;
    box-shadow: var(--shadow-sm);
}
.contact-dots { position: absolute; top: -60px; left: -70px; width: 300px; fill: white; opacity: .09; pointer-events: none; }
.contact-copy { position: relative; }
.contact-panel .eyebrow { color: #cbc9ee; }
.contact-panel h2 { max-width: 620px; color: white; font-size: clamp(2rem, 4vw, 3.3rem); }
.contact-copy > p { max-width: 560px; margin-top: 18px; color: rgba(255,255,255,.76); font-size: 1.06rem; }
.contact-steps { display: grid; gap: 18px; margin-top: 32px; list-style: none; }
.contact-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; }
.contact-step-number {
    display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
    color: white; font-size: .8rem; font-weight: 800;
}
.contact-steps strong { display: block; color: white; font-size: 1rem; }
.contact-steps span:not(.contact-step-number) { display: block; margin-top: 2px; color: rgba(255,255,255,.7); font-size: .93rem; line-height: 1.5; }
.mail-card {
    position: relative; overflow: hidden; border-radius: 18px; background: var(--surface); color: var(--ink);
    box-shadow: 0 24px 60px rgba(14,12,40,.35);
}
.mail-head { border-bottom: 1px solid var(--line); }
.mail-head div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 14px 22px; font-size: .92rem; }
.mail-head div + div { border-top: 1px solid var(--line); }
.mail-head dt { color: var(--quiet); font-weight: 650; }
.mail-head dd { overflow: hidden; color: var(--ink); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.mail-body { display: grid; gap: 10px; padding: 20px 22px 8px; color: var(--muted); font-size: .95rem; }
.mail-body p { color: var(--ink); }
.mail-body .mail-line { padding-bottom: 8px; border-bottom: 1px dashed var(--line); color: var(--quiet); }
.mail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 22px 22px; }
.mail-copy { font: inherit; font-weight: 720; cursor: pointer; }
.mail-status { color: #285f3d; font-size: .85rem; font-weight: 700; }
.site-footer { padding: 38px 0; border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand .logo img { width: 142px; }
.footer-brand p { padding-left: 18px; border-left: 1px solid var(--line); font-size: .83rem; line-height: 1.5; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: .9rem; font-weight: 650; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
    .section-intro, .approach-grid { grid-template-columns: 1fr; }
    .section-intro p { justify-self: start; }
    .problem, .problem--featured { grid-column: span 6; }
    .project-grid { grid-template-columns: repeat(2, 1fr); }
    .project-card, .project-card.span-2, .project-card.span-3, .project-card.span-4 { grid-column: span 1; }
    .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); }
    .hero-areas { grid-template-columns: repeat(2, 1fr); }
    .hero-areas a:nth-child(3) { padding-left: 0; border-left: 0; }
    .hero-areas a:nth-child(n+3) { border-top: 1px solid var(--line); }
    .project-visual--phone .project-shot { right: 14%; }
    .ways { grid-template-columns: 1fr; gap: 8px; }
    .way { display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; padding: 0 0 18px; }
    .way-step { grid-row: span 2; margin: 0; }
    .way:not(:last-child)::before { top: 48px; bottom: 0; left: 20px; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--brand) 35%, transparent) 0 3px, transparent 3px 9px); }
    .approach-copy { position: static; }
    .contact-panel { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 760px) {
    .container { width: min(calc(100% - 30px), var(--max-width)); }
    .header-inner { min-height: 70px; }
    .logo img { width: 164px; }
    .header-actions { gap: 8px; }
    .language-switcher button { min-width: 34px; padding-inline: 6px; }
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: absolute; top: calc(100% + 8px); right: 15px; left: 15px; padding: 8px;
        border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.98); box-shadow: var(--shadow-sm);
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
    }
    .site-nav.open { opacity: 1; visibility: visible; transform: none; }
    .site-nav ul { display: grid; }
    .site-nav a { width: 100%; padding: 11px 12px; }
    .hero { overflow: hidden; padding-top: 72px; }
    .hero-grid { position: relative; isolation: isolate; grid-template-columns: 1fr; }
    .hero-visual { width: min(340px, 86vw); margin: 24px auto 48px; }
    .hero-copy { position: relative; }
    .expertise-grid, .project-grid { grid-template-columns: 1fr; }
    .problem, .problem--featured { grid-column: 1 / -1; }
    .expertise-area, .expertise-area:nth-child(even) { padding: 28px 0 32px; border-right: 0; }
    .expertise-area:nth-child(odd) { border-right: 0; }
    .project-card, .project-card.span-2, .project-card.span-3, .project-card.span-4 { grid-column: 1 / -1; }
    .project-visual--popover .project-shot { right: 8%; width: 220px; }
    .project-visual { height: 220px; }
    .project-shot { left: 92px; }
    .footer-inner, .footer-brand { align-items: flex-start; flex-direction: column; }
    .footer-brand p { padding: 0; border: 0; }
}

@media (max-width: 540px) {
    h1, .hero h1 { font-size: clamp(2.5rem, 11vw, 3.6rem); }
    .hero-actions, .hero-actions .button { width: 100%; }
    .mail-actions .button { width: 100%; }
    .mail-head div { grid-template-columns: 64px 1fr; padding-inline: 18px; }
    .mail-body, .mail-actions { padding-inline: 18px; }
    .hero-areas { grid-template-columns: 1fr; }
    .hero-areas a, .hero-areas a + a { padding-left: 0; border-left: 0; }
    .hero-areas a + a { border-top: 1px solid var(--line); }
    .area-art { width: 110px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .reveal { opacity: 1; transform: none; }
    .project-card:hover .project-shot { transform: none; }
    .hero-mark .dot { animation: none; opacity: 1; }
}
