:root {
    --ink: #2a2018;
    --body: #5f5145;
    --muted: #8c7d6f;
    --paper: #fbfaf6;
    --paper-warm: #f3eee5;
    --panel: #fffdf8;
    --panel-soft: #f8f3ea;
    --line: rgba(109, 79, 50, .18);
    --wood: #7b5134;
    --wood-dark: #4b2f20;
    --wood-light: #b78556;
    --accent: #7f3f2b;
    --accent-dark: #552918;
    --gold: #b58a43;
    --gold-soft: #e8cf9f;
    --green: #1d4037;
    --white: #fffefa;
    --shadow: 0 22px 60px rgba(74, 49, 28, .16);
    --font-sans: "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    --font-serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    --font-rounded: "Zen Maru Gothic", "Zen Kaku Gothic New", "Yu Gothic", sans-serif;
    --font-mono: "Roboto Mono", Consolas, "Courier New", monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--body);
    background:
        radial-gradient(circle at 12% 0%, rgba(183, 133, 86, .16), transparent 28rem),
        radial-gradient(circle at 86% 12%, rgba(29, 64, 55, .10), transparent 24rem),
        linear-gradient(180deg, var(--paper) 0%, #f6f0e8 48%, #eee4d8 100%);
    font-family: var(--font-sans);
    line-height: 1.78;
    text-rendering: optimizeLegibility;
}

body.is-modal-open {
    overflow: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    content: "";
    opacity: .32;
    background-image:
        linear-gradient(90deg, rgba(96, 62, 36, .045) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, .44) 1px, transparent 1px);
    background-size: 42px 42px;
    mix-blend-mode: multiply;
}

body.admin-body::before {
    opacity: .18;
}

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    left: 18px;
    top: 12px;
    z-index: 200;
    transform: translateY(-140%);
    padding: 9px 14px;
    border-radius: 4px;
    color: var(--white);
    background: var(--green);
    font-weight: 800;
    text-decoration: none;
    transition: transform .22s ease;
}

.skip-link:focus {
    transform: translateY(0);
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 253, 248, .88);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(74, 49, 28, .06);
    backdrop-filter: blur(18px) saturate(128%);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 24px;
    gap: 22px;
}

.brand {
    display: inline-grid;
    gap: 1px;
    color: var(--ink);
    text-decoration: none;
}

.brand-name {
    font-family: var(--font-rounded);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.05;
}

.brand-place {
    color: var(--muted);
    font-size: 9px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.brand:hover .brand-name,
.brand:focus-visible .brand-name {
    color: var(--accent-dark);
}

.brand:focus-visible {
    border-radius: 3px;
    outline: 2px solid rgba(181, 138, 67, .45);
    outline-offset: 5px;
}

.nav-links {
    display: flex;
    gap: 8px;
    font-size: 13px;
}

.nav-links a {
    padding: 7px 10px;
    border-radius: 4px;
    color: var(--muted);
    text-decoration: none;
    transition: color .22s ease, background .22s ease, transform .22s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--green);
    background: rgba(181, 138, 67, .13);
    transform: translateY(-1px);
    outline: none;
}

.hero {
    position: relative;
    min-height: 52dvh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 88px 24px 72px;
    color: var(--ink);
    background:
        radial-gradient(circle at 78% 18%, rgba(181, 138, 67, .18), transparent 24rem),
        linear-gradient(180deg, rgba(255, 253, 248, .98), rgba(246, 240, 232, .92));
}

.hero::before {
    position: absolute;
    inset: auto 0 0 0;
    height: 180px;
    content: "";
    background:
        linear-gradient(90deg, rgba(75, 47, 32, .90), rgba(123, 81, 52, .72), rgba(183, 133, 86, .58)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 82px);
    opacity: .84;
}

.hero::after {
    position: absolute;
    right: max(24px, calc((100vw - 1180px) / 2));
    bottom: 44px;
    width: min(22vw, 220px);
    height: min(42vh, 360px);
    content: "";
    border: 10px solid rgba(255, 253, 248, .86);
    border-radius: 8px;
    background:
        linear-gradient(rgba(75, 47, 32, .18), rgba(75, 47, 32, .18)),
        url("../img/gibson-335.jpg") center/cover,
        url("https://commons.wikimedia.org/wiki/Special:FilePath/1960%20Gibson%20ES-335TD.jpg") center/cover;
    box-shadow: 0 24px 60px rgba(74, 49, 28, .18);
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
}

