/* ========================================
   DRADACO.COM
   Main stylesheet
   ======================================== */

:root {
    --background: #151513;
    --panel: #211f1b;
    --panel-raised: #292620;
    --text: #d8d2c5;
    --text-muted: #999284;
    --border: #403c33;

    --blue: #8bd5e5;
    --blue-muted: #6995a1;

    --page-width: 1100px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: "Lexend", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    color: #b4e7ef;
}

/* ---------- SITE HEADER ---------- */

.site-header {
    border-bottom: 1px solid var(--border);
    padding: 30px 24px 20px;
}

.header-inner {
    width: min(100%, var(--page-width));
    margin: 0 auto;
    text-align: center;
}

.site-logo {
    display: block;
    width: min(750px, 100%);
    height: auto;
    margin: -90px auto -55px;
}

.site-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 30px;
}

.site-nav a {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--blue);
}

/* ---------- GENERAL LAYOUT ---------- */

main {
    width: min(calc(100% - 40px), var(--page-width));
    margin: 0 auto;
}

section {
    margin: 80px 0;
}

.section-title {
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: normal;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.divider {
    height: 1px;
    border: 0;
    background: var(--border);
    margin: 70px 0;
}

/* ---------- INTRODUCTION ---------- */

.intro {
    max-width: 720px;
    margin: 90px auto;
    text-align: center;
}

.intro h1 {
    margin: 0 0 20px;
    color: var(--text);
    font-size: clamp(2rem, 5vw, 3.3rem);
    font-weight: normal;
}

.intro p {
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ---------- FEATURED AREA ---------- */

.feature-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 28px;
}

.card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--panel);
}

.card-content {
    padding: 25px;
}

.card h2,
.card h3 {
    margin-top: 0;
    color: var(--text);
    font-weight: normal;
}

.card p {
    color: var(--text-muted);
}

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

/* ---------- BANNER ---------- */

.banner {
    width: 100%;
    display: block;
    opacity: 0.82;
}

/* ---------- RECENT POSTS ---------- */

.post-list {
    max-width: 800px;
}

.post-preview {
    padding: 28px 0;
    border-top: 1px solid var(--border);
}

.post-preview:last-child {
    border-bottom: 1px solid var(--border);
}

.post-preview h3 {
    margin: 0 0 4px;
    font-weight: normal;
}

.post-preview p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.post-preview .date {
    color: var(--blue-muted);
    font-size: 0.8rem;
}

/* ---------- FOOTER ---------- */

.site-footer {
    margin-top: 100px;
    padding: 35px 20px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
}
/* ---------- TYPOGRAPHY ---------- */

.intro h1,
.card h2,
.card h3,
.post-preview h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
}

body {
    font-weight: 300;
}

.site-nav,
.section-title,
.date {
    font-weight: 400;
}


/* ---------- HOME LATEST ---------- */

.home-latest {
    margin: 70px 0 80px;
}

.home-latest .feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    align-items: start;
    gap: 24px;
}

.home-latest .card {
    height: auto;
}

.home-latest .card-content {
    padding: 22px;
}

.home-latest .card-content h2 {
    margin: 7px 0 12px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.2;
}

.home-latest .card-content p {
    margin: 0 0 18px;
    color: var(--text-muted);
}

.home-latest .card-content > a {
    font-size: 0.8rem;
}

.home-video-card .video-embed {
    border-bottom: 1px solid var(--border);
}

/* ---------- JOURNAL ARCHIVE ---------- */

.journal-intro {
    max-width: 850px;
    margin: 90px 0 80px;
}

