/* ================================================================
   LOUWIETEC V6 — Design System (Multi-Page)
   5 pages + Impressum. Shared stylesheet.

   Layers: dot-grid, gradient mesh (home), orbs, glass cards, content
   Global: cursor (white dot), Lenis, tilt, glow, reveals, parallax,
           magnetic, dividers, noise, orbs, brackets, easter egg
   Home only: preloader, typing, mesh, trail, particles, breathing
   Contact only: full-page light inversion
   ================================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */

:root {
    --bg-primary: #0A0E1A;
    --bg-elevated: #0F1424;
    --bg-card: rgba(255, 255, 255, 0.03);
    --accent: rgba(70, 140, 220, 0.6);
    --accent-hover: #5BA8E8;
    --accent-subtle: rgba(70, 140, 220, 0.1);
    --text-primary: #EDEDED;
    --text-secondary: #6B6B76;
    --text-tertiary: #3A3A44;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(70, 140, 220, 0.15);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --max-content: 1100px;
    --max-prose: 680px;
    --glow-x: 50%;
    --glow-y: 50%;
    --card-glow: transparent;
    --parallax-orb: 0px;
}

/* ── Reset & Base ──────────────────────────────────────────── */

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

html {
    scroll-behavior: auto;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: clip;
}

/* Lenis smooth scroll integration */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* body.loading: preloader covers screen visually, no overflow lock needed
   (Lenis needs scrollable body to initialize correctly) */

body.menu-open {
    overflow: hidden;
}

/* Noise grain texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 9999;
}

/* Custom cursor: hide default on non-touch */
body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor [data-magnetic] {
    cursor: none;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* ── Skip Link (Accessibility) ─────────────────────────────── */

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--accent);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0 0 4px 4px;
    z-index: 10000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* ── Preloader (Homepage only) ─────────────────────────────── */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.preloader-monogram {
    opacity: 0;
    animation: preloaderFade 0.5s ease-out 0.1s forwards;
}

.preloader-monogram img {
    display: block;
    mix-blend-mode: screen;
}

.preloader-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: scaleX(0);
    animation: preloaderLine 0.5s ease-out 0.6s forwards;
}

.preloader-panel {
    position: absolute;
    left: 0;
    right: 0;
    height: 50%;
    background: var(--bg-primary);
    z-index: 1;
}

.preloader-panel--top {
    top: 0;
    animation: preloaderSplitTop 0.7s cubic-bezier(0.76, 0, 0.24, 1) 1.2s forwards;
}

.preloader-panel--bottom {
    bottom: 0;
    animation: preloaderSplitBottom 0.7s cubic-bezier(0.76, 0, 0.24, 1) 1.2s forwards;
}

@keyframes preloaderFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes preloaderLine {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes preloaderSplitTop {
    from { transform: translateY(0); }
    to { transform: translateY(-100%); }
}

@keyframes preloaderSplitBottom {
    from { transform: translateY(0); }
    to { transform: translateY(100%); }
}

/* ── Custom Cursor (V6: gold dot only, no ring) ──────────── */

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 150;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
}

.cursor-dot--hover {
    width: 24px;
    height: 24px;
    background: rgba(70, 140, 220, 0.35);
}

@media (pointer: coarse) {
    .cursor-dot {
        display: none !important;
    }
}

/* ── Section Divider ───────────────────────────────────────── */

.section-divider {
    width: 100%;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 0 auto;
    border: none;
    transform: scaleX(0);
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.section-divider.in-view {
    transform: scaleX(1);
}

/* ── Text Reveal ───────────────────────────────────────────── */

[data-reveal] {
    overflow: hidden;
    display: block;
}

.reveal-line {
    display: block;
    transform: translateY(105%);
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

[data-reveal].in-view .reveal-line {
    transform: translateY(0);
}

/* ── Gradient Orbs ─────────────────────────────────────────── */

.gradient-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(120px);
    z-index: 1;
    transform: translateY(var(--parallax-orb, 0px));
}

.gradient-orb--1 {
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.02);
    top: -10%;
    left: -5%;
    animation: float-orb-1 60s ease-in-out infinite;
}

