/* ============================================================
   The Cyber Detective — shared stylesheet
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #A82DA8;
    --secondary-purple: #7C1F7C;
    --accent-blue: #C24DC2;
    --dark-purple: #5C175C;
    --text-light: #E5E7EB;
    --text-white: #FFFFFF;
    --bg-black: #000000;
    --bg-dark: #0A0A0A;
    --gradient-purple: linear-gradient(135deg, #C13BC1 0%, #A02CA0 45%, #6E1F6E 100%);
    --font-head: 'Oswald', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-black);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.005em;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 2rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(168, 45, 168, 0.2);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container a { display: inline-flex; }

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
}

.logo-text span {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-purple);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-purple);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 10rem 2rem 8rem;
    background: radial-gradient(ellipse at top, rgba(122, 31, 122, 0.15) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(168, 45, 168, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, -50px) scale(1.1); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content { padding: 2rem 0; }

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(168, 45, 168, 0.2);
    border: 1px solid var(--primary-purple);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 2.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero h1 span {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3.5rem;
    line-height: 1.7;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-purple);
    color: var(--text-white);
    box-shadow: 0 10px 30px rgba(168, 45, 168, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(168, 45, 168, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
    background: rgba(168, 45, 168, 0.1);
    transform: translateY(-3px);
}

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

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: var(--gradient-purple);
    border-radius: 20px;
    opacity: 0.3;
    filter: blur(40px);
    z-index: -1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 3px solid rgba(168, 45, 168, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Subpage hero (interior page banner) */
.subpage-hero {
    padding: 11rem 2rem 4rem;
    text-align: left;
    background: radial-gradient(ellipse at top left, rgba(122, 31, 122, 0.15) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.subpage-hero .section-container { max-width: 1200px; margin: 0 auto; }

.subpage-hero h1 {
    font-size: 3.5rem;
    color: var(--text-white);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.subpage-hero h1 span {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subpage-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--text-light);
    opacity: 0.85;
    font-size: 1.2rem;
}

/* interior page eyebrow: plain label, no flanking rules */
.subpage-hero .hero-eyebrow { padding-left: 0; padding-right: 0; }
.subpage-hero .hero-eyebrow::before,
.subpage-hero .hero-eyebrow::after { display: none; }

/* Background Section */
.background-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--bg-black) 0%, var(--bg-dark) 100%);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.section-title span { color: var(--primary-purple); }

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    opacity: 0.85;
    font-weight: 400;
}

.background-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.background-card {
    background: rgba(168, 45, 168, 0.05);
    border: 1px solid rgba(168, 45, 168, 0.2);
    border-radius: 16px;
    padding: 3rem;
    transition: all 0.3s ease;
}

.background-card:hover {
    background: rgba(168, 45, 168, 0.1);
    border-color: var(--primary-purple);
    transform: translateY(-5px);
}

.background-card h3 {
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
}

.background-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.0625rem;
}

/* Signature Talks Section */
.talks-section {
    padding: 8rem 2rem;
    background: var(--bg-black);
}

.talks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.talk-card {
    background: linear-gradient(135deg, rgba(168, 45, 168, 0.1) 0%, rgba(168, 45, 168, 0.05) 100%);
    border: 1px solid rgba(168, 45, 168, 0.3);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.talk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 45, 168, 0.1), transparent);
    transition: left 0.5s ease;
}

.talk-card:hover::before { left: 100%; }

.talk-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(168, 45, 168, 0.2);
}

.talk-card h3 {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.talk-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.talk-highlight {
    color: var(--primary-purple);
    font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--bg-black) 0%, rgba(122, 31, 122, 0.05) 100%);
}

.testimonial-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(168, 45, 168, 0.3);
    border-radius: 20px;
    padding: 4rem;
    max-width: 900px;
    margin: 4rem auto;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 6rem;
    color: var(--primary-purple);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 6rem;
    color: var(--primary-purple);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 2.5rem;
    font-style: italic;
    font-weight: 400;
}