.eyebrow,
.section-heading p,
.instagram-band p,
.admin-header p {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: none;
    margin: 0;
    color: var(--ink);
    font-family: var(--font-rounded);
    font-size: 76px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

.hero p:not(.eyebrow) {
    max-width: 580px;
    margin: 28px 0 0;
    color: #2f241c;
    font-size: clamp(16px, 2vw, 19px);
    font-weight: 700;
    text-wrap: pretty;
    padding: 14px 16px;
    border-left: 4px solid var(--gold);
    border-radius: 6px;
    background: rgba(255, 253, 248, .88);
    box-shadow: 0 16px 36px rgba(74, 49, 28, .10);
}

.hero-actions,
.sticky-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid currentColor;
    border-radius: 5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease, color .22s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    outline: 2px solid rgba(181, 138, 67, .35);
    outline-offset: 3px;
}

.button:active {
    transform: translateY(1px) scale(.985);
}

.button.primary {
    color: var(--white);
    background: linear-gradient(180deg, #8a4a31, var(--accent-dark));
    border-color: rgba(85, 41, 24, .22);
    box-shadow: 0 14px 32px rgba(85, 41, 24, .22);
}

.button.ghost {
    color: var(--accent-dark);
    background: rgba(255, 253, 248, .72);
    border-color: rgba(85, 41, 24, .28);
}

.button.ghost:hover {
    background: var(--white);
    border-color: rgba(85, 41, 24, .45);
}

.button.danger {
    color: #7a2518;
    background: #f7e2db;
    border-color: rgba(122, 37, 24, .22);
}

.button.danger:hover,
.button.danger:focus-visible {
    background: #f1d2c8;
    border-color: rgba(122, 37, 24, .42);
}

.notice-band,
.instagram-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px max(24px, calc((100vw - 1180px) / 2));
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(75, 47, 32, .96), rgba(29, 64, 55, .93)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 70px);
    border-block: 1px solid rgba(85, 41, 24, .22);
}

.notice-band p,
.instagram-band h2 {
    margin: 0;
}

.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 96px 24px 112px;
}

.split-band {
    max-width: none;
    padding-inline: max(24px, calc((100vw - 1180px) / 2));
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(251, 246, 238, .92)),
        repeating-linear-gradient(90deg, rgba(123, 81, 52, .06) 0 1px, transparent 1px 86px),
        #f4ecdf;
    border-block: 1px solid var(--line);
}

.section-heading h2,
.instagram-band h2 {
    margin: 0 0 34px;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.03;
    letter-spacing: 0;
    text-wrap: balance;
}

.heading-line {
    display: block;
}

.instagram-band h2 {
    color: var(--white);
}

.instagram-band .button {
    flex: 0 0 auto;
}

.instagram-profile {
    display: inline-grid;
    gap: 4px;
    max-width: 560px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 253, 248, .22);
    border-radius: 7px;
    color: rgba(255, 253, 248, .88);
    background: rgba(255, 253, 248, .10);
}

.instagram-profile strong {
    color: var(--gold-soft);
    font-size: 18px;
}

.instagram-profile span {
    line-height: 1.7;
}

.instagram-embed-section {
    padding-top: 84px;
}

.instagram-embed-carousel {
    position: relative;
    overflow: hidden;
}

.instagram-embed-carousel::before,
.instagram-embed-carousel::after {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: min(80px, 14vw);
    content: "";
    pointer-events: none;
}

.instagram-embed-carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--paper), rgba(250, 244, 235, 0));
}

.instagram-embed-carousel::after {
    right: 0;
    background: linear-gradient(270deg, var(--paper), rgba(250, 244, 235, 0));
}

