/* =========================================================
   TECHCORP — Field Report aesthetic
   Dark slate, industrial, editorial. No glass, no gradients.
   ========================================================= */
:root {
    /* Core palette — dark (default) */
    --bg: #0a0d10;
    --bg-elev: #10141a;
    --bg-sunk: #070a0c;
    --ink: #eae7df;
    --ink-dim: #9aa0a8;
    --ink-mute: #5c636c;
    --rule: #222830;
    --rule-strong: #343c46;

    /* Accents — restrained */
    --accent: #3e63f0;

    /* cobalt, pulled from logo, slightly cooled */
    --accent-ink: #ffffff;
    --signal: #f0a400;

    /* amber — live indicator only */
    --critical: #e5484d;

    /* Typography */
    --f-display: "Archivo Narrow", "Oswald", "Helvetica Neue Condensed", "Arial Narrow",
    sans-serif;
    --f-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --f-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;

    /* Rhythm */
    --maxw: 1440px;
    --gutter: clamp(20px, 4vw, 48px);
    --section-y: clamp(72px, 10vw, 140px);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Light mode — not white-white, warm paper */
[data-theme="light"] {
    --bg: #f3f0e8;
    --bg-elev: #eae6dc;
    --bg-sunk: #e2ded2;
    --ink: #0a0d10;
    --ink-dim: #3e454d;
    --ink-mute: #787f87;
    --rule: #c9c4b5;
    --rule-strong: #a8a294;
    --accent: #253f9e;
    --accent-ink: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--f-body);
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.55;
    font-feature-settings: "ss01", "cv11";
    overflow-x: hidden;
    transition: background 0.3s var(--ease),
    color 0.3s var(--ease);
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}

/* =========================================================
   Type scale
   ========================================================= */
.display {
    font-family: var(--f-display);
    font-weight: 600;
    font-stretch: 75%;
    letter-spacing: -0.01em;
    line-height: 0.92;
    text-transform: uppercase;
}

.h-xl {
    font-size: clamp(56px, 9vw, 156px);
}

.h-lg {
    font-size: clamp(44px, 6.5vw, 108px);
}

.h-md {
    font-size: clamp(32px, 4.2vw, 68px);
}

.h-sm {
    font-size: clamp(24px, 2.6vw, 40px);
}

.kicker,
.mono {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.lede {
    font-size: clamp(18px, 1.4vw, 22px);
    line-height: 1.5;
    color: var(--ink-dim);
    max-width: 58ch;
    text-wrap: pretty;
}

.prose {
    color: var(--ink-dim);
    max-width: 62ch;
    text-wrap: pretty;
}

.prose p + p {
    margin-top: 1em;
}

strong,
b {
    color: var(--ink);
    font-weight: 600;
}

/* =========================================================
   Layout
   ========================================================= */
.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    padding: var(--section-y) 0;
    border-top: 1px solid var(--rule);
    position: relative;
}

.section--sunk {
    background: var(--bg-sunk);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) 3fr;
    gap: var(--gutter);
    padding-bottom: clamp(48px, 6vw, 96px);
}

.section-head .meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-head .meta .idx {
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--ink-mute);
    letter-spacing: 0.12em;
}

.section-head .title {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* =========================================================
   Nav
   ========================================================= */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in oklab, var(--bg) 88%, transparent);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border-bottom: 1px solid var(--rule);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px var(--gutter);
    gap: 24px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--f-display);
    font-weight: 700;
    font-stretch: 75%;
    font-size: 24px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--ink);
}

.nav__brand .mark {
    width: 28px;
    height: 28px;
    background: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-ink);
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
}

.nav__brand .mark::before {
    content: "T";
    transform: translateY(1px);
}

.nav__brand .tag {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--ink-mute);
    border-left: 1px solid var(--rule);
    padding-left: 12px;
    margin-left: 4px;
    text-transform: uppercase;
    font-weight: 400;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav__links a {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--ink-dim);
    letter-spacing: 0.02em;
    transition: color 0.2s var(--ease);
    position: relative;
}

.nav__links a:hover {
    color: var(--ink);
}

.nav__links li.active a {
    color: var(--ink);
}

.nav__links li.active a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 1px;
    background: var(--accent);
}

