/*
 * Adam Yormark - Personal Website Styles
 * Inspired by the J. Yormark stained glass storefront window
 * Colors: Cobalt blue, golden amber, emerald teal, warm cream
 */

/* ============================================
   CSS Variables & Design Tokens
   ============================================ */
:root {
    /* Core Colors */
    --black: #0a0a0f;
    --white: #ffffff;
    --cream: #f5f0e8;
    --cream-light: #faf8f4;

    /* Stained Glass Palette - Backlit & Vibrant */
    --glass-blue: #1a4fd6;
    --glass-blue-light: #3d6fe8;
    --glass-blue-glow: #5588ff;
    --glass-blue-dark: #0d2a7a;

    --glass-gold: #e5a91a;
    --glass-gold-light: #f4c442;
    --glass-gold-glow: #ffd966;
    --glass-gold-dark: #b8860b;

    --glass-teal: #0d7a6e;
    --glass-teal-light: #12a594;
    --glass-teal-glow: #2dd4bf;
    --glass-teal-dark: #064e45;

    --glass-emerald: #0f8a5f;
    --glass-emerald-light: #15b87a;

    /* Gray Scale - Warmer tones */
    --gray-50: #fafaf8;
    --gray-100: #f5f5f2;
    --gray-200: #e8e8e4;
    --gray-300: #d1d1cc;
    --gray-400: #8a8a85;
    --gray-500: #6e6e69;
    --gray-600: #52524e;
    --gray-700: #3a3a37;
    --gray-800: #2c2c29;
    --gray-900: #1c1c1a;

    /* Status Colors */
    --status-active: #15b87a;
    --status-paused: var(--glass-gold);
    --status-archived: var(--gray-500);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--glass-blue-light), var(--glass-teal-light));
    --gradient-gold: linear-gradient(135deg, var(--glass-gold), var(--glass-gold-light));
    --gradient-hero: linear-gradient(135deg, var(--glass-blue), var(--glass-teal));
    --gradient-subtle: linear-gradient(135deg, rgba(26, 79, 214, 0.08), rgba(13, 122, 110, 0.08));

    /* Shadows - Stained glass glow effect */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow-blue: 0 0 30px rgba(26, 79, 214, 0.3);
    --shadow-glow-gold: 0 0 30px rgba(229, 169, 26, 0.25);
    --shadow-glow-teal: 0 0 30px rgba(13, 122, 110, 0.3);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.0625rem;
    --font-size-xl: 1.125rem;
    --font-size-2xl: 1.25rem;
    --font-size-3xl: 1.5rem;
    --font-size-4xl: 2rem;
    --font-size-5xl: 2.5rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 100px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;
}

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

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

body {
    font-family: var(--font-family);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ============================================
   Stained Glass Background Animation
   ============================================ */
.quantum-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.08;
    pointer-events: none;
    overflow: hidden;
}

/* Horizontal bands - like the gold stripes in the stained glass */
.circuit-line {
    position: absolute;
    height: 2px;
    opacity: 0.5;
}

.circuit-line:nth-child(1) {
    top: 15%;
    width: 50%;
    left: 0;
    background: linear-gradient(90deg, transparent, var(--glass-gold), var(--glass-gold-light), transparent);
    animation-delay: 0s;
}
.circuit-line:nth-child(2) {
    top: 30%;
    width: 60%;
    right: 0;
    left: auto;
    background: linear-gradient(90deg, transparent, var(--glass-blue-light), var(--glass-blue), transparent);
    animation-delay: 1s;
}
.circuit-line:nth-child(3) {
    top: 50%;
    width: 45%;
    left: 10%;
    background: linear-gradient(90deg, transparent, var(--glass-teal), var(--glass-teal-light), transparent);
    animation-delay: 2s;
}
.circuit-line:nth-child(4) {
    top: 70%;
    width: 55%;
    right: 0;
    left: auto;
    background: linear-gradient(90deg, transparent, var(--glass-gold-light), var(--glass-gold), transparent);
    animation-delay: 3s;
}
.circuit-line:nth-child(5) {
    top: 85%;
    width: 40%;
    left: 5%;
    background: linear-gradient(90deg, transparent, var(--glass-blue), var(--glass-teal), transparent);
    animation-delay: 4s;
}

