/* ==========================================================================
   TeleCore Global — v3 "ops dossier"
   Black / ops teal / paper. Anton + IBM Plex Mono + IBM Plex Sans.
   (--red* token names kept for compatibility; values are teal)
   ========================================================================== */

:root {
    --black: #050505;
    --ink: #080808;
    --ink-2: #0D0D0D;
    --ink-3: #141414;

    --paper: #E8E4DA;
    --paper-2: #DCD6C8;
    --white: #F7F5EF;

    --red: #1C9B8C;
    --red-bright: #2BB5A5;
    --red-deep: #0A5C54;
    --lime: #B6FF3B;

    --line: #2A2A2A;
    --line-soft: #1B1B1B;
    --line-paper: #B9B3A5;

    --muted: #8A8A82;
    --muted-2: #7C7C74;
    --muted-paper: #5A574F;

    --danger: #B72219;
    --danger-bg: #F8E2DD;
    --success: #376B13;
    --success-bg: #E8F2DA;

    --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;

    --shell: 1480px;
    --gutter: clamp(18px, 4vw, 56px);
    --header-h: 110px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
pre { font-family: var(--font-mono); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--black); }

:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
}

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

/* Texture ---------------------------------------------------------------- */
.site { position: relative; }
.site::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 300;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* Utilities -------------------------------------------------------------- */
.shell {
    width: min(calc(100% - (var(--gutter) * 2)), var(--shell));
    margin-inline: auto;
}
.container {
    width: min(calc(100% - (var(--gutter) * 2)), 1240px);
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    top: 0; left: 0;
    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;
    top: 12px; left: 12px;
    z-index: 400;
    padding: 12px 18px;
    background: var(--red);
    color: var(--black);
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 600;
    transform: translateY(-200%);
    transition: transform .18s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    display: inline-block;
    vertical-align: -.18em;
}

.mono,
.kicker {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
    line-height: 1.5;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--red);
}
.kicker::before {
    content: "[";
    color: var(--red);
}
.kicker::after {
    content: "]";
    color: var(--red);
}

.section {
    position: relative;
    padding-block: clamp(64px, 8vw, 120px);
}
.section-dark { background: var(--black); color: var(--white); }
.section-paper { background: var(--paper); color: var(--black); }
.section-red { background: var(--red); color: var(--black); }

.section-dark::before,
.section-paper::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(232, 228, 218, .035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(232, 228, 218, .035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 90% 90% at 50% 20%, black, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 20%, black, transparent 85%);
}
.section-paper::before {
    background-image:
        linear-gradient(to right, rgba(5, 5, 5, .045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(5, 5, 5, .045) 1px, transparent 1px);
}
.section > .shell { position: relative; z-index: 1; }

.section-head {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 28px;
    align-items: end;
    margin-bottom: clamp(30px, 4vw, 48px);
}
.section-head--stack { grid-template-columns: 1fr; }
.section-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--red);
}
.section-kicker::before { content: ""; width: 20px; height: 1px; background: var(--red); }
.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .01em;
    line-height: .88;
    font-size: clamp(2.8rem, 6vw, 6rem);
}
.section-title .red { color: var(--red); }
.section-lede {
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted);
    max-width: 46ch;
}
.section-paper .section-lede { color: var(--muted-paper); }
.section-paper .kicker,
.section-paper .section-kicker,
.dubai-band .kicker { color: var(--red-deep); }
.section-paper .kicker::before,
.section-paper .kicker::after { color: var(--red-deep); }

.red { color: var(--red) !important; }
.lime { color: var(--lime) !important; }
.muted { color: var(--muted) !important; }

/* Hazard / scanlines ----------------------------------------------------- */
.hazard {
    height: 10px;
    background: repeating-linear-gradient(
        -45deg,
        var(--black) 0 12px,
        var(--red) 12px 24px
    );
    border-block: 1px solid var(--black);
}
.scan {
    position: relative;
}
.scan::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px);
    z-index: 2;
}

