:root {
    --ink: #0d1215;
    --muted: #69747b;
    --line: rgba(13, 18, 21, .12);
    --paper: #f5f6f4;
    --white: #fff;
    --dark: #081015;
    --accent: #64d7f3;
    --radius: 22px;
    --shell: min(1320px, calc(100vw - 48px));
    --font-heading: var(--gh-font-heading, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    --font-body: var(--gh-font-body, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body.is-map-page {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.shell--narrow {
    max-width: 900px;
}

.site-main {
    min-height: 100vh;
}

body .portfolio-nav {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    left: 50%;
    z-index: 2147483000;
    display: flex;
    width: auto;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    pointer-events: auto;
    display: flex !important;
}

.portfolio-nav__brand,
.portfolio-nav__links {
    pointer-events: auto;
}

.portfolio-nav__brand {
    display: inline-flex;
    max-width: 220px;
    height: 48px;
    align-items: center;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    background: rgba(7, 13, 17, .9);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
    color: #fff;
    font-size: .78rem;
    font-weight: 720;
    letter-spacing: .04em;
    text-decoration: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.portfolio-nav__brand img {
    width: auto;
    max-width: 150px;
    height: 22px;
    object-fit: contain;
}

.portfolio-nav__links {
    position: static;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    background: rgba(7, 13, 17, .92);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.portfolio-nav__links a {
    display: grid;
    min-width: 58px;
    height: 36px;
    place-items: center;
    padding: 0 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .75);
    font-size: .74rem;
    font-weight: 650;
    text-decoration: none;
    transition: color .18s ease, background .18s ease;
}

.portfolio-nav__links a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

body.home-template [data-nav="home"],
body.page-work [data-nav="work"],
body.page-gear [data-nav="gear"],
body.page-map [data-nav="map"],
body.page-about [data-nav="about"],
body.page-contact [data-nav="contact"] {
    background: var(--accent);
    color: #061117;
}

.eyebrow {
    margin: 0;
    color: var(--accent);
    font-size: .72rem;
    font-weight: 760;
    letter-spacing: .19em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow--dark {
    color: #167e97;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: .83rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--light {
    background: #fff;
    color: var(--ink);
}

.button--light:hover {
    background: var(--accent);
}

.button--dark {
    background: var(--dark);
    color: #fff;
}

.button--dark:hover {
    background: #167e97;
}

.button-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    font-size: .83rem;
    font-weight: 680;
    text-decoration: none;
}

.text-link span {
    transition: transform .18s ease;
}

.text-link:hover span {
    transform: translate(2px, -2px);
}

.text-link--light {
    color: #fff;
}

/* Homepage */
.home-hero {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    align-items: flex-end;
    overflow: hidden;
    padding: clamp(130px, 18vh, 210px) max(24px, calc((100vw - 1320px) / 2)) clamp(70px, 10vh, 110px);
    background: #182329;
    color: #fff;
}

.home-hero__media,
.home-hero__shade {
    position: absolute;
    inset: 0;
}

.home-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: hero-reveal .9s ease both;
}

.home-hero__shade {
    background:
        linear-gradient(90deg, rgba(3, 8, 11, .82) 0%, rgba(3, 8, 11, .48) 46%, rgba(3, 8, 11, .12) 80%),
        linear-gradient(0deg, rgba(3, 8, 11, .64) 0%, transparent 55%);
}

.home-hero__content {
    position: relative;
    z-index: 1;
    max-width: 880px;
}

.home-hero h1 {
    max-width: 920px;
    margin: 24px 0 0;
    font-family: var(--font-heading);
    font-size: clamp(3.65rem, 8.7vw, 8.4rem);
    font-weight: 610;
    letter-spacing: -.065em;
    line-height: .89;
}

.home-hero__text {
    max-width: 580px;
    margin: 27px 0 32px;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.6;
}

.home-hero__scroll {
    position: absolute;
    right: max(24px, calc((100vw - 1320px) / 2));
    bottom: clamp(72px, 10vh, 110px);
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .72);
    font-size: .76rem;
    font-weight: 650;
    text-decoration: none;
}

.home-hero__scroll span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
}

.section {
    padding-block: clamp(90px, 12vw, 170px);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: clamp(40px, 6vw, 76px);
}

.section-heading h2 {
    margin: 18px 0 0;
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5.8vw, 6rem);
    font-weight: 600;
    letter-spacing: -.055em;
    line-height: .96;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(42px, 6vw, 86px) clamp(20px, 3vw, 42px);
}

.project-grid--home .project-card:first-child {
    grid-column: 1 / -1;
}

.project-grid--home .project-card:first-child .project-card__media {
    aspect-ratio: 16 / 8.4;
}

.project-card {
    min-width: 0;
}

.project-card[hidden] {
    display: none;
}

.project-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.project-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    background: #dfe4e4;
}

.project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.2, .75, .25, 1);
}

.project-card__link:hover .project-card__media img {
    transform: scale(1.035);
}