/* Vertical elements - like the lead came divisions */
.circuit-vertical {
    position: absolute;
    width: 1px;
    opacity: 0.5;
}

.circuit-vertical:nth-child(6) {
    left: 20%;
    height: 40%;
    top: 10%;
    background: linear-gradient(180deg, transparent, var(--glass-teal), transparent);
    animation-delay: 0.5s;
}
.circuit-vertical:nth-child(7) {
    left: 45%;
    height: 50%;
    top: 25%;
    background: linear-gradient(180deg, transparent, var(--glass-blue), transparent);
    animation-delay: 1.5s;
}
.circuit-vertical:nth-child(8) {
    left: 70%;
    height: 45%;
    top: 15%;
    background: linear-gradient(180deg, transparent, var(--glass-gold), transparent);
    animation-delay: 2.5s;
}
.circuit-vertical:nth-child(9) {
    left: 90%;
    height: 35%;
    top: 40%;
    background: linear-gradient(180deg, transparent, var(--glass-teal-light), transparent);
    animation-delay: 3.5s;
}

/* Nodes - like light catching on the glass intersections */
.circuit-node {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 0.6;
}

.circuit-node:nth-child(10) {
    top: 15%;
    left: 20%;
    background: var(--glass-gold);
    box-shadow: 0 0 15px var(--glass-gold-glow);
    animation-delay: 0s;
}
.circuit-node:nth-child(11) {
    top: 30%;
    left: 45%;
    background: var(--glass-blue-light);
    box-shadow: 0 0 15px var(--glass-blue-glow);
    animation-delay: 1s;
}
.circuit-node:nth-child(12) {
    top: 50%;
    left: 70%;
    background: var(--glass-teal-light);
    box-shadow: 0 0 15px var(--glass-teal-glow);
    animation-delay: 2s;
}
.circuit-node:nth-child(13) {
    top: 70%;
    left: 35%;
    background: var(--glass-gold-light);
    box-shadow: 0 0 15px var(--glass-gold-glow);
    animation-delay: 3s;
}
.circuit-node:nth-child(14) {
    top: 85%;
    left: 85%;
    background: var(--glass-blue);
    box-shadow: 0 0 15px var(--glass-blue-glow);
    animation-delay: 4s;
}

@keyframes glass-shimmer {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

@keyframes node-pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.7;
    }
}

/* ============================================
   Navigation
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--spacing-lg) var(--spacing-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.95);
    border-bottom: 1px solid rgba(229, 169, 26, 0.1);
}

/* AY Logo - Stained Glass Inspired Monogram */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    position: relative;
}

.nav-logo svg {
    width: 44px;
    height: 44px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-links a {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
    font-weight: 400;
}

.nav-links a:hover {
    color: var(--glass-gold-light);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem var(--spacing-2xl) var(--spacing-3xl);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
    max-width: 1200px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.hero-text h1 .tagline-words {
    display: block;
}

.tagline-word {
    display: inline;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 100% 100%;
}

.tagline-gold {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='80'%3E%3Cdefs%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.03 0.12' numOctaves='3' seed='7'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3C/defs%3E%3Crect width='200' height='80' fill='%23d4a234'/%3E%3Crect width='200' height='80' filter='url(%23t)' opacity='0.35'/%3E%3C/svg%3E");
}

.tagline-blue {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='80'%3E%3Cdefs%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.025 0.06' numOctaves='4' seed='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3C/defs%3E%3Crect width='200' height='80' fill='%233d6fe8'/%3E%3Crect width='200' height='80' filter='url(%23t)' opacity='0.3'/%3E%3C/svg%3E");
}

.tagline-green {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='80'%3E%3Cdefs%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04 0.08' numOctaves='4' seed='1'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3C/defs%3E%3Crect width='200' height='80' fill='%231a6b4a'/%3E%3Crect width='200' height='80' filter='url(%23t)' opacity='0.35'/%3E%3C/svg%3E");
}

.tagline-cream {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='80'%3E%3Cdefs%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.05 0.1' numOctaves='3' seed='11'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3C/defs%3E%3Crect width='200' height='80' fill='%23f0ead6'/%3E%3Crect width='200' height='80' filter='url(%23t)' opacity='0.3'/%3E%3C/svg%3E");
}

.hero-text .tagline {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: var(--spacing-xl);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-text .role {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(229, 169, 26, 0.06);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    color: var(--cream);
    border: 1px solid rgba(229, 169, 26, 0.15);
}

.role-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--status-active);
    box-shadow: 0 0 10px rgba(21, 184, 122, 0.6);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-sm);
    filter: grayscale(100%) contrast(1.1);
}