/* Scroll progress -------------------------------------------------------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 350;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: 0 50%;
    pointer-events: none;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
    --cut: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--paper);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1.2;
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
    transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn .btn-icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover .btn-icon { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: wait; }

.btn-red,
.btn-primary {
    background: var(--red);
    border-color: var(--red);
    color: var(--black);
}
.btn-red:hover,
.btn-primary:hover { background: var(--paper); border-color: var(--paper); color: var(--black); }

.btn-outline {
    border-color: var(--line);
    color: var(--paper);
}
.btn-outline:hover { background: var(--red); border-color: var(--red); color: var(--black); }

.btn-black {
    background: var(--black);
    border-color: var(--black);
    color: var(--paper);
}
.btn-black:hover { background: var(--ink-3); border-color: var(--ink-3); }

.btn-sm { min-height: 38px; padding: 9px 14px; font-size: 9px; --cut: 7px; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
    transition: color .18s var(--ease);
}
.link-arrow::before { content: "["; color: currentColor; }
.link-arrow::after { content: "]"; color: currentColor; }
.link-arrow .icon { width: 14px; height: 14px; }
.link-arrow:hover { color: var(--paper); }
.section-paper .link-arrow:hover { color: var(--black); }

/* Command bar + header --------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--black);
    border-bottom: 1px solid var(--line);
}
.cmdbar {
    height: 32px;
    background: var(--red);
    color: var(--black);
    overflow: hidden;
    transition: height .22s var(--ease), opacity .22s var(--ease);
}
.cmdbar-inner {
    height: 32px;
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.cmd-chip {
    flex: 0 0 auto;
    padding: 4px 8px;
    background: var(--black);
    color: var(--red);
    font-size: 8px;
    letter-spacing: .14em;
}
.cmd-feed {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent, black 24px, black calc(100% - 24px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 24px, black calc(100% - 24px), transparent);
}
.cmd-track {
    display: inline-flex;
    gap: 26px;
    white-space: nowrap;
    animation: cmdscroll 42s linear infinite;
}
.cmd-feed:hover .cmd-track { animation-play-state: paused; }
.cmd-sep { opacity: .55; }
.cmd-meta {
    flex: 0 0 auto;
    display: flex;
    gap: 18px;
    font-size: 8px;
}
@keyframes cmdscroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .cmd-track { animation: none; }
    .cmd-track span[aria-hidden="true"] { display: none; }
}

.site-header.is-scrolled .cmdbar { height: 0; opacity: 0; }
.site-header.is-scrolled .mainbar { height: 64px; }

.mainbar {
    height: 78px;
    border-top: 1px solid rgba(0, 0, 0, .25);
    transition: height .22s var(--ease);
}
.mainbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 34px; height: 34px; display: block; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-word { display: inline-flex; flex-direction: column; gap: 1px; line-height: 1; }
.brand-word b {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 400;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--white);
}
.brand-word > span {
    font-family: var(--font-mono);
    font-size: 7px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--red);
}

.mainnav { display: flex; align-items: center; gap: clamp(18px, 2.8vw, 34px); }
.nav-link {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 4px 2px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav-link::before { content: "["; color: var(--line); transition: color .18s var(--ease); }
.nav-link::after { content: "]"; color: var(--line); transition: color .18s var(--ease); }
.nav-link .nav-index { font-size: 7px; color: var(--red); transform: translateY(-3px); }
.nav-link:hover,
.nav-link.is-active { color: var(--red); }
.nav-link:hover::before,
.nav-link:hover::after,
.nav-link.is-active::before,
.nav-link.is-active::after { color: var(--red); }

.mainbar-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--paper);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.nav-toggle-lines { position: relative; width: 18px; height: 10px; }
.nav-toggle-lines span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform .2s var(--ease), top .2s var(--ease);
}
.nav-toggle-lines span:first-child { top: 0; }
.nav-toggle-lines span:last-child { top: 9px; }
.site-header.is-open .nav-toggle-lines span:first-child { top: 4px; transform: rotate(45deg); }
.site-header.is-open .nav-toggle-lines span:last-child { top: 4px; transform: rotate(-45deg); }

/* Mobile menu ------------------------------------------------------------ */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 190;
    background-color: var(--black);
    background-image:
        radial-gradient(700px 500px at 85% 0%, rgba(28, 155, 140, .12), transparent 65%),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 5px);
    color: var(--paper);
    padding: calc(var(--header-h) + 34px) var(--gutter) 28px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity .22s var(--ease), visibility .22s;
}
.menu-overlay.is-open { visibility: visible; opacity: 1; }
.menu-inner { display: flex; flex-direction: column; min-height: 100%; }
.menu-nav { display: grid; }
.menu-link {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 12vw, 4.6rem);
    line-height: .95;
    text-transform: uppercase;
    color: var(--paper);
    transition: color .18s var(--ease), padding-left .18s var(--ease);
}
.menu-link:hover { color: var(--red); padding-left: 8px; }
.menu-num { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; color: var(--red); }
.menu-meta { margin-top: auto; padding-top: 30px; display: grid; gap: 14px; }
.menu-email {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--paper);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.menu-note { font-family: var(--font-mono); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Hero ------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--black);
    border-bottom: 1px solid var(--line);
    padding-block: clamp(44px, 6vw, 74px) clamp(48px, 6vw, 72px);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(232, 228, 218, .05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(232, 228, 218, .05) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: radial-gradient(ellipse 75% 80% at 60% 30%, black, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 75% 80% at 60% 30%, black, transparent 78%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    right: -12%;
    top: -20%;
    width: min(780px, 60vw);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(28, 155, 140, .15), transparent 65%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}
.hero-copy { grid-column: 1 / 7; }
.hero-visual { grid-column: 8 / 13; }

.hero h1 {
    margin-top: 20px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(3.6rem, 9.4vw, 9rem);
    line-height: .84;
    letter-spacing: .005em;
    text-transform: uppercase;
    color: var(--white);
}
.hero h1 .red { display: inline-block; }
.hero h1 .slash {
    color: var(--line);
    font-weight: 400;
}
.hero-lede {
    margin-top: 24px;
    max-width: 43ch;
    font-size: clamp(14px, 1.25vw, 16.5px);
    line-height: 1.7;
    color: #BDB8AC;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.hero-file {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 34px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted-2);
}
.hero-file b { font-weight: 400; color: var(--paper); }

.hero-frame {
    position: relative;
    border: 1px solid var(--line);
    background: var(--ink);
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.hero-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 4px);
}
.hero-frame img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.04) saturate(1.04);
}
.frame-tag {
    position: absolute;
    z-index: 3;
    padding: 6px 9px;
    background: var(--black);
    border: 1px solid var(--red);
    color: var(--red);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.frame-tag--tl { left: 14px; top: 14px; }
.frame-tag--br { right: 14px; bottom: 14px; color: var(--lime); border-color: var(--lime); }
.hero-caption {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted-2);
}
.hero-side {
    position: absolute;
    left: -26px;
    top: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--red);
}

