/* =========================================================
   WEBDEV STARTER — CLEAN V2 THEME
   One shared design system for every main page
   ========================================================= */

:root {
    --bg: #05090b;
    --bg-soft: #070c0f;
    --bg-alt: #070d10;
    --panel: #0a1317;
    --panel-2: #0b1619;
    --text: #f1f7f6;
    --text-soft: #91a4a5;
    --text-dark: #526566;
    --accent: #00f5d4;
    --accent-soft: rgba(0, 245, 212, 0.12);
    --accent-line: rgba(0, 245, 212, 0.28);
    --border: rgba(255, 255, 255, 0.09);
    --container: 1280px;
    --header-height: 76px;
    --font-main: Arial, Helvetica, sans-serif;
    --font-mono: "Courier New", Courier, monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
    font-family: var(--font-main);
    line-height: 1.5;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.02;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(255,255,255,.5) 0,
        rgba(255,255,255,.5) 1px,
        transparent 1px,
        transparent 3px
    );
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    color: #00110e;
    background: var(--accent);
}

.container {
    width: min(calc(100% - 80px), var(--container));
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 150px 0;
}

.page-main {
    min-height: 100vh;
    background: var(--bg);
}

.eyebrow {
    margin: 0 0 16px;
    color: #617576;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: .22em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--text);
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    background: rgba(5, 9, 11, .86);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-wrap {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.brand-mark {
    color: var(--accent);
    filter: drop-shadow(0 0 12px rgba(0,245,212,.45));
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    position: relative;
    color: var(--text-soft);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: color .25s ease;
}

.site-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0,245,212,.5);
    transition: width .25s ease;
}

.site-nav a:hover {
    color: var(--accent);
}

.site-nav a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 16px;
    border: 1px solid var(--accent-line);
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.nav-cta:hover {
    color: #00110e !important;
    background: var(--accent);
    border-color: var(--accent);
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 5px 0;
    background: var(--text);
}

/* =========================================================
   HOMEPAGE HERO
   ========================================================= */

.hero-v2 {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 78% 45%, rgba(0,245,212,.07), transparent 34%),
        var(--bg);
}

.hero-v2::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to right, rgba(0,0,0,.6), transparent 75%);
}

.hero-v2-container {
    position: relative;
    z-index: 10;
}

.hero-v2-content {
    width: min(660px, 55vw);
}

.hero-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 34px;
    color: #829596;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .16em;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 14px var(--accent);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(.75); }
}

.hero-v2-title {
    display: flex;
    flex-direction: column;
    line-height: .88;
    letter-spacing: -.065em;
}

.hero-title-small {
    margin-bottom: 14px;
    color: #75898a;
    font-family: var(--font-mono);
    font-size: clamp(13px, 1vw, 16px);
    font-weight: 400;
    letter-spacing: .32em;
}

.hero-title-large {
    font-size: clamp(68px, 8vw, 132px);
    font-weight: 800;
}

.hero-title-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(0,245,212,.7);
    text-shadow: 0 0 30px rgba(0,245,212,.05);
}

.hero-v2-copy {
    max-width: 510px;
    margin-top: 38px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.8;
}

.hero-v2-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 38px;
}

.btn-v2 {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 0 25px;
    border: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .13em;
    transition: transform .25s ease, color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.btn-v2-primary {
    color: #001310;
    background: var(--accent);
    border-color: var(--accent);
}

.btn-v2-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0,245,212,.17);
}

.btn-v2-secondary {
    color: #aebbbc;
    background: rgba(255,255,255,.01);
}

.btn-v2-secondary:hover {
    color: var(--accent);
    border-color: var(--accent-line);
    transform: translateY(-3px);
}

.btn-v2-arrow {
    font-size: 17px;
}

