/* ==========================================================================
   TechyOptions — "Signal Index"
   An editorial, spec-sheet aesthetic: bone paper, midnight navy, electric
   cyan signal accents, hairline rules and mono technical labels.
   ========================================================================== */

:root {
    /* Core palette */
    --ink: #08131F;
    --navy: #0B1D36;
    --navy-light: #16304F;
    --paper: #F3EEE5;
    --paper-dim: #E9E2D5;
    --paper-deep: #DCD3C2;

    --cyan: #00D4FF;
    --cyan-dark: #0093B8;
    --teal: #00A8A8;
    --amber: #E2833C;

    /* Legacy aliases (kept so every page resolves the same tokens) */
    --white: #FFFFFF;
    --off-white: var(--paper);
    --gray-100: rgba(8, 19, 31, 0.12);
    --gray-300: rgba(8, 19, 31, 0.32);
    --gray-600: rgba(8, 19, 31, 0.62);
    --gray-800: #1B2735;

    /* Rules & surfaces */
    --rule: rgba(8, 19, 31, 0.14);
    --rule-strong: rgba(8, 19, 31, 0.28);
    --rule-light: rgba(243, 238, 229, 0.16);

    --radius: 3px;
    --radius-lg: 5px;
    --shadow: 0 1px 0 var(--rule);
    --shadow-lg: 14px 14px 0 rgba(8, 19, 31, 0.08);

    /* Type */
    --font: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
    --font-display: 'Archivo', 'Instrument Sans', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

    /* Rhythm */
    --gut: clamp(24px, 4vw, 56px);
    --bay: clamp(72px, 9vw, 132px);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 17px;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Paper grain — fixed, non-interactive, never inside a scroll container */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 900;
    pointer-events: none;
    opacity: 0.055;
    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='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection {
    background: var(--cyan);
    color: var(--ink);
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.02;
    text-wrap: balance;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--gut);
}

.container-tight {
    max-width: 900px;
}

/* --------------------------------------------------------------------------
   Technical labels
   -------------------------------------------------------------------------- */
.eyebrow,
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan-dark);
    margin-bottom: 22px;
}

.eyebrow::before {
    content: '';
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

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

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 26px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: 1px solid var(--ink);
    background: none;
    color: var(--ink);
    cursor: pointer;
    transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
                background-color 0.22s var(--ease), color 0.22s var(--ease),
                border-color 0.22s var(--ease);
}

.btn-primary {
    background: var(--cyan);
    color: var(--ink);
    border-color: var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--ink);
}

.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--ink);
}

.btn-outline {
    background: transparent;
    color: var(--paper);
    border-color: var(--rule-light);
}

.btn-outline:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.btn-sm {
    padding: 11px 18px;
    font-size: 11.5px;
    box-shadow: 3px 3px 0 var(--ink);
}

.btn-sm:hover {
    box-shadow: 5px 5px 0 var(--ink);
}

.btn-full { width: 100%; }

/* On dark surfaces the hard shadow reads as cyan offset instead of ink */
.hero .btn-primary,
.cta-section .btn-primary,
.diptych-panel.ink .btn-primary,
.thank-hero .btn-primary {
    border-color: var(--cyan);
    box-shadow: 4px 4px 0 rgba(0, 212, 255, 0.28);
}

.hero .btn-primary:hover,
.cta-section .btn-primary:hover,
.diptych-panel.ink .btn-primary:hover,
.thank-hero .btn-primary:hover {
    box-shadow: 7px 7px 0 rgba(0, 212, 255, 0.35);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(8, 19, 31, 0.92);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.header.scrolled {
    background: rgba(5, 13, 22, 0.97);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 30px -22px rgba(0, 0, 0, 0.55);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 74px;
}

.logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    flex-shrink: 0;
}

.logo-img {
    height: 30px;
    width: auto;
    display: block;
}