/* Dossier / file strip --------------------------------------------------- */
.file-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line-paper);
    margin-bottom: clamp(28px, 4vw, 48px);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted-paper);
}
.file-strip--dark { border-color: var(--line); color: var(--muted); }
.file-strip .red { color: var(--red-deep); }
.file-stamp {
    display: inline-block;
    padding: 4px 9px;
    border: 2px solid var(--red-deep);
    color: var(--red-deep);
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: .05em;
    text-transform: uppercase;
    transform: rotate(-3deg);
}

/* Manifesto -------------------------------------------------------------- */
.manifesto-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}
.manifesto h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.8rem, 6.4vw, 6.2rem);
    line-height: .88;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--black);
}
.manifesto h2 .mark {
    display: inline-block;
    padding: 0 6px;
    background: var(--red);
    color: var(--black);
}
.manifesto-copy { display: grid; gap: 16px; padding-top: 8px; }
.manifesto-copy p {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--muted-paper);
    max-width: 48ch;
}
.manifesto-copy .lead {
    font-size: 17px;
    line-height: 1.65;
    color: var(--black);
}
.redact {
    display: inline-block;
    height: .9em;
    min-width: 54px;
    background: var(--black);
    vertical-align: -.08em;
}
.redact--wide { min-width: 96px; }
.warning-box {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 18px;
    margin-top: clamp(30px, 4vw, 44px);
    padding: 18px 20px;
    border: 1px solid var(--black);
    border-left: 8px solid var(--red);
    background: var(--paper-2);
}
.warning-box h3 {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red-deep);
}
.warning-box p { font-size: 13px; line-height: 1.7; color: var(--black); }
.paper-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: clamp(36px, 5vw, 58px);
    border-top: 1px solid var(--black);
}
.paper-fact { padding: 18px 20px 0 0; display: grid; gap: 5px; }
.paper-fact + .paper-fact { padding-left: 20px; border-left: 1px solid var(--line-paper); }
.paper-fact span {
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted-paper);
}
.paper-fact b {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.9rem);
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--black);
}

/* Capabilities table ----------------------------------------------------- */
.cap-table-head,
.cap-row {
    display: grid;
    grid-template-columns: 70px 1.15fr .95fr 96px;
    gap: 22px;
    align-items: center;
}
.cap-table-head {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted-2);
}
.cap-row {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    color: var(--white);
    transition: background-color .18s var(--ease), color .18s var(--ease), padding .18s var(--ease);
}
.cap-row:hover {
    background: var(--red);
    color: var(--black);
    padding-left: 16px;
    padding-right: 16px;
}
.cap-num { font-family: var(--font-mono); font-size: 10px; color: var(--red); }
.cap-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.7vw, 2.5rem);
    font-weight: 400;
    line-height: .98;
    text-transform: uppercase;
    letter-spacing: .01em;
}
.cap-desc { font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.cap-row:hover .cap-num,
.cap-row:hover .cap-desc,
.cap-row:hover .cap-action { color: var(--black); }
.cap-action {
    justify-self: end;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
}
.cap-foot { display: flex; justify-content: flex-end; margin-top: 20px; }

/* Evidence --------------------------------------------------------------- */
.evidence-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: clamp(420px, 48vw, 650px);
    margin-top: clamp(28px, 4vw, 46px);
}
.exhibit {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--line);
    background: var(--ink);
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
.exhibit--main { grid-row: 1 / 3; }
.exhibit-media { position: relative; flex: 1; overflow: hidden; min-height: 0; }
.exhibit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease), filter .5s var(--ease);
    filter: contrast(1.03) saturate(1.05);
}
.exhibit:hover img { transform: scale(1.025); filter: contrast(1.1) saturate(1.15); }
.exhibit-bar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    border-top: 1px solid var(--line);
    background: var(--ink-2);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.exhibit-bar b { color: var(--red); font-weight: 500; }