.project-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: linear-gradient(135deg, #dce8e9, #f0eeee);
    color: #718087;
    font-size: .75rem;
}

.project-card__open {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: rgba(7, 13, 17, .88);
    color: #fff;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity .2s ease, transform .2s ease;
}

.project-card__link:hover .project-card__open {
    opacity: 1;
    transform: translateY(0);
}

.project-card__type {
    position: absolute;
    bottom: 14px;
    left: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(7, 13, 17, .82);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
}

.project-card__copy {
    display: grid;
    grid-template-columns: 1fr minmax(0, .7fr);
    gap: 20px;
    padding-top: 18px;
}

.project-card__copy p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.5;
}

.project-card__copy h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 630;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.project-card__excerpt {
    align-self: end;
}

.home-statement {
    padding-block: clamp(60px, 9vw, 130px) clamp(100px, 14vw, 190px);
    border-top: 1px solid var(--line);
}

.home-statement > p:nth-child(2) {
    max-width: 1120px;
    margin: 28px 0 34px;
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 5vw, 5.2rem);
    font-weight: 520;
    letter-spacing: -.05em;
    line-height: 1.02;
}

.contact-banner {
    margin-bottom: clamp(24px, 4vw, 54px);
    padding: clamp(48px, 8vw, 100px);
    border-radius: 30px;
    background: var(--dark);
    color: #fff;
}

.contact-banner h2 {
    margin: 24px 0 38px;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 7.2rem);
    font-weight: 580;
    letter-spacing: -.06em;
    line-height: .91;
}

/* Work page */
.work-hero {
    position: relative;
    display: flex;
    min-height: min(880px, 92svh);
    align-items: flex-end;
    overflow: hidden;
    padding: clamp(160px, 19vw, 250px) 0 clamp(70px, 8vw, 110px);
    background:
        linear-gradient(140deg, rgba(9, 24, 31, .96), rgba(3, 7, 9, .99) 68%),
        var(--dark);
    color: #fff;
}

.work-hero::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 74px 74px;
    content: "";
    mask-image: linear-gradient(to bottom, transparent, #000 35%, #000);
    pointer-events: none;
}

.work-hero__glow {
    position: absolute;
    top: 10%;
    right: -9%;
    width: min(680px, 64vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 215, 243, .2), transparent 66%);
    pointer-events: none;
}

.work-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: clamp(55px, 10vw, 155px);
    align-items: end;
}

.work-hero h1 {
    max-width: 1050px;
    margin: 27px 0 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(4.2rem, 9.8vw, 9.6rem);
    font-weight: 560;
    letter-spacing: -.072em;
    line-height: .86;
}

.work-hero__text {
    max-width: 660px;
    margin: 36px 0 0;
    color: rgba(255, 255, 255, .62);
    font-size: clamp(.98rem, 1.35vw, 1.12rem);
    line-height: 1.72;
}

.work-hero__aside > p {
    max-width: 430px;
    margin: 0;
    color: rgba(255, 255, 255, .64);
    font-size: .96rem;
    line-height: 1.75;
}

.work-hero__services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 42px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.work-hero__services span {
    padding: 18px 12px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: .68rem;
    font-weight: 720;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.work-showcase {
    padding-block: clamp(100px, 13vw, 180px);
}

.work-showcase__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
    gap: clamp(45px, 9vw, 140px);
    align-items: end;
    margin-bottom: clamp(55px, 8vw, 100px);
}

.work-showcase__heading h2 {
    margin: 22px 0 0;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6.6vw, 6.8rem);
    font-weight: 560;
    letter-spacing: -.062em;
    line-height: .94;
}

.work-showcase__heading > p {
    max-width: 460px;
    margin: 0 0 6px;
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.72;
}

.work-showcase .filter-bar {
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.work-project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(34px, 4vw, 58px) clamp(18px, 2vw, 28px);
}

.work-project-grid .project-card:first-child {
    grid-column: auto;
}

.work-project-grid .project-card:first-child .project-card__media,
.work-project-grid .project-card__media {
    aspect-ratio: 4 / 3;
}

.work-project-grid .project-card__media {
    border-radius: 18px;
}

.work-project-grid .project-card__copy {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 2px 0;
}

.work-project-grid .project-card__copy h2 {
    font-size: clamp(1.35rem, 1.9vw, 1.85rem);
}

.work-project-grid .project-card:first-child .project-card__copy h2 {
    font-size: clamp(1.35rem, 1.9vw, 1.85rem);
}

.work-project-grid .project-card__excerpt {
    display: none;
}

.work-client-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .55fr);
    gap: clamp(50px, 10vw, 150px);
    align-items: end;
    margin-bottom: clamp(24px, 4vw, 54px);
    padding: clamp(55px, 8vw, 105px);
    border-radius: 30px;
    background:
        radial-gradient(circle at 78% 20%, rgba(100, 215, 243, .2), transparent 31%),
        var(--dark);
    color: #fff;
}

.work-client-cta h2 {
    max-width: 900px;
    margin: 22px 0 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6.7vw, 6.8rem);
    font-weight: 560;
    letter-spacing: -.062em;
    line-height: .93;
}