/* Header wordmark (same design as footer, tuned for light header) */
.wordmark--header {
    margin-bottom: 0;
    font-size: 1.35rem;
    color: #F3EEE5; /* light paper so it pops on dark header */
    gap: 1px;
}
.wordmark--header .alt {
    color: var(--cyan, #00D4FF);
}
.wordmark--header .wordmark-mark {
    width: 0.9em;
    height: 0.9em;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.8vw, 30px);
}

.nav a:not(.btn) {
    position: relative;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(243, 238, 229, 0.78);
    padding: 6px 0;
    transition: color 0.2s var(--ease);
}

.nav a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s var(--ease);
}

.nav a:not(.btn):hover {
    color: #fff;
}

.nav a:not(.btn):hover::after {
    transform: scaleX(1);
}

.nav a.active-nav {
    color: #fff;
}

.nav a.active-nav::after {
    transform: scaleX(1);
    background: var(--cyan-dark);
    height: 2px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: none;
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 0 auto;
    background: #F3EEE5;
    transition: transform 0.28s var(--ease), opacity 0.2s;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding: clamp(130px, 15vw, 176px) 0 0;
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
    isolation: isolate;
}

/* Concentric signal arcs — the logo's wifi mark, blown up */
.hero-arcs {
    position: absolute;
    top: -14%;
    right: -12%;
    width: min(880px, 82vw);
    color: var(--cyan);
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.hero-arcs circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(120% 90% at 82% -10%, rgba(0, 212, 255, 0.16), transparent 62%),
        radial-gradient(80% 70% at 6% 100%, rgba(226, 131, 60, 0.1), transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: clamp(40px, 5vw, 76px);
    align-items: center;
    padding-bottom: clamp(64px, 8vw, 104px);
}

.hero-text { max-width: 620px; }

.hero h1 {
    font-size: clamp(2.85rem, 7.4vw, 5.3rem);
    font-weight: 800;
    font-variation-settings: 'wdth' 106;
    line-height: 0.94;
    letter-spacing: -0.04em;
    margin-bottom: 26px;
}

.hero h1 .line {
    display: block;
}

.hero h1 em {
    position: relative;
    font-style: normal;
    color: var(--cyan);
}

/* Hand-drawn signal underline beneath the emphasised word */
.hero h1 em::after {
    content: '';
    position: absolute;
    left: -1%;
    right: -1%;
    bottom: -0.06em;
    height: 0.14em;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M1 8.6C42 3.2 96 2 199 6.4' fill='none' stroke='%2300D4FF' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
    opacity: 0.75;
}

.hero-sub {
    font-size: clamp(1.08rem, 1.5vw, 1.32rem);
    color: rgba(243, 238, 229, 0.78);
    max-width: 48ch;
    margin-bottom: 34px;
    line-height: 1.45;
}

.hero-sub strong {
    color: var(--paper);
    font-weight: 700;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid var(--rule-light);
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(243, 238, 229, 0.5);
}

.hero-trust .dot { color: var(--cyan); opacity: 0.7; }

/* Overlapping photo collage — deliberately off-grid */
.hero-visual {
    position: relative;
}

.photo-collage {
    position: relative;
    display: grid;
    grid-template-columns: 1.32fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
}

.photo-main {
    position: relative;
    grid-row: 1 / span 2;
    min-height: 380px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(243, 238, 229, 0.16);
    box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.85);
    transform: translateY(-14px);
}

.photo-stack {
    display: contents;
}

.photo-item {
    position: relative;
    min-height: 176px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(243, 238, 229, 0.16);
    box-shadow: 0 22px 46px -26px rgba(0, 0, 0, 0.8);
}

.photo-item:nth-child(1) { transform: translate(18px, 14px); }
.photo-item:nth-child(2) { transform: translate(6px, 26px); }

.photo-main img,
.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.92) contrast(1.04);
    transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}

.photo-main:hover img,
.photo-item:hover img {
    transform: scale(1.045);
    filter: saturate(1.05) contrast(1.02);
}

.photo-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px 14px 11px;
    background: linear-gradient(transparent, rgba(4, 10, 17, 0.88));
    color: var(--paper);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Signal ticker */
.ticker {
    position: relative;
    z-index: 1;
    display: flex;
    overflow: hidden;
    background: var(--cyan);
    color: var(--ink);
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    padding: 12px 0;
    user-select: none;
}

