:root {
    --color-ink: #071629;
    --color-navy: #061426;
    --color-navy-soft: #10243d;
    --color-beige: #efe4d0;
    --color-beige-light: #fbf6ec;
    --color-gold: #c79a52;
    --color-muted: #56616e;
    --shadow-soft: 0 24px 80px rgba(6, 20, 38, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-beige);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.65;
}

a {
    color: inherit;
}

.container {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: relative;
    color: var(--color-beige-light);
    background:
        linear-gradient(90deg, rgba(6, 20, 38, 0.92), rgba(6, 20, 38, 0.62)),
        url("/images/Banner_wood.jpg") center / cover no-repeat,
        var(--color-navy);
    overflow: hidden;
}

.hero {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(28px, 6vw, 90px);
}

.hero-copy {
    min-width: 0;
}

.hero-person {
    flex: 0 0 auto;
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
}

.hero-portrait {
    width: clamp(150px, 18vw, 260px);
    aspect-ratio: 1;
    border: 6px solid rgba(251, 246, 236, 0.88);
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.hero-person p {
    margin: 0;
    color: rgba(251, 246, 236, 0.92);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: 700;
}

.eyebrow,
.section-label {
    margin: 0 0 12px;
    color: var(--color-gold);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 980px;
    margin-bottom: 8px;
    font-size: clamp(3.2rem, 8vw, 8rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

h3 {
    margin-bottom: 6px;
    font-size: clamp(1.45rem, 2vw, 2.2rem);
    line-height: 1.1;
}

.subtitle {
    margin-bottom: 28px;
    color: rgba(251, 246, 236, 0.82);
    font-size: clamp(1.4rem, 2.4vw, 2.5rem);
}

.price-pill,
.event-price,
.admin-button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 999px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
}

.price-pill {
    min-width: 140px;
    padding: 12px 22px;
    color: var(--color-navy);
    background: var(--color-gold);
    font-size: 1rem;
}

.main-content {
    padding: 70px 0 90px;
}

.intro-card,
.content-band,
.events-section,
.admin-shell,
.login-card {
    border: 1px solid rgba(6, 20, 38, 0.1);
    border-radius: 32px;
    background: rgba(251, 246, 236, 0.78);
    box-shadow: var(--shadow-soft);
}

.intro-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
    gap: 48px;
    padding: clamp(28px, 5vw, 64px);
}

.intro-card p:last-child {
    margin-bottom: 0;
    font-size: clamp(1.12rem, 1.7vw, 1.5rem);
}

.content-band {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
    padding: clamp(24px, 4vw, 46px);
}

.feature {
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.42);
}

.feature-mark {
    display: block;
    width: 56px;
    height: 6px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: var(--color-gold);
}

.featured-poster {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    margin-top: 28px;
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid rgba(6, 20, 38, 0.1);
    border-radius: 32px;
    background: #fffaf1;
    box-shadow: var(--shadow-soft);
}

.featured-details {
    max-width: 780px;
}

.featured-details h2 {
    margin-bottom: 26px;
}

.featured-poster img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(6, 20, 38, 0.18);
}

.events-section {
    margin-top: 28px;
    padding: clamp(28px, 5vw, 64px);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.event-list {
    display: grid;
    gap: 18px;
}

.event-card {
    padding: 28px;
    border: 1px solid rgba(6, 20, 38, 0.1);
    border-radius: 24px;
    background: #fffaf1;
}

.event-card-main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
}

.event-thumb {
    display: block;
    width: 150px;
}

.event-thumb img {
    display: block;
    width: 150px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(6, 20, 38, 0.16);
}