.hero-stack {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.stack-label {
    color: #46595a;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .18em;
}

.stack-items {
    display: flex;
    gap: 16px;
}

.stack-items span {
    color: #6c7d7e;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .12em;
}

.hero-visual {
    position: absolute;
    z-index: 1;
    top: 0;
    right: -4%;
    bottom: 0;
    width: 70%;
    pointer-events: none;
}

#meshCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: .13;
    mix-blend-mode: overlay;
    background-image: repeating-radial-gradient(circle at 50% 50%, transparent 0, rgba(255,255,255,.06) 1px, transparent 2px);
    background-size: 7px 7px;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, var(--bg) 0%, rgba(5,9,11,.85) 9%, transparent 38%),
        radial-gradient(circle, transparent 45%, rgba(5,9,11,.6) 100%);
}

.visual-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(0,245,212,.45);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .14em;
}

.visual-label span {
    width: 18px;
    height: 1px;
    background: rgba(0,245,212,.45);
}

.visual-label-one { top: 25%; right: 14%; }
.visual-label-two { right: 26%; bottom: 20%; }

.hero-side-label {
    position: absolute;
    z-index: 12;
    left: 22px;
    top: 50%;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(-50%) rotate(-90deg);
    color: #405152;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .2em;
}

.side-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--accent);
}

.hero-scroll {
    position: absolute;
    z-index: 12;
    right: 38px;
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: #536667;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .17em;
    writing-mode: vertical-rl;
}

.hero-scroll-line {
    width: 1px;
    height: 45px;
    background: linear-gradient(to bottom, var(--accent), transparent);
}

/* =========================================================
   INNER PAGE HERO — SAME VISUAL LANGUAGE AS INDEX
   ========================================================= */

.page-hero {
    position: relative;
    overflow: hidden;
    padding-top: 145px;
    padding-bottom: 120px;
    background:
        radial-gradient(circle at 78% 42%, rgba(0,245,212,.07), transparent 30%),
        var(--bg);
    border-bottom: 1px solid var(--border);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to right, rgba(0,0,0,.65), transparent 82%);
}

.page-hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -180px;
    top: -170px;
    border: 1px solid rgba(0,245,212,.08);
    border-radius: 50%;
    box-shadow: 0 0 90px rgba(0,245,212,.03);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero .section-intro-v2 {
    margin-bottom: 0;
}

.page-hero h1 {
    max-width: 1080px;
    margin: 0 0 30px;
    font-size: clamp(62px, 7.2vw, 108px);
    line-height: .94;
    letter-spacing: -.06em;
}

.page-hero h1 span {
    color: var(--text-dark);
}

.page-hero .section-intro-v2 > div > p:not(.eyebrow),
.page-hero > .container > p {
    max-width: 700px;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================================
   SHARED SECTION INTRO
   ========================================================= */

.section-intro-v2 {
    display: grid;
    grid-template-columns: 90px 1fr;
    margin-bottom: 80px;
}

.section-index {
    padding-top: 8px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .15em;
}

.section-intro-v2 h2,
.process-copy h2,
.cta-v2 h2 {
    max-width: 850px;
    font-size: clamp(42px, 5.5vw, 82px);
    line-height: .98;
    letter-spacing: -.055em;
}

.section-intro-v2 h2 span,
.process-copy h2 span,
.cta-v2 h2 span {
    color: var(--text-dark);
}

/* =========================================================
   SERVICES / ROW SYSTEM
   ========================================================= */

.services-v2 {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.services-list-v2 {
    border-top: 1px solid var(--border);
}

.service-row-v2 {
    position: relative;
    display: grid;
    grid-template-columns: 80px 1.2fr 1fr 60px;
    align-items: center;
    min-height: 130px;
    border-bottom: 1px solid var(--border);
    transition: padding .35s ease, background .35s ease;
}

.service-row-v2::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    background: linear-gradient(90deg, rgba(0,245,212,.08), transparent 65%);
    transition: opacity .35s ease;
}

.service-row-v2:hover {
    padding-left: 18px;
}

.service-row-v2:hover::before {
    opacity: 1;
}

.service-row-v2 > * {
    position: relative;
    z-index: 1;
}

.service-row-number {
    color: #445657;
    font-family: var(--font-mono);
    font-size: 9px;
}

.service-row-title {
    font-size: clamp(24px, 2.4vw, 38px);
    font-weight: 600;
    letter-spacing: -.035em;
}

.service-row-description {
    max-width: 420px;
    color: #718485;
    font-size: 13px;
    line-height: 1.7;
}

.service-row-arrow {
    justify-self: end;
    color: var(--text-dark);
    font-size: 25px;
    transition: color .25s ease, transform .25s ease;
}

.service-row-v2:hover .service-row-arrow {
    color: var(--accent);
    transform: translate(5px, -5px);
}

/* =========================================================
   FEATURED WORK
   ========================================================= */

.work-v2 {
    background: var(--bg);
}

.featured-project-v2 {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
    gap: 65px;
    align-items: center;
}

.featured-project-image {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    background: #0b1417;
    border: 1px solid var(--border);
}

.featured-project-image img {
    width: 100%;
    height: 100%;
    min-height: 540px;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.featured-project-image:hover img {
    transform: scale(1.025);
}

.project-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,9,11,.68), transparent 45%);
}