.ticker-track {
    display: flex;
    flex-shrink: 0;
    gap: 40px;
    padding-right: 40px;
    align-items: center;
    white-space: nowrap;
    animation: ticker 34s linear infinite;
}

.ticker span {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.ticker svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    opacity: 0.65;
}

/* Partner logos in ticker */
.ticker--logos {
    padding: 18px 0;
}
.ticker--logos .ticker-track {
    gap: 44px;
    padding-right: 44px;
}
.ticker-logo {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    background: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

@keyframes ticker {
    to { transform: translateX(-100%); }
}

/* --------------------------------------------------------------------------
   Section shell
   -------------------------------------------------------------------------- */
.section {
    position: relative;
    padding: var(--bay) 0;
    scroll-margin-top: 74px;
}

.section-alt {
    background: var(--paper-dim);
}

/* Faint drafting grid on light sections */
.section-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, var(--rule) 1px, transparent 1px),
        linear-gradient(to bottom, var(--rule) 1px, transparent 1px);
    background-size: 88px 88px;
    opacity: 0.4;
    mask-image: radial-gradient(90% 70% at 50% 0%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(90% 70% at 50% 0%, #000 20%, transparent 78%);
}

.section > .container { position: relative; }

.section-header {
    max-width: 720px;
    margin-bottom: clamp(48px, 6vw, 76px);
}

.section-header.centered {
    margin-inline: auto;
    text-align: center;
}

.section-header.centered .eyebrow::before { display: none; }

.section-header h2 {
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    font-variation-settings: 'wdth' 102;
    color: var(--ink);
    margin-bottom: 16px;
}

.section-sub {
    color: var(--gray-600);
    font-size: 1.06rem;
    max-width: 56ch;
}

.section-header.centered .section-sub { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Service index — numbered rows, not a card grid
   -------------------------------------------------------------------------- */
.index-list {
    border-top: 1px solid var(--rule-strong);
}

.index-row {
    position: relative;
    display: grid;
    grid-template-columns: 4.2rem minmax(150px, 0.72fr) minmax(0, 1.5fr);
    gap: clamp(18px, 3vw, 46px);
    align-items: start;
    padding: clamp(26px, 3vw, 38px) clamp(14px, 2vw, 28px);
    border-bottom: 1px solid var(--rule);
    isolation: isolate;
    transition: color 0.4s var(--ease);
}

.index-row::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.5s var(--ease);
}

.index-row:hover::before {
    transform: scaleX(1);
}

.index-row:hover {
    color: var(--paper);
}

.index-num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--cyan-dark);
    padding-top: 6px;
    transition: color 0.4s var(--ease);
}

.index-row:hover .index-num { color: var(--cyan); }

.index-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.index-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: translateY(3px);
    transition: stroke 0.4s var(--ease), transform 0.5s var(--ease);
}

.index-row:hover .index-icon {
    stroke: var(--cyan);
    transform: translateY(3px) rotate(-6deg);
}

.index-row h3 {
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-variation-settings: 'wdth' 100;
}

.index-body p {
    color: var(--gray-600);
    font-size: 1rem;
    max-width: 54ch;
    transition: color 0.4s var(--ease);
}

.index-row:hover .index-body p { color: rgba(243, 238, 229, 0.72); }

.index-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.index-tags li {
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 11px;
    border: 1px solid var(--rule-strong);
    border-radius: 100px;
    color: rgba(8, 19, 31, 0.7);
    transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}

.index-row:hover .index-tags li {
    border-color: rgba(0, 212, 255, 0.4);
    color: rgba(243, 238, 229, 0.8);
}

/* --------------------------------------------------------------------------
   Diptych — residential | business, side by side, one light one dark
   -------------------------------------------------------------------------- */
