/* ============================================================
   REENVO: Editorial Refinement
   Subtle Rams / Ive-inspired polish without changing the core tone.
   ============================================================ */

:root {
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 32px;
    --space-xl: 64px;
    --space-xxl: 120px;

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --font-sans: "Inter", -apple-system, sans-serif;
    --font-serif: "Instrument Serif", Georgia, serif;

    --text-huge: clamp(3.8rem, 9vw, 8.8rem);
    --text-display: clamp(3rem, 6vw, 5.6rem);
    --text-h2: clamp(2.2rem, 4.8vw, 4.2rem);
    --text-h3: clamp(1.5rem, 2.8vw, 2.4rem);
    --text-body-lg: clamp(1.125rem, 2vw, 1.4rem);
    --text-body: 1.0625rem;

    --light-bg: #f5f5f3;
    --light-surface: rgba(255, 255, 255, 0.68);
    --light-border: rgba(0, 0, 0, 0.08);

    --dark-bg: #1d1d1f;
    --dark-surface: rgba(255, 255, 255, 0.045);
    --dark-border: rgba(255, 255, 255, 0.12);

    --brand-bg: #032b43;
    --brand-surface: rgba(255, 255, 255, 0.06);
    --brand-border: rgba(255, 255, 255, 0.16);

    --red: #e45a53;
    --divider: rgba(255, 255, 255, 0.08);
    --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.16);
    --shadow-dark: 0 32px 90px rgba(0, 0, 0, 0.36);
    --ease-soft: cubic-bezier(0.22, 0.8, 0.24, 1);
    --transition-color:
        background-color 1.2s var(--ease-soft), color 1.2s var(--ease-soft),
        border-color 1.2s var(--ease-soft);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-color: var(--light-bg);
    color: #1d1d1f;
    overflow-x: hidden;
    transition: var(--transition-color);
}

body.theme-light {
    background-color: var(--light-bg);
    color: #1d1d1f;
}

body.theme-light .navbar {
    background: rgba(245, 245, 243, 0.84);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: #111;
}

body.theme-light .eyebrow {
    color: #66625b;
}

body.theme-light .quote-inline,
body.theme-light .data-cell {
    background: rgba(255, 255, 255, 0.62);
    border-color: rgba(0, 0, 0, 0.08);
}

body.theme-light .site-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.theme-dark {
    background-color: var(--dark-bg);
    color: #f5f5f7;
}

body.theme-dark .navbar {
    background: rgba(29, 29, 31, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
}

body.theme-dark .eyebrow {
    color: #a1a1a6;
}

body.theme-dark .site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
    margin: 0;
}

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

.serif {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.italic {
    font-style: italic;
}

.text-center {
    text-align: center;
}

.red-text {
    color: var(--red);
}

.eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: var(--space-md);
    transition: color 1.2s var(--ease-soft);
}

.hero-title {
    font-size: var(--text-huge);
    line-height: 0.93;
    letter-spacing: -0.05em;
    font-weight: 600;
}

.hero-title.serif {
    letter-spacing: 0.02em;
}

.section-title {
    font-size: var(--text-h2);
    line-height: 1.06;
    letter-spacing: -0.035em;
    font-weight: 600;
}

.body-large {
    font-size: var(--text-body-lg);
    line-height: 1.45;
    font-weight: 400;
    max-width: 760px;
    opacity: 0.92;
}

.body-text {
    font-size: var(--text-body);
    line-height: 1.65;
    max-width: 650px;
    opacity: 0.84;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mt-16 {
    margin-top: 4rem;
}

.story-wrapper {
    position: relative;
}

.editorial-section {
    position: relative;
}

.editorial-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.editorial-container-narrow {
    width: min(860px, calc(100% - 48px));
    margin: 0 auto;
}

.vh-center {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.screen-fit {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 118px 0 74px;
}

.padding-huge {
    padding: clamp(88px, 10vw, 132px) 0;
}

.split-grid {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    z-index: 1000;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-color);
    border-bottom: 1px solid transparent;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-brand {
    font-weight: 700;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge {
    font-size: 0.6rem;
    padding: 2px 7px;
    border: 1px solid currentColor;
    border-radius: 999px;
    opacity: 0.6;
}

.nav-tagline {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.66;
}

.hero-section {
    padding: 96px 0 32px;
}

.hero-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #032b43;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.76) contrast(1.05) saturate(0.95);
}

.hero-blur-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(255, 255, 255, 0.08),
            transparent 40%
        ),
        linear-gradient(
            to bottom,
            rgba(3, 12, 18, 0.22) 0%,
            rgba(29, 29, 31, 0.82) 100%
        );
    mix-blend-mode: screen;
    pointer-events: none;
}

