/*
 * Tundra Wolf Technologies campaign site
 * A small, framework-free stylesheet intentionally built for fast PHP hosting.
 */

:root {
    --navy: #0a1528;
    --navy-deep: #050c1a;
    --navy-soft: #10213e;
    --ink: #14213a;
    --muted: #60708a;
    --line: #d9e2ee;
    --paper: #f6f9fd;
    --white: #fff;
    --ice: #dee8f8;
    --cyan: #22d3ee;
    --blue: #3b82f6;
    --indigo: #6366f1;
    --danger: #b42318;
    --success: #047857;
    --radius-sm: 0.65rem;
    --radius: 1.1rem;
    --radius-lg: 1.75rem;
    --shadow-sm: 0 10px 30px rgba(14, 33, 61, 0.08);
    --shadow: 0 22px 65px rgba(5, 20, 48, 0.16);
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }

body {
    margin: 0;
    min-width: 20rem;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; text-underline-offset: 0.2em; }

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

button,
select { cursor: pointer; }

button:disabled { cursor: not-allowed; opacity: 0.7; }

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

.shell { width: min(100% - 2.5rem, 75rem); margin-inline: auto; }

.visually-hidden {
    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: fixed;
    z-index: 100;
    top: 0.7rem;
    left: 0.7rem;
    padding: 0.6rem 0.8rem;
    color: var(--navy);
    background: var(--white);
    border-radius: 0.4rem;
    box-shadow: var(--shadow);
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(218, 229, 244, 0.05);
    background: rgba(10, 21, 40, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.85rem;
    gap: 1rem;
}

.brand { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }

.brand-logo { width: 2.7rem; height: 2.7rem; padding: 0.08rem; object-fit: contain; background: #fff; border-radius: 0.48rem; }

.brand-words {
    display: inline-flex;
    flex-direction: column;
    margin-left: 0.5rem;
    color: var(--white);
    font-weight: 850;
    font-size: 1.02rem;
    line-height: 0.9;
    letter-spacing: -0.045em;
}

.brand-words small {
    margin-top: 0.3rem;
    color: var(--ice);
    font-size: 0.49rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.brand-text {
    display: inline-flex;
    flex-direction: column;
    color: var(--white);
    font-weight: 850;
    font-size: 1.08rem;
    line-height: 0.9;
    letter-spacing: -0.045em;
}

.brand-text::before {
    width: 1.55rem;
    height: 0.25rem;
    margin-bottom: 0.32rem;
    content: "";
    border-radius: 9px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.brand-text small {
    margin-top: 0.3rem;
    color: var(--ice);
    font-size: 0.49rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: clamp(0.9rem, 2.4vw, 2rem); }

.site-nav > a:not(.button) {
    color: #cbd9eb;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 150ms ease;
}

.site-nav > a:not(.button):hover,
.site-nav > a:not(.button):focus-visible { color: var(--white); }

.menu-toggle { display: none; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.25rem;
    padding: 0.75rem 1.1rem;
    color: var(--navy);
    background: linear-gradient(105deg, var(--cyan), #75e8f5 50%, #a2eff8);
    border: 1px solid transparent;
    border-radius: 0.65rem;
    box-shadow: 0 8px 24px rgba(34, 211, 238, 0.22);
    font-size: 0.91rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.button:hover { box-shadow: 0 13px 30px rgba(34, 211, 238, 0.33); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-small { min-height: 2.7rem; padding: 0.55rem 0.78rem; font-size: 0.78rem; }
.button-header { max-width: 15.4rem; }

.button-dark {
    color: var(--white);
    background: #172b4b;
    border-color: #29466f;
    box-shadow: none;
}

.button-dark:hover { background: #223c66; box-shadow: 0 13px 30px rgba(4, 13, 32, 0.28); }

.button-quiet {
    color: #d6e5f8;
    background: transparent;
    border-color: rgba(174, 205, 237, 0.46);
    box-shadow: none;
}

.button-quiet:hover { color: var(--white); background: rgba(255, 255, 255, 0.09); box-shadow: none; }

.text-link,
.text-button {
    color: inherit;
    background: transparent;
    border: 0;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: currentcolor;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25em;
}

.text-button { padding: 0; }

.eyebrow {
    margin: 0 0 0.85rem;
    color: #147d9b;
    font-size: 0.73rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow-light { color: var(--cyan); }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 { color: var(--ink); line-height: 1.04; letter-spacing: -0.055em; }
h1 { margin-bottom: 1.3rem; font-size: clamp(2.45rem, 5.3vw, 5.6rem); font-weight: 850; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4.1vw, 3.95rem); font-weight: 850; }
h3 { margin-bottom: 0.65rem; font-size: clamp(1.22rem, 1.8vw, 1.55rem); font-weight: 800; }

.section { position: relative; padding: clamp(4.6rem, 9vw, 8.8rem) 0; overflow: clip; }
.section-dark { color: var(--ice); background: var(--navy); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--cyan); }

.section-heading { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(17rem, 0.55fr); gap: 1.8rem; align-items: end; margin-bottom: clamp(2.3rem, 4vw, 4rem); }
.section-heading p:last-child { max-width: 35rem; margin-bottom: 0.35rem; color: var(--muted); font-size: 1.02rem; }
.section-dark .section-heading p:last-child { color: #b9cae3; }

/* Hero */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--ice);
    background:
        radial-gradient(circle at 79% 31%, rgba(59, 130, 246, 0.35), transparent 25rem),
        radial-gradient(circle at 9% 5%, rgba(34, 211, 238, 0.17), transparent 29rem),
        var(--navy);
}

.hero::before,
.hero::after { position: absolute; z-index: -1; content: ""; pointer-events: none; }
.hero::before { right: -20vw; bottom: -11rem; width: min(60rem, 90vw); height: min(60rem, 90vw); border: 1px solid rgba(123, 190, 251, 0.16); border-radius: 50%; box-shadow: 0 0 0 4.5rem rgba(123, 190, 251, 0.03), 0 0 0 9rem rgba(123, 190, 251, 0.025); }
.hero::after { top: 9rem; left: -4rem; width: 11rem; height: 11rem; border: 1px solid rgba(34, 211, 238, 0.17); transform: rotate(35deg); }

.hero-inner { display: grid; grid-template-columns: minmax(0, 0.91fr) minmax(26rem, 0.98fr); align-items: center; gap: clamp(2.6rem, 6vw, 7rem); min-height: min(48rem, calc(100vh - 4.85rem)); padding-top: clamp(4.4rem, 7vw, 7.2rem); padding-bottom: clamp(4.7rem, 8vw, 7.8rem); }

.hero-copy { position: relative; z-index: 1; }
.hero h1 { max-width: 49rem; color: var(--white); }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-lede { max-width: 39rem; margin-bottom: 1.5rem; color: #c7d6e9; font-size: clamp(1.03rem, 1.65vw, 1.21rem); }
.hero-promise { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 1.8rem; color: var(--white); font-size: clamp(1.04rem, 1.7vw, 1.27rem); font-weight: 800; letter-spacing: -0.025em; }
.hero-promise::before { width: 2.15rem; height: 2px; content: ""; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-actions .text-link { color: #dbeafe; padding: 0.6rem; }
.trust-line { display: flex; align-items: center; gap: 0.48rem; margin-top: 2.6rem; color: #a6bad7; font-size: 0.82rem; font-weight: 650; }
.trust-line svg { flex: 0 0 auto; color: var(--cyan); }

.hero-showcase { position: relative; min-height: 25rem; }
.hero-slide { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; opacity: 0; transform: translate3d(0, 0.8rem, 0) scale(0.985); transition: opacity 900ms ease, transform 900ms cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.hero-slide.is-active { position: relative; opacity: 1; transform: translate3d(0, 0, 0) scale(1); }

.browser-frame {
    position: relative;
    width: min(100%, 38rem);
    padding: 0.58rem;
    overflow: hidden;
    background: #e8f4ff;
    border: 1px solid rgba(230, 247, 255, 0.58);
    border-radius: 0.92rem;
    box-shadow: 0 2.2rem 6rem rgba(1, 9, 27, 0.48), 0 0 0 1.2rem rgba(78, 144, 226, 0.08);
}

.browser-top { display: flex; align-items: center; gap: 0.3rem; height: 1.1rem; padding: 0 0.1rem 0.48rem; }
.browser-top i { width: 0.42rem; height: 0.42rem; border-radius: 50%; background: #a3b7ce; }
.browser-top i:first-child { background: #fb7185; }.browser-top i:nth-child(2) { background: #fbbf24; }.browser-top i:nth-child(3) { background: #4ade80; }
.browser-image { width: 100%; aspect-ratio: 1.42 / 1; object-fit: cover; object-position: top center; background: linear-gradient(130deg, #abc6e4, #eaf4ff); }

.phone-frame {
    position: absolute;
    right: -1.8rem;
    bottom: -2rem;
    width: clamp(7.3rem, 15vw, 10.3rem);
    padding: 0.38rem;
    overflow: hidden;
    background: #0a1428;
    border: 2px solid #a5c8ec;
    border-radius: 1.35rem;
    box-shadow: 0 1.4rem 3.6rem rgba(1, 7, 19, 0.5);
    transform: rotate(5deg);
}
.phone-frame::before { display: block; width: 2.8rem; height: 0.45rem; margin: 0 auto 0.22rem; content: ""; border-radius: 20px; background: #0b1425; }
.phone-frame img { width: 100%; aspect-ratio: 0.49; object-fit: cover; object-position: top center; border-radius: 0.95rem; background: #aac3e3; }
.hero-project-label { position: absolute; bottom: 1rem; left: -1rem; max-width: 13rem; padding: 0.75rem 0.9rem; color: #0a1831; background: rgba(245, 251, 255, 0.95); border-radius: 0.65rem; box-shadow: var(--shadow-sm); font-size: 0.77rem; font-weight: 800; line-height: 1.25; }
.hero-project-label span { display: block; margin-top: 0.18rem; color: #60708a; font-size: 0.7rem; font-weight: 650; }

/* Portfolio */
.work-section { background: linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%); }
.work-section::before { position: absolute; top: 2rem; right: -12rem; width: 40rem; height: 40rem; content: ""; border: 1px solid rgba(59, 130, 246, 0.1); border-radius: 50%; pointer-events: none; }
.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.project-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; color: var(--ink); background: var(--white); border: 1px solid rgba(178, 197, 219, 0.65); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform 260ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms ease, border-color 260ms ease; }
.project-card:hover { border-color: rgba(59, 130, 246, 0.44); box-shadow: var(--shadow); transform: translateY(-0.45rem); }
.project-card:focus-visible { outline-offset: 5px; }
.project-card.featured { grid-column: span 7; }
.project-card.tall { grid-column: span 5; }
.project-card.small { grid-column: span 4; }
.project-card.wide { grid-column: span 8; }
.project-visual { position: relative; padding: clamp(0.8rem, 1.7vw, 1.35rem); overflow: hidden; background: var(--project-wash, #dceeff); }
.project-visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(140deg, transparent 36%, rgba(255, 255, 255, 0.28) 100%); pointer-events: none; }
.project-card .browser-frame { width: 100%; padding: 0.45rem; border-radius: 0.66rem; box-shadow: 0 1.3rem 2.8rem rgba(28, 48, 78, 0.2); }
.project-card .browser-top { height: 0.8rem; padding-bottom: 0.25rem; }.project-card .browser-top i { width: 0.29rem; height: 0.29rem; }
.project-card .browser-image { aspect-ratio: var(--image-aspect, 1.47 / 1); }
.project-ahead { --project-wash: #dce9f4; --image-aspect: 1.43 / 1; }
.project-after-midnight { --project-wash: #e8edf8; --image-aspect: 1.12 / 1; }
.project-sweet-cravings { --project-wash: #f7e7e2; --image-aspect: 1.21 / 1; }
.project-rotag { --project-wash: #e0edf4; --image-aspect: 1.21 / 1; }
.project-pintail { --project-wash: #e3eeeb; --image-aspect: 1.52 / 1; }
.project-card .phone-frame { right: 0.9rem; bottom: 0.7rem; width: clamp(5.5rem, 9vw, 7rem); }
.project-card .phone-frame::before { width: 1.8rem; height: 0.28rem; margin-bottom: 0.13rem; }.project-card .phone-frame img { border-radius: 0.65rem; }
.project-details { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.25rem 1.3rem; }
.project-details h3 { margin: 0 0 0.18rem; font-size: 1.17rem; }.project-details p { margin: 0; color: var(--muted); font-size: 0.82rem; font-weight: 650; }.project-arrow { display: grid; flex: 0 0 auto; width: 2.15rem; height: 2.15rem; place-items: center; color: var(--blue); border: 1px solid #cbdcf0; border-radius: 50%; font-size: 1.1rem; transition: color 180ms ease, background 180ms ease, transform 180ms ease; }.project-card:hover .project-arrow { color: var(--white); background: var(--blue); transform: translateX(0.2rem); }

/* Outcomes */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.outcome { min-height: 16rem; padding: clamp(1.35rem, 2.3vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(15, 42, 72, 0.04); }
.outcome-icon { display: grid; width: 3rem; height: 3rem; place-items: center; margin-bottom: 1.7rem; color: var(--blue); background: #e9f7fb; border-radius: 0.8rem; }
.outcome p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* Lifecycle */
.lifecycle { background: radial-gradient(circle at 90% 5%, rgba(59, 130, 246, 0.25), transparent 28rem), linear-gradient(130deg, #060e1d, var(--navy)); }
.lifecycle::after { position: absolute; right: -10rem; bottom: -15rem; width: 43rem; height: 43rem; content: ""; border: 1px solid rgba(107, 207, 253, 0.18); border-radius: 50%; box-shadow: 0 0 0 5.5rem rgba(107, 207, 253, 0.025), 0 0 0 11rem rgba(107, 207, 253, 0.018); }
.lifecycle .shell { position: relative; z-index: 1; }
.promise-display { max-width: 60rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); font-size: clamp(2.65rem, 6vw, 6.35rem); font-weight: 850; line-height: 0.9; letter-spacing: -0.075em; }
.promise-display span { display: block; }.promise-display span:nth-child(2) { padding-left: clamp(1.5rem, 8vw, 8.5rem); color: var(--cyan); }.promise-display span:nth-child(3) { padding-left: clamp(0.5rem, 3vw, 3.4rem); color: #8dbdff; }
.service-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-pillar { min-height: 16.8rem; padding: clamp(1.3rem, 2.5vw, 2rem); background: rgba(21, 47, 85, 0.5); border: 1px solid rgba(161, 202, 245, 0.2); border-radius: var(--radius); backdrop-filter: blur(8px); }.service-pillar .pillar-number { display: block; margin-bottom: 2.1rem; color: var(--cyan); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.15em; }.service-pillar p { margin: 0; color: #b7cbe5; font-size: 0.9rem; }.service-pillar h3 { margin-bottom: 0.65rem; font-size: 1.4rem; }.lifecycle-note { margin: 2rem 0 0; color: var(--white); font-size: 1.05rem; font-weight: 750; }

/* Two paths & process */
.paths { background: var(--white); }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #cadaee; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.path-card { position: relative; min-height: 22rem; padding: clamp(1.7rem, 4vw, 3.5rem); overflow: hidden; }.path-card:first-child { background: #ecf8fc; }.path-card:last-child { color: var(--ice); background: var(--navy); }.path-card:last-child h3 { color: var(--white); }.path-card::after { position: absolute; right: -2.5rem; bottom: -4rem; width: 14rem; height: 14rem; content: ""; border: 1px solid currentColor; border-radius: 50%; opacity: 0.14; }.path-card h3 { max-width: 20rem; margin-bottom: 1.1rem; font-size: clamp(1.7rem, 3vw, 2.6rem); }.path-card p { max-width: 28rem; color: #4d6381; }.path-card:last-child p { color: #bed0e9; }.path-card .button { position: relative; z-index: 1; margin-top: 1rem; }.path-card:last-child .button { color: var(--navy); background: var(--white); box-shadow: none; }

.process-section { background: #edf4fb; }.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.3rem; counter-reset: process; }.process-step { position: relative; padding-top: 1.25rem; border-top: 2px solid #b8ceeb; }.process-step::before { display: block; margin-bottom: 1.5rem; color: var(--blue); content: "0" counter(process); counter-increment: process; font-size: 0.8rem; font-weight: 850; letter-spacing: 0.15em; }.process-step p { margin: 0; color: var(--muted); font-size: 0.93rem; }.process-close { margin: 3.3rem 0 0; color: var(--navy); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: -0.035em; }

/* Trust and pricing */
.trust-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(19rem, 1.08fr); gap: clamp(2rem, 8vw, 8rem); align-items: start; }.trust-intro p:last-child { max-width: 35rem; color: var(--muted); }.trust-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }.trust-list li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.8rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }.trust-list svg { width: 1.45rem; color: var(--cyan); }.trust-list strong { display: block; margin-bottom: 0.28rem; color: var(--navy); font-size: 0.92rem; letter-spacing: 0.04em; }.trust-list span { color: var(--muted); font-size: 0.91rem; }
.pricing-band { padding-top: clamp(4rem, 7vw, 7rem); padding-bottom: clamp(4rem, 7vw, 7rem); background: #dff5fa; }.pricing-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(16rem, 0.65fr); gap: 2rem; align-items: end; }.pricing-inner h2 { max-width: 36rem; margin-bottom: 0; }.pricing-inner p { max-width: 30rem; margin: 0; color: #36526f; }.pricing-inner p + p { margin-top: 1rem; }

/* Form */
.game-plan { background: radial-gradient(circle at 6% 15%, rgba(34, 211, 238, 0.17), transparent 23rem), radial-gradient(circle at 93% 89%, rgba(99, 102, 241, 0.2), transparent 30rem), var(--navy); }.game-plan .shell { position: relative; z-index: 1; }.game-plan h2 { max-width: 45rem; color: var(--white); }.game-plan-intro { max-width: 43rem; color: #c2d2e9; font-size: 1.05rem; }.game-plan-assurance { display: flex; gap: 0.6rem; align-items: flex-start; max-width: 37rem; margin: 1.4rem 0 2.2rem; color: #a9c0df; font-size: 0.88rem; }.game-plan-assurance svg { flex: 0 0 auto; margin-top: 0.18rem; color: var(--cyan); }
.form-shell { padding: clamp(1.1rem, 3vw, 2rem); color: var(--ink); background: #f9fcff; border: 1px solid rgba(202, 226, 247, 0.8); border-radius: var(--radius-lg); box-shadow: 0 1.8rem 5.4rem rgba(0, 5, 19, 0.28); }.form-shell h3 { margin-bottom: 0.35rem; }.form-shell > p { margin-bottom: 1.4rem; color: var(--muted); font-size: 0.9rem; }.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }.field { min-width: 0; }.field-full { grid-column: 1 / -1; }.field label, .field > span { display: block; margin-bottom: 0.4rem; color: #263c5b; font-size: 0.82rem; font-weight: 800; }.optional { color: var(--muted); font-weight: 650; }.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 3rem; padding: 0.66rem 0.78rem; color: var(--ink); background: var(--white); border: 1px solid #b9c9dc; border-radius: var(--radius-sm); font-size: 0.94rem; line-height: 1.3; transition: border-color 150ms ease, box-shadow 150ms ease; }.field textarea { min-height: 7.65rem; resize: vertical; }.field input::placeholder, .field textarea::placeholder { color: #8292a8; opacity: 1; }.field input:hover, .field select:hover, .field textarea:hover { border-color: #789fca; }.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.17); }.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }.field-error { margin: 0.35rem 0 0; color: var(--danger); font-size: 0.77rem; font-weight: 700; }.form-hint { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.75rem; }.form-submit { grid-column: 1 / -1; margin-top: 0.25rem; }.form-submit .button { width: 100%; }.privacy-note { grid-column: 1 / -1; margin: 0.15rem 0 0; color: var(--muted); font-size: 0.75rem; line-height: 1.5; }.privacy-note a { color: #285484; }.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin: 0 0 1rem; padding: 0.8rem 0.9rem; border-radius: 0.6rem; font-size: 0.88rem; font-weight: 650; }.form-alert-error { color: #8c1c13; background: #fff1f0; border: 1px solid #f5bab5; }.form-alert-success { color: #075d49; background: #ecfdf5; border: 1px solid #9ce6c7; }

/* Footer */
.site-footer { color: #b9cae2; background: var(--navy-deep); }.footer-inner { display: flex; justify-content: space-between; gap: 2rem; padding-top: 3rem; padding-bottom: 2.5rem; }.footer-brand { margin-bottom: 1rem; }.footer-inner p { margin: 0; font-size: 0.83rem; }.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; gap: 0.7rem 1.2rem; max-width: 25rem; }.footer-links a, .footer-links .text-button { color: #d8e6f7; font-size: 0.81rem; font-weight: 700; }.footer-bottom { padding-top: 1rem; padding-bottom: 1.4rem; border-top: 1px solid rgba(178, 205, 237, 0.16); }.footer-bottom p { margin: 0; color: #7f96b7; font-size: 0.72rem; }

/* Legal and errors */
.legal-page { min-height: calc(100vh - 4.85rem); background: #f7fbff; }.legal-hero { padding: clamp(4rem, 9vw, 7rem) 0 clamp(2.8rem, 5vw, 4.5rem); color: var(--ice); background: radial-gradient(circle at 78% 26%, rgba(59, 130, 246, 0.3), transparent 25rem), var(--navy); }.legal-hero h1 { max-width: 55rem; margin-bottom: 0; color: var(--white); font-size: clamp(2.6rem, 6vw, 5rem); }.legal-hero p:last-child { max-width: 42rem; margin: 1rem 0 0; color: #c6d8ef; }.legal-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem); gap: clamp(2rem, 7vw, 6rem); padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(4rem, 8vw, 7rem); }.legal-contents { position: sticky; top: 6.5rem; align-self: start; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 0.75rem; }.legal-contents strong { display: block; margin-bottom: 0.55rem; font-size: 0.8rem; }.legal-contents a { display: block; padding: 0.35rem 0; color: #416589; font-size: 0.8rem; text-decoration: none; }.legal-contents a:hover { text-decoration: underline; }.prose { max-width: 48rem; }.prose section { padding-top: 0.35rem; margin-bottom: 2.6rem; scroll-margin-top: 6.5rem; }.prose h2 { margin-bottom: 0.8rem; font-size: clamp(1.45rem, 2.7vw, 2.1rem); }.prose h3 { margin-top: 1.5rem; font-size: 1.15rem; }.prose p, .prose li { color: #405571; }.prose ul { padding-left: 1.25rem; }.prose li + li { margin-top: 0.38rem; }.last-updated { color: #69809d; font-size: 0.81rem; }.not-found { display: grid; min-height: calc(100vh - 4.85rem); place-items: center; padding: 5rem 0; color: var(--ice); text-align: center; background: radial-gradient(circle at 50% 20%, rgba(34, 211, 238, 0.2), transparent 25rem), var(--navy); }.not-found .shell { max-width: 47rem; }.not-found-code { margin: 0 0 0.5rem; color: var(--cyan); font-size: clamp(6rem, 18vw, 13rem); font-weight: 850; line-height: 0.8; letter-spacing: -0.1em; }.not-found h1 { color: var(--white); }.not-found p:not(.eyebrow):not(.not-found-code) { max-width: 35rem; margin: 0 auto 2rem; color: #c6d8ef; }.not-found-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
.success-panel { max-width: 40rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem); color: var(--ink); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); text-align: left; }.success-mark { display: grid; width: 3rem; height: 3rem; place-items: center; margin-bottom: 1.4rem; color: var(--success); background: #d1fae5; border-radius: 50%; font-size: 1.5rem; font-weight: 800; }

/* Cookie preferences */
.cookie-banner { position: fixed; z-index: 40; right: 1rem; bottom: 1rem; width: min(36rem, calc(100% - 2rem)); display: flex; align-items: center; justify-content: space-between; gap: 0.8rem 1rem; padding: 0.95rem 1.05rem; color: #d4e4f8; background: rgba(6, 18, 36, 0.97); border: 1px solid rgba(147, 190, 235, 0.34); border-radius: 1rem; box-shadow: 0 1.4rem 4rem rgba(0, 5, 17, 0.42); }.cookie-copy { max-width: 40rem; }.cookie-copy .eyebrow { margin-bottom: 0.25rem; color: var(--cyan); font-size: 0.61rem; }.cookie-copy p:not(.eyebrow) { margin: 0; font-size: 0.75rem; line-height: 1.42; }.cookie-copy a { display: inline-block; margin-top: 0.25rem; color: var(--cyan); font-size: 0.72rem; font-weight: 700; }.cookie-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.45rem; }.cookie-actions .text-button { color: #d4e4f8; font-size: 0.72rem; }.preference-backdrop { position: fixed; z-index: 49; inset: 0; background: rgba(0, 8, 22, 0.65); }.preference-panel { position: fixed; z-index: 50; top: 50%; left: 50%; width: min(calc(100% - 2rem), 38rem); max-height: calc(100dvh - 2rem); padding: clamp(1.1rem, 3vw, 1.8rem); overflow: auto; color: var(--ink); background: #fbfdff; border: 1px solid #d3e2f1; border-radius: 1rem; box-shadow: var(--shadow); transform: translate(-50%, -50%); }.preference-panel h2 { margin-bottom: 0; font-size: clamp(1.5rem, 3vw, 2rem); }.preference-panel > p { color: var(--muted); font-size: 0.86rem; }.preference-panel-head { display: flex; gap: 1rem; justify-content: space-between; }.dialog-close { display: grid; flex: 0 0 auto; width: 2.2rem; height: 2.2rem; place-items: center; padding: 0; color: #435b79; background: #edf4fb; border: 0; border-radius: 50%; font-size: 1.5rem; line-height: 1; }.preference-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }.preference-row strong, .preference-row span span { display: block; }.preference-row strong { color: var(--navy); font-size: 0.88rem; }.preference-row span span { margin-top: 0.14rem; color: var(--muted); font-size: 0.76rem; }.status-pill { padding: 0.18rem 0.5rem; color: #19664c; background: #d1fae5; border-radius: 999px; font-size: 0.67rem; font-weight: 800; white-space: nowrap; }.preference-toggle { position: relative; cursor: pointer; }.preference-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }.toggle-ui { position: relative; display: block; flex: 0 0 auto; width: 2.8rem; height: 1.6rem; border-radius: 999px; background: #b3c1d1; transition: background 150ms ease; }.toggle-ui::after { position: absolute; top: 0.22rem; left: 0.22rem; width: 1.16rem; height: 1.16rem; content: ""; background: var(--white); border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.23); transition: transform 150ms ease; }.preference-toggle input:checked + .toggle-ui { background: var(--blue); }.preference-toggle input:checked + .toggle-ui::after { transform: translateX(1.2rem); }.preference-toggle input:focus-visible + .toggle-ui { outline: 3px solid var(--cyan); outline-offset: 3px; }.preference-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.6rem; margin-top: 0.5rem; }

/* Reveal states are only enabled after JavaScript is running. */
.js [data-reveal] { opacity: 0; transform: translateY(1.5rem); transition: opacity 620ms ease, transform 620ms cubic-bezier(.2,.8,.2,1); }.js [data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 62rem) {
    .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(23rem, 0.78fr); gap: 2.5rem; }
    .site-nav { gap: 1rem; }.site-nav > a:not(.button) { font-size: 0.78rem; }.button-header { max-width: 12rem; }
    .project-card.featured { grid-column: span 7; }.project-card.tall { grid-column: span 5; }.project-card.small { grid-column: span 6; }.project-card.wide { grid-column: span 6; }
}

@media (max-width: 48rem) {
    .shell { width: min(100% - 2rem, 75rem); }
    .header-inner { min-height: 4.35rem; }.brand-logo { width: 2.35rem; height: 2.35rem; }.brand-words { margin-left: 0.42rem; font-size: 0.92rem; }.menu-toggle { display: grid; width: 2.7rem; height: 2.7rem; place-content: center; gap: 0.38rem; padding: 0; color: var(--white); background: transparent; border: 1px solid rgba(216, 234, 255, 0.35); border-radius: 0.55rem; }.menu-toggle > span:not(.visually-hidden) { display: block; width: 1.1rem; height: 2px; background: currentColor; transition: transform 160ms ease; }.menu-toggle[aria-expanded="true"] > span:not(.visually-hidden):first-of-type { transform: translateY(0.25rem) rotate(45deg); }.menu-toggle[aria-expanded="true"] > span:not(.visually-hidden):last-of-type { transform: translateY(-0.25rem) rotate(-45deg); }.site-nav { position: absolute; top: 100%; right: 0.85rem; left: 0.85rem; display: grid; gap: 0; padding: 0.65rem; background: #10213e; border: 1px solid rgba(181, 210, 242, 0.21); border-radius: 0.8rem; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-0.45rem); transition: opacity 150ms ease, transform 150ms ease; }.site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }.site-nav > a:not(.button) { padding: 0.8rem 0.7rem; font-size: 0.9rem; }.site-nav .button { max-width: none; margin-top: 0.4rem; }
    .hero-inner { grid-template-columns: 1fr; min-height: auto; gap: 2rem; padding-top: 4.35rem; padding-bottom: 5.7rem; }.hero-showcase { min-height: 20rem; max-width: 32rem; margin-left: auto; }.hero-project-label { bottom: -0.7rem; left: -0.45rem; }.phone-frame { right: -0.3rem; }
    .section-heading { grid-template-columns: 1fr; gap: 0; }.section-heading p:last-child { margin-bottom: 0; }
    .outcomes, .service-pillars, .process-list { grid-template-columns: 1fr; }.outcome { min-height: 0; }.service-pillar { min-height: 0; }.service-pillar .pillar-number { margin-bottom: 1.3rem; }.process-list { gap: 1.4rem; }.process-close { margin-top: 2.3rem; }
    .path-grid, .trust-grid, .pricing-inner { grid-template-columns: 1fr; }.path-card { min-height: 0; }.path-card + .path-card { border-top: 1px solid rgba(202, 218, 238, 0.32); }.pricing-inner { gap: 1.25rem; }
    .legal-content { grid-template-columns: 1fr; }.legal-contents { position: static; }.legal-contents nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0.8rem; }
    .footer-inner { flex-direction: column; gap: 1.6rem; }.footer-links { justify-content: flex-start; }
}

@media (max-width: 37rem) {
    h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); }.hero-actions { align-items: stretch; }.hero-actions .button { width: 100%; }.hero-actions .text-link { width: 100%; text-align: center; }
    .hero-showcase { min-height: 16rem; }.browser-frame { padding: 0.38rem; border-radius: 0.6rem; }.browser-top { height: 0.75rem; padding-bottom: 0.26rem; }.browser-top i { width: 0.3rem; height: 0.3rem; }.phone-frame { width: 6.8rem; right: -0.6rem; bottom: -1.5rem; }.hero-project-label { max-width: 10.7rem; padding: 0.55rem 0.62rem; font-size: 0.66rem; }.hero-project-label span { font-size: 0.6rem; }
    .project-grid { display: grid; grid-template-columns: 1fr; }.project-card.featured, .project-card.tall, .project-card.small, .project-card.wide { grid-column: auto; }.project-card .browser-image { aspect-ratio: 1.35 / 1; }.project-card .phone-frame { width: 5.6rem; }
    .lead-form { grid-template-columns: 1fr; }.field-full, .form-submit, .privacy-note { grid-column: auto; }.cookie-banner { display: block; right: 0.65rem; bottom: 0.65rem; left: 0.65rem; width: auto; }.cookie-actions { justify-content: flex-start; margin-top: 0.8rem; }.cookie-actions .button { flex: 1 1 auto; }.preference-actions .button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .hero-slide { display: none; }.hero-slide:first-child, .hero-slide.is-active { display: grid; position: relative; opacity: 1; transform: none; }
}