/* ============================================
   Sections
   ============================================ */
section {
    padding: var(--spacing-4xl) var(--spacing-2xl);
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.section-line {
    height: 2px;
    flex: 1;
    max-width: 60px;
    background: linear-gradient(90deg, var(--glass-gold), transparent);
}

.section-title {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--glass-gold);
    font-weight: 500;
}

/* ============================================
   Featured Work Grid
   ============================================ */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.featured-card {
    position: relative;
    padding: var(--spacing-xl);
    border: 3px solid #5a5a5a;
    border-radius: 0;
    display: block;
    overflow: hidden;
}

.featured-card:hover {
    border-color: #6e6e6e;
}

.featured-card-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: var(--spacing-lg);
    filter: grayscale(100%) brightness(1.2) contrast(1.1);
    opacity: 0.85;
}

.featured-card:hover .featured-card-logo {
    opacity: 1;
}

.featured-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
    color: var(--cream);
}

.featured-card p {
    font-size: var(--font-size-sm);
    color: var(--gray-400);
    line-height: 1.5;
}

.card-arrow {
    position: absolute;
    top: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 20px;
    height: 20px;
    opacity: 0;
    color: var(--glass-gold);
}

.featured-card:hover .card-arrow {
    opacity: 0.8;
}

/* ============================================
   Projects Grid
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.project-card {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-lg);
    border: 3px solid #5a5a5a;
    border-radius: 0;
    display: block;
}

.project-card:hover {
    border-color: #6e6e6e;
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
    color: var(--gray-400);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-active {
    background: var(--status-active);
    box-shadow: 0 0 8px rgba(21, 184, 122, 0.6);
}
.status-paused {
    background: var(--status-paused);
    box-shadow: 0 0 8px rgba(229, 169, 26, 0.5);
}
.status-archived {
    background: var(--status-archived);
}

.project-card h3 {
    font-size: var(--font-size-base);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
    color: var(--cream);
}

.project-card p {
    font-size: 0.8125rem;
    color: var(--gray-400);
    line-height: 1.5;
}

/* ============================================
   Footer
   ============================================ */
footer {
    padding: var(--spacing-3xl) var(--spacing-2xl);
    border-top: 1px solid rgba(229, 169, 26, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: var(--spacing-xl);
}

.footer-links a {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
}

.footer-links a:hover {
    color: var(--glass-gold);
}

.footer-copy {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-copy::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--glass-gold);
    box-shadow: 0 0 6px var(--glass-gold-glow);
}

/* ============================================
   Contact Page Styles
   ============================================ */
.contact-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.contact-page main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem var(--spacing-xl) var(--spacing-3xl);
}

.contact-container {
    max-width: 480px;
    width: 100%;
}

.contact-container h1 {
    font-size: var(--font-size-5xl);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-md);
    color: var(--cream);
}

.contact-intro {
    color: var(--gray-400);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-link {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: 1.25rem var(--spacing-lg);
    border: 3px solid #5a5a5a;
    border-radius: 0;
}

.contact-link:hover {
    border-color: #6e6e6e;
}

.contact-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    flex-shrink: 0;
    color: var(--glass-gold);
}

.contact-link:hover .contact-icon {
    opacity: 1;
}

.contact-link-text {
    flex: 1;
}

.contact-link-label {
    font-size: var(--font-size-xs);
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
}