body.theme-light .hero-blur-overlay {
    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(255, 255, 255, 0.08),
            transparent 40%
        ),
        linear-gradient(
            to bottom,
            rgba(3, 12, 18, 0.25) 0%,
            rgba(245, 245, 243, 0.75) 100%
        );
}

.hero-shell {
    display: flex;
    justify-content: center;
}

.hero-subtext {
    font-size: clamp(1.15rem, 1.8vw, 1.42rem);
    line-height: 1.5;
    max-width: 620px;
    margin: 1.8rem auto 0;
    opacity: 0.92;
}

.scroll-indicator {
    position: absolute;
    bottom: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.72;
    color: #fff;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 1px solid currentColor;
    border-radius: 999px;
    position: relative;
}

.mouse::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: currentColor;
    border-radius: 999px;
    animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 18px;
        opacity: 0;
    }
}

.intro-section {
    background: #fff;
    color: #1d1d1f;
}

.intro-section .eyebrow {
    color: #66625b;
    transition: none;
}



.intro-title {
    font-size: clamp(2.7rem, 4.9vw, 4.9rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    max-width: 9ch;
    text-wrap: balance;
}

.intro-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
}

.intro-section .grid-left,
.intro-section .grid-right {
    min-width: 0;
}

.intro-caption {
    max-width: 26ch;
}

.intro-section .body-text {
    max-width: 60ch;
}

.quote-inline {
    padding: 24px 24px 22px;
    border-radius: var(--radius-md);
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.05);
}

.quote-mark {
    font-family: var(--font-serif);
    font-size: 4.3rem;
    line-height: 0.8;
    color: var(--red);
    opacity: 0.5;
}

.pull-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 1.9vw, 1.74rem);
    line-height: 1.3;
    margin-top: 8px;
}

.quote-author {
    margin-top: 18px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.62;
}

.poster-wall-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 255, 255, 0.04),
            transparent 24%
        ),
        radial-gradient(
            circle at 80% 0%,
            rgba(255, 255, 255, 0.03),
            transparent 22%
        );
    pointer-events: none;
}

.visual-section {
    overflow: hidden;
    min-height: 72vh;
}

.visual-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.18) 38%,
        transparent 58%
    );
    z-index: 1;
    pointer-events: none;
}

.visual-split {
    position: absolute;
    inset: 0;
    display: flex;
    gap: 0;
}

.visual-panel {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.visual-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.visual-panel:first-child {
    flex: 0 0 62%;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.visual-panel:first-child::before {
    background: linear-gradient(
        160deg,
        rgba(0, 0, 0, 0.12) 0%,
        rgba(0, 0, 0, 0.22) 55%,
        rgba(0, 0, 0, 0.44) 100%
    );
}

.visual-panel:last-child::before {
    background: rgba(0, 0, 0, 0.54);
}

.visual-text-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72vh;
    padding: 0 24px;
    color: #fff;
}

.visual-text-overlay .editorial-container {
    width: auto;
    max-width: 780px;
    margin: 0 0 0 8vw;
    text-align: left;
}

.paradox-layout {
    width: min(1360px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(180px, 0.42fr) 1fr;
    gap: clamp(20px, 3vw, 36px);
    align-items: start;
}

.paradox-intro {
    padding: 8px 0;
}

.paradox-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: stretch;
}

.paradox-section .body-large {
    max-width: 22ch;
}

.paradox-section .body-text {
    max-width: none;
    font-size: 0.99rem;
    line-height: 1.64;
}

.editorial-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    box-shadow: var(--shadow-dark);
}

.card-image-wrap {
    height: 300px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.18) contrast(1.02);
    transition:
        transform 0.55s var(--ease-soft),
        filter 0.55s var(--ease-soft);
}

.editorial-card:hover .card-image-wrap img {
    transform: scale(1.03);
    filter: grayscale(0.02) contrast(1.04);
}

.card-content {
    flex: 1;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    padding: 18px 20px 20px;
    gap: 0;
}

.card-title {
    font-size: clamp(1.4rem, 1.85vw, 1.8rem);
    line-height: 1.08;
    margin-bottom: 0.7rem;
    letter-spacing: -0.025em;
}

