/* ============================================
   INTERPLATA 2026 — Sistema de Diseño
   Editorial · Bento · Mesh · Motion
   ============================================ */

:root {
    /* ====== Color tokens — 2026 vibrant premium ====== */
    --bg: #f4f1ea;
    --bg-warm: #ebe7df;
    --bg-paper: #f9f6f0;
    --bg-dark: #0a0a0a;
    --bg-ink: #111111;
    --bg-deep: #050505;

    --ink: #0a0a0a;
    --ink-soft: #1a1a1a;
    --text: #0a0a0a;
    --text-soft: #4a4a48;
    --text-mute: #8a8a85;
    --text-on-dark: #f4f1ea;
    --text-on-dark-soft: #a8a89e;

    --line: #d6d2ca;
    --line-soft: #e6e2da;
    --line-dark: #1f1f1f;
    --line-darker: #2a2a2a;

    /* Electric accent palette */
    --lime: #d4ff3a;
    --lime-bright: #e0ff5c;
    --lime-dark: #a8d800;
    --coral: #ff5c39;
    --coral-soft: #ff7d5e;
    --sky: #5b8cff;
    --sky-soft: #7ba3ff;
    --magenta: #ff3da5;

    /* Semantic */
    --accent: var(--lime);
    --accent-ink: var(--ink);

    /* Type */
    --serif: 'Fraunces', 'Editorial New', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Spacing */
    --container: 1440px;
    --container-narrow: 1180px;
    --container-wide: 1680px;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 0.3s var(--ease);
    --t-base: 0.5s var(--ease);
    --t-slow: 0.8s var(--ease);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
ul, ol { list-style: none; }
button { background: none; border: none; font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

/* Selection */
::selection { background: var(--lime); color: var(--ink); }
::-moz-selection { background: var(--lime); color: var(--ink); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--lime); }

/* ============================================
   TYPOGRAPHY — Editorial massive
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.035em;
    color: var(--ink);
    font-variation-settings: 'opsz' 144, 'SOFT' 30;
}

h1 { font-size: clamp(3rem, 9.5vw, 9rem); font-weight: 350; line-height: 0.9; letter-spacing: -0.05em; }
h2 { font-size: clamp(2.4rem, 6vw, 5.5rem); line-height: 0.95; }
h3 { font-size: clamp(1.6rem, 2.5vw, 2.5rem); }
h4 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-family: var(--sans); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }

p { color: var(--text-soft); line-height: 1.55; font-weight: 400; }

/* Display utilities */
.text-display {
    font-family: var(--serif);
    font-variation-settings: 'opsz' 144, 'SOFT' 0;
    font-weight: 350;
    line-height: 0.88;
    letter-spacing: -0.045em;
}

.text-italic { font-style: italic; color: var(--ink); font-variation-settings: 'opsz' 144, 'SOFT' 50; }
.text-mute { color: var(--text-mute); }
.text-ink { color: var(--ink); }
.text-cream { color: var(--bg); }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* Eyebrow / mono label */
.eyebrow {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--ink);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.eyebrow::before {
    content: '✱';
    color: var(--lime-dark);
    font-size: 1.2em;
    line-height: 0;
}

.eyebrow--lime { color: var(--ink); }
.eyebrow--lime::before { color: var(--lime-dark); }
.eyebrow--cream { color: var(--bg); }
.eyebrow--cream::before { color: var(--lime); }

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

section {
    padding: clamp(5rem, 9vw, 8rem) 0;
    position: relative;
}

.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--text-on-dark); }
.section--dark p { color: var(--text-on-dark-soft); }
.section--dark .eyebrow { color: var(--text-on-dark); }
.section--dark .eyebrow::before { color: var(--lime); }

.section--lime { background: var(--lime); }
.section--ink { background: var(--ink); color: var(--text-on-dark); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--text-on-dark); }
.section--ink p { color: var(--text-on-dark-soft); }
.section--paper { background: var(--bg-paper); }
.section--warm { background: var(--bg-warm); }