.gradient-orb--2 {
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.015);
    top: 50%;
    right: -10%;
    animation: float-orb-2 45s ease-in-out infinite;
}

.gradient-orb--3 {
    width: 450px;
    height: 450px;
    background: rgba(255, 255, 255, 0.015);
    bottom: -10%;
    left: 30%;
    animation: float-orb-3 50s ease-in-out infinite;
}

@keyframes float-orb-1 {
    0%, 100% { transform: translate(0, 0) translateY(var(--parallax-orb, 0px)); }
    25% { transform: translate(80px, 60px) translateY(var(--parallax-orb, 0px)); }
    50% { transform: translate(-40px, 120px) translateY(var(--parallax-orb, 0px)); }
    75% { transform: translate(60px, -30px) translateY(var(--parallax-orb, 0px)); }
}

@keyframes float-orb-2 {
    0%, 100% { transform: translate(0, 0) translateY(var(--parallax-orb, 0px)); }
    25% { transform: translate(-60px, -80px) translateY(var(--parallax-orb, 0px)); }
    50% { transform: translate(40px, -40px) translateY(var(--parallax-orb, 0px)); }
    75% { transform: translate(-80px, 60px) translateY(var(--parallax-orb, 0px)); }
}

@keyframes float-orb-3 {
    0%, 100% { transform: translate(0, 0) translateY(var(--parallax-orb, 0px)); }
    25% { transform: translate(50px, -70px) translateY(var(--parallax-orb, 0px)); }
    50% { transform: translate(-60px, -30px) translateY(var(--parallax-orb, 0px)); }
    75% { transform: translate(30px, 80px) translateY(var(--parallax-orb, 0px)); }
}

/* ── Glass Card ────────────────────────────────────────────── */

.glass-card {
    background:
        radial-gradient(
            circle at var(--glow-x, 50%) var(--glow-y, 50%),
            var(--card-glow, transparent) 0%,
            transparent 60%
        ),
        var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2.5rem;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glass-card[data-tilt] {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

/* ── Navigation ────────────────────────────────────────────── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 72px;
    display: flex;
    align-items: center;
    background: transparent;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease;
}

.nav.scrolled {
    background: rgba(10, 14, 26, 0.88);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-inner {
        padding: 0 2rem;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav-logo img {
    mix-blend-mode: screen;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-tertiary);
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link--active {
    color: var(--text-primary);
}

/* ── Hamburger Button (Mobile) ─────────────────────────────── */

.nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 110;
    position: relative;
}

@media (min-width: 768px) {
    .nav-hamburger {
        display: none;
    }
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--accent);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-line:nth-child(2) {
    width: 16px;
}

.nav-hamburger.open .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-hamburger.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ── Mobile Fullscreen Menu ────────────────────────────────── */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 105;
    background: rgba(10, 14, 26, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
    pointer-events: none;
}

.mobile-menu.open {
    transform: translateX(0);
    pointer-events: auto;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.mobile-menu-link {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    padding: 1rem 0;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

.mobile-menu-link:hover {
    color: var(--accent);
}

.mobile-menu.open .mobile-menu-link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.open .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu-link:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-menu-link:nth-child(7) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-menu-link:nth-child(9) { transition-delay: 0.3s; }

.mobile-menu-divider {
    width: 48px;
    height: 1px;
    background: rgba(70, 140, 220, 0.12);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-menu.open .mobile-menu-divider {
    opacity: 1;
}

.mobile-menu.open .mobile-menu-divider:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu.open .mobile-menu-divider:nth-child(4) { transition-delay: 0.17s; }
.mobile-menu.open .mobile-menu-divider:nth-child(6) { transition-delay: 0.22s; }
.mobile-menu.open .mobile-menu-divider:nth-child(8) { transition-delay: 0.27s; }

.mobile-menu-link--small {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-tertiary);
    margin-top: 2rem;
}

/* ── Page Header (sub-pages) ──────────────────────────────── */

.page-header {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 10rem 1.5rem 4rem;
    text-align: center;
}

.page-header-content {
    max-width: 700px;
}

.page-header-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.page-header-gold-line {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 1.5rem auto;
}

.page-header-subtitle {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .page-header-subtitle {
        font-size: 1.25rem;
    }
}

/* ── Hero Section (Homepage only) ─────────────────────────── */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 1.5rem;
    z-index: 2;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.gradient-mesh-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}


.hero-brackets {
    position: absolute;
    inset: 10%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
}

.hero--animate .hero-brackets {
    animation: heroBrackets 1s ease-out 1.6s forwards;
}

.hero-brackets span {
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: rgba(70, 140, 220, 0.12);
    border-style: solid;
}

.hero-brackets span:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.hero-brackets span:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.hero-brackets span:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.hero-brackets span:nth-child(4) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

@media (min-width: 768px) {
    .hero-brackets span {
        width: 60px;
        height: 60px;
    }
}

.hero-monogram {
    margin-bottom: 1.5rem;
    opacity: 0;
    position: relative;
}

.hero--animate .hero-monogram {
    animation: heroMonogram 1s ease-out 0.2s forwards;
}

.hero-monogram-glow {
    display: inline-block;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.06)) drop-shadow(0 0 80px rgba(255, 255, 255, 0.02));
}

