/*
Theme Name: Iconoclast Handshapes
Theme URI: https://www.instagram.com/surf_iconoclast/
Author: Mike Wallace
Author URI: https://www.instagram.com/surf_iconoclast/
Description: Custom WordPress theme for Iconoclast Handshapes — handcrafted surfboards by Mike Wallace.
Version: 9.0.0
License: Private
Text Domain: iconoclast
*/

/* ==========================================================================
   Iconoclast Handshapes - Main Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables
   -------------------------------------------------------------------------- */
:root {
    --color-dark: #2d3436;
    --color-charcoal: #3d4447;
    --color-slate: #4a5568;
    --color-driftwood: #8b7355;
    --color-gold: #b8a024;
    --color-sand: #e6d5b8;
    --color-foam: #f5f0e8;
    --color-white: #ffffff;
    --color-text: #e8e8e8;
    --color-text-muted: #b0b0b0;

    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --transition-base: 0.3s ease;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    background-color: var(--color-dark);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    margin: 0;
}

p { font-family: var(--font-primary); font-weight: var(--font-weight-normal); margin: 0; }

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

a { color: inherit; text-decoration: none; font-family: var(--font-primary); }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }

.main-content { flex: 1; padding: var(--space-lg) 0; }

/* --------------------------------------------------------------------------
   4. Navigation
   -------------------------------------------------------------------------- */
.nav {
    background-color: transparent;
    padding: var(--space-xs) 0;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}

.nav ul li a {
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.0925em;
    transition: color var(--transition-base);
    padding: 0.5em 1em;
    display: block;
    position: relative;
}