.section-header {
    max-width: 1000px;
    margin: 0 auto clamp(3rem, 6vw, 5rem);
}
.section-header.left { margin-left: 0; text-align: left; }
.section-header .eyebrow { margin-bottom: 2rem; }
.section-header h2 { margin-bottom: 1.5rem; }
.section-header p {
    font-size: 1.2rem;
    color: var(--text-soft);
    max-width: 640px;
}
.section--dark .section-header p { color: var(--text-on-dark-soft); }
.section-header.left p { margin: 0; }

/* ============================================
   BUTTONS — Bracket style
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.15rem 1.75rem;
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    border-radius: 100px;
    white-space: nowrap;
}

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

.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--lime);
    transform: translateY(100%);
    transition: transform 0.5s var(--ease);
    z-index: 0;
}

.btn--primary > * { position: relative; z-index: 1; transition: color 0.4s var(--ease); }
.btn--primary:hover::before { transform: translateY(0); }
.btn--primary:hover { color: var(--ink); }

.btn--lime {
    background: var(--lime);
    color: var(--ink);
}
.btn--lime::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: translateY(100%);
    transition: transform 0.5s var(--ease);
    z-index: 0;
}
.btn--lime > * { position: relative; z-index: 1; }
.btn--lime:hover::before { transform: translateY(0); }
.btn--lime:hover { color: var(--lime); }

.btn--outline {
    border: 1px solid currentColor;
    color: var(--ink);
    background: transparent;
}
.btn--outline:hover { background: var(--ink); color: var(--bg); }

.btn--cream {
    border: 1px solid currentColor;
    color: var(--bg);
    background: transparent;
}
.btn--cream:hover { background: var(--bg); color: var(--ink); }

.btn--ghost {
    color: var(--ink);
    padding: 0.5rem 0;
    border-radius: 0;
    border-bottom: 1px solid currentColor;
    border-top: none; border-left: none; border-right: none;
}
.btn--ghost:hover { color: var(--coral); }

.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--lime:hover .arrow circle, .btn--lime:hover .arrow line, .btn--lime:hover .arrow polyline { stroke: var(--lime); }

.btn--brackets::before { content: '[ '; color: var(--text-mute); }
.btn--brackets::after { content: ' ]'; color: var(--text-mute); }

/* Magnetic wrap */
.magnetic {
    display: inline-block;
    transition: transform 0.4s var(--ease);
}

/* ============================================
   HEADER — Glassmorphic floating
   ============================================ */
.site-header {
    position: fixed;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 100;
    border-radius: 100px;
    background: rgba(244, 241, 234, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s var(--ease);
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
    top: 0.75rem;
}

.site-header.scrolled .nav-link,
.site-header.scrolled .logo-text,
.site-header.scrolled .logo-text small {
    color: var(--bg);
}

.site-header.scrolled .nav-cta {
    background: var(--lime);
    color: var(--ink);
    border-color: var(--lime);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.85rem 0.75rem 0.85rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--ink);
    color: var(--lime);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1;
    font-variation-settings: 'opsz' 144, 'SOFT' 50;
    transition: all 0.4s var(--ease);
}

.logo:hover .logo-mark { background: var(--lime); color: var(--ink); }

.logo-text {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1;
    transition: color 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text small {
    font-family: var(--mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-mute);
    font-weight: 400;
    line-height: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink);
    position: relative;
    padding: 0.5rem 0.1rem;
    letter-spacing: -0.01em;
    transition: color 0.3s var(--ease);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--lime);
    transition: width 0.4s var(--ease);
}

.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.site-header:not(.scrolled) .nav-link:hover { color: var(--coral); }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: var(--ink);
    color: var(--bg);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}

.nav-cta:hover { background: var(--lime); color: var(--ink); }

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--bg);
    position: relative;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.nav-toggle span {
    position: absolute;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    transition: all 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { transform: translateY(-3px); }
.nav-toggle span:nth-child(2) { transform: translateY(0); }
.nav-toggle span:nth-child(3) { transform: translateY(3px); }

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

@media (max-width: 1024px) {
    .nav-toggle { display: inline-flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(450px, 100vw);
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 6rem 3rem 3rem;
        gap: 1.5rem;
        transition: right 0.6s var(--ease);
        z-index: 150;
    }

    .nav-menu.active { right: 0; }
    .nav-link { font-family: var(--serif); font-size: 2rem; font-weight: 400; }
    .nav-cta { margin-top: 1rem; }
}

/* ============================================
   CURSOR — Custom follower
   ============================================ */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    background: var(--ink);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease);
    transform: translate(-50%, -50%);
    display: none;
}

