:root {
    --ink: #081a1f;
    --ink-soft: #14333a;
    --paper: #f4f0e6;
    --paper-bright: #fffdf7;
    --cyan: #00cad8;
    --cyan-dark: #007f8b;
    --gold: #d89b35;
    --coral: #ed6d50;
    --muted: #5f6b6e;
    --line: rgba(8, 26, 31, .16);
    --line-light: rgba(255, 255, 255, .18);
    --shadow: 0 24px 80px rgba(8, 26, 31, .12);
    --radius: 10px;
    --shell: min(1240px, calc(100vw - 48px));
    --display: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
    --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper-bright);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
::selection { color: var(--ink); background: #8feef4; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -.045em;
}
h1 { font-size: clamp(3.25rem, 7.4vw, 7.6rem); }
h2 { font-size: clamp(2.35rem, 4.8vw, 5.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); }
p { color: var(--muted); }

.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    background: var(--paper-bright);
    color: var(--ink);
    border: 2px solid var(--ink);
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.eyebrow {
    margin-bottom: 22px;
    color: var(--cyan-dark);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.eyebrow--light { color: #92e9ee; }
.eyebrow--gold { color: var(--gold); }
.lede {
    max-width: 740px;
    font-size: clamp(1.08rem, 1.7vw, 1.35rem);
    line-height: 1.55;
}
.text-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--ink);
    font-weight: 750;
    border-bottom: 1px solid currentColor;
}

.button {
    display: inline-flex;
    min-height: 52px;
    padding: 13px 22px;
    gap: 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 5px;
    font-weight: 750;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 42px; padding: 10px 16px; gap: 10px; font-size: .9rem; }
