/* Klosshuset – chunky building-block style. No external fonts or assets (privacy). */

:root {
  --ink: #1d1d2b;
  --paper: #fff7e6;
  --plate: #f3e7cc;
  --white: #ffffff;
  --muted: #5d5a6b;
  --red: #e8432e;
  --yellow: #ffc727;
  --blue: #2a6fdb;
  --green: #22a05a;
  --orange: #ff8a1f;
  --grey: #c9c4b8;
  --radius: 10px;
  --bw: 3px;
  --lift: 6px;
  --font: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.5;
  /* "Base plate": a field of faint studs. */
  background-color: var(--paper);
  background-image: radial-gradient(circle at 50% 50%, var(--plate) 0 6px, transparent 6.5px);
  background-size: 28px 28px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; padding-block: 28px 56px; }
a { color: var(--blue); font-weight: 700; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 900; }
h2 { font-size: 1.4rem; font-weight: 900; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
hr { border: 0; border-top: var(--bw) dashed var(--grey); margin: 24px 0; }
:focus-visible { outline: 4px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 620px; margin-inline: auto; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; }
.hint { color: var(--muted); font-size: .9rem; font-weight: 500; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* ---------- Header / footer ---------- */
.site-header { background: var(--white); border-bottom: var(--bw) solid var(--ink); box-shadow: 0 4px 0 var(--yellow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-block: 8px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 900; font-size: 1.5rem; letter-spacing: -.02em; }
.logo-brick { width: 46px; height: 30px; }
.site-footer { border-top: var(--bw) solid var(--ink); background: var(--white); padding-block: 16px; font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Bricks (cards) ---------- */
.brick {
  --c: var(--yellow);
  position: relative;
  display: block;
  background: var(--white);
  border: var(--bw) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 var(--lift) 0 var(--ink);
  margin-top: 14px;     /* room for the studs */
  margin-bottom: 24px;
  color: inherit;
  text-decoration: none;
}
/* Side-view studs sitting on top of the brick. */
.brick::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: calc(-10px - var(--bw));
  height: 10px;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 26px, transparent 26px 44px) top / 100% var(--bw) no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 var(--bw), var(--c) var(--bw) calc(26px - var(--bw)), var(--ink) calc(26px - var(--bw)) 26px, transparent 26px 44px);
}
/* Show whole studs only (a multiple of the 44px stud pitch) where the browser supports round(). */
@supports (width: round(down, 100px, 44px)) {
  .brick::before { right: auto; width: calc(round(down, 100% - 18px, 44px) - 18px); }
}
.brick-head { background: var(--c); border-bottom: var(--bw) solid var(--ink); padding: 14px 20px 10px; border-radius: calc(var(--radius) - var(--bw)) calc(var(--radius) - var(--bw)) 0 0; }
.brick-head h1, .brick-head h2, .brick-head h3 { margin: 0; }
.brick-body { padding: 20px; }
.brick-body > :last-child { margin-bottom: 0; }

.brick--red, .brick--c0 { --c: var(--red); }
.brick--yellow, .brick--c1 { --c: var(--yellow); }
.brick--blue, .brick--c2 { --c: var(--blue); }
.brick--green, .brick--c3 { --c: var(--green); }
.brick--red .brick-head, .brick--blue .brick-head, .brick--green .brick-head,
.brick--c0 .brick-head, .brick--c2 .brick-head, .brick--c3 .brick-head { color: var(--white); }

.brick--link { transition: transform .12s ease, box-shadow .12s ease; }
.brick--link:hover { transform: translateY(-3px); box-shadow: 0 calc(var(--lift) + 3px) 0 var(--ink); }
.brick--link:active { transform: translateY(var(--lift)); box-shadow: 0 0 0 var(--ink); }

/* ---------- Buttons ---------- */
.btn, .fake-btn {
  --c: var(--yellow);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 900; font-size: 1rem;
  color: var(--ink); background: var(--c);
  border: var(--bw) solid var(--ink); border-radius: 8px;
  box-shadow: 0 4px 0 var(--ink);
  padding: 10px 18px; text-decoration: none; cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover { filter: brightness(1.05); color: var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.btn--big { font-size: 1.15rem; padding: 14px 26px; width: 100%; }
.btn--small { font-size: .85rem; padding: 5px 10px; box-shadow: 0 3px 0 var(--ink); }
.btn--red { --c: var(--red); color: var(--white); }
.btn--red:hover { color: var(--white); }
.btn--green { --c: var(--green); color: var(--white); }
.btn--green:hover { color: var(--white); }
.btn--ghost { --c: var(--white); }
.fake-btn { margin-top: 4px; font-size: .9rem; padding: 6px 12px; box-shadow: 0 3px 0 var(--ink); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--blue); cursor: pointer; text-decoration: underline; }
.link-btn.danger, .danger { color: var(--red); }
form.inline { display: inline; }

/* ---------- Public pages ---------- */
.hero { padding: 20px 0 8px; max-width: 720px; }
.hero--small { padding-top: 0; }
.hl { background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: 8px; padding: 0 .2em; box-shadow: 0 4px 0 var(--ink); display: inline-block; transform: rotate(-1.5deg); }
.section-title { margin-top: 24px; }
.crumbs { font-size: .9rem; margin-bottom: 12px; }
.facts { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 12px; font-weight: 700; font-size: .9rem; }

.location-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.day-title { display: inline-block; background: var(--ink); color: var(--white); padding: 4px 12px; border-radius: 6px; }

/* ---------- Available times: month calendar of square bricks ---------- */
.booker { display: grid; gap: 24px 32px; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); align-items: start; scroll-margin-top: 12px; }
@media (max-width: 860px) { .booker { grid-template-columns: 1fr; } }

.month { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius); box-shadow: 0 var(--lift) 0 var(--ink); padding: 14px 16px 16px; }
.month-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-bottom: 10px; }
.month-title { margin: 0; text-align: center; font-size: 1.4rem; font-weight: 900; text-transform: capitalize; }
.month-title small { font-size: .9rem; color: var(--muted); font-weight: 800; }
.month-nav { justify-self: start; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 900; border: 2px solid var(--ink); border-radius: 8px; box-shadow: 0 3px 0 var(--ink); padding: 4px 10px; background: var(--paper); text-transform: capitalize; }
.month-nav:last-child { justify-self: end; }
.month-nav:hover { background: var(--yellow); color: var(--ink); }
.month-nav.is-off { visibility: hidden; }
.month-nav.is-quiet { color: var(--muted); background: var(--white); border-color: var(--grey); box-shadow: 0 3px 0 var(--grey); }