.project-view-label {
    position: absolute;
    left: 30px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #d6e1e0;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .16em;
}

.project-view-label span {
    color: var(--accent);
    font-size: 17px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
    color: #55696a;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .14em;
}

.featured-project-info h3 {
    margin-bottom: 25px;
    font-size: clamp(45px, 5vw, 76px);
    line-height: .95;
    letter-spacing: -.055em;
}

.featured-project-info p {
    max-width: 420px;
    color: #7c8f90;
    font-size: 14px;
    line-height: 1.8;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}

.project-tech span {
    padding: 8px 11px;
    color: #657879;
    border: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .1em;
}

.text-link-v2 {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 8px;
    color: #b4c0c0;
    border-bottom: 1px solid var(--text-dark);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .15em;
    transition: color .25s ease, border-color .25s ease;
}

.text-link-v2 span {
    color: var(--accent);
    font-size: 17px;
}

.text-link-v2:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* =========================================================
   PROCESS / CODE WINDOWS
   ========================================================= */

.process-v2 {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.process-v2-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 110px;
    align-items: center;
}

.process-copy .section-index {
    margin-bottom: 55px;
}

.process-copy h2 {
    margin-bottom: 30px;
}

.process-copy > p:not(.eyebrow) {
    max-width: 520px;
    margin-bottom: 35px;
    color: #748788;
    font-size: 14px;
    line-height: 1.85;
}

.code-display-v2,
.contact-v2-form-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,245,212,.15);
    background: linear-gradient(135deg, rgba(0,245,212,.025), transparent), #060b0d;
    box-shadow: 0 40px 100px rgba(0,0,0,.35);
}

.code-display-v2::after {
    content: "";
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(0,245,212,.05);
    filter: blur(70px);
    pointer-events: none;
}

.code-window-top {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 9px;
}

.code-window-dots {
    display: flex;
    gap: 7px;
}

.code-window-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #334344;
}

.code-window-body {
    position: relative;
    padding: 38px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 2;
}