.exhibit-bar span:last-child { color: var(--muted-2); }
.evidence-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 20px; }
.evidence-note { font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); max-width: 56ch; }

/* Method ----------------------------------------------------------------- */
.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: clamp(28px, 4vw, 46px);
}
.method-step {
    position: relative;
    border: 1px solid var(--line);
    padding: 20px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--ink);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.method-step:hover { background: var(--red); color: var(--black); border-color: var(--red); }
.method-num {
    font-family: var(--font-display);
    font-size: clamp(3rem, 4.6vw, 4.6rem);
    line-height: .8;
    color: transparent;
    -webkit-text-stroke: 1px var(--red);
}
.method-step:hover .method-num { -webkit-text-stroke-color: var(--black); }
.method-tag {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
}
.method-step:hover .method-tag { color: var(--black); }
.method-step h3 {
    margin-top: auto;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 400;
    line-height: .95;
    text-transform: uppercase;
    letter-spacing: .01em;
}
.method-step p { font-size: 12px; line-height: 1.65; color: var(--muted); }
.method-step:hover p { color: rgba(5, 5, 5, .72); }
.method-meta { margin-top: 6px; font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.method-step:hover .method-meta { color: rgba(5, 5, 5, .55); }

/* CTA -------------------------------------------------------------------- */
.cta { background: var(--red); color: var(--black); }
.cta-inner {
    display: grid;
    gap: 30px;
    padding-block: clamp(54px, 7vw, 96px);
}
.cta .mono { color: rgba(5, 5, 5, .6); }
.cta h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(3.4rem, 8.6vw, 8.8rem);
    line-height: .84;
    text-transform: uppercase;
    letter-spacing: .005em;
    max-width: 14ch;
    color: var(--black);
}
.cta h2 .hollow { color: transparent; -webkit-text-stroke: 2px var(--black); }
@supports not (-webkit-text-stroke: 1px #000) {
    .cta h2 .hollow { color: var(--black); }
}
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 26px;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(5, 5, 5, .3);
}
.cta .btn:focus-visible { outline-color: var(--black); }
.cta-email {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.cta-email:hover { opacity: .65; }

/* Footer ----------------------------------------------------------------- */
.site-footer {
    background: var(--black);
    color: var(--paper);
    border-top: 1px solid var(--line);
    padding-top: clamp(44px, 6vw, 72px);
    overflow: hidden;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.6fr .7fr .9fr 1fr;
    gap: clamp(24px, 4vw, 48px);
    padding-bottom: clamp(34px, 4vw, 54px);
    border-bottom: 1px solid var(--line);
}
.footer-brand { display: grid; align-content: start; gap: 16px; }
.footer-note { max-width: 32ch; font-size: 13px; line-height: 1.7; color: var(--muted); }
.footer-terminal {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .02em;
    color: var(--red);
}
.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--paper);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.footer-email .icon { width: 14px; height: 14px; color: var(--red); }
.footer-heading {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a,
.footer-col span { font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: color .18s var(--ease); }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-block: 16px;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted-2);
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: var(--red); }
.footer-wordmark {
    font-family: var(--font-display);
    font-size: clamp(4rem, 16vw, 16rem);
    line-height: .7;
    letter-spacing: .01em;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 1px rgba(232, 228, 218, .14);
    text-transform: uppercase;
    user-select: none;
    white-space: nowrap;
    transform: translateY(.08em);
}

