/* =========================================================
   VEIL THEORY
   Main Theme Stylesheet
========================================================= */

/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --bg: #030708;
    --panel: #071011;
    --panel-alt: #0a1113;

    --line: rgba(120, 140, 150, 0.12);

    --text: #eee7db;
    --muted: #a9a094;

    --accent: #e4d8c5;
    --dark: #020405;
}

/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;

    background:
        radial-gradient(
            circle at 70% 8%,
            #142025 0,
            #070c0e 35%,
            #020405 75%
        );

    color: var(--text);

    font-family: Inter, Arial, sans-serif;
    letter-spacing: 0.01em;
}

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

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

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;

    display: grid;
    grid-template-columns: 160px 1fr 150px;
    align-items: center;

    height: 78px;
    padding: 0 48px;

    background: rgba(2, 5, 6, 0.82);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid var(--line);
}

/* Brand */

.brand-mark img {
    width: 80px;
}

/* Navigation */

.main-nav {
    display: flex;
    justify-content: center;
    gap: 34px;

    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.22em;
}

.main-nav a {
    color: #d8d0c3;
}

.main-nav a:hover,
.main-nav .active {
    color: #ffffff;
}

/* Social Icons */

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;

    color: #e8e0d4;
}

/* =========================================================
   HERO SECTION
========================================================= */

.hero-section {
    display: grid;
    grid-template-columns: 43% 57%;
    min-height: 550px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);

    background: #030708;
}

/* Left Content */

.hero-copy {
    position: relative;
    z-index: 3;
    padding: 58px 0 56px 64px;
    background:
        radial-gradient(circle at 90% 20%, rgba(25, 42, 48, 0.28), transparent 40%),
        linear-gradient(90deg, #030708 0%, #041011 78%, rgba(4, 16, 17, 0) 100%);
}

.hero-copy::after {
    content: "";
    position: absolute;
    top: 0;
    right: -220px;
    width: 260px;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        #041011 0%,
        rgba(4, 16, 17, 0.85) 35%,
        rgba(4, 16, 17, 0.35) 70%,
        rgba(4, 16, 17, 0) 100%
    );
}

.hero-logo {
    width: 292px;
    margin-bottom: 18px;
}

.hero-copy h1 {
    margin: 0 0 20px;
    max-width: 360px;
    font-family: Cinzel, serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.12;
}

.hero-copy p {
    margin: 0 0 28px;
    max-width: 380px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

/* Hero Buttons */

.button-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 15px 22px;

    border: 1px solid var(--line);
    border-radius: 2px;

    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.08em;
}

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

    border-color: var(--accent);

    font-weight: 700;
}

.btn-outline {
    background: rgba(0, 0, 0, 0.18);
    color: #eeeeee;
}

/* Right Hero Image */

.hero-image {
    position: relative;
    min-height: 550px;
    margin-left: -80px;
}

.hero-image img {
    width: calc(100% + 80px);
    height: 100%;
    object-fit: cover;
    filter: contrast(1.08) brightness(0.82);
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            #041011 0%,
            rgba(4, 16, 17, 0.92) 7%,
            rgba(4, 16, 17, 0.45) 18%,
            rgba(3, 7, 8, 0.08) 42%,
            rgba(3, 7, 8, 0.16) 80%,
            #030708 100%
        );
}

/* Hero Quote */

blockquote {
    position: absolute;
    right: 86px;
    bottom: 40px;
    z-index: 2;

    color: #e6dccf;

    font-family: Cinzel, serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1.35;
}

/* =========================================================
   CONTENT SECTION
========================================================= */

.content-band {
    padding: 24px 60px 34px;

    background: rgba(2, 7, 8, 0.7);

    border-bottom: 1px solid var(--line);
}

/* Section Headers */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 18px;
}

.section-heading h2,
.info-panel h2,
.site-footer h3,
.subpage-hero h1 {
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.22em;
}

.section-heading a,
.info-panel a {
    color: #d7cdbc;

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

/* =========================================================
   EPISODE GRID
========================================================= */

.episode-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 13px;
}