.code-line { white-space: nowrap; }
.code-muted { display: inline-block; width: 35px; color: #314243; user-select: none; }
.code-purple { color: #d18cff; }
.code-blue { color: #50bfff; }
.code-green { color: var(--accent); }
.code-orange { color: #ffb86c; }
.code-space { min-height: 26px; }

.code-cursor {
    width: 7px;
    height: 16px;
    margin-top: 5px;
    margin-left: 35px;
    background: var(--accent);
    animation: cursorBlink 1s steps(1) infinite;
}

@keyframes cursorBlink { 50% { opacity: 0; } }

/* =========================================================
   PRICING
   ========================================================= */

.pricing-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.pricing-v2-card {
    position: relative;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    padding: 34px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, var(--panel), var(--bg));
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.pricing-v2-card::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 0;
    height: 1px;
    opacity: 0;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: opacity .3s ease, left .3s ease, right .3s ease;
}

.pricing-v2-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-line);
    box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 0 40px rgba(0,245,212,.04);
}

.pricing-v2-card:hover::before {
    left: 4%;
    right: 4%;
    opacity: 1;
}

.pricing-v2-featured {
    border-color: rgba(0,245,212,.32);
    background: radial-gradient(circle at 70% 10%, rgba(0,245,212,.08), transparent 28%), #071012;
}

.pricing-v2-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 14px;
    color: #00120f;
    background: var(--accent);
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .13em;
}

.pricing-v2-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.pricing-v2-number {
    display: block;
    margin-bottom: 28px;
    color: #425556;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .15em;
}

.pricing-v2-card h3 {
    margin: 0;
    font-size: clamp(30px, 3vw, 44px);
    letter-spacing: -.045em;
}

.pricing-v2-icon {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 22px;
}

.pricing-v2-description {
    min-height: 95px;
    margin-bottom: 34px;
    color: #738687;
    font-size: 14px;
    line-height: 1.75;
}

.pricing-v2-price {
    padding: 27px 0;
    margin-bottom: 30px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pricing-v2-price > span {
    display: block;
    margin-bottom: 8px;
    color: #4e6162;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .15em;
}

.pricing-v2-price strong {
    display: block;
    font-size: clamp(46px, 4vw, 64px);
    line-height: 1;
    letter-spacing: -.05em;
}

.pricing-v2-price .pricing-v2-custom {
    font-size: clamp(34px, 3vw, 48px);
}

.pricing-v2-features {
    display: grid;
    gap: 13px;
    margin-bottom: 38px;
}

.pricing-v2-features span {
    position: relative;
    padding-left: 20px;
    color: #879899;
    font-size: 12px;
}

.pricing-v2-features span::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-family: var(--font-mono);
}

.pricing-v2-link {
    margin-top: auto;
    align-self: flex-start;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-v2-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 85px;
    align-items: start;
}

.contact-v2-info .section-index {
    margin-bottom: 50px;
}

.contact-v2-info h2 {
    max-width: 520px;
    margin-bottom: 28px;
    font-size: clamp(44px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -.055em;
}

.contact-v2-info h2 span {
    color: var(--text-dark);
}

.contact-v2-intro {
    max-width: 520px;
    margin-bottom: 48px;
    color: #76898a;
    font-size: 14px;
    line-height: 1.8;
}

.contact-v2-steps {
    border-top: 1px solid var(--border);
}

.contact-v2-step {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.contact-v2-step-number {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .12em;
}

.contact-v2-step strong {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
    font-weight: 600;
}

.contact-v2-step p {
    max-width: 410px;
    color: #687b7c;
    font-size: 12px;
    line-height: 1.7;
}

.contact-v2-form {
    position: relative;
    display: grid;
    gap: 26px;
    padding: 38px;
}

.contact-v2-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-v2-field {
    display: grid;
    gap: 10px;
}

.contact-v2-field > span {
    color: #637677;
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .14em;
}

.contact-v2-field input,
.contact-v2-field select,
.contact-v2-field textarea {
    width: 100%;
    padding: 13px 0;
    outline: none;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    border-radius: 0;
    color: var(--text);
    background: transparent;
    font-size: 14px;
    transition: border-color .25s ease;
}

.contact-v2-field input::placeholder,
.contact-v2-field textarea::placeholder {
    color: #455859;
}

.contact-v2-field select {
    cursor: pointer;
    color-scheme: dark;
}

.contact-v2-field select option {
    color: var(--text);
    background: #071012;
}

.contact-v2-field textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-v2-field input:focus,
.contact-v2-field select:focus,
.contact-v2-field textarea:focus {
    border-color: var(--accent);
}

.contact-v2-field small {
    color: #4e6162;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .05em;
}

.contact-v2-submit {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border: 1px solid var(--accent);
    color: #00120f;
    background: var(--accent);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}

.contact-v2-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0,245,212,.14);
}