.instagram-embed-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 22px;
    overflow-x: auto;
    padding: 8px max(24px, calc((100vw - 1180px) / 2)) 28px;
    scroll-padding-inline: max(24px, calc((100vw - 1180px) / 2));
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.instagram-embed-track > .instagram-media {
    flex: 0 0 min(420px, 86vw) !important;
    min-width: 0 !important;
    max-width: min(420px, 86vw) !important;
    width: min(420px, 86vw) !important;
    margin: 0 !important;
    scroll-snap-align: start;
}

.instagram-embed-item {
    flex: 0 0 min(420px, 86vw);
    width: min(420px, 86vw);
    min-width: 0;
    scroll-snap-align: start;
}

.instagram-embed-item h3 {
    margin: 0 0 10px;
    color: var(--wood-dark);
    font-size: 14px;
    font-weight: 900;
}

.instagram-embed-item > .instagram-media {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
}

.event-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.event-controls {
    display: flex;
    gap: 8px;
}

.event-control {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(109, 79, 50, .26);
    border-radius: 5px;
    color: var(--wood-dark);
    background: rgba(255, 253, 248, .86);
    box-shadow: 0 10px 24px rgba(74, 49, 28, .10);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.event-control:hover,
.event-control:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(123, 81, 52, .42);
    background: var(--white);
    outline: 2px solid rgba(181, 138, 67, .28);
    outline-offset: 3px;
}

.event-carousel {
    position: relative;
    overflow: hidden;
}

.event-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 38%);
    gap: 18px;
    overflow-x: auto;
    padding: 2px 4px 28px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--wood-light) rgba(123, 81, 52, .12);
    -webkit-overflow-scrolling: touch;
}

.event-track:focus-visible {
    outline: 2px solid rgba(181, 138, 67, .45);
    outline-offset: 4px;
}

.event-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(249, 242, 231, .86)),
        var(--panel);
    box-shadow: var(--shadow);
    scroll-snap-align: start;
    transition: transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
}

.event-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    margin: 0 0 18px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--panel-soft);
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: rgba(181, 138, 67, .42);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(250, 239, 222, .96)),
        var(--panel-soft);
    box-shadow: 0 28px 72px rgba(74, 49, 28, .20);
}