.cursor.hover {
    width: 60px;
    height: 60px;
    background: var(--lime);
}

@media (hover: hover) and (pointer: fine) {
    .cursor { display: block; }
    * { cursor: none; }
    a, button, input, select, textarea, [role="button"] { cursor: none; }
}

/* ============================================
   HERO — Massive editorial
   ============================================ */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 9rem 0 5rem;
    overflow: hidden;
    background: var(--bg);
}

.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 20% 30%, rgba(212, 255, 58, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(255, 92, 57, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(91, 140, 255, 0.12) 0%, transparent 50%);
    filter: blur(40px);
    animation: meshFloat 20s ease-in-out infinite;
}

@keyframes meshFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(2%, -2%) scale(1.05); }
    66% { transform: translate(-2%, 2%) scale(0.98); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(10, 10, 10, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 10, 10, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1500px;
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}

.hero-meta-loc {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink);
}

.hero-meta-loc::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 0 var(--lime);
    animation: pulse 2s var(--ease) infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 255, 58, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(212, 255, 58, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 255, 58, 0); }
}

.hero h1 {
    font-size: clamp(3rem, 11vw, 11rem);
    line-height: 0.88;
    letter-spacing: -0.055em;
    font-weight: 350;
    margin-bottom: 2.5rem;
}

.hero h1 .line {
    display: block;
    overflow: hidden;
}

.hero h1 .line span {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    animation: lineUp 1s var(--ease) forwards;
}

.hero h1 .line:nth-child(1) span { animation-delay: 0.2s; }
.hero h1 .line:nth-child(2) span { animation-delay: 0.35s; }
.hero h1 .line:nth-child(3) span { animation-delay: 0.5s; }

@keyframes lineUp {
    to { transform: translateY(0); opacity: 1; }
}

.hero h1 em {
    font-style: italic;
    color: var(--ink);
    font-variation-settings: 'opsz' 144, 'SOFT' 100;
    font-weight: 400;
}

.hero h1 em::after {
    content: '';
    display: inline-block;
    width: 0.15em;
    height: 0.6em;
    background: var(--lime);
    vertical-align: middle;
    margin-left: 0.05em;
    border-radius: 2px;
    transform: translateY(-0.15em);
}

.hero-bottom {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: end;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeUp 1s var(--ease) 0.8s forwards;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-soft);
    max-width: 480px;
    line-height: 1.55;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-end; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero-bottom { grid-template-columns: 1fr; gap: 2rem; }
    .hero-cta { justify-content: flex-start; }
}

/* Hero corner chips */
.hero-chips {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.hero-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 100px;
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    animation: chipFloat 6s ease-in-out infinite;
}

.hero-chip--1 { top: 20%; left: 5%; animation-delay: 0s; }
.hero-chip--2 { top: 40%; right: 8%; animation-delay: 1.5s; }
.hero-chip--3 { bottom: 25%; left: 8%; animation-delay: 3s; background: var(--lime); border-color: var(--ink); }

@keyframes chipFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

@media (max-width: 1024px) { .hero-chips { display: none; } }

/* ============================================
   MARQUEE — Multiple directions
   ============================================ */
.marquee {
    overflow: hidden;
    padding: 1.75rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    position: relative;
}

.section--dark .marquee,
.section--ink .marquee {
    background: transparent;
    border-color: var(--line-darker);
}

.marquee--dark { background: var(--ink); color: var(--bg); border-color: var(--line-darker); }
.marquee--lime { background: var(--lime); border-color: var(--ink); }

.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marqueeScroll 40s linear infinite;
    width: max-content;
    align-items: center;
}