/* Page head -------------------------------------------------------------- */
.page-head {
    position: relative;
    overflow: hidden;
    background: var(--black);
    color: var(--white);
    border-bottom: 1px solid var(--line);
    padding-block: clamp(54px, 7vw, 92px) clamp(44px, 5vw, 64px);
}
.page-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(232, 228, 218, .045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(232, 228, 218, .045) 1px, transparent 1px),
        radial-gradient(circle at 82% 45%, transparent 0 118px, rgba(28, 155, 140, .32) 119px 120px, transparent 121px),
        radial-gradient(circle at 82% 45%, transparent 0 178px, rgba(28, 155, 140, .14) 179px 180px, transparent 181px),
        radial-gradient(circle at 82% 45%, rgba(28, 155, 140, .1), transparent 40%),
        linear-gradient(to right, transparent calc(82% - 1px), rgba(28, 155, 140, .16) calc(82% - 1px), rgba(28, 155, 140, .16) 82%, transparent 82%),
        linear-gradient(to bottom, transparent calc(45% - 1px), rgba(28, 155, 140, .16) calc(45% - 1px), rgba(28, 155, 140, .16) 45%, transparent 45%);
    background-size: 88px 88px, 88px 88px, auto, auto, auto, auto, auto;
    background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    pointer-events: none;
}
.page-head::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 5, 5, .15), transparent 55%);
    pointer-events: none;
}
.page-head--legal { --page-image: none; }
.page-head > .shell { position: relative; z-index: 1; }
.page-head-grid {
    display: grid;
    grid-template-columns: 1.45fr .55fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: end;
}
.page-crumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
}
.page-crumb span { color: var(--muted-2); }
.page-head h1 {
    margin-top: 18px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(3rem, 7.4vw, 7rem);
    line-height: .84;
    letter-spacing: .005em;
    text-transform: uppercase;
    max-width: 14ch;
}
.page-head h1 .red { display: inline; }
.page-lede {
    margin-top: 20px;
    max-width: 56ch;
    font-size: clamp(14px, 1.3vw, 16px);
    line-height: 1.72;
    color: #BDB8AC;
}
.page-head-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.page-file { border: 1px solid var(--line); background: rgba(5, 5, 5, .72); padding: 16px; backdrop-filter: blur(6px); }
.page-file h2 { font-family: var(--font-mono); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.page-file-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}
.page-file-row b { font-weight: 500; color: var(--paper); text-align: right; }
.page-file-row a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; text-transform: none; }

/* Services --------------------------------------------------------------- */
.services-body { position: relative; padding-block: clamp(52px, 7vw, 92px); }
.services-body > .shell,
.about-body > .shell { position: relative; z-index: 1; }
.service-group + .service-group { margin-top: clamp(40px, 6vw, 72px); }
.group-label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line-paper);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted-paper);
}
.group-label b {
    margin-left: auto;
    font-weight: 500;
    color: var(--red-deep);
}
.service-list { margin-top: 4px; }
.service-entry {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 220px;
    gap: clamp(18px, 3vw, 40px);
    padding-block: clamp(26px, 3.5vw, 38px);
    border-bottom: 1px solid var(--line-paper);
    scroll-margin-top: calc(var(--header-h) + 24px);
}
.service-index { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; color: var(--red-deep); padding-top: 5px; }
.service-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: .96;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--black);
    max-width: 19ch;
}
.service-summary { margin-top: 10px; max-width: 58ch; font-size: 13.5px; line-height: 1.7; color: var(--muted-paper); }
.service-includes { display: flex; flex-wrap: wrap; gap: 7px 22px; margin-top: 16px; }
.service-includes li {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: .03em;
    line-height: 1.6;
    color: var(--muted-paper);
}
.service-includes li::before { content: "+"; color: var(--red-deep); font-size: 10px; }
.service-side { border-left: 1px solid var(--line-paper); padding-left: 20px; display: grid; align-content: start; gap: 14px; }
.service-icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--black); color: var(--red-deep); }
.service-icon .icon { width: 18px; height: 18px; }
.service-side .btn { width: 100%; justify-content: space-between; }
.service-note { font-family: var(--font-mono); font-size: 8.5px; line-height: 1.6; color: var(--muted-paper); }
.service-note a { color: var(--red-deep); text-decoration: underline; text-underline-offset: 3px; }

/* About ------------------------------------------------------------------ */
.about-body { position: relative; padding-block: clamp(56px, 7vw, 96px); }
.about-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-intro h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: .88;
    text-transform: uppercase;
    letter-spacing: .01em;
}
.about-intro h2 .red { color: var(--red-deep); }
.about-copy { display: grid; gap: 16px; }
.about-copy p { max-width: 56ch; font-size: 14px; line-height: 1.8; color: var(--muted-paper); }
.about-copy p:first-child { font-size: 18px; line-height: 1.65; color: var(--black); }
.about-signature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted-paper);
}
.about-signature::before { content: ""; width: 24px; height: 1px; background: var(--red-deep); }
.about-figure { margin-top: clamp(34px, 5vw, 56px); border: 1px solid var(--black); background: var(--black); }
.about-figure img { width: 100%; display: block; }
.about-figure figcaption {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 12px;
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.principles { padding-block: clamp(54px, 7vw, 90px); }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: clamp(28px, 4vw, 44px); }
.principle {
    border: 1px solid var(--line);
    padding: 22px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--ink);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.principle-num { font-family: var(--font-mono); font-size: 8px; letter-spacing: .14em; color: var(--red); }