.button--ink { color: #fff; background: var(--ink); }
.button--ink:hover { background: var(--ink-soft); }
.button--light { color: var(--ink); background: var(--paper-bright); }
.button--outline { color: var(--ink); background: transparent; border-color: var(--line); }
.button--outline:hover { border-color: var(--ink); }
.button--full { width: 100%; }

.signal-bar { color: #bcd1d4; background: var(--ink); font-size: .71rem; letter-spacing: .1em; text-transform: uppercase; }
.signal-bar__inner { display: flex; min-height: 35px; gap: 14px; align-items: center; }
.signal-bar__reach { margin-left: auto; color: #fff; }

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    color: #fff;
    border-bottom: 1px solid var(--line-light);
    background: rgba(8, 26, 31, .96);
    backdrop-filter: blur(18px);
}
.site-header__inner { display: flex; min-height: 86px; align-items: center; justify-content: space-between; }
.brand img { width: 177px; height: auto; }
.primary-nav { display: flex; gap: clamp(18px, 2vw, 32px); align-items: center; }
.primary-nav > a:not(.button) { position: relative; font-size: .93rem; font-weight: 650; }
.primary-nav > a:not(.button)::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    background: var(--cyan-dark);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .2s ease;
}
.primary-nav > a:hover::after,
.primary-nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.primary-nav .nav-login { color: #8cebf0; }
.site-header .button--ink { color: var(--ink); background: var(--paper-bright); }
.site-header .button--ink:hover { background: #dffbfc; }
.menu-toggle { display: none; border: 0; background: none; cursor: pointer; }

.flash-stack { padding-top: 16px; }
.flash { margin: 0 0 8px; padding: 12px 16px; border: 1px solid var(--line); background: var(--paper); }

/* Home hero */
.hero {
    position: relative;
    overflow: clip;
    min-height: 760px;
    background:
        linear-gradient(90deg, rgba(0, 202, 216, .07) 1px, transparent 1px) 0 0 / 84px 84px,
        linear-gradient(rgba(0, 202, 216, .07) 1px, transparent 1px) 0 0 / 84px 84px,
        var(--paper);
}
.hero::after {
    position: absolute;
    width: 540px;
    height: 540px;
    top: -320px;
    right: -160px;
    border: 80px solid rgba(0, 202, 216, .12);
    border-radius: 50%;
    content: "";
}
.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 760px;
    grid-template-columns: minmax(0, 1.02fr) minmax(460px, .98fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
    padding-block: 88px;
}
.hero__copy h1 { max-width: 800px; margin-bottom: 30px; }
.hero__copy h1 em { color: var(--cyan-dark); font-style: normal; }
.hero__copy .lede { max-width: 650px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; margin-top: 54px; gap: 24px; align-items: center; }
.hero__trust strong { color: var(--ink); font-size: .79rem; letter-spacing: .08em; text-transform: uppercase; }
.hero__trust span { width: 54px; height: 1px; background: var(--line); }
.hero__trust p { max-width: 340px; margin: 0; font-size: .84rem; }

.system-window {
    position: relative;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: var(--ink);
    box-shadow: 24px 28px 0 var(--cyan), var(--shadow);
}
.system-window__top { display: flex; min-height: 64px; padding: 0 22px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-light); }
.system-window__top strong { font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; }
.system-window__dots { display: flex; gap: 6px; }
.system-window__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.system-window__body { display: grid; grid-template-columns: 88px 1fr; min-height: 470px; }
.system-window__rail { display: flex; padding: 24px 18px; gap: 14px; flex-direction: column; border-right: 1px solid var(--line-light); }
.system-window__rail i { display: block; height: 34px; border: 1px solid var(--line-light); border-radius: 5px; }
.system-window__rail i:first-child { background: var(--cyan); border-color: var(--cyan); }
.system-window__content { padding: 28px; }
.system-window__intro { display: flex; margin-bottom: 24px; justify-content: space-between; align-items: end; }
.system-window__intro p { margin: 0; color: #91a9ad; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.system-window__intro h2 { margin: 5px 0 0; color: #fff; font-size: 1.8rem; letter-spacing: -.03em; }
.system-window__intro span { color: #9af4f7; font-size: .76rem; }
.system-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.system-stat { min-height: 106px; padding: 16px; border: 1px solid var(--line-light); background: rgba(255, 255, 255, .035); }
.system-stat small { display: block; color: #91a9ad; font-size: .67rem; text-transform: uppercase; }
.system-stat strong { display: block; margin: 9px 0 3px; color: #fff; font-size: 1.55rem; }
.system-stat span { color: #8cebf0; font-size: .7rem; }
.system-chart { display: grid; min-height: 178px; margin-top: 12px; padding: 18px; grid-template-columns: 1fr 130px; gap: 18px; border: 1px solid var(--line-light); }
.system-bars { display: flex; gap: 9px; align-items: end; }
.system-bars i { flex: 1; min-height: 22%; background: #28707a; }
.system-bars i:nth-child(2) { height: 52%; }
.system-bars i:nth-child(3) { height: 72%; background: var(--cyan); }
.system-bars i:nth-child(4) { height: 44%; }
.system-bars i:nth-child(5) { height: 86%; background: var(--gold); }
.system-bars i:nth-child(6) { height: 66%; }
.system-tasks { display: flex; gap: 8px; flex-direction: column; }
.system-tasks span { padding: 9px; color: #b9ced1; border: 1px solid var(--line-light); font-size: .67rem; }
.system-note { position: absolute; right: -22px; bottom: -26px; width: 180px; padding: 16px 18px; color: var(--ink); background: var(--paper-bright); border: 1px solid var(--line); box-shadow: var(--shadow); }
.system-note small { display: block; color: var(--cyan-dark); font-weight: 800; text-transform: uppercase; }
.system-note strong { display: block; margin-top: 4px; line-height: 1.25; }

.proof-strip { border-block: 1px solid var(--line); background: var(--paper-bright); }
.proof-strip__inner { display: grid; min-height: 118px; grid-template-columns: 1.1fr repeat(3, 1fr); align-items: stretch; }
.proof-strip__intro, .proof-link { display: flex; padding: 22px 28px; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.proof-strip__intro { padding-left: 0; color: var(--muted); font-size: .83rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.proof-link:last-child { border-right: 0; }
.proof-link strong { font-size: 1.08rem; }
.proof-link span { color: var(--muted); font-size: .8rem; }
.proof-link:hover strong { color: var(--cyan-dark); }

.section { padding-block: clamp(88px, 10vw, 150px); }
.section--paper { background: var(--paper); }
.section--ink { color: #fff; background: var(--ink); }
.section--ink p { color: #a8bdc0; }
.section-heading { display: grid; margin-bottom: clamp(48px, 7vw, 90px); grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; }
.section-heading h2 { margin-bottom: 0; }
.section-heading__side { max-width: 520px; }
.section-heading__side p:last-child { margin-bottom: 0; }
.section-heading--single { display: block; max-width: 820px; }

.services-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { min-height: 360px; padding: clamp(28px, 4vw, 58px); background: var(--paper-bright); }
.service-card:nth-child(2), .service-card:nth-child(3) { background: var(--paper); }
.service-card__number { display: flex; margin-bottom: 70px; color: var(--cyan-dark); font-size: .75rem; font-weight: 800; letter-spacing: .13em; justify-content: space-between; }
.service-card__mark { width: 54px; height: 54px; padding: 13px; border: 1px solid var(--line); }
.service-card__mark svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.6; }
.service-card h3 { max-width: 420px; margin-bottom: 18px; font-size: clamp(1.8rem, 3vw, 3.1rem); }
.service-card p { max-width: 530px; }
.service-card__list { display: flex; padding: 0; gap: 8px 18px; flex-wrap: wrap; list-style: none; color: var(--ink-soft); font-size: .84rem; font-weight: 700; }
.service-card__list li::before { margin-right: 8px; color: var(--cyan-dark); content: "+"; }

.work-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-areas: "event wow" "event view"; gap: 20px; }
.work-card { position: relative; overflow: hidden; min-height: 320px; color: #fff; background: #102a30; }
.work-card--event { min-height: 690px; grid-area: event; }
.work-card--wow { grid-area: wow; }
.work-card--view { grid-area: view; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.work-card::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(4, 13, 16, .9)); content: ""; }
.work-card:hover img { transform: scale(1.025); }
.work-card__content { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; display: grid; padding: clamp(24px, 3vw, 42px); grid-template-columns: 1fr auto; gap: 20px; align-items: end; }
.work-card__content small { color: #8ee8ed; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.work-card__content h3 { margin: 8px 0 0; color: #fff; font-size: clamp(1.65rem, 2.6vw, 2.9rem); }
.work-card__arrow { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.42); }

.ops-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 9vw, 120px); align-items: center; }
.ops-copy h2 { color: #fff; }
.ops-list { margin: 34px 0; padding: 0; list-style: none; }
.ops-list li { display: grid; padding: 14px 0; grid-template-columns: 26px 1fr; gap: 12px; color: #d5e0e1; border-bottom: 1px solid var(--line-light); }
.ops-list li::before { color: var(--cyan); content: "↗"; }
.scorecard { position: relative; padding: clamp(24px, 4vw, 50px); color: var(--ink); background: var(--paper-bright); }
.scorecard__top { display: flex; margin-bottom: 42px; justify-content: space-between; }
.scorecard__top small { color: var(--cyan-dark); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.scorecard__top span { font-size: .76rem; }
.scorecard__rows { display: grid; gap: 18px; }
.score-row { display: grid; grid-template-columns: 150px 1fr 44px; gap: 16px; align-items: center; font-size: .82rem; }
.score-track { height: 9px; background: #dfe6e2; }
.score-track i { display: block; width: 82%; height: 100%; background: var(--cyan-dark); }
.score-row:nth-child(2) .score-track i { width: 74%; }
.score-row:nth-child(3) .score-track i { width: 91%; }
.score-row:nth-child(2) .score-track i { background: var(--gold); }
.score-row:nth-child(3) .score-track i { background: var(--coral); }
.scorecard__note { margin: 38px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; }

.process-list { counter-reset: process; border-top: 1px solid var(--line); }
.process-step { display: grid; min-height: 170px; padding: 34px 0; grid-template-columns: 120px .85fr 1.15fr; gap: 30px; align-items: center; border-bottom: 1px solid var(--line); counter-increment: process; }
.process-step::before { color: var(--cyan-dark); font-size: .8rem; font-weight: 800; content: "0" counter(process); }
.process-step h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 3rem); }
.process-step p { max-width: 550px; margin: 0; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card { position: relative; display: flex; min-height: 520px; padding: 38px; flex-direction: column; border: 1px solid var(--line); background: var(--paper-bright); }
.price-card--featured { color: #fff; background: var(--ink); border-color: var(--ink); transform: translateY(-20px); }
.price-card--featured p, .price-card--featured li { color: #b6c8ca; }
.price-card__tag { color: var(--cyan-dark); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.price-card--featured .price-card__tag { color: #8cebf0; }
.price-card h3 { margin: 24px 0 10px; font-size: 1.8rem; }
.price-card__price { margin: 16px 0 30px; color: var(--ink); font-size: 2.55rem; font-weight: 750; letter-spacing: -.05em; }
.price-card--featured .price-card__price { color: #fff; }
.price-card__price small { color: inherit; font-size: .78rem; font-weight: 600; letter-spacing: 0; }
.price-card ul { margin: 0 0 34px; padding: 0; list-style: none; }
.price-card li { padding: 9px 0; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .9rem; }
.price-card--featured li { border-color: var(--line-light); }
.price-card li::before { margin-right: 9px; color: var(--cyan-dark); content: "↗"; }
.price-card .button { margin-top: auto; }

.brief-section { color: #fff; background: var(--ink); }
.brief-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 9vw, 120px); }
.brief-copy { position: sticky; top: 130px; align-self: start; }
.brief-copy h2 { color: #fff; }
.brief-copy p { color: #acc0c2; }
.brief-points { display: grid; margin-top: 42px; gap: 12px; }
.brief-points span { padding: 12px 0; color: #d7e3e4; border-top: 1px solid var(--line-light); font-size: .88rem; }
.lead-form { padding: clamp(28px, 5vw, 58px); color: var(--ink); background: var(--paper-bright); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; margin-bottom: 20px; }
.field > span { display: block; margin-bottom: 7px; color: var(--ink); font-size: .76rem; font-weight: 750; letter-spacing: .04em; }
.field input, .field textarea, .field select {
    width: 100%;
    min-height: 52px;
    padding: 13px 14px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 3px;
    background: #fff;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--cyan-dark); outline: 2px solid rgba(0, 127, 139, .16); }
.form-status { min-height: 24px; margin: 12px 0 0; color: var(--muted); font-size: .82rem; }
.form-status[data-state="success"] { color: #096a4a; }
.form-status[data-state="error"] { color: #a83d2a; }
.form-note { margin: 10px 0 0; color: var(--muted); font-size: .72rem; }
.trap-field { position: absolute; left: -10000px; }

/* Interior pages */
.page-hero { padding: clamp(82px, 10vw, 145px) 0 clamp(70px, 8vw, 110px); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.page-hero h1 { max-width: 900px; margin-bottom: 0; font-size: clamp(3.2rem, 7vw, 7rem); }
.page-hero__side { max-width: 500px; }
.page-hero__side p { font-size: 1.12rem; }
.page-hero__index { display: block; margin-bottom: 20px; color: var(--cyan-dark); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.page-section { padding-block: clamp(76px, 9vw, 130px); }
.page-section--paper { background: var(--paper); }
.page-section--ink { color: #fff; background: var(--ink); }
.page-section--ink p { color: #acc0c2; }
.split-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px, 8vw, 110px); }
.split-layout__sticky { position: sticky; top: 130px; align-self: start; }
.split-layout__sticky h2 { font-size: clamp(2.2rem, 4vw, 4.3rem); }
.content-stack { display: grid; gap: 18px; }
.content-panel { padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); background: var(--paper-bright); }
.content-panel h3 { margin-bottom: 16px; }
.content-panel p:last-child { margin-bottom: 0; }
.content-panel--ink { color: #fff; background: var(--ink); border-color: var(--ink); }
.content-panel--ink p { color: #acc0c2; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-item { min-height: 240px; padding: 34px; background: var(--paper-bright); }
.feature-item small { color: var(--cyan-dark); font-weight: 800; letter-spacing: .1em; }
.feature-item h3 { margin: 42px 0 12px; }

.portfolio-list { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.portfolio-row { display: grid; min-height: 270px; grid-template-columns: 1.05fr .95fr; background: var(--paper-bright); }
.portfolio-row__image { overflow: hidden; background: var(--ink); }
.portfolio-row__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-row:hover img { transform: scale(1.02); }
.portfolio-row__copy { display: flex; padding: clamp(28px, 5vw, 60px); flex-direction: column; justify-content: center; }
.portfolio-row__copy small { color: var(--cyan-dark); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.portfolio-row__copy h2 { margin: 16px 0; font-size: clamp(2rem, 4vw, 4rem); }
.portfolio-row__copy .text-link { align-self: start; margin-top: 14px; }
.legacy-projects { display: grid; margin-top: 70px; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.legacy-card { overflow: hidden; border: 1px solid var(--line); background: var(--paper-bright); }
.legacy-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.legacy-card__copy { padding: 24px; }
.legacy-card__copy h3 { margin-bottom: 8px; font-size: 1.35rem; }

.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(40px, 8vw, 100px); }
.contact-details { display: grid; gap: 28px; align-content: start; }
.contact-detail { padding-top: 18px; border-top: 1px solid var(--line); }
.contact-detail small { display: block; color: var(--cyan-dark); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-detail a, .contact-detail strong { display: block; margin-top: 8px; font-size: 1.12rem; }

.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.blog-card { overflow: hidden; border: 1px solid var(--line); background: var(--paper-bright); }
.blog-card__image { display: block; overflow: hidden; aspect-ratio: 16/9; background: var(--ink); }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover img { transform: scale(1.025); }
.blog-card__copy { padding: 28px; }
.blog-card__meta { color: var(--cyan-dark); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.blog-card h2 { margin: 14px 0; font-size: clamp(1.6rem, 3vw, 2.6rem); }
.pagination { display: flex; margin-top: 50px; gap: 8px; }
.pagination a, .pagination span { display: grid; min-width: 44px; min-height: 44px; padding: 8px; place-items: center; border: 1px solid var(--line); }
.pagination .current { color: #fff; background: var(--ink); }
.article-shell { width: min(820px, calc(100vw - 48px)); margin-inline: auto; }
.article-header { padding: clamp(80px, 10vw, 140px) 0 60px; }
.article-header h1 { font-size: clamp(3rem, 7vw, 6.7rem); }
.article-meta { color: var(--cyan-dark); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-image { width: min(1160px, calc(100vw - 48px)); margin: 0 auto 70px; }
.article-image img { width: 100%; max-height: 720px; object-fit: cover; }
.prose { padding-bottom: 110px; font-size: 1.08rem; }
.prose h2, .prose h3 { margin-top: 2.2em; }
.prose h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.prose p, .prose li { color: #3e4e51; }
.prose img { height: auto !important; }
.prose a { color: var(--cyan-dark); text-decoration: underline; text-underline-offset: 3px; }

.empty-state { padding: 70px 30px; text-align: center; border: 1px solid var(--line); background: var(--paper); }
.empty-state h2 { margin-bottom: 12px; font-size: 2rem; }

/* CTA and footer */
.closing-cta { padding-block: clamp(80px, 10vw, 140px); color: #fff; background: #0e5861; }
.closing-cta__grid { display: grid; grid-template-columns: .34fr .86fr .8fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.closing-cta h2 { color: #fff; margin-bottom: 0; font-size: clamp(2.7rem, 5vw, 5.7rem); }
.closing-cta__action p { color: #c2dadd; }
.site-footer { padding-top: 82px; color: #fff; background: #041115; }
.footer-grid { display: grid; padding-bottom: 70px; grid-template-columns: 1.4fr .7fr .8fr 1.1fr; gap: 55px; }
.footer-brand img { width: 214px; margin-bottom: 24px; }
.footer-brand p { max-width: 330px; color: #8fa9ad; }
.footer-brand a { color: #a0eef2; }
.footer-links h2, .footer-newsletter h2 { margin-bottom: 22px; color: #fff; font-family: var(--body); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-links a { display: block; margin: 10px 0; color: #a8bdc0; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-newsletter p { color: #8fa9ad; font-size: .88rem; }
.newsletter-control { display: grid; grid-template-columns: 1fr 46px; border-bottom: 1px solid #557076; }
.newsletter-control input { min-width: 0; padding: 13px 0; color: #fff; border: 0; outline: 0; background: transparent; }
.newsletter-control button { color: #fff; border: 0; background: transparent; cursor: pointer; }
.site-footer .form-status { color: #a8bdc0; }
.site-footer .form-status[data-state="success"] { color: #8cefbf; }
.site-footer .form-status[data-state="error"] { color: #ff9f8b; }
.footer-base { display: flex; min-height: 76px; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.13); }
.footer-base p { margin: 0; color: #789398; font-size: .78rem; }
.footer-base div { display: flex; gap: 24px; }
.footer-base a { color: #9bb1b5; font-size: .78rem; }

/* Project assistant */
.chat-launcher {
    position: fixed;
    z-index: 200;
    right: 22px;
    bottom: 22px;
    display: grid;
    min-width: 245px;
    padding: 13px 15px;
    grid-template-columns: 11px 1fr 26px;
    gap: 11px;
    align-items: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 7px;
    background: var(--ink);
    box-shadow: 0 18px 50px rgba(0,0,0,.25);
    text-align: left;
    cursor: pointer;
}
.chat-launcher strong, .chat-launcher small { display: block; }
.chat-launcher strong { font-size: .83rem; }
.chat-launcher small { color: #95acb0; font-size: .68rem; }
.chat-launcher__pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(0,202,216,.14); }
.chat-launcher__arrow { text-align: right; }
.chat-panel {
    position: fixed;
    z-index: 210;
    right: 22px;
    bottom: 22px;
    overflow: hidden;
    width: min(460px, calc(100vw - 32px));
    max-height: min(760px, calc(100vh - 40px));
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--paper-bright);
    box-shadow: 0 26px 90px rgba(0,0,0,.28);
}
.chat-panel[hidden] { display: none; }
.chat-panel__header { display: flex; padding: 22px 24px; color: #fff; background: var(--ink); justify-content: space-between; align-items: start; }
.chat-panel__header h2 { margin: 7px 0 0; color: #fff; font-size: 1.55rem; }
.chat-presence { color: #9bb1b5; font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.chat-presence i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--cyan); }
.icon-button { display: grid; width: 36px; height: 36px; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; background: transparent; font-size: 1.4rem; cursor: pointer; }
.chat-panel__body { overflow-y: auto; max-height: calc(min(760px, 100vh - 40px) - 101px); padding: 24px; }
.chat-message { padding: 14px 16px; border-left: 3px solid var(--cyan); background: var(--paper); font-size: .84rem; }
.chat-topics { display: grid; margin: 20px 0; padding: 0; gap: 8px; border: 0; }
.chat-topics legend { margin-bottom: 10px; font-size: .76rem; font-weight: 750; }
.chat-topics label { position: relative; cursor: pointer; }
.chat-topics input { position: absolute; opacity: 0; pointer-events: none; }
.chat-topics span { display: block; padding: 11px 13px; border: 1px solid var(--line); font-size: .82rem; transition: .15s ease; }
.chat-topics input:checked + span { color: #fff; border-color: var(--ink); background: var(--ink); }
.chat-topics input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.chat-fields[hidden] { display: none; }

@media (max-width: 1080px) {
    :root { --shell: min(100% - 40px, 960px); }
    .primary-nav { gap: 18px; }
    .primary-nav .nav-login { display: none; }
    .hero__grid { grid-template-columns: 1fr 440px; gap: 42px; }
    .footer-grid { grid-template-columns: 1.3fr .8fr .8fr; }
    .footer-newsletter { grid-column: 1 / -1; max-width: 520px; }
}

@media (max-width: 860px) {
    :root { --shell: min(100% - 32px, 720px); }
    h1 { font-size: clamp(3.15rem, 12vw, 5.7rem); }
    .signal-bar__inner span:nth-child(2), .signal-bar__inner span:nth-child(3), .signal-bar__inner span:nth-child(4), .signal-bar__inner span:nth-child(5) { display: none; }
    .site-header__inner { min-height: 72px; }
    .brand img { width: 150px; }
    .menu-toggle { display: flex; gap: 12px; align-items: center; }
    .menu-toggle__label { font-size: .78rem; font-weight: 750; }
    .menu-toggle__lines { display: grid; width: 24px; gap: 6px; }
    .menu-toggle__lines i { height: 2px; background: #fff; transition: transform .2s ease; }
    .menu-toggle[aria-expanded="true"] .menu-toggle__lines i:first-child { transform: translateY(4px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] .menu-toggle__lines i:last-child { transform: translateY(-4px) rotate(-45deg); }
    .primary-nav {
        position: fixed;
        inset: 107px 0 auto;
        display: none;
        max-height: calc(100vh - 107px);
        padding: 28px 24px 36px;
        gap: 0;
        align-items: stretch;
        flex-direction: column;
        overflow-y: auto;
        color: #fff;
        border-bottom: 1px solid var(--line-light);
        background: var(--ink);
    }
    .primary-nav[data-open="true"] { display: flex; }
    .primary-nav > a:not(.button) { padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: 1.15rem; }
    .primary-nav > a::after { display: none; }
    .primary-nav .nav-login { display: block; }
    .primary-nav .button { margin-top: 20px; }
    .hero, .hero__grid { min-height: auto; }
    .hero__grid { grid-template-columns: 1fr; padding: 80px 0 105px; }
    .hero__visual { max-width: 610px; }
    .system-note { right: 15px; }
    .proof-strip__inner { grid-template-columns: repeat(3, 1fr); }
    .proof-strip__intro { grid-column: 1 / -1; min-height: 72px; border-right: 0; border-bottom: 1px solid var(--line); }
    .section-heading, .page-hero__grid { grid-template-columns: 1fr; gap: 24px; }
    .services-grid, .work-grid, .ops-grid, .brief-grid, .split-layout, .contact-grid { grid-template-columns: 1fr; }
    .work-grid { grid-template-areas: "event" "wow" "view"; }
    .work-card--event { min-height: 460px; }
    .ops-copy { max-width: 650px; }
    .process-step { grid-template-columns: 60px .7fr 1.3fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
    .price-card--featured { transform: none; }
    .brief-copy, .split-layout__sticky { position: static; }
    .closing-cta__grid { grid-template-columns: 1fr; }
    .closing-cta__grid > .eyebrow { margin-bottom: 0; }
    .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; }
    .portfolio-row { grid-template-columns: 1fr; }
    .portfolio-row__image { aspect-ratio: 16/9; }
    .legacy-projects { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    :root { --shell: calc(100vw - 28px); }
    body { font-size: 15px; }
    h2 { font-size: clamp(2.35rem, 12vw, 4rem); }
    .signal-bar__reach { font-size: .63rem; }
    .hero__grid { padding: 62px 0 82px; }
    .hero__copy h1 { font-size: clamp(2.95rem, 13vw, 4rem); }
    .hero__trust { margin-top: 40px; gap: 14px; align-items: start; flex-wrap: wrap; }
    .hero__trust span { display: none; }
    .hero__trust p { width: 100%; }
    .hero__visual { margin-right: 14px; }
    .system-window { box-shadow: 14px 16px 0 var(--cyan), var(--shadow); }
    .system-window__body { grid-template-columns: 56px 1fr; min-height: 390px; }
    .system-window__rail { padding: 18px 10px; }
    .system-window__content { padding: 18px 14px; }
    .system-window__intro { align-items: start; flex-direction: column; }
    .system-stats { grid-template-columns: 1fr 1fr; }
    .system-stat:last-child { display: none; }
    .system-chart { min-height: 140px; grid-template-columns: 1fr; }
    .system-tasks { display: none; }
    .system-note { display: none; }
    .proof-strip__inner { grid-template-columns: 1fr; }
    .proof-link { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .section { padding-block: 82px; }
    .section-heading { margin-bottom: 44px; }
    .service-card { min-height: auto; padding: 28px 22px; }
    .service-card__number { margin-bottom: 50px; }
    .work-card, .work-card--event { min-height: 390px; }
    .work-card__content { grid-template-columns: 1fr; }
    .work-card__arrow { display: none; }
    .score-row { grid-template-columns: 100px 1fr 34px; gap: 9px; font-size: .74rem; }
    .process-step { padding: 30px 0; grid-template-columns: 42px 1fr; gap: 8px 14px; }
    .process-step p { grid-column: 2; }
    .price-card { min-height: 0; padding: 28px 22px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .lead-form { padding: 26px 20px; }
    .page-hero { padding-top: 70px; }
    .page-hero h1 { font-size: clamp(3.15rem, 15vw, 4.8rem); }
    .feature-list, .blog-grid { grid-template-columns: 1fr; }
    .feature-item { min-height: 210px; }
    .legacy-projects { grid-template-columns: 1fr; }
    .article-shell, .article-image { width: var(--shell); }
    .closing-cta h2 { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 24px; }
    .footer-brand, .footer-newsletter { grid-column: 1 / -1; }
    .footer-base { padding: 22px 0; gap: 14px; align-items: start; flex-direction: column; }
    .chat-launcher { right: 14px; bottom: 14px; width: 56px; min-width: 0; height: 56px; padding: 0; grid-template-columns: 1fr; place-items: center; border-radius: 50%; }
    .chat-launcher > span:not(.chat-launcher__pulse) { display: none; }
    .chat-panel { right: 8px; bottom: 8px; width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
    .chat-panel__body { max-height: calc(100vh - 117px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
