/* ppuzzle.org - Dark Academia Forest Green Theme */
/* Colors: #0d2b0a, #1a4a18, #4a7a45, #5a7a50, #c9a227, #f5edd6, #1c1208, #7a6a55 */
/* Fonts: Libre Baskerville, Merriweather, Playfair Display, Inter */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 18px;
    line-height: 1.7;
    color: #f5edd6;
    background-color: #0d2b0a;
    overflow-x: hidden;
}

/* SVG definitions hidden */
.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ================================
   FADE REVEAL ANIMATION
   ================================ */
.fade-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
}

.fade-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   SHARED COMPONENTS
   ================================ */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c9a227;
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    color: #f5edd6;
    margin-bottom: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.inline-ornament {
    color: #c9a227;
    margin-bottom: 24px;
    display: block;
}

.section-header .inline-ornament {
    margin-left: auto;
    margin-right: auto;
}

.body-text {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 17px;
    line-height: 1.8;
    color: #f5edd6;
    opacity: 0.85;
    margin-bottom: 20px;
}

/* ================================
   CTA BUTTONS
   ================================ */
.cta-primary {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0d2b0a;
    background-color: #c9a227;
    padding: 16px 36px;
    text-decoration: none;
    border: 1px solid #c9a227;
    transition: all 0.35s ease;
}

.cta-primary:hover {
    background-color: transparent;
    color: #c9a227;
}

.cta-secondary {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c9a227;
    padding: 14px 32px;
    text-decoration: none;
    border: 1px solid rgba(201, 162, 39, 0.4);
    transition: all 0.35s ease;
}

.cta-secondary:hover {
    border-color: #c9a227;
    background-color: rgba(201, 162, 39, 0.1);
}

/* ================================
   FLOATING COMPASS ORNAMENTS
   ================================ */
.floating-compass {
    position: absolute;
    color: #c9a227;
    opacity: 0.15;
    pointer-events: none;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d2b0a 0%, #1a4a18 40%, #0d2b0a 100%);
    z-index: 0;
}