.work-client-cta__action > p {
    margin: 0 0 30px;
    color: rgba(255, 255, 255, .62);
    font-size: .95rem;
    line-height: 1.72;
}

/* Archives and filters */
.archive-hero {
    padding-top: clamp(150px, 18vw, 240px);
    padding-bottom: clamp(65px, 8vw, 110px);
}

.archive-hero h1 {
    margin: 18px 0 0;
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 10rem);
    font-weight: 580;
    letter-spacing: -.07em;
    line-height: .87;
}

.archive-hero > p:last-child {
    max-width: 620px;
    margin: 32px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.archive-content {
    padding-bottom: clamp(90px, 13vw, 180px);
}

.filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: clamp(36px, 6vw, 68px);
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-bar button {
    min-height: 40px;
    flex: 0 0 auto;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: .76rem;
    font-weight: 680;
}

.filter-bar button:hover,
.filter-bar button.is-active {
    border-color: var(--dark);
    background: var(--dark);
    color: #fff;
}

.filter-empty,
.empty-state {
    grid-column: 1 / -1;
    padding: 70px 24px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    text-align: center;
}

.empty-state h2,
.empty-state h3 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 1.5rem;
}

.empty-state p {
    margin: 0;
}

.pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 70px;
    color: var(--muted);
    font-size: .8rem;
}

.pagination a {
    font-weight: 700;
    text-decoration: none;
}

/* Project page and Ghost content */
.project-hero {
    padding-top: clamp(155px, 19vw, 260px);
    padding-bottom: clamp(60px, 8vw, 110px);
}

.project-hero__meta {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 680;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.project-hero__meta a {
    color: #167e97;
    text-decoration: none;
}

.project-hero h1 {
    max-width: 1200px;
    margin: 36px 0 0;
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10.5vw, 10rem);
    font-weight: 570;
    letter-spacing: -.07em;
    line-height: .87;
}

