:root {
    --color-bg: #100d0b;
    --color-surface: #1a1613;
    --color-text: #e8e2d8;
    --color-muted: #9a8f82;
    --color-accent: #d45a1e;          /* forge orange — hot iron */
    --color-accent-hover: #b84a12;
    --color-amber: #c8974a;            /* tempered amber — lamplight */
    --color-amber-hover: #d9a55c;
    --max-width: 1100px;
    --radius: 2px;
}

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

html {
    scroll-behavior: smooth;
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 0;
    background: var(--color-amber);
    color: #1a1108;
    padding: 0.6rem 1rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 1000;
    transition: top 0.2s;
    border-bottom-right-radius: var(--radius);
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--color-accent);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-bg);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

h1, h2, h3, h4 {
    font-family: "Roboto Slab", Georgia, "Times New Roman", serif;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.25;
}

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

header {
    background-color: rgba(26, 22, 19, 0.92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(212, 90, 30, 0.12);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo {
    font-family: "Roboto Slab", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-amber);
    text-decoration: none;
    letter-spacing: 0.03em;
}

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

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
    padding: 0.5rem 0.25rem;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.hero {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    background:
        radial-gradient(ellipse 18% 22% at 50% 93%, rgba(255, 198, 130, 0.32) 0%, rgba(255, 160, 80, 0.16) 35%, transparent 75%),
        radial-gradient(ellipse 65% 55% at 50% 88%, rgba(212, 90, 30, 0.30) 0%, rgba(180, 50, 20, 0.12) 48%, transparent 78%),
        linear-gradient(180deg, #1a1613 0%, #100d0b 100%);
    border-bottom: 1px solid rgba(212, 90, 30, 0.08);
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    margin-bottom: 1rem;
    color: var(--color-text);
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-muted);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--color-accent);
    color: #1a1108;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: background-color 0.2s, box-shadow 0.3s;
    box-shadow: 0 0 0 rgba(212, 90, 30, 0);
}

