/* =========================================================
   Drone Security Solutions — modernised system
   ========================================================= */

:root {
    --bg-deep: #04080a;
    --bg: #07100e;
    --bg-elev: #0c1916;
    --bg-card: rgba(14, 28, 23, 0.65);
    --bg-card-solid: #0d1c18;
    --line: rgba(155, 188, 173, 0.12);
    --line-strong: rgba(206, 230, 214, 0.22);
    --text: #ecf6ef;
    --text-soft: #c5d4cc;
    --text-muted: #8aa599;
    --accent: #4ade80;
    --accent-bright: #86efac;
    --accent-deep: #15803d;
    --accent-glow: rgba(74, 222, 128, 0.35);
    --cyan: #67e8f9;
    --silver: #d1ddd7;

    --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.5);

    --header-h: 76px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --wrap: min(1180px, calc(100% - clamp(28px, 5vw, 48px)));
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-feature-settings: "ss01", "cv02", "cv11";
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(1200px 600px at 12% -10%, rgba(74, 222, 128, 0.10), transparent 60%),
        radial-gradient(900px 500px at 110% 5%, rgba(103, 232, 249, 0.06), transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 60%);
    background-attachment: fixed;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--accent-bright); }
a:hover { color: var(--accent); }

::selection { background: var(--accent); color: #052e14; }

.visually-hidden,
.hp-field {
    position: absolute;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 12px; top: -100px;
    z-index: 1000;
    padding: 12px 18px;
    background: var(--accent);
    color: #052e14;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.wrap { width: var(--wrap); margin-inline: auto; }

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    inset: 0 auto auto 0;
    height: 2px;
    width: var(--progress, 0%);
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 0 12px var(--accent-glow);
    transition: width 0.08s linear;
}

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    border-bottom: 1px solid transparent;
    background: rgba(4, 8, 10, 0.55);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-scrolled {
    background: rgba(4, 8, 10, 0.85);
    border-bottom-color: var(--line);
}

.site-header__inner {
    width: min(1240px, calc(100% - 28px));
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: var(--header-h);
    padding-block: 0.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
    position: relative;
    min-width: 0;
}
.brand__logo {
    flex-shrink: 0;
    border-radius: 10px;
    box-shadow:
        0 0 0 1px var(--line-strong),
        0 10px 30px rgba(74, 222, 128, 0.15);
}
.brand__text { display: flex; flex-direction: column; gap: 0.05rem; min-width: 0; }
.brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 14rem;
}
.brand__tag {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    color: var(--text-muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-nav { flex: 1; display: flex; justify-content: center; }

.site-nav__list {
    list-style: none; margin: 0; padding: 0;
    display: flex; gap: 0.1rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px;
}

.site-nav__link {
    display: inline-block;
    padding: 0.5rem 0.85rem;
    color: var(--text-soft);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
    position: relative;
}
.site-nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.site-nav__link.is-active {
    color: #052e14;
    background: linear-gradient(135deg, var(--accent), var(--accent-bright));
    box-shadow: 0 0 24px var(--accent-glow);
}

.site-header__cta {
    margin-left: auto; flex-shrink: 0; display: none;
}

.nav-toggle {
    margin-left: auto;
    display: none;
    flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--line); border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
}
.nav-toggle__bar {
    display: block; width: 20px; height: 2px;
    margin-inline: auto; background: var(--silver); border-radius: 2px;
    transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1199px) {
    .nav-toggle { display: flex; }
    .site-header__cta { display: none !important; }
    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        max-height: 0;
        overflow: hidden;
        background: rgba(4, 8, 10, 0.97);
        border-bottom: 1px solid var(--line);
        transition: max-height 0.4s var(--ease);
    }
    .site-nav.is-open { max-height: 600px; }
    .site-nav__list {
        flex-direction: column;
        padding: 1rem 1.25rem 1.5rem;
        gap: 0.25rem;
        background: transparent;
        border: 0;
        border-radius: 0;
    }
    .site-nav__link { padding: 0.7rem 0.95rem; font-size: 0.95rem; }
}
@media (min-width: 1200px) {
    .site-header__cta { display: inline-flex; }
}