.card-highlight {
    padding-top: 14px;
    align-self: end;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.88rem;
    line-height: 1.55;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.stats-section .section-title,
.timeline-section .section-title,
.poster-wall-section .section-title {
    max-width: 900px;
    margin-inline: auto;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1120px;
    margin-inline: auto;
    border: 1px solid var(--divider);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.data-cell {
    padding: clamp(24px, 3vw, 40px);
    text-align: left;
}

.data-cell:nth-child(n + 3) {
    border-top: 1px solid var(--divider);
}

.data-cell:nth-child(odd) {
    border-right: 1px solid var(--divider);
    padding-right: clamp(32px, 4vw, 56px);
}

.data-number {
    font-size: clamp(3.2rem, 6vw, 5.2rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 0.65rem;
}

.data-number .plus {
    font-weight: 300;
    opacity: 0.5;
}

.data-label {
    font-size: 0.97rem;
    line-height: 1.55;
    opacity: 0.84;
    max-width: 320px;
}

.system-lead {
    width: min(520px, calc(100% - 48px));
    margin-inline: auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.44);
    font-size: 0.88rem;
    line-height: 1.65;
}

.system-track {
    width: min(520px, calc(100% - 48px));
    margin-inline: auto;
    position: relative;
    padding-left: 48px;
}

.system-track::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 8px;
    bottom: 52px;
    width: 1px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.16),
        rgba(255, 255, 255, 0.02)
    );
}

.system-card {
    position: relative;
    padding: 0 0 52px 0;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.system-card::before {
    content: "";
    position: absolute;
    top: 5px;
    left: -35px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.system-card-alert::before {
    background: var(--red);
    box-shadow: 0 0 10px rgba(228, 90, 83, 0.45);
}

.system-year {
    display: block;
    font-size: 0.66rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.32);
    margin-bottom: 8px;
    background: none;
    border: none;
    padding: 0;
    min-height: auto;
    border-radius: 0;
}

.system-title {
    margin-top: 0;
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.system-card .body-text {
    max-width: none;
    margin-top: 8px;
    font-size: 0.9rem;
    opacity: 0.52;
    line-height: 1.6;
}

.system-card:last-child {
    padding-bottom: 0;
}

.poster-board {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.poster-wall {
    position: relative;
    height: 740px;
    overflow: hidden;
}

.comment-poster {
    position: absolute;
    width: 280px;
    padding: 20px 18px 18px;
    border-radius: 4px;
    background: #f8f6f0;
    border: none;
    box-shadow:
        3px 3px 0px rgba(0, 0, 0, 0.18),
        6px 8px 24px rgba(0, 0, 0, 0.38);
    transform: rotate(var(--rotate, 0deg));
    transition: box-shadow 200ms var(--ease-soft), transform 200ms var(--ease-soft);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
}

.comment-poster.is-dragging {
    cursor: grabbing;
    box-shadow:
        4px 4px 0px rgba(0, 0, 0, 0.22),
        16px 24px 56px rgba(0, 0, 0, 0.52);
    transition: box-shadow 80ms var(--ease-soft);
}

.comment-poster:hover:not(.is-dragging) {
    box-shadow:
        3px 3px 0px rgba(0, 0, 0, 0.18),
        10px 16px 40px rgba(0, 0, 0, 0.5);
}

.comment-poster::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(var(--tape-tilt, -1deg));
    width: 48px;
    height: 20px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
    pointer-events: none;
}

.comment-poster:nth-child(1) { --rotate: -4deg;  --tape-tilt:  2deg; }
.comment-poster:nth-child(2) { --rotate:  2.5deg; --tape-tilt: -1deg; }
.comment-poster:nth-child(3) { --rotate: -1.5deg; --tape-tilt:  3deg; }
.comment-poster:nth-child(4) { --rotate:  3.5deg; --tape-tilt: -2deg; }
.comment-poster:nth-child(5) { --rotate: -3deg;  --tape-tilt:  1deg; }
.comment-poster:nth-child(6) { --rotate:  1.5deg; --tape-tilt: -3deg; }

.poster-composer {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 999px;
    background: rgba(30, 30, 32, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.poster-composer-input {
    background: transparent;
    border: none;
    padding: 10px 16px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.82);
    outline: none;
    width: 260px;
}

.poster-composer-input::placeholder {
    color: rgba(255, 255, 255, 0.22);
}

.poster-composer-input:focus {
    background: transparent;
    transform: none;
}

.poster-composer-input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px rgba(30, 30, 32, 0.82) inset;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.82);
}

.poster-add-btn {
    padding: 10px 18px;
    border-radius: 0;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 140ms var(--ease-soft), color 140ms var(--ease-soft);
    white-space: nowrap;
}

.poster-add-btn:hover {
    color: #fff;
}

.poster-tag,
.poster-author {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.07);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
}

.poster-quote {
    margin: 10px 0 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.82);
    font-family: var(--font-sans);
}