.nav__cta {
    margin-left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px !important;
    border: 1px solid var(--rule-strong);
    color: var(--ink) !important;
    font-family: var(--f-mono);
    font-size: 11px !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase;
    transition: all 0.2s var(--ease);
}

.nav__cta:hover {
    background: var(--accent);
    color: var(--accent-ink) !important;
    border-color: var(--accent);
}

.nav__cta::after {
    display: none !important;
}

/* Theme toggle in nav */
.theme-toggle {
    width: 36px;
    height: 36px;
    border: 1px solid var(--rule-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    margin-left: 8px;
    color: var(--ink-dim);
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--ink);
    color: var(--ink);
    background: var(--bg-elev);
}

.theme-toggle svg {
    width: 16px;
    height: 16px;
}

.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

[data-theme="light"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: none;
}

.hamburger {
    display: none;
    width: 32px;
    height: 32px;
    position: relative;
    flex-shrink: 0;
}

.hamburger span {
    position: absolute;
    left: 6px;
    right: 6px;
    height: 1.5px;
    background: var(--ink);
    transition: all 0.25s var(--ease);
}

.hamburger span:nth-child(1) {
    top: 11px;
}

.hamburger span:nth-child(2) {
    top: 16px;
}

.hamburger span:nth-child(3) {
    top: 21px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid var(--rule-strong);
    color: var(--ink);
    transition: all 0.2s var(--ease);
    cursor: pointer;
}

.btn:hover {
    border-color: var(--ink);
    background: var(--bg-elev);
}

.btn--primary {
    background: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
}

.btn--primary:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

.btn .arrow {
    display: inline-block;
    transition: transform 0.2s var(--ease);
}

.btn:hover .arrow {
    transform: translateX(4px);
}

/* =========================================================
   HERO — variant A: Editorial / Typographic
   ========================================================= */
.hero {
    position: relative;
    padding: clamp(48px, 6vw, 96px) 0 clamp(48px, 6vw, 96px);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../../images/hero3.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.65;
    mix-blend-mode: luminosity;
    filter: grayscale(0.4) contrast(1.05);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      var(--bg) 0%,
      color-mix(in oklab, var(--bg) 95%, transparent) 35%,
      color-mix(in oklab, var(--bg) 75%, transparent) 65%,
      color-mix(in oklab, var(--bg) 30%, transparent) 100%
    ),
    linear-gradient(
      180deg,
      color-mix(in oklab, var(--bg) 40%, transparent) 0%,
      transparent 40%,
      var(--bg) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.hero > .wrap {
    position: relative;
    z-index: 1;
}

[data-theme="light"] .hero::before {
    opacity: 0.18;
    mix-blend-mode: multiply;
}

.hero .mono-strip {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
    margin-bottom: clamp(48px, 8vw, 112px);
    color: var(--ink-mute);
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    flex-wrap: wrap;
}

.hero .mono-strip .live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-dim);
}

.hero .mono-strip .live::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--signal);
    border-radius: 50%;
    box-shadow: 0 0 0 4px color-mix(in oklab, var(--signal) 20%, transparent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* ----- Variant A: Editorial ----- */
.hero--editorial .hero__display {
    font-family: var(--f-display);
    font-weight: 600;
    font-stretch: 75%;
    font-size: clamp(64px, 11vw, 188px);
    line-height: 0.88;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    color: var(--ink);
}

.hero--editorial .hero__display .accent {
    color: var(--accent);
}

.hero--editorial .hero__display .outline {
    -webkit-text-stroke: 1.5px var(--ink);
    color: transparent;
}

.hero--editorial .hero__below {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--gutter);
    margin-top: clamp(48px, 6vw, 96px);
    padding-top: 32px;
    border-top: 1px solid var(--rule);
}

.hero--editorial .hero__below .cell {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero--editorial .hero__below .cell .kicker {
    color: var(--ink-mute);
}

.hero--editorial .hero__below .cell p {
    color: var(--ink-dim);
    font-size: 15px;
    line-height: 1.55;
    max-width: 36ch;
}

.hero--editorial .hero__below .actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ----- Variant B: Field-report / split ----- */
.hero--field {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: var(--gutter);
    align-items: stretch;
}

.hero--field .hero__left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    padding: 8px 0;
}

