/* Slant Hall: components. Built only from tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sh-wall);
  color: var(--sh-bone);
  font-family: var(--sh-sans);
  font-size: var(--sh-text-body);
  line-height: 1.55;
  overflow-x: clip;
}
a { color: inherit; }
img, svg { max-width: 100%; display: block; }

/* ---------- Shell: fixed left column + main ---------- */
.sh-shell { display: grid; grid-template-columns: var(--sh-sidebar) minmax(0, 1fr); min-height: 100vh; }
.sh-side {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 36px 28px 32px;
}
.sh-main { padding: 28px clamp(16px, 3vw, 44px) 0 0; min-width: 0; }

.sh-logo { display: inline-flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--sh-bone); }
.sh-logo__mark { width: 52px; height: 36px; color: var(--sh-muted); }
.sh-logo__name { font-weight: 700; font-size: 15px; line-height: 1.2; }

.sh-menu { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 2px; }
.sh-menu a { text-decoration: none; color: var(--sh-muted); font-weight: 600; font-size: 15px; line-height: 1.35; transition: color var(--sh-ease); }
.sh-menu a:hover, .sh-menu a[aria-current] { color: var(--sh-bone); }

.sh-side__meta { display: grid; gap: 14px; font-size: var(--sh-text-micro); color: var(--sh-muted); }
.sh-side__meta b { display: block; color: var(--sh-bone); font-weight: 600; }
.sh-side__meta a { text-decoration: none; color: var(--sh-bone); font-weight: 600; }

@media (max-width: 860px) {
  .sh-shell { grid-template-columns: minmax(0, 1fr); }
  .sh-side { position: static; height: auto; flex-direction: row; align-items: flex-start; gap: 16px; padding: 20px 16px 8px; }
  .sh-logo { flex-direction: row; align-items: center; gap: 10px; }
  .sh-logo__mark { width: 40px; height: 28px; }
  .sh-menu { margin: 0; grid-auto-flow: column; gap: 14px; }
  .sh-menu a { font-size: 14px; }
  .sh-side__meta { display: none; }
  .sh-main { padding: 8px 16px 0; }
}
@media (max-width: 520px) {
  .sh-side { flex-direction: column; gap: 12px; }
}

/* ---------- Slanted panels ---------- */
.sh-panel { background: var(--sh-panel); clip-path: var(--sh-slant-a); padding: clamp(48px, 5vw, 68px) clamp(24px, 4vw, 48px) clamp(44px, 5vw, 68px); }
.sh-panel--c { clip-path: var(--sh-slant-c); }
.sh-panel + .sh-panel, .sh-panel + .sh-mural, .sh-mural + .sh-panel { margin-top: 18px; }

.sh-mural { clip-path: var(--sh-slant-b); background: var(--sh-ochre); aspect-ratio: 16 / 5.4; overflow: hidden; }
.sh-mural svg { width: 100%; height: 100%; }
@media (max-width: 600px) { .sh-mural { aspect-ratio: 4 / 2.6; } }

/* ---------- Type ---------- */
.sh-display { font-size: var(--sh-text-display); font-weight: 800; letter-spacing: var(--sh-track-tight); line-height: 1; margin: 0 0 18px; }
.sh-display em { font-style: normal; color: var(--sh-mustard); }
.sh-h2 { font-size: var(--sh-text-h2); font-weight: var(--sh-weight-title); letter-spacing: var(--sh-track-tight); line-height: 1.1; margin: 0 0 14px; }
.sh-h3 { font-size: var(--sh-text-h3); font-weight: var(--sh-weight-title); line-height: 1.15; margin: 0 0 8px; color: var(--sh-mustard); }
.sh-lead { font-size: var(--sh-text-lead); color: var(--sh-muted); max-width: 40ch; margin: 0 0 26px; }
.sh-label { display: block; font-size: var(--sh-text-small); font-weight: 600; color: var(--sh-muted); margin: 0 0 14px; }
.sh-mono { font-family: var(--sh-mono); letter-spacing: var(--sh-track-mono); }
.sh-muted { color: var(--sh-muted); }

/* ---------- Buttons ---------- */
.sh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--sh-radius);
  font: 600 15px/1 var(--sh-sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background var(--sh-ease), color var(--sh-ease), border-color var(--sh-ease);
}
.sh-btn--mustard { background: var(--sh-mustard); color: var(--sh-on-mustard); }
.sh-btn--mustard:hover { background: var(--sh-mustard-deep); }
.sh-btn--tile { background: var(--sh-tile); color: var(--sh-bone); }
.sh-btn--tile:hover { background: var(--sh-tile-hover); }
.sh-btn--line { background: transparent; color: var(--sh-bone); border-color: var(--sh-hairline); }
.sh-btn--line:hover { border-color: var(--sh-muted); }
.sh-btn--block { width: 100%; }
.sh-btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.sh-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Program tiles ---------- */
.sh-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sh-gap-hair); }
.sh-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .sh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sh-tiles, .sh-tiles--3 { grid-template-columns: minmax(0, 1fr); } }