.testimonial-author {
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    padding: 8rem 2rem;
    background: var(--bg-black);
}

.contact-content {
    max-width: 800px;
    margin: 4rem auto;
    text-align: center;
}

.contact-card {
    background: linear-gradient(135deg, rgba(168, 45, 168, 0.1) 0%, rgba(168, 45, 168, 0.05) 100%);
    border: 2px solid var(--primary-purple);
    border-radius: 20px;
    padding: 5rem;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 45, 168, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-title {
    font-size: 2.25rem;
    color: var(--text-white);
    margin-bottom: 2rem;
    position: relative;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.contact-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    position: relative;
    font-weight: 400;
    line-height: 1.7;
}

/* Services Section */
.services-section {
    padding: 8rem 2rem;
    background: var(--bg-black);
}

.services-list {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 2rem;
    align-items: start;
    background: linear-gradient(135deg, rgba(168, 45, 168, 0.08) 0%, rgba(168, 45, 168, 0.04) 100%);
    border: 1px solid rgba(168, 45, 168, 0.25);
    border-radius: 18px;
    padding: 2.75rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(168, 45, 168, 0.15);
}

.service-number {
    font-size: 3.75rem;
    font-weight: 900;
    line-height: 1;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-body h2 {
    font-size: 1.6rem;
    color: var(--text-white);
    margin-bottom: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.service-body p {
    color: var(--text-light);
    opacity: 0.9;
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.service-meta {
    display: inline-block;
    margin-bottom: 1.1rem;
    padding: 0.3rem 0.9rem;
    border: 1px solid rgba(168, 45, 168, 0.4);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-purple);
}

@media (max-width: 768px) {
    .services-section { padding: 4rem 1.5rem; }
    .service-card {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 2rem;
    }
    .service-number { font-size: 3rem; }
    .service-body h2 { font-size: 1.4rem; }
}

/* FAQ Section */
.faq-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--bg-black) 0%, var(--bg-dark) 100%);
}

.faq-list {
    max-width: 860px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: rgba(168, 45, 168, 0.05);
    border: 1px solid rgba(168, 45, 168, 0.2);
    border-radius: 14px;
    padding: 2rem 2.25rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(168, 45, 168, 0.08);
    border-color: var(--primary-purple);
}

.faq-item h3 {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 0.9rem;
}

.faq-item p {
    color: var(--text-light);
    opacity: 0.9;
    font-size: 1.0625rem;
    margin-bottom: 0;
}

/* Footer (legacy) */
footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(168, 45, 168, 0.2);
    padding: 4rem 2rem;
    text-align: center;
}

.footer-logo { margin-bottom: 2rem; }

.footer-text {
    color: var(--text-light);
    opacity: 0.7;
}

/* Video Placeholder */
.video-placeholder {
    background: linear-gradient(135deg, rgba(168, 45, 168, 0.2) 0%, rgba(168, 45, 168, 0.1) 100%);
    border: 2px dashed var(--primary-purple);
    border-radius: 16px;
    padding: 5rem 2rem;
    text-align: center;
    margin: 4rem auto;
    max-width: 800px;
}

.video-placeholder p {
    color: var(--primary-purple);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    h1 { font-size: 3.25rem; }
    .nav-links { gap: 1.5rem; }
    .section-title { font-size: 2.25rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .subpage-hero h1 { font-size: 2.25rem; }
    .hero-subtitle { font-size: 1.125rem; }
    .section-title { font-size: 2rem; }
    .section-subtitle { font-size: 1rem; }
    p, .talk-card p, .background-card p { font-size: 1rem; }
    .testimonial-text { font-size: 1rem; }
    .talk-card h3 { font-size: 1.375rem; }
    .nav-links { display: none; }
    .cta-buttons { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
    .talks-grid { grid-template-columns: 1fr; }
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a0f1a 0%, #2a152a 100%);
}

.newsletter-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.newsletter-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.newsletter-image:hover { transform: scale(1.02); }

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.newsletter-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--gradient-purple);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 45, 168, 0.3);
}

