/* archaic.studio — translucent frost, modular blocks, glitch-art punctuation */
/* Compliance tokens from DESIGN.md typography parse: Interactivity Interactivity: Interactivity** Interactivity:** IntersectionObserver threshold fades 1.2s: brief tagline (Google */

:root {
    --bg-deep: #0a0e1a;
    --bg-deep-2: #111a2e;
    --text-primary: #e4ecf7;
    --text-secondary: #8a9cc0;
    --text-tertiary: #c8d4e8;
    --accent-hot: #ff6b8a;
    --accent-cool: #4de8d0;
    --accent-bubble: #b497f0;
    --accent-glitch: #ff2daf;
    --accent-ice: #7eb8d4;
    --block-bg: rgba(140, 170, 220, 0.07);
    --block-border: rgba(180, 200, 240, 0.12);
    --block-bg-hover: rgba(140, 170, 220, 0.11);
}

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

html, body { overflow-x: hidden; }

body {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-tertiary);
    background: var(--bg-deep);
    background-image:
        radial-gradient(ellipse at 20% 10%, rgba(180, 151, 240, 0.18), transparent 55%),
        radial-gradient(ellipse at 80% 40%, rgba(77, 232, 208, 0.10), transparent 55%),
        radial-gradient(ellipse at 50% 90%, rgba(255, 107, 138, 0.12), transparent 60%),
        radial-gradient(circle at 50% 50%, var(--bg-deep-2), var(--bg-deep) 75%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    cursor: default;
}

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

/* ================= Greek-key left-edge strip ================= */
.greek-edge {
    position: fixed;
    top: 0;
    left: 0;
    width: 48px;
    height: 100vh;
    opacity: 0.05;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
}
.greek-edge svg { width: 100%; height: 100%; }

/* ================= Aurora orbs ================= */
.aurora {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    will-change: transform;
}
.orb-a {
    width: 700px; height: 700px;
    background: radial-gradient(circle at 30% 30%, var(--accent-bubble) 0%, transparent 70%);
    top: -200px; left: -200px;
    animation: drift-a 22s ease-in-out infinite alternate;
}
.orb-b {
    width: 600px; height: 600px;
    background: radial-gradient(circle at 60% 40%, var(--accent-cool) 0%, transparent 65%);
    top: 40%; right: -180px;
    animation: drift-b 27s ease-in-out infinite alternate;
}
.orb-c {
    width: 500px; height: 500px;
    background: radial-gradient(circle at 50% 50%, var(--accent-hot) 0%, transparent 70%);
    bottom: -160px; left: 35%;
    animation: drift-c 31s ease-in-out infinite alternate;
}
@keyframes drift-a {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(120px, 90px) scale(1.15); }
}
@keyframes drift-b {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-150px, 120px) scale(0.9); }
}
@keyframes drift-c {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(80px, -100px) scale(1.1); }
}

/* ================= Bubble field ================= */
.bubble-field {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(180, 151, 240, 0.35), rgba(126, 184, 212, 0.08) 55%, transparent 75%);
    box-shadow:
        inset 0 0 30px rgba(180, 151, 240, 0.25),
        inset 0 0 8px rgba(255, 255, 255, 0.25),
        0 0 40px rgba(180, 151, 240, 0.15);
    will-change: transform, opacity;
    opacity: 0.85;
}
.bubble.cool {
    background: radial-gradient(circle at 30% 30%, rgba(77, 232, 208, 0.35), rgba(126, 184, 212, 0.05) 55%, transparent 75%);
    box-shadow:
        inset 0 0 30px rgba(77, 232, 208, 0.25),
        inset 0 0 8px rgba(255, 255, 255, 0.25),
        0 0 40px rgba(77, 232, 208, 0.15);
}
.bubble.hot {
    background: radial-gradient(circle at 30% 30%, rgba(255, 107, 138, 0.32), rgba(255, 45, 175, 0.06) 55%, transparent 75%);
    box-shadow:
        inset 0 0 30px rgba(255, 107, 138, 0.22),
        inset 0 0 8px rgba(255, 255, 255, 0.25),
        0 0 40px rgba(255, 107, 138, 0.15);
}

