/* Modern Reset & Base Styles */
:root {
    --bg-color: #050505;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --accent-color: #ffffff;
    --font-primary: 'Roboto', sans-serif;
    --spacing-container: 1400px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3 {
    font-weight: 300;
    /* Lighter weight for modern feel */
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(180deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.2rem;
    color: var(--accent-color);
}

p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 300;
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Layout Utilities */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 40px;
}

.centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-text {
    text-align: center;
}

.spacer {
    height: 150px;
}

/* Header */
#site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 60px;
    background: transparent;
    transition: all 0.5s ease;
}

#site-header.scrolled {
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.logo img:hover {
    opacity: 1;
}

/* Mobile menu hidden but ready */
.mobile-menu-btn {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--bg-color), transparent);
    pointer-events: none;
}

.hero-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.3) 0%, rgba(5, 5, 5, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    padding: 0 20px;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
}

.hero-title {
    font-size: 3.5rem;
    /* Larger hero title */
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.03em;
    -webkit-text-fill-color: initial;
    /* Override gradient for hero */
}

.hero-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

.hero-quote cite {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Sections */
section {
    padding: 100px 0;
}

.image-block {
    margin: 60px 0;
    position: relative;
}

/* Image Integration Magic */
.image-block img {
    /* Soften images to blend with background */
    filter: brightness(0.9) contrast(1.1);
    transition: filter 0.5s ease;
}

.image-block:hover img {
    filter: brightness(1) contrast(1);
}

/* Specific Image Treatments */
.intro-section .image-block::before {
    content: '';
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

.alive-section .image-block img {
    /* ALIVE logo glow */
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

.rulers-section .image-block img {
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.wide-img {
    width: 60%;
    margin: 0 auto;
}

/* Typography Enhancements for Text Blocks */
.content-block p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    /* Generally centered text for this narrative style */
}

h1+p {
    margin-top: -0.5rem;
}

/* Highlight Boxes */
.highlight-box,
.highlight-box-vertical {
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.5) 0%, rgba(10, 10, 10, 0.5) 100%);
    padding: 50px;
    border-radius: 20px;
    margin: 60px auto;
    max-width: 900px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.highlight-box p,
.highlight-box-vertical p {
    text-align: left;
}

/* Rulers Section */
.rulers-section h1 {
    font-size: 8rem;
    /* Massive typography effect */
    opacity: 0.1;
    margin-bottom: -60px;
    position: relative;
    z-index: 0;
    letter-spacing: 0.2em;
}

.rulers-section h2 {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.download-link {
    display: inline-block;
    color: var(--accent-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
}

.download-link:hover {
    border-bottom-color: #fff;
    transform: translateY(-2px);
}

/* Footer */
#colophon {
    background-color: #000;
    padding: 80px 0 40px;
    border-top: 1px solid #1a1a1a;
    position: relative;
    text-align: center;
}

.footer-widget .title {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #666;
}

.textwidget p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #888;
}

.textwidget a {
    color: #fff;
    opacity: 0.6;
}

.textwidget a:hover {
    opacity: 1;
}

.footer-separator {
    height: 1px;
    background: linear-gradient(to right, transparent, #333, transparent);
    margin: 60px 0;
}

.site-info {
    font-size: 0.8rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-container: 100%;
    }

    .container {
        padding: 0 25px;
    }

    #site-header {
        padding: 20px 25px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .rulers-section h1 {
        font-size: 4rem;
        margin-bottom: -30px;
    }

    .wide-img {
        width: 100%;
    }

    .highlight-box,
    .highlight-box-vertical {
        padding: 30px;
    }
}