.contact-link-value {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--cream);
}

.contact-arrow {
    width: 16px;
    height: 16px;
    opacity: 0;
    flex-shrink: 0;
    color: var(--glass-gold);
}

.contact-link:hover .contact-arrow {
    opacity: 0.8;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl);
    border: 3px solid #5a5a5a;
    border-radius: 0;
    margin-bottom: var(--spacing-xl);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid #5a5a5a;
    border-radius: 0;
    padding: 0.75rem 1rem;
    color: var(--cream);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--glass-gold);
    box-shadow: 0 0 8px rgba(229, 169, 26, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-600);
}

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

.form-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: rgba(212, 162, 52, 0.2);
    border: 1px solid rgba(229, 169, 26, 0.3);
    border-radius: 0;
    color: var(--glass-gold-light);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.form-submit:hover {
    background: rgba(212, 162, 52, 0.3);
    box-shadow: 0 0 12px rgba(229, 169, 26, 0.2);
}

.form-success {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl);
    border: 3px solid #5a5a5a;
    border-radius: 0;
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.form-success svg {
    color: var(--status-active);
    margin-bottom: var(--spacing-md);
}

.form-success p {
    color: var(--cream);
    font-size: var(--font-size-lg);
}

/* ============================================
   Stained Glass Card Texture
   ============================================ */
.featured-card::before,
.project-card::before,
.contact-link::before,
.contact-form::before,
.form-success::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    transition: opacity var(--transition-base);
}

.featured-card > *,
.project-card > *,
.contact-link > *,
.contact-form > *,
.form-success > * {
    position: relative;
    z-index: 1;
}

/* ============================================
   Stained Glass Pane Colors
   Matches the J. Yormark stained glass logo
   ============================================ */

/* Blue glass — cobalt center field (#1e3a7a) */
.glass-blue {
    background: rgba(30, 58, 122, 0.25);
    box-shadow: inset 0 0 40px rgba(26, 79, 214, 0.15), 0 0 1px rgba(90, 90, 90, 0.5);
}
.glass-blue:hover {
    background: rgba(30, 58, 122, 0.35);
    box-shadow: inset 0 0 50px rgba(26, 79, 214, 0.2), 0 0 8px rgba(26, 79, 214, 0.2);
}
.glass-blue::before {
    background: rgba(30, 58, 122, 0.15);
    filter: url(#glass-texture-blue);
}
.glass-blue:hover::before {
    background: rgba(30, 58, 122, 0.2);
}

/* Gold glass — amber bands (#d4a234) */
.glass-gold {
    background: rgba(212, 162, 52, 0.15);
    box-shadow: inset 0 0 40px rgba(229, 169, 26, 0.1), 0 0 1px rgba(90, 90, 90, 0.5);
}
.glass-gold:hover {
    background: rgba(212, 162, 52, 0.22);
    box-shadow: inset 0 0 50px rgba(229, 169, 26, 0.15), 0 0 8px rgba(229, 169, 26, 0.2);
}
.glass-gold::before {
    background: rgba(212, 162, 52, 0.1);
    filter: url(#glass-texture-gold);
}
.glass-gold:hover::before {
    background: rgba(212, 162, 52, 0.15);
}

/* Green glass — emerald border panes (#1a6b4a) */
.glass-green {
    background: rgba(26, 107, 74, 0.2);
    box-shadow: inset 0 0 40px rgba(13, 122, 110, 0.12), 0 0 1px rgba(90, 90, 90, 0.5);
}
.glass-green:hover {
    background: rgba(26, 107, 74, 0.28);
    box-shadow: inset 0 0 50px rgba(13, 122, 110, 0.18), 0 0 8px rgba(13, 122, 110, 0.2);
}
.glass-green::before {
    background: rgba(26, 107, 74, 0.12);
    filter: url(#glass-texture-green);
}
.glass-green:hover::before {
    background: rgba(26, 107, 74, 0.16);
}

/* Cream glass — letter panes (#f0ead6) */
.glass-cream {
    background: rgba(240, 234, 214, 0.08);
    box-shadow: inset 0 0 40px rgba(240, 234, 214, 0.06), 0 0 1px rgba(90, 90, 90, 0.5);
}
.glass-cream:hover {
    background: rgba(240, 234, 214, 0.12);
    box-shadow: inset 0 0 50px rgba(240, 234, 214, 0.1), 0 0 8px rgba(240, 234, 214, 0.15);
}
.glass-cream::before {
    background: rgba(240, 234, 214, 0.06);
    filter: url(#glass-texture-cream);
}
.glass-cream:hover::before {
    background: rgba(240, 234, 214, 0.08);
}

/* ============================================
   Project Detail Page Styles
   ============================================ */
.project-page main {
    max-width: 720px;
    margin: 0 auto;
    padding: 8rem var(--spacing-xl) var(--spacing-3xl);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gray-400);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xl);
}

.back-link:hover {
    color: var(--glass-gold);
}

.project-header {
    margin-bottom: var(--spacing-2xl);
}

.project-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-sm);
}

