/* ==========================================================================
   The Art of Roberto Campus - Static Site Stylesheet
   Dark, elegant design inspired by the original WordPress/Avada theme
   ========================================================================== */

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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12101f;
    --bg-card: #1a1530;
    --bg-card-hover: #261e42;
    --text-primary: #e8e8ec;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    --accent: #c9a84c;
    --accent-hover: #dfc06a;
    --accent-dim: rgba(201, 168, 76, 0.12);
    --violet: #8b5cf6;
    --violet-hover: #a78bfa;
    --violet-dim: rgba(139, 92, 246, 0.12);
    --border: #2d2545;
    --max-width: 1200px;
    --header-height: 70px;
    --radius: 6px;
    --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

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

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; margin: 2rem 0 1rem; }
h3 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }

blockquote {
    border-left: 3px solid var(--accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--bg-secondary);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-secondary);
}

ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.5rem; }

/* --- Header / Nav --- */
#main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.97) 0%, rgba(30, 18, 50, 0.97) 50%, rgba(10, 10, 15, 0.97) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--accent) !important;
    text-decoration: none;
    white-space: nowrap;
}

.logo:hover {
    color: var(--accent-hover) !important;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links > a,
.nav-item > a {
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all var(--transition);
}

.nav-links > a:hover,
.nav-links > a.active,
.nav-item > a:hover,
.nav-item > a.active {
    color: var(--accent);
    background: var(--accent-dim);
}

/* Nav dropdown */
.nav-item {
    position: relative;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 180px;
    padding: 0.5rem 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    z-index: 200;
}

.nav-item:hover .nav-dropdown {
    display: block;
}

.nav-dropdown a {
    display: block;
    padding: 0.5rem 1.2rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all var(--transition);
}

.nav-dropdown a:hover {
    color: var(--accent);
    background: var(--accent-dim);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 1.5rem;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius);
    cursor: pointer;
}

/* Footer via component injection */
#main-footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    background: var(--bg-secondary);
}

/* --- Main --- */
main {
    flex: 1;
}

/* --- Hero --- */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 3.5rem 2rem 3rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,15,0.55), rgba(18,16,31,0.95));
}

.hero-content {
    position: relative;
    max-width: 700px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--violet), var(--accent), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    opacity: 0.85;
}

.hero-desc {
    color: var(--text-primary);
    font-size: 1.08rem;
    margin-bottom: 2rem;
    line-height: 1.85;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: #0a0a0f;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #0a0a0f;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent-dim);
    color: var(--accent-hover);
}

/* --- Page Header --- */
.page-header {
    padding: 4rem 2rem 3rem;
    text-align: center;
    max-width: var(--max-width);
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-header h1 {
    margin-bottom: 0.75rem;
}

.page-header .subtitle {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

.breadcrumb {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--accent);
}

/* --- Content Sections --- */
.content-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

.home-section {
    background: #f5f5f7;
    padding: 3.5rem 2rem 4rem;
    margin-top: 1.5rem;
}

.home-section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.home-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1a1a2e;
}

.home-section .blog-card {
    background: #fff;
    border-color: #e0e0e8;
}

.home-section .blog-card:hover {
    border-color: var(--violet);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.12);
}

.home-section .blog-card-content h3 {
    color: #1a1a2e;
}

.home-section .blog-card-content p {
    color: #555;
}

