:root {
    --earth-deep: #1a3a0a;
    --earth: #2d5016;
    --earth-light: #4a7c32;
    --earth-pale: #e8f0e4;

    --sea-deep: #0e3d3d;
    --sea: #1a5e5e;
    --sea-light: #2a8080;

    --sky-gold: #c4963e;
    --sky-cream: #f5f0e8;
    --sky-light: #faf7f2;
    --sky-white: #fdfcfa;

    --bark: #5c4033;

    --charcoal: #2c2c2c;
    --stone: #5a5a5a;
    --mist: #8a8a8a;

    --bard-blue: #2e5090;
    --ovate-green: #2d6b2d;
    --druid-gold: #c4963e;

    --font-display: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
    --font-body: 'Lora', Georgia, 'Times New Roman', serif;

    --container-width: 900px;
    --container-wide: 1100px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--charcoal);
    background-color: var(--sky-white);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--earth-deep);
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--sea);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

a:hover,
a:focus-visible {
    border-bottom-color: var(--sea);
}

blockquote {
    font-style: italic;
    color: var(--stone);
    padding: 0;
    margin: 1rem 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Hero ── */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(45deg, var(--earth-deep) 0%, #15362e 30%, var(--sea-deep) 60%, #1a2a3a 100%);
    color: var(--sky-cream);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(26, 94, 94, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeIn 1.5s ease-out;
}

.hero h1 {
    color: var(--sky-cream);
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.hero .tagline {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--sky-gold);
    letter-spacing: 0.1em;
}

.awen-symbol {
    display: block;
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 0.3s forwards;
}

.southern-cross {
    position: absolute;
    top: 18%;
    right: 10%;
    transform: rotate(12deg);
    width: clamp(140px, 15vw, 280px);
    aspect-ratio: 1;
    opacity: 0;
    animation: fadeInSubtle 2.5s ease-out 1s forwards;
}

@keyframes fadeInSubtle {
    from { opacity: 0; }
    to   { opacity: 0.3; }
}

/* ── Navigation ── */

.main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--sky-white);
    border-bottom: 1px solid #e0dbd3;
    padding: 0 2rem;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    max-width: var(--container-wide);
    margin: 0 auto;
}

.main-nav li {
    flex-shrink: 0;
}

.main-nav a {
    display: block;
    padding: 1rem 1.1rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--charcoal);
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--earth);
    border-bottom-color: var(--earth);
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    padding: 1rem 0;
}

.nav-toggle-label span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    position: relative;
    transition: background 0.2s;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    position: absolute;
    transition: transform 0.2s;
}

.nav-toggle-label span::before { top: -7px; }
.nav-toggle-label span::after  { top: 7px; }

/* ── Sections ── */

section {
    padding: 5rem 2rem;
}

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

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--sky-gold);
    margin: 1rem auto 0;
}

.bg-cream      { background-color: var(--sky-cream); }
.bg-white      { background-color: var(--sky-white); }
.bg-earth-pale { background-color: var(--earth-pale); }

.bg-dark {
    background: linear-gradient(135deg, var(--earth-deep) 0%, var(--sea-deep) 100%);
    color: var(--sky-cream);
}

.bg-dark h2,
.bg-dark h3 { color: var(--sky-cream); }

.bg-dark .section-header h2::after {
    background: var(--sky-gold);
}

.bg-dark a {
    color: var(--sky-gold);
    border-bottom-color: transparent;
}

.bg-dark a:hover,
.bg-dark a:focus-visible {
    border-bottom-color: var(--sky-gold);
}

/* ── Three Paths ── */

.paths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.path-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-top: 3px solid;
    background: var(--sky-light);
    border-radius: 0 0 4px 4px;
}

.path-card.bard  { border-top-color: var(--bard-blue); }
.path-card.ovate { border-top-color: var(--ovate-green); }
.path-card.druid { border-top-color: var(--druid-gold); }

