@import url("sf-pro.css");
/* DigitalCorona | Corona mark CSS */
:root{
    --bg:#04040a;
    --bg-1:#0a0a14;
    --bg-2:#0d0e1c;
    --panel: rgba(18,19,34,0.55);
    --panel-solid:#0f1020;
    --ink:#eef0fb;
    --ink-soft:#9a9db8;
    --ink-faint:#5f6280;
    --line: rgba(255,255,255,0.09);
    --line-strong: rgba(255,255,255,0.18);

    --purple:#a855f7;
    --violet:#7c6cf6;
    --blue:#3b82f6;
    --cyan:#22d3ee;

    --glow-purple: rgba(168,85,247,0.35);
    --glow-blue: rgba(59,130,246,0.30);
    --glow-cyan: rgba(34,211,238,0.28);

    --radius-lg:26px;
    --radius-md:18px;
    --radius-sm:12px;

    --font-display:'Space Grotesk','Rajdhani',-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    /* Apple devices keep the system SF; everywhere else gets the embedded SF Pro Display (code/sf-pro.css), not Segoe/Roboto. */
    --font-body:-apple-system,BlinkMacSystemFont,"SF Pro Display Web","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    /* SF Pro Display itself, on every platform, for places that should always be SF (large light statements, figures). */
    --font-sf:"SF Pro Display Web",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    --font-mono:'Rajdhani',var(--font-body);
}

*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}

body{
    font-family:var(--font-body);
    background:var(--bg);
    color:var(--ink);
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
    position:relative;
}

a{color:inherit;text-decoration:none;}
ul{list-style:none;}