.home-section .blog-card-content time {
    color: #888;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.about-content h2 {
    color: var(--accent);
    font-size: 1.4rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

/* --- Gallery --- */
.gallery {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-grid-large {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.gallery-card {
    display: block;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.gallery-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    background: var(--bg-card-hover);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.gallery-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

.gallery-card:hover .gallery-card-image img {
    transform: scale(1.05);
}

.gallery-card h3 {
    padding: 1rem 1.2rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.gallery-card-large .gallery-card-image {
    aspect-ratio: 16/10;
}

.gallery-card-large h3 {
    font-size: 1.2rem;
    padding: 1.2rem 1.5rem;
}

/* --- Blog --- */
.blog-listing {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.blog-grid-list {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.blog-grid-list .blog-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
}

.blog-card {
    display: block;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.blog-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.blog-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.blog-grid-list .blog-card img {
    height: 100%;
    aspect-ratio: unset;
}

.blog-card-content {
    padding: 1.2rem;
}

.blog-card-content time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-card-content .category {
    font-size: 0.8rem;
    color: var(--accent);
    margin-left: 0.75rem;
}

.blog-card-content h3 {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

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

.pagination {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

/* --- Blog Post --- */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

.post-header {
    margin-bottom: 2rem;
}

.post-header h1 {
    margin-bottom: 0.75rem;
}

.post-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.post-meta .category {
    color: var(--accent);
    margin-left: 0.75rem;
}

.post-featured-image {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.post-content {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.post-content h2 {
    color: var(--accent);
    font-size: 1.4rem;
    margin-top: 2.5rem;
}

.post-content strong {
    color: var(--text-primary);
}

/* --- Portfolio Detail --- */
.portfolio-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

.portfolio-detail h1 {
    margin-bottom: 2rem;
}

.portfolio-image {
    margin-bottom: 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.portfolio-image img {
    width: 100%;
}

.portfolio-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* --- Physics Page: Hero --- */
.phys-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 440px;
    display: flex;
    align-items: flex-end;
}

.phys-hero-overlay {
    width: 100%;
    padding: 4.5rem 2rem;
    text-align: center;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.50) 0%,
        rgba(10, 10, 15, 0.80) 50%,
        rgba(10, 10, 15, 0.95) 100%
    );
}

.phys-hero-kicker {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.phys-hero h1 {
    font-size: 3rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}

.phys-hero-tagline {
    font-size: 1.3rem;
    color: var(--violet);
    font-style: italic;
    letter-spacing: 0.03em;
    margin-bottom: 2rem;
}

.phys-hero-text {
    max-width: 720px;
    margin: 0 auto;
}

.phys-hero-text p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.phys-hero-text strong {
    color: #fff;
}

/* --- Physics Page: Content Blocks --- */
.phys-block {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.phys-block-overlay {
    background: linear-gradient(
        160deg,
        rgba(10, 10, 15, 0.92) 0%,
        rgba(18, 16, 31, 0.88) 40%,
        rgba(10, 10, 15, 0.93) 100%
    );
    border-top: 1px solid var(--border);
}

.phys-materia-overlay {
    background: linear-gradient(
        160deg,
        rgba(10, 10, 15, 0.93) 0%,
        rgba(15, 12, 25, 0.88) 40%,
        rgba(20, 15, 8, 0.90) 70%,
        rgba(10, 10, 15, 0.94) 100%
    );
}

.phys-block-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.phys-block-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: stretch;
}

.phys-block-grid-reverse {
    grid-template-columns: 1.2fr 1fr;
}

/* (reverse grid handled by .phys-block-grid-reverse) */

.phys-block-image {
    background: linear-gradient(135deg, var(--violet), rgba(139, 92, 246, 0.3), var(--violet));
    padding: 3px;
    border-radius: 12px;
    align-self: stretch;
    display: flex;
}

.phys-block-image img {
    border-radius: 10px;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 0;
}

.phys-block-kicker {
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    color: var(--violet);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.phys-block-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent), #e8d5a0, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.phys-block-content p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.78);
    margin-bottom: 1rem;
}

.phys-block-content strong {
    color: #fff;
}

.phys-block-note {
    color: var(--text-muted) !important;
    font-style: italic;
}

.phys-block-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.phys-block-links .btn {
    padding: 0.55rem 1.2rem;
    font-size: 0.88rem;
}

/* --- Physics Page: Follow Strip --- */
.phys-follow {
    background: linear-gradient(135deg, rgba(139,92,246,0.12) 0%, rgba(18,16,31,0.95) 50%, rgba(139,92,246,0.12) 100%);
    padding: 1rem 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
}

.phys-follow-label {
    font-weight: 600;
    color: var(--violet);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.phys-follow a {
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.phys-follow a:hover {
    color: #fff;
}

.phys-follow-sep {
    opacity: 0.3;
    color: var(--text-muted);
}

/* --- Technology Page: Hero --- */
.tech-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 440px;
    display: flex;
    align-items: flex-end;
}

.tech-hero-overlay {
    width: 100%;
    padding: 4.5rem 2rem;
    text-align: center;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.55) 0%,
        rgba(10, 10, 15, 0.82) 50%,
        rgba(10, 10, 15, 0.96) 100%
    );
}

.tech-hero-kicker {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.tech-hero h1 {
    font-size: 3rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}

.tech-hero-tagline {
    font-size: 1.3rem;
    color: var(--accent);
    font-style: italic;
    letter-spacing: 0.03em;
    margin-bottom: 2rem;
}

.tech-hero-text {
    max-width: 720px;
    margin: 0 auto;
}

.tech-hero-text p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* --- Technology Page: Section Overlay Variants --- */
.tech-overlay-punto {
    background: linear-gradient(
        160deg,
        rgba(10, 10, 15, 0.93) 0%,
        rgba(18, 15, 10, 0.87) 40%,
        rgba(10, 10, 15, 0.93) 100%
    );
}

.tech-overlay-intapps {
    background: linear-gradient(
        160deg,
        rgba(10, 10, 15, 0.92) 0%,
        rgba(12, 16, 28, 0.88) 40%,
        rgba(10, 10, 15, 0.93) 100%
    );
}

.tech-overlay-cepa {
    background: linear-gradient(
        160deg,
        rgba(10, 10, 15, 0.93) 0%,
        rgba(20, 18, 12, 0.88) 40%,
        rgba(10, 10, 15, 0.94) 100%
    );
}

.tech-overlay-blogsparks {
    background: linear-gradient(
        160deg,
        rgba(10, 10, 15, 0.92) 0%,
        rgba(15, 18, 30, 0.87) 40%,
        rgba(10, 10, 15, 0.93) 100%
    );
}

.tech-overlay-ec {
    background: linear-gradient(
        160deg,
        rgba(10, 10, 15, 0.94) 0%,
        rgba(12, 15, 25, 0.89) 40%,
        rgba(18, 14, 10, 0.91) 70%,
        rgba(10, 10, 15, 0.94) 100%
    );
}

.tech-overlay-fluxmateria {
    background: linear-gradient(
        160deg,
        rgba(10, 10, 15, 0.93) 0%,
        rgba(18, 12, 28, 0.88) 40%,
        rgba(10, 10, 15, 0.94) 100%
    );
}

/* --- About Page: Hero --- */
.about-hero {
    position: relative;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
}

.about-hero-overlay {
    width: 100%;
    padding: 4.5rem 2rem 3.5rem;
    text-align: center;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.5) 0%,
        rgba(10, 10, 15, 0.8) 40%,
        rgba(10, 10, 15, 0.95) 100%
    );
}

.about-hero-kicker {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.about-hero h1 {
    font-size: 3.2rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}

.about-hero-tagline {
    font-size: 1.2rem;
    color: var(--accent);
    font-style: italic;
    letter-spacing: 0.03em;
    margin-bottom: 2rem;
}

.about-hero-text {
    max-width: 740px;
    margin: 0 auto;
}

.about-hero-text p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* --- About Page: Short Bio Intro --- */
.about-intro {
    background: var(--bg-secondary);
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.about-intro-inner {
    max-width: 740px;
    margin: 0 auto;
}

.about-intro-lead {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--accent);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-intro-inner p:last-child {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.8;
}

/* --- About Page: Section Overlay Variants --- */
.about-overlay-art {
    background: linear-gradient(
        160deg,
        rgba(10, 10, 15, 0.92) 0%,
        rgba(18, 14, 24, 0.87) 40%,
        rgba(10, 10, 15, 0.93) 100%
    );
}

.about-overlay-music {
    background: linear-gradient(
        160deg,
        rgba(10, 10, 15, 0.92) 0%,
        rgba(12, 18, 28, 0.87) 40%,
        rgba(10, 10, 15, 0.93) 100%
    );
}

.about-overlay-tech {
    background: linear-gradient(
        160deg,
        rgba(10, 10, 15, 0.93) 0%,
        rgba(18, 15, 10, 0.88) 40%,
        rgba(10, 10, 15, 0.93) 100%
    );
}

.about-overlay-physics {
    background: linear-gradient(
        160deg,
        rgba(10, 10, 15, 0.92) 0%,
        rgba(15, 12, 28, 0.87) 40%,
        rgba(10, 10, 15, 0.93) 100%
    );
}

.about-overlay-books {
    background: linear-gradient(
        160deg,
        rgba(10, 10, 15, 0.93) 0%,
        rgba(20, 12, 18, 0.88) 40%,
        rgba(10, 10, 15, 0.94) 100%
    );
}

/* --- About Page: Personal Section --- */
.about-personal {
    background: var(--bg-secondary);
    padding: 4rem 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.about-personal-inner {
    max-width: 740px;
    margin: 0 auto;
}

.about-personal-inner p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-personal-close {
    font-size: 1.15rem !important;
    font-style: italic;
    color: var(--accent) !important;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 168, 76, 0.2);
}

/* --- Books Page: Hero --- */
.books-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
}

.books-hero-overlay {
    width: 100%;
    padding: 4.5rem 2rem 3.5rem;
    text-align: center;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.55) 0%,
        rgba(10, 10, 15, 0.82) 45%,
        rgba(10, 10, 15, 0.96) 100%
    );
}

.books-hero-kicker {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.books-hero h1 {
    font-size: 3.2rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}

.books-hero-tagline {
    font-size: 1.25rem;
    color: var(--accent);
    font-style: italic;
    letter-spacing: 0.03em;
    margin-bottom: 2rem;
}

.books-hero-text {
    max-width: 720px;
    margin: 0 auto;
}

.books-hero-text p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* --- Books Page: Section Overlay Variants --- */
.books-overlay-violet {
    background: linear-gradient(
        160deg,
        rgba(10, 10, 15, 0.93) 0%,
        rgba(20, 12, 30, 0.88) 40%,
        rgba(10, 10, 15, 0.94) 100%
    );
}

.books-overlay-sigma {
    background: linear-gradient(
        160deg,
        rgba(10, 10, 15, 0.92) 0%,
        rgba(18, 15, 10, 0.87) 40%,
        rgba(10, 10, 15, 0.93) 100%
    );
}

.books-overlay-shape {
    background: linear-gradient(
        160deg,
        rgba(10, 10, 15, 0.93) 0%,
        rgba(12, 15, 28, 0.88) 40%,
        rgba(10, 10, 15, 0.94) 100%
    );
}

/* --- Books Page: Genre Tags --- */
.books-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.books-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 20px;
    padding: 0.3rem 0.85rem;
    background: rgba(201, 168, 76, 0.08);
}

/* --- Books Page: Status Badge --- */
.books-status-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bg-primary);
    background: linear-gradient(135deg, var(--accent), #e8c864);
    border-radius: 4px;
    padding: 0.35rem 1rem;
    margin-bottom: 1rem;
}

/* --- Art Page: Hero --- */
.art-hero {
    position: relative;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
}

.art-hero-overlay {
    width: 100%;
    padding: 4.5rem 2rem;
    text-align: center;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.72) 0%,
        rgba(10, 10, 15, 0.88) 50%,
        rgba(10, 10, 15, 0.96) 100%
    );
}

.art-hero h1 {
    font-size: 3rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}

.art-hero-tagline {
    font-size: 1.2rem;
    color: var(--accent);
    font-style: italic;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.art-hero-text {
    max-width: 740px;
    margin: 0 auto;
}

.art-hero-text p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.8;
    margin-bottom: 1rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.art-hero-text p:last-child {
    margin-bottom: 0;
}

.art-hero-text strong {
    color: #fff;
}

/* --- Art Page: Pre-AI Statement --- */
.art-preai {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, rgba(18,16,31,0.95) 50%, rgba(201, 168, 76, 0.08) 100%);
    border-top: 1px solid rgba(201, 168, 76, 0.2);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    padding: 2rem;
}

.art-preai-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.art-preai-icon {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.art-preai-inner > p:last-child {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    font-style: italic;
}

/* --- Art Page: Clients Strip --- */
.art-clients {
    background: var(--bg-secondary);
    padding: 1rem 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
}

.art-clients-label {
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.art-clients-sep {
    opacity: 0.3;
}

/* --- Art Page: Gallery Section --- */
.art-gallery-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

.art-gallery-section h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.art-gallery-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
    line-height: 1.5;
}

/* --- Music Page: Hero --- */
.music-hero {
    position: relative;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-hero-overlay {
    width: 100%;
    padding: 4.5rem 2rem;
    text-align: center;
    background: linear-gradient(
        180deg,
        rgba(10,10,15,0.75) 0%,
        rgba(18,16,31,0.82) 40%,
        rgba(18,16,31,0.82) 60%,
        rgba(10,10,15,0.75) 100%
    );
}

.music-hero h1 {
    font-size: 3rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}

.music-hero-tagline {
    font-size: 1.2rem;
    color: var(--accent) !important;
    font-style: italic;
    letter-spacing: 0.05em;
    margin-bottom: 2rem !important;
    text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}

.music-hero-text {
    max-width: 740px;
    margin: 0 auto;
}

.music-hero-text p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.8;
    margin-bottom: 1rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.music-hero-text p:last-child {
    margin-bottom: 0;
}

.music-hero-text strong {
    color: #fff;
}

/* --- Music Page: Where to Listen (compact strip) --- */
.music-listen {
    background: linear-gradient(135deg, rgba(139,92,246,0.15) 0%, rgba(18,16,31,0.95) 50%, rgba(139,92,246,0.15) 100%);
    padding: 1rem 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
}

.music-listen-bottom {
    border-top: 1px solid var(--border);
    border-bottom: none;
}

.music-listen-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.music-listen a {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.music-listen a svg {
    opacity: 0.7;
    transition: opacity var(--transition);
}

.music-listen a:hover {
    color: var(--accent);
}

.music-listen a:hover svg {
    opacity: 1;
}

.music-listen-sep {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- Music Page: Video Blocks --- */
.music-video-block {
    padding: 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Dark overlay via pseudo-element — lets bg image show at ~10% */
.music-video-block::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Each section gets a unique tinted overlay */
.mvb-1::before { background: linear-gradient(180deg, rgba(10,10,15,0.88) 0%, rgba(18,16,31,0.92) 50%, rgba(10,10,15,0.88) 100%); }
.mvb-2::before { background: linear-gradient(180deg, rgba(18,16,31,0.88) 0%, rgba(10,10,15,0.90) 50%, rgba(18,16,31,0.88) 100%); }
.mvb-3::before { background: linear-gradient(180deg, rgba(10,10,15,0.87) 0%, rgba(18,16,31,0.91) 50%, rgba(10,10,15,0.87) 100%); }
.mvb-4::before { background: linear-gradient(180deg, rgba(18,16,31,0.86) 0%, rgba(10,10,15,0.90) 50%, rgba(18,16,31,0.86) 100%); }

.music-video-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 2rem 2.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.music-video-intro {
    color: var(--violet);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 0.4rem !important;
}

.music-video-block h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

/* Video thumbnail with play button */
.music-video-player {
    max-width: 960px;
    margin: 0 auto;
    cursor: pointer;
}

/* Gold/violet gradient border */
.video-border {
    border-radius: 12px;
    padding: 3px;
    background: linear-gradient(135deg, var(--accent), var(--violet), var(--accent));
    background-size: 200% 200%;
    transition: background-position 0.6s ease;
}

.video-border:hover {
    background-position: 100% 100%;
}

.video-border .music-video-thumb,
.video-border iframe {
    border-radius: 10px;
}

.music-video-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.music-video-thumb img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.music-video-thumb:hover img {
    transform: scale(1.02);
    filter: brightness(0.85);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.play-btn svg {
    width: 68px;
    height: 48px;
}

.music-video-thumb:hover .play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Video description card — same width as video */
.music-video-info {
    max-width: 960px;
    margin: 1.5rem auto 0;
    padding: 1.5rem 2rem;
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: var(--radius);
    text-align: center;
}

.music-video-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.music-video-info p:last-child {
    margin-bottom: 0;
}

.music-video-info .credit {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.music-video-info .credit a {
    color: var(--accent);
}

/* YouTube iframe when injected via JS */
.music-video-player iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
    border-radius: 4px;
}

/* --- Music Page: Violet Waves / Violet Engine --- */
.music-violet {
    position: relative;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border-top: 1px solid var(--border);
}

.music-violet-overlay {
    background: linear-gradient(
        135deg,
        rgba(10,10,15,0.92) 0%,
        rgba(30,10,60,0.85) 50%,
        rgba(10,10,15,0.92) 100%
    );
    padding: 4.5rem 2rem;
}

.music-violet-content {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.music-violet-kicker {
    color: var(--violet);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 0.5rem !important;
}

.music-violet-content h2 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--violet), #c084fc, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.music-violet-sub {
    color: rgba(255,255,255,0.65) !important;
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 2.5rem !important;
}

.music-violet-sub em {
    color: var(--violet);
}

.music-violet-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    text-align: left;
}

.music-violet-embed iframe {
    border: none;
    border-radius: 10px;
    display: block;
}

.music-violet-text p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.78);
    margin-bottom: 1rem;
}

.music-violet-text em {
    color: var(--violet);
    font-style: italic;
}

.music-violet-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.music-violet-links .btn {
    padding: 0.55rem 1.2rem;
    font-size: 0.88rem;
}

.music-violet-links .btn-secondary {
    color: var(--violet);
    border-color: var(--violet);
}

.music-violet-links .btn-secondary:hover {
    background: var(--violet);
    color: #fff;
}

/* --- Music Page: Songs of the Winter Father --- */
.music-winter {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.music-winter-overlay {
    background: linear-gradient(
        160deg,
        rgba(8, 12, 28, 0.92) 0%,
        rgba(15, 25, 50, 0.88) 40%,
        rgba(10, 18, 38, 0.90) 70%,
        rgba(6, 10, 24, 0.93) 100%
    );
    padding: 0;
}

.music-winter-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.music-winter-kicker {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.music-winter-content h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent), #e8d5a0, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.music-winter-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.55);
    font-style: italic;
    margin-bottom: 2.5rem;
}

.music-winter-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    text-align: left;
}

.music-winter-embed iframe {
    border: none;
    border-radius: 10px;
    display: block;
}

.music-winter-text p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.78);
    margin-bottom: 1rem;
}

.music-winter-text em {
    color: var(--accent);
    font-style: italic;
}

.music-winter-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.music-winter-links .btn {
    padding: 0.55rem 1.2rem;
    font-size: 0.88rem;
}

/* --- Music Page: Hyperborean Dawn --- */
.music-hyperborean {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.music-hyperborean-overlay {
    background: linear-gradient(
        160deg,
        rgba(10, 10, 15, 0.90) 0%,
        rgba(20, 15, 8, 0.86) 40%,
        rgba(15, 12, 6, 0.88) 70%,
        rgba(10, 10, 15, 0.92) 100%
    );
    padding: 0;
}

.music-hyperborean-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.music-hyperborean-kicker {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.music-hyperborean-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent), #f0dca0, #fff, #f0dca0, var(--accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.music-hyperborean-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.55);
    font-style: italic;
    margin-bottom: 2.5rem;
}

.music-hyperborean-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    text-align: left;
}

.music-hyperborean-embed iframe {
    border: none;
    border-radius: 10px;
    display: block;
}

.music-hyperborean-text p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.78);
    margin-bottom: 1rem;
}