.sh-tile { background: var(--sh-tile); padding: var(--sh-tile-pad); min-height: 168px; display: flex; flex-direction: column; text-decoration: none; color: var(--sh-bone); transition: background var(--sh-ease); }
a.sh-tile:hover { background: var(--sh-tile-hover); }
.sh-tile__day { font-size: var(--sh-text-small); color: var(--sh-muted); }
.sh-tile__date { font-family: var(--sh-mono); font-size: var(--sh-text-small); font-weight: 500; color: var(--sh-bone); margin-bottom: 6px; }
.sh-tile__title { font-size: var(--sh-text-h3); font-weight: var(--sh-weight-title); line-height: 1.15; color: var(--sh-mustard); margin: 0 0 auto; padding-bottom: 14px; }
.sh-tile__room { font-size: var(--sh-text-small); color: var(--sh-mustard); }
.sh-tile__text { font-size: var(--sh-text-small); color: var(--sh-muted); margin: -6px 0 14px; }

/* ---------- Status dot ---------- */
.sh-status { display: inline-flex; align-items: center; gap: 8px; font-size: var(--sh-text-micro); color: var(--sh-muted); }
.sh-status::before { content: ""; width: 8px; height: 8px; background: var(--sh-sage); }
.sh-status--busy::before { background: var(--sh-ochre); }
.sh-status--full::before { background: var(--sh-rust); }

/* ---------- Section heading row ---------- */
.sh-row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 0 0 14px; }
.sh-row-head .sh-label { margin: 0; }
.sh-row-head a { font-size: var(--sh-text-small); color: var(--sh-muted); }

/* ---------- Hero inside a panel ---------- */
.sh-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
@media (max-width: 900px) { .sh-hero { grid-template-columns: minmax(0, 1fr); } }
.sh-facts { display: grid; gap: var(--sh-gap-hair); }
.sh-fact { background: var(--sh-tile); padding: 14px 18px; display: flex; justify-content: space-between; gap: 12px; font-size: var(--sh-text-small); }
.sh-fact span:first-child { color: var(--sh-muted); }
.sh-fact span:last-child { font-family: var(--sh-mono); }

/* ---------- Plain info columns ---------- */
.sh-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sh-gap); }
@media (max-width: 760px) { .sh-cols { grid-template-columns: minmax(0, 1fr); } }
.sh-cols p { margin: 0; color: var(--sh-muted); font-size: var(--sh-text-small); }
.sh-cols h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }

/* ---------- Pricing ---------- */
.sh-toggle { display: inline-flex; gap: var(--sh-gap-hair); margin: 0 0 22px; }
.sh-toggle button { background: var(--sh-tile); color: var(--sh-muted); border: 0; font: 600 14px/1 var(--sh-sans); padding: 12px 16px; cursor: pointer; white-space: nowrap; }
.sh-toggle button[aria-pressed="true"] { background: var(--sh-bone); color: var(--sh-on-mustard); }

.sh-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sh-gap-hair); }
@media (max-width: 900px) { .sh-plans { grid-template-columns: minmax(0, 1fr); } }
.sh-plan { background: var(--sh-tile); padding: 26px var(--sh-tile-pad) 24px; display: flex; flex-direction: column; }
.sh-plan--featured { background: var(--sh-tile-hover); box-shadow: inset 0 3px 0 var(--sh-mustard); }
.sh-plan__name { font-size: var(--sh-text-h3); font-weight: 700; color: var(--sh-mustard); margin: 0 0 4px; }
.sh-plan__desc { color: var(--sh-muted); font-size: var(--sh-text-small); margin: 0 0 20px; min-height: 2.8em; }
.sh-plan__price { font-family: var(--sh-mono); font-size: 40px; font-weight: 500; line-height: 1; margin: 0 0 4px; }
.sh-plan__per { color: var(--sh-muted); font-size: var(--sh-text-small); margin: 0 0 20px; }
.sh-plan__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; font-size: var(--sh-text-small); }
.sh-plan__list li { padding-left: 18px; position: relative; }
.sh-plan__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 2px; background: var(--sh-mustard); }
.sh-plan .sh-btn { margin-top: auto; }

.sh-table { width: 100%; border-collapse: collapse; font-size: var(--sh-text-small); }
.sh-table th, .sh-table td { text-align: left; padding: 12px 10px; border-bottom: var(--sh-border); }
.sh-table th { color: var(--sh-muted); font-weight: 600; }
.sh-table td:not(:first-child), .sh-table th:not(:first-child) { font-family: var(--sh-mono); }
.sh-table-wrap { overflow-x: auto; }