.journal-intro .eyebrow {
    margin-bottom: 10px;
    color: var(--blue-muted);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.journal-intro h1 {
    margin: 0 0 18px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
}

.journal-intro > p:last-child {
    max-width: 620px;
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.journal-archive {
    max-width: 850px;
    margin-bottom: 100px;
    border-top: 1px solid var(--border);
}

.journal-preview {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 35px;
    padding: 38px 0;
    border-bottom: 1px solid var(--border);
}

.journal-preview-date {
    padding-top: 7px;
    color: var(--blue-muted);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.journal-preview-content h2 {
    margin: 0 0 8px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.2;
}

.journal-preview-content h2 a {
    color: var(--text);
}

.journal-preview-content h2 a:hover {
    color: var(--blue);
}

.journal-preview-content p {
    margin: 0 0 12px;
    color: var(--text-muted);
}

.read-more {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.empty-message {
    padding: 40px 0;
    color: var(--text-muted);
}

/* ---------- JOURNAL ENTRIES ---------- */

.journal-entry {
    max-width: 800px;
    margin: 80px auto;
}

.journal-header {
    margin-bottom: 45px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.journal-header h1 {
    margin: 8px 0 12px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
}

.journal-header .date {
    color: var(--blue-muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.journal-description {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.journal-body {
    font-size: 1rem;
    line-height: 1.85;
}

.journal-body p {
    margin: 0 0 1.5em;
}

.journal-body h2,
.journal-body h3 {
    margin-top: 2em;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
}

.journal-body img {
    max-width: 100%;
    height: auto;
    margin: 30px 0;
}

/* ---------- VIDEOS ---------- */

.videos-intro {
    max-width: 850px;
    margin: 90px 0 60px;
}

.videos-intro .eyebrow {
    margin-bottom: 10px;
    color: var(--blue-muted);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.videos-intro h1 {
    margin: 0 0 18px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
}

.videos-intro > p:last-child {
    max-width: 620px;
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.video-archive {
    margin-bottom: 100px;
}

.video-card {
    max-width: 900px;
    padding-top: 38px;
    border-top: 1px solid var(--border);
}

.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--panel);
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    max-width: 700px;
    padding: 24px 0 45px;
}

.video-date {
    margin: 0 0 8px;
    color: var(--blue-muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.video-info h2 {
    margin: 0 0 8px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2rem;
    font-weight: 500;
}

.video-info > p:last-child {
    margin: 0;
    color: var(--text-muted);
}

/* ---------- PHOTOS ---------- */

.photos-intro {
    max-width: 850px;
    margin: 90px 0 60px;
}

.photos-intro .eyebrow {
    margin-bottom: 10px;
    color: var(--blue-muted);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.photos-intro h1 {
    margin: 0 0 18px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
}

.photos-intro > p:last-child {
    max-width: 620px;
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 48px 28px;
    margin-bottom: 100px;
}

.photo-item {
    min-width: 0;
    margin: 0;
}

.photo-open {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.photo-open img {
    display: block;
    width: 100%;
    height: auto;
    background: var(--panel);
    transition: opacity 0.2s ease;
}

.photo-open:hover img {
    opacity: 0.88;
}

.photo-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    margin-top: 10px;
}

.photo-item figcaption {
    margin: 0;
    color: var(--text);
    font-size: 0.85rem;
}

.photo-item time {
    flex-shrink: 0;
    color: var(--text-muted);
    font-size: 0.72rem;
}
.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: rgba(10, 10, 9, 0.94);
}

.photo-lightbox[hidden] {
    display: none;
}

.lightbox-image {
    display: block;
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox-close {
    position: fixed;
    top: 18px;
    right: 28px;
    z-index: 1001;

    padding: 4px 12px;

    border: 0;
    background: none;
    color: var(--text);

    font-family: Arial, sans-serif;
    font-size: 2.4rem;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
}

.lightbox-close:hover {
    color: var(--blue);
}

body.lightbox-open {
    overflow: hidden;
}

/* ---------- ABOUT ---------- */

.about-page {
    max-width: 850px;
    margin: 90px 0 110px;
}

.about-intro {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-bottom: 55px;
}

.about-portrait {
    flex: 0 0 150px;
}

.about-portrait img {
    display: block;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--border);
}

.about-heading .eyebrow {
    margin: 0 0 8px;
    color: var(--blue-muted);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-heading h1 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
}

.about-body {
    max-width: 720px;
}

.about-lead {
    margin: 0 0 36px;
    color: var(--text);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2rem);
    line-height: 1.4;
}

.about-body p {
    margin: 0 0 24px;
}

.about-body h2 {
    margin: 50px 0 16px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2rem;
    font-weight: 500;
}
.about-links {
    max-width: 720px;
    margin-top: 55px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.about-links h2 {
    margin: 0 0 20px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.8rem;
    font-weight: 500;
}

.about-link-list {
    display: flex;
    flex-direction: column;
}

.about-link-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 0;

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

.about-link-list a:hover {
    color: var(--blue);
}

.about-link-arrow {
    color: var(--blue-muted);
    font-size: 0.9rem;
}

/* ---------- HOME PHOTOS ---------- */

.home-photos {
    margin: 70px 0 100px;
}

.home-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 20px;
}

.home-section-heading .section-title {
    margin: 0;
}

.home-section-heading > a {
    font-size: 0.8rem;
}

.home-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-photo {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--panel);
}

.home-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.home-photo:hover img {
    opacity: 0.85;
}

/* ---------- MOBILE ---------- */

@media (max-width: 700px) {

    .about-page {
    margin-top: 60px;
}

.about-intro {
    align-items: flex-start;
    gap: 22px;
}

.about-portrait {
    flex-basis: 95px;
}

.about-portrait img {
    width: 95px;
    height: 95px;
}

.about-heading h1 {
    font-size: 2.5rem;
}
    .photo-lightbox {
    padding: 20px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
}
    .photo-gallery {
    grid-template-columns: 1fr;
}

    .journal-preview {
    grid-template-columns: 1fr;
    gap: 8px;
}

.home-latest .feature-grid {
    grid-template-columns: 1fr;
}

.journal-intro {
    margin: 60px 0 50px;
}
    
    body {
        font-size: 16px;
    }

    .site-header {
        padding-top: 22px;
    }

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

    section {
        margin: 55px 0;
    }

    .intro {
        margin: 60px auto;
    }
}