.month-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px 10px; }
.month-wd { text-align: center; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* A square 2x2 brick seen from above: four studs, a darker side as the shadow. */
.day-brick {
  --c: var(--yellow);
  --stud-hi: rgba(255, 255, 255, .45);
  --stud-lo: rgba(0, 0, 0, .13);
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 1; width: 100%;
  background-color: var(--c);
  background-image: radial-gradient(circle closest-side, var(--stud-hi) 0 50%, var(--stud-lo) 52% 68%, transparent 70%);
  background-size: 50% 50%;
  border: var(--bw) solid var(--ink); border-radius: 8px; box-shadow: 0 5px 0 var(--ink);
  color: var(--ink); text-decoration: none; line-height: 1;
  transition: transform .1s ease, box-shadow .1s ease;
}
.db-n { font-size: clamp(1rem, 2.6vw, 1.6rem); font-weight: 900; text-shadow: 0 0 6px var(--c), 0 0 2px var(--c); }
.db-info { position: absolute; left: 0; right: 0; bottom: 6%; text-align: center; font-size: .72rem; font-weight: 800; text-shadow: 0 0 4px var(--c); }
.db-today { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--red); color: var(--white); font-size: .62rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; border: 2px solid var(--ink); border-radius: 999px; padding: 1px 6px; line-height: 1.2; }