.hero-monogram-glow img {
    display: block;
    mix-blend-mode: screen;
}

#monogram-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

.monogram-breathing {
    animation: monogramBreath 8s ease-in-out infinite;
}

@keyframes monogramBreath {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.05)); }
    50% { transform: scale(1.02); filter: drop-shadow(0 0 60px rgba(70, 140, 220, 0.1)); }
}

.hero-gold-line {
    width: 100px;
    height: 1px;
    margin: 1.5rem auto 2rem;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transform: scaleX(0);
}

.hero--animate .hero-gold-line {
    animation: heroLineScale 0.8s ease-out 0.8s forwards;
}

.hero-title {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(2.2rem, 5vw + 1rem, 4.5rem);
    letter-spacing: 0.6em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1rem;
    opacity: 0;
}

.hero--animate .hero-title {
    animation: heroTitle 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) 0.5s forwards;
}

.hero-tagline {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.35rem);
    color: var(--text-secondary);
    letter-spacing: 0.03em;
    min-height: 1.6em;
}

.typing-cursor {
    color: var(--accent);
    font-weight: 300;
    animation: cursorBlink 0.6s step-end infinite;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ── Hero Keyframes ────────────────────────────────────────── */

@keyframes heroMonogram {
    from { opacity: 0; transform: scale(0.92); filter: blur(4px); }
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes heroLineScale {
    from { opacity: 0; transform: scaleX(0); }
    to { opacity: 1; transform: scaleX(1); }
}

@keyframes heroTitle {
    from { opacity: 0; letter-spacing: 0.6em; }
    to { opacity: 1; letter-spacing: 0.35em; }
}

@keyframes heroBrackets {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ── Scroll Indicator ──────────────────────────────────────── */

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
}

.hero--animate .scroll-indicator {
    animation: fadeUp 0.5s ease-out 2s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateX(-50%) translateY(12px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.scroll-indicator-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--text-tertiary), transparent);
    position: relative;
}

.scroll-indicator-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { top: 4px; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 44px; opacity: 0; }
}

/* ── Gradient Divider ──────────────────────────────────────── */

.gradient-divider {
    width: 100%;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 0 auto;
    border: none;
}

/* ── Decorative Number ─────────────────────────────────────── */

.decorative-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(5rem, 8vw + 2rem, 10rem);
    line-height: 1;
    color: var(--text-primary);
    opacity: 0.04;
    position: absolute;
    pointer-events: none;
    user-select: none;
}