.diptych {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.diptych-panel {
    position: relative;
    padding: clamp(64px, 7.5vw, 108px) clamp(26px, 4.5vw, 76px);
    scroll-margin-top: 74px;
    overflow: hidden;
}

.diptych-panel.paper {
    background: var(--paper-dim);
    border-right: 1px solid var(--rule-strong);
}

.diptych-panel.ink {
    background: var(--navy);
    color: var(--paper);
}

.diptych-panel.ink::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(90% 70% at 100% 0%, rgba(0, 212, 255, 0.14), transparent 60%);
}

.diptych-inner {
    position: relative;
    max-width: 520px;
    margin-left: auto;
}

.diptych-panel.ink .diptych-inner {
    margin-left: 0;
    margin-right: auto;
}

.diptych-panel h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    margin-bottom: 18px;
}

.diptych-panel > .diptych-inner > p {
    color: var(--gray-600);
    margin-bottom: 30px;
}

.diptych-panel.ink .diptych-inner > p {
    color: rgba(243, 238, 229, 0.72);
}

.diptych-panel.ink .eyebrow { color: var(--cyan); }

.check-list {
    margin-bottom: 36px;
    border-top: 1px solid var(--rule);
}

.diptych-panel.ink .check-list,
.diptych-panel.ink .check-list li {
    border-color: var(--rule-light);
}

.check-list li {
    position: relative;
    padding: 14px 0 14px 34px;
    border-bottom: 1px solid var(--rule);
    font-size: 0.98rem;
    font-weight: 500;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    width: 15px;
    height: 15px;
    background: var(--cyan-dark);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.5 11.5L3 8l1.2-1.2 2.3 2.3 5.3-5.3L13 5.2z'/%3E%3C/svg%3E") center/contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.5 11.5L3 8l1.2-1.2 2.3 2.3 5.3-5.3L13 5.2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.diptych-panel.ink .check-list li::before { background: var(--cyan); }

/* Pull-quote note inside a panel */
.panel-note {
    margin-top: 40px;
    padding: 22px 24px;
    border-left: 2px solid var(--cyan);
    background: rgba(8, 19, 31, 0.04);
}

.diptych-panel.ink .panel-note {
    background: rgba(243, 238, 229, 0.05);
}

.panel-note h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cyan-dark);
    margin-bottom: 10px;
}

.diptych-panel.ink .panel-note h4 { color: var(--cyan); }

.panel-note p {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.diptych-panel.ink .panel-note p { color: rgba(243, 238, 229, 0.7); }

/* --------------------------------------------------------------------------
   Why us — staggered, outlined numerals
   -------------------------------------------------------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 2.6vw, 36px);
}

.why-card {
    position: relative;
    padding-top: 26px;
    border-top: 2px solid var(--ink);
}

.why-card:nth-child(even) { transform: translateY(clamp(16px, 3vw, 44px)); }

.why-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.4vw, 4rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1.4px var(--ink);
    margin-bottom: 16px;
    transition: color 0.4s var(--ease), -webkit-text-stroke-color 0.4s var(--ease);
}

.why-card:hover .why-num {
    color: var(--cyan);
    -webkit-text-stroke-color: var(--ink);
}

.why-card h3 {
    font-size: 1.16rem;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
}

/* --------------------------------------------------------------------------
   Contact / CTA
   -------------------------------------------------------------------------- */
.cta-section {
    position: relative;
    background: var(--ink);
    color: var(--paper);
    padding: var(--bay) 0;
    overflow: hidden;
    scroll-margin-top: 74px;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, var(--rule-light) 1px, transparent 1px),
        linear-gradient(to bottom, var(--rule-light) 1px, transparent 1px);
    background-size: 88px 88px;
    opacity: 0.5;
    mask-image: radial-gradient(80% 80% at 20% 30%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(80% 80% at 20% 30%, #000, transparent 75%);
}

.cta-box {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(40px, 5vw, 84px);
    align-items: start;
}

.cta-text h2 {
    font-size: clamp(2rem, 4vw, 2.9rem);
    margin-bottom: 18px;
}

.cta-text > p {
    color: rgba(243, 238, 229, 0.72);
    max-width: 42ch;
    margin-bottom: 36px;
}

.contact-meta {
    border-top: 1px solid var(--rule-light);
}

.contact-meta div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule-light);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.contact-meta dt,
.contact-meta .k {
    color: rgba(243, 238, 229, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 10.5px;
}

.contact-meta .v { color: var(--paper); }
.contact-meta a.v:hover { color: var(--cyan); }

/* Form on dark — underline fields, no boxes */
.contact-form {
    background: rgba(243, 238, 229, 0.035);
    border: 1px solid var(--rule-light);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 3.4vw, 42px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 2vw, 26px);
    margin-bottom: 24px;
}

.field {
    display: block;
}

.field > span {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(243, 238, 229, 0.45);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px 2px;
    font-family: var(--font);
    font-size: 16px;
    color: var(--paper);
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(243, 238, 229, 0.24);
    border-radius: 0;
    outline: none;
    transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(243, 238, 229, 0.3);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5l5-5' fill='none' stroke='%2300D4FF' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 24px;
}

.contact-form select option {
    background: var(--ink);
    color: var(--paper);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-bottom-color: var(--cyan);
}

.contact-form textarea {
    resize: vertical;
    min-height: 92px;
}

.contact-form .field.stack { margin-bottom: 28px; }

.form-note {
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(243, 238, 229, 0.36);
    text-align: center;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    position: relative;
    background: #050D16;
    color: rgba(243, 238, 229, 0.62);
    padding: clamp(56px, 7vw, 88px) 0 0;
    overflow: hidden;
}

.footer-arcs {
    position: absolute;
    left: -6%;
    bottom: -58%;
    width: min(620px, 74vw);
    color: var(--cyan);
    opacity: 0.1;
    pointer-events: none;
}

.footer-arcs circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 1;
}