.event-date {
    margin-bottom: 14px;
    color: var(--color-gold);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-subtitle {
    color: var(--color-muted);
    font-size: 1.12rem;
}

.event-location {
    display: grid;
    gap: 2px;
}

.event-price {
    margin: 8px 0 16px;
    padding: 8px 14px;
    color: var(--color-beige-light);
    background: var(--color-navy);
    font-size: 0.92rem;
}

.event-contact {
    margin-bottom: 0;
    color: var(--color-muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.98rem;
}

.copy-email {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    border: 0;
    padding: 0;
    color: var(--color-navy);
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: var(--color-navy);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.copy-tag {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    color: var(--color-beige-light);
    background: var(--color-navy);
    font-size: 0.78rem;
    line-height: 1;
    opacity: 0;
    transform: translateY(2px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.copy-email.is-copied .copy-tag {
    opacity: 1;
    transform: translateY(0);
}

.notice,
.error-box,
.success-box {
    padding: 18px 20px;
    border-radius: 18px;
    font-family: Arial, Helvetica, sans-serif;
}

.notice {
    background: rgba(6, 20, 38, 0.08);
}

.error-box {
    color: #7a1f1f;
    background: #ffe4df;
}

.success-box {
    color: #24522b;
    background: #dff0df;
}

.site-footer {
    padding: 34px 0;
    color: rgba(251, 246, 236, 0.8);
    background: var(--color-navy);
    font-family: Arial, Helvetica, sans-serif;
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    align-items: center;
    justify-content: space-between;
}

.site-footer p {
    margin-bottom: 0;
}

.site-footer a {
    color: var(--color-beige-light);
    font-weight: 700;
    text-underline-offset: 4px;
}

.admin-body {
    min-height: 100vh;
}

.admin-header {
    padding: 28px 0;
    color: var(--color-beige-light);
    background: var(--color-navy);
    font-family: Arial, Helvetica, sans-serif;
}

.admin-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.admin-title {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-main {
    padding: 42px 0 80px;
}

.admin-shell,
.login-card {
    padding: clamp(24px, 4vw, 42px);
}

.admin-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.button,
.admin-button {
    border: 0;
    text-decoration: none;
    cursor: pointer;
}

.button {
    padding: 11px 16px;
    color: var(--color-beige-light);
    background: var(--color-navy);
    font-size: 0.95rem;
}

.button.secondary {
    color: var(--color-navy);
    background: rgba(6, 20, 38, 0.1);
}

.button.danger {
    background: #7a1f1f;
}

.admin-event-list {
    display: grid;
    gap: 14px;
    margin-bottom: 34px;
}

.admin-event-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 18px;
    background: #fffaf1;
    color: inherit;
    text-decoration: none;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.admin-event-row:hover,
.admin-event-row:focus-visible {
    background: #fff4df;
    box-shadow: 0 14px 32px rgba(6, 20, 38, 0.12);
    transform: translateY(-1px);
    outline: none;
}

.admin-event-row.is-muted {
    opacity: 0.72;
}

.admin-event-row h3 {
    margin-bottom: 4px;
    font-size: 1.25rem;
}

.admin-meta {
    margin-bottom: 0;
    color: var(--color-muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.92rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 7px;
    font-family: Arial, Helvetica, sans-serif;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label,
.checkbox-label {
    font-weight: 700;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid rgba(6, 20, 38, 0.18);
    border-radius: 14px;
    padding: 12px 14px;
    color: var(--color-ink);
    background: #fffaf1;
    font: inherit;
}

.form-field input[type="file"].file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.upload-dropzone {
    display: grid;
    gap: 6px;
    place-items: center;
    min-height: 150px;
    padding: 24px;
    border: 2px dashed rgba(6, 20, 38, 0.26);
    border-radius: 18px;
    background: rgba(255, 250, 241, 0.72);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.upload-dropzone.is-dragover {
    border-color: var(--color-gold);
    background: rgba(199, 154, 82, 0.12);
}

.upload-dropzone.has-file {
    border-color: var(--color-gold);
}

.upload-title {
    font-weight: 700;
}

.upload-hint {
    color: var(--color-muted);
    font-size: 0.92rem;
    font-weight: 400;
}

.admin-poster-preview {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    width: fit-content;
    margin-top: 10px;
    color: var(--color-ink);
    text-decoration: none;
}

.admin-poster-preview img {
    width: 70px;
    height: auto;
    border-radius: 10px;
}

.checkbox-label {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 18px 0;
    font-family: Arial, Helvetica, sans-serif;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.login-layout {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-card {
    width: min(480px, 100%);
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1400px);
    }

    .hero {
        min-height: 430px;
        padding: 58px 0;
    }

    .hero-content {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 26px;
    }

    .hero-portrait {
        width: 150px;
        border-width: 4px;
    }

    .intro-card,
    .featured-poster,
    .event-card-main,
    .content-band,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .event-thumb {
        width: min(220px, 100%);
    }

    .event-thumb img {
        width: 100%;
    }

    .content-band,
    .featured-poster,
    .events-section {
        margin-top: 18px;
    }

    .admin-header .container,
    .admin-toolbar,
    .admin-event-row {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .admin-header .container,
    .admin-toolbar {
        flex-direction: column;
    }
}