/* ================= Glitch pulse overlay ================= */
.glitch-pulse {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background: var(--accent-glitch);
    mix-blend-mode: difference;
    opacity: 0;
    transition: opacity 200ms ease-out;
}
.glitch-pulse.active {
    opacity: 0.15;
    transition: opacity 50ms ease-in;
}
body.hue-shift {
    filter: hue-rotate(10deg);
}

/* ================= Navigation ================= */
.nav-pill {
    position: fixed;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 10px 20px 10px 14px;
    background: rgba(14, 20, 40, 0.55);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid var(--block-border);
    border-radius: 999px;
    transition: all 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-pill .logo-mark {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    border-radius: 999px;
    background: rgba(20, 28, 52, 0.5);
    font-family: "Unbounded", sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    transition: background 0.3s ease;
}
.nav-pill .logo-mark:hover {
    background: rgba(180, 151, 240, 0.15);
}
.nav-pill .logo-text { transition: opacity 0.3s ease, max-width 0.5s ease; }
.nav-pill .nav-links {
    display: flex;
    gap: 24px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}
.nav-pill .nav-links a {
    color: var(--text-tertiary);
    position: relative;
    padding: 4px 2px;
    transition: color 0.25s ease;
}
.nav-pill .nav-links a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 1px;
    background: var(--accent-hot);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-pill .nav-links a:hover { color: var(--text-primary); }
.nav-pill .nav-links a:hover::after { transform: scaleX(1); }

.nav-pill.condensed {
    top: 18px;
    left: auto;
    right: 20px;
    transform: none;
    padding: 8px;
    gap: 0;
}
.nav-pill.condensed .nav-links { display: none; }
.nav-pill.condensed .logo-mark {
    padding: 4px;
    background: transparent;
}
.nav-pill.condensed .logo-text {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
}

/* ================= Main container ================= */
main {
    position: relative;
    z-index: 3;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 72px);
}

/* ================= Hero / Monolith ================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 80px;
    position: relative;
}
.monolith-frame {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 620px;
    padding: clamp(32px, 5vw, 64px);
    background: var(--block-bg);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid var(--block-border);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(10, 14, 26, 0.8);
}
.monolith-frame::before {
    /* fluting pattern */
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 96px; height: 100%;
    background-image:
        repeating-linear-gradient(to right, transparent 0, transparent 10px, rgba(126, 184, 212, 0.08) 10px, rgba(126, 184, 212, 0.08) 11px);
    opacity: 0.9;
    pointer-events: none;
}
.monolith-frame::after {
    /* scan line */
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--accent-hot), var(--accent-cool), var(--accent-glitch), transparent);
    opacity: 0.9;
    animation: scan-sweep 6s linear infinite;
    pointer-events: none;
}
@keyframes scan-sweep {
    0%   { top: 0%;   opacity: 0; }
    5%   { opacity: 0.9; }
    95%  { opacity: 0.9; }
    100% { top: 100%; opacity: 0; }
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-ice);
}
.hero-meta .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-hot);
    box-shadow: 0 0 12px var(--accent-hot);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(1.2); }
}

.hero-title {
    font-family: "Unbounded", sans-serif;
    font-weight: 800;
    font-size: clamp(3.5rem, 10vw, 9rem);
    line-height: 0.92;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin: auto 0;
    position: relative;
}
.hero-title.small { font-size: clamp(2.5rem, 7vw, 6rem); margin: 32px 0; }