.path-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.path-card.bard h3  { color: var(--bard-blue); }
.path-card.ovate h3 { color: var(--ovate-green); }
.path-card.druid h3 { color: var(--druid-gold); }

.path-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--stone);
}

/* ── Wheel of the Year ── */

.wheel-intro {
    text-align: center;
    max-width: var(--container-width);
    margin: 0 auto 2.5rem;
    color: var(--stone);
}

.wheel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.festival-card {
    padding: 1.5rem 1.25rem;
    background: var(--sky-white);
    border-radius: 4px;
    border-left: 3px solid var(--sky-gold);
}

.festival-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--earth-deep);
    margin-bottom: 0.2rem;
}

.festival-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sky-gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.festival-card p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--stone);
    margin-bottom: 0;
}

.festival-card.solar {
    border-left-color: var(--earth-light);
}

/* ── Community ── */

.group-card {
    background: var(--sky-light);
    border-radius: 4px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--earth);
}

.group-card:last-child {
    margin-bottom: 0;
}

.group-card h3 {
    font-size: 1.5rem;
    color: var(--earth);
    margin-bottom: 0.4rem;
}

.order-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--sky-cream);
    background: var(--earth);
    padding: 0.2rem 0.75rem;
    border-radius: 3px;
    margin-bottom: 1rem;
}

.group-card .contact-info {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.group-card .group-links {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ── Books ── */

.book-card {
    max-width: var(--container-width);
    margin: 0 auto 2rem;
    padding: 2rem;
    background: var(--sky-light);
    border-radius: 4px;
    border-left: 4px solid var(--bark);
}

.book-card h3 {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--bark);
    margin-bottom: 0.25rem;
}

.book-card .author {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--stone);
    margin-bottom: 1rem;
}

.book-link {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.books-more {
    text-align: center;
    color: var(--mist);
    font-style: italic;
    margin-top: 2rem;
}

/* ── Links ── */

.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.link-card {
    padding: 1.5rem;
    background: var(--sky-light);
    border-radius: 4px;
    border-bottom: 2px solid var(--sea);
}

.link-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.link-card h3 a {
    color: var(--sea);
}

.link-card p {
    font-size: 0.9rem;
    color: var(--stone);
    margin-bottom: 0;
}

/* ── Connect ── */

.connect-section {
    text-align: center;
}

.connect-contacts {
    margin: 2rem 0;
}

.connect-contacts p {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

/* ── Footer ── */

footer {
    background: #111;
    color: var(--mist);
    text-align: center;
    padding: 2.5rem 2rem;
    font-size: 0.85rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer p:last-child {
    margin-bottom: 0;
}

footer a {
    color: var(--sky-gold);
}

/* ── Responsive ── */

@media (max-width: 960px) {
    .paths-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 500px;
        margin: 0 auto;
    }

    .wheel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero .tagline {
        font-size: 1.25rem;
    }

    .awen-symbol {
        width: 120px;
        height: 120px;
    }

    .southern-cross {
        right: 5%;
    }


}

@media (max-width: 700px) {
    .links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .nav-toggle-label {
        display: block;
    }

    .main-nav {
        padding: 0 1.5rem;
    }

    .main-nav ul {
        display: none;
        flex-direction: column;
        text-align: center;
        padding-bottom: 0.5rem;
    }

    .nav-toggle:checked ~ ul {
        display: flex;
    }

    .main-nav a {
        padding: 0.75rem 1rem;
    }

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

    section {
        padding: 3.5rem 1.25rem;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 0.03em;
    }

    .hero .tagline {
        font-size: 1.05rem;
        letter-spacing: 0.05em;
    }

    .awen-symbol {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }

    .southern-cross {
        width: 80px;
        top: 8%;
        right: 4%;
    }



    h2 {
        font-size: 1.8rem;
    }

    .group-card {
        padding: 1.75rem;
    }

    .book-card {
        padding: 1.75rem;
    }
}