.principle h3 {
    margin-top: auto;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 400;
    line-height: .95;
    text-transform: uppercase;
}
.principle p { font-size: 12px; line-height: 1.65; color: var(--muted); }
.dubai-band { background: var(--paper-2); color: var(--black); padding-block: clamp(44px, 6vw, 76px); border-block: 1px solid var(--black); }
.dubai-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.dubai-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.6vw, 4.4rem);
    font-weight: 400;
    line-height: .88;
    text-transform: uppercase;
}
.dubai-copy p { margin-top: 14px; max-width: 48ch; font-size: 13.5px; line-height: 1.75; color: var(--muted-paper); }
.dubai-coords { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; border-top: 1px solid var(--black); }
.dubai-coords li {
    display: grid;
    gap: 3px;
    padding: 10px 0;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted-paper);
}
.dubai-coords li + li { padding-left: 14px; border-left: 1px solid var(--line-paper); }
.dubai-coords b { font-weight: 500; color: var(--black); text-transform: none; }
.dubai-coords a { text-decoration: underline; text-underline-offset: 3px; }
.dubai-stamp {
    border: 1px solid var(--black);
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 2;
}
.dubai-stamp b { display: block; font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5.6rem); font-weight: 400; line-height: .85; letter-spacing: .01em; }

/* Forms ------------------------------------------------------------------ */
.form-section { position: relative; padding-block: clamp(44px, 6vw, 76px); }
.form-section > .shell { position: relative; z-index: 1; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .72fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-main { min-width: 0; }
.form { display: grid; gap: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label,
.field legend {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted-paper);
}
.field label .req { color: var(--red-deep); }
.field-optional { color: var(--muted-paper); opacity: .8; }
.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 13px;
    background: transparent;
    border: 1px solid var(--black);
    border-radius: 0;
    color: var(--black);
    font-family: var(--font-body);
    font-size: 14.5px;
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.65; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(5, 5, 5, .35); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--red-deep); }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--red-deep);
    box-shadow: inset 0 0 0 1px var(--red-deep);
    background: rgba(255, 255, 255, .18);
}
.field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 38px;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--black) 50%),
        linear-gradient(135deg, var(--black) 50%, transparent 50%);
    background-position:
        calc(100% - 17px) calc(50% + 1px),
        calc(100% - 12px) calc(50% + 1px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus { box-shadow: inset 0 0 0 1px var(--danger); }
.field-hint { font-family: var(--font-mono); font-size: 8px; letter-spacing: .03em; line-height: 1.6; color: var(--muted-paper); }
.field-error { font-family: var(--font-mono); font-size: 9px; line-height: 1.6; color: var(--danger); }
.field-error::before { content: "! "; }
.field-full { grid-column: 1 / -1; }
.field-checks { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.field-checks legend { margin-bottom: 3px; }
.checkbox { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted-paper); cursor: pointer; }
.checkbox input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--red-deep); flex: 0 0 auto; }
.form-note { font-family: var(--font-mono); font-size: 8px; line-height: 1.7; letter-spacing: .03em; color: var(--muted-paper); }
.form-note a { color: var(--red-deep); text-decoration: underline; text-underline-offset: 3px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.form-submit { min-width: 250px; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-aside { display: grid; gap: 14px; align-content: start; position: sticky; top: calc(64px + 20px); }
.transmission {
    padding: 22px;
    background: var(--black);
    color: var(--paper);
    border: 1px solid var(--line);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.transmission h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    line-height: .92;
    text-transform: uppercase;
    margin-top: 8px;
}
.transmission .mono { color: var(--red); }
.transmission-steps { display: grid; margin-top: 16px; }
.transmission-step { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.transmission-step .n { font-family: var(--font-mono); font-size: 8px; color: var(--red); padding-top: 2px; }
.transmission-step h3 { font-family: var(--font-mono); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; color: var(--paper); }
.transmission-step p { margin-top: 3px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.transmission-email {
    display: inline-block;
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--paper);
    text-decoration: underline;
    text-underline-offset: 4px;
    word-break: break-word;
}
.transmission-email:hover { color: var(--red); }
.transmission-note { margin-top: 12px; color: var(--muted); }
.lock { margin-top: 14px; font-family: var(--font-mono); font-size: 10px; line-height: 1.25; color: var(--red); white-space: pre; }
.form-meta { color: var(--muted-paper); }
.aside-email-link {
    display: inline-block;
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--red-deep);
    text-decoration: underline;
    text-underline-offset: 4px;
    word-break: break-word;
}
.aside-paper { padding: 20px; border: 1px solid var(--black); background: var(--paper-2); color: var(--black); }
.aside-paper h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; line-height: .95; text-transform: uppercase; }
.aside-paper p { margin-top: 8px; font-size: 12px; line-height: 1.65; color: var(--muted-paper); }

/* Error summary / flash -------------------------------------------------- */
.error-summary {
    padding: 18px 20px;
    margin-bottom: 24px;
    border: 1px solid var(--danger);
    border-left: 7px solid var(--danger);
    background: var(--danger-bg);
    color: #6E1B13;
}
.error-summary:focus { outline: 2px solid var(--danger); outline-offset: 3px; }
.error-summary h2 { font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--danger); }
.error-summary ul { margin-top: 8px; display: grid; gap: 4px; }
.error-summary a { font-family: var(--font-mono); font-size: 10.5px; text-decoration: underline; text-underline-offset: 3px; }
.error-summary a:hover { color: var(--red-deep); }