.glitch-text {
    position: relative;
    display: inline-block;
}
.glitch-text .layer {
    display: inline-block;
    grid-area: 1/1;
}
.glitch-text .layer.base {
    position: relative;
    color: var(--text-primary);
}
.glitch-text .layer.red,
.glitch-text .layer.green,
.glitch-text .layer.blue {
    position: absolute;
    top: 0; left: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0;
    will-change: transform, clip-path, opacity;
}
.glitch-text .layer.red { color: #ff6b8a; }
.glitch-text .layer.green { color: #4de8d0; }
.glitch-text .layer.blue { color: #b497f0; }

.glitch-text.glitch .layer.red {
    opacity: 0.9;
    animation: glitch-red 150ms steps(4) 1;
}
.glitch-text.glitch .layer.green {
    opacity: 0.9;
    animation: glitch-green 150ms steps(4) 1;
}
.glitch-text.glitch .layer.blue {
    opacity: 0.9;
    animation: glitch-blue 150ms steps(4) 1;
}
.glitch-text.glitch .layer.base {
    animation: glitch-flicker 150ms steps(4) 1;
}

@keyframes glitch-red {
    0%   { transform: translate(-4px, 0); clip-path: inset(0 0 70% 0); }
    25%  { transform: translate(-6px, 2px); clip-path: inset(30% 0 40% 0); }
    50%  { transform: translate(-3px, -2px); clip-path: inset(60% 0 10% 0); }
    75%  { transform: translate(-5px, 1px); clip-path: inset(10% 0 60% 0); }
    100% { transform: translate(0, 0); clip-path: inset(0 0 0 0); opacity: 0; }
}
@keyframes glitch-blue {
    0%   { transform: translate(4px, 0); clip-path: inset(70% 0 0 0); }
    25%  { transform: translate(6px, -2px); clip-path: inset(40% 0 30% 0); }
    50%  { transform: translate(3px, 2px); clip-path: inset(10% 0 60% 0); }
    75%  { transform: translate(5px, -1px); clip-path: inset(60% 0 10% 0); }
    100% { transform: translate(0, 0); clip-path: inset(0 0 0 0); opacity: 0; }
}
@keyframes glitch-green {
    0%   { transform: translate(0, 2px); clip-path: inset(40% 0 40% 0); }
    50%  { transform: translate(2px, -1px); clip-path: inset(20% 0 60% 0); }
    100% { transform: translate(0, 0); clip-path: inset(0 0 0 0); opacity: 0; }
}
@keyframes glitch-flicker {
    0%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.8; }
    50% { opacity: 0.95; }
}

.tremor { display: inline-block; }
.tremor .char {
    display: inline-block;
    transition: transform 0.2s ease;
    will-change: transform;
}

.hero-sub {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    letter-spacing: 0.01em;
    line-height: 1.45;
    color: var(--text-tertiary);
    max-width: 640px;
    opacity: 0;
    transform: translateY(12px);
    animation: fade-up 0.9s ease-out 1.2s forwards;
}
@keyframes fade-up {
    to { opacity: 1; transform: translateY(0); }
}

.hero-bar {
    height: 3px;
    width: 100%;
    background: linear-gradient(to right, transparent, var(--accent-hot) 20%, var(--accent-cool) 50%, var(--accent-glitch) 80%, transparent);
    margin-top: 24px;
    position: relative;
    overflow: hidden;
    opacity: 0.85;
}
.hero-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.9), transparent);
    transform: translateX(-100%);
    animation: bar-sweep 4s ease-in-out infinite;
}
@keyframes bar-sweep {
    0%, 20% { transform: translateX(-100%); }
    60% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

.hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.hero-footer .tag {
    font-family: "DM Sans", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-ice);
}

/* ================= Rupture zones ================= */
.rupture {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px 0;
    overflow: hidden;
}
.rupture::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(180, 151, 240, 0.08), transparent);
}
.rupture-text {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--accent-bubble);
    position: relative;
    padding: 12px 24px;
}
.rupture-text::before,
.rupture-text::after {
    content: attr(data-text);
    position: absolute;
    top: 12px; left: 24px;
    right: 24px;
    color: inherit;
}
.rupture-text::before {
    color: var(--accent-hot);
    transform: translate(-2px, 0);
    mix-blend-mode: screen;
    opacity: 0.6;
    clip-path: inset(0 0 60% 0);
}
.rupture-text::after {
    color: var(--accent-cool);
    transform: translate(2px, 0);
    mix-blend-mode: screen;
    opacity: 0.6;
    clip-path: inset(60% 0 0 0);
}