.marquee--reverse .marquee-track { animation-direction: reverse; animation-duration: 50s; }

.marquee-item {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    font-variation-settings: 'opsz' 144, 'SOFT' 30;
    flex-shrink: 0;
}

.marquee-item::after {
    content: '✱';
    color: var(--lime-dark);
    font-size: 0.7em;
}

.marquee--lime .marquee-item::after { color: var(--ink); }
.marquee--dark .marquee-item::after { color: var(--lime); }

.marquee--italic .marquee-item { font-style: italic; }
.marquee--bold .marquee-item { font-weight: 600; }

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================
   MEGA STATS — Massive number tickers
   ============================================ */
.stats-mega {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section--dark .stats-mega,
.section--ink .stats-mega {
    border-color: var(--line-darker);
}

.stat-mega {
    padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 2vw, 2rem);
    border-right: 1px solid var(--line);
    position: relative;
    transition: background 0.4s var(--ease);
}

.section--dark .stat-mega,
.section--ink .stat-mega {
    border-right-color: var(--line-darker);
}

.stat-mega:last-child { border-right: none; }

.stat-mega:hover { background: var(--lime); }
.section--dark .stat-mega:hover,
.section--ink .stat-mega:hover { background: var(--lime); color: var(--ink); }

.stat-mega:hover .stat-mega-number,
.stat-mega:hover .stat-mega-label,
.stat-mega:hover .stat-mega-prefix,
.stat-mega:hover .stat-mega-suffix {
    color: var(--ink);
}

.stat-mega-num {
    font-family: var(--serif);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 350;
    line-height: 0.85;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    font-variation-settings: 'opsz' 144, 'SOFT' 0;
    color: var(--ink);
}

.section--dark .stat-mega-num,
.section--ink .stat-mega-num { color: var(--bg); }

.stat-mega-prefix,
.stat-mega-suffix {
    font-size: 0.5em;
    color: var(--coral);
    font-weight: 400;
}

.stat-mega-label {
    font-family: var(--mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-soft);
    line-height: 1.4;
}

.section--dark .stat-mega-label,
.section--ink .stat-mega-label { color: var(--text-on-dark-soft); }

@media (max-width: 900px) {
    .stats-mega { grid-template-columns: repeat(2, 1fr); }
    .stat-mega:nth-child(2) { border-right: none; }
    .stat-mega:nth-child(1), .stat-mega:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ============================================
   BENTO GRID — Asymmetric 2026 layout
   ============================================ */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 1rem;
}

.bento-cell {
    background: var(--bg-paper);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: clamp(1.5rem, 2.5vw, 2.25rem);
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease);
    display: flex;
    flex-direction: column;
}

.bento-cell:hover {
    background: var(--ink);
    color: var(--bg);
    transform: translateY(-4px);
}

.bento-cell:hover h3, .bento-cell:hover p, .bento-cell:hover .bento-link {
    color: var(--bg);
}

.bento-cell--lime { background: var(--lime); border-color: var(--ink); }
.bento-cell--ink { background: var(--ink); color: var(--bg); }
.bento-cell--ink h3, .bento-cell--ink p { color: var(--bg); }

.bento-cell--span-2 { grid-column: span 2; }
.bento-cell--span-3 { grid-column: span 3; }
.bento-cell--span-4 { grid-column: span 4; }
.bento-cell--span-6 { grid-column: span 6; }
.bento-cell--row-2 { grid-row: span 2; }
.bento-cell--row-3 { grid-row: span 3; }

.bento-num {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-mute);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.bento-cell--ink .bento-num { color: var(--text-on-dark-soft); }
.bento-cell--lime .bento-num { color: var(--ink); }

.bento-cell h3 {
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--ink);
    font-weight: 400;
    letter-spacing: -0.03em;
}

.bento-cell p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-soft);
    flex: 1;
}

.bento-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    flex-shrink: 0;
}

.bento-icon svg { width: 24px; height: 24px; }

.bento-cell--ink .bento-icon { color: var(--lime); }
.bento-cell--lime .bento-icon { background: var(--ink); color: var(--lime); border-color: var(--ink); }