.music-hyperborean-text em {
    color: var(--accent);
    font-style: italic;
}

.music-hyperborean-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.music-hyperborean-links .btn {
    padding: 0.55rem 1.2rem;
    font-size: 0.88rem;
}

/* --- Music Page: Freya Concert --- */
.music-freya {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 1px solid var(--border);
}

.music-freya-overlay {
    background: linear-gradient(
        180deg,
        rgba(10,10,15,0.92) 0%,
        rgba(18,16,31,0.88) 30%,
        rgba(18,16,31,0.88) 70%,
        rgba(10,10,15,0.95) 100%
    );
    padding: 4.5rem 2rem;
}

.music-freya-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.music-freya-kicker {
    color: var(--violet);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 0.5rem !important;
}

.music-freya-content h2 {
    color: var(--accent);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.music-freya-sub {
    color: rgba(255,255,255,0.75) !important;
    font-style: italic;
    font-size: 1.15rem;
    margin-bottom: 2rem !important;
}

.music-freya-img {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    padding: 3px;
    background: linear-gradient(135deg, var(--accent), var(--violet), var(--accent));
}

.music-freya-img img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.music-freya-text {
    margin-bottom: 2rem;
}

.music-freya-text p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.music-freya-text p:last-child {
    margin-bottom: 0;
}

.music-freya-text em {
    color: var(--accent);
    font-style: italic;
}

.music-freya-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.music-freya-links .btn-secondary {
    color: var(--violet);
    border-color: var(--violet);
}

.music-freya-links .btn-secondary:hover {
    background: var(--violet);
    color: #fff;
}

/* --- Music Page: Latest Tracks --- */
.music-tracks {
    background: var(--bg-primary);
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.music-tracks h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.music-tracks-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: left;
}

.music-track {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: border-color var(--transition);
}

.music-track:hover {
    border-color: var(--violet);
}

.music-track img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.music-track h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.music-track p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.music-track a {
    font-size: 0.85rem;
    color: var(--violet);
    font-weight: 500;
}

.music-track a:hover {
    color: var(--violet-hover);
}

/* --- Contact Form --- */
.contact-simple {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
}

.contact-simple p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
}