.brand-callout {
    background: #fff;
    color: #1d1d1f;
}

.brand-callout .eyebrow {
    color: #66625b;
    transition: none;
}

.brand-callout .section-title,
.brand-callout .body-large {
    color: #1d1d1f;
}

.brand-callout {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-callout-inner {
    max-width: min(1320px, calc(100% - 48px));
}

.brand-callout-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: #66625b;
    margin-bottom: 1.2rem;
    transition: none;
}

.brand-callout-title {
    font-size: clamp(3rem, 7.5vw, 8rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 600;
    color: #1d1d1f;
    max-width: none;
    text-wrap: balance;
}

.brand-callout-body {
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    line-height: 1.5;
    max-width: 720px;
    margin-inline: auto;
    opacity: 0.62;
    color: #1d1d1f;
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: start;
}

.contact-overview,
.contact-panel {
    border-radius: 0;
    padding: 0;
    background: transparent;
    border: 0;
}

.contact-overview h3 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.contact-panel {
    padding-left: clamp(24px, 3vw, 42px);
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-points {
    display: grid;
    gap: 16px;
}

.contact-point {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.point-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
    font-weight: 600;
}

.contact-point p {
    font-size: 0.98rem;
    line-height: 1.6;
    opacity: 0.88;
}

.clean-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

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

.form-group label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.78;
}

input,
textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: inherit;
    outline: none;
    transition:
        border-color 160ms var(--ease-soft),
        background-color 160ms var(--ease-soft),
        transform 160ms var(--ease-soft);
}

input:focus,
textarea:focus {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

body.theme-light input,
body.theme-light textarea {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
}

body.theme-light input:focus,
body.theme-light textarea:focus {
    border-color: #111;
    background: #fff;
}

textarea {
    resize: vertical;
    min-height: 140px;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 10px;
}

.form-microcopy {
    font-size: 0.9rem;
    opacity: 0.72;
}

.submit-btn {
    min-width: 180px;
    padding: 16px 24px;
    border-radius: 999px;
    background: #fff;
    color: #032b43;
    font-weight: 600;
    font-size: 0.98rem;
    border: none;
    cursor: pointer;
    transition:
        transform 180ms var(--ease-soft),
        box-shadow 180ms var(--ease-soft),
        opacity 180ms var(--ease-soft);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 32px rgba(0, 0, 0, 0.28);
}

.form-success-alert {
    margin-top: 1rem;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(48, 209, 88, 0.18);
    color: #9ff0b3;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(157, 240, 179, 0.2);
}

.form-success-alert svg {
    width: 20px;
    height: 20px;
}

.site-footer {
    padding: 22px 0;
    font-size: 0.82rem;
}

.footer-content {
    width: min(1400px, calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    opacity: 0.7;
}

@keyframes revealUp {
    from {
        opacity: 1;
        clip-path: inset(0% -10% 100% -10%);
        transform: translateY(32px) scale(0.97);
    }
    to {
        opacity: 1;
        clip-path: inset(-20% -10% -20% -10%);
        transform: translateY(0) scale(1);
    }
}

.fade-up {
    opacity: 0;
}

.fade-up.visible {
    animation: revealUp 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: var(--delay, 0s);
}

@media (max-width: 1100px) {
    .paradox-layout {
        grid-template-columns: 1fr;
    }

    .paradox-intro {
        position: static;
    }

    .system-track {
        padding-left: 36px;
    }

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

    .contact-panel {
        padding-left: 0;
        padding-top: 28px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .poster-wall {
        height: 900px;
    }
}

@media (max-width: 900px) {
    .nav-content,
    .editorial-container,
    .editorial-container-narrow,
    .split-grid,
    .visual-grid,
    .paradox-layout,
    .poster-board,
    .footer-content {
        width: min(100% - 32px, 100%);
    }

    .nav-tagline {
        display: none;
    }

    .screen-fit {
        min-height: auto;
    }

    .split-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .visual-panel-second {
        display: none;
    }

    .visual-section {
        min-height: 70vh;
    }

    .visual-text-overlay {
        min-height: 70vh;
    }

    .intro-title {
        max-width: none;
    }

    .intro-caption {
        max-width: none;
    }

    .hero-panel {
        padding: 28px 22px;
    }

    .paradox-cards {
        grid-template-columns: 1fr;
    }

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

    .poster-wall {
        height: 1100px;
    }

    .comment-poster {
        width: calc(100% - 40px);
        cursor: default;
    }

    .comment-poster:nth-child(n) {
        --rotate: 0deg;
    }

    .form-row,
    .form-footer {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .submit-btn {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 6px;
    }
}