.episode-card {
    overflow: hidden;

    background:
        linear-gradient(#0c1112, #070a0b);

    border: 1px solid var(--line);
    border-radius: 4px;
}

/* Episode Image */

.episode-art {
    position: relative;

    height: 184px;

    background: #111111;
}

.episode-art img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: grayscale(0.15) brightness(0.72);
}

/* Episode Labels */

.episode-art span,
.episode-art em {
    position: absolute;
    padding: 6px 8px;
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    font-size: 11px;
    font-style: normal;
}

.episode-art span {
    top: 12px;
    left: 12px;
}

.episode-art em {
    right: 10px;
    bottom: 10px;
}

/* Episode Body */

.episode-body {
    padding: 16px;
}

.episode-body h3 {
    margin: 0 0 12px;

    font-family: Cinzel, serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.25;
}

.episode-body p,
.info-panel p,
.site-footer p,
.subpage-hero p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.65;
}

/* =========================================================
   INFO GRID
========================================================= */

.info-grid {
    display: grid;
    grid-template-columns:
        1.15fr
        1fr
        1.15fr;
    border-bottom: 1px solid var(--line);
}

.info-panel {
    min-height: 300px;
    padding: 35px 60px;
    background: rgba(3, 8, 9, 0.58);
    border-right: 1px solid var(--line);
}

.info-panel:last-child {
    border-right: 0;
}
.panel-split {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 28px;

    align-items: start;

    margin-top: 24px;
}

.panel-image img {
    width: 100%;
    border: 1px solid var(--line);
}

.panel-content h3 {
    margin: 0 0 16px;

    font-family: Cinzel, serif;
    font-size: 20px;
    font-weight: 400;
}

.panel-content p {
    margin-bottom: 22px;

    line-height: 1.8;
}

.panel-content a {
    display: inline-block;
    margin-top: 6px;
}
.topic-list {
    list-style: none;
    margin: 26px 0 28px;
    padding: 0;
    color: #d8d0c3;
    font-family: Cinzel, serif;
    font-size: 14px;
    line-height: 1.9;
}

.topic-list li {
    margin-bottom: 6px;
}
.site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    padding: 36px 60px 28px;
    background: rgba(2, 5, 6, 0.92);
    border-top: 1px solid var(--line);
}

.footer-brand {
    text-align: center;
}

.footer-brand img {
    width: 135px;
    margin: 0 auto 18px;
}

.footer-icons {
    display: flex;
    gap: 17px;
    justify-content: center;
    margin-bottom: 18px;
}

.footer-links {
    justify-self: end;
    min-width: 280px;
}

.footer-link-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 42px;

    color: var(--muted);
    font-size: 14px;
}
.email-form {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 18px;
    max-width: 320px;
    background:
        linear-gradient(
            135deg,
            rgba(228,216,197,.08),
            rgba(255,255,255,.02)
        ),
        rgba(2, 6, 7, .9);
    border: 1px solid rgba(120, 105, 85, .28);
    box-shadow:
        0 0 24px rgba(228, 216, 197, .04),
        inset 0 0 18px rgba(255,255,255,.02);
    overflow: hidden;
}

.email-form::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(228, 216, 197, .08),
        transparent
    );
    opacity: .35;
    pointer-events: none;
}

.email-form input {
    flex: 1;
    height: 44px;

    padding: 0 16px;

    background: transparent;
    border: 0;
    outline: none;

    color: var(--text);

    font-size: 13px;
    letter-spacing: .03em;
}

.email-form input::placeholder {
    color: rgba(238, 231, 219, .45);
}

.email-form button {
    width: 48px;
    height: 44px;

    border: 0;
    border-left: 1px solid rgba(228,216,197,.14);

    background:
        linear-gradient(
            180deg,
            #e4d8c5,
            #b8aa94
        );

    color: #060807;

    font-size: 18px;
    cursor: pointer;

    transition:
        transform .25s ease,
        filter .25s ease;
}

.email-form button:hover {
    filter: brightness(1.12);
}

.email-form button:active {
    transform: scale(.96);
}
/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .site-header {
        grid-template-columns: 1fr;

        height: auto;
        padding: 14px 22px;
    }

    .hero-section,
    .info-grid,
    .site-footer {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 560px) {

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

    .hero-copy h1 {
        font-size: 34px;
    }

    .hero-logo {
        width: 240px;
    }
}