.project-hero > p {
    max-width: 690px;
    margin: 35px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.project-feature {
    width: calc(100vw - 24px);
    margin: 0 auto clamp(75px, 10vw, 140px);
}

.project-feature img {
    width: 100%;
    max-height: 88vh;
    border-radius: 22px;
    object-fit: cover;
}

.project-feature figcaption {
    max-width: 900px;
    margin: 12px auto 0;
    color: var(--muted);
    font-size: .75rem;
    text-align: center;
}

.gh-content {
    display: grid;
    grid-template-columns:
        [full-start] minmax(24px, 1fr)
        [wide-start] minmax(0, 180px)
        [main-start] minmax(0, 720px) [main-end]
        minmax(0, 180px) [wide-end]
        minmax(24px, 1fr) [full-end];
}

.gh-content > * {
    grid-column: main-start / main-end;
}

.gh-content > .kg-width-wide {
    grid-column: wide-start / wide-end;
}

.gh-content > .kg-width-full {
    grid-column: full-start / full-end;
}

.gh-content p,
.gh-content li {
    color: #384247;
    font-size: 1.06rem;
    line-height: 1.82;
}

.gh-content h2,
.gh-content h3 {
    margin-top: 2.1em;
    margin-bottom: .7em;
    font-family: var(--font-heading);
    letter-spacing: -.04em;
    line-height: 1.06;
}

.gh-content h2 {
    font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.gh-content h3 {
    font-size: clamp(1.65rem, 3.5vw, 2.7rem);
}

.gh-content a {
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.gh-content figure,
.gh-content .kg-card {
    margin-top: clamp(34px, 6vw, 72px);
    margin-bottom: clamp(34px, 6vw, 72px);
}

.gh-content img,
.gh-content video,
.gh-content iframe,
.kg-video-container,
.kg-embed-card iframe {
    width: 100%;
    border-radius: 16px;
}

.kg-video-container,
.kg-embed-card {
    overflow: hidden;
}

.kg-gallery-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.kg-gallery-row {
    display: contents;
}

.kg-gallery-image {
    min-width: 0;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 18px;
}

.kg-gallery-row:first-child .kg-gallery-image:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

.kg-gallery-image img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
}

.kg-gallery-card figcaption {
    margin-top: 14px;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.5;
    text-align: center;
}

.project-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    margin-top: clamp(90px, 13vw, 180px);
    padding-block: clamp(60px, 8vw, 100px);
    border-top: 1px solid var(--line);
}

.project-footer h2 {
    max-width: 780px;
    margin: 20px 0 0;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: 570;
    letter-spacing: -.055em;
    line-height: .95;
}

/* Standard and About pages */
.standard-page__header {
    padding-top: clamp(160px, 19vw, 250px);
    padding-bottom: 70px;
}

.standard-page__header h1,
.about-hero h1 {
    margin: 20px 0 0;
    font-family: var(--font-heading);
    font-size: clamp(4rem, 9vw, 8.5rem);
    font-weight: 570;
    letter-spacing: -.07em;
    line-height: .88;
}

.standard-page__header > p:last-child {
    max-width: 620px;
    margin: 30px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.standard-page__image {
    margin-bottom: 90px;
}

.standard-page__image img {
    width: 100%;
    max-height: 75vh;
    border-radius: var(--radius);
    object-fit: cover;
}

.standard-page__content,
.about-content {
    padding-bottom: 120px;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(390px, 1fr);
    gap: clamp(45px, 8vw, 120px);
    align-items: end;
    padding-top: clamp(150px, 17vw, 220px);
    padding-bottom: clamp(85px, 11vw, 150px);
}

.about-hero__copy > p:last-child {
    max-width: 600px;
    margin: 32px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.65;
}

.about-hero__portrait,
.about-hero__placeholder {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 26px;
}

.about-hero__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero__placeholder {
    display: grid;
    place-items: center;
    padding: 30px;
    background: linear-gradient(145deg, #d9e8e9, #eef0ed);
    color: var(--muted);
    text-align: center;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.about-facts div {
    display: grid;
    gap: 7px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
}

.about-facts span {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.about-facts strong {
    font-size: .92rem;
}

/* Full-screen contact */
.contact-screen,
.error-screen {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: max(105px, calc(82px + env(safe-area-inset-top))) 24px max(42px, env(safe-area-inset-bottom));
    background:
        radial-gradient(circle at 12% 5%, rgba(100, 215, 243, .24), transparent 35%),
        radial-gradient(circle at 88% 92%, rgba(125, 137, 223, .13), transparent 30%),
        #f4f7f6;
    text-align: center;
}

.contact-screen h1,
.error-screen h1 {
    margin: 24px 0 0;
    font-family: var(--font-heading);
    font-size: clamp(4rem, 11vw, 10rem);
    font-weight: 570;
    letter-spacing: -.075em;
    line-height: .85;
}

.contact-screen > p:nth-of-type(2),
.error-screen > p:nth-of-type(2) {
    max-width: 620px;
    margin: 30px auto;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.contact-screen__email {
    margin-top: 18px;
    color: var(--muted);
    font-size: .78rem;
    text-decoration: none;
}

/* Interactive globe */
.photo-map-page {
    position: fixed;
    inset: 0;
    z-index: 100;
    overflow: hidden;
    background: #eaf1f2;
}

.photo-map-page__canvas,
.photo-map-page__shade {
    position: absolute;
    inset: 0;
}

.photo-map-page__shade {
    z-index: 1;
    width: 58%;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(5, 12, 16, .74), rgba(5, 12, 16, .25) 62%, transparent);
}

.photo-map-page__intro {
    position: absolute;
    top: 50%;
    left: max(36px, calc((100vw - 1320px) / 2));
    z-index: 2;
    width: min(540px, calc(100vw - 72px));
    color: #fff;
    transform: translateY(-45%);
}

.photo-map-page__intro h1 {
    margin: 22px 0 24px;
    font-family: var(--font-heading);
    font-size: clamp(4rem, 7.8vw, 7.6rem);
    font-weight: 570;
    letter-spacing: -.07em;
    line-height: .82;
}

.photo-map-page__intro > p:last-of-type {
    max-width: 420px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .72);
    font-size: .98rem;
    line-height: 1.55;
}

.map-pill {
    min-height: 48px;
    padding: 0 9px 0 18px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(5, 12, 16, .88);
    color: #fff;
    cursor: pointer;
    font-size: .77rem;
    font-weight: 700;
}

.map-pill span {
    display: inline-grid;
    width: 31px;
    height: 31px;
    margin-left: 12px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: #071116;
}

.map-place-list {
    position: absolute;
    top: max(82px, calc(68px + env(safe-area-inset-top)));
    right: 24px;
    bottom: 24px;
    z-index: 4;
    width: min(390px, calc(100vw - 48px));
    padding: 22px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 24px;
    background: rgba(246, 248, 247, .94);
    box-shadow: 0 25px 70px rgba(0, 0, 0, .2);
    opacity: 0;
    pointer-events: none;
    transform: translateX(20px);
    transition: opacity .22s ease, transform .22s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.map-place-list.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.map-place-list__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.map-place-list__head h2 {
    margin: 7px 0 0;
    font-size: 2.1rem;
    letter-spacing: -.05em;
}

.map-place-list__head button {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #e5eaeb;
    cursor: pointer;
    font-size: 1.4rem;
}

.map-place-list__items {
    display: grid;
    gap: 10px;
}

.map-place-card {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 14px;
    align-items: center;
    width: 100%;
    padding: 8px;
    border: 1px solid rgba(13, 18, 21, .08);
    border-radius: 15px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
}

.map-place-card img,
.map-place-card__fallback {
    width: 74px;
    height: 58px;
    border-radius: 10px;
    object-fit: cover;
}

.map-place-card__fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #bfe2e8, #edf1ef);
    color: #42636c;
    font-size: .72rem;
    font-weight: 720;
}

.map-place-card__copy {
    display: grid;
    gap: 4px;
}

.map-place-card__copy strong {
    font-size: .88rem;
}

.map-place-card__copy small {
    color: var(--muted);
    font-size: .7rem;
}

.map-key {
    position: absolute;
    bottom: max(22px, env(safe-area-inset-bottom));
    left: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    border-radius: 999px;
    background: rgba(7, 13, 17, .83);
    color: rgba(255, 255, 255, .78);
    font-size: .68rem;
    backdrop-filter: blur(12px);
}

.map-key span {
    width: 9px;
    height: 9px;
    border: 2px solid #102129;
    border-radius: 50%;
    background: var(--accent);
}

.map-spin-button {
    position: absolute;
    right: 24px;
    bottom: max(112px, calc(92px + env(safe-area-inset-bottom)));
    z-index: 3;
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(7, 13, 17, .9);
    color: #fff;
    cursor: pointer;
}

.mapboxgl-popup-content {
    overflow: hidden;
    padding: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .22) !important;
}

.map-popup__image {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.map-popup__copy {
    display: grid;
    gap: 5px;
    padding: 16px;
    color: var(--ink);
}

.map-popup__copy small {
    color: var(--muted);
    font-size: .68rem;
}

.map-popup__copy strong {
    font-size: 1rem;
}

.map-popup__copy a {
    margin-top: 7px;
    color: #167e97;
    font-size: .72rem;
    font-weight: 700;
    text-decoration: none;
}

.is-map-page .site-footer {
    display: none;
}

/* Footer */
.site-footer {
    display: flex;
    width: var(--shell);
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin: 0 auto;
    padding: 55px 0 max(36px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .75rem;
}

.site-footer div {
    display: grid;
    gap: 7px;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 650;
    text-decoration: none;
}

@keyframes hero-reveal {
    from { opacity: 0; transform: scale(1.015); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 900px) {
    :root {
        --shell: min(100% - 32px, 1320px);
    }

    body .portfolio-nav {
        left: 50%;
        width: auto;
        justify-content: center;
    }

    .portfolio-nav__brand {
        display: none;
    }

    .project-card__copy {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .work-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-hero {
        grid-template-columns: 1fr;
    }

    .work-hero__inner,
    .work-showcase__heading,
    .work-client-cta {
        grid-template-columns: 1fr;
    }

    .work-hero__aside,
    .work-showcase__heading > p,
    .work-client-cta__action {
        max-width: 650px;
    }

    .about-hero__portrait {
        width: min(620px, 100%);
    }

    .photo-map-page__shade {
        width: 75%;
    }
}

@media (max-width: 680px) {
    body .portfolio-nav {
        width: calc(100vw - 20px);
    }

    .portfolio-nav__links {
        width: 100%;
        justify-content: center;
    }

    .portfolio-nav__links a {
        min-width: 0;
        flex: 1 1 auto;
        padding-inline: 7px;
        font-size: .68rem;
    }

    .home-hero {
        align-items: flex-end;
        padding-right: 20px;
        padding-bottom: 54px;
        padding-left: 20px;
    }

    .work-hero {
        min-height: auto;
        padding-top: 155px;
    }

    .work-hero h1 {
        font-size: clamp(3.8rem, 17vw, 5.4rem);
    }

    .work-hero__services {
        margin-top: 32px;
    }

    .work-showcase {
        padding-block: 85px;
    }

    .work-project-grid .project-card:first-child {
        grid-column: auto;
    }

    .work-project-grid .project-card:first-child .project-card__media,
    .work-project-grid .project-card__media {
        aspect-ratio: 4 / 3;
        border-radius: 16px;
    }

    .work-project-grid .project-card:first-child .project-card__copy h2 {
        font-size: clamp(1.65rem, 8vw, 2.2rem);
    }

    .work-client-cta {
        width: calc(100vw - 24px);
        padding: 50px 25px;
        border-radius: 22px;
    }

    .home-hero h1 {
        font-size: clamp(3.4rem, 17vw, 5.4rem);
    }

    .home-hero__shade {
        background: linear-gradient(0deg, rgba(3, 8, 11, .86) 0%, rgba(3, 8, 11, .28) 78%);
    }

    .home-hero__scroll {
        display: none;
    }

    .button-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .section-heading,
    .project-footer {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .project-grid--home .project-card:first-child {
        grid-column: auto;
    }

    .project-grid--home .project-card:first-child .project-card__media,
    .project-card__media {
        aspect-ratio: 4 / 3;
        border-radius: 16px;
    }

    .project-card__open {
        opacity: 1;
        transform: none;
    }

    .work-project-grid {
        grid-template-columns: 1fr;
    }

    .kg-gallery-container {
        grid-template-columns: 1fr;
    }

    .kg-gallery-row:first-child .kg-gallery-image:first-child {
        grid-column: auto;
        aspect-ratio: 3 / 2;
    }

    .kg-gallery-image {
        border-radius: 14px;
    }

    .contact-banner {
        width: calc(100vw - 24px);
        padding: 42px 24px;
        border-radius: 22px;
    }

    .about-facts {
        grid-template-columns: 1fr;
    }

    .photo-map-page__shade {
        width: 100%;
        height: 55%;
        background: linear-gradient(180deg, rgba(5, 12, 16, .72), rgba(5, 12, 16, .14) 68%, transparent);
    }

    .photo-map-page__intro {
        top: max(96px, calc(80px + env(safe-area-inset-top)));
        left: 20px;
        width: calc(100vw - 40px);
        transform: none;
    }

    .photo-map-page__intro h1 {
        margin-block: 14px 16px;
        font-size: clamp(3.2rem, 15vw, 5rem);
    }

    .photo-map-page__intro > p:last-of-type {
        max-width: 330px;
        margin-bottom: 18px;
        font-size: .84rem;
    }

    .map-place-list {
        top: auto;
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        left: 12px;
        width: auto;
        max-height: 67dvh;
        border-radius: 20px;
        transform: translateY(20px);
    }

    .map-key {
        left: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
    }

    .map-spin-button {
        right: 12px;
        bottom: max(104px, calc(88px + env(safe-area-inset-bottom)));
    }

    .mapboxgl-ctrl-bottom-right {
        right: 2px;
    }

    .mapboxgl-ctrl-bottom-left {
        display: none;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Gear page */
.gear-page {
    overflow: hidden;
    background: #f5f5f7;
    color: #111214;
}

.gear-kicker,
.gear-index {
    margin: 0;
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.gear-kicker {
    color: #77ddff;
}

.gear-kicker--dark {
    color: #687078;
}

.gear-index {
    color: rgba(255, 255, 255, .52);
}

.gear-hero {
    position: relative;
    display: grid;
    min-height: 100svh;
    overflow: hidden;
    place-items: center;
    padding: 130px 24px 58px;
    background:
        radial-gradient(circle at 50% 68%, rgba(29, 113, 154, .48), transparent 31%),
        linear-gradient(145deg, #111820, #020405 68%);
    color: #fff;
}

.gear-hero::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 72px 72px;
    content: "";
    mask-image: linear-gradient(to bottom, transparent, #000 35%, transparent);
    pointer-events: none;
}

.gear-hero__copy {
    position: relative;
    z-index: 2;
    max-width: 880px;
    text-align: center;
    animation: gear-intro .85s cubic-bezier(.2, .75, .25, 1) both;
}

.gear-hero__copy h1 {
    margin: 24px 0 25px;
    font-family: var(--font-heading);
    font-size: clamp(4.7rem, 10.4vw, 10rem);
    font-weight: 580;
    letter-spacing: -.075em;
    line-height: .82;
}

.gear-hero__copy > p:not(.gear-kicker) {
    max-width: 660px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .66);
    font-size: clamp(1rem, 1.55vw, 1.28rem);
    line-height: 1.55;
}

.gear-hero__copy > a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    color: #fff;
    font-size: .76rem;
    font-weight: 700;
    text-decoration: none;
}

.gear-hero__copy > a span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .23);
    border-radius: 50%;
}

.gear-hero__visual {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(760px, 84vw);
    height: min(420px, 42vh);
    margin-top: 42px;
    place-items: center;
}

.gear-hero__visual > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 40px 55px rgba(0, 0, 0, .52));
}

.gear-lens {
    position: relative;
    display: grid;
    width: min(350px, 58vw);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background:
        radial-gradient(circle at 42% 34%, rgba(128, 221, 255, .5), transparent 10%),
        radial-gradient(circle, #06131c 0 29%, #163848 30% 33%, #04090d 34% 52%, #2c3338 53% 57%, #080a0c 58% 68%, #34383c 69% 72%, #090b0c 73%);
    box-shadow: 0 42px 100px rgba(0, 0, 0, .6), inset 0 0 45px rgba(103, 215, 255, .14);
}

.gear-lens::after {
    position: absolute;
    inset: 7%;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    content: "";
}

.gear-lens span {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, .74);
    font-size: .64rem;
    font-weight: 780;
    letter-spacing: .24em;
    line-height: 1.8;
    text-align: center;
}

.gear-intro {
    padding-block: clamp(100px, 14vw, 190px);
}

.gear-intro h2 {
    max-width: 1120px;
    margin: 24px 0 0;
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6.5vw, 6.5rem);
    font-weight: 560;
    letter-spacing: -.065em;
    line-height: .98;
}

.gear-feature {
    display: grid;
    min-height: min(920px, calc(100svh - 32px));
    grid-template-columns: .86fr 1.14fr;
    margin: 16px;
    overflow: hidden;
    border-radius: 38px;
}

.gear-feature--camera {
    background: #07090b;
    color: #fff;
}

.gear-feature__copy {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: clamp(50px, 7vw, 110px);
}

.gear-feature__copy h2 {
    margin: 24px 0 28px;
    font-family: var(--font-heading);
    font-size: clamp(4rem, 7vw, 7.3rem);
    font-weight: 570;
    letter-spacing: -.07em;
    line-height: .84;
}

.gear-feature__copy > p:not(.gear-index) {
    max-width: 550px;
    margin: 0;
    color: rgba(255, 255, 255, .67);
    font-size: clamp(1rem, 1.45vw, 1.22rem);
    line-height: 1.65;
}

.gear-feature__media {
    position: relative;
    display: grid;
    min-height: 600px;
    overflow: hidden;
    place-items: center;
    background:
        radial-gradient(circle, rgba(95, 202, 244, .26), transparent 40%),
        linear-gradient(145deg, #20282e, #080a0c 70%);
}

.gear-feature__media > img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    filter: drop-shadow(0 42px 40px rgba(0, 0, 0, .45));
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.gear-feature--camera .gear-feature__media {
    padding: clamp(32px, 5vw, 72px);
}

.gear-feature--camera .gear-feature__media > img {
    width: min(540px, 74%);
    height: auto;
    max-height: 72%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 34px;
    background: #fff;
    box-shadow: 0 38px 75px rgba(0, 0, 0, .38);
    filter: none;
}

.gear-feature:hover .gear-feature__media > img {
    transform: scale(1.025);
}

.gear-product-wordmark {
    display: grid;
    width: min(520px, 74%);
    aspect-ratio: 4 / 3;
    place-content: center;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .025));
    box-shadow: 0 45px 80px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .12);
    color: #fff;
    text-align: center;
    transform: perspective(900px) rotateY(-8deg) rotateX(3deg);
}

.gear-product-wordmark span {
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .26em;
}

.gear-product-wordmark strong {
    margin-block: 10px;
    font-size: clamp(3.1rem, 6vw, 6rem);
    letter-spacing: -.07em;
}

.gear-product-wordmark small {
    color: rgba(255, 255, 255, .45);
    font-size: .56rem;
    letter-spacing: .17em;
}

.gear-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 55px 0 0;
}

.gear-specs > div {
    padding: 0 20px;
    border-left: 1px solid rgba(255, 255, 255, .15);
}

.gear-specs > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.gear-specs dt {
    font-size: .88rem;
    font-weight: 720;
}

.gear-specs dd {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, .46);
    font-size: .68rem;
    line-height: 1.4;
}

.gear-aerial,
.gear-workflow {
    padding-block: clamp(110px, 14vw, 190px);
}

.gear-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 65px;
}