.newsletter-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 45, 168, 0.4);
}

@media (max-width: 768px) {
    .newsletter-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .newsletter-content h2 { font-size: 2rem; }
}

/* Smooth Scroll */
html { scroll-behavior: smooth; }

/* Featured-In Marquee Banner */
.featured-section {
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, var(--bg-black) 0%, rgba(122, 31, 122, 0.04) 100%);
    border-top: 1px solid rgba(168, 45, 168, 0.15);
    border-bottom: 1px solid rgba(168, 45, 168, 0.15);
    overflow: hidden;
}

.featured-section .section-header { margin-bottom: 3rem; }

.featured-section .section-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    opacity: 0.85;
}

.featured-section .section-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    opacity: 0.55;
    margin-top: 0.75rem;
}

.marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: marquee-scroll 65s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
    flex: 0 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.marquee-item img {
    max-height: 60px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.marquee-item img:hover {
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(168, 45, 168, 0.6));
}

.marquee-item .logo-fallback {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-light);
    opacity: 0.65;
    white-space: nowrap;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(168, 45, 168, 0.3);
    border-radius: 999px;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .featured-section { padding: 4rem 0; }
    .featured-section .section-title { font-size: 1.15rem; }
    .marquee-track { gap: 2.5rem; animation-duration: 50s; }
    .marquee-item { height: 60px; }
    .marquee-item img { max-height: 44px; max-width: 130px; }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
    .marquee { overflow-x: auto; }
}

/* In Action Gallery — Carousel */
.gallery-section {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-black) 100%);
}

.carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--bg-black);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(168, 45, 168, 0.15);
}

.carousel-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.carousel-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.carousel-caption .caption-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-purple);
    margin-bottom: 0.35rem;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
    z-index: 2;
}

.carousel-arrow:hover {
    background: rgba(168, 45, 168, 0.85);
    transform: translateY(-50%) scale(1.08);
}

.carousel-arrow.prev { left: 1rem; }
.carousel-arrow.next { right: 1rem; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(229, 231, 235, 0.25);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.carousel-dot.is-active {
    background: var(--primary-purple);
    transform: scale(1.3);
}

.carousel-dot:hover { background: rgba(168, 45, 168, 0.6); }

@media (max-width: 768px) {
    .gallery-section { padding: 4rem 1rem; }
    .carousel-viewport { aspect-ratio: 4 / 3; }
    .carousel-arrow { width: 38px; height: 38px; font-size: 1.1rem; }
    .carousel-caption { padding: 1rem 1.25rem; font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-slide { transition: none; }
}

/* Site Footer */
.site-footer {
    background: var(--bg-black);
    border-top: 1px solid rgba(168, 45, 168, 0.15);
    padding: 3rem 2rem 2rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.85;
}

.footer-brand strong { color: var(--text-white); }

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--primary-purple);
}

.footer-socials {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-socials a {
    color: var(--text-light);
    opacity: 0.7;
    transition: opacity 0.25s ease, transform 0.25s ease;
    display: inline-flex;
}

.footer-socials a:hover {
    opacity: 1;
    transform: translateY(-2px);
    color: var(--primary-purple);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(229, 231, 235, 0.08);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.55;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-nav { justify-content: center; }
}

/* Feature Photo Band (true proportions, no cropping) */
.photo-band {
    width: 100%;
    background: var(--bg-black);
    padding: 4rem 2rem;
    text-align: center;
}

.photo-band img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .photo-band { padding: 2.5rem 1rem; }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.reveal.in-view {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== Homepage editorial layout ===== */
.hero--editorial { text-align: left; }

.hero--editorial .hero-container {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
    padding-left: 3.4rem;
    padding-right: 3.4rem;
    position: relative;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 2.6rem;
    height: 2px;
    background: var(--primary-purple);
}

.hero-eyebrow::before { left: 0; }
.hero-eyebrow::after { right: 0; }

.hero--editorial h1 {
    font-size: 5.25rem;
    line-height: 0.98;
    margin-bottom: 1.75rem;
    text-transform: uppercase;
}

.hero--editorial h1 span { display: block; }

.hero--editorial .hero-subtitle { max-width: 38ch; }

.hero--editorial .cta-buttons { justify-content: flex-start; }

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 2.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(168, 45, 168, 0.25);
}

.hero-stat .stat-num {
    display: block;
    font-family: var(--font-head);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.1;
}

.hero-stat .stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0.7;
    margin-top: 0.3rem;
    max-width: 20ch;
}