.event-card time,
.schedule-row time {
    color: var(--accent);
    font-family: var(--font-mono);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.event-card h3 {
    margin: 14px 0 8px;
    color: var(--ink);
    font-size: 23px;
    line-height: 1.32;
}

.event-card p {
    margin: 0;
    color: var(--body);
}

.schedule-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.schedule-row {
    display: grid;
    grid-template-columns: minmax(150px, 220px) 1fr;
    gap: 24px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.schedule-row span {
    margin-left: 12px;
    color: var(--muted);
    font-family: var(--font-mono);
}

.schedule-row strong {
    color: var(--ink);
    font-size: 19px;
}
.schedule-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.schedule-note {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.schedule-tools {
    display: grid;
    justify-items: end;
    gap: 9px;
}

.month-switcher,
.month-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.month-switcher a,
.month-switcher span,
.month-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border: 1px solid rgba(109, 79, 50, .22);
    border-radius: 5px;
    color: var(--wood-dark);
    background: rgba(255, 253, 248, .76);
    font-weight: 800;
    text-decoration: none;
}

.month-switcher a,
.month-switcher span {
    min-width: 38px;
    padding: 0 12px;
}

.month-switcher span:nth-child(2) {
    min-width: 120px;
    color: var(--ink);
    background: var(--white);
}

.month-switcher span[aria-hidden="true"] {
    color: rgba(109, 79, 50, .32);
}

.month-tabs {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.month-tabs a {
    min-height: 30px;
    padding: 4px 10px;
    font-size: 13px;
}

.month-tabs a.is-current {
    color: var(--white);
    border-color: var(--wood-dark);
    background: var(--wood-dark);
}

.calendar-shell {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 248, .72);
    box-shadow: var(--shadow);
    -webkit-overflow-scrolling: touch;
}

.calendar-grid {
    min-width: 860px;
    display: grid;
    grid-template-columns: repeat(7, minmax(112px, 1fr));
}

.calendar-weekdays {
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #fffefa, #f4ebdc);
}

.calendar-weekdays div {
    padding: 10px 12px;
    border-right: 1px solid var(--line);
    color: var(--wood-dark);
    font-weight: 800;
    text-align: center;
}

.calendar-weekdays div:last-child {
    border-right: 0;
}

.calendar-days {
    background: rgba(255, 255, 255, .36);
}

.calendar-day {
    min-height: 142px;
    padding: 10px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 248, .62);
}

.calendar-day:nth-child(7n) {
    border-right: 0;
}

.calendar-day.is-empty {
    background: rgba(123, 81, 52, .045);
}

.calendar-day.has-events {
    background: rgba(255, 253, 248, .92);
}

.calendar-date {
    display: block;
    margin-bottom: 8px;
    color: var(--wood-dark);
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-align: right;
}

.calendar-events {
    display: grid;
    gap: 6px;
}

.calendar-event {
    display: grid;
    gap: 2px;
    width: 100%;
    padding: 7px 8px;
    border: 0;
    border-left: 3px solid var(--wood-light);
    border-radius: 5px;
    color: var(--ink);
    background: rgba(255, 255, 255, .88);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    box-shadow: 0 8px 18px rgba(74, 49, 28, .08);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.calendar-event:hover,
.calendar-event:focus-visible {
    transform: translateY(-1px);
    filter: saturate(1.08);
    outline: 2px solid rgba(181, 138, 67, .35);
    outline-offset: 2px;
    box-shadow: 0 12px 22px rgba(74, 49, 28, .13);
}

.calendar-time {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
}

.calendar-event.is-closed {
    border-left-color: #9b9b95;
    color: #6d655d;
    background: rgba(218, 215, 208, .82);
}

.calendar-event.is-special {
    border-left-color: #c14f3c;
    background: rgba(255, 225, 216, .90);
}

.calendar-event.is-standing {
    border-left-color: #1787a8;
    background: rgba(223, 244, 248, .95);
}

.calendar-event.is-open {
    border-left-color: #88a564;
    background: rgba(238, 246, 222, .92);
}

.calendar-event.is-live {
    border-left-color: #7d8fc7;
    background: rgba(232, 237, 255, .92);
}

.schedule-modal[hidden] {
    display: none;
}

.schedule-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 24px;
}

.schedule-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(29, 24, 20, .58);
    backdrop-filter: blur(3px);
}

.schedule-modal-panel {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    padding: 28px;
    border: 1px solid rgba(181, 138, 67, .32);
    border-radius: 8px;
    color: var(--ink);
    background: #fffefa;
    box-shadow: 0 26px 70px rgba(29, 24, 20, .28);
}

.schedule-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(109, 79, 50, .20);
    border-radius: 999px;
    color: var(--wood-dark);
    background: rgba(255, 255, 255, .84);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.schedule-modal-date,
.schedule-modal-time {
    margin: 0;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}

.schedule-modal-thumb {
    display: block;
    width: 100%;
    max-height: 260px;
    margin: 14px 0 8px;
    border-radius: 7px;
    object-fit: cover;
    background: var(--panel-soft);
}

.schedule-modal-thumb[hidden] {
    display: none;
}

.schedule-modal-panel h2 {
    margin: 10px 42px 14px 0;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.08;
}

.schedule-modal-body {
    margin: 18px 0 0;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.8;
    white-space: pre-wrap;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
    gap: clamp(32px, 6vw, 72px);
    align-items: start;
}

.info-list {
    display: grid;
    gap: 18px;
    margin: 0;
}

.info-list div {
    display: grid;
    gap: 5px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.info-list dt {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.info-list dd {
    max-width: 66ch;
    margin: 0;
}

.floor-map-card {
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(109, 79, 50, .20);
    border-radius: 8px;
    background: rgba(255, 253, 248, .88);
    box-shadow: var(--shadow);
}

.floor-map-card img {
    width: 100%;
    display: block;
    border-radius: 6px;
}

.floor-map-card figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}
.equipment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    padding: 0;
    list-style: none;
}

.equipment-list li {
    min-height: 72px;
    display: flex;
    align-items: center;
    padding: 16px 18px;
    border-left: 3px solid var(--wood-light);
    background: rgba(255, 253, 248, .82);
    color: var(--ink);
    box-shadow: 0 12px 32px rgba(74, 49, 28, .08);
}