/* film grain + vignette, Blade Runner atmosphere */
body::before{
    content:'';
    position:fixed;
    inset:0;
    z-index:9998;
    pointer-events:none;
    background-image:
        radial-gradient(circle at 50% 0%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
    mix-blend-mode:normal;
}
body::after{
    content:'';
    position:fixed;
    inset:0;
    z-index:9999;
    pointer-events:none;
    opacity:0.05;
    background-image:repeating-linear-gradient(0deg, rgba(255,255,255,0.4) 0px, rgba(255,255,255,0.4) 1px, transparent 1px, transparent 3px);
    mix-blend-mode:overlay;
}

.wrap{
    width:100%;
    max-width:1320px;
    margin:0 auto;
    padding-left:6vw;
    padding-right:6vw;
    position:relative;
    z-index:2;
}

h1,h2,h3,h4{
    font-family:var(--font-display);
    letter-spacing:-0.01em;
    font-weight:600;
}

/* ---------- Frequency mark (reused: nav / hero / footer) ---------- */
.mark{ display:block; }
.mark canvas{ display:block; width:100%; height:100%; }

/* ---------- Nav ---------- */
nav.glass{
    position:sticky;
    top:0;
    z-index:100;
    backdrop-filter:blur(18px) saturate(160%);
    -webkit-backdrop-filter:blur(18px) saturate(160%);
    background:rgba(6,6,12,0.6);
    border-bottom:1px solid var(--line);
}
.nav-inner{
    width:100%;
    max-width:1320px;
    margin:0 auto;
    padding:8px 6vw;
    height:72px;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:relative;
    z-index:2;
}
.brand{
    display:flex;
    align-items:center;
    gap:12px;
    font-family:var(--font-display);
    font-weight:600;
    font-size:1.05rem;
    letter-spacing:0.01em;
}
.brand .mark{ width:56px; height:56px; display:block; flex:none; transition:transform .3s cubic-bezier(.34,1.56,.64,1); }
.brand:hover .mark, .brand:focus-within .mark{ transform:scale(1.1); }
.brand .b-digital{ color:var(--cyan); font-weight:500; }
.brand .b-corona{ color:var(--ink); font-weight:700; margin-left:4px; }

.nav-links{
    display:flex;
    gap:2.3rem;
    font-size:0.9rem;
    color:var(--ink-soft);
}
.nav-links a{ transition:color .2s ease; position:relative; }
.nav-links a:hover{ color:var(--cyan); }
.nav-cta{
    background:linear-gradient(90deg,var(--purple),var(--blue));
    color:#fff;
    padding:0.55rem 1.3rem;
    border-radius:100px;
    font-size:0.86rem;
    font-weight:600;
    box-shadow:0 0 0 1px rgba(255,255,255,0.08) inset, 0 8px 20px rgba(59,130,246,0.25);
    transition:transform .2s ease, box-shadow .2s ease;
    white-space:nowrap;
}
.nav-cta:hover{ transform:translateY(-1px); box-shadow:0 0 0 1px rgba(255,255,255,0.14) inset, 0 10px 26px rgba(168,85,247,0.4); }

/* Mobile menu: a drawer that slides out of the nav bar, opened by .nav-toggle. Hidden above the breakpoint
 * where .nav-links already reads fine inline; see the Responsive section for the drawer itself. */
.nav-toggle{
    display:none;
    flex:none;
    width:38px; height:38px;
    padding:0; margin-left:0.8rem;
    border:1px solid var(--line-strong);
    border-radius:10px;
    background:rgba(255,255,255,0.04);
    cursor:pointer;
    align-items:center; justify-content:center;
    gap:5px; flex-direction:column;
    /* Rests tucked slightly toward the logo; hovering (or focusing) the logo nudges it out a little, an
       invitation to click, rather than just sitting there as a flat hamburger. transform/box-shadow/border
       only, so this is compositor-only work — no layout, no repaint of anything else. */
    transform:translateX(-3px);
    box-shadow:0 0 0 0 rgba(34,211,238,0);
    transition:transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease, border-color .2s ease;
}
.nav-toggle span{
    display:block; width:18px; height:2px; border-radius:2px;
    background:var(--ink);
    transition:transform .25s ease, opacity .25s ease;
}
.brand:hover ~ .nav-toggle,
.brand:focus-within ~ .nav-toggle,
.nav-toggle:hover,
.nav-toggle:focus-visible{
    transform:translateX(0) scale(1.06);
    border-color:var(--cyan);
    box-shadow:0 0 0 4px rgba(34,211,238,0.12);
}
.nav-toggle.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
.nav-backdrop{
    position:fixed; inset:0; z-index:98;
    background:rgba(4,4,10,0.6);
    opacity:0; transition:opacity .25s ease;
    pointer-events:none;
}
.nav-backdrop.show{ opacity:1; pointer-events:auto; }
body.nav-open{ overflow:hidden; }

/* ---------- Hero ---------- */
header.hero{
    position:relative;
    padding:6.5rem 0 6rem;
    overflow:hidden;
    background:
        radial-gradient(circle at 18% 10%, var(--glow-purple), transparent 45%),
        radial-gradient(circle at 82% 0%, var(--glow-blue), transparent 45%),
        radial-gradient(circle at 60% 90%, var(--glow-cyan), transparent 50%),
        linear-gradient(180deg,#04040a 0%, #06070f 100%);
}
.hero-grid{
    display:grid;
    grid-template-columns:1.05fr 0.95fr;
    gap:3.5rem;
    align-items:center;
}
.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:rgba(168,85,247,0.12);
    border:1px solid rgba(168,85,247,0.35);
    color:#d5b8ff;
    font-family:var(--font-mono);
    font-size:0.8rem;
    font-weight:600;
    letter-spacing:0.04em;
    text-transform:uppercase;
    padding:0.4rem 0.9rem;
    border-radius:100px;
    margin-bottom:1.8rem;
}
.eyebrow .pulse{
    width:7px;height:7px;border-radius:50%;
    background:var(--cyan);
    box-shadow:0 0 0 0 rgba(34,211,238,0.6);
    animation:pulse 2s infinite;
}
@keyframes pulse{
    0%{box-shadow:0 0 0 0 rgba(34,211,238,0.5);}
    70%{box-shadow:0 0 0 8px rgba(34,211,238,0);}
    100%{box-shadow:0 0 0 0 rgba(34,211,238,0);}
}

.hero h1{
    font-size:clamp(2.5rem,5.2vw,4.4rem);
    line-height:1.03;
    color:var(--ink);
}
.hero h1 .grad{
    background:linear-gradient(100deg, var(--purple) 0%, var(--blue) 50%, var(--cyan) 100%);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
}
.hero p.lead{
    margin-top:1.6rem;
    font-size:1.15rem;
    color:var(--ink-soft);
    max-width:540px;
}
.hero-actions{
    margin-top:2.4rem;
    display:flex;
    gap:1rem;
    flex-wrap:wrap;
}
.btn-primary{
    background:linear-gradient(90deg,var(--purple),var(--blue));
    color:#fff;
    padding:0.9rem 1.8rem;
    border-radius:100px;
    font-weight:600;
    font-size:0.95rem;
    box-shadow:0 10px 30px rgba(124,108,246,0.3);
    transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
    display:inline-block;
}
.btn-primary:hover{ transform:translateY(-2px); filter:brightness(1.1); box-shadow:0 14px 34px rgba(34,211,238,0.35); }
.btn-ghost{
    padding:0.9rem 1.8rem;
    border-radius:100px;
    font-weight:600;
    font-size:0.95rem;
    border:1px solid var(--line-strong);
    color:var(--ink);
    background:rgba(255,255,255,0.02);
    transition:border-color .2s ease, transform .2s ease, color .2s ease;
}
.btn-ghost:hover{ border-color:var(--cyan); color:var(--cyan); transform:translateY(-2px); }

/* Hero corona visual */
.hero-visual{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
}
.hero-visual .corona-wrap{
    position:relative;
    width:min(420px, 100%);
    aspect-ratio:1/1;
    display:flex;
    align-items:center;
    justify-content:center;
}
.hero-visual .corona-wrap::before{
    content:'';
    position:absolute;
    inset:-10%;
    border-radius:50%;
    background:radial-gradient(circle, rgba(124,108,246,0.28), transparent 65%);
    filter:blur(10px);
    animation:coronaGlow 4s ease-in-out infinite;
}
@keyframes coronaGlow{
    0%,100%{ opacity:0.7; transform:scale(1); }
    50%{ opacity:1; transform:scale(1.05); }
}
.hero-visual .mark{ width:100%; height:100%; position:relative; z-index:2; }
.hero-visual .hv-caption{
    position:absolute;
    bottom:-2.4rem;
    left:0; right:0;
    text-align:center;
    font-family:var(--font-mono);
    font-size:0.8rem;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--ink-faint);
}