.bento-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-family: var(--mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink);
    transition: gap 0.3s var(--ease);
}

.bento-cell:hover .bento-link { gap: 1rem; }

.bento-visual {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60%;
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.5s var(--ease);
}

.bento-cell:hover .bento-visual { opacity: 1; transform: rotate(8deg) scale(1.1); }

.bento-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.6rem;
    background: var(--lime);
    color: var(--ink);
    border-radius: 100px;
}

.bento-cell--ink .bento-tag { background: var(--lime); color: var(--ink); }

@media (max-width: 1024px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento-cell--span-2, .bento-cell--span-3, .bento-cell--span-4, .bento-cell--span-6 {
        grid-column: span 2;
    }
    .bento-cell--row-2, .bento-cell--row-3 { grid-row: auto; }
}

@media (max-width: 640px) {
    .bento { grid-template-columns: 1fr; }
    .bento-cell--span-2, .bento-cell--span-3, .bento-cell--span-4, .bento-cell--span-6 {
        grid-column: span 1;
    }
}

/* ============================================
   STICKY TEXT — Reveal on scroll
   ============================================ */
.sticky-section {
    position: relative;
}

.sticky-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.sticky-left {
    position: sticky;
    top: 8rem;
    padding-bottom: 2rem;
}

.sticky-left h2 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 0.95;
}

.sticky-left h2 em {
    font-style: italic;
    font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

.sticky-step {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--line);
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sticky-step:first-child { padding-top: 0; }
.sticky-step:last-child { border-bottom: none; }

.sticky-step-num {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--coral);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.sticky-step h3 {
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
    margin-bottom: 1rem;
    line-height: 1.05;
}

.sticky-step p {
    font-size: 1.05rem;
    max-width: 540px;
}

@media (max-width: 900px) {
    .sticky-grid { grid-template-columns: 1fr; }
    .sticky-left { position: relative; top: 0; }
}

/* ============================================
   HORIZONTAL SCROLL — Projects carousel
   ============================================ */
.h-scroll {
    padding: clamp(4rem, 8vw, 7rem) 0;
    overflow: hidden;
}

.h-scroll-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.h-scroll-head h2 {
    max-width: 700px;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.h-scroll-controls {
    display: flex;
    gap: 0.5rem;
}

.h-scroll-btn {
    width: 56px;
    height: 56px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    color: var(--ink);
}

.h-scroll-btn:hover {
    background: var(--ink);
    color: var(--bg);
    transform: scale(1.05);
}

.h-scroll-track-wrap {
    overflow: hidden;
    cursor: grab;
}

.h-scroll-track-wrap:active { cursor: grabbing; }

.h-scroll-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s var(--ease);
}

.h-scroll-item {
    flex-shrink: 0;
    width: clamp(320px, 35vw, 480px);
    aspect-ratio: 4/5;
    background: var(--bg-paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s var(--ease);
}

.h-scroll-item:hover { transform: translateY(-8px); }

.h-scroll-item-media {
    position: absolute;
    inset: 0;
    background: var(--bg-warm);
    overflow: hidden;
}

.h-scroll-item-media svg { width: 100%; height: 100%; object-fit: cover; }

.h-scroll-item-content {
    position: absolute;
    inset: 0;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.85) 100%);
    color: var(--bg);
}

.h-scroll-item-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bg);
    opacity: 0.9;
}