.hero--editorial .hero-image { justify-content: flex-end; }

.hero-portrait-frame {
    position: relative;
    max-width: 440px;
    width: 100%;
}

.hero-portrait-frame img {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* Left-aligned editorial section header */
.section-header--left {
    text-align: left;
    max-width: 720px;
    margin-bottom: 1rem;
}

/* Editorial feature rows (replaces the 3-card grid) */
.feature-rows {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin: 4rem auto 0;
    max-width: 1000px;
}

.feature-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: start;
}

.feature-num {
    font-family: var(--font-head);
    font-size: 6rem;
    line-height: 0.8;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px rgba(168, 45, 168, 0.55);
    letter-spacing: -0.02em;
}

.feature-body { max-width: 820px; }

.feature-body h3 {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.feature-body p {
    color: var(--text-light);
    opacity: 0.9;
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.feature-body h2 {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.feature-body a { color: var(--primary-purple); font-weight: 600; }

/* Same row layout (number left, text beside), block centred on the page */
.feature-rows--mid { max-width: 620px; margin-left: auto; margin-right: auto; }

/* Talks — typographic billboard */
.talks-feature-list {
    max-width: 1040px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.talk-feature {
    position: relative;
    padding: 3rem 0 3rem 2.5rem;
    border-top: 1px solid rgba(168, 45, 168, 0.22);
    transition: background 0.3s ease;
}

.talk-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3rem;
    bottom: 3rem;
    width: 3px;
    background: var(--gradient-purple);
    border-radius: 3px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.talk-feature:hover { background: rgba(168, 45, 168, 0.05); }
.talk-feature:hover::before { opacity: 1; }

.talk-feature:first-child { border-top: none; }

.talk-feature-index {
    position: absolute;
    top: 2.25rem;
    right: 1.5rem;
    font-family: var(--font-head);
    font-size: 8rem;
    line-height: 0.8;
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.22;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.talk-feature:hover .talk-feature-index { opacity: 0.42; }

.talk-feature-content {
    position: relative;
    z-index: 1;
    padding-left: 2rem;
    padding-right: 2rem;
}

.talk-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.talk-tag {
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-purple);
    border: 1px solid rgba(168, 45, 168, 0.4);
    border-radius: 999px;
    padding: 0.4rem 1rem;
}

.talk-feature h2 {
    font-size: 2.5rem;
    line-height: 1.05;
    color: var(--text-white);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    max-width: 22ch;
}

.talk-standfirst {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    max-width: 60ch;
}

.talk-feature-content p {
    color: var(--text-light);
    opacity: 0.88;
    line-height: 1.85;
    max-width: 68ch;
    margin-bottom: 1rem;
}

.talk-feature-content p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
    .talk-feature-index { font-size: 6rem; top: 1.75rem; }
    .talk-feature-content { padding-left: 1rem; }
    .talk-feature h2 { font-size: 1.9rem; }
    .talk-standfirst { font-size: 1.15rem; }
}

/* About prose (no numbering) */
.about-prose {
    max-width: 820px;
    margin: 0 auto;
}

.about-prose p {
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.about-prose p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
    .hero--editorial .hero-container { grid-template-columns: 1fr; gap: 3rem; }
    .hero--editorial h1 { font-size: 3.4rem; }
    .hero--editorial .hero-image { justify-content: center; }
    .hero-portrait-frame::before { inset: 14px -14px -14px 14px; }
    .feature-row { grid-template-columns: 1fr; gap: 0.75rem; }
    .feature-num { font-size: 4.5rem; }
}