/* Tighten header on small phones so the brand has room */
@media (max-width: 540px) {
    .site-header__inner { gap: 0.5rem; width: min(1240px, calc(100% - 20px)); }
    .brand { flex: 1 1 auto; gap: 0.65rem; }
    .brand__text { flex: 1 1 auto; min-width: 0; }
    .brand__logo { width: 40px; height: 40px; border-radius: 9px; }
    .brand__name {
        font-size: 0.88rem;
        line-height: 1.08;
        max-width: none;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    .brand__tag { display: none; }
    .nav-toggle { width: 40px; height: 40px; border-radius: 10px; margin-left: 0; flex: 0 0 auto; }
}

/* =========================================================
   Type
   ========================================================= */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-bright);
    margin: 0 0 1rem;
}
.eyebrow::before {
    content: "";
    width: 28px; height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.lede {
    font-size: 1.1rem;
    color: var(--text-soft);
    max-width: 44rem;
    margin: 0;
}

.section-title {
    font-size: clamp(1.6rem, 2.6vw, 2.15rem);
    font-weight: 700;
    margin: 0 0 1.25rem;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.78rem 1.4rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: -0.005em;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s var(--ease), box-shadow 0.25s, background 0.2s, color 0.2s;
    will-change: transform;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
    color: #052e14;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 14px 40px var(--accent-glow);
}
.btn--primary:hover {
    color: #052e14;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 22px 60px rgba(74, 222, 128, 0.5);
    transform: translateY(-2px);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border: 1px solid var(--line-strong);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(134, 239, 172, 0.4); }

.btn .arrow {
    display: inline-block;
    transition: transform 0.25s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================
   HERO (homepage)
   ========================================================= */
.hero {
    position: relative;
    overflow: clip;
    isolation: isolate;
}

.hero__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(to right, rgba(134, 239, 172, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(134, 239, 172, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    background-position: center top;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent 75%);
    opacity: 0.7;
}

.hero__orb {
    position: absolute;
    z-index: -1;
    width: 520px; height: 520px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    pointer-events: none;
}
.hero__orb--green {
    top: -120px; left: -100px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.7), transparent 70%);
    animation: float 18s ease-in-out infinite;
}
.hero__orb--cyan {
    bottom: -180px; right: -120px;
    background: radial-gradient(circle, rgba(103, 232, 249, 0.45), transparent 70%);
    animation: float 22s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, 30px); }
}

.hero__inner {
    position: relative;
    width: var(--wrap);
    margin-inline: auto;
    padding: clamp(2.5rem, 7vw, 6.5rem) 0 clamp(3rem, 9vw, 7rem);
    display: grid;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 920px) {
    .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
}
@media (max-width: 600px) {
    .hero__visual { max-width: 320px; }
    .hero__meta { gap: 1rem 1.75rem; }
}

.hero__copy { max-width: 38rem; }

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin: 0.5rem 0 1.25rem;
}
.hero__title .accent {
    background: linear-gradient(120deg, var(--accent-bright) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}
.hero__title .outline {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(206, 230, 214, 0.35);
    display: inline-block;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-soft);
    margin: 0 0 0.75rem;
    font-weight: 500;
}

.hero__lede {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin: 0 0 2rem;
    max-width: 34rem;
}

.hero__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2.25rem;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}
.hero__meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.hero__meta-item strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--text);
    font-weight: 700;
}
.hero__meta-item span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