.h-scroll-item-cat {
    background: var(--lime);
    color: var(--ink);
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    display: inline-block;
    align-self: flex-start;
    font-family: var(--mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.h-scroll-item-title {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    line-height: 1;
    color: var(--bg);
    font-weight: 400;
    letter-spacing: -0.025em;
}

/* ============================================
   STICKY FOOT NOTE / Manifesto block
   ============================================ */
.manifesto {
    padding: clamp(5rem, 10vw, 9rem) 0;
    background: var(--ink);
    color: var(--bg);
    position: relative;
    overflow: hidden;
}

.manifesto h2 {
    font-size: clamp(2.5rem, 7vw, 6rem);
    line-height: 0.95;
    color: var(--bg);
    font-weight: 350;
    letter-spacing: -0.04em;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.manifesto h2 em {
    font-style: italic;
    color: var(--lime);
    font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

.manifesto::before, .manifesto::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.manifesto::before {
    top: -200px;
    left: -200px;
    background: var(--coral);
    opacity: 0.3;
}

.manifesto::after {
    bottom: -200px;
    right: -200px;
    background: var(--sky);
    opacity: 0.25;
}

.manifesto-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ============================================
   TESTIMONIAL — Mega quote
   ============================================ */
.testimonial-mega {
    padding: clamp(5rem, 10vw, 9rem) 0;
    background: var(--bg);
    text-align: center;
}

.testimonial-mega blockquote {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3.5vw, 3.5rem);
    line-height: 1.1;
    color: var(--ink);
    font-weight: 400;
    letter-spacing: -0.025em;
    max-width: 1100px;
    margin: 0 auto 2.5rem;
    font-variation-settings: 'opsz' 144, 'SOFT' 50;
}

.testimonial-mega blockquote em {
    font-style: italic;
    color: var(--coral);
    font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

.testimonial-mega cite {
    display: block;
    font-style: normal;
    font-family: var(--mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-soft);
    margin-top: 2rem;
}

.testimonial-mega cite strong { color: var(--ink); font-weight: 500; }

/* ============================================
   CARDS — Standard (services, blog, etc.)
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card {
    background: var(--bg-paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.card:hover {
    border-color: var(--ink);
    transform: translateY(-4px);
}

.card:hover::before { transform: scaleX(1); }

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--ink);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-soft);
    flex: 1;
}

.card-link {
    margin-top: 1.5rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s var(--ease);
}

.card:hover .card-link { gap: 1rem; color: var(--coral); }

@media (max-width: 900px) { .cards-grid { grid-template-columns: 1fr; } }

/* ============================================
   FEATURE LISTS — Process steps
   ============================================ */
.process-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.process-step-2 {
    padding: clamp(2rem, 3.5vw, 3rem) clamp(1.5rem, 2vw, 2rem);
    border-right: 1px solid var(--line);
    position: relative;
    transition: background 0.3s var(--ease);
}

.process-step-2:last-child { border-right: none; }
.process-step-2:hover { background: var(--lime); }

.process-step-2-num {
    font-family: var(--serif);
    font-size: 3rem;
    font-style: italic;
    color: var(--coral);
    line-height: 1;
    margin-bottom: 1.5rem;
    font-variation-settings: 'opsz' 144, 'SOFT' 100;
    display: block;
}

.process-step-2 h4 {
    font-family: var(--serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--ink);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.process-step-2 p {
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .process-list { grid-template-columns: repeat(2, 1fr); }
    .process-step-2:nth-child(2n) { border-right: none; }
    .process-step-2:nth-child(1), .process-step-2:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 540px) {
    .process-list { grid-template-columns: 1fr; }
    .process-step-2 { border-right: none; border-bottom: 1px solid var(--line); }
    .process-step-2:last-child { border-bottom: none; }
}

/* ============================================
   PILLARS — 2 column
   ============================================ */
.pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
}

.pillar {
    padding: clamp(2.5rem, 4vw, 3.5rem);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pillar:hover { background: var(--bg-warm); }

.pillar:nth-child(2n) { border-right: none; }
.pillar:nth-last-child(-n+2) { border-bottom: none; }

.pillar-num {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.pillar h3 {
    font-size: 1.6rem;
    line-height: 1.05;
    color: var(--ink);
    font-weight: 400;
    letter-spacing: -0.025em;
}

.pillar p {
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .pillars { grid-template-columns: 1fr; }
    .pillar { border-right: none; }
    .pillar:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* ============================================
   CTA BLOCK
   ============================================ */
.cta-block {
    padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 4vw, 3rem);
    background: var(--lime);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}

.cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(10, 10, 10, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.cta-block h2 {
    color: var(--ink);
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 7vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    position: relative;
}

.cta-block h2 em { font-style: italic; }

.cta-block p {
    color: var(--ink);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    position: relative;
}

.cta-block .cta-buttons { position: relative; }

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FORM
   ============================================ */
.form {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 3rem auto 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-mute);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 0;
    font-size: 1rem;
    transition: border-color 0.3s var(--ease);
    outline: none;
    border-radius: 0;
    color: var(--ink);
}

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

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

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='1.5'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 16px;
    appearance: none;
}

.form-check {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.85rem;
    color: var(--text-soft);
}

.form-check input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--lime);
    flex-shrink: 0;
}

@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================
   FAQ — Accordion
   ============================================ */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    text-align: left;
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--ink);
    font-weight: 400;
    padding: 1.5rem 0;
    cursor: pointer;
    letter-spacing: -0.02em;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--coral);
    font-family: var(--serif);
    transition: transform 0.4s var(--ease);
    flex-shrink: 0;
    line-height: 1;
}