.gallery-page .section-heading h1 {
    margin: 0 0 34px;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1;
}

.gallery-intro {
    max-width: 48rem;
    margin: -14px 0 34px;
    color: var(--body);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.gallery-card {
    overflow: hidden;
    border: 1px solid rgba(109, 79, 50, .18);
    border-radius: 8px;
    background: rgba(255, 253, 248, .86);
    box-shadow: 0 16px 42px rgba(74, 49, 28, .10);
}

.gallery-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-card div {
    padding: 16px;
}

.gallery-card span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.gallery-card h2 {
    margin: 4px 0 8px;
    color: var(--ink);
    font-size: 20px;
}

.gallery-card p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.instagram-band {
    padding-block: 54px;
}

.map-embed {
    min-height: 330px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-soft);
    box-shadow: var(--shadow);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 330px;
    display: block;
    border: 0;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 30px max(24px, calc((100vw - 1180px) / 2));
    border-top: 1px solid var(--line);
    color: #e9dfd0;
    background:
        linear-gradient(90deg, rgba(75, 47, 32, .98), rgba(29, 64, 55, .94)),
        var(--wood-dark);
}

.local-intro {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: end;
}

.local-intro > p {
    max-width: 54rem;
    margin: 0;
    color: var(--body);
    font-size: 17px;
    font-weight: 600;
    line-height: 2;
}

.footer > div {
    display: grid;
    gap: 5px;
}

.footer strong,
.footer p {
    margin: 0;
}

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

.admin-body {
    color: #2a2018;
    background:
        radial-gradient(circle at 12% 0%, rgba(183, 133, 86, .18), transparent 26rem),
        linear-gradient(180deg, #fbfaf6, #f2eadf);
    font-family: var(--font-sans);
}

.login-panel,
.admin-main {
    max-width: 960px;
    margin: 42px auto;
    padding: 0 24px;
}

.login-panel {
    max-width: 460px;
    padding: 30px;
    border: 1px solid rgba(109, 79, 50, .20);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.login-panel h1 {
    margin-top: 0;
    color: var(--ink);
    font-family: var(--font-serif);
}

.login-panel form,
.admin-form,
.admin-form section {
    display: grid;
    gap: 18px;
    min-width: 0;
}

label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 800;
}

input,
textarea,
select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 12px 13px;
    border: 1px solid #d5c7b6;
    border-radius: 5px;
    color: var(--ink);
    font: inherit;
    background: #fffefa;
    transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--wood);
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 81, 52, .16);
}

input[type="file"] {
    min-width: 0;
    max-width: 100%;
}

textarea {
    resize: vertical;
}

.hint,
.field-help {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.error,
.warning,
.success {
    padding: 12px 14px;
    border-radius: 5px;
    font-weight: 800;
}

.error,
.warning {
    color: #6d2d22;
    background: #f3ddd5;
}

.success {
    color: #1d4037;
    background: #dce9df;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 26px max(24px, calc((100vw - 960px) / 2));
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(75, 47, 32, .98), rgba(29, 64, 55, .94)),
        var(--wood-dark);
    border-bottom: 1px solid rgba(181, 138, 67, .28);
}

.admin-header h1 {
    margin: 0;
}

.admin-header nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.admin-header a,
.admin-header nav button {
    color: var(--gold-soft);
}

.admin-header nav form {
    margin: 0;
}

.admin-header nav button {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.admin-form section {
    padding: 24px;
    min-width: 0;
    border: 1px solid rgba(109, 79, 50, .18);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 38px rgba(74, 49, 28, .08);
}

.admin-form h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 26px;
}

.schedule-months {
    display: grid;
    gap: 14px;
}

.schedule-month-card,
.schedule-add-month {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(109, 79, 50, .16);
    border-radius: 7px;
    background: #fffefa;
}

.schedule-month-card label > span {
    color: var(--wood-dark);
    font-size: 18px;
}

.admin-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-calendar-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.admin-calendar {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.admin-calendar-weekdays,
.admin-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1px;
}