.hero--field .hero__title {
    font-family: var(--f-display);
    font-weight: 600;
    font-stretch: 75%;
    font-size: clamp(48px, 6.8vw, 108px);
    line-height: 0.94;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.hero--field .hero__title .accent {
    color: var(--accent);
}

.hero--field .hero__lede {
    font-size: clamp(16px, 1.2vw, 19px);
    color: var(--ink-dim);
    max-width: 54ch;
    line-height: 1.55;
}

.hero--field .hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero--field .hero__right {
    position: relative;
    border: 1px solid var(--rule);
    background: var(--bg-sunk);
    aspect-ratio: 4 / 5;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.hero--field .placeholder {
    flex: 1;
    position: relative;
    background-image: repeating-linear-gradient(
    45deg,
    color-mix(in oklab, var(--ink) 4%, transparent) 0 2px,
    transparent 2px 14px
  );
    border: 1px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero--field .placeholder::before,
.hero--field .placeholder::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border: 1px solid var(--ink-mute);
}

.hero--field .placeholder::before {
    top: 8px;
    left: 8px;
    border-right: 0;
    border-bottom: 0;
}

.hero--field .placeholder::after {
    bottom: 8px;
    right: 8px;
    border-left: 0;
    border-top: 0;
}

.hero--field .placeholder span {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-mute);
    text-align: center;
    padding: 0 24px;
}

.hero--field .hero__caption {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--rule);
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

.hero--field .hero__caption strong {
    color: var(--ink-dim);
    font-weight: 400;
}

/* Variant switch: show only the active one */
.hero-variant {
    display: none;
}

.hero-variant.is-active {
    display: block;
}

.hero--field.is-active {
    display: grid;
}

/* =========================================================
   Services
   ========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
}

.service.service--wide {
    grid-column: 1 / -1;
}

.service {
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: clamp(32px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    transition: background 0.25s var(--ease);
}

.service:hover {
    background: var(--bg-elev);
}

.service__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
}

.service__num {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.14em;
}

.service__tag {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 8px;
    border: 1px solid var(--rule-strong);
    color: var(--ink-dim);
}

.service__tag--featured {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}

.service h3 {
    font-family: var(--f-display);
    font-weight: 600;
    font-stretch: 75%;
    font-size: clamp(28px, 2.8vw, 44px);
    line-height: 1;
    letter-spacing: -0.005em;
    text-transform: uppercase;
}

.service p {
    color: var(--ink-dim);
    max-width: 54ch;
    text-wrap: pretty;
}

.service__brands {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
    text-transform: uppercase;
}

.service__brands span {
    white-space: nowrap;
}

.service__brands span + span::before {
    content: "\00B7";
    color: var(--ink-mute);
    margin-right: 12px;
}

/* Featured VTC card (first, full-width-able) */
.service--featured {
    grid-column: 1 / -1;
    background: var(--bg-sunk);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(32px, 4vw, 56px);
}

.service--featured .service__visual {
    border: 1px solid var(--rule);
    background: var(--bg);
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    background-image: repeating-linear-gradient(
      135deg,
      color-mix(in oklab, var(--accent) 10%, transparent) 0 1px,
      transparent 1px 16px
    ),
    radial-gradient(
      ellipse at 30% 40%,
      color-mix(in oklab, var(--accent) 22%, transparent),
      transparent 60%
    );
}

.service--featured .service__visual::after {
    content: "VTC \00B7 BOARDROOM DEPLOYMENT";
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--ink-mute);
}

.service--featured .service__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

/* =========================================================
   Process — tabular
   ========================================================= */
.process-table {
    border-top: 1px solid var(--rule);
}

.process-row {
    display: grid;
    grid-template-columns: 80px 1.2fr 2fr 180px;
    gap: clamp(20px, 3vw, 48px);
    align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid var(--rule);
    transition: background 0.2s var(--ease);
}

.process-row:hover {
    background: var(--bg-elev);
}

.process-row__num {
    font-family: var(--f-mono);
    font-size: 14px;
    color: var(--accent);
    letter-spacing: 0.1em;
    padding-top: 4px;
}

.process-row__name {
    font-family: var(--f-display);
    font-weight: 600;
    font-stretch: 75%;
    font-size: clamp(20px, 1.8vw, 28px);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -0.005em;
}

.process-row__desc {
    color: var(--ink-dim);
    font-size: 15px;
    line-height: 1.55;
}