.faq-item.active .faq-question::after { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease);
}

.faq-answer-inner {
    padding: 0 0 1.5rem;
    color: var(--text-soft);
    line-height: 1.6;
    font-size: 1rem;
    max-width: 640px;
}

/* ============================================
   FOOTER — Mega
   ============================================ */
.site-footer {
    background: var(--ink);
    color: var(--bg);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--line-darker);
}

.footer-mega {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
    color: var(--bg);
}

.footer-brand .logo-mark { background: var(--lime); color: var(--ink); }
.footer-brand .logo-text { color: var(--bg); }
.footer-brand .logo-text small { color: var(--text-on-dark-soft); }

.footer-brand p {
    color: var(--text-on-dark-soft);
    font-size: 0.95rem;
    max-width: 360px;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-darker);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    color: var(--bg);
}

.footer-social a:hover {
    background: var(--lime);
    color: var(--ink);
    border-color: var(--lime);
    transform: rotate(8deg) scale(1.1);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-col h5 {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.85rem; }

.footer-col a {
    color: var(--text-on-dark-soft);
    font-size: 0.95rem;
    transition: all 0.3s var(--ease);
    display: inline-block;
}

.footer-col a:hover {
    color: var(--lime);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--line-darker);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-on-dark-soft);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links a:hover { color: var(--lime); }

.footer-mega-cta {
    background: var(--lime);
    color: var(--ink);
    border-radius: 24px;
    padding: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-mega-cta h3 {
    color: var(--ink);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1;
    margin: 0;
}

.footer-mega-cta p {
    color: var(--ink);
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .footer-mega { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .footer-mega-cta { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
    .footer-mega { grid-template-columns: 1fr; }
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    padding: 11rem 0 4rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(212, 255, 58, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.breadcrumb {
    display: flex;
    gap: 0.75rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 2rem;
    align-items: center;
}

.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--lime-dark); }
.breadcrumb .sep::before { content: '→'; }

.page-header .eyebrow { margin-bottom: 2rem; }
.page-header h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.9;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
}
.page-header p {
    font-size: 1.2rem;
    color: var(--text-soft);
    max-width: 720px;
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--bg-paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--ink);
}

.blog-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-warm);
    position: relative;
}

.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-image img { transform: scale(1.05); }

.blog-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.blog-meta {
    display: flex;
    gap: 0.75rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-mute);
    align-items: center;
}

.blog-meta .cat { color: var(--coral); }

.blog-card h3 {
    font-size: 1.4rem;
    line-height: 1.1;
    color: var(--ink);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.blog-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
}

.blog-link {
    margin-top: auto;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.5rem;
}

.blog-link:hover { color: var(--coral); }

@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============================================
   TAGS / CHIPS
   ============================================ */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--line);
    background: transparent;
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink);
    border-radius: 100px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
}

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

.tag.active {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}

/* ============================================
   PROJECTS GRID
   ============================================ */
.projects-bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 280px;
    gap: 1rem;
}

.proj {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: var(--bg-warm);
    transition: transform 0.4s var(--ease);
    border: 1px solid var(--line);
}

.proj:hover { transform: scale(1.01); }

