/* Local system fonts and CSS only. */
:root {
    color-scheme: light;
    --background: #f7f6f1;
    --surface: #fffefa;
    --ink: #29352e;
    --muted: #60685f;
    --accent: #40563b;
    --border: #dedfd4;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 13rem; }
body { margin: 0; background: var(--background); color: var(--ink); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-underline-offset: .25em; }
a, button { -webkit-tap-highlight-color: #e5ebdd; }
:focus-visible { outline: 3px solid #95602e; outline-offset: 4px; }
.container { width: min(100% - 3rem, 1180px); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner { padding-block: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 750; font-size: 1.2rem; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; color: white; background: var(--accent); font-family: Georgia, serif; }
nav { display: flex; flex-wrap: wrap; gap: .2rem; }
nav a { display: flex; align-items: center; min-height: 44px; padding: .55rem .7rem; border-radius: .5rem; font-size: .9rem; font-weight: 600; text-decoration: none; }
nav a:hover { background: #f0f1e9; }
nav a[aria-current="page"] { background: #e8eddf; color: #30452a; }
.main-content { padding-block: 3rem 4rem; flex: 1; }
.home-heading { padding: 1rem 0 2.5rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border); }
.page-heading { margin-bottom: 2rem; }
.eyebrow { margin: 0 0 .5rem; text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 700; color: var(--accent); }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 400; line-height: 1.15; margin: 0; overflow-wrap: anywhere; }
h2 { font-size: 1.2rem; line-height: 1.4; margin: 0 0 .7rem; }
p { color: var(--muted); margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.subtitle { margin-top: 1rem; font-size: 1.1rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: .9rem; padding: 1.6rem; box-shadow: 0 3px 12px #29352e05; overflow-wrap: anywhere; }
.home-grid { margin-top: 2rem; }
.feature-card { position: relative; min-height: 230px; padding-bottom: 3rem; text-decoration: none; }
.feature-card:hover { border-color: #899879; background: #f1f4eb; }
.card-number { display: block; color: var(--accent); font-size: .8rem; letter-spacing: .12em; margin-bottom: 1.5rem; }
.card-arrow { position: absolute; right: 1.5rem; bottom: 1rem; color: var(--accent); font-size: 1.4rem; }
.split-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.2rem; }
.empty-state { min-height: 180px; display: grid; place-items: center; border: 1px dashed var(--border); border-radius: .5rem; padding: 1.5rem; margin-top: 1.3rem; text-align: center; }
button { min-height: 48px; padding: .7rem 1rem; font: inherit; font-weight: 600; border: 1px solid var(--border); border-radius: .5rem; }
button:disabled { background: #eeeee6; color: #61665b; cursor: not-allowed; }
.small { font-size: .85rem; margin-top: .5rem; }
.notice { margin-top: 1.5rem; padding: 1rem 1.3rem; background: #eceee3; border-left: 3px solid #7c896a; border-radius: .25rem; }
.overview { margin-bottom: 1.5rem; }
.feature-list { display: flex; flex-wrap: wrap; gap: .5rem 2rem; padding-left: 1.2rem; color: var(--muted); margin-bottom: 0; }
/* The menu uses nearly the full viewport width, including on large screens. */
.main-content.menu-content { width: calc(100% - 3rem); }
.menu-actions { margin-bottom: 1.5rem; }
.pdf-open-button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 48px; padding: .8rem 1.2rem; background: var(--accent); color: white; border-radius: .5rem; font-weight: 600; text-decoration: none; }
.pdf-open-button:hover { background: #30452a; }
.menu-pdf { display: block; width: 100%; height: 80vh; height: 80dvh; min-height: 360px; border: 1px solid var(--border); border-radius: .9rem; background: var(--surface); }
.pdf-fallback { padding: 2rem; text-align: center; }
@media (max-width: 540px) {
    .main-content.menu-content { width: calc(100% - 2rem); }
    .pdf-open-button { width: 100%; }
    .menu-pdf { height: 70vh; height: 70dvh; }
}
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--border); padding-block: 1rem; font-size: .85rem; color: var(--muted); }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 20; padding: .8rem 1rem; background: white; }
.skip-link:focus { top: .5rem; }
@media (max-width: 900px) {
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
    .container { width: calc(100% - 2rem); }
    .header-inner { padding-block: .65rem; gap: .5rem; }
    nav { width: 100%; gap: 0; }
    nav a { padding: .5rem .6rem; font-size: .85rem; }
    .main-content { padding-block: 2rem 3rem; }
    .home-heading { padding-top: 0; padding-bottom: 1.5rem; }
    .card-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 195px; }
    .card { padding: 1.3rem; }
    .feature-card { padding-bottom: 3rem; }
    .site-footer { align-items: flex-start; }
}

/* Service procedures: readable lists and visible notices without JavaScript. */
.shift-navigation { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.shift-navigation a { justify-content: center; min-height: 48px; padding: .75rem 1.2rem; background: #e8eddf; color: var(--accent); border: 1px solid var(--border); }
.shift-navigation a:hover { background: #dce5d1; }
.shift-plan { margin-bottom: 2rem; }
.shift-plan > h2 { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 400; margin-bottom: 1.5rem; }
.shift-section { padding-block: 1.25rem; border-top: 1px solid var(--border); }
.shift-plan h3 { font-size: 1.1rem; line-height: 1.5; margin: 0 0 .75rem; }
.shift-section ul { margin: 0; padding-left: 1.4rem; max-width: 80ch; }
.shift-section li { padding-left: .2rem; margin-bottom: .65rem; }
.shift-section li:last-child { margin-bottom: 0; }
.shift-notice { margin-block: 1rem 1.5rem; padding: 1.25rem; background: #fff3d9; border: 1px solid #dfc48d; border-left: 5px solid #996b25; border-radius: .5rem; }
.shift-notice h3 { color: #684715; font-size: .9rem; letter-spacing: .05em; }
.shift-notice p { color: var(--ink); max-width: 80ch; }
.shift-condition { color: var(--ink); font-weight: 600; }
.shift-back { display: inline-flex; align-items: center; min-height: 48px; color: var(--accent); }
@media (max-width: 540px) {
    .shift-navigation a { flex: 1 1 100%; }
    .shift-notice { padding: 1rem; }
}

.description-entry { border-top: 1px solid var(--border); margin-top: 1.25rem; padding-top: 1.25rem; }
.description-entry h3 { font-size: 1.05rem; line-height: 1.5; margin: 0 0 .5rem; }
.description-link { display: flex; align-items: center; min-height: 48px; padding-block: .5rem; color: var(--accent); }

.inventory-navigation { gap: .4rem; margin-block: 1.5rem; }
.inventory-navigation a { background: #e8eddf; }
.inventory-group { margin-bottom: 1.5rem; padding: 1.2rem; }
.inventory-table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.inventory-caption { text-align: left; color: var(--muted); padding-block: .5rem 1rem; }
.inventory-table th, .inventory-table td { padding: .75rem .5rem; text-align: left; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
.inventory-table thead { background: #eceee3; }
.inventory-table tbody th { min-width: 140px; }
.inventory-quantity { width: 5rem; min-height: 48px; padding: .5rem; font: inherit; border: 1px solid #8a9283; border-radius: .4rem; background: white; color: var(--ink); }
.inventory-checkbox { display: flex; align-items: center; gap: .5rem; min-height: 48px; cursor: pointer; }
.inventory-checkbox input { width: 24px; height: 24px; flex-shrink: 0; accent-color: #9e3333; }
.inventory-alternative { display: block; font-weight: 400; margin-top: .5rem; }
.inventory-table .is-unavailable { background: #ffe4e4; }
.is-unavailable .inventory-status { color: #902323; }
@media (max-width: 1000px) {
    .inventory-table, .inventory-table tbody { display: block; }
    .inventory-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .inventory-table tr { display: block; border: 1px solid var(--border); border-radius: .5rem; margin-bottom: 1rem; padding: .5rem; }
    .inventory-table th, .inventory-table td { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: .5rem; }
    .inventory-table th::before, .inventory-table td::before { content: attr(data-label); font-weight: 600; }
    .inventory-table .inventory-alternative { grid-column: 1 / -1; }
}