/* ---------- Section shell ---------- */
section{ padding:6rem 0; position:relative; }
.section-alt{
    background:
        radial-gradient(circle at 90% 0%, rgba(59,130,246,0.08), transparent 50%),
        var(--bg-1);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
}
.section-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:2rem;
    margin-bottom:3rem;
    flex-wrap:wrap;
}
.section-head h2{
    font-size:clamp(1.7rem,3vw,2.5rem);
    color:var(--ink);
}
.section-head p{
    color:var(--ink-soft);
    max-width:420px;
    font-size:1rem;
}
.kicker{
    text-transform:uppercase;
    font-family:var(--font-mono);
    font-size:0.78rem;
    font-weight:700;
    letter-spacing:0.14em;
    color:var(--cyan);
    margin-bottom:0.7rem;
    display:block;
}

/* waveform divider */
.waveform{
    width:100%;
    height:36px;
    opacity:0.5;
}
.waveform path{
    stroke:url(#waveGrad);
    stroke-width:2;
    fill:none;
}

/* ---------- Metrics ---------- */
.metrics-row{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1.4rem;
}
.metric-card{
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:var(--radius-md);
    padding:1.8rem;
    backdrop-filter:blur(6px);
    transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.metric-card:hover{
    transform:translateY(-4px);
    border-color:rgba(168,85,247,0.4);
    box-shadow:0 16px 40px rgba(124,108,246,0.18);
}
.metric-card .m-icon{
    width:38px;height:38px;
    border-radius:10px;
    display:flex;align-items:center;justify-content:center;
    font-size:1.05rem;
    margin-bottom:1.1rem;
    background:linear-gradient(135deg, rgba(168,85,247,0.25), rgba(34,211,238,0.2));
    border:1px solid var(--line-strong);
}
.metric-card .m-value{
    font-family:var(--font-display);
    font-size:2.1rem;
    font-weight:700;
    color:var(--ink);
}
.metric-card .m-label{
    font-size:0.9rem;
    color:var(--ink-soft);
    margin-top:0.3rem;
}
.metric-card .m-trend{
    margin-top:0.9rem;
    font-family:var(--font-mono);
    font-size:0.8rem;
    font-weight:600;
    color:var(--cyan);
    display:inline-flex;
    align-items:center;
    gap:4px;
}

/* ---------- Capabilities ---------- */
.cap-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1.6rem;
}
.cap-card{
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:var(--radius-lg);
    padding:2.4rem;
    backdrop-filter:blur(6px);
    transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position:relative;
    overflow:hidden;
}
.cap-card::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(140deg, rgba(168,85,247,0.08), transparent 40%);
    opacity:0;
    transition:opacity .3s ease;
}
.cap-card:hover::before{ opacity:1; }
.cap-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 50px rgba(34,211,238,0.14);
    border-color:rgba(34,211,238,0.35);
}
.cap-card .cap-num{
    font-family:var(--font-mono);
    font-size:0.8rem;
    font-weight:700;
    color:var(--cyan);
    letter-spacing:0.1em;
    margin-bottom:1.2rem;
    position:relative;
    z-index:1;
}
.cap-card .cap-glyph{
    width:52px;height:52px;
    border-radius:16px;
    background:linear-gradient(135deg,var(--purple),var(--blue));
    display:flex;align-items:center;justify-content:center;
    font-size:1.4rem;
    color:#fff;
    margin-bottom:1.4rem;
    box-shadow:0 8px 22px rgba(124,108,246,0.35);
    position:relative;
    z-index:1;
}
.cap-card h3{
    font-size:1.3rem;
    margin-bottom:0.8rem;
    color:var(--ink);
    position:relative;
    z-index:1;
}
.cap-card p{
    color:var(--ink-soft);
    font-size:0.98rem;
    margin-bottom:1.4rem;
    position:relative;
    z-index:1;
}
.cap-card ul{ position:relative; z-index:1; }
.cap-card ul li{
    font-size:0.9rem;
    color:var(--ink);
    padding:0.4rem 0;
    border-top:1px solid var(--line);
    display:flex;
    align-items:center;
    gap:0.6rem;
}
.cap-card ul li:first-child{ border-top:none; }
.cap-card ul li::before{
    content:'';
    width:6px;height:6px;
    border-radius:50%;
    background:var(--cyan);
    flex-shrink:0;
    box-shadow:0 0 8px var(--cyan);
}

