/* =============================================
   NVIRYA — Global Stylesheet
   Version: 001
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

/* --- Color System --- */
:root {
    --bg: #080808;
    --surface: #0d0d0d;
    --surface-2: #141414;
    --surface-3: #1a1a1a;
    --text: #f0f0f0;
    --text-secondary: #c4c4c4;
    --muted: #6e6e6e;
    --muted-light: #8c8c8c;
    --border: #1e1e1e;
    --border-light: #2a2a2a;
    --border-hover: #3a3a3a;
    --accent: #e8e8e8;

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --nav-height: 64px;
    --section-padding: clamp(80px, 10vw, 140px);

    /* Transitions */
    --transition-fast: 180ms ease;
    --transition-base: 280ms ease;
    --transition-slow: 500ms ease;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography Scale --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

p {
    line-height: 1.7;
    color: var(--text-secondary);
}

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

/* --- Utilities --- */
.mono {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =============================================
   NAVIGATION
   ============================================= */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 100;
    transition: background-color var(--transition-base), border-color var(--transition-base);
    border-bottom: 1px solid transparent;
}

#nav.scrolled {
    background-color: rgba(8, 8, 8, 0.94);
    border-bottom-color: var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
    transition: opacity var(--transition-fast);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(28px, 3.5vw, 48px);
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--muted-light);
    transition: color var(--transition-fast);
    text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-cta {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--text);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    transition: border-color var(--transition-fast), gap var(--transition-fast);
}

.nav-cta:hover {
    border-bottom-color: var(--text);
    gap: 10px;
}

.nav-cta .arrow {
    font-size: 0.9rem;
    transition: transform var(--transition-fast);
}

.nav-cta:hover .arrow {
    transform: translate(2px, -2px);
}

/* Mobile Menu Toggle */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    position: relative;
    z-index: 110;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--text);
    transition: transform var(--transition-base), opacity var(--transition-fast), width var(--transition-base);
    transform-origin: left center;
}

.nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translateY(0px);
}
.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}
.nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(0px);
}

/* Mobile Nav Overlay */
.nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: var(--bg);
    z-index: 99;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 8vw, 80px);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.nav-mobile-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.nav-mobile-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.nav-mobile-links a {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--muted);
    transition: color var(--transition-fast);
    display: block;
}

.nav-mobile-links a:hover {
    color: var(--text);
}

.nav-mobile-footer {
    position: absolute;
    bottom: clamp(30px, 6vw, 60px);
    left: clamp(40px, 8vw, 80px);
    right: clamp(40px, 8vw, 80px);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.nav-mobile-footer .mono {
    font-size: 0.65rem;
}


/* =============================================
   HERO SECTION
   ============================================= */
#home {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--nav-height) clamp(20px, 4vw, 60px) 0;
    max-width: 1440px;
    margin: 0 auto;
    overflow: hidden;
}

/* Subtle Grid Background */
.hero-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 20%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 20%, black 20%, transparent 80%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: clamp(60px, 8vw, 100px);
    padding-top: clamp(60px, 8vw, 80px);
}

.hero-meta-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: clamp(40px, 6vw, 72px);
}

.hero-meta-row .mono {
    font-size: 0.65rem;
}

.hero-status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #4ade80;
    display: inline-block;
    position: relative;
}

.hero-status-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(74, 222, 128, 0.3);
    animation: pulse-ring 2.4s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0; transform: scale(2); }
}

.hero-title {
    font-size: clamp(3.2rem, 9vw, 9rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.92;
    color: var(--text);
    margin-bottom: clamp(32px, 4vw, 52px);
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .line-inner {
    display: block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.hero-title .line-inner.visible {
    transform: translateY(0);
    opacity: 1;
}

.hero-title .line:nth-child(2) .line-inner { transition-delay: 0.08s; }
.hero-title .line:nth-child(3) .line-inner { transition-delay: 0.16s; }

.hero-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.25rem);
    color: var(--muted-light);
    font-weight: 400;
    max-width: 480px;
    line-height: 1.6;
    margin-bottom: clamp(40px, 5vw, 60px);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.hero-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 32px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s;
}

.hero-actions.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    border: 1px solid var(--border-light);
    padding: 13px 24px;
    transition: border-color var(--transition-fast), gap var(--transition-fast);
}

.btn-primary:hover {
    border-color: var(--border-hover);
    gap: 12px;
}