.hero-texture {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(201, 162, 39, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(90, 122, 80, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero-compass-ornament {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #c9a227;
    opacity: 0.08;
    z-index: 1;
    animation: slowRotate 120s linear infinite;
}

@keyframes slowRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 60px 40px;
}

/* Z-Pattern Layout */
.z-pattern .z-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.z-top-left {
    flex: 1;
    max-width: 600px;
}

.z-top-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    padding-top: 20px;
}

.z-diagonal {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.section-line-ornament {
    color: #c9a227;
}

.z-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.z-bottom-left {
    display: flex;
    gap: 40px;
}

.z-bottom-right {
    display: flex;
    align-items: flex-end;
}

/* Hero specific styles */
.hero-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #c9a227;
    opacity: 0.7;
    display: block;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 900;
    line-height: 1.05;
    color: #f5edd6;
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: #c9a227;
}

.hero-subtitle {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 17px;
    line-height: 1.7;
    color: #f5edd6;
    opacity: 0.75;
    max-width: 500px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.meta-item {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #7a6a55;
}

.meta-divider {
    color: #7a6a55;
    font-size: 14px;
}

.stat-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #c9a227;
    line-height: 1.1;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7a6a55;
    margin-top: 4px;
}

/* ================================
   ABOUT SECTION
   ================================ */
.about-section {
    padding: 120px 0;
    background-color: #1c1208;
    position: relative;
    overflow: hidden;
}

.about-compass {
    top: -50px;
    right: -100px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text .section-label {
    margin-bottom: 12px;
}

/* Vintage Photo Frame */
.vintage-photo-frame {
    position: relative;
    max-width: 400px;
    margin-left: auto;
}

.vintage-photo {
    position: relative;
    overflow: hidden;
    filter: sepia(0.3);
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.vintage-photo svg {
    display: block;
    width: 100%;
    height: auto;
}

.photo-frame-border {
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(201, 162, 39, 0.15);
    pointer-events: none;
}

/* ================================
   COLLECTIONS SECTION
   ================================ */
.collections-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #0d2b0a 0%, #1a4a18 50%, #0d2b0a 100%);
    position: relative;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.collection-card {
    background: rgba(28, 18, 8, 0.6);
    border: 1px solid rgba(201, 162, 39, 0.12);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.collection-card:hover {
    border-color: rgba(201, 162, 39, 0.35);
    background: rgba(28, 18, 8, 0.8);
    transform: translateY(-4px);
}

.card-ornament {
    position: absolute;
    top: -15px;
    right: -15px;
    color: #c9a227;
    opacity: 0.12;
    transition: opacity 0.4s ease;
}

.collection-card:hover .card-ornament {
    opacity: 0.25;
}

.card-number {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #c9a227;
    opacity: 0.4;
    display: block;
    margin-bottom: 16px;
}

.card-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 22px;
    font-weight: 700;
    color: #f5edd6;
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-desc {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 14px;
    line-height: 1.7;
    color: #f5edd6;
    opacity: 0.65;
    margin-bottom: 20px;
}

.card-count {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c9a227;
    opacity: 0.6;
}

/* ================================
   FEATURED SECTION
   ================================ */
.featured-section {
    padding: 120px 0;
    background-color: #1c1208;
    position: relative;
    overflow: hidden;
}

.featured-bg-texture {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 70% 30%, rgba(26, 74, 24, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.featured-layout .z-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 50px;
}

.featured-title {
    font-size: 56px;
}

.featured-vintage-panel {
    border: 1px solid rgba(201, 162, 39, 0.2);
    overflow: hidden;
    filter: sepia(0.3);
    max-width: 350px;
}

.featured-vintage-panel svg {
    display: block;
    width: 100%;
    height: auto;
}

.featured-body {
    margin-bottom: 50px;
    max-width: 800px;
}

.featured-text {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 17px;
    line-height: 1.85;
    color: #f5edd6;
    opacity: 0.8;
    margin-bottom: 24px;
}

.featured-meta-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.featured-meta {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c9a227;
    opacity: 0.5;
    padding: 6px 14px;
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.featured-layout .z-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.featured-quote {
    font-family: 'Libre Baskerville', serif;
    font-size: 20px;
    font-style: italic;
    line-height: 1.6;
    color: #f5edd6;
    opacity: 0.7;
    max-width: 500px;
    padding-left: 24px;
    border-left: 2px solid rgba(201, 162, 39, 0.3);
}

.featured-quote cite {
    display: block;
    font-size: 13px;
    font-style: normal;
    color: #7a6a55;
    margin-top: 12px;
}

/* ================================
   JOURNAL SECTION
   ================================ */
.journal-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #0d2b0a 0%, #1a4a18 100%);
}

.journal-list {
    max-width: 900px;
    margin: 0 auto;
}

.journal-entry {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 36px 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    transition: border-color 0.3s ease;
}

.journal-entry:first-child {
    border-top: 1px solid rgba(201, 162, 39, 0.1);
}

.journal-entry:hover {
    border-bottom-color: rgba(201, 162, 39, 0.3);
}

.journal-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    padding-top: 4px;
}

.date-day {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #c9a227;
    line-height: 1;
}

.date-month {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7a6a55;
    margin-top: 4px;
}

.journal-content {
    flex: 1;
}

.journal-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 20px;
    font-weight: 700;
    color: #f5edd6;
    margin-bottom: 8px;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.journal-entry:hover .journal-title {
    color: #c9a227;
}

.journal-excerpt {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 14px;
    line-height: 1.7;
    color: #f5edd6;
    opacity: 0.6;
}

.journal-category {
    min-width: 140px;
    text-align: right;
    padding-top: 6px;
}

.journal-category span {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #5a7a50;
    border: 1px solid rgba(90, 122, 80, 0.3);
    padding: 4px 10px;
}

/* ================================
   FOOTER
   ================================ */
.site-footer {
    padding: 80px 40px 40px;
    background-color: #1c1208;
    position: relative;
}

.footer-ornament {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.footer-compass {
    color: #c9a227;
    opacity: 0.12;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #f5edd6;
    display: block;
    margin-bottom: 8px;
}

.footer-tagline {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 14px;
    color: #7a6a55;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-heading {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c9a227;
    margin-bottom: 8px;
}

.footer-link {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 14px;
    color: #7a6a55;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #f5edd6;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-line {
    margin-bottom: 20px;
}

.footer-copy {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #7a6a55;
    letter-spacing: 1px;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 900px) {
    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 36px;
    }

    .featured-title {
        font-size: 40px;
    }

    .z-pattern .z-top,
    .z-pattern .z-bottom,
    .featured-layout .z-top,
    .featured-layout .z-bottom {
        flex-direction: column;
        gap: 24px;
    }

    .z-top-right {
        align-items: flex-start;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .journal-entry {
        flex-direction: column;
        gap: 16px;
    }

    .journal-category {
        text-align: left;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .featured-title {
        font-size: 32px;
    }

    .section-container {
        padding: 0 20px;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .z-bottom-left {
        flex-direction: column;
        gap: 20px;
    }

    .collections-grid {
        gap: 20px;
    }

    .collection-card {
        padding: 28px 20px;
    }
}
