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

:root {
    --ink: #14181d;
    --ink-2: #1f2630;
    --text: #3a434e;
    --muted: #6c7682;
    --line: #e3e7ea;
    --line-2: #eef1f3;
    --surface: #ffffff;
    --surface-2: #f4f6f7;
    --surface-3: #eef1f2;
    --accent: #1574c9;
    --accent-2: #0f5ea3;
    --accent-bright: #3ba3f6;
    --accent-tint: #e9f3fd;
    --container: 1180px;
    --sec-y: 92px;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(20,24,29,.05), 0 3px 10px rgba(20,24,29,.05);
    --shadow-md: 0 10px 30px rgba(20,24,29,.10);
    --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.62;
    color: var(--text);
    background: var(--surface);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--ink);
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.018em;
    font-weight: 600;
}

p { margin: 0; }

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: 0 0 8px 0;
    font-size: .9rem;
}
.skip-link:focus { left: 0; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .98rem;
    line-height: 1;
    padding: .92rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
    white-space: nowrap;
}
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(21,116,201,.24); }
.btn--accent:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(21,116,201,.30); }
.btn--ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(2px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); }
.btn--sm { padding: .68rem 1.1rem; font-size: .92rem; }
.btn--block { width: 100%; }

.topbar {
    background: var(--ink);
    color: #c4ccd4;
    font-size: .82rem;
}
.topbar__row {
    display: flex;
    align-items: center;
    gap: .55rem;
    height: 40px;
}
.topbar__item { color: #aeb7c0; }
.topbar__sep { color: #4a5560; }
.topbar__spring { flex: 1; }
.topbar__link {
    color: #dfe5ea;
    text-decoration: none;
    font-family: var(--font-mono);
    font-weight: 500;
    letter-spacing: -.01em;
    transition: color .15s ease;
    white-space: nowrap;
}
.topbar__link:hover { color: #fff; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.86);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 4px 20px rgba(20,24,29,.06);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.brand__logo { height: 38px; width: auto; display: block; }
.brand__logo--lg { height: 46px; }

.topnav { display: flex; align-items: center; gap: 1.9rem; }
.topnav__link {
    position: relative;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: .98rem;
    color: var(--ink-2);
    text-decoration: none;
    padding: .3rem 0;
    transition: color .15s ease;
}
.topnav__link::after {
    content: "";
    position: absolute;
    left: 0; bottom: -3px;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}
.topnav__link:hover { color: var(--accent); }
.topnav__link:hover::after, .topnav__link.is-active::after { transform: scaleX(1); }
.topnav__link.is-active { color: var(--accent); }
.nav__cta { margin-left: .4rem; }

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 9px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 9px;
    cursor: pointer;
}
.burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mmenu {
    position: fixed;
    inset: 0;
    z-index: 130;
    background: var(--ink);
    color: #fff;
    padding: 22px 24px 32px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    visibility: hidden;
}
.mmenu.is-open { transform: translateX(0); visibility: visible; }
.mmenu__head { display: flex; align-items: center; justify-content: space-between; }
.mclose {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
}
.mclose svg { stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.mmenu__nav { display: flex; flex-direction: column; margin-top: 38px; }
.mmenu__nav a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.7rem;
    color: #fff;
    text-decoration: none;
    padding: .7rem 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.mmenu__nav a:hover { color: var(--accent-bright); }
.mmenu__foot { margin-top: auto; display: flex; flex-direction: column; gap: .9rem; padding-top: 28px; }
.mmenu__contact { font-family: var(--font-mono); font-size: .92rem; color: #cdd4db; text-decoration: none; }
.mmenu__contact:hover { color: #fff; }
body.nav-open { overflow: hidden; }

.hero {
    position: relative;
    min-height: clamp(540px, 82vh, 760px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
}
.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,19,24,.30) 0%, rgba(15,19,24,.12) 38%, rgba(15,19,24,.62) 82%, rgba(13,16,20,.86) 100%);
}
.hero__inner { position: relative; padding-block: 0 64px; }
.hero__title {
    color: #fff;
    font-weight: 700;
    font-size: clamp(2.5rem, 6.4vw, 4.4rem);
    letter-spacing: -0.025em;
    text-shadow: 0 2px 30px rgba(0,0,0,.35);
    max-width: 16ch;
}
.hero__sub {
    color: #e7ebef;
    font-size: clamp(1.02rem, 1.7vw, 1.2rem);
    line-height: 1.55;
    max-width: 60ch;
    margin-top: 1.2rem;
    text-shadow: 0 1px 14px rgba(0,0,0,.4);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.cred {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding-block: 44px;
}
.cred__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.cred__item {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: 4px 4px 4px 0;
}
.cred__icon {
    flex: none;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--accent-tint);
    color: var(--accent);
}
.cred__icon svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cred__text { display: flex; flex-direction: column; gap: 2px; padding-top: 1px; }
.cred__text strong { font-family: var(--font-display); font-weight: 600; font-size: .98rem; color: var(--ink); letter-spacing: -.01em; }
.cred__text span { font-size: .86rem; color: var(--muted); line-height: 1.35; }

.clients {
    display: flex;
    align-items: center;
    gap: 1.6rem 2rem;
    margin-top: 44px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}
.clients__label {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}
.clients__logos { display: flex; align-items: center; gap: 1.6rem 2.2rem; flex-wrap: wrap; }
.clients__logos img {
    height: 40px;
    width: auto;
    opacity: .92;
}
.clients__more {
    font-size: .9rem;
    color: var(--muted);
    line-height: 1.5;
}

.branscher {
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}
.branscher li {
    font-family: var(--font-mono);
    font-size: .78rem;
    letter-spacing: .01em;
    color: var(--ink-2);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .5rem 1rem;
}

section.projects { background: var(--surface); padding-block: var(--sec-y); }
.proj-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.proj {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px 22px;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.proj:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--shadow-md); }
.proj--wide { grid-column: span 2; }
.proj h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.proj p { font-size: .95rem; color: var(--text); line-height: 1.5; }
.proj__list {
    margin: .15rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .45rem;
}
.proj__list li {
    position: relative;
    padding-left: 1rem;
    font-size: .94rem;
    color: var(--text);
    line-height: 1.45;
}
.proj__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}
.proj__tags { margin-top: auto; padding-top: .5rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.proj__tags span {
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .02em;
    color: var(--ink-2);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: .22rem .5rem;
}

section.services { background: var(--surface-2); padding-block: var(--sec-y); }

.sec-head { max-width: 64ch; margin-bottom: 48px; }
.sec-head h2 {
    font-size: clamp(2rem, 3.6vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -.022em;
}
.sec-head p { margin-top: 1rem; font-size: 1.12rem; color: var(--muted); max-width: 52ch; }

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.svc {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d6dbdf; }
.svc__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--surface-3); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc:hover .svc__media img { transform: scale(1.04); }
.svc__body { display: flex; flex-direction: column; gap: .8rem; padding: 24px 24px 26px; flex: 1; }
.svc__body h3 { font-size: 1.24rem; font-weight: 600; letter-spacing: -.015em; }
.svc__body > p { color: var(--text); font-size: .98rem; line-height: 1.55; }

.checks { list-style: none; margin: .1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.checks li {
    position: relative;
    padding-left: 1.95rem;
    font-size: .94rem;
    color: var(--text);
    line-height: 1.4;
}
.checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 1.3rem;
    height: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--accent-tint);
    color: var(--accent);
    font-size: .76rem;
    font-weight: 700;
}
.svc__link {
    margin-top: auto;
    padding-top: .4rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .94rem;
    color: var(--accent);
    text-decoration: none;
    width: fit-content;
}
.svc__link::after { content: "→"; transition: transform .2s ease; }
.svc__link:hover::after { transform: translateX(4px); }

.svc--cta { background: var(--ink); border-color: var(--ink); }
.svc--cta .svc__media { flex: 1 1 auto; aspect-ratio: auto; min-height: 250px; }
.svc--cta .svc__media img { object-position: 50% 26%; }
.svc--cta .svc__body { flex: 0 0 auto; gap: .55rem; padding-top: 22px; padding-bottom: 24px; }
.svc--cta h3 { color: #fff; }
.svc--cta p { color: #b8c0c8; font-size: .95rem; }
.svc--cta .btn { margin-top: .7rem; align-self: flex-start; }

.about { background: var(--surface-2); padding-block: var(--sec-y); }
.about__grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 56px;
    align-items: center;
}
.about__media { position: relative; }
.about__media > img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}
.about__facts {
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.about__facts > div { padding: 16px 18px; border-top: 1px solid var(--line-2); }
.about__facts > div:nth-child(odd) { border-right: 1px solid var(--line-2); }
.about__facts > div:nth-child(-n+2) { border-top: none; }
.about__facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: none; }
.about__facts dt {
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.about__facts dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 600; font-size: .98rem; color: var(--ink); }

.about__text h2 { font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -.022em; }
.about__lead { font-size: 1.22rem; color: var(--ink-2); font-weight: 500; margin-top: 1.1rem; line-height: 1.45; }
.about__text > p { margin-top: 1rem; color: var(--text); }
.about__honor {
    display: flex;
    align-items: center;
    gap: .95rem;
    margin-top: 1.5rem;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.about__honor-ico {
    flex: none;
    width: 46px; height: 46px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 11px;
    background: var(--accent-tint);
    color: var(--accent);
}
.about__honor-ico svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.about__honor > span { display: flex; flex-direction: column; gap: 2px; }
.about__honor strong { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.about__honor > span > span { font-size: .9rem; color: var(--muted); line-height: 1.4; }

.about__metaphor {
    margin-top: 1.5rem;
    padding-left: 1.2rem;
    border-left: 2px solid var(--accent);
    color: var(--ink-2);
    font-style: italic;
    font-size: 1.04rem;
}

.about__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.4rem;
}

.quote { background: var(--ink); color: #fff; padding-block: calc(var(--sec-y) + 4px); }
.quote__inner { max-width: 880px; text-align: center; }
.quote__mark {
    display: block;
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: .5;
    color: var(--accent);
    height: 2.2rem;
}
.quote__text {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.5rem, 3.2vw, 2.3rem);
    line-height: 1.32;
    letter-spacing: -.02em;
    color: #fff;
}
.quote__by { display: inline-flex; align-items: center; gap: 1rem; margin-top: 2.2rem; }
.quote__by img { height: 40px; width: auto; border-radius: 6px; background: #fff; padding: 5px 8px; }
.quote__cite { display: flex; flex-direction: column; text-align: left; }
.quote__cite strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: #fff; }
.quote__cite span { font-size: .88rem; color: #a7b0b9; }

.contact { background: var(--surface); padding-block: var(--sec-y); }
.contact__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: start; }
.contact__info h2 { font-size: clamp(2rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -.022em; }
.contact__lead { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; max-width: 42ch; }

.contact__person {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-top: 1.8rem;
    padding: 12px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    width: fit-content;
}
.contact__person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.contact__person strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1rem; }
.contact__person span span, .contact__person > span > span { font-size: .88rem; color: var(--muted); }

.contact__list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact__list li { display: flex; align-items: center; gap: .9rem; }
.contact__ico {
    flex: none;
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--accent);
}
.contact__ico svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact__list strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.contact__list strong a { text-decoration: none; }
.contact__list strong a:hover { color: var(--accent); }
.contact__list li > span:last-child > span { font-size: .86rem; color: var(--muted); }

.contact__map {
    margin-top: 1.8rem;
    width: 100%;
    height: 220px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.contact__formwrap {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 32px;
}
.form { display: grid; gap: 1.1rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form__row { display: flex; flex-direction: column; gap: .4rem; }
.form label { font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: var(--ink-2); }
.form input, .form select, .form textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .8rem .9rem;
    width: 100%;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input::placeholder, .form textarea::placeholder { color: #98a2ac; }
.form input:focus, .form select:focus, .form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(21,116,201,.16);
}
.form .btn { margin-top: .3rem; }

.site-footer { background: var(--ink); color: #aeb7c0; padding-block: 56px 28px; }
.foot__grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.foot__tag { margin-top: 1.1rem; font-size: .96rem; color: #98a2ac; max-width: 38ch; }
.foot__h {
    display: block;
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #6f7984;
    margin-bottom: 1rem;
}
.foot__nav, .foot__contact { display: flex; flex-direction: column; gap: .65rem; }
.foot__nav a, .foot__contact a, .foot__contact span {
    color: #c3cbd2;
    text-decoration: none;
    font-size: .96rem;
    transition: color .15s ease;
}
.foot__nav a:hover, .foot__contact a:hover { color: #fff; }
.foot__bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 22px;
    font-size: .85rem;
    color: #7e8893;
}

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .svc-grid .svc:nth-child(3n+2) { transition-delay: .07s; }
.js .svc-grid .svc:nth-child(3n) { transition-delay: .14s; }

@media (max-width: 980px) {
    .topnav { display: none; }
    .burger { display: inline-flex; }
    .nav { height: 66px; }
    .about__grid { grid-template-columns: 1fr; gap: 36px; }
    .about__media { max-width: 460px; }
    .proj-grid { grid-template-columns: repeat(2, 1fr); }
    .proj--wide { grid-column: 1 / -1; }
    .contact__grid { grid-template-columns: 1fr; gap: 32px; }
    .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    :root { --sec-y: 62px; }
    .topbar__item, .topbar__sep, .topbar__spring { display: none; }
    .topbar__sep--hide, .topbar__link--hide { display: none; }
    .topbar__row { justify-content: center; gap: 0; }
    .svc-grid { grid-template-columns: 1fr; gap: 20px; }
    .proj-grid { grid-template-columns: 1fr; }
    .proj--wide { grid-column: auto; }
    .cred__grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
    .clients { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .hero__inner { padding-bottom: 48px; }
    .hero { min-height: clamp(500px, 88vh, 680px); }
    .form__grid { grid-template-columns: 1fr; }
    .foot__grid { grid-template-columns: 1fr; gap: 28px; }
    .foot__bottom { flex-direction: column; gap: .4rem; }
    .quote__by { flex-direction: column; gap: .7rem; }
    .quote__cite { text-align: center; align-items: center; }
}

@media (max-width: 420px) {
    .cred__grid { grid-template-columns: 1fr; }
    .brand__name { font-size: 1.2rem; }
    .contact__formwrap { padding: 22px; }
}

body { overflow-x: clip; }
#contact-form { max-width: 100%; overflow: hidden; }
#contact-form .g-recaptcha { transform-origin: left center; max-width: 100%; }
@media (max-width: 640px) {
    section, section > div, section > div > div, section > div > div > div { max-width: 100%; box-sizing: border-box; }
    .contact__grid > div, .form__grid > div { min-width: 0; max-width: 100%; }
}
@media (max-width: 400px) { #contact-form .g-recaptcha { transform: scale(0.85); } }
@media (max-width: 340px) { #contact-form .g-recaptcha { transform: scale(0.75); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .svc, .svc__media img, .btn, .topnav__link::after { transition: none; }
}