.process-row__meta {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--ink-mute);
    text-transform: uppercase;
    text-align: right;
    padding-top: 6px;
}

/* =========================================================
   Pull quote
   ========================================================= */
.pullquote {
    padding: clamp(72px, 10vw, 140px) 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    background: var(--bg-sunk);
}

.pullquote blockquote {
    font-family: var(--f-display);
    font-weight: 500;
    font-stretch: 85%;
    font-size: clamp(28px, 3.6vw, 54px);
    line-height: 1.1;
    letter-spacing: -0.005em;
    max-width: 22ch;
    text-transform: none;
    color: var(--ink);
    position: relative;
}

.pullquote blockquote::before {
    content: "“";
    position: absolute;
    top: -0.4em;
    left: -0.3em;
    font-size: 1.6em;
    color: var(--accent);
    line-height: 1;
}

.pullquote blockquote::after {
    content: "”";
    font-size: 1.6em;
    color: var(--accent);
    line-height: 1;
    margin-left: 0.05em;
    vertical-align: -0.2em;
}

.pullquote .attr {
    margin-top: 32px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    display: flex;
    gap: 16px;
    align-items: center;
}

.pullquote .attr::before {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--rule-strong);
}

.pullquote__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(32px, 4vw, 56px);
    align-items: center;
}

.pullquote__visual {
    border: 1px solid var(--rule);
    background: var(--bg);
    aspect-ratio: 4/3;
    overflow: hidden;
}

.pullquote__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pullquote__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* =========================================================
   Stats
   ========================================================= */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
}

.stat {
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: clamp(28px, 3vw, 48px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 220px;
    justify-content: space-between;
}

.stat__num {
    font-family: var(--f-display);
    font-weight: 600;
    font-stretch: 75%;
    font-size: clamp(56px, 7vw, 112px);
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.stat__label {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-dim);
    line-height: 1.5;
    max-width: 26ch;
}

/* =========================================================
   Clients / verticals
   ========================================================= */
.verticals-split {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(32px, 4vw, 80px);
    align-items: start;
}

.verticals-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--rule);
}

.vertical-row {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--rule);
    font-family: var(--f-display);
    font-weight: 600;
    font-stretch: 75%;
    font-size: clamp(20px, 2vw, 32px);
    text-transform: uppercase;
    line-height: 1;
    transition: padding 0.25s var(--ease),
    color 0.25s var(--ease);
}

.vertical-row:hover {
    padding-left: 12px;
    color: var(--accent);
}

.vertical-row .num {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--ink-mute);
    font-weight: 400;
    letter-spacing: 0.14em;
}

.vertical-row .meta {
    font-family: var(--f-mono);
    font-size: 10px;
    color: var(--ink-mute);
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.client-logos {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px dashed var(--rule);
}

.client-logos .kicker {
    margin-bottom: 20px;
}

.logo-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-left: 1px solid var(--rule);
}

.logo-row .redacted-logo {
    border-right: 1px solid var(--rule);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--ink-mute);
    background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 6px,
    color-mix(in oklab, var(--ink) 4%, transparent) 6px 7px
  );
    text-transform: uppercase;
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
    padding: clamp(80px, 10vw, 140px) 0;
    border-top: 1px solid var(--rule);
    background: var(--bg-sunk);
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
    90deg,
    transparent 0 calc(16.66% - 1px),
    var(--rule) calc(16.66% - 1px) 16.66%
  );
    opacity: 0.6;
    pointer-events: none;
}

.cta-band .wrap {
    position: relative;
}

.cta-band__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--gutter);
    align-items: end;
}

.cta-band h2 {
    font-family: var(--f-display);
    font-weight: 600;
    font-stretch: 75%;
    font-size: clamp(44px, 6.5vw, 108px);
    line-height: 0.94;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    max-width: 16ch;
}

.cta-band h2 .accent {
    color: var(--accent);
}

.cta-band .actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
    border-top: 1px solid var(--rule);
    padding: clamp(56px, 7vw, 96px) 0 32px;
    background: var(--bg);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--gutter);
    padding-bottom: 48px;
    border-bottom: 1px solid var(--rule);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__logo-mark {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--f-display);
    font-weight: 700;
    font-stretch: 75%;
    font-size: 36px;
    text-transform: uppercase;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.footer__logo-mark .mark {
    width: 40px;
    height: 40px;
    background: blue;
    color: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 26px;
    line-height: 1;
    background-color: #ffffff;
}