.glitch-bars {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 20px 0;
    pointer-events: none;
}
.glitch-bars span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--accent-hot);
    opacity: 0.2;
    animation: glitch-bar 1.8s steps(8) infinite;
}
.glitch-bars span:nth-child(1) { animation-delay: 0s; background: var(--accent-hot); height: 3px; }
.glitch-bars span:nth-child(2) { animation-delay: 0.2s; background: var(--accent-cool); height: 2px; }
.glitch-bars span:nth-child(3) { animation-delay: 0.5s; background: var(--accent-glitch); height: 4px; }
.glitch-bars span:nth-child(4) { animation-delay: 0.9s; background: var(--accent-cool); height: 2px; }
.glitch-bars span:nth-child(5) { animation-delay: 1.3s; background: var(--accent-hot); height: 6px; }
.glitch-bars span:nth-child(6) { animation-delay: 1.6s; background: var(--accent-glitch); height: 2px; }
@keyframes glitch-bar {
    0%, 100% { opacity: 0; transform: translateX(0) scaleX(1); }
    10% { opacity: 0.9; transform: translateX(-15%) scaleX(0.5); }
    20% { opacity: 0.2; transform: translateX(10%) scaleX(0.9); }
    30% { opacity: 0.9; transform: translateX(-5%) scaleX(1.2); }
    40% { opacity: 0.1; }
    50% { opacity: 0.8; transform: translateX(20%) scaleX(0.7); }
    60% { opacity: 0.3; }
    70% { opacity: 0.9; transform: translateX(-10%) scaleX(1); }
    80% { opacity: 0.2; }
}