/* ── Utility Classes ──────────────────────────────────────── */

.mt-sm { margin-top: 1.5rem; }
.mt-md { margin-top: 2.5rem; }
.thesis-card--centered { max-width: 900px; margin-left: auto; margin-right: auto; }

/* ── Thesis / Quote Card ──────────────────────────────────── */

.section-thesis {
    padding: 6rem 1.5rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .section-thesis {
        padding: 8rem 2rem;
    }
}

.thesis-card {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    padding: 3.5rem 2.5rem;
    text-align: center;
}

.thesis-quote-mark {
    font-family: var(--font-display);
    font-size: 8rem;
    line-height: 1;
    color: var(--text-tertiary);
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    pointer-events: none;
    user-select: none;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .thesis-quote-mark {
        font-size: 10rem;
        top: -1.5rem;
        left: 1.5rem;
    }
}

.thesis-text + .thesis-text {
    margin-top: 1.5rem;
}

.thesis-text {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .thesis-text {
        font-size: 1.5rem;
    }
}

.thesis-accent {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .thesis-accent {
        font-size: 1.5rem;
    }
}

.thesis-accent.glow-pulse {
    animation: glowPulse 2s ease-out 0.5s forwards;
}

@keyframes glowPulse {
    0% { text-shadow: none; }
    40% { text-shadow: 0 0 20px rgba(70, 140, 220, 0.2), 0 0 40px rgba(70, 140, 220, 0.08); }
    100% { text-shadow: none; }
}

/* ── What We Are (Homepage short intro) ───────────────────── */

.section-intro {
    padding: 6rem 1.5rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.0625rem;
    color: #D0D0D0;
    line-height: 1.85;
}

@media (min-width: 768px) {
    .intro-text {
        font-size: 1.125rem;
    }
}

.intro-text .prose-highlight {
    color: var(--text-primary);
    font-weight: 600;
}

/* ── Split Layout ──────────────────────────────────────────── */

.section-split {
    padding: 7.5rem 1.5rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .section-split {
        padding: 8rem 2rem;
    }
}

.split-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: var(--max-content);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .split-layout {
        flex-direction: row;
        gap: 4rem;
    }
}

.split-left {
    position: relative;
}

@media (min-width: 768px) {
    .split-left {
        width: 35%;
        flex-shrink: 0;
        position: sticky;
        top: 120px;
        align-self: flex-start;
    }
}

.split-left h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.75rem, 2vw + 0.5rem, 2.5rem);
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.split-left .gold-line {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin-top: 1rem;
}

.split-right {
    flex: 1;
    min-width: 0;
}

.split-right .glass-card .prose p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

.split-right .glass-card .prose p:last-child {
    margin-bottom: 0;
}

.prose-highlight {
    color: var(--text-primary);
    font-weight: 600;
}

/* ── Section Heading (reusable) ────────────────────────────── */

.section-heading {
    position: relative;
    max-width: var(--max-content);
    margin: 0 auto 3rem;
}

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

.section-heading h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.75rem, 2vw + 0.5rem, 2.5rem);
    color: var(--text-primary);
}

.section-heading .gold-line {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin-top: 1rem;
}

.section-heading--center .gold-line {
    margin-left: auto;
    margin-right: auto;
}

/* ── Bento Grid (How We Work) ──────────────────────────────── */

.section-bento {
    padding: 7.5rem 1.5rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .section-bento {
        padding: 8rem 2rem;
    }
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: var(--max-content);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .bento-grid .glass-card:nth-child(1) { grid-column: 1 / 8; }
    .bento-grid .glass-card:nth-child(2) { grid-column: 8 / 13; }
    .bento-grid .glass-card:nth-child(3) { grid-column: 1 / 6; }
    .bento-grid .glass-card:nth-child(4) { grid-column: 6 / 13; }
}

.bento-large {
    position: relative;
}