.contact-v2-submit-arrow { font-size: 19px; }

.contact-form-note {
    margin: -5px 0 0;
    color: var(--text-dark);
    font-family: var(--font-mono);
    font-size: 8px;
    line-height: 1.7;
    letter-spacing: .05em;
}

.contact-alert {
    padding: 15px 17px;
    border: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .05em;
}

.contact-alert-success {
    color: var(--accent);
    border-color: rgba(0,245,212,.28);
    background: rgba(0,245,212,.05);
}

.contact-alert-error {
    color: #ff8585;
    border-color: rgba(255,90,90,.28);
    background: rgba(255,90,90,.05);
}

/* =========================================================
   CTA
   ========================================================= */

.cta-v2 {
    position: relative;
    overflow: hidden;
    padding: 180px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.cta-v2::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    right: -250px;
    top: -250px;
    border: 1px solid rgba(0,245,212,.08);
    border-radius: 50%;
    box-shadow: 0 0 100px rgba(0,245,212,.03);
}

.cta-v2-inner {
    position: relative;
}

.cta-v2 h2 {
    max-width: 950px;
}

.cta-circle {
    position: absolute;
    right: 0;
    top: 50%;
    width: 155px;
    height: 155px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,245,212,.4);
    border-radius: 50%;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .12em;
    transform: translateY(-50%);
    transition: color .35s ease, background .35s ease, transform .35s ease;
}

.cta-circle:hover {
    color: #00120f;
    background: var(--accent);
    transform: translateY(-50%) scale(1.06);
}

.cta-circle-arrow {
    position: absolute;
    right: 28px;
    top: 25px;
    font-size: 18px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 58px 0 28px;
    color: var(--text-dark);
    background: #040708;
    border-top: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .08em;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: start;
}

.site-footer p {
    max-width: 520px;
    margin-top: 16px;
    color: #536566;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    transition: color .2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: #536566;
}