.btn-secondary {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color var(--transition-fast);
}

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

/* Hero Bottom Info Bar */
.hero-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    opacity: 0;
    transition: opacity 0.8s ease 1s;
}

.hero-bottom.visible {
    opacity: 1;
}

.hero-bottom-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-bottom-item:not(:first-child) {
    border-left: 1px solid var(--border);
    padding-left: 20px;
}

.hero-bottom-item .label {
    font-size: 0.6rem;
}

.hero-bottom-item .value {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    letter-spacing: 0.06em;
}

/* =============================================
   SECTION COMMON
   ============================================= */
.section {
    padding: var(--section-padding) clamp(20px, 4vw, 60px);
    max-width: 1440px;
    margin: 0 auto;
}

.section-inner {
    border-top: 1px solid var(--border);
    padding-top: clamp(48px, 6vw, 80px);
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: clamp(32px, 5vw, 56px);
}

.section-label::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background-color: var(--muted);
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

/* =============================================
   BRAND STATEMENT
   ============================================= */
#statement {
    background-color: var(--bg);
}

.statement-inner {
    border-top: 1px solid var(--border);
    padding: clamp(80px, 12vw, 160px) clamp(20px, 4vw, 60px);
    max-width: 1440px;
    margin: 0 auto;
}

.statement-text {
    font-size: clamp(2rem, 5.5vw, 5.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--text);
    max-width: 880px;
}

.statement-text em {
    font-style: normal;
    color: var(--muted);
}

.statement-aside {
    margin-top: clamp(40px, 6vw, 72px);
    display: flex;
    align-items: flex-start;
    gap: clamp(32px, 6vw, 80px);
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.statement-aside p {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    color: var(--muted-light);
    max-width: 360px;
    line-height: 1.75;
}

.statement-aside p:first-child {
    flex-shrink: 0;
}

/* =============================================
   PROJECTS / ECOSYSTEM
   ============================================= */
#projects {
    background-color: var(--bg);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: clamp(40px, 6vw, 64px);
}

.projects-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--text);
}

.projects-count {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    padding-bottom: 8px;
}

/* Project List */
.project-list {
    display: flex;
    flex-direction: column;
}

.project-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: clamp(16px, 3vw, 40px);
    padding: clamp(24px, 3vw, 32px) 0;
    border-top: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
    transition: border-color var(--transition-base);
    position: relative;
}

.project-item:last-child {
    border-bottom: 1px solid var(--border);
}

.project-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--surface);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    z-index: -1;
}

.project-item:hover {
    border-color: var(--border-hover);
}

.project-item:hover::after {
    opacity: 1;
}

.project-number {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    align-self: flex-start;
    padding-top: 4px;
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.project-name {
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--text);
    transition: color var(--transition-fast);
    line-height: 1.2;
}

.project-description {
    font-size: clamp(0.82rem, 1.2vw, 0.9rem);
    color: var(--muted-light);
    font-weight: 400;
    line-height: 1.5;
    max-width: 500px;
}

.project-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.project-tag {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 3px 8px;
}

.project-status {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 3px 8px;
    border: 1px solid var(--border);
}

.project-status.active {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.2);
}

.project-status.building {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.2);
}

.project-status.concept {
    color: var(--muted);
    border-color: var(--border);
}

.project-arrow {
    font-size: 1.2rem;
    color: var(--muted);
    transition: transform var(--transition-base), color var(--transition-base);
    flex-shrink: 0;
}

.project-item:hover .project-arrow {
    transform: translate(4px, -4px);
    color: var(--text);
}

.project-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* =============================================
   PHILOSOPHY
   ============================================= */
#philosophy {
    background-color: var(--surface);
}

.philosophy-wrapper {
    background-color: var(--surface);
    padding: var(--section-padding) clamp(20px, 4vw, 60px);
}

.philosophy-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.philosophy-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: flex-end;
    margin-bottom: clamp(60px, 8vw, 100px);
}

.philosophy-title {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--text);
}