.contact-email-btn {
    font-size: 1.1rem;
    padding: 0.9rem 2rem;
    display: inline-block;
}

.contact-social {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.contact-social a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.contact-social a:hover {
    color: var(--accent);
}

.contact-social span {
    color: var(--text-muted);
    opacity: 0.4;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.form-msg {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.form-msg-success {
    background: rgba(76, 175, 80, 0.12);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #81c784;
}

.form-msg-error {
    background: rgba(244, 67, 54, 0.12);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #ef9a9a;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.required { color: var(--accent); }

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.gdpr-notice {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    background: var(--bg-secondary);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.social-links a:hover {
    color: var(--accent);
}

footer p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.75rem;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--accent);
}

.footer-legal span {
    color: var(--text-muted);
    font-size: 0.6rem;
    opacity: 0.5;
}

/* --- Legal Pages --- */
.legal-content h2 {
    font-size: 1.3rem;
    color: #fff;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content ul {
    margin: 0.75rem 0 1rem 1.5rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
}

.legal-content ul li {
    margin-bottom: 0.4rem;
}

/* --- Area Boxes (Homepage) --- */
.areas {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 2rem 1rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

.areas-grid-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.area-box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.areas-grid-bottom .area-box {
    min-height: 260px;
}

.area-box:hover {
    border-color: var(--violet);
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.2), 0 0 0 1px rgba(139, 92, 246, 0.15);
}

.area-box-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    transition: transform 0.6s ease;
}

.area-box:hover .area-box-img {
    transform: scale(1.06);
}

.area-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 15, 0.98) 0%,
        rgba(10, 10, 15, 0.85) 35%,
        rgba(18, 16, 31, 0.55) 65%,
        rgba(10, 10, 15, 0.35) 100%
    );
    transition: background 0.4s ease;
}