/* Radar visual */
.hero__visual {
    position: relative;
    aspect-ratio: 1;
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
}
.radar {
    position: relative;
    width: 100%; height: 100%;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(74, 222, 128, 0.08), transparent 70%),
        radial-gradient(circle at center, rgba(15, 32, 24, 0.5), transparent 80%);
    border: 1px solid var(--line-strong);
    box-shadow:
        inset 0 0 80px rgba(74, 222, 128, 0.08),
        0 30px 90px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(74, 222, 128, 0.15);
    overflow: hidden;
}
.radar__rings {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, transparent 24%, rgba(134, 239, 172, 0.18) 24.5%, transparent 25%),
        radial-gradient(circle, transparent 49%, rgba(134, 239, 172, 0.15) 49.5%, transparent 50%),
        radial-gradient(circle, transparent 74%, rgba(134, 239, 172, 0.12) 74.5%, transparent 75%);
}
.radar__cross::before,
.radar__cross::after {
    content: "";
    position: absolute;
    background: rgba(134, 239, 172, 0.12);
}
.radar__cross::before {
    inset: 50% 0 auto 0; height: 1px;
}
.radar__cross::after {
    inset: 0 50% 0 auto; width: 1px;
}
.radar__sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(74, 222, 128, 0.55) 30deg, transparent 60deg);
    mix-blend-mode: screen;
    animation: radar-sweep 4s linear infinite;
    transform-origin: center;
}
@keyframes radar-sweep {
    to { transform: rotate(360deg); }
}
.radar__pulse {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent-bright);
    box-shadow: 0 0 20px var(--accent-glow);
    animation: pulse 2.4s ease-out infinite;
}
.radar__pulse--a { top: 28%; left: 68%; animation-delay: 0s; }
.radar__pulse--b { top: 62%; left: 30%; animation-delay: 0.8s; }
.radar__pulse--c { top: 44%; left: 78%; animation-delay: 1.6s; }
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    70% { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}
.radar__center {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 38%; height: 38%;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--line-strong);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.55),
        0 0 0 6px rgba(74, 222, 128, 0.12),
        0 0 32px rgba(74, 222, 128, 0.25);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.radar__center img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    border-radius: 0;
    filter: none;
}
.radar__corners {
    position: absolute;
    inset: -1px;
    pointer-events: none;
}
.radar__corner {
    position: absolute;
    width: 18px; height: 18px;
    border: 1px solid var(--accent);
}
.radar__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.radar__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.radar__corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.radar__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* =========================================================
   Marquee / capability strip
   ========================================================= */
.marquee {
    position: relative;
    border-block: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(74, 222, 128, 0.04), transparent);
    padding: 1.25rem 0;
    overflow: hidden;
}
.marquee::before,
.marquee::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-deep), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-deep), transparent); }

.marquee__track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: marquee 38s linear infinite;
    will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__item {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    white-space: nowrap;
}
.marquee__item::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =========================================================
   Sections
   ========================================================= */
section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }

.surface {
    background:
        radial-gradient(800px 300px at 50% 0%, rgba(74, 222, 128, 0.05), transparent 70%),
        rgba(8, 18, 14, 0.55);
    border-block: 1px solid var(--line);
}

.section-head {
    display: grid;
    gap: 1rem;
    max-width: 60rem;
    margin: 0 0 2.5rem;
}
.section-head--row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    max-width: none;
}
.section-head .lede { color: var(--text-muted); }

/* =========================================================
   Bento grid (services)
   ========================================================= */
.bento {
    display: grid;
    gap: 1.25rem;
}
@media (min-width: 700px) {
    .bento { grid-template-columns: repeat(6, 1fr); }
    .bento__item:nth-child(1) { grid-column: span 3; }
    .bento__item:nth-child(2) { grid-column: span 3; }
    .bento__item:nth-child(3) { grid-column: span 6; }
}
@media (min-width: 1000px) {
    .bento__item:nth-child(1) { grid-column: span 2; }
    .bento__item:nth-child(2) { grid-column: span 2; }
    .bento__item:nth-child(3) { grid-column: span 2; }
}

/* =========================================================
   Cards w/ mouse spotlight
   ========================================================= */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 640px) {
    .cards--2 { grid-template-columns: repeat(2, 1fr); }
    .cards--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
    --mx: 50%; --my: 50%;
    position: relative;
    padding: 1.75rem 1.65rem 1.65rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--bg-card-solid);
    overflow: hidden;
    isolation: isolate;
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background:
        radial-gradient(420px circle at var(--mx) var(--my), rgba(134, 239, 172, 0.5), transparent 40%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    z-index: 1;
    pointer-events: none;
}
.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(360px circle at var(--mx) var(--my), rgba(74, 222, 128, 0.08), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    pointer-events: none;
    z-index: 0;
}
.card:hover { transform: translateY(-3px); border-color: rgba(134, 239, 172, 0.25); }
.card:hover::before, .card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 2; }