.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
    gap: clamp(28px, 4vw, 52px);
    padding-bottom: clamp(36px, 5vw, 56px);
    border-bottom: 1px solid var(--rule-light);
}

/* Text wordmark: the PNG logo is dark navy and disappears on dark ground */
.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    font-variation-settings: 'wdth' 100;
    letter-spacing: -0.035em;
    color: var(--paper);
    line-height: 1;
    margin-bottom: 18px;
}

.wordmark .alt { color: var(--cyan); }

.wordmark-mark {
    width: 0.86em;
    height: 0.86em;
    margin: 0 0.01em;
    flex-shrink: 0;
    transform: translateY(0.03em);
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 30ch;
}

.footer-links h4 {
    font-family: var(--font-mono);
    color: rgba(243, 238, 229, 0.42);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 18px;
    letter-spacing: 0.2em;
}

.footer-links a {
    display: block;
    width: fit-content;
    font-size: 0.94rem;
    margin-bottom: 11px;
    transition: color 0.2s var(--ease), transform 0.25s var(--ease);
}

.footer-links a:hover {
    color: var(--cyan);
    transform: translateX(3px);
}

.footer-bottom {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 0;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(243, 238, 229, 0.34);
}

/* --------------------------------------------------------------------------
   Interior pages — hero + form sheet
   -------------------------------------------------------------------------- */
.signup-hero {
    position: relative;
    padding: clamp(126px, 14vw, 168px) 0 clamp(52px, 6vw, 76px);
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
}

.signup-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(90% 100% at 88% 0%, rgba(0, 212, 255, 0.16), transparent 62%),
        linear-gradient(to right, var(--rule-light) 1px, transparent 1px) 0 0/88px 88px,
        linear-gradient(to bottom, var(--rule-light) 1px, transparent 1px) 0 0/88px 88px;
    mask-image: radial-gradient(100% 100% at 60% 0%, #000, transparent 80%);
    -webkit-mask-image: radial-gradient(100% 100% at 60% 0%, #000, transparent 80%);
}

.signup-hero > .container { position: relative; }

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

.signup-hero h1 {
    font-size: clamp(2.2rem, 5.6vw, 3.7rem);
    font-variation-settings: 'wdth' 104;
    margin-bottom: 16px;
    max-width: 22ch;
}

.signup-hero p {
    color: rgba(243, 238, 229, 0.72);
    max-width: 56ch;
    font-size: 1.06rem;
}

.hero-crumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--rule-light);
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(243, 238, 229, 0.4);
}