.proj-media {
    position: absolute;
    inset: 0;
}

.proj-media svg { width: 100%; height: 100%; object-fit: cover; }

.proj-content {
    position: absolute;
    inset: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.85) 100%);
    color: var(--bg);
}

.proj-cat {
    align-self: flex-start;
    background: var(--lime);
    color: var(--ink);
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    font-family: var(--mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.proj-title {
    font-family: var(--serif);
    font-size: clamp(1.3rem, 1.8vw, 1.8rem);
    line-height: 1;
    color: var(--bg);
    font-weight: 400;
    letter-spacing: -0.025em;
}

.proj-meta {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.85;
    margin-top: 0.5rem;
}

.proj--lg { grid-column: span 4; grid-row: span 2; }
.proj--md { grid-column: span 2; grid-row: span 2; }
.proj--sm { grid-column: span 2; grid-row: span 1; }
.proj--wide { grid-column: span 3; grid-row: span 1; }
.proj--tall { grid-column: span 2; grid-row: span 2; }

@media (max-width: 1024px) {
    .projects-bento { grid-template-columns: repeat(2, 1fr); }
    .proj--lg, .proj--md, .proj--sm, .proj--wide, .proj--tall {
        grid-column: span 2;
        grid-row: span 1;
    }
    .proj--lg, .proj--md, .proj--tall { grid-row: span 2; }
}

/* ============================================
   INFO CARDS (contact)
   ============================================ */
.info-card {
    padding: 2rem;
    background: var(--bg-paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: all 0.3s var(--ease);
}

.info-card:hover { border-color: var(--ink); transform: translateY(-4px); }

.info-card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1.25rem;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--ink);
    border-radius: 50%;
}

.info-card h4 {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-mute);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.info-card p {
    font-size: 1.05rem;
    color: var(--ink);
    line-height: 1.5;
    margin: 0;
}

.info-card a:hover { color: var(--coral); }

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 11rem 0 5rem;
}

.legal-content h1 {
    margin-bottom: 0.5rem;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.legal-content .updated {
    color: var(--text-mute);
    font-family: var(--mono);
    font-size: 0.8rem;
    margin-bottom: 3rem;
    display: block;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.legal-content h2 {
    margin: 3rem 0 1rem;
    font-size: 1.8rem;
    letter-spacing: -0.025em;
}

.legal-content h3 {
    margin: 2rem 0 0.75rem;
    font-size: 1.2rem;
    font-family: var(--sans);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.legal-content p,
.legal-content li {
    color: var(--text-soft);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    list-style: disc;
}

.legal-content a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--coral); }

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    background: var(--ink);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: var(--bg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show { display: flex; }

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--text-on-dark-soft);
    margin: 0;
}

.cookie-banner a { color: var(--lime); text-decoration: underline; }

.cookie-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

.cookie-actions button {
    padding: 0.6rem 1.1rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--line-darker);
    color: var(--bg);
    background: transparent;
    transition: all 0.3s var(--ease);
    border-radius: 100px;
}

.cookie-actions .accept {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--ink);
}

.cookie-actions button:hover { transform: translateY(-2px); }

@media (max-width: 640px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        left: 1rem;
        right: 1rem;
    }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-d-1 { transition-delay: 0.1s; }
.reveal-d-2 { transition-delay: 0.2s; }
.reveal-d-3 { transition-delay: 0.3s; }
.reveal-d-4 { transition-delay: 0.4s; }

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Scroll velocity text */
.scroll-velocity {
    overflow: hidden;
    padding: 2rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.scroll-velocity-track {
    display: flex;
    gap: 4rem;
    white-space: nowrap;
    will-change: transform;
}

.scroll-velocity-item {
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 4rem);
    font-style: italic;
    color: var(--ink);
    font-weight: 400;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
    font-variation-settings: 'opsz' 144, 'SOFT' 100;
}

.scroll-velocity-item::after {
    content: '✱';
    color: var(--coral);
    font-style: normal;
    font-size: 0.6em;
}

/* Floating elements */
.float-element {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    animation: gentleFloat 8s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Noise overlay */
.noise-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}