.flash-wrap { padding-top: 16px; display: grid; gap: 8px; }
.flash {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-left-width: 5px;
    font-family: var(--font-mono);
    font-size: 10px;
    line-height: 1.5;
}
.flash .flash-icon { width: 15px; height: 15px; margin-top: 1px; }
.flash-success { background: var(--success-bg); border-color: #B7C99F; border-left-color: var(--success); color: #24420E; }
.flash-error { background: var(--danger-bg); border-color: #DDB6AF; border-left-color: var(--danger); color: #6E1B13; }
.flash-info { background: #E8EDF0; border-color: #BFCBD2; border-left-color: #3B5F70; color: #1D3D4B; }

/* Success ---------------------------------------------------------------- */
.success { background: var(--black); color: var(--paper); padding-block: clamp(54px, 8vw, 104px); min-height: 72vh; }
.success-inner { max-width: 980px; }
.success-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    border: 1px solid var(--lime);
    color: var(--lime);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.success-tag::before { content: "●"; }
.success h1 {
    margin-top: 22px;
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7.4rem);
    font-weight: 400;
    line-height: .84;
    text-transform: uppercase;
    letter-spacing: .01em;
}
.success h1 .red { color: var(--red); }
.success-lede { margin-top: 22px; max-width: 58ch; font-size: 14.5px; line-height: 1.75; color: #BDB8AC; }
.success-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 36px; }
.success-step { border: 1px solid var(--line); padding: 16px; background: var(--ink); }
.success-step h2 { font-family: var(--font-mono); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.success-step p { margin-top: 7px; font-size: 12px; line-height: 1.65; color: var(--muted); }
.success-step a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.success-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* Prose ------------------------------------------------------------------ */
.prose-band { position: relative; padding-block: clamp(44px, 6vw, 78px); }
.prose-band > .shell { position: relative; z-index: 1; }
.prose { max-width: 820px; }
.prose-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted-paper);
}
.prose-meta::before { content: ""; width: 20px; height: 1px; background: var(--red-deep); }
.prose h2 {
    margin-top: 36px;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 400;
    line-height: .95;
    text-transform: uppercase;
    letter-spacing: .01em;
    color: var(--black);
}
.prose h2:first-of-type { margin-top: 0; }
.prose p { margin-top: 11px; font-size: 14.5px; line-height: 1.8; color: var(--muted-paper); }
.prose a { color: var(--red-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--black); }

/* Errors ----------------------------------------------------------------- */
.error-page {
    position: relative;
    background: var(--black);
    color: var(--paper);
    min-height: 76vh;
    display: grid;
    align-items: center;
    padding-block: clamp(52px, 8vw, 100px);
    overflow: hidden;
}
.error-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 4px);
    pointer-events: none;
}
.error-page::after {
    content: "";
    position: absolute;
    right: -10%;
    top: 0;
    width: 55vw; aspect-ratio: 1;
    background: radial-gradient(circle, rgba(28, 155, 140, .14), transparent 65%);
}
.error-inner { position: relative; z-index: 1; max-width: 780px; }
.error-code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 14vw, 11rem);
    line-height: .8;
    letter-spacing: .01em;
    color: var(--red);
    text-transform: uppercase;
}
.error-inner h1 {
    margin-top: 18px;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.6vw, 5rem);
    font-weight: 400;
    line-height: .88;
    text-transform: uppercase;
    letter-spacing: .01em;
}
.error-lede { margin-top: 16px; max-width: 54ch; font-size: 14px; line-height: 1.75; color: #BDB8AC; }
.error-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.error-debug {
    margin-top: 20px;
    padding: 14px;
    border: 1px solid var(--line);
    background: var(--ink);
    font-family: var(--font-mono);
    font-size: 10px;
    line-height: 1.6;
    white-space: pre-wrap;
    color: var(--red);
}
.error-footer {
    padding-block: 18px;
    background: var(--black);
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted-2);
}