.sh-faq { display: grid; gap: var(--sh-gap-hair); }
.sh-faq details { background: var(--sh-tile); padding: 16px var(--sh-tile-pad); }
.sh-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.sh-faq summary::after { content: "+"; color: var(--sh-mustard); font-family: var(--sh-mono); }
.sh-faq details[open] summary::after { content: "\2212"; }
.sh-faq p { color: var(--sh-muted); margin: 10px 0 0; font-size: var(--sh-text-small); }

/* ---------- Article ---------- */
.sh-article { max-width: var(--sh-narrow); }
.sh-article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--sh-mono); font-size: var(--sh-text-small); color: var(--sh-muted); margin: 0 0 28px; }
.sh-article p { margin: 0 0 1.2em; font-size: 17px; line-height: 1.7; }
.sh-article h2 { font-size: 26px; font-weight: 700; letter-spacing: var(--sh-track-tight); color: var(--sh-mustard); margin: 1.8em 0 .5em; }
.sh-article ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.sh-article li { margin-bottom: .4em; }
.sh-pull { margin: 1.8em 0; padding: 22px var(--sh-tile-pad); background: var(--sh-tile); clip-path: var(--sh-slant-c); font-size: 22px; font-weight: 700; line-height: 1.3; }
.sh-pull cite { display: block; margin-top: 10px; font: 400 var(--sh-text-small) var(--sh-mono); color: var(--sh-muted); font-style: normal; }
.sh-figure { margin: 1.8em 0; }
.sh-figure figcaption { font-family: var(--sh-mono); font-size: var(--sh-text-micro); color: var(--sh-faint); margin-top: 8px; }

/* ---------- Forms ---------- */
.sh-form { display: grid; gap: 16px; }
.sh-field { display: grid; gap: 6px; }
.sh-field label { font-size: var(--sh-text-small); font-weight: 600; color: var(--sh-muted); }
.sh-input, .sh-select {
  width: 100%; min-height: 46px; padding: 0 14px; background: var(--sh-tile); color: var(--sh-bone);
  border: var(--sh-border); border-radius: var(--sh-radius); font: 400 16px var(--sh-sans);
}
.sh-input:focus, .sh-select:focus { outline: 2px solid var(--sh-mustard); outline-offset: 0; border-color: transparent; }
.sh-hint { font-size: var(--sh-text-micro); color: var(--sh-faint); }
.sh-check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--sh-text-small); color: var(--sh-muted); }
.sh-check input { accent-color: var(--sh-mustard); width: 18px; height: 18px; margin: 2px 0 0; }
.sh-choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sh-gap-hair); }
@media (max-width: 520px) { .sh-choice { grid-template-columns: minmax(0, 1fr); } }
.sh-choice label { position: relative; background: var(--sh-tile); padding: 14px 16px; cursor: pointer; display: grid; gap: 2px; font-size: var(--sh-text-small); }
.sh-choice input { position: absolute; opacity: 0; pointer-events: none; }
.sh-choice b { color: var(--sh-mustard); font-size: 16px; }
.sh-choice span { color: var(--sh-muted); font-family: var(--sh-mono); }
.sh-choice label:has(input:checked) { background: var(--sh-tile-hover); box-shadow: inset 0 3px 0 var(--sh-mustard); }

/* ---------- Footer ---------- */
.sh-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 28px 0 36px; font-size: var(--sh-text-micro); color: var(--sh-faint); }
.sh-footer a { color: var(--sh-muted); text-decoration: none; }
.sh-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Mural paint (for inline SVG drawings) ---------- */
.sh-p-ochre { fill: var(--sh-ochre); }
.sh-p-rust { fill: var(--sh-rust); }
.sh-p-slate { fill: var(--sh-slate); }
.sh-p-sage { fill: var(--sh-sage); }
.sh-p-mustard { fill: var(--sh-mustard); }
.sh-p-wall { fill: var(--sh-wall); }
.sh-p-bone { fill: var(--sh-bone); }
.sh-l-sage, .sh-l-bone, .sh-l-wall, .sh-l-mustard { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.sh-l-sage { stroke: var(--sh-sage); }
.sh-l-bone { stroke: var(--sh-bone); }
.sh-l-wall { stroke: var(--sh-wall); }
.sh-l-mustard { stroke: var(--sh-mustard); }
.sh-l-thin { stroke-width: 3; }

.sh-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.sh-fieldset legend { padding: 0; margin: 0 0 6px; font-size: var(--sh-text-small); font-weight: 600; color: var(--sh-muted); }