.nav ul li a:hover { color: #ffdf00; }
.nav ul li a.active { color: #ffdf00; }

.nav ul li.dropdown { position: relative; }

.nav ul li.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-xs) 0;
    min-width: 150px;
    z-index: 100;
    margin-top: var(--space-xs);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav ul li.dropdown:hover .dropdown-menu { display: block; }
.nav ul li.dropdown .dropdown-menu li { display: block; }

.nav ul li.dropdown .dropdown-menu li a {
    display: block;
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
    text-align: center;
    white-space: nowrap;
}

.nav ul li.dropdown .dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   5. Header & Logo
   -------------------------------------------------------------------------- */
header {
    background-color: transparent;
    padding: var(--space-lg) 0 var(--space-sm) 0;
    text-align: center;
}

.logo {
    display: block;
    margin: 0 auto;
    max-width: 700px;
    width: 80%;
    height: auto;
    filter: brightness(0) invert(56%) sepia(12%) saturate(500%) hue-rotate(170deg) brightness(93%) contrast(88%);
}

/* --------------------------------------------------------------------------
   6. Content Sections
   -------------------------------------------------------------------------- */
.hero-section { text-align: center; padding: var(--space-lg) 0; }

.hero-image {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.definition-block {
    color: #e8e8e8;
    text-align: left;
    text-transform: uppercase;
    font-weight: var(--font-weight-bold);
    position: relative;
    padding: 1em;
    font-size: 1.4rem;
    letter-spacing: 0.0925em;
    line-height: 1.6em;
    margin: var(--space-lg) auto;
    max-width: 900px;
}

.definition-block::before,
.definition-block::after {
    content: '';
    display: block;
    height: 4px;
    background-color: #e8e8e8;
    width: 100%;
    margin: 0 auto;
}

.definition-block::before { margin-bottom: 0.75em; }
.definition-block::after  { margin-top: 0.75em; }

/* --------------------------------------------------------------------------
   7. Photo Gallery
   -------------------------------------------------------------------------- */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    padding: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.photo-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.photo-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.photo-gallery img:first-child { grid-column: 1 / -1; height: 400px; }

/* --------------------------------------------------------------------------
   8. Timeline (Story Page)
   -------------------------------------------------------------------------- */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: var(--space-lg) auto;
    padding: var(--space-md);
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(180deg, var(--color-gold), var(--color-driftwood), var(--color-gold));
    top: 0; bottom: 0; left: 50%;
    margin-left: -1.5px;
    border-radius: 2px;
}

.timeline-item {
    padding: var(--space-sm) var(--space-lg);
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: var(--color-gold);
    border: 3px solid var(--color-dark);
    top: 22px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 12px rgba(184, 160, 36, 0.4);
}

.timeline-item.left { left: 0; padding-right: var(--space-xl); }
.timeline-item.left::after { right: -9px; }
.timeline-item.right { left: 50%; padding-left: var(--space-xl); }
.timeline-item.right::after { left: -9px; }

.timeline-content {
    padding: var(--space-md);
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.timeline-item.left .timeline-content::before  { right: -20px; border-left-color: rgba(255, 255, 255, 0.12); }
.timeline-item.right .timeline-content::before { left: -20px;  border-right-color: rgba(255, 255, 255, 0.12); }

.timeline-content h3 {
    color: var(--color-gold);
    margin: 0 0 var(--space-xs) 0;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.timeline-content p { margin: 0; color: var(--color-text); line-height: 1.7; font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   9. Board Grid
   -------------------------------------------------------------------------- */
.boards-section { padding: var(--space-lg); background-color: transparent; }

.boards-section h1 {
    text-align: center;
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.boards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.board-card {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.board-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(139, 115, 85, 0.5);
}

.board-card img { width: 100%; height: 280px; object-fit: cover; transition: transform var(--transition-base); }
.board-card:hover img { transform: scale(1.02); }

.board-card-content { padding: var(--space-md); }

.board-card h3 {
    margin: 0 0 var(--space-xs) 0;
    color: var(--color-gold);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.board-card p { margin: 0; color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.6; }

/* --------------------------------------------------------------------------
   10. Instagram Page
   -------------------------------------------------------------------------- */
.instagram-section { padding: var(--space-lg); max-width: 1200px; margin: 0 auto; }

.instagram-header { text-align: center; margin-bottom: var(--space-lg); }

.instagram-header h1 {
    color: var(--color-white);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-sm);
}

.instagram-header p { color: var(--color-text-muted); font-size: 1rem; }
.instagram-header a { color: var(--color-gold); transition: color var(--transition-base); }
.instagram-header a:hover { color: var(--color-white); }

.instagram-embed-container {
    background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.instagram-profile {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-md);
}

.instagram-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    padding: 3px;
    display: flex; align-items: center; justify-content: center;
}

.instagram-avatar-inner {
    width: 100%; height: 100%;
    border-radius: 50%;
    background-color: var(--color-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
}

.instagram-info h2  { color: var(--color-white); font-size: 1.3rem; margin-bottom: 4px; }
.instagram-info p   { color: var(--color-text-muted); font-size: 0.9rem; }

.instagram-follow-btn {
    margin-left: auto;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-bold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.instagram-follow-btn:hover { transform: scale(1.05); box-shadow: 0 4px 16px rgba(225, 48, 108, 0.4); }

.instagram-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }

.instagram-post { aspect-ratio: 1; overflow: hidden; position: relative; cursor: pointer; background-color: rgba(0, 0, 0, 0.3); }
.instagram-post img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-base), opacity var(--transition-base); }
.instagram-post:hover img { transform: scale(1.05); opacity: 0.8; }

.instagram-post-overlay {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.instagram-post:hover .instagram-post-overlay { opacity: 1; }
.instagram-post-overlay span { color: white; font-weight: var(--font-weight-bold); font-size: 0.9rem; }

.instagram-cta {
    text-align: center;
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.instagram-cta a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-lg);
    font-weight: var(--font-weight-bold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.instagram-cta a:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4); }

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
footer {
    background-color: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text);
    text-align: center;
    padding: var(--space-md);
    margin-top: auto;
}

footer p {
    margin: 0;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

footer a { color: var(--color-text); text-decoration: none; transition: color var(--transition-base); }
footer a:hover { color: var(--color-gold); }

.footer-links {
    list-style: none;
    padding: 0;
    margin: var(--space-sm) 0 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-links a {
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    font-size: 0.8rem;
}

.footer-links a:hover {
    background-color: var(--color-driftwood);
    border-color: var(--color-driftwood);
    color: var(--color-white);
}

/* --------------------------------------------------------------------------
   12. Landing Page
   -------------------------------------------------------------------------- */
body.page-template-page-landing {
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.bg-video {
    position: fixed;
    right: 0; bottom: 0;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    z-index: -1;
    object-fit: cover;
    opacity: 0.7;
}

.landing-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-md);
    color: white;
}

.landing-logo { filter: brightness(0) invert(1); width: 85%; max-width: 700px; height: auto; }

.landing-caption {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.15em;
    margin: var(--space-sm) 0 var(--space-md) 0;
    text-transform: uppercase;
}

.landing-nav a {
    color: white;
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: var(--space-sm) var(--space-lg);
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    background-color: rgba(139, 115, 85, 0.25);
    transition: all var(--transition-base);
}

.landing-nav a:hover { background-color: var(--color-driftwood); border-color: var(--color-driftwood); }

/* --------------------------------------------------------------------------
   13. Story Page (Minimal V3)
   -------------------------------------------------------------------------- */
.version-indicator {
    text-align: center;
    padding: var(--space-sm);
    background: rgba(255, 223, 0, 0.1);
    color: #ffdf00;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.minimal-hero {
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.minimal-hero h1 {
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.minimal-hero .year-range { font-size: 1.2rem; color: #ffdf00; letter-spacing: 0.3em; text-transform: uppercase; }

.chapter {
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--space-xl);
    position: relative;
}

.chapter::before {
    content: '';
    position: absolute;
    left: 60px; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 223, 0, 0.3), transparent);
}

.chapter-marker { text-align: right; padding-right: var(--space-lg); position: relative; }

.chapter-marker::after {
    content: '';
    position: absolute;
    right: -6px; top: 10px;
    width: 12px; height: 12px;
    background: #ffdf00;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 223, 0, 0.5);
}

.chapter-number { font-size: 0.75rem; color: rgba(255, 255, 255, 0.4); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 5px; }

.chapter-label {
    font-size: 1rem;
    color: #ffdf00;
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    letter-spacing: 0.1em;
}

.chapter-content { padding-left: var(--space-lg); }

.chapter-content h2 { font-size: 2.5rem; color: #fff; margin-bottom: var(--space-md); font-weight: 300; line-height: 1.2; }
.chapter-content h2 strong { font-weight: 700; color: #ffdf00; }
.chapter-content p { font-size: 1.1rem; color: rgba(255, 255, 255, 0.7); line-height: 2; max-width: 600px; }

.chapter-image { margin-top: var(--space-lg); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.chapter-image img { width: 100%; height: 300px; object-fit: cover; filter: grayscale(30%); transition: all 0.5s ease; }
.chapter-image:hover img { filter: grayscale(0%); transform: scale(1.02); }
.chapter-image::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(255, 223, 0, 0.3); border-radius: var(--radius-lg); pointer-events: none; }

.stats-row { display: flex; gap: var(--space-xl); margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.stat { text-align: center; }
.stat-value { font-size: 2.5rem; font-weight: 700; color: #ffdf00; display: block; }
.stat-label { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; letter-spacing: 0.1em; }

.divider { max-width: 1000px; margin: 0 auto; padding: var(--space-xl) var(--space-md); text-align: center; }
.divider-line { display: flex; align-items: center; gap: var(--space-md); }
.divider-line::before, .divider-line::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 223, 0, 0.3), transparent); }
.divider-icon { font-size: 1.5rem; }

.manifesto { max-width: 800px; margin: var(--space-xl) auto; padding: var(--space-xl); text-align: center; }
.manifesto h2 { font-size: 1rem; color: #ffdf00; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: var(--space-lg); }
.manifesto p { font-size: 1.8rem; color: #fff; line-height: 1.6; font-weight: 300; }
.manifesto p strong { color: #ffdf00; font-weight: 600; }

/* --------------------------------------------------------------------------
   14. Boards Page (Card Grid V1)
   -------------------------------------------------------------------------- */
.boards-intro { max-width: 900px; margin: 0 auto var(--space-xl); text-align: center; padding: 0 var(--space-md); }
.boards-intro h1 { font-size: 2.5rem; margin-bottom: var(--space-md); text-transform: uppercase; letter-spacing: 0.1em; }
.boards-intro .tagline { font-size: 1.2rem; color: var(--color-text-muted); line-height: 1.8; margin-bottom: var(--space-md); }
.boards-intro .quote { font-style: italic; color: #ffdf00; font-size: 1.1rem; padding: var(--space-md); border-left: 3px solid #ffdf00; text-align: left; background: rgba(255, 223, 0, 0.05); border-radius: 0 var(--radius-md) var(--radius-md) 0; }

.category-section { margin-bottom: var(--space-xl); }
.category-header { text-align: center; margin-bottom: var(--space-lg); padding-bottom: var(--space-sm); border-bottom: 2px solid rgba(255, 255, 255, 0.1); }
.category-header h2 { font-size: 1.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: #ffdf00; margin-bottom: var(--space-xs); }
.category-header p { color: var(--color-text-muted); font-size: 0.95rem; }

.models-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--space-lg); max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }

.model-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-lg); padding: var(--space-lg); transition: all var(--transition-base); }
.model-card:hover { border-color: rgba(255, 223, 0, 0.3); transform: translateY(-2px); }
.model-card h3 { color: var(--color-white); font-size: 1.2rem; margin-bottom: var(--space-sm); text-transform: uppercase; letter-spacing: 0.05em; }
.model-card p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.7; }

.materials-section { max-width: 900px; margin: var(--space-xl) auto; padding: var(--space-lg); background: rgba(255, 223, 0, 0.05); border: 1px solid rgba(255, 223, 0, 0.2); border-radius: var(--radius-lg); }
.materials-section h2 { color: #ffdf00; font-size: 1.5rem; margin-bottom: var(--space-md); text-transform: uppercase; letter-spacing: 0.1em; }
.materials-section p { color: var(--color-text); line-height: 1.8; font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   15. Designer Page
   -------------------------------------------------------------------------- */
.designer-page { min-height: 100vh; padding: var(--space-lg) var(--space-md); }

.designer-header { text-align: center; margin-bottom: var(--space-xl); }
.designer-header h1 { font-size: 2.5rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: var(--space-sm); }
.designer-header .subtitle { color: #ffdf00; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: var(--space-sm); }
.designer-header p { color: var(--color-text-muted); max-width: 600px; margin: 0 auto; line-height: 1.7; }

.designer-container { display: grid; grid-template-columns: 1fr 400px; gap: var(--space-xl); max-width: 1400px; margin: 0 auto; }

.board-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-lg); padding: var(--space-xl); min-height: 700px; position: relative; }

.board-svg-container { position: relative; width: 100%; max-width: 280px; }
.board-svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4)); transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }

.board-dimensions { margin-top: var(--space-lg); text-align: center; padding: var(--space-md); background: rgba(255, 223, 0, 0.1); border: 1px solid rgba(255, 223, 0, 0.2); border-radius: var(--radius-md); }
.board-dimensions h3 { color: #ffdf00; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-xs); }
.board-dimensions p { color: var(--color-text); font-size: 1.1rem; font-weight: 500; }

.controls-panel { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-lg); padding: var(--space-lg); }

.control-section { margin-bottom: var(--space-lg); padding-bottom: var(--space-lg); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.control-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.control-section h3 { color: #ffdf00; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: var(--space-md); display: flex; align-items: center; gap: var(--space-sm); }
.control-section h3::before { content: ''; width: 12px; height: 2px; background: #ffdf00; }

.options-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }

.option-btn { display: flex; flex-direction: column; align-items: center; padding: var(--space-md); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-md); cursor: pointer; transition: all var(--transition-base); color: var(--color-text); }
.option-btn:hover { border-color: rgba(255, 223, 0, 0.4); background: rgba(255, 223, 0, 0.05); }
.option-btn.active { border-color: #ffdf00; background: rgba(255, 223, 0, 0.1); }
.option-btn svg { width: 60px; height: 80px; margin-bottom: var(--space-xs); fill: none; stroke: currentColor; stroke-width: 2; transition: all var(--transition-base); }
.option-btn.active svg { stroke: #ffdf00; }
.option-btn span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }

.slider-control { margin-bottom: var(--space-md); }
.slider-control:last-child { margin-bottom: 0; }
.slider-label { display: flex; justify-content: space-between; margin-bottom: var(--space-xs); font-size: 0.85rem; color: var(--color-text-muted); }
.slider-value { color: #ffdf00; font-weight: 600; }

input[type="range"] { width: 100%; height: 6px; background: rgba(255, 255, 255, 0.1); border-radius: 3px; outline: none; -webkit-appearance: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; background: #ffdf00; border-radius: 50%; cursor: pointer; transition: transform 0.2s ease; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }

.color-options { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.color-swatch { width: 36px; height: 36px; border-radius: 50%; cursor: pointer; transition: all var(--transition-base); border: 2px solid transparent; }
.color-swatch:hover { transform: scale(1.15); }
.color-swatch.active { border-color: #fff; box-shadow: 0 0 0 2px #ffdf00; }

.fin-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); }
.fin-btn { padding: var(--space-sm); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-sm); cursor: pointer; transition: all var(--transition-base); color: var(--color-text); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; text-align: center; }
.fin-btn:hover { border-color: rgba(255, 223, 0, 0.4); }
.fin-btn.active { border-color: #ffdf00; background: rgba(255, 223, 0, 0.1); color: #ffdf00; }

.summary-btn { width: 100%; padding: var(--space-md); background: #ffdf00; color: #1a1a1a; border: none; border-radius: var(--radius-md); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; transition: all var(--transition-base); margin-top: var(--space-lg); }
.summary-btn:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 223, 0, 0.3); }

.stringer { stroke: rgba(139, 90, 43, 0.6); stroke-width: 1.5; }
.board-preview:hover .board-svg { transform: perspective(1000px) rotateY(-5deg); }

.experimental-badge { position: absolute; top: var(--space-md); right: var(--space-md); background: linear-gradient(135deg, #ff6b6b 0%, #ffa502 100%); color: #fff; padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-sm); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }

/* --------------------------------------------------------------------------
   16. Follow Page — Smash Balloon dark-theme overrides
   -------------------------------------------------------------------------- */

/* Feed wrapper */
.sb-feed-container {
    margin: var(--space-lg) 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* Strip the plugin's white background */
#sb_instagram,
#sb_instagram .sbi_inner,
.sbi_header_img_wrap,
.sbi_bio_wrap {
    background: transparent !important;
}

/* Remove default white card bg on each photo */
#sb_instagram .sbi_photo_wrap {
    background: transparent !important;
}

/* Rounded photo corners */
#sb_instagram .sbi_photo img {
    border-radius: var(--radius-sm);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

#sb_instagram .sbi_photo_wrap:hover img {
    transform: scale(1.04);
    opacity: 0.85;
}

/* Hide the plugin's own header since we have our own */
#sb_instagram .sbi_header {
    display: none !important;
}

/* Load more button */
#sb_instagram .sbi_load_btn {
    background: transparent !important;
    border: 1px solid rgba(255, 223, 0, 0.5) !important;
    color: #ffdf00 !important;
    font-family: var(--font-primary) !important;
    font-weight: var(--font-weight-bold) !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border-radius: var(--radius-md) !important;
    transition: all var(--transition-base) !important;
    padding: var(--space-sm) var(--space-lg) !important;
}

#sb_instagram .sbi_load_btn:hover {
    background: #ffdf00 !important;
    color: #1a1a1a !important;
    border-color: #ffdf00 !important;
}

/* --------------------------------------------------------------------------
   16b. Follow (Instagram) Page — profile header & CTA
   -------------------------------------------------------------------------- */
.instagram-embed-wrapper { background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 2rem; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); }

.instagram-profile-header { display: flex; align-items: center; gap: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 1.5rem; }

.profile-avatar { width: 100px; height: 100px; border-radius: 50%; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); padding: 4px; flex-shrink: 0; }
.profile-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background-color: #2d3436; }

.profile-details { flex: 1; }
.profile-details h2 { color: #fff; font-size: 1.5rem; margin-bottom: 0.25rem; display: flex; align-items: center; gap: 0.5rem; }
.verified-badge { width: 18px; height: 18px; fill: #3897f0; }
.profile-handle { color: #b0b0b0; font-size: 1rem; margin-bottom: 0.75rem; }
.profile-bio { color: #e8e8e8; font-size: 0.95rem; line-height: 1.5; }

.follow-button { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white; padding: 0.75rem 2rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; transition: transform 0.3s ease, box-shadow 0.3s ease; text-decoration: none; display: inline-block; flex-shrink: 0; }
.follow-button:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4); }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 1.5rem; border-radius: 8px; overflow: hidden; }
.post-item { aspect-ratio: 1; position: relative; overflow: hidden; background: rgba(0,0,0,0.3); }
.post-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.post-item:hover img { transform: scale(1.08); }
.post-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.post-item:hover .post-overlay { opacity: 1; }
.post-stats { display: flex; gap: 1.5rem; color: white; font-weight: 600; }
.post-stats span { display: flex; align-items: center; gap: 0.4rem; }

.view-profile-cta { text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.view-profile-cta p { color: #b0b0b0; margin-bottom: 1rem; font-size: 0.95rem; }

.instagram-btn { display: inline-flex; align-items: center; gap: 0.75rem; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white; padding: 1rem 2rem; border-radius: 12px; font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; transition: transform 0.3s ease, box-shadow 0.3s ease; text-decoration: none; }
.instagram-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(225, 48, 108, 0.5); }
.instagram-btn svg { width: 24px; height: 24px; }

/* --------------------------------------------------------------------------
   17. Blog — Listing (home.php)
   -------------------------------------------------------------------------- */
.blog-section {
    padding: var(--space-lg) var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.blog-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-header h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.blog-header p {
    color: var(--color-text-muted);
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.blog-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 223, 0, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.blog-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-base);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
}

.blog-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.blog-cat {
    font-size: 0.7rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1a1a1a;
    background: #ffdf00;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-base), color var(--transition-base);
    text-decoration: none;
}

.blog-cat:hover {
    background: var(--color-white);
    color: #1a1a1a;
}

.blog-card-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--color-white);
    text-decoration: none;
    transition: color var(--transition-base);
}

.blog-card-title a:hover { color: #ffdf00; }

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    flex: 1;
}

.blog-read-more {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffdf00;
    border-bottom: 1px solid rgba(255, 223, 0, 0.4);
    padding-bottom: 2px;
    transition: color var(--transition-base), border-color var(--transition-base);
    text-decoration: none;
}

.blog-read-more:hover {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.blog-pagination {
    text-align: center;
    margin-top: var(--space-xl);
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all var(--transition-base);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: #ffdf00;
    border-color: #ffdf00;
    color: #1a1a1a;
}

.blog-empty {
    text-align: center;
    padding: var(--space-xl);
    color: var(--color-text-muted);
    font-size: 1rem;
    letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   18. Blog — Single Post (single.php)
   -------------------------------------------------------------------------- */
article.single-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-md) var(--space-xl);
}

.single-post-hero {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: var(--space-xl);
    max-height: 500px;
    overflow: hidden;
}

.single-post-hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.single-post-header {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.single-post-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.back-link {
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-base);
}

.back-link:hover { color: #ffdf00; }

.single-date {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.single-post-title {
    font-size: 2.8rem;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.single-post-cats {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Post body content typography
   -------------------------------------------------------------------------- */
.single-post-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.82);
}

.single-post-content p {
    margin-bottom: 1.5em;
}

.single-post-content h2 {
    color: var(--color-white);
    font-size: 1.8rem;
    margin: 2em 0 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.single-post-content h3 {
    color: #ffdf00;
    font-size: 1.2rem;
    margin: 1.5em 0 0.5em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.single-post-content h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin: 1.5em 0 0.5em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.single-post-content a {
    color: #ffdf00;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-base);
}

.single-post-content a:hover { color: var(--color-white); }

.single-post-content img {
    width: 100%;
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.single-post-content blockquote {
    margin: var(--space-lg) 0;
    padding: var(--space-md) var(--space-lg);
    border-left: 3px solid #ffdf00;
    background: rgba(255, 223, 0, 0.05);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--color-white);
    line-height: 1.7;
}

.single-post-content ul,
.single-post-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.single-post-content li { margin-bottom: 0.5em; }

.single-post-content hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: var(--space-xl) 0;
}

/* Prev / Next navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.post-nav-prev,
.post-nav-next {
    flex: 1;
    min-width: 0;
}

.post-nav-next { text-align: right; }

.post-navigation a {
    font-size: 0.85rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-base);
    display: inline-block;
    max-width: 100%;
    line-height: 1.4;
}

.post-navigation a:hover { color: #ffdf00; }

/* --------------------------------------------------------------------------
   YouTube Embeds (injected by cleanup.js)
   -------------------------------------------------------------------------- */
.yt-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin: var(--space-lg) 0;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.yt-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --------------------------------------------------------------------------
   Instagram Setup Notice (shown when Smash Balloon not active)
   -------------------------------------------------------------------------- */
.instagram-setup-notice {
    max-width: 540px;
    margin: var(--space-xl) auto;
    padding: var(--space-xl) var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    text-align: center;
}

.setup-ig-icon {
    width: 48px;
    height: 48px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.instagram-setup-notice h3 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e8e8e8;
    margin-bottom: 0.5em;
}

.instagram-setup-notice p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.setup-steps {
    text-align: left;
    color: var(--color-text);
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 0 auto var(--space-lg);
    max-width: 380px;
    padding-left: 1.25em;
}

.setup-steps li { margin-bottom: 0.3em; }

/* --------------------------------------------------------------------------
   Comments Section (archived comments styled as cards via comments.js)
   -------------------------------------------------------------------------- */
.comments-section {
    max-width: 760px;
    margin: var(--space-xl) auto 0;
    padding: var(--space-xl) var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.comments-heading {
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.comment-card {
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding: 0.6em 0 0.6em var(--space-md);
    margin-bottom: var(--space-md);
}

.comment-card:last-child { margin-bottom: 0; }

.comment-header {
    display: flex;
    align-items: baseline;
    gap: 0.8em;
    margin-bottom: 0.4em;
    flex-wrap: wrap;
}

.comment-author {
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e8e8e8;
}

.comment-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.comment-body {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.65;
}

.comment-body p {
    margin: 0 0 0.4em;
}

.comment-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   19. Story Page V2 — Immersive Full-Screen Sections
   -------------------------------------------------------------------------- */
.immersive-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.immersive-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.immersive-section .bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    transform: scale(1.1);
    transition: transform 8s ease-out;
}

.immersive-section:hover .bg-image {
    transform: scale(1);
}

.section-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--space-xl);
}

.section-content.right {
    margin-left: auto;
    text-align: right;
}

.section-number {
    font-size: 8rem;
    font-weight: bold;
    color: rgba(255, 223, 0, 0.2);
    line-height: 1;
    margin-bottom: -2rem;
}

.section-content h2 {
    font-size: 3rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    position: relative;
}

.section-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: #ffdf00;
}

.section-content.right h2::after {
    left: auto;
    right: 0;
}

.section-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    margin-top: var(--space-lg);
}

.section-content .highlight {
    color: #ffdf00;
    font-weight: 600;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

.scroll-indicator::after {
    content: '↓';
    display: block;
    font-size: 1.5rem;
    margin-top: 5px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(10px); }
}

.quote-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: var(--space-xl);
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.big-quote {
    max-width: 900px;
    font-size: 2rem;
    font-style: italic;
    color: #fff;
    line-height: 1.6;
    position: relative;
}

.big-quote::before {
    content: '\201C';
    font-size: 10rem;
    position: absolute;
    top: -60px;
    left: -40px;
    color: rgba(255, 223, 0, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.quote-author {
    display: block;
    margin-top: var(--space-lg);
    color: #ffdf00;
    font-style: normal;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   20. Boards Page V3 — Editorial / Magazine Layout
   -------------------------------------------------------------------------- */
.editorial-hero {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.editorial-hero h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-md);
}

.editorial-hero .subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.editorial-hero .motto {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    border: 2px solid #ffdf00;
    color: #ffdf00;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

.full-width-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin: var(--space-lg) 0;
    display: block;
}

.editorial-section {
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    padding: 0 var(--space-md);
}

.section-label {
    display: inline-block;
    background: #ffdf00;
    color: #1a1a1a;
    padding: 0.3em 1em;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.section-intro {
    font-size: 1.15rem;
    color: var(--color-text);
    line-height: 1.9;
    margin-bottom: var(--space-lg);
}

.model-feature {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.model-feature:last-child { border-bottom: none; }

.model-feature h3 {
    font-size: 1.4rem;
    color: #ffdf00;
    margin-bottom: var(--space-sm);
}

.model-feature p {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 1rem;
}

.image-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.image-row img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    display: block;
}

.pull-quote {
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    border-left: 4px solid #ffdf00;
    background: rgba(255, 223, 0, 0.05);
}

.pull-quote p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-white);
    line-height: 1.6;
    margin: 0;
}

.pull-quote cite {
    display: block;
    margin-top: var(--space-sm);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-style: normal;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

.two-column .col h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.two-column .col p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.materials-feature {
    background: linear-gradient(135deg, rgba(255, 223, 0, 0.1) 0%, rgba(255, 223, 0, 0.02) 100%);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    text-align: center;
}

.materials-feature h2 {
    color: #ffdf00;
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.materials-feature p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text);
    line-height: 1.9;
    font-size: 1.05rem;
}

.cta-section {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.03);
}

.cta-section h2 { font-size: 1.8rem; margin-bottom: var(--space-sm); }

.cta-section p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.cta-section a {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: #ffdf00;
    color: #1a1a1a;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-decoration: none;
}

.cta-section a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 223, 0, 0.3);
}

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .designer-container { grid-template-columns: 1fr; }
    .board-preview { min-height: 500px; }
}

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
    .single-post-title { font-size: 2rem; }
    .single-post-hero img { height: 280px; }
    .post-navigation { flex-direction: column; }
    .post-nav-next { text-align: left; }

    .logo { width: 90%; max-width: 500px; }
    .nav ul { flex-wrap: wrap; }
    .nav ul li a { padding: 0.25em 0.5em; font-size: 0.8rem; }

    .definition-block { margin: var(--space-md); padding: 1em; font-size: 1rem; }
    .photo-gallery { padding: var(--space-md); gap: var(--space-sm); }
    .photo-gallery img:first-child { height: 250px; }

    .timeline::after { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: var(--space-sm); }
    .timeline-item.left, .timeline-item.right { left: 0; padding-left: 50px; padding-right: var(--space-sm); }
    .timeline-item::after, .timeline-item.left::after, .timeline-item.right::after { left: 11px; right: auto; }
    .timeline-item.left .timeline-content::before, .timeline-item.right .timeline-content::before { left: -20px; right: auto; border-left-color: transparent; border-right-color: rgba(255, 255, 255, 0.12); }

    .boards-grid { grid-template-columns: 1fr; padding: 0 var(--space-sm); }
    .instagram-feed { grid-template-columns: repeat(2, 1fr); }
    .instagram-profile { flex-direction: column; text-align: center; }
    .instagram-follow-btn { margin-left: 0; margin-top: var(--space-sm); }

    .minimal-hero h1 { font-size: 3rem; }
    .chapter { grid-template-columns: 1fr; gap: var(--space-md); }
    .chapter::before { display: none; }
    .chapter-marker { text-align: left; padding-right: 0; display: flex; align-items: center; gap: var(--space-sm); }
    .chapter-marker::after { position: static; }
    .chapter-label { writing-mode: horizontal-tb; transform: none; }
    .chapter-content { padding-left: 0; }
    .chapter-content h2 { font-size: 1.8rem; }
    .stats-row { flex-wrap: wrap; gap: var(--space-md); }
    .stat { flex: 1 1 40%; }
    .manifesto p { font-size: 1.3rem; }

    .instagram-profile-header { flex-direction: column; text-align: center; }
    .profile-avatar { width: 80px; height: 80px; }
    .profile-details h2 { justify-content: center; font-size: 1.3rem; }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }

    /* V2 Immersive Story */
    .section-number { font-size: 5rem; }
    .section-content h2 { font-size: 2rem; }
    .section-content p { font-size: 1rem; }
    .section-content { padding: var(--space-lg); }
    .section-content.right { margin-left: 0; text-align: left; }
    .section-content.right h2::after { left: 0; right: auto; }
    .big-quote { font-size: 1.3rem; }
    .big-quote::before { font-size: 6rem; top: -40px; left: -20px; }

    /* V3 Editorial Boards */
    .editorial-hero h1 { font-size: 2rem; }
    .image-row { grid-template-columns: 1fr; }
    .image-row img { height: 250px; }
    .two-column { grid-template-columns: 1fr; }
    .full-width-image { height: 250px; }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
    .logo { width: 95%; }
    .landing-logo { width: 95%; }
    .landing-caption { font-size: 0.85rem; text-align: center; }
    .nav ul li a { padding: 0.25em 0.5em; font-size: 0.7rem; letter-spacing: 0.05em; }
    .photo-gallery img { height: 200px; }
    .photo-gallery img:first-child { height: 200px; }
    .board-card img { height: 220px; }
    .definition-block { font-size: 0.9rem; }
    .timeline-content h3 { font-size: 1rem; }
    .timeline-content p { font-size: 0.9rem; }
    .instagram-feed { grid-template-columns: repeat(2, 1fr); gap: 2px; }
    .instagram-avatar { width: 60px; height: 60px; }
    .options-grid { grid-template-columns: 1fr; }
    .fin-options { grid-template-columns: repeat(2, 1fr); }
    .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
    .profile-avatar { width: 70px; height: 70px; }
}