.admin-calendar-weekdays div,
.admin-calendar-day {
    background: #fffefa;
}

.admin-calendar-weekdays div {
    padding: 8px;
    color: var(--wood-dark);
    font-weight: 900;
    text-align: center;
}

.admin-calendar-day {
    min-height: 116px;
    padding: 10px;
    color: var(--ink);
    text-decoration: none;
}

.admin-calendar-day:hover,
.admin-calendar-day:focus-visible {
    outline: 3px solid rgba(181, 138, 67, .28);
    outline-offset: -3px;
}

.admin-calendar-day.is-empty {
    background: rgba(255, 253, 248, .38);
}

.admin-calendar-day strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(181, 138, 67, .14);
}

.admin-calendar-events {
    display: grid;
    gap: 5px;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.35;
}

.admin-calendar-events span {
    padding: 4px 6px;
    border-left: 3px solid var(--gold);
    border-radius: 4px;
    background: rgba(246, 240, 232, .78);
}

.admin-calendar-event-count {
    display: none;
}

.schedule-entry-card,
.instagram-entry-card,
.gallery-admin-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(109, 79, 50, .16);
    border-radius: 7px;
    background: #fffefa;
}

[data-instagram-embed-list] {
    display: grid;
    gap: 14px;
}

[data-schedule-entry-list] {
    display: grid;
    gap: 14px;
}

.admin-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
}

.admin-form fieldset {
  margin: 20px 0 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.admin-form legend {
  padding: 0 6px;
  font-weight: 700;
}

.admin-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(44px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.inline-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.inline-check input {
    width: auto;
}

.admin-checkbox-grid .inline-check {
  justify-content: center;
  min-height: 44px;
}

@media (max-width: 640px) {
  .admin-checkbox-grid {
    grid-template-columns: repeat(4, minmax(44px, 1fr));
  }
}

.schedule-entry-fields {
    grid-template-columns: minmax(92px, 120px) minmax(112px, 150px) minmax(0, 1fr);
}

.csv-tools {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(109, 79, 50, .14);
    border-radius: 7px;
    background: rgba(255, 253, 248, .72);
}

.csv-import-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px) auto;
    gap: 12px;
    align-items: end;
}

.featured-event-manager {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: start;
}

.featured-event-selected-panel,
.featured-event-picker {
    min-width: 0;
}

.featured-event-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.featured-event-panel-heading h3 {
    margin: 0;
    color: var(--ink);
    font-size: 17px;
}