.bento-large::before,
.bento-large::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: rgba(70, 140, 220, 0.1);
    border-style: solid;
    pointer-events: none;
}

.bento-large::before {
    top: -1px; left: -1px;
    border-width: 1px 0 0 1px;
    border-radius: 16px 0 0 0;
}

.bento-large::after {
    bottom: -1px; right: -1px;
    border-width: 0 1px 1px 0;
    border-radius: 0 0 16px 0;
}

.bento-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 3rem;
    color: rgba(70, 140, 220, 0.3);
    line-height: 1;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .bento-number {
        font-size: 3.5rem;
    }
}

.bento-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .bento-title {
        font-size: 1.25rem;
    }
}

.bento-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Numbers Section ───────────────────────────────────────── */

.section-numbers {
    padding: 5rem 1.5rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .section-numbers {
        padding: 6rem 2rem;
    }
}

.numbers-card {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
}

@media (min-width: 768px) {
    .numbers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem 2rem;
    }
}

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

.number-value {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 3vw + 1rem, 3.5rem);
    color: var(--text-primary);
    line-height: 1;
    display: block;
    letter-spacing: -0.02em;
}

.number-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.6875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 0.75rem;
    display: block;
}

.number-reveal {
    font-size: 8rem;
    opacity: 0.05;
    filter: blur(8px);
    transition: font-size 1.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 1.5s cubic-bezier(0.23, 1, 0.32, 1), filter 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.number-reveal.revealed {
    font-size: 3rem;
    opacity: 1;
    filter: blur(0);
}

@media (min-width: 768px) {
    .number-reveal {
        font-size: 12rem;
    }

    .number-reveal.revealed {
        font-size: 3.5rem;
    }
}

/* ── Capabilities Grid ─────────────────────────────────────── */

.section-capabilities {
    padding: 7.5rem 1.5rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .section-capabilities {
        padding: 8rem 2rem;
    }
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: var(--max-content);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .capabilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.capability-card {
    padding: 2rem;
}

.capability-gold-line {
    width: 30px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 1.25rem;
}

.capability-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.capability-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ── Enterprise Grid (About: 2x2 bento) ───────────────────── */

.enterprise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: var(--max-content);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .enterprise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.enterprise-card {
    padding: 2rem;
}

.enterprise-card .gold-line {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 1.25rem;
}

.enterprise-card h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.enterprise-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ── Founder Section ───────────────────────────────────────── */

.section-founder {
    padding: 6rem 1.5rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.founder-name {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.founder-role {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 0.25rem;
}

.founder-gold-line {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin: 1.5rem auto 2rem;
}

.founder-bio {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    max-width: 500px;
    margin: 0 auto;
}

/* ── Principles Section (Horizontal Scroll) ───────────────── */

.section-principles {
    position: relative;
    z-index: 2;
}

.principles-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.principles-title-fixed {
    position: absolute;
    left: 2rem;
    z-index: 10;
}

@media (min-width: 768px) {
    .principles-title-fixed {
        left: 4rem;
    }
}

.principles-title-fixed h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .principles-title-fixed h2 {
        font-size: 2.5rem;
    }
}

.principles-title-fixed .gradient-divider {
    margin: 0;
}

.horizontal-track {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    padding-left: 40vw;
    will-change: transform;
}

.horizontal-track .glass-card {
    flex-shrink: 0;
    width: 360px;
}

@media (min-width: 768px) {
    .horizontal-track .glass-card {
        width: 450px;
    }
}

@media (max-width: 767px) {
    .principles-sticky {
        position: relative;
        height: auto;
    }

    .principles-title-fixed {
        position: relative;
        left: 0;
        padding: 2rem 1.5rem 0;
    }

    .horizontal-track {
        flex-direction: column;
        padding-left: 0;
        padding: 2rem 1.5rem;
        transform: none !important;
    }

    .horizontal-track .glass-card {
        width: 100%;
    }
}

.principle-card {
    padding: 2.5rem;
}

.principle-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.principle-gold-line {
    width: 50px;
    height: 2px;
    background: var(--accent);
    margin: 1rem 0 1.5rem;
}

.principle-desc {
    font-size: 0.9375rem;
    color: #D0D0D0;
    line-height: 1.8;
}

/* ── Trust Section (Principles page) ──────────────────────── */

.section-trust {
    padding: 7.5rem 1.5rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.trust-content {
    max-width: var(--max-prose);
    margin: 0 auto;
}

.trust-content h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .trust-content h2 {
        font-size: 2rem;
    }
}

.trust-content p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

.trust-content p:last-child {
    margin-bottom: 0;
}

/* ── CTA Section ───────────────────────────────────────────── */

.section-cta {
    padding: 6rem 1.5rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.cta-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.cta-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.cta-link:hover {
    color: var(--text-primary);
    border-color: var(--accent);
}

.cta-link--gold {
    color: var(--accent);
}

.cta-link--gold:hover {
    color: var(--accent-hover);
    border-color: var(--accent-hover);
}

/* ── Contact Page Sections ─────────────────────────────────── */

.section-contact-info {
    padding: 2rem 1.5rem 4rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-name {
    font-weight: 600;
    font-size: 1.5rem;
}

.contact-role {
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    margin-bottom: 3rem;
}

.contact-email {
    font-weight: 400;
    font-size: 1.25rem;
    color: #CCCCCC;
    display: inline-block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.contact-email:hover {
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.contact-location {
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 2rem;
}

/* ── What to Expect (Contact page) ─────────────────────────── */

.section-expect {
    padding: 4rem 1.5rem;
    position: relative;
    z-index: 2;
}

.expect-content {
    max-width: 700px;
    margin: 0 auto;
}

.expect-content h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 2rem;
}

.expect-list {
    margin-top: 2rem;
}

.expect-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1.0625rem;
    line-height: 1.75;
}

.expect-bullet {
    color: var(--accent);
    font-size: 0.5rem;
    flex-shrink: 0;
    margin-top: 0.6rem;
}

/* ── Closing Section (Contact page) ────────────────────────── */

.section-closing {
    padding: 3rem 1.5rem 5rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.closing-text {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.85;
}

.closing-text + .closing-text {
    margin-top: 1.5rem;
}

/* ── Contact Page: Full Inversion ──────────────────────────── */

body.page-contact {
    background-color: #F0EDE6;
    color: #09090B;
}

body.page-contact::after {
    opacity: 0.015;
    filter: invert(1);
}

body.page-contact .nav.scrolled {
    background: rgba(240, 237, 230, 0.88);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.page-contact .nav-link {
    color: #9A9A9A;
}

body.page-contact .nav-link:hover {
    color: #09090B;
}

body.page-contact .nav-link--active {
    color: #09090B;
}

body.page-contact .hamburger-line {
    background: var(--accent);
}

body.page-contact .mobile-menu {
    background: rgba(240, 237, 230, 0.98);
}

body.page-contact .mobile-menu-link {
    color: #09090B;
}

body.page-contact .mobile-menu-link:hover {
    color: var(--accent);
}

body.page-contact .mobile-menu-divider {
    background: rgba(0, 0, 0, 0.1);
}

body.page-contact .cursor-dot {
    background: #09090B;
}

body.page-contact .cursor-dot--hover {
    background: rgba(9, 9, 11, 0.3);
}

body.page-contact .page-header-title {
    color: #09090B;
}

body.page-contact .page-header-subtitle {
    color: #6B6B76;
}

body.page-contact .contact-name {
    color: #09090B;
}

body.page-contact .contact-email {
    color: #6B6B76;
}

body.page-contact .contact-email:hover {
    color: #FFFFFF;
    border-color: #FFFFFF;
}

body.page-contact .expect-content h2 {
    color: #09090B;
}

body.page-contact .expect-item {
    color: #09090B;
}

body.page-contact .closing-text .prose-highlight {
    color: #09090B;
}

body.page-contact .section-divider {
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

body.page-contact .nav-logo img {
    mix-blend-mode: multiply;
}

/* ── Footer ────────────────────────────────────────────────── */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: var(--bg-primary);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.footer-inner {
    max-width: var(--max-content);
    margin: 0 auto;
    position: relative;
    padding: 3rem 1.5rem;
    text-align: center;
}

.footer-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.footer-watermark img {
    width: 300px;
    height: auto;
    opacity: 0.015;
    mix-blend-mode: screen;
}

.footer-monogram {
    display: inline-block;
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.footer-monogram img {
    mix-blend-mode: screen;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-link {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-secondary);
}

.footer-separator {
    margin: 0 0.5rem;
    color: var(--text-tertiary);
    opacity: 0.4;
    font-size: 0.75rem;
}

.footer-text {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

/* ── Inverted Footer (Contact page) ────────────────────────── */

.inverted-footer {
    background: #F0EDE6;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.inverted-footer .footer-text {
    color: #6B6B76;
}

.inverted-footer .footer-link {
    color: #6B6B76;
}

.inverted-footer .footer-link:hover {
    color: #09090B;
}

.inverted-footer .footer-separator {
    color: #9A9A9A;
}

/* ── Scroll-Triggered Animations ───────────────────────────── */

[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

[data-animate="fade-left"] {
    transform: translateX(-24px);
}

[data-animate="fade-right"] {
    transform: translateX(24px);
}

[data-animate="fade-scale"] {
    transform: scale(0.95);
}

[data-animate].in-view {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ── Easter Egg ────────────────────────────────────────────── */

@keyframes easterEggFade {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0; }
    20% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    80% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.05); opacity: 0; }
}

/* ── Impressum Page ────────────────────────────────────────── */

.impressum-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 8rem 1.5rem 4rem;
}

.impressum-content h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    text-align: center;
}

.impressum-content h2 {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.impressum-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.impressum-content a {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.impressum-content a:hover {
    color: var(--accent);
}

.impressum-back {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: 3rem;
    transition: color 0.3s ease;
}

.impressum-back:hover {
    color: var(--text-primary);
}

/* ── Custom Scrollbar ──────────────────────────────────────── */

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.14);
}

body.page-contact ::-webkit-scrollbar-track {
    background: #F0EDE6;
}

body.page-contact ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.08);
}

/* ── Selection ─────────────────────────────────────────────── */

::selection {
    background: var(--accent);
    color: var(--bg-primary);
}

::-moz-selection {
    background: var(--accent);
    color: var(--bg-primary);
}

/* ── Touch Device Additions ────────────────────────────────── */

@media (pointer: coarse) {
    .mouse-trail-canvas {
        display: none;
    }
}

/* ── Print ─────────────────────────────────────────────────── */

/* ── Small Phones (max 480px) ─────────────────────────────── */

@media (max-width: 480px) {
    .page-header {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    .section-thesis {
        padding: 3.5rem 1.25rem;
    }

    .section-split {
        padding: 4rem 1.25rem;
    }

    .section-bento {
        padding: 4rem 1.25rem;
    }

    .section-numbers {
        padding: 3rem 1.25rem;
    }

    .section-capabilities {
        padding: 4rem 1.25rem;
    }

    .section-cta {
        padding: 4rem 1.25rem;
    }

    .section-intro,
    .section-founder {
        padding: 4rem 1.25rem;
    }

    .thesis-card {
        padding: 2rem 1.25rem;
    }

    .hero-monogram-glow img {
        width: 120px;
        height: 120px;
    }

    .preloader-monogram img {
        width: 60px;
        height: 60px;
    }

    .hero-brackets {
        inset: 5%;
    }

    .hero-brackets span {
        width: 30px;
        height: 30px;
    }

    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .numbers-card {
        padding: 2rem 1rem;
    }

    .capability-card {
        padding: 1.5rem;
    }

    .section-contact-info {
        padding: 1.5rem 1.25rem 3rem;
    }

    .cta-links {
        gap: 1.25rem;
    }

    .footer-inner {
        padding: 2.5rem 1.25rem;
    }

    .split-layout {
        gap: 2rem;
    }

    .bento-grid {
        gap: 1rem;
    }

    .contact-email {
        font-size: 1rem;
    }

    /* Glass cards: tighter padding on small phones */
    .glass-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    /* Number reveal: prevent overflow during animation */
    .number-reveal {
        font-size: 5rem;
    }

    .number-reveal.revealed {
        font-size: 2.5rem;
    }

    /* Hero title: reduce letter-spacing to prevent overflow */
    .hero-title {
        letter-spacing: 0.3em;
    }

    @keyframes heroTitle {
        from { opacity: 0; letter-spacing: 0.45em; }
        to { opacity: 1; letter-spacing: 0.3em; }
    }

    /* Enterprise grid: tighter gap */
    .enterprise-grid {
        gap: 1rem;
    }

    /* Contact name/role sizing */
    .contact-name {
        font-size: 1.25rem;
    }

    /* Expect section tighter */
    .expect-content h2 {
        font-size: 1.25rem;
    }

    /* Impressum content: reduce top padding */
    .impressum-content {
        padding-top: 5rem;
    }
}

/* ── Tablets / iPad (768px–1023px) ────────────────────────── */

@media (min-width: 768px) and (max-width: 1023px) {
    .bento-grid {
        gap: 1rem;
    }

    .split-layout {
        gap: 2.5rem;
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .enterprise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Small Laptops / iPad Pro (1024px+) ───────────────────── */

@media (min-width: 1024px) {
    .nav-link {
        font-size: 0.8125rem;
    }

    .split-layout {
        gap: 5rem;
    }

    .bento-grid {
        gap: 1.5rem;
    }

    .section-thesis,
    .section-split,
    .section-bento,
    .section-capabilities {
        padding: 9rem 2.5rem;
    }

    .section-numbers {
        padding: 7rem 2.5rem;
    }
}

/* ── Large Desktops (1440px+) ─────────────────────────────── */

@media (min-width: 1440px) {
    :root {
        --max-content: 1200px;
    }

    .nav-inner {
        max-width: 1300px;
        padding: 0 3rem;
    }

    .hero-monogram-glow img {
        width: 180px;
        height: 180px;
    }

    .section-thesis,
    .section-split,
    .section-bento,
    .section-capabilities {
        padding: 10rem 3rem;
    }

    .section-numbers {
        padding: 8rem 3rem;
    }

    .footer-inner {
        padding: 4rem 3rem;
    }
}

@media print {
    body {
        background: #fff;
        color: #000;
    }

    body::after,
    .gradient-orb,
    #network-grid,
    .gradient-mesh-canvas,
    .mouse-trail-canvas,
    .nav,
    .nav-hamburger,
    .mobile-menu,
    .scroll-indicator,
    .hero-brackets,
    .decorative-number,
    .preloader,
    .cursor-dot,
    .section-divider,
    #monogram-particles {
        display: none !important;
    }

    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }

    [data-reveal] .reveal-line {
        transform: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .page-header {
        min-height: auto;
        padding: 2rem 0;
    }

    .section-thesis,
    .section-split,
    .section-bento,
    .section-numbers,
    .section-principles,
    .section-capabilities,
    .section-trust,
    .section-cta,
    .section-intro,
    .section-founder,
    .section-contact-info,
    .section-expect,
    .section-closing {
        padding: 2rem 0;
    }

    .horizontal-track {
        flex-direction: column;
        transform: none !important;
    }

    .glass-card {
        border-color: #ddd;
        background: transparent;
        backdrop-filter: none;
    }

    body.page-contact {
        background: #fff;
    }

    a[href^="mailto:"]::after {
        content: " (" attr(href) ")";
    }

    .site-footer {
        border-top: 1px solid #ccc;
    }
}