.day-brick--c0 { --c: var(--yellow); }
.day-brick--c1 { --c: #7fc3ff; }
.day-brick--c2 { --c: #8fe0a8; }
.day-brick--c3 { --c: #ffb08a; }
a.day-brick:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--ink); color: var(--ink); }
a.day-brick:active, a.day-brick.is-selected { transform: translateY(5px); box-shadow: 0 0 0 var(--ink); }
a.day-brick.is-selected { outline: 4px solid var(--ink); outline-offset: 3px; }
.day-brick--full { --c: #e7e2d8; color: var(--muted); border-style: dashed; box-shadow: 0 3px 0 var(--grey); }
.day-brick--none { --c: var(--paper); --stud-hi: rgba(255, 255, 255, .6); --stud-lo: rgba(0, 0, 0, .05); color: #a39e92; border: 2px solid #d9cfb8; box-shadow: none; }
.day-brick--past { --c: transparent; --stud-hi: transparent; --stud-lo: rgba(0, 0, 0, .04); color: #c6c0b3; border: 2px dashed #e2d9c4; box-shadow: none; }
.day-brick--none .db-n, .day-brick--past .db-n { font-size: clamp(.9rem, 2vw, 1.15rem); font-weight: 800; text-shadow: none; }

.month-legend { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.month-legend li { display: inline-flex; align-items: center; gap: 6px; }
.month-legend .sw-brick { display: inline-block; width: 18px; height: 18px; background-image: none; border-width: 2px; border-radius: 4px; box-shadow: none; }

.times { scroll-margin-top: 12px; }
.times-title { margin: 0 0 2px; }
.times-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 18px 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.times-list .slot { padding: 10px 12px; }
.times-list .slot strong { font-size: 1.1rem; }
.times-list .slot span { font-size: .85rem; }

@media (max-width: 560px) {
  .month { padding: 12px 10px 14px; }
  .month-grid { gap: 9px 6px; }
  .month-nav span { display: none; }
  .db-info { display: none; }
  .day-brick { border-width: 2px; border-radius: 6px; }
  a.day-brick--open { box-shadow: 0 4px 0 var(--ink); }
  .db-today { font-size: .55rem; padding: 0 4px; top: -8px; }
}

.slot {
  --c: var(--yellow);
  position: relative; display: flex; flex-direction: column; gap: 0;
  margin-top: 8px; padding: 7px 9px;
  background: var(--c); color: var(--ink); text-decoration: none;
  border: var(--bw) solid var(--ink); border-radius: 7px; box-shadow: 0 4px 0 var(--ink);
  transition: transform .1s ease, box-shadow .1s ease;
}
/* Four studs on top = a classic 4-stud brick. Each stud sits centred in a quarter of the width,
   so there are always exactly four, however wide the brick is. */
.slot::before {
  content: ""; position: absolute; left: 4px; right: 4px; top: calc(-8px - var(--bw)); height: 8px;
  background:
    linear-gradient(90deg, transparent 20%, var(--ink) 20% 80%, transparent 80%) top left / 25% var(--bw) repeat-x,
    linear-gradient(90deg, transparent 20%, var(--ink) 20% calc(20% + var(--bw)), var(--c) calc(20% + var(--bw)) calc(80% - var(--bw)), var(--ink) calc(80% - var(--bw)) 80%, transparent 80%) top left / 25% 100% repeat-x;
}
.slot strong { font-size: 1rem; font-weight: 900; white-space: nowrap; }
.slot span { font-size: .78rem; font-weight: 700; }
.slot--c0 { --c: var(--yellow); }
.slot--c1 { --c: #7fc3ff; }
.slot--c2 { --c: #8fe0a8; }
.slot--c3 { --c: #ffb08a; }
.slot--few span::before { content: "● "; color: var(--red); }
a.slot:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--ink); color: var(--ink); }
a.slot:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.slot--full { --c: #e7e2d8; color: var(--muted); border-style: dashed; box-shadow: none; }
.slot--full::before { opacity: .5; }

.summary { display: grid; gap: 6px 18px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: var(--paper); border: 2px dashed var(--ink); border-radius: 8px; padding: 12px 16px; margin-bottom: 20px; }
.summary .label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 800; }
.ref { font-family: ui-monospace, Menlo, monospace; font-size: 1.1rem; }

.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin-top: 1.2em; font-size: 1.2rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 6px; }
.form label { font-weight: 800; margin-top: 8px; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: var(--bw) solid var(--ink); border-radius: 8px; padding: 10px 12px; width: 100%;
}
input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--green); flex: none; margin: 2px 0 0; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--yellow); }
input[aria-invalid="true"] { border-color: var(--red); }
.form .btn { margin-top: 16px; }
.field-error { color: var(--red); font-weight: 800; margin: 0; font-size: .9rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
fieldset { border: 0; padding: 0; margin: 8px 0 0; }
legend { font-weight: 800; padding: 0; margin-bottom: 6px; }
.row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.prefix { display: flex; align-items: stretch; }
.prefix span { display: flex; align-items: center; padding: 0 8px; border: var(--bw) solid var(--ink); border-right: 0; border-radius: 8px 0 0 8px; background: var(--paper); font-size: .85rem; color: var(--muted); white-space: nowrap; max-width: 50%; overflow: hidden; text-overflow: ellipsis; }
.prefix input { border-radius: 0 8px 8px 0; min-width: 0; }

.chip { display: inline-flex; margin: 0 6px 6px 0 !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { border: 2px solid var(--ink); border-radius: 6px; padding: 4px 10px; font-weight: 800; background: var(--white); box-shadow: 0 3px 0 var(--ink); }
.chip input:checked + span { background: var(--green); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.weekdays { display: flex; flex-wrap: wrap; }

/* ---------- Alerts ---------- */
.alert { border: var(--bw) solid var(--ink); border-radius: 8px; padding: 10px 14px; background: var(--white); font-weight: 600; }
.alert--ok { background: #dff5e6; }
.alert--bad { background: #ffe1dc; }
.alert p:last-child { margin-bottom: 0; }
.copy { display: block; word-break: break-all; background: var(--white); padding: 8px; border: 2px dashed var(--ink); border-radius: 6px; user-select: all; }

/* ---------- Admin ---------- */
.admin-nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: .95rem; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.page-head h1, .page-head h2 { margin: 0; }
.pager { display: flex; gap: 8px; }
.admin-grid { display: grid; gap: 24px; grid-template-columns: minmax(280px, 340px) 1fr; align-items: start; }
@media (max-width: 860px) { .admin-grid { grid-template-columns: 1fr; } }
.day-card { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius); box-shadow: 0 4px 0 var(--ink); margin-bottom: 16px; overflow: hidden; }
.day-card > header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 10px 14px; background: var(--paper); border-bottom: 2px solid var(--ink); }
.day-card > header h3 { margin: 0; }
.day-card > p, .day-card > form, .day-card > .user-actions { padding: 10px 14px; margin: 0; }
.slot-row { padding: 10px 14px; border-bottom: 2px dashed var(--grey); }
.slot-row:last-child { border-bottom: 0; }
.slot-row-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.meter { width: 90px; height: 14px; }
.cap-form input { width: 76px; padding: 3px 6px; border-width: 2px; }
.bookings { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .9rem; }
.bookings th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 4px 6px; }
.bookings td { padding: 6px; border-top: 1px solid var(--grey); vertical-align: top; overflow-wrap: anywhere; }
.status-cancelled td, .status-expired td { color: var(--muted); text-decoration: line-through; }
.status-cancelled td:last-child, .status-expired td:last-child { text-decoration: none; }
.badge { font-size: .7rem; vertical-align: middle; background: var(--blue); color: var(--white); padding: 2px 8px; border-radius: 999px; border: 2px solid var(--ink); }
.badge--warn { background: var(--yellow); color: var(--ink); }
.user-locs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.user-actions { display: flex; gap: 16px; border-top: 2px dashed var(--grey); }

@media (max-width: 600px) {
  .bookings thead { display: none; }
  .bookings tr { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--grey); padding: 6px 0; }
  .bookings td { border: 0; padding: 2px 6px; }
}


/* ---------- Check-in & statistics ---------- */
.stat-tiles { list-style: none; padding: 0; margin: 12px 0 20px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.stat-tiles li { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius); box-shadow: 0 4px 0 var(--ink); padding: 10px 14px; display: flex; flex-direction: column; }
.stat-tiles li:nth-child(4n+1) { border-top: 10px solid var(--yellow); }
.stat-tiles li:nth-child(4n+2) { border-top: 10px solid var(--blue); }
.stat-tiles li:nth-child(4n+3) { border-top: 10px solid var(--green); }
.stat-tiles li:nth-child(4n+4) { border-top: 10px solid var(--red); }
.stat-tiles .num { font-size: 1.8rem; font-weight: 900; line-height: 1.1; }
.stat-tiles li > span:last-child { font-size: .85rem; font-weight: 700; color: var(--muted); }
.checkin-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-bottom: 2px dashed var(--grey); }
.checkin-row .who { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.checkin-row .actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.checkin-row .btn:not(.btn--small) { padding: 10px 16px; font-size: 1.05rem; }
.checkin-showed { background: #e6f7ec; }
.checkin-no_show { background: #fde8e4; }
.came-form { display: inline-flex; gap: 6px; align-items: center; }
.came-form select { width: auto; padding: 8px; }
.walkin-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--paper); flex-wrap: wrap; }
.walkin-row .num { font-size: 1.3rem; font-weight: 900; min-width: 2ch; text-align: center; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.badge--ok { background: var(--green); }
.badge--bad { background: var(--red); }
.day-card > p.muted { padding: 10px 14px; margin: 0; }
.filters { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.filters label { display: block; font-weight: 800; font-size: .9rem; }
.filters input, .filters select { width: auto; }
.presets { display: flex; gap: 14px; flex-wrap: wrap; font-size: .9rem; margin: 10px 0 0; }
.table-scroll { overflow-x: auto; }
.stats { width: 100%; border-collapse: collapse; font-size: .9rem; }
.stats th, .stats td { padding: 6px 8px; text-align: right; border-top: 1px solid var(--grey); white-space: nowrap; }
.stats th:first-child, .stats td:first-child { text-align: left; }
.stats thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border-top: 0; }
.stats tfoot th { border-top: 2px solid var(--ink); }
.bar-col { width: 30%; min-width: 120px; }
.bar { display: block; position: relative; height: 16px; background: var(--paper); border: 2px solid var(--ink); border-radius: 4px; overflow: hidden; }
.bar > span { position: absolute; left: 0; display: block; }
.bar-booked { top: 0; height: 50%; background: var(--yellow); }
.bar-visitors { bottom: 0; height: 50%; background: var(--green); }
.legend { font-size: .85rem; display: inline-flex; gap: 6px; align-items: center; }
.sw { display: inline-block; width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 2px; }
.sw-booked { background: var(--yellow); }
.sw-visitors { background: var(--green); }
.w-0 { width: 0%; }
.w-2 { width: 2%; }
.w-4 { width: 4%; }
.w-6 { width: 6%; }
.w-8 { width: 8%; }
.w-10 { width: 10%; }
.w-12 { width: 12%; }
.w-14 { width: 14%; }
.w-16 { width: 16%; }
.w-18 { width: 18%; }
.w-20 { width: 20%; }
.w-22 { width: 22%; }
.w-24 { width: 24%; }
.w-26 { width: 26%; }
.w-28 { width: 28%; }
.w-30 { width: 30%; }
.w-32 { width: 32%; }
.w-34 { width: 34%; }
.w-36 { width: 36%; }
.w-38 { width: 38%; }
.w-40 { width: 40%; }
.w-42 { width: 42%; }
.w-44 { width: 44%; }
.w-46 { width: 46%; }
.w-48 { width: 48%; }
.w-50 { width: 50%; }
.w-52 { width: 52%; }
.w-54 { width: 54%; }
.w-56 { width: 56%; }
.w-58 { width: 58%; }
.w-60 { width: 60%; }
.w-62 { width: 62%; }
.w-64 { width: 64%; }
.w-66 { width: 66%; }
.w-68 { width: 68%; }
.w-70 { width: 70%; }
.w-72 { width: 72%; }
.w-74 { width: 74%; }
.w-76 { width: 76%; }
.w-78 { width: 78%; }
.w-80 { width: 80%; }
.w-82 { width: 82%; }
.w-84 { width: 84%; }
.w-86 { width: 86%; }
.w-88 { width: 88%; }
.w-90 { width: 90%; }
.w-92 { width: 92%; }
.w-94 { width: 94%; }
.w-96 { width: 96%; }
.w-98 { width: 98%; }
.w-100 { width: 100%; }

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

/* ---------- Public nav + Om oss ---------- */
.site-nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 1rem; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }

.about-grid { display: grid; gap: 8px 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.img-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 4 / 3; padding: 12px;
  background: repeating-linear-gradient(45deg, var(--plate) 0 14px, var(--paper) 14px 28px);
  border: var(--bw) dashed var(--ink); border-radius: var(--radius);
  color: var(--muted); font-weight: 800;
}
.img-placeholder span { background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 12px; }
.about-hero-img { aspect-ratio: 21 / 8; margin: 8px 0 28px; }
.about-gallery { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.team-row { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.team-row h3, .team-row p { margin: 0; }
.img-placeholder--round { width: 72px; height: 72px; aspect-ratio: 1; border-radius: 50%; flex: none; padding: 0; }
.img-placeholder--round span { border: 0; background: none; padding: 0; font-size: .8rem; }
@media (max-width: 600px) { .about-hero-img { aspect-ratio: 16 / 9; } }