.featured-event-count,
.featured-event-result-count {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.featured-event-count b {
    color: var(--accent-dark);
    font-size: 18px;
}

.featured-event-selected-list,
.featured-event-candidate-list {
    display: grid;
    gap: 8px;
    max-height: 560px;
    overflow-y: auto;
    padding: 2px 4px 2px 2px;
    scrollbar-gutter: stable;
}

.featured-event-selected-item,
.featured-event-candidate {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 72px;
    padding: 10px;
    border: 1px solid rgba(109, 79, 50, .14);
    border-radius: 6px;
    background: #fffefa;
}

.featured-event-selected-item {
    border-left: 4px solid var(--gold);
}

.featured-event-card-content {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.featured-event-card-content img {
    width: 76px;
    aspect-ratio: 4 / 3;
    border-radius: 5px;
    flex: 0 0 auto;
    object-fit: cover;
}

.featured-event-order-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-order-button {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(109, 79, 50, .20);
    border-radius: 4px;
    color: var(--ink);
    background: var(--panel-soft);
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.event-order-button:hover,
.event-order-button:focus-visible {
    color: var(--accent-dark);
    border-color: rgba(127, 63, 43, .45);
    background: var(--white);
    outline: 2px solid rgba(181, 138, 67, .30);
    outline-offset: 2px;
}

.event-order-button:active {
    transform: translateY(1px);
}

.event-order-button:disabled {
    opacity: .32;
    cursor: default;
}

.event-order-button.is-remove {
    color: #8a3023;
}

.featured-event-empty,
.featured-event-no-results {
    margin: 0;
    padding: 22px 16px;
    border: 1px dashed rgba(109, 79, 50, .24);
    border-radius: 6px;
    color: var(--muted);
    background: rgba(248, 243, 234, .62);
    text-align: center;
}

.featured-event-filters {
    display: grid;
    grid-template-columns: minmax(140px, .55fr) minmax(200px, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.featured-event-filters label {
    gap: 5px;
    font-size: 12px;
}

.featured-event-add {
    min-width: 78px;
}

.featured-event-add:disabled {
    color: var(--muted);
    background: var(--paper-warm);
    border-color: var(--line);
    opacity: .72;
    cursor: default;
    transform: none;
}

.featured-event-summary {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.featured-event-summary strong,
.featured-event-summary span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.featured-event-summary strong {
    color: var(--ink);
}

.featured-event-summary span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.thumbnail-preview {
    max-width: 180px;
    border-radius: 7px;
    border: 1px solid var(--line);
}

.sticky-actions {
    position: sticky;
    bottom: 0;
    padding: 16px 0;
    background: linear-gradient(transparent, #f2eadf 36%);
}

@media (max-width: 760px) {
    .login-panel {
        width: auto;
        margin: 20px 14px;
        padding: 22px 18px;
    }

    .login-panel h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .admin-main {
        width: auto;
        margin: 22px auto 40px;
        padding-inline: 12px;
    }

    .admin-header {
        gap: 14px;
        padding: 18px 16px;
    }

    .admin-header h1 {
        font-size: 25px;
        line-height: 1.3;
    }

    .admin-header nav {
        width: 100%;
        gap: 8px 14px;
        font-size: 14px;
    }

    .admin-form section {
        gap: 15px;
        padding: 18px 14px;
    }

    .admin-form h2 {
        font-size: 23px;
        line-height: 1.35;
    }

    .admin-quick-actions {
        width: 100%;
        min-width: 0;
    }

    .admin-quick-actions .button {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    .admin-calendar-tools {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px;
    }

    .admin-calendar-tools h2 {
        font-size: 21px;
        text-align: center;
    }

    .admin-calendar-tools .button {
        min-height: 42px;
        padding-inline: 11px;
    }

    .csv-tools {
        padding: 12px;
    }

    .admin-calendar-weekdays div {
        padding: 6px 1px;
        font-size: 11px;
    }

    .admin-calendar-day {
        min-height: 70px;
        padding: 4px 2px;
        overflow: hidden;
        text-align: center;
    }

    .admin-calendar-day strong {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .admin-calendar-events {
        display: none;
    }

    .admin-calendar-event-count {
        display: block;
        margin-top: 5px;
        color: var(--accent-dark);
        font-size: 10px;
        font-weight: 800;
        line-height: 1.2;
        white-space: nowrap;
    }

    .sticky-actions {
        z-index: 5;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 18px 2px 12px;
    }

    .sticky-actions .button {
        flex: 1 1 132px;
    }

    .thumbnail-preview {
        width: min(180px, 100%);
        height: auto;
    }

    .gallery-admin-card,
    .instagram-entry-card,
    .schedule-entry-card {
        min-width: 0;
        padding: 14px 12px;
    }

    .local-intro {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .nav,
    .notice-band,
    .instagram-band,
    .footer,
    .admin-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        padding: 12px 16px 10px;
        gap: 10px;
    }

    .brand {
        white-space: nowrap;
    }

    .brand-name {
        font-size: 18px;
    }

    .nav-links {
        width: calc(100vw - 32px);
        display: flex;
        flex-direction: row;
        gap: 6px;
        overflow-x: auto;
        padding: 0 0 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        flex: 0 0 auto;
        padding: 7px 10px;
        border: 1px solid rgba(109, 79, 50, .14);
        background: rgba(255, 253, 248, .76);
        white-space: nowrap;
    }

    .event-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .event-track {
        grid-auto-columns: minmax(260px, 82vw);
    }
    .schedule-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .schedule-tools {
        width: 100%;
        justify-items: start;
    }

    .month-tabs {
        justify-content: flex-start;
    }

    .schedule-note {
        font-size: 12px;
    }

    .calendar-shell {
        overflow-x: visible;
        width: 100%;
        border-radius: 6px;
    }

    .calendar-grid {
        min-width: 0;
        width: 100%;
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .calendar-weekdays div {
        padding: 7px 2px;
        font-size: 12px;
    }

    .calendar-day {
        min-height: 102px;
        padding: 5px 3px;
        overflow: hidden;
    }

    .calendar-date {
        width: 22px;
        height: 22px;
        margin-bottom: 4px;
        font-size: 11px;
    }

    .calendar-events {
        gap: 3px;
    }

    .calendar-event {
        padding: 4px 3px;
        border-radius: 4px;
        font-size: 9px;
        line-height: 1.25;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .calendar-time {
        margin-bottom: 1px;
        font-size: 8px;
        letter-spacing: 0;
    }
    .hero {
        min-height: auto;
        padding: 58px 16px 46px;
    }

    .hero h1 {
        max-width: none;
        font-size: 36px;
        letter-spacing: 0;
        line-height: 1;
    }

    .hero p:not(.eyebrow) {
        position: relative;
        z-index: 1;
        min-height: 176px;
        max-width: 100%;
        margin-top: 22px;
        padding: 12px min(43vw, 146px) 12px 13px;
        font-size: 13px;
        line-height: 1.62;
    }

    .hero p:not(.eyebrow)::after {
        position: absolute;
        top: 50%;
        right: 10px;
        z-index: 2;
        width: min(34vw, 120px);
        height: 132px;
        content: "";
        transform: translateY(-50%);
        border: 5px solid rgba(255, 253, 248, .86);
        border-radius: 8px;
        background:
            linear-gradient(rgba(75, 47, 32, .10), rgba(75, 47, 32, .10)),
            url("../img/gibson-335.jpg") center/cover,
            url("https://commons.wikimedia.org/wiki/Special:FilePath/1960%20Gibson%20ES-335TD.jpg") center/cover;
        box-shadow: 0 14px 32px rgba(74, 49, 28, .16);
    }

    .hero-actions {
        position: relative;
        z-index: 3;
        margin-top: 24px;
    }

    .hero::before {
        height: 128px;
    }

    .hero::after {
        display: none;
    }

    .event-grid,
    .schedule-row,
    .two-column,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    input,
    textarea,
    select {
        min-height: 48px;
        font-size: 16px;
    }

    .admin-grid-two,
    .schedule-entry-fields,
    .csv-import-form {
        grid-template-columns: 1fr;
    }

    .schedule-entry-card {
        padding: 14px;
    }

    .featured-event-manager,
    .featured-event-filters {
        grid-template-columns: 1fr;
    }

    .featured-event-manager {
        gap: 30px;
    }

    .featured-event-selected-list,
    .featured-event-candidate-list {
        max-height: 480px;
    }

    .featured-event-selected-item,
    .featured-event-candidate {
        align-items: start;
    }

    .featured-event-order-actions {
        flex-direction: column;
    }

    .featured-event-card-content {
        align-items: flex-start;
    }

    .featured-event-card-content img {
        width: 64px;
    }

    .featured-event-summary strong,
    .featured-event-summary span {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .featured-event-add {
        min-width: 68px;
        padding-inline: 10px;
    }

    .instagram-embed-section {
        padding-top: 64px;
    }

    .instagram-embed-carousel {
        overflow: hidden;
    }

    .instagram-embed-carousel::before,
    .instagram-embed-carousel::after {
        display: block;
        width: 28px;
    }

    .instagram-embed-track {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding: 4px 16px 22px;
        scroll-padding-inline: 16px;
        scroll-snap-type: x mandatory;
    }

    .instagram-embed-item {
        width: 88vw;
        max-width: 88vw;
        flex: 0 0 88vw;
    }

    .instagram-embed-item > .instagram-media {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .section {
        padding-block: 72px 82px;
    }

    .floor-plan {
        grid-template-rows: 92px 124px 78px;
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 33px;
    }

    .hero p:not(.eyebrow) {
        min-height: 164px;
        padding-right: 124px;
        font-size: 12px;
        line-height: 1.55;
    }

    .hero p:not(.eyebrow)::after {
        right: 8px;
        width: 108px;
        height: 122px;
    }
}