.philosophy-lead {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    color: var(--muted-light);
    line-height: 1.7;
    max-width: 400px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.principle-item {
    padding: clamp(32px, 4vw, 52px);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background-color var(--transition-base);
}

.principle-item:hover {
    background-color: var(--surface-2);
}

.principle-number {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 20px;
}

.principle-title {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 12px;
}

.principle-text {
    font-size: clamp(0.82rem, 1.2vw, 0.9rem);
    color: var(--muted-light);
    line-height: 1.7;
}

/* =============================================
   ABOUT
   ============================================= */
#about {
    background-color: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 120px);
    align-items: start;
    padding-top: clamp(48px, 6vw, 80px);
    border-top: 1px solid var(--border);
}

.about-left {
    position: sticky;
    top: calc(var(--nav-height) + 32px);
}

.about-title {
    font-size: clamp(2rem, 4.5vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--text);
    line-height: 1.05;
    margin-bottom: 24px;
}

.about-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.about-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-meta-row .label {
    font-size: 0.6rem;
}

.about-meta-row .value {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-secondary);
    letter-spacing: 0.06em;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about-right p {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.75;
}

.about-right p strong {
    font-weight: 500;
    color: var(--text);
}

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

.about-tag {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--border-light);
    padding: 5px 12px;
}

/* =============================================
   DIRECTION
   ============================================= */
#direction {
    background-color: var(--bg);
}

.direction-inner {
    border-top: 1px solid var(--border);
    padding-top: clamp(48px, 6vw, 80px);
}

.direction-header {
    margin-bottom: clamp(60px, 8vw, 100px);
}

.direction-title {
    font-size: clamp(2.4rem, 6vw, 6rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    color: var(--text);
    line-height: 1.0;
}

.direction-title span {
    color: var(--muted);
}

.direction-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.direction-words {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.direction-word {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    color: var(--surface-3);
    line-height: 1.2;
    transition: color var(--transition-base);
    cursor: default;
    border-top: 1px solid var(--border);
    padding: clamp(12px, 2vw, 20px) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.direction-word:last-child {
    border-bottom: 1px solid var(--border);
}

.direction-word:hover {
    color: var(--text);
}

.direction-word .word-num {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--muted);
    letter-spacing: 0.1em;
}

.direction-note {
    padding-top: clamp(20px, 3vw, 40px);
}

.direction-note p {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    color: var(--muted-light);
    line-height: 1.75;
    max-width: 380px;
}

.direction-note p + p {
    margin-top: 20px;
}

.direction-note .mono {
    margin-top: 36px;
    display: block;
}

/* =============================================
   FOOTER
   ============================================= */
#footer {
    background-color: var(--surface);
    border-top: 1px solid var(--border);
    margin-top: var(--section-padding);
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(48px, 7vw, 80px) clamp(20px, 4vw, 60px) clamp(32px, 4vw, 48px);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: clamp(40px, 6vw, 64px);
    border-bottom: 1px solid var(--border);
    margin-bottom: clamp(28px, 4vw, 40px);
}

.footer-brand .footer-logo {
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--text);
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.6;
    max-width: 220px;
}

.footer-col-title {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-list a {
    font-size: 0.82rem;
    color: var(--muted-light);
    transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
    color: var(--text);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom .mono {
    font-size: 0.62rem;
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--muted);
    letter-spacing: 0.06em;
}

/* =============================================
   FOCUS STYLES (Accessibility)
   ============================================= */
:focus-visible {
    outline: 1px solid var(--muted-light);
    outline-offset: 4px;
}

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}

/* =============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================= */
@media (max-width: 1024px) {
    .philosophy-header {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-left {
        position: static;
    }

    .direction-body {
        grid-template-columns: 1fr;
    }

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

/* =============================================
   RESPONSIVE — MOBILE MENU (max 768px)
   ============================================= */
@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-mobile-overlay {
        display: flex;
    }
}

/* =============================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================= */
@media (max-width: 768px) {
    .hero-bottom {
        grid-template-columns: 1fr 1fr;
    }

    .hero-bottom-item:nth-child(3) {
        display: none;
    }

    .statement-aside {
        flex-direction: column;
        gap: 20px;
    }

    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .project-item {
        grid-template-columns: 48px 1fr;
    }

    .project-right {
        display: none;
    }

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

    .direction-body {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (max 390px)
   ============================================= */
@media (max-width: 390px) {
    .hero-bottom {
        grid-template-columns: 1fr;
    }

    .hero-bottom-item:not(:first-child) {
        border-left: none;
        border-top: 1px solid var(--border);
        padding-left: 0;
        padding-top: 16px;
    }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-status-dot::after {
        animation: none;
    }
}

