/* DOPE Hubs 2026 - Base Styles */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Mono', monospace;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-3xl);
}

h4 {
    font-size: var(--font-size-2xl);
}

h5 {
    font-size: var(--font-size-xl);
}

h6 {
    font-size: var(--font-size-lg);
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--speed) var(--ease);
}

a:hover {
    color: #FFFFFF;
}

/* Container */
.container {
    width: min(var(--container-width), calc(100% - 3rem));
    margin-inline: auto;
}

/* Accessibility: Skip Link */
.skip-link {
    position: fixed;
    top: -100px;
    left: 0;
    background: #FFFFFF;
    color: #000000 !important;
    padding: var(--space-sm) var(--space-md);
    z-index: 10000;
    font-weight: 600;
}

.skip-link * {
    color: #000000 !important;
}

.skip-link:focus {
    top: 0;
}

/* Focus Visible States */
:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* Reduced Motion Support */
@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;
    }

    video {
        display: none;
    }
}

/* Main Content */
.main-content {
    min-height: calc(100vh - var(--header-height));
}

/* Section Utilities */
.section-padding {
    padding: var(--space-xxl) 0;
}

.section-title {
    font-size: var(--font-size-3xl);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.subsection-title {
    font-size: var(--font-size-2xl);
    text-align: center;
    margin-bottom: var(--space-lg);
    margin-top: var(--space-xl);
}

/* Typography Utilities */
.eyebrow {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #FFFFFF;
    margin-bottom: var(--space-xs);
    text-align: center;
}

.lead {
    font-size: var(--font-size-xl);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

/* Page Hero */
.page-hero {
    padding: calc(var(--header-height) + var(--space-xxl)) 0 var(--space-xxl);
    background: #000000;
    text-align: center !important;
}

.page-hero .container {
    text-align: center !important;
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero .lead,
.page-hero p {
    text-align: center !important;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: var(--space-sm) 0;
}

/* Page Header (for About, Contact, etc.) */
.page-header {
    padding: calc(var(--header-height) + var(--space-xxl)) 0 var(--space-xxl);
    background: #000000;
    text-align: center !important;
}

.page-header .container {
    text-align: center !important;
}

.page-header .eyebrow,
.page-header h1,
.page-header .lead,
.page-header p {
    text-align: center !important;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: var(--space-sm) 0;
}

/* Section Header */
.section-header {
    margin-bottom: var(--space-xxl);
}

.section-header h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-md);
    text-align: center;
}

.section-header.text-center,
.text-center .section-header {
    text-align: center;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Section Backgrounds */
.section-alt {
    background: var(--surface-1);
}

/* Text alignment */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}