.project-logo.inverted {
    filter: grayscale(100%) brightness(1.2) contrast(1.1);
    opacity: 0.9;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    margin-bottom: var(--spacing-md);
}

.status-badge.active {
    background: rgba(21, 184, 122, 0.1);
    border: 1px solid rgba(21, 184, 122, 0.3);
    color: var(--status-active);
}

.status-badge.active .status-dot {
    background: var(--status-active);
}

.status-badge.paused {
    background: rgba(229, 169, 26, 0.1);
    border: 1px solid rgba(229, 169, 26, 0.3);
    color: var(--glass-gold);
}

.status-badge.paused .status-dot {
    background: var(--glass-gold);
}

.status-badge.archived {
    background: rgba(110, 110, 105, 0.15);
    border: 1px solid rgba(110, 110, 105, 0.3);
    color: var(--gray-400);
}

.status-badge.archived .status-dot {
    background: var(--gray-500);
}

.project-header h1 {
    font-size: var(--font-size-5xl);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    color: var(--cream);
}

.project-header .tagline {
    color: var(--gray-400);
    font-size: var(--font-size-xl);
    font-weight: 300;
}

.project-meta {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
}

.project-meta a {
    color: var(--glass-blue-light);
}

.project-meta a:hover {
    color: var(--glass-gold);
    text-decoration: underline;
}

.content {
    color: var(--gray-200);
}

.content p {
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg);
    line-height: 1.7;
}

.content h2 {
    font-size: var(--font-size-2xl);
    font-weight: 500;
    margin: var(--spacing-2xl) 0 var(--spacing-md);
    color: var(--cream);
}

.content ul {
    margin-bottom: var(--spacing-lg);
    padding-left: 1.25rem;
    list-style: disc;
}

.content li {
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
    line-height: 1.7;
}

.content li::marker {
    color: var(--glass-gold);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 280px;
    }

    .hero-image::before,
    .hero-image::after {
        display: none;
    }

    .hero-text .role {
        justify-content: center;
    }

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

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

@media (max-width: 640px) {
    nav {
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .nav-logo svg {
        width: 36px;
        height: 36px;
    }

    .nav-links {
        gap: var(--spacing-lg);
    }

    .nav-links a {
        font-size: 0.8125rem;
    }

    section {
        padding: var(--spacing-3xl) var(--spacing-lg);
    }

    .hero {
        padding: 6rem var(--spacing-lg) var(--spacing-2xl);
    }

    .hero-image img {
        max-width: 220px;
    }

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

    footer {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .footer-copy::before {
        display: none;
    }

    /* Contact page mobile */
    .contact-page main {
        padding: 6rem var(--spacing-lg) var(--spacing-2xl);
    }

    .contact-container h1 {
        font-size: var(--font-size-4xl);
    }

    /* Project page mobile */
    .project-page main {
        padding: 6rem var(--spacing-lg) var(--spacing-2xl);
    }

    .project-header h1 {
        font-size: var(--font-size-4xl);
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.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;
}

.gradient-text {
    background: linear-gradient(135deg, var(--glass-gold), var(--glass-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