.btn:hover {
    background-color: var(--color-accent-hover);
    box-shadow: 0 0 24px rgba(212, 90, 30, 0.4);
    color: #1a1108;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background:
        radial-gradient(ellipse 70% 45% at 50% 0%, rgba(212, 150, 80, 0.07) 0%, transparent 60%),
        linear-gradient(180deg, #251d17 0%, #1d1714 38%, #1a1613 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.section h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 1.5rem;
    color: var(--color-amber);
}

.section p {
    color: var(--color-muted);
    max-width: 700px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: linear-gradient(135deg, #1e1815 0%, #17120f 100%);
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid rgba(212, 90, 30, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.card h3 {
    color: var(--color-amber);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

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

a {
    color: var(--color-amber);
    transition: color 0.2s;
}

a:hover {
    color: var(--color-amber-hover);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery figure {
    margin: 0;
    background-color: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(212, 90, 30, 0.08);
}

.gallery img,
.gallery video {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.gallery figcaption {
    padding: 0.75rem 1rem;
    color: var(--color-muted);
    font-size: 0.95rem;
}

code {
    display: inline-block;
    word-break: break-all;
    font-family: "SF Mono", Consolas, "Liberation Mono", monospace;
    font-size: 0.85rem;
    color: var(--color-text);
    background-color: rgba(0, 0, 0, 0.35);
    padding: 0.4rem 0.6rem;
    border-radius: 2px;
    line-height: 1.4;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.donate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.donate-card {
    background: linear-gradient(135deg, #1e1815 0%, #17120f 100%);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(212, 90, 30, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    text-align: center;
}

.donate-card h3 {
    color: var(--color-amber);
    margin-bottom: 1rem;
}

.donate-card img {
    display: block;
    margin: 0 auto 1rem;
    max-width: 180px;
    width: 100%;
    height: auto;
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 2px;
}

.donate-card code {
    display: block;
    text-align: left;
    word-break: break-all;
}

.help-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    max-width: 700px;
    color: var(--color-muted);
}

.help-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(212, 90, 30, 0.08);
}

.help-list li:last-child {
    border-bottom: none;
}

.help-list strong {
    color: var(--color-text);
}

.landing-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.landing-cards a.card {
    text-decoration: none;
    display: block;
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.25s;
}

.landing-cards a.card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 90, 30, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 28px rgba(212, 90, 30, 0.1);
}

.landing-cards a.card p {
    color: var(--color-muted);
}

.hero-compact {
    padding: 4rem 0 2.5rem;
}

.intro-block {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.intro-photo {
    flex: 0 1 420px;
    margin: 0;
}

.intro-photo img,
.intro-photo video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid rgba(212, 90, 30, 0.12);
}

.intro-text {
    flex: 1 1 320px;
    min-width: 0;
}

.intro-text h2 {
    color: var(--color-amber);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.intro-text p {
    color: var(--color-muted);
    margin-bottom: 1rem;
}

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

.pullquote {
    max-width: 760px;
    margin: 1.5rem auto 0;
    padding: 1.5rem 1.75rem;
    border-left: 3px solid var(--color-accent);
    background-color: rgba(212, 90, 30, 0.05);
    border-radius: 2px;
    text-align: left;
}

.pullquote p {
    color: var(--color-text);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 0.75rem;
    max-width: none;
}

.pullquote p:last-of-type {
    margin-bottom: 1rem;
}

.pullquote cite {
    display: block;
    color: var(--color-amber);
    font-style: normal;
    font-weight: 600;
    font-size: 0.95rem;
}

.pullquote-cta {
    margin-top: 2rem;
}

.section-cta {
    margin-top: 2.5rem;
    text-align: center;
}

.draft-banner {
    border: 2px dashed var(--color-amber);
    background-color: rgba(200, 151, 74, 0.08);
    color: var(--color-text);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-top: 1.5rem;
}

.draft-banner strong {
    color: var(--color-amber);
}

.placeholder {
    border-left: 3px solid var(--color-amber);
    background-color: rgba(212, 90, 30, 0.05);
    padding: 0.85rem 1.1rem;
    margin: 0.5rem 0 1.25rem;
    color: var(--color-muted);
    font-style: italic;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.placeholder strong {
    color: var(--color-amber);
    font-style: normal;
}

.schedule-list {
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.85rem 2rem;
    align-items: baseline;
}

.schedule-list dt {
    color: var(--color-amber);
    font-weight: 600;
    white-space: nowrap;
}

.schedule-list dd {
    margin: 0;
    color: var(--color-text);
}

.muted {
    color: var(--color-muted);
    font-size: 0.95rem;
    margin-top: 1rem;
    font-style: italic;
}

.section-photo {
    max-width: 460px;
    margin: 2.5rem auto 0;
}

.section-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid rgba(212, 90, 30, 0.12);
}

.section-photo figcaption {
    margin-top: 0.75rem;
    text-align: center;
    color: var(--color-muted);
    font-size: 0.95rem;
    font-style: italic;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    background: linear-gradient(135deg, #1e1815 0%, #17120f 100%);
    border-radius: var(--radius);
    border: 1px solid rgba(212, 90, 30, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    background-color: #000;
}

.video-embed iframe,
.video-embed video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.video-meta {
    padding: 1.25rem 1.5rem 1.5rem;
}

.video-meta h3 {
    color: var(--color-amber);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.video-meta p {
    color: var(--color-muted);
    font-size: 0.95rem;
    margin: 0;
}

.video-meta .video-date {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    font-style: italic;
}

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

.contact-section > .container > p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    display: grid;
    gap: 1.25rem;
    max-width: 640px;
    margin: 2rem auto 0;
    text-align: left;
}

.contact-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-form label {
    color: var(--color-amber);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea {
    background-color: var(--color-surface);
    border: 1px solid rgba(212, 90, 30, 0.2);
    border-radius: var(--radius);
    color: var(--color-text);
    padding: 0.7rem 0.85rem;
    font: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-amber);
    box-shadow: 0 0 0 3px rgba(200, 151, 74, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 9rem;
}

.contact-form button {
    justify-self: start;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.signup-banner {
    max-width: 640px;
    margin: 1.5rem auto 0;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(212, 90, 30, 0.2);
    background-color: var(--color-surface);
    text-align: left;
}

.signup-banner-ok {
    border-color: rgba(120, 180, 100, 0.4);
    color: #cfe6c2;
}

.signup-banner-err {
    border-color: rgba(212, 90, 30, 0.6);
    color: #f0c4a8;
}

footer {
    background-color: var(--color-surface);
    padding: 2rem 0;
    text-align: center;
    color: var(--color-muted);
    border-top: 1px solid rgba(212, 90, 30, 0.08);
}

@media (max-width: 720px) {
    .section {
        padding: 2.5rem 0;
    }

    .intro-photo img {
        max-height: 380px;
        object-fit: cover;
    }
}

@media (max-width: 640px) {
    .nav-links {
        gap: 1rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .landing-cards {
        grid-template-columns: 1fr;
    }

    .schedule-list {
        grid-template-columns: 1fr;
        gap: 0.25rem 0;
    }

    .schedule-list dt {
        margin-top: 0.75rem;
    }

    .schedule-list dt:first-child {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 0.6rem;
    }
}