/* Reveal ----------------------------------------------------------------- */
.has-js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.has-js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .has-js .reveal { opacity: 1; transform: none; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
    .hero-copy { grid-column: 1 / 7; }
    .hero-visual { grid-column: 7 / 13; }
    .evidence-grid { grid-template-columns: 1.6fr 1fr; }
    .method-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .form-layout { grid-template-columns: 1fr; }
    .form-aside { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    :root { --header-h: 96px; }
    .mainnav,
    .mainbar-actions > .btn { display: none; }
    .nav-toggle { display: inline-flex; }
    .cmd-meta span:first-child { display: none; }
    .cmdbar-inner { gap: 10px; }
    .cmd-feed { font-size: 8px; }
    .mainbar { height: 64px; }
    .brand-word b { font-size: 18px; }

    .hero { padding-block: 44px 48px; }
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-copy,
    .hero-visual { grid-column: 1 / -1; }
    .hero h1 { font-size: clamp(3.4rem, 14vw, 7rem); }
    .hero-visual { max-width: 620px; }
    .hero-side { display: none; }

    .section-head { grid-template-columns: 1fr; gap: 10px; }
    .manifesto-grid,
    .about-intro,
    .dubai-grid { grid-template-columns: 1fr; }
    .manifesto h2 { font-size: clamp(2.6rem, 9vw, 4.2rem); }
    .paper-facts { grid-template-columns: 1fr; }
    .paper-fact + .paper-fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-paper); }
    .paper-fact { padding: 13px 0; }

    .cap-table-head { display: none; }
    .cap-row { grid-template-columns: 42px 1fr 40px; gap: 14px; }
    .cap-desc { display: none; }
    .cap-action { font-size: 0; }
    .cap-action::after { content: "↗"; font-size: 16px; }

    .evidence-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
    .exhibit--main { grid-row: auto; }
    .exhibit { aspect-ratio: 3 / 2; }

    .page-head-grid { grid-template-columns: 1fr; }
    .page-file { display: grid; grid-template-columns: 1fr 1fr; }
    .page-file h2 { grid-column: 1 / -1; }
    .page-file-row:nth-child(odd) { padding-right: 12px; border-right: 1px solid var(--line); }

    .service-entry { grid-template-columns: 36px 1fr; }
    .service-side { grid-column: 2; border-left: 0; padding-left: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
    .service-side .btn { width: auto; }

    .principle-grid { grid-template-columns: 1fr; }
    .principle { min-height: 0; }
    .method-grid { grid-template-columns: 1fr 1fr; }

    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .success-next { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .cmd-meta { display: none; }
    .cmd-chip { font-size: 7px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .hero-file { flex-direction: column; gap: 5px; }
    .hero-caption { flex-direction: column; gap: 4px; }

    .section { padding-block: 56px; }
    .section-title { font-size: clamp(2.4rem, 10vw, 3.4rem); }
    .manifesto h2 { font-size: clamp(2.4rem, 9.5vw, 3.4rem); }
    .warning-box { grid-template-columns: 1fr; gap: 6px; }

    .evidence-grid { gap: 10px; }
    .exhibit { aspect-ratio: auto; height: 280px; }

    .method-grid { grid-template-columns: 1fr; }
    .method-step { min-height: 0; }

    .page-head h1 { font-size: clamp(2.8rem, 12vw, 4.4rem); }
    .page-file { grid-template-columns: 1fr; }
    .page-file-row:nth-child(odd) { border-right: 0; padding-right: 0; }

    .service-includes { flex-direction: column; gap: 5px; }
    .about-figure figcaption { flex-direction: column; gap: 3px; }
    .dubai-coords { grid-template-columns: 1fr; }
    .dubai-coords li + li { padding-left: 0; border-left: 0; }
    .form-grid { grid-template-columns: 1fr; }
    .form-aside { grid-template-columns: 1fr; }
    .form-submit { width: 100%; }
    .cta-actions { flex-direction: column; align-items: flex-start; }
    .cta-actions .btn { width: 100%; }
    .success-actions .btn { width: 100%; }
    .error-actions .btn { width: 100%; }

    .footer-top { grid-template-columns: 1fr; gap: 26px; }
    .footer-wordmark { font-size: 22vw; }
}

@media (max-width: 520px) {
    .hero h1 { font-size: clamp(3rem, 16vw, 4.4rem); }
    .cta h2 { font-size: clamp(2.8rem, 13vw, 4rem); }
    .hero-visual { margin-inline: 0; }
    .page-head-actions .btn { width: 100%; }
}