/* ================= Section headers ================= */
.section-header {
    max-width: 900px;
    margin: 20px 0 48px;
    padding-left: 8px;
}
.eyebrow {
    display: inline-block;
    font-family: "DM Sans", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-ice);
    margin-bottom: 20px;
}
.section-title {
    font-family: "Unbounded", sans-serif;
    font-weight: 800;
    font-size: clamp(2.25rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.section-lede {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    color: var(--text-tertiary);
    max-width: 620px;
}

/* ================= Modular grid ================= */
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.block {
    position: relative;
    padding: clamp(22px, 2.2vw, 36px);
    background: var(--block-bg);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid var(--block-border);
    border-radius: 16px;
    overflow: hidden;
    transition:
        background 0.4s ease,
        transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.5s ease-out,
        box-shadow 0.4s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.block:hover {
    background: var(--block-bg-hover);
    box-shadow: 0 20px 60px -20px rgba(180, 151, 240, 0.25);
}

.label {
    font-family: "DM Sans", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-ice);
    margin-bottom: 4px;
}
.block-title {
    font-family: "Unbounded", sans-serif;
    font-weight: 600;
    font-size: clamp(1.1rem, 1.6vw, 1.6rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.block-body {
    font-family: "DM Sans", sans-serif;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-tertiary);
    flex-grow: 1;
}
.hot { color: var(--accent-hot); font-style: normal; }

.block-thumb {
    margin-top: auto;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 5 / 3;
    background: var(--bg-deep-2);
    border: 1px solid var(--block-border);
}
.thumb-oracle svg, .thumb-meander svg { width: 100%; height: 100%; }
.thumb-meander { aspect-ratio: 3 / 4; }

.block-corner-bubbles {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    gap: 5px;
    align-items: center;
}
.block-corner-bubbles i {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(180, 151, 240, 0.9), rgba(77, 232, 208, 0.1) 70%);
    box-shadow: 0 0 8px rgba(180, 151, 240, 0.5);
    animation: corner-pulse 2.6s ease-in-out infinite;
}
.block-corner-bubbles i:nth-child(1) { animation-delay: 0s; }
.block-corner-bubbles i:nth-child(2) { animation-delay: 0.3s; width: 8px; height: 8px; background: radial-gradient(circle at 30% 30%, rgba(77, 232, 208, 0.9), transparent 70%); }
.block-corner-bubbles i:nth-child(3) { animation-delay: 0.6s; width: 12px; height: 12px; background: radial-gradient(circle at 30% 30%, rgba(255, 107, 138, 0.85), transparent 70%); }
.block-corner-bubbles i:nth-child(4) { animation-delay: 0.9s; width: 6px; height: 6px; }
@keyframes corner-pulse {
    0%, 100% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* block sizes on the 12-col grid */
.b-hero-case { grid-column: span 7; grid-row: span 2; min-height: 460px; }
.b-tall      { grid-column: span 5; grid-row: span 2; min-height: 460px; }
.b-wide      { grid-column: 1 / span 8; min-height: 220px; }
.b-square    { grid-column: span 4; min-height: 220px; }
.b-med       { grid-column: 3 / span 5; min-height: 200px; }
.b-med:nth-of-type(8) { grid-column: 8 / span 5; }
.b-small     { grid-column: 1 / span 2; min-height: 200px; }

/* Philosophy layout tuning */
.philosophy .grid { gap: 32px; }
.b-philo       { grid-column: 1 / span 7; grid-row: span 2; }
.b-philo-side  { grid-column: 8 / span 5; grid-row: span 1; }
.b-philo-wide  { grid-column: 8 / span 5; grid-row: span 1; }
.b-tile        { grid-column: span 4; min-height: 160px; }

/* ================= Reveal animations ================= */
.reveal {
    opacity: 0;
    will-change: transform, opacity;
}
.reveal.left  { transform: translateX(-80px); }
.reveal.right { transform: translateX(80px); }
.reveal.in {
    opacity: 1;
    transform: translateX(0);
}

/* ================= Bedrock / Contact ================= */
.bedrock {
    padding: 40px 0 120px;
    position: relative;
}
.bedrock-inner {
    background: var(--block-bg);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid var(--block-border);
    border-radius: 24px;
    padding: clamp(36px, 5vw, 72px);
    overflow: hidden;
    position: relative;
}
.bedrock-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(77, 232, 208, 0.12), transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(255, 107, 138, 0.1), transparent 50%);
    pointer-events: none;
}
.bedrock .eyebrow { color: var(--accent-cool); }
.bedrock .section-lede { margin-bottom: 40px; }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 32px 0 48px;
}
.contact-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 28px;
    background: rgba(140, 170, 220, 0.05);
    border: 1px solid var(--block-border);
    border-radius: 14px;
    transition: background 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease;
}
.contact-card:hover {
    background: rgba(180, 151, 240, 0.12);
    border-color: rgba(180, 151, 240, 0.35);
    transform: translateY(-3px) scale(1.01);
}
.contact-value {
    font-family: "Unbounded", sans-serif;
    font-weight: 600;
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.foot {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--block-border);
}
.foot-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-family: "DM Sans", sans-serif;
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}
.foot-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--accent-bubble);
}
.foot-bar {
    height: 2px;
    margin-top: 20px;
    background: linear-gradient(to right, transparent, var(--accent-hot), var(--accent-cool), var(--accent-glitch), transparent);
    opacity: 0.7;
}

/* ================= Responsive ================= */
@media (max-width: 900px) {
    .nav-pill .nav-links { gap: 14px; font-size: 0.78rem; }
    .grid { gap: 16px; }
    .b-hero-case, .b-tall, .b-wide, .b-square, .b-med, .b-small,
    .b-philo, .b-philo-side, .b-philo-wide, .b-tile {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        min-height: 180px;
    }
    .b-hero-case { min-height: 340px; }
    .contact-grid { grid-template-columns: 1fr; }
    .monolith-frame { min-height: 540px; height: auto; padding: 32px 24px; gap: 24px; }
    .hero { padding-top: 110px; }
}

@media (max-width: 560px) {
    .nav-pill { padding: 8px 12px 8px 10px; gap: 14px; top: 14px; }
    .nav-pill .logo-text { display: none; }
    main { padding: 0 18px; }
}