/* ---------- Project case studies ---------- */
.project-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:1.6rem;
}
.project-card{
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:var(--radius-lg);
    overflow:hidden;
    backdrop-filter:blur(6px);
    transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    display:flex;
    flex-direction:column;
}
.project-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 50px rgba(124,108,246,0.2);
    border-color:rgba(168,85,247,0.35);
}
.project-media{
    height:170px;
    position:relative;
    display:flex;
    align-items:flex-end;
    padding:1.4rem;
    overflow:hidden;
}
.project-media::after{
    content:'';
    position:absolute; inset:0;
    background-image:repeating-linear-gradient(0deg, rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 1px, transparent 1px, transparent 4px);
}
.project-media .p-tag{
    background:rgba(4,4,10,0.65);
    border:1px solid rgba(255,255,255,0.25);
    color:#fff;
    font-family:var(--font-mono);
    font-size:0.75rem;
    font-weight:700;
    letter-spacing:0.04em;
    padding:0.35rem 0.8rem;
    border-radius:100px;
    position:relative;
    z-index:1;
}
.grad-1{ background:linear-gradient(135deg,#3b1e8f,#3b82f6); }
.grad-2{ background:linear-gradient(135deg,#8b1e6b,#a855f7); }
.grad-3{ background:linear-gradient(135deg,#0f5f6b,#22d3ee); }
.grad-4{ background:linear-gradient(135deg,#4a1e8f,#22d3ee); }
.grad-5{ background:linear-gradient(135deg,#1e3a8f,#7c6cf6 55%,#22d3ee); }

.project-body{
    padding:1.8rem;
    flex:1;
    display:flex;
    flex-direction:column;
}
.project-body .p-meta{
    font-family:var(--font-mono);
    font-size:0.78rem;
    color:var(--ink-faint);
    font-weight:600;
    letter-spacing:0.06em;
    text-transform:uppercase;
    margin-bottom:0.5rem;
}
.project-body h4{
    font-size:1.25rem;
    margin-bottom:0.6rem;
    color:var(--ink);
}
.project-body p{
    color:var(--ink-soft);
    font-size:0.95rem;
    flex:1;
}
.project-tags{
    display:flex;
    gap:0.5rem;
    margin-top:1.2rem;
    flex-wrap:wrap;
}
.project-tags .tag{
    font-family:var(--font-mono);
    font-size:0.75rem;
    font-weight:600;
    padding:0.3rem 0.7rem;
    border-radius:100px;
    background:rgba(255,255,255,0.05);
    border:1px solid var(--line);
    color:var(--ink-soft);
}
.project-stat{
    margin-top:1.2rem;
    padding-top:1.2rem;
    border-top:1px solid var(--line);
    display:flex;
    justify-content:space-between;
    font-size:0.85rem;
}
.project-stat b{ color:var(--cyan); font-family:var(--font-mono); }
.project-stat span{ color:var(--ink-faint); }

/* Double-wide card: spans both columns, media on the left, copy on the right */
.project-card-wide{
    grid-column:1 / -1;
    flex-direction:row;
}
.project-card-wide .project-media{ height:auto; min-height:260px; flex:0 0 38%; }
.project-card-wide .project-body{ padding:2.2rem; }
.project-card-wide .project-body h4{ font-size:1.55rem; }
.project-card-wide .project-stat{ align-items:center; gap:1rem; flex-wrap:wrap; }
.project-card-wide .project-stat .btn-primary{ padding:0.6rem 1.3rem; font-size:0.9rem; }

/* ---------- Tool page ---------- */
.tool-page{ padding:7rem 0 3rem; }
.tool-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:1.5rem; flex-wrap:wrap; margin-bottom:1.4rem; }
.tool-head h1{ font-size:clamp(1.8rem,4vw,2.6rem); }
.tool-head p{ color:var(--ink-soft); max-width:60ch; margin-top:0.4rem; }
.tool-frame{
    height:calc(100vh - 14rem); min-height:560px;
    border:1px solid var(--line);
    border-radius:var(--radius-lg);
    overflow:hidden;
    background:var(--bg);
    box-shadow:0 20px 60px rgba(124,108,246,0.18);
}
.tool-frame iframe{ width:100%; height:100%; }
.tool-note{ color:var(--ink-faint); font-size:0.85rem; margin-top:1rem; }

/* Expanded: the tool fills the window and the nav shrinks to a menu-bar strip */
.nav-expand{
    display:none;
    font:600 0.72rem var(--font-body);
    color:var(--ink);
    background:rgba(255,255,255,0.08);
    border:1px solid var(--line-strong);
    border-radius:6px;
    padding:0.1rem 0.6rem;
    cursor:pointer;
}
.nav-expand:hover{ border-color:var(--cyan); color:var(--cyan); }
body.tool-expanded{ overflow:hidden; }
body.tool-expanded nav.glass{ position:fixed; top:0; left:0; right:0; }
body.tool-expanded .nav-inner{ max-width:none; padding:0 14px; height:28px; }
body.tool-expanded .brand{ gap:8px; font-size:0.72rem; }
body.tool-expanded .brand .mark{ width:16px; height:16px; }
body.tool-expanded .nav-links{ gap:1.2rem; font-size:0.72rem; margin-left:auto; margin-right:1rem; }
body.tool-expanded .nav-cta{ display:none; }
body.tool-expanded .nav-expand{ display:inline-block; }
body.tool-expanded .tool-page{ padding:0; }
body.tool-expanded .tool-page .wrap{ max-width:none; padding:0; }
body.tool-expanded .tool-head,
body.tool-expanded .tool-note{ display:none; }
body.tool-expanded .tool-frame{
    position:fixed; top:28px; left:0; right:0; bottom:0; z-index:90;
    height:auto; min-height:0; border:0; border-radius:0; box-shadow:none;
}
@media (max-width: 980px){
    body.tool-expanded .nav-links{ display:none; }
    body.tool-expanded .nav-toggle{ display:none; }
    body.tool-expanded .nav-expand{ margin-left:auto; }
}

/* ---------- CTA banner ---------- */
.cta-banner{
    border-radius:var(--radius-lg);
    background:
        radial-gradient(circle at 20% 20%, var(--glow-purple), transparent 55%),
        radial-gradient(circle at 80% 30%, var(--glow-cyan), transparent 55%),
        #060610;
    border:1px solid var(--line-strong);
    padding:4rem 4vw;
    text-align:center;
    position:relative;
    overflow:hidden;
}
.cta-banner h2{
    font-size:clamp(1.7rem,3.4vw,2.6rem);
    margin-bottom:1rem;
    position:relative;
    color:var(--ink);
}
.cta-banner p{
    color:var(--ink-soft);
    max-width:480px;
    margin:0 auto 2rem;
    position:relative;
}

/* ---------- Contact form ---------- */
.contact-form{
    position:relative;
    max-width:620px;
    margin:0 auto;
    display:grid;
    gap:1rem;
    text-align:left;
}
.contact-form .cf-row{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.contact-form label{
    display:grid;
    gap:0.4rem;
    font-size:0.85rem;
    font-weight:600;
    color:var(--ink-soft);
}
.contact-form .cf-opt{ font-weight:400; color:var(--ink-faint); }
.contact-form input,
.contact-form textarea{
    width:100%;
    box-sizing:border-box;
    background:rgba(4,4,10,0.6);
    border:1px solid var(--line-strong);
    border-radius:var(--radius-sm);
    color:var(--ink);
    font:inherit;
    font-size:1rem;
    font-weight:400;
    padding:0.75rem 0.9rem;
    transition:border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea{ resize:vertical; min-height:7.5rem; }
.contact-form input:focus,
.contact-form textarea:focus{
    outline:none;
    border-color:var(--violet);
    box-shadow:0 0 0 3px rgba(124,108,246,0.25);
}
.contact-form .cf-hp{ position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.contact-form .cf-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:1rem; }
.contact-form button{ border:0; cursor:pointer; font-family:inherit; }
.contact-form button:disabled{ opacity:0.6; cursor:default; transform:none; }
.contact-form .cf-status,
.contact-form .cf-note{ margin:0; max-width:none; font-size:0.85rem; }
.contact-form .cf-status.ok{ color:var(--cyan); }
.contact-form .cf-status.err{ color:#fb7185; }
.contact-form .cf-note{ color:var(--ink-faint); }
.contact-form.sent label,
.contact-form.sent .cf-row,
.contact-form.sent button,
.contact-form.sent .cf-note{ display:none; }
@media (max-width: 560px){
    .contact-form .cf-row{ grid-template-columns:1fr; }
}

/* ---------- Footer ---------- */
footer{
    border-top:1px solid var(--line);
    padding:3rem 0 2.4rem;
    background:var(--bg-1);
}
.footer-grid{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:1.2rem;
}
.footer-links{
    display:flex;
    gap:1.6rem;
    font-size:0.88rem;
    color:var(--ink-soft);
}
.footer-links a:hover{ color:var(--cyan); }
.footer-copy{
    font-family:var(--font-mono);
    font-size:0.82rem;
    color:var(--ink-faint);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
    .hero-grid{ grid-template-columns:1fr; }
    .hero-visual{ order:-1; }
    .hero-visual .corona-wrap{ width:min(280px, 60%); margin:0 auto; }
    .metrics-row{ grid-template-columns:repeat(2,1fr); }
    .cap-grid{ grid-template-columns:1fr; }
    .project-grid{ grid-template-columns:1fr; }
    .project-card-wide{ flex-direction:column; }
    .project-card-wide .project-media{ flex:none; min-height:170px; }
    .nav-toggle{ display:flex; }
    .nav-links{
        position:fixed;
        top:0; right:0; bottom:0;
        width:min(80vw, 320px);
        margin:0; padding:88px 1.8rem 2rem;
        flex-direction:column;
        gap:0;
        background:rgba(6,6,12,0.94);
        backdrop-filter:blur(18px) saturate(160%);
        -webkit-backdrop-filter:blur(18px) saturate(160%);
        border-left:1px solid var(--line);
        box-shadow:-20px 0 50px rgba(0,0,0,0.4);
        transform:translateX(100%);
        transition:transform .32s cubic-bezier(.4,0,.2,1);
        z-index:99;
        overflow-y:auto;
    }
    .nav-links.open{ transform:translateX(0); }
    .nav-links a{
        display:block;
        padding:1rem 0;
        font-size:1.05rem;
        border-bottom:1px solid var(--line);
    }
}
@media (max-width: 560px){
    .nav-inner{ padding-top:12px; padding-bottom:12px; }
    .brand .mark{ width:48px; height:48px; }
    .nav-cta{ display:none; }
    .wrap{ padding-left:5vw; padding-right:5vw; }
    header.hero{ padding:4.5rem 0 3.5rem; }
    section{ padding:4rem 0; }
    .metrics-row{ grid-template-columns:1fr 1fr; }
    .cta-banner{ padding:3rem 6vw; }
}
