/* Explain: Styles for glass panels, arches, cards, buttons, and form elements. */
.site-header {
    border-bottom: 2px solid var(--line-color);
    background: var(--background-color);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.2rem;
    height: 3px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 2px solid var(--line-color);
    background: var(--panel-color);
    box-shadow: var(--shadow-hard);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--line-color);
    background: var(--surface-color);
    box-shadow: var(--shadow-hard);
}

.arch-frame::after {
    position: absolute;
    inset: 0.8rem;
    border: 1px solid rgba(245, 242, 234, 0.55);
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(72vh, 700px);
    min-height: 480px;
}

.arch-frame-medium {
    height: 600px;
    max-width: 460px;
}

.floating-note {
    position: absolute;
    right: -1.5rem;
    bottom: 3.5rem;
    display: flex;
    max-width: 260px;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.2rem;
    color: var(--text-color);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.floating-note:hover {
    box-shadow: 10px 10px 0 rgba(20, 20, 20, 0.92);
    transform: translate(-3px, -3px);
}

.story-card {
    position: absolute;
    right: 0;
    bottom: 2.5rem;
    max-width: 300px;
    padding: 1.5rem;
}

.quiet-detail,
.amenity-row {
    border: 2px solid var(--line-color);
    background: var(--panel-color);
    padding: 1.25rem;
}

.amenity-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--accent-color);
    font-family: var(--font-graffiti);
    font-size: 1.7rem;
    line-height: 1.1;
}

.quiet-detail p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.stat-block {
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
}

.stat-value {
    color: var(--primary-color);
    font-family: var(--font-graffiti);
    font-size: 2.2rem;
    line-height: 1.1;
}

.stat-label {
    margin-top: 0.45rem;
    color: var(--text-muted);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.service-card {
    min-height: 320px;
    padding: 1.9rem;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

figure.service-card {
    padding: 0;
}

.service-card:hover {
    box-shadow: 10px 10px 0 rgba(20, 20, 20, 0.92);
    transform: translate(-3px, -3px);
}

.service-icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--text-invert);
    font-size: 1.05rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--line-color);
    background: var(--panel-color);
    padding: 0.4rem 0.9rem;
    color: var(--text-color);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.episode-row {
    border: 1px solid var(--line-color);
    background: var(--panel-color);
    padding: 1.15rem 1.35rem;
    transition: background 200ms ease;
}

.episode-row:hover {
    background: var(--surface-color);
}

.episode-tag {
    color: var(--accent-color);
    font-family: var(--font-graffiti);
    font-size: 0.95rem;
    line-height: 1.25;
}

.contact-form {
    padding: clamp(1.6rem, 4vw, 2.5rem);
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.form-status.success {
    color: var(--sage-dark);
}

.form-status.error {
    color: var(--accent-color);
}

.btn {
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover {
    box-shadow: var(--shadow-hard);
    transform: translate(-2px, -2px);
}

/* Sharp poster edges replace the old soft pill and arch shapes */
.btn,
.input,
.select,
.textarea,
#navOpenButton,
#navCloseButton,
#navOverlay [class*="rounded-2xl"],
#navOverlay [class*="rounded-[2rem]"],
main [class*="rounded-full"],
main [class*="rounded-3xl"],
main [class*="rounded-[2rem]"],
main [class*="rounded-[2.5rem]"] {
    border-radius: var(--radius-sharp);
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .arch-frame-large,
    .arch-frame-medium {
        height: 500px;
        min-height: 0;
    }

    .arch-frame-large {
        width: min(100%, 440px);
        margin-right: auto;
        margin-left: auto;
    }

    .floating-note,
    .story-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -2.25rem auto 0;
    }
}