.footer__tagline {
    color: var(--ink-dim);
    font-size: 14px;
    max-width: 36ch;
    line-height: 1.55;
}

.footer__col h4 {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 18px;
    font-weight: 400;
}

.footer__col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__col a {
    color: var(--ink-dim);
    font-size: 14px;
    transition: color 0.2s var(--ease);
}

.footer__col a:hover {
    color: var(--ink);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 14px;
    color: var(--ink-dim);
}

.footer__contact a {
    color: var(--ink);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
    flex-wrap: wrap;
    gap: 16px;
}

.footer__legal {
    display: flex;
    gap: 24px;
}

.footer__legal a:hover {
    color: var(--ink);
}

/* =========================================================
   Page header (about / contact)
   ========================================================= */
.page-header {
    padding: clamp(80px, 10vw, 160px) 0 clamp(48px, 6vw, 80px);
    border-bottom: 1px solid var(--rule);
}

.page-header .mono-strip {
    padding: 12px 0 32px;
    color: var(--ink-mute);
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--rule);
    margin-bottom: clamp(32px, 4vw, 56px);
}

.page-header h1 {
    font-family: var(--f-display);
    font-weight: 600;
    font-stretch: 75%;
    font-size: clamp(56px, 9vw, 156px);
    line-height: 0.9;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.page-header h1 .accent {
    color: var(--accent);
}

.page-header .lede {
    max-width: 52ch;
    font-size: clamp(18px, 1.4vw, 22px);
    color: var(--ink-dim);
    line-height: 1.5;
}

/* =========================================================
   About — pillars
   ========================================================= */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
}