.hero-crumbs a:hover { color: var(--cyan); }
.hero-crumbs .sep { color: var(--cyan); opacity: 0.6; }

.signup-section {
    position: relative;
    padding: clamp(44px, 5vw, 70px) 0 clamp(72px, 9vw, 118px);
    background: var(--paper-dim);
}

.signup-card {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(26px, 4vw, 52px);
}

/* Form building blocks (shared by every interior form) */
.form-section {
    margin-bottom: 40px;
}

.form-section > h3 {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule-strong);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(8, 19, 31, 0.62);
    margin-bottom: 8px;
}

.form-group label .required { color: var(--amber); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font);
    font-size: 16px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
                background-color 0.2s var(--ease);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--rule-strong);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--ink);
    background: #fff;
    box-shadow: 3px 3px 0 rgba(0, 212, 255, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 96px;
}

.form-group input[type="file"] {
    padding: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px dashed var(--rule-strong);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 12px;
}

/* Flag a field only once the visitor has actually left it in a bad state */
.form-group input:user-invalid,
.form-group select:user-invalid,
.form-group textarea:user-invalid {
    border-color: var(--amber);
    box-shadow: 3px 3px 0 rgba(226, 131, 60, 0.4);
}

.form-note {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.06em;
    color: rgba(8, 19, 31, 0.52);
    margin-top: 7px;
}

/* Radio "cards" */
.account-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 8px;
}

.account-option {
    position: relative;
    cursor: pointer;
}

.account-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.account-option .option-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px;
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.5);
    transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
                border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}

.account-option:hover .option-box { border-color: var(--ink); }

.account-option input:checked + .option-box {
    border-color: var(--ink);
    background: var(--cyan);
    box-shadow: 4px 4px 0 var(--ink);
    transform: translate(-2px, -2px);
}

.account-option .option-box strong {
    font-family: var(--font-display);
    font-size: 1.14rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.account-option .option-box span {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(8, 19, 31, 0.6);
}

.account-option input:checked + .option-box span { color: rgba(8, 19, 31, 0.72); }

.account-option input:focus-visible + .option-box {
    outline: 2px solid var(--cyan-dark);
    outline-offset: 3px;
}

/* Checkbox rows */
.services-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.checkbox-label:hover {
    border-color: var(--ink);
    background: #fff;
}

.checkbox-label input {
    width: 17px;
    height: 17px;
    accent-color: var(--cyan-dark);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label:has(input:checked) {
    border-color: var(--ink);
    background: rgba(0, 212, 255, 0.14);
}

/* Progressive-disclosure blocks */
.service-details,
.line-block {
    display: none;
    margin-top: 20px;
    padding: 22px 22px 4px;
    background: rgba(8, 19, 31, 0.035);
    border: 1px solid var(--rule);
    border-left: 2px solid var(--cyan-dark);
    border-radius: var(--radius);
    animation: sheetIn 0.45s var(--ease) both;
}

.service-details.active,
.line-block.visible {
    display: block;
}

.service-details h4,
.line-block h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cyan-dark);
    margin: 0 0 16px;
}

.line-block h4 {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rule);
}

.line-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
}

.conditional-section { display: none; }
.conditional-section.active { display: block; }

.account-fields { display: none; }
.account-fields.active { display: block; }

@keyframes sheetIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

/* Document downloads */
.docs-download {
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius-lg);
    padding: clamp(22px, 3vw, 30px);
    margin-bottom: 40px;
}

.docs-download h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--paper);
    margin-bottom: 8px;
}

.docs-download > p {
    font-size: 0.93rem;
    color: rgba(243, 238, 229, 0.66);
    margin-bottom: 20px;
    max-width: 60ch;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.doc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    background: rgba(243, 238, 229, 0.05);
    border: 1px solid var(--rule-light);
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--paper);
    transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
                transform 0.22s var(--ease);
}

.doc-link:hover {
    border-color: var(--cyan);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.doc-link svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--cyan);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Submit block */