/* =========================================================
   REVEAL
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
    .hero-v2-content { width: 65%; }
    .hero-visual { right: -18%; width: 75%; opacity: .75; }
    .featured-project-v2 { grid-template-columns: 1fr; }
    .featured-project-info { max-width: 650px; }
    .process-v2-grid,
    .contact-v2-grid { grid-template-columns: 1fr; gap: 70px; }
    .pricing-v2-grid { grid-template-columns: 1fr; }
    .pricing-v2-card { min-height: auto; }
    .pricing-v2-description { min-height: 0; }
    .cta-circle {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 60px;
        transform: none;
    }
    .cta-circle:hover { transform: scale(1.06); }
}

@media (max-width: 900px) {
    .site-nav {
        position: absolute;
        top: var(--header-height);
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 18px;
        background: rgba(5,9,11,.98);
        border: 1px solid var(--border);
        box-shadow: 0 30px 80px rgba(0,0,0,.45);
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 12px 10px; }
    .site-nav a::after { display: none; }
    .nav-toggle { display: block; }
}

@media (max-width: 800px) {
    .container { width: min(calc(100% - 40px), var(--container)); }
    .section { padding: 100px 0; }
    .hero-v2 { min-height: 900px; align-items: flex-start; }
    .hero-v2-container { padding-top: 95px; }
    .hero-v2-content { width: 100%; }
    .hero-visual { top: 220px; right: -30%; bottom: -100px; width: 130%; opacity: .55; }
    .hero-vignette { background: linear-gradient(to bottom, var(--bg) 0%, rgba(5,9,11,.7) 35%, transparent 70%); }
    .hero-title-large { font-size: clamp(56px, 15vw, 90px); }
    .hero-v2-copy { max-width: 450px; }
    .hero-side-label,
    .hero-scroll,
    .visual-label { display: none; }
    .page-hero { padding-top: 110px; padding-bottom: 90px; }
    .page-hero h1 { font-size: clamp(52px, 13vw, 82px); }
    .section-intro-v2 { grid-template-columns: 1fr; gap: 25px; }
    .service-row-v2 { grid-template-columns: 45px 1fr 40px; padding: 28px 0; }
    .service-row-description { grid-column: 2 / 3; margin-top: 10px; }
    .service-row-arrow { grid-column: 3; grid-row: 1 / 3; }
    .featured-project-image,
    .featured-project-image img { min-height: 380px; }
    .code-window-body { padding: 25px; font-size: 11px; }
}

@media (max-width: 640px) {
    .container { width: min(calc(100% - 30px), var(--container)); }
    .hero-v2 { min-height: 850px; }
    .hero-v2-container { padding-top: 75px; }
    .hero-v2-actions { align-items: stretch; flex-direction: column; }
    .btn-v2 { width: 100%; }
    .hero-stack { align-items: flex-start; flex-direction: column; gap: 10px; }
    .hero-visual { top: 360px; }
    .page-hero { padding-top: 90px; padding-bottom: 75px; }
    .page-hero h1 { font-size: clamp(46px, 14vw, 70px); }
    .section-intro-v2 h2,
    .process-copy h2,
    .cta-v2 h2 { font-size: 42px; }
    .service-row-v2 { grid-template-columns: 35px 1fr 30px; }
    .service-row-title { font-size: 23px; }
    .featured-project-image,
    .featured-project-image img { min-height: 270px; }
    .featured-project-info h3 { font-size: 48px; }
    .pricing-v2-card { padding: 28px 22px; }
    .pricing-v2-badge { position: relative; display: inline-block; align-self: flex-start; margin: -28px -22px 28px; }
    .contact-v2-form { padding: 28px 20px; }
    .contact-v2-form .form-grid { grid-template-columns: 1fr; }
    .cta-v2 { padding: 120px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    #meshCanvas { display: none; }
}

/* ================================
   COMPLETED PROJECTS
================================ */

.completed-projects-v2 {
    border-top: 1px solid rgba(82, 101, 102, 0.18);
}

.completed-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.completed-project-card {
    background: #071012;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}

.completed-project-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #111b1d;
}

.completed-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.completed-project-image:hover img {
    transform: scale(1.025);
}

.completed-project-image .project-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.02)
    );
}

.completed-project-image .project-view-label {
    position: absolute;
    left: 30px;
    bottom: 30px;

    width: auto;
    background: rgba(5, 14, 16, 0.88);
    border: 1px solid rgba(255,255,255,0.12);

    color: #eef4f3;

    padding: 14px 18px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;

    backdrop-filter: blur(8px);
}

.completed-project-image .project-view-label span {
    color: #00e0c0;
    margin-left: 10px;
}

.completed-project-content {
    padding: 34px 30px 38px;
}

.completed-project-content .project-meta {
    color: #9cacac;
}

.completed-project-content h3 {
    margin: 24px 0 14px;
    color: #f2f6f5;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1;
}

.completed-project-content p {
    color: #a9b7b7;
    line-height: 1.75;
    max-width: 620px;
}

.completed-project-content .project-tech {
    margin-top: 28px;
}

.completed-project-content .project-tech span {
    color: #c4d1d1;
    border-color: rgba(255,255,255,0.1);
}

.completed-project-content .text-link-v2 {
    display: inline-flex;
    margin-top: 32px;
    color: #e8eeee;
}

.completed-project-content .text-link-v2 span {
    color: #00e0c0;
}

@media (max-width: 800px) {
    .completed-project-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .completed-project-content {
        padding: 26px 22px 30px;
    }

    .completed-project-image .project-view-label {
        left: 20px;
        bottom: 20px;
    }
}

@media (max-width: 800px) {
    .completed-project-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }
}