.pillar {
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: clamp(32px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pillar__num {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--accent);
}

.pillar h3 {
    font-family: var(--f-display);
    font-weight: 600;
    font-stretch: 75%;
    font-size: clamp(24px, 2.4vw, 36px);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -0.005em;
}

.pillar p {
    color: var(--ink-dim);
    font-size: 15px;
    line-height: 1.55;
}

/* =========================================================
   Timeline
   ========================================================= */
.timeline {
    border-top: 1px solid var(--rule);
}

.timeline-row {
    display: grid;
    grid-template-columns: 160px 1fr 2fr;
    gap: clamp(24px, 3vw, 56px);
    padding: clamp(32px, 4vw, 56px) 0;
    border-bottom: 1px solid var(--rule);
    align-items: start;
}

.timeline-row .year {
    font-family: var(--f-display);
    font-weight: 600;
    font-stretch: 75%;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: -0.01em;
}

.timeline-row h3 {
    font-family: var(--f-display);
    font-weight: 600;
    font-stretch: 75%;
    font-size: clamp(22px, 2vw, 32px);
    line-height: 1.1;
    text-transform: uppercase;
}

.timeline-row p {
    color: var(--ink-dim);
    font-size: 15px;
    line-height: 1.6;
    text-wrap: pretty;
}

/* =========================================================
   Team
   ========================================================= */
.team {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(32px, 4vw, 64px);
    align-items: start;
    border-top: 1px solid var(--rule);
    padding-top: clamp(48px, 6vw, 80px);
}

.team__portrait {
    aspect-ratio: 4/5;
    background: var(--bg-sunk);
    border: 1px solid var(--rule);
    background-image: repeating-linear-gradient(
    45deg,
    color-mix(in oklab, var(--ink) 5%, transparent) 0 2px,
    transparent 2px 14px
  );
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.team__portrait span {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--ink-mute);
    text-transform: uppercase;
}

.team__bio h3 {
    font-family: var(--f-display);
    font-weight: 600;
    font-stretch: 75%;
    font-size: clamp(32px, 3.2vw, 52px);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.team__bio .role {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

.team__bio p {
    color: var(--ink-dim);
    max-width: 58ch;
    line-height: 1.6;
}

/* =========================================================
   Contact / Form
   ========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(32px, 4vw, 80px);
    border-top: 1px solid var(--rule);
    padding-top: clamp(48px, 6vw, 80px);
}

.form {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--rule);
}

.field {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--rule);
    align-items: center;
}

.field--textarea {
    align-items: start;
}

.field label {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-dim);
}

.field label .req {
    color: var(--accent);
    margin-left: 4px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    background: transparent;
    border: 0;
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--rule);
    transition: border-color 0.2s var(--ease);
    outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--accent);
}

.field textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.55;
}

.field select {
    appearance: none;
    cursor: pointer;
}

.contact-side {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-block {
    border-top: 1px solid var(--rule);
    padding-top: 20px;
}

.contact-block h4 {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 16px;
    font-weight: 400;
}

.contact-block .big-email {
    font-family: var(--f-display);
    font-weight: 600;
    font-stretch: 75%;
    font-size: clamp(22px, 2vw, 32px);
    text-transform: none;
    letter-spacing: -0.005em;
    color: var(--ink);
    display: block;
    margin-bottom: 20px;
}

.contact-block .big-email:hover {
    color: var(--accent);
}

.contact-block p,
.contact-block ul {
    color: var(--ink-dim);
    font-size: 14px;
    line-height: 1.6;
    list-style: none;
}

.contact-block li {
    padding: 6px 0;
    border-bottom: 1px dashed var(--rule);
    display: flex;
    gap: 12px;
}

.contact-block li:last-child {
    border-bottom: 0;
}

.contact-block li::before {
    content: "\2192";
    color: var(--accent);
}

/* =========================================================
   Tweaks panel
   ========================================================= */
.tweaks {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    background: var(--bg-elev);
    border: 1px solid var(--rule-strong);
    padding: 16px;
    width: 260px;
    display: none;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.tweaks.is-open {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tweaks__title {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}

.tweaks__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tweaks__group label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-dim);
}

.tweaks__options {
    display: flex;
    gap: 4px;
}

.tweaks__opt {
    flex: 1;
    padding: 8px;
    border: 1px solid var(--rule);
    background: transparent;
    color: var(--ink-dim);
    text-transform: uppercase;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.tweaks__opt.is-active {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
}

.tweaks__opt:hover:not(.is-active) {
    color: var(--ink);
    border-color: var(--rule-strong);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
    .section-head {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service--featured {
        grid-template-columns: 1fr;
    }

    .pullquote__grid {
        grid-template-columns: 1fr;
    }

    .hero--field {
        grid-template-columns: 1fr;
    }

    .hero--field .hero__right {
        aspect-ratio: 16/10;
    }

    .hero--editorial .hero__below {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillars {
        grid-template-columns: 1fr;
    }

    .timeline-row {
        grid-template-columns: 100px 1fr;
    }

    .timeline-row h3 {
        grid-column: 2;
    }

    .timeline-row p {
        grid-column: 1 / -1;
    }

    .process-row {
        grid-template-columns: 40px 1fr;
        gap: 16px;
    }

    .process-row__desc {
        grid-column: 1 / -1;
    }

    .process-row__meta {
        grid-column: 1 / -1;
        text-align: left;
    }

    .team {
        grid-template-columns: 1fr;
    }

    .verticals-split {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .field {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cta-band__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }

    .logo-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav__links {
        display: none;
    }

    .hamburger {
        display: block;
        order: 3;
    }

    .theme-toggle {
        order: 2;
        margin-left: auto;
    }

    .nav__links.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-elev);
        border-bottom: 1px solid var(--rule);
        padding: 16px var(--gutter);
        gap: 0;
        align-items: stretch;
    }

    .nav__links.is-open a {
        padding: 14px 0;
        border-bottom: 1px solid var(--rule);
    }

    .nav__cta {
        margin-left: 0 !important;
        margin-top: 12px;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .nav__brand .tag {
        display: none;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .logo-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero .mono-strip {
        font-size: 10px;
        gap: 12px;
    }

    .hero .mono-strip .hide-sm {
        display: none;
    }

    .pullquote blockquote {
        font-size: 32px;
    }

    .timeline-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Migrated from inline styles / <style> blocks
   (Moved here so a strict CSP with no 'unsafe-inline' works)
   ========================================================= */

/* --- Long-form article pages (privacy, terms, blog posts) --- */
.post-article { max-width: 780px; padding: clamp(40px, 6vw, 80px) 0 var(--section-y); }
.post-article h1 { font-family: var(--f-display); font-weight: 700; font-stretch: 75%; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(32px, 4.2vw, 68px); line-height: 1; margin-bottom: 20px; }
.post-article .lede { margin-bottom: 32px; }
.post-article--note .lede { margin-bottom: 48px; }

.post-body p { max-width: 68ch; line-height: 1.65; color: var(--ink); margin-bottom: 1.4em; }
.post-body h2 { font-family: var(--f-display); font-weight: 600; font-stretch: 75%; text-transform: uppercase; letter-spacing: -.005em; margin: 2em 0 .6em; font-size: clamp(22px, 2.2vw, 32px); }
.post-body h3 { font-family: var(--f-display); font-weight: 600; font-stretch: 75%; text-transform: uppercase; letter-spacing: -.005em; margin: 1.6em 0 .4em; font-size: clamp(18px, 1.6vw, 24px); }
.post-body ul, .post-body ol { padding-left: 1.4em; margin-bottom: 1.4em; max-width: 68ch; }
.post-body li { line-height: 1.65; margin-bottom: .4em; color: var(--ink); }
.post-body a { color: var(--accent); }
.post-body strong { color: var(--ink); }
.post-body code { font-family: var(--f-mono); font-size: .875em; background: var(--bg-sunk); border: 1px solid var(--rule); padding: 2px 6px; }
.post-body pre { font-family: var(--f-mono); font-size: .875em; background: var(--bg-sunk); border: 1px solid var(--rule); padding: 20px 24px; overflow-x: auto; margin-bottom: 1.4em; }
.post-body pre code { background: none; border: none; padding: 0; }
.post-body blockquote { border-left: 3px solid var(--accent); padding-left: 20px; color: var(--ink-dim); margin: 0 0 1.4em; }
.post-body hr { border: none; border-top: 1px solid var(--rule); margin: 48px 0; }
.post-body img { max-width: 100%; border: 1px solid var(--rule); margin: 24px 0; display: block; }

.notice { border: 1px solid var(--rule); padding: 14px 18px; margin-bottom: 32px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-dim); max-width: 68ch; }

.post-back { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--rule); }
.post-back a { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.post-back a:hover { color: var(--ink); }

/* --- Blog index (blog.html) ------------------------------ */
.post-list { border-top: 1px solid var(--rule); }
.post-row { display: grid; grid-template-columns: 160px 1fr 220px 120px; gap: clamp(20px, 3vw, 48px); padding: 32px 0; border-bottom: 1px solid var(--rule); align-items: start; transition: padding .25s var(--ease), background .25s var(--ease); }
.post-row:hover { padding-left: 16px; background: var(--bg-elev); }
.post-row .date { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-mute); text-transform: uppercase; padding-top: 8px; }
.post-row h3 { font-family: var(--f-display); font-weight: 600; font-stretch: 75%; font-size: clamp(22px, 2vw, 32px); line-height: 1.05; text-transform: uppercase; letter-spacing: -.005em; margin-bottom: 10px; }
.post-row p { color: var(--ink-dim); font-size: 15px; line-height: 1.55; max-width: 56ch; }
.post-row .tag { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; color: var(--ink-dim); text-transform: uppercase; padding-top: 8px; }
.post-row .read { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; text-align: right; padding-top: 8px; }
.post-row:hover .read { color: var(--ink); }

.quartz-note { border: 1px dashed var(--rule-strong); padding: 28px; margin-top: 64px; background: var(--bg-sunk); font-family: var(--f-mono); font-size: 12px; line-height: 1.7; color: var(--ink-dim); letter-spacing: .02em; }
.quartz-note h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.quartz-note code { background: var(--bg); padding: 2px 6px; border: 1px solid var(--rule); color: var(--ink); }

@media (max-width: 768px) {
    .post-row { grid-template-columns: 1fr; gap: 8px; }
    .post-row .read { text-align: left; }
}

/* --- Per-element modifiers (replacing inline style="") --- */
.mono-strip--light { font-weight: 400; }
.mono-strip--legal { font-weight: 400; margin-bottom: 40px; }
.mono-strip__mute { color: var(--ink-mute); }

.kicker--lead { display: block; margin-bottom: 28px; }
.hero__actions--spaced { margin-top: 32px; }
.mono--spaced { margin-top: 12px; }
.bio__followup { margin-top: 1em; }
.submit-row { padding-top: 32px; }