.area-box:hover::after {
    background: linear-gradient(
        to top,
        rgba(50, 25, 90, 0.92) 0%,
        rgba(10, 10, 15, 0.75) 35%,
        rgba(18, 16, 31, 0.4) 65%,
        rgba(10, 10, 15, 0.2) 100%
    );
}

.area-box-content {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
}

.area-box h3 {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.areas-grid-bottom .area-box h3 {
    font-size: 1.3rem;
}

.area-box p {
    color: #e8e8ec;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 0.75rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.areas-grid-bottom .area-box p {
    font-size: 0.9rem;
}

.area-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--violet);
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.35s ease;
}

.area-box:hover .area-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .menu-toggle { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links.open { display: flex; }

    .nav-item { position: static; }

    .nav-dropdown {
        display: none;
        position: static;
        border: none;
        box-shadow: none;
        padding: 0 0 0 1rem;
        background: transparent;
    }

    .nav-item:hover .nav-dropdown { display: block; }

    .areas-grid { grid-template-columns: 1fr; }
    .areas-grid-bottom { grid-template-columns: 1fr 1fr; }
    .area-box { min-height: 240px; }
    .areas-grid-bottom .area-box { min-height: 220px; }
    .hero h1 { font-size: 2rem; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }

    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .gallery-grid-large { grid-template-columns: 1fr; }

    .blog-grid { grid-template-columns: 1fr; }
    .blog-grid-list .blog-card { grid-template-columns: 120px 1fr; }

    .music-listen { gap: 0.6rem; padding: 0.8rem 1rem; }
    .music-tracks-list { grid-template-columns: 1fr; }
    .music-video-info { padding: 1.25rem 1.5rem; }
    .tech-hero { min-height: 340px; }
    .tech-hero h1 { font-size: 2.2rem; }
    .tech-hero-overlay { padding: 3rem 1.5rem; }
    .tech-hero-text p { font-size: 0.95rem; }

    .phys-hero { min-height: 340px; }
    .phys-hero h1 { font-size: 2.2rem; }
    .phys-hero-overlay { padding: 3rem 1.5rem; }
    .phys-hero-text p { font-size: 0.95rem; }
    .phys-block-inner { padding: 2.5rem 1.5rem; }
    .phys-block-grid { grid-template-columns: 1fr; gap: 2rem; }
    .phys-block-grid-reverse { grid-template-columns: 1fr; }
    .phys-block-grid-reverse .phys-block-content { order: 1; }
    .phys-block-grid-reverse .phys-block-image { order: 2; }
    .phys-block-title { font-size: 1.8rem; }
    .phys-block-image { max-width: 480px; margin: 0 auto; }
    .phys-follow { gap: 0.6rem; padding: 0.8rem 1rem; }

    .about-hero { min-height: 380px; }
    .about-hero h1 { font-size: 2.4rem; }
    .about-hero-overlay { padding: 3rem 1.5rem 2.5rem; }
    .about-hero-text p { font-size: 0.95rem; }
    .about-hero-tagline { font-size: 1.05rem; }
    .about-intro { padding: 3rem 1.5rem; }
    .about-intro-lead { font-size: 1.1rem; }
    .about-personal { padding: 3rem 1.5rem; }

    .books-hero { min-height: 360px; }
    .books-hero h1 { font-size: 2.4rem; }
    .books-hero-overlay { padding: 3rem 1.5rem 2.5rem; }
    .books-hero-text p { font-size: 0.95rem; }
    .books-hero-tagline { font-size: 1.05rem; }

    .art-hero { min-height: 360px; }
    .art-hero h1 { font-size: 2.2rem; }
    .art-hero-overlay { padding: 3rem 1.5rem; }
    .art-hero-text p { font-size: 0.95rem; }
    .art-clients { gap: 0.5rem; padding: 0.8rem 1rem; font-size: 0.8rem; }
    .ar