.card__icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: grid; place-items: center;
    margin-bottom: 1.1rem;
    color: var(--accent-bright);
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.18), rgba(74, 222, 128, 0.04));
    border: 1px solid rgba(74, 222, 128, 0.25);
    box-shadow: inset 0 0 20px rgba(74, 222, 128, 0.08);
}
.card__icon svg { width: 26px; height: 26px; display: block; }

.card h3 {
    font-family: var(--font-display);
    margin: 0 0 0.6rem;
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text);
}
.card p { margin: 0; font-size: 0.96rem; color: var(--text-muted); line-height: 1.6; }
.card__more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.1rem;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-bright);
    text-decoration: none;
}
.card__more:hover { color: var(--accent); }

/* =========================================================
   Sector tiles (image hover)
   ========================================================= */
.tile-grid {
    display: grid;
    gap: 1.35rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.tile {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-card-solid);
    aspect-ratio: 4 / 5;
    display: block;
    color: inherit;
    text-decoration: none;
    isolation: isolate;
    transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.tile img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
    filter: saturate(0.75) brightness(0.55);
}
.tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(4, 8, 10, 0.85) 78%, rgba(4, 8, 10, 0.95) 100%);
    z-index: 1;
}
.tile__body {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 1.25rem 1.4rem 1.35rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: end;
}
.tile__num {
    position: absolute;
    top: 1.15rem; left: 1.4rem;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent-bright);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: rgba(4, 8, 10, 0.45);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    backdrop-filter: blur(6px);
}
.tile h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}
.tile:hover { transform: translateY(-4px); border-color: rgba(134, 239, 172, 0.3); }
.tile:hover img { transform: scale(1.06); filter: saturate(0.95) brightness(0.7); }

/* =========================================================
   Lists
   ========================================================= */
.dot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.dot-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-soft);
    font-size: 0.98rem;
}
.dot-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.5em;
    width: 10px; height: 10px;
    border-radius: 2px;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    box-shadow: 0 0 12px var(--accent-glow);
    transform: rotate(45deg);
}

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-soft);
}
.check-list li svg {
    flex-shrink: 0;
    width: 22px; height: 22px;
    color: var(--accent-bright);
    margin-top: 2px;
}

/* =========================================================
   Case studies
   ========================================================= */
.case-stack { display: grid; gap: 4.5rem; }

.case {
    display: grid;
    gap: 1.75rem;
    align-items: center;
}
@media (min-width: 820px) {
    .case { grid-template-columns: 1.05fr 0.95fr; }
    .case--reverse { grid-template-columns: 0.95fr 1.05fr; }
    .case--reverse .case__visual { order: 2; }
}

.case__visual {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-lg);
    position: relative;
    aspect-ratio: 4 / 3;
}
.case__visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.case__visual::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(4, 8, 10, 0.4));
    pointer-events: none;
}

.case__copy h3 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 700;
}
.case__copy p { margin: 0; color: var(--text-muted); }

/* =========================================================
   About / split blocks
   ========================================================= */
.split {
    display: grid;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } }
.split--gap-lg { gap: 3rem; }

.figure {
    margin: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card-solid);
}
.figure img { display: block; width: 100%; height: auto; }
.figure figcaption {
    padding: 0.85rem 1.1rem;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    background: rgba(4, 8, 10, 0.65);
    border-top: 1px solid var(--line);
}

.prose-block { max-width: 42rem; }
.prose-block p { margin: 0 0 1rem; color: var(--text-soft); font-size: 1.025rem; }
.prose-block p:last-child { margin-bottom: 0; }

/* =========================================================
   CTA ribbon
   ========================================================= */
.cta-ribbon {
    margin-top: 2.5rem;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(134, 239, 172, 0.22);
    background:
        radial-gradient(800px 300px at 90% 50%, rgba(103, 232, 249, 0.1), transparent 60%),
        radial-gradient(800px 300px at 0% 50%, rgba(74, 222, 128, 0.14), transparent 60%),
        linear-gradient(180deg, rgba(15, 32, 24, 0.7), rgba(8, 18, 14, 0.6));
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
    justify-content: space-between;
    box-shadow: var(--shadow);
}
.cta-ribbon h2 {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 700;
    max-width: 32rem;
    line-height: 1.25;
}

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; } }

.contact-card {
    padding: 1.85rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background:
        radial-gradient(400px 200px at 100% 0%, rgba(74, 222, 128, 0.06), transparent 70%),
        var(--bg-card-solid);
}

.form { position: relative; }
.form label {
    display: block;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.5rem;
    color: var(--text-soft);
}
.form input,
.form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    margin-bottom: 1.15rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(4, 8, 10, 0.55);
    color: var(--text);
    font: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: rgba(134, 239, 172, 0.5);
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12);
}

.form-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: -0.4rem 0 1.15rem;
}
.form-hint code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    color: var(--silver);
    padding: 0.1em 0.4em;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
}

.recaptcha-disclosure {
    margin: -0.45rem 0 1.15rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.55;
}

.recaptcha-disclosure a {
    color: var(--text-soft);
}

.grecaptcha-badge {
    visibility: hidden;
}

.alert {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 0.92rem;
}
.alert--success {
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: var(--accent-bright);
}
.alert--error {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #fecaca;
}

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.info-list li { color: var(--text-soft); display: flex; gap: 0.6rem; align-items: center; }
.info-list a { color: var(--accent-bright); text-decoration: none; }
.info-list a:hover { text-decoration: underline; }

.hours-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.85rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-bright);
}
.hours-pill::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
    animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink {
    50% { opacity: 0.3; }
}

.map-link {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* =========================================================
   Page hero (interior)
   ========================================================= */
.page-hero {
    position: relative;
    width: 100%;
    padding-block: clamp(3rem, 7vw, 5rem);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(600px 200px at 0% 100%, rgba(74, 222, 128, 0.05), transparent 70%),
        radial-gradient(600px 200px at 100% 0%, rgba(103, 232, 249, 0.04), transparent 70%);
    overflow: hidden;
    isolation: isolate;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(to right, rgba(134, 239, 172, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(134, 239, 172, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, black, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, black, transparent 80%);
    opacity: 0.5;
}
.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    margin: 0 0 0.6rem;
    line-height: 1.05;
}
.page-hero__title .accent {
    background: linear-gradient(120deg, var(--accent-bright), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.page-hero p {
    margin: 0.5rem 0 0;
    max-width: 44rem;
    color: var(--text-soft);
    font-size: 1.05rem;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
    margin-top: 5rem;
    padding-block: 4rem 2.5rem;
    border-top: 1px solid var(--line);
    background:
        radial-gradient(800px 300px at 50% 0%, rgba(74, 222, 128, 0.04), transparent 70%),
        linear-gradient(0deg, #02050a, rgba(8, 16, 14, 0.4));
    position: relative;
    overflow: hidden;
}
.site-footer__monogram {
    position: absolute;
    bottom: -60px; right: -20px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(8rem, 18vw, 16rem);
    letter-spacing: -0.06em;
    color: rgba(134, 239, 172, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.site-footer__grid {
    display: grid;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}
@media (min-width: 800px) {
    .site-footer__grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        align-items: start;
    }
}
.site-footer__brand {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.site-footer__logo { border-radius: 12px; border: 1px solid var(--line-strong); }
.site-footer__name { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; }
.site-footer__tag {
    margin: 0.25rem 0 0;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.site-footer__nav h4 {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin: 0 0 0.85rem;
}
.site-footer__nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer__nav a {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.site-footer__nav a:hover { color: var(--accent-bright); }

.site-footer__legal {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
}
.site-footer__legal p { margin: 0; }
.site-footer__legal p + p { margin-top: 0.4rem; }

/* =========================================================
   Reveal animations
   ========================================================= */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

main#main:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
}