.gear-section-heading h2 {
    max-width: 850px;
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6.5vw, 6.3rem);
    font-weight: 560;
    letter-spacing: -.065em;
    line-height: .95;
}

.gear-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.gear-card {
    position: relative;
    display: grid;
    min-height: 760px;
    overflow: hidden;
    border-radius: 34px;
}

.gear-card--sky {
    background: linear-gradient(165deg, #dff5ff, #82cae9 60%, #4c8fae);
    color: #10212a;
}

.gear-card--fpv {
    background: linear-gradient(155deg, #22252a, #090a0c 65%);
    color: #fff;
}

.gear-card__copy {
    position: relative;
    z-index: 2;
    padding: clamp(36px, 5vw, 66px);
}

.gear-card--sky .gear-index {
    color: rgba(13, 37, 49, .5);
}

.gear-card h3 {
    margin: 18px 0 21px;
    font-family: var(--font-heading);
    font-size: clamp(2.7rem, 4.8vw, 5.1rem);
    font-weight: 580;
    letter-spacing: -.065em;
    line-height: .92;
}

.gear-card__copy > p:not(.gear-index) {
    max-width: 490px;
    margin: 0;
    color: inherit;
    font-size: .98rem;
    line-height: 1.62;
    opacity: .68;
}

.gear-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.gear-card li {
    padding: 8px 12px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 700;
    opacity: .58;
}

.gear-card__media {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    height: 48%;
    place-items: center;
}

.gear-card__media img {
    width: 86%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 28px 28px rgba(0, 0, 0, .28));
    transition: transform .6s ease;
}

.gear-card:hover .gear-card__media img {
    transform: translateY(-7px) scale(1.025);
}

.gear-drone-mark,
.gear-fpv-mark {
    position: relative;
    width: min(420px, 64%);
    height: 75px;
    border-radius: 42% 42% 30% 30%;
    background: linear-gradient(#f7f9fa, #aeb9bf);
    box-shadow: 0 28px 28px rgba(13, 36, 47, .26);
}

.gear-fpv-mark {
    background: linear-gradient(#555d65, #17191c);
    box-shadow: 0 28px 30px rgba(0, 0, 0, .55);
}

.gear-drone-mark::before,
.gear-fpv-mark::before {
    position: absolute;
    top: 30px;
    right: -34%;
    left: -34%;
    height: 10px;
    border-radius: 10px;
    background: inherit;
    content: "";
    transform: rotate(-7deg);
}

.gear-drone-mark::after,
.gear-fpv-mark::after {
    position: absolute;
    top: 30px;
    right: -34%;
    left: -34%;
    height: 10px;
    border-radius: 10px;
    background: inherit;
    content: "";
    transform: rotate(7deg);
}

.gear-drone-mark span,
.gear-fpv-mark span {
    position: absolute;
    top: 56px;
    left: 50%;
    z-index: 2;
    width: 38px;
    height: 27px;
    border: 7px solid #222b30;
    border-radius: 50%;
    background: #101a21;
    transform: translateX(-50%);
}

.gear-feature--server {
    grid-template-columns: 1.1fr .9fr;
    background: linear-gradient(145deg, #092b44, #071019 62%);
    color: #fff;
}

.gear-feature--server .gear-feature__media {
    background: radial-gradient(circle, rgba(69, 189, 255, .28), transparent 45%);
}

.gear-server-mark {
    display: grid;
    width: min(520px, 70%);
    padding: 30px;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 27px;
    background: linear-gradient(145deg, #1d2a34, #080c10);
    box-shadow: 0 45px 85px rgba(0, 0, 0, .45), inset 0 1px rgba(255, 255, 255, .1);
    transform: perspective(900px) rotateY(8deg);
}

.gear-server-mark span {
    position: relative;
    display: block;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 9px;
    background: linear-gradient(90deg, #10171d, #202d36);
}

.gear-server-mark span::before {
    position: absolute;
    top: 50%;
    left: 18px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #66e0ff;
    box-shadow: 15px 0 #6bf0b1;
    content: "";
    transform: translateY(-50%);
}

.gear-workflow__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(13, 18, 21, .15);
}

.gear-workflow__grid article {
    min-height: 310px;
    padding: 38px 34px;
    border-right: 1px solid rgba(13, 18, 21, .15);
}

.gear-workflow__grid article:last-child {
    border-right: 0;
}

.gear-workflow__grid span {
    color: #7d858a;
    font-size: .65rem;
    font-weight: 750;
}

.gear-workflow__grid h3 {
    margin: 65px 0 15px;
    font-size: 1.8rem;
    letter-spacing: -.04em;
}

.gear-workflow__grid p {
    max-width: 330px;
    margin: 0;
    color: #6b7378;
    font-size: .9rem;
    line-height: 1.62;
}

.gear-extra {
    padding-bottom: 110px;
}

.gear-cta {
    margin-bottom: 16px;
    padding: clamp(60px, 8vw, 110px);
    border-radius: 35px;
    background: linear-gradient(135deg, #071117, #123a4d);
    color: #fff;
}

.gear-cta h2 {
    max-width: 900px;
    margin: 22px 0 38px;
    font-family: var(--font-heading);
    font-size: clamp(3.1rem, 6.7vw, 6.8rem);
    font-weight: 560;
    letter-spacing: -.065em;
    line-height: .94;
}

.gear-cta > div {
    display: flex;
    align-items: center;
    gap: 25px;
}

.gear-motion-ready .gear-reveal {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}

.gear-motion-ready .gear-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes gear-intro {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
    .gear-feature,
    .gear-feature--server {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .gear-feature__media {
        min-height: 58svh;
    }

    .gear-feature--server .gear-feature__media {
        order: 2;
    }

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

    .gear-card {
        min-height: 700px;
    }
}

@media (max-width: 680px) {
    .gear-hero {
        min-height: 100svh;
        padding: 112px 18px 42px;
    }

    .gear-hero__copy h1 {
        font-size: clamp(4rem, 20vw, 6rem);
    }

    .gear-hero__visual {
        height: 34vh;
        margin-top: 25px;
    }

    .gear-intro {
        padding-block: 100px;
    }

    .gear-feature {
        margin: 8px;
        border-radius: 25px;
    }

    .gear-feature__copy {
        padding: 54px 26px;
    }

    .gear-feature__copy h2 {
        font-size: clamp(3.5rem, 17vw, 5.2rem);
    }

    .gear-feature__media {
        min-height: 440px;
    }

    .gear-feature--camera .gear-feature__media {
        padding: 34px 20px;
    }

    .gear-feature--camera .gear-feature__media > img {
        width: min(340px, 76%);
        max-height: 76%;
        border-radius: 22px;
    }

    .gear-specs {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .gear-specs > div,
    .gear-specs > div:first-child {
        padding: 15px 0;
        border-top: 1px solid rgba(255, 255, 255, .15);
        border-left: 0;
    }

    .gear-section-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 42px;
    }

    .gear-card {
        min-height: 650px;
        border-radius: 25px;
    }

    .gear-card__copy {
        padding: 38px 27px;
    }

    .gear-card__media {
        height: 42%;
    }

    .gear-drone-mark,
    .gear-fpv-mark {
        width: 52%;
    }

    .gear-workflow__grid {
        grid-template-columns: 1fr;
    }

    .gear-workflow__grid article {
        min-height: 250px;
        padding: 34px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(13, 18, 21, .15);
    }

    .gear-workflow__grid h3 {
        margin-top: 42px;
    }

    .gear-cta {
        width: calc(100vw - 16px);
        padding: 52px 25px;
        border-radius: 25px;
    }

    .gear-cta > div {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gear-hero__copy {
        animation: none;
    }
}