.form-actions {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--rule-strong);
}

.form-actions .btn {
    width: 100%;
    padding: 18px;
    font-size: 13px;
}

.form-disclaimer {
    margin-top: 18px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    line-height: 1.7;
    letter-spacing: 0.06em;
    color: rgba(8, 19, 31, 0.52);
    text-align: center;
}

/* --------------------------------------------------------------------------
   Thank you
   -------------------------------------------------------------------------- */
.thank-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    padding: 150px var(--gut) 90px;
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
}

.thank-hero .container { position: relative; }

.thank-hero h1 {
    font-size: clamp(2.4rem, 7vw, 4.6rem);
    font-variation-settings: 'wdth' 104;
    margin-bottom: 20px;
}

.thank-hero p {
    color: rgba(243, 238, 229, 0.72);
    max-width: 48ch;
    margin-bottom: 36px;
    font-size: 1.08rem;
}

.thank-arcs {
    position: absolute;
    top: 50%;
    right: -8%;
    transform: translateY(-50%);
    width: min(720px, 80vw);
    color: var(--cyan);
    opacity: 0.16;
    pointer-events: none;
}

.thank-arcs circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 1;
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
    transition-delay: var(--d, 0ms);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

/* Hero load choreography */
.rise {
    animation: rise 0.9s var(--ease) both;
    animation-delay: var(--d, 0ms);
}

@keyframes rise {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why-card:nth-child(even) { transform: none; }
    .why-card:nth-child(2) { transform: translateY(clamp(12px, 3vw, 36px)); }
    .why-card:nth-child(4) { transform: translateY(clamp(12px, 3vw, 36px)); }
}

@media (max-width: 960px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-text { max-width: none; }
    .photo-collage { max-width: 560px; margin-inline: auto; }
    .photo-main { transform: none; min-height: 300px; }
    .photo-item:nth-child(1),
    .photo-item:nth-child(2) { transform: none; }

    .index-row {
        grid-template-columns: 3rem 1fr;
        gap: 12px 20px;
    }

    .index-body { grid-column: 2; }

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

    .diptych-panel.paper { border-right: 0; border-bottom: 1px solid var(--rule-strong); }

    .diptych-inner,
    .diptych-panel.ink .diptych-inner { margin-inline: 0; max-width: none; }

    .cta-box { grid-template-columns: 1fr; }

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

@media (max-width: 860px) {
    .nav {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px var(--gut) 26px;
        background: #08131F;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.7);
    }

    .nav.open { display: flex; }

    .nav a:not(.btn) {
        padding: 15px 0;
        border-bottom: 1px solid var(--rule);
        font-size: 13px;
    }

    .nav a:not(.btn)::after { display: none; }

    .nav .btn { margin-top: 18px; }

    .menu-toggle { display: flex; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }

    .services-checkboxes,
    .account-type,
    .form-grid,
    .line-fields,
    .docs-grid,
    .form-row { grid-template-columns: 1fr; }

    .why-grid { grid-template-columns: 1fr; }
    .why-card:nth-child(n) { transform: none; }

    .hero-trust { font-size: 10.5px; gap: 8px; }

    .index-row { padding-inline: 0; }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .contact-meta div { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .reveal { opacity: 1; transform: none; }
    .ticker-track { animation: none; }
}

.hero-photo {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    max-width: 480px;
    margin-left: auto;
}

.hero-photo img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

@media (max-width: 900px) {
    .hero-photo {
        max-width: 100%;
        margin: 24px auto 0;
    }
}


/* Hero — text only (no photo column) */
.hero-content--text {
    grid-template-columns: 1fr;
    max-width: 920px;
}
.hero-content--text .hero-text {
    max-width: 720px;
}

/* About story */
.about-story {
    max-width: 68ch;
    margin: 0 0 clamp(40px, 5vw, 64px);
}
.about-story p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(8, 19, 31, 0.78);
    margin-bottom: 1.1em;
}
.about-story p:last-child { margin-bottom: 0; }
.about-story strong {
    color: var(--ink);
    font-weight: 600;
}
