/* ============================================================
   kauke — design system · Retning A «Lun» (warm · round · editorial)
   Implemented from "kauke retninger.dc.html" (Claude Design).
   Tokens → components → layout → responsive.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --red:        #c2362a;  /* Kaukerød — primary action */
  --red-bright: #d6402f;  /* Lys rød — wordmark accent */
  --red-dark:   #a82c21;  /* hover / destructive text */
  --ink:        #1f2a3d;  /* Blekk — headings, strong text */

  /* Surfaces */
  --cream:  #faf7f2;      /* Fløte — page background */
  --panel:  #f3eee6;      /* panels, neutral pills */
  --white:  #fff;

  /* Text */
  --slate:      #5a6473;  /* secondary text */
  --body:       #33404f;  /* long-form body */
  --body-soft:  #444c5a;
  --taupe:      #8a8072;  /* muted labels, meta */
  --taupe-light:#a79f90;  /* placeholders, disabled text */

  /* Lines */
  --border:       #ece7df; /* card / section borders */
  --border-warm:  #e7e0d3;
  --border-input: #ddd5c8;
  --hair:         #f1ece4; /* table row hairline */

  /* Status */
  --green:        #2f7d5b; --green-soft:#e7f1ec; --green-border:#d4e5dc; /* Godkjent */
  --amber:        #b07a1e; --amber-soft:#f6efe3; --amber-border:#ecdfc7; /* Venter */
  --red-soft:     #fbeeec; --red-soft-border:#f3d9d4;

  /* Avatar palette */
  --av-navy:  #22304a;
  --av-brown: #7c3b32;
  --av-steel: #3f5066;
  --av-stone: #9a9182;

  /* Image placeholder stripes */
  --ph-a: #efe9df;
  --ph-b: #e7e0d3;

  /* Elevation */
  --shadow-card: 0 14px 34px -28px rgba(31,42,61,.45);
  --shadow-lg:   0 22px 60px -30px rgba(31,42,61,.40);
  --shadow-pop:  0 18px 44px -28px rgba(31,42,61,.42);
  --shadow-btn:  0 8px 18px -8px rgba(194,54,42,.6);

  /* Type */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Public Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono:  ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Radius */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 18px; --r-pill: 999px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.5 var(--sans);
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
::placeholder { color: var(--taupe-light); opacity: 1; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(194,54,42,.35); border-radius: var(--r-sm); }

/* ---------- Wordmark ---------- */
.wordmark {
  position: relative; display: inline-block;
  font: 600 24px/1 var(--serif); color: var(--ink);
  padding-left: .3em; white-space: nowrap; text-decoration: none;
}
.wordmark::before {
  content: "\201C";
  position: absolute; left: -.4em; top: -.34em;
  color: var(--red-bright); font-weight: 600; font-size: 1.08em;
}
.wordmark--lg { font-size: 56px; }

/* ---------- Privacy / lock glyph (reused everywhere) ----------
   A small "person" mark = "who can see this". fill = currentColor. */
.pico { width: 1em; height: 1em; display: inline-block; fill: currentColor; flex: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.wrap--wide   { max-width: 1120px; }
.wrap--read   { max-width: 760px; }
.wrap--feed   { max-width: 720px; }
.section      { padding: 48px 0 64px; }
.section--cream { background: var(--cream); }

/* ---------- Site header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 0;
  background: var(--cream); border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header__nav { display: flex; align-items: center; gap: 8px; }
.navlink { font: 600 14px var(--sans); color: var(--slate); text-decoration: none; padding: 10px 14px; border-radius: var(--r-pill); }
.navlink:hover { color: var(--ink); }
.user-chip { display: flex; align-items: center; gap: 11px; font: 600 14px var(--sans); color: var(--slate); }

/* ---------- Avatar ---------- */
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--av-navy); color: #fff; flex: none;
  font: 600 14px var(--sans);
}
.avatar--sm { width: 32px; height: 32px; font-size: 12px; }
.avatar--md { width: 36px; height: 36px; font-size: 13px; }
.avatar--lg { width: 42px; height: 42px; font-size: 14px; }
.avatar--navy  { background: var(--av-navy); }
.avatar--brown { background: var(--av-brown); }
.avatar--steel { background: var(--av-steel); }
.avatar--stone { background: var(--av-stone); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 14px var(--sans); line-height: 1; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--r-pill);
  padding: 12px 18px; cursor: pointer; transition: background .15s, box-shadow .15s, color .15s;
  white-space: nowrap;
}
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-btn); }
.btn--primary:hover { background: var(--red-dark); }
.btn--secondary { background: #fff; color: var(--ink); border-color: var(--border-input); }
.btn--secondary:hover { border-color: #cdc2b0; background: #fffdf9; }
.btn--ghost { background: transparent; color: var(--slate); box-shadow: none; }
.btn--ghost:hover { color: var(--ink); }
.btn--approve { background: var(--green); color: #fff; box-shadow: 0 8px 18px -10px rgba(47,125,91,.6); }
.btn--approve:hover { background: #266b4d; }
.btn--lg { padding: 14px 24px; font-size: 15px; }
.btn--block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"], .btn--disabled {
  background: #e7ddd4; color: var(--taupe-light); border-color: transparent;
  box-shadow: none; cursor: not-allowed; pointer-events: none;
}
.btn--vipps { background: #fff; color: var(--taupe-light); border-color: #e7ddd4; box-shadow: none; cursor: not-allowed; }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 12px var(--sans); border-radius: var(--r-pill);
  padding: 4px 11px; background: var(--panel); color: var(--slate);
  border: 1px solid transparent;
}
.pill--red   { background: var(--red-soft); color: var(--red); }
.pill--admin { background: var(--red-soft); color: var(--red); }
.pill--ghost { background: #fff; border-color: var(--border-warm); color: var(--slate); }
.pill--private { background: var(--panel); border-color: var(--border-warm); color: var(--slate); padding: 7px 13px; font-size: 12.5px; }
.pill--soon  { background: var(--panel); color: var(--taupe); font-size: 10.5px; padding: 2px 8px; }
.count-badge { background: var(--red); color: #fff; border-radius: var(--r-pill); padding: 1px 7px; font: 600 11px var(--sans); }

/* status dot */
.status { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px var(--sans); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--on   { color: var(--green); }
.status--off  { color: var(--taupe); }
.status--off::before { background: #cdc6ba; }

/* ---------- Chips (trip filter) ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font: 600 13px var(--sans); color: var(--slate);
  background: #fff; border: 1px solid var(--border-input);
  border-radius: var(--r-pill); padding: 8px 16px; cursor: pointer;
  text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: #cdc2b0; }
.chip--active { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------- Card ---------- */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--shadow-card);
}
.card__pad { padding: 22px; }

/* ---------- Hub cards ---------- */
.cluster { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.eyebrow { font: 600 12px var(--sans); color: var(--red); letter-spacing: .06em; text-transform: uppercase; }
.lead { font: 400 20px/1.5 var(--sans); color: var(--slate); }

/* ---------- Slug input ---------- */
.slug-input {
  display: flex; align-items: center; overflow: hidden;
  border: 1px solid var(--border-input); border-radius: var(--r-md);
  background: var(--cream);
}
.slug-input__prefix { padding-left: 13px; font: 500 14px var(--mono); color: var(--taupe-light); }
.slug-input input { flex: 1; min-width: 0; border: none; background: transparent; outline: none; padding: 11px 6px; font: 500 14px var(--mono); color: var(--ink); }

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
.label { display: block; font: 600 13px var(--sans); color: var(--ink); margin-bottom: 7px; }
.label .muted { font-weight: 400; color: var(--taupe); }
.input, .textarea {
  width: 100%; border: 1px solid var(--border-input); border-radius: var(--r-md);
  padding: 13px 15px; font: 400 15px var(--sans); color: var(--ink);
  background: var(--cream); outline: none; transition: border-color .15s, box-shadow .15s;
}
.textarea { resize: vertical; min-height: 64px; line-height: 1.45; }
.input:focus, .textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(194,54,42,.16); background: #fff; }
.field--error .input { border-color: var(--red); border-width: 1.5px; box-shadow: 0 0 0 3px rgba(194,54,42,.14); background: #fff; }
.field--ok .input { border-color: var(--green); border-width: 1.5px; box-shadow: 0 0 0 3px rgba(47,125,91,.12); background: #fff; }
.field__msg { display: flex; align-items: center; gap: 6px; margin-top: 7px; font: 500 12.5px var(--sans); }
.field--error .field__msg { color: var(--red-dark); }
.field--ok .field__msg { color: var(--green); }
.field__badge { width: 15px; height: 15px; border-radius: 50%; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 10px var(--sans); flex: none; }

/* divider with label */
.or { display: flex; align-items: center; gap: 12px; margin: 22px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.or span { font: 500 12px var(--sans); color: var(--taupe-light); }

/* ---------- Notices ---------- */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px 18px;
  font: 400 14px/1.55 var(--sans); color: var(--slate);
}
.notice--red    { background: var(--red-soft); border-color: var(--red-soft-border); color: #7c3b32; }
.notice--soft   { background: #fff; border-color: var(--border); }
.notice strong  { font-weight: 700; }
.privacy-note   { font: 400 12.5px/1.5 var(--sans); color: var(--taupe); }

/* admin attention banner */
.alert {
  display: flex; align-items: center; gap: 13px;
  background: #fff; border: 1px solid var(--red-soft-border);
  border-left: 3px solid var(--red); border-radius: var(--r-md);
  padding: 14px 18px; font: 400 14.5px var(--sans); color: var(--body);
}
.alert a { margin-left: auto; font: 600 14px var(--sans); color: var(--red); text-decoration: none; white-space: nowrap; }

/* ---------- Image placeholder ---------- */
.ph {
  background: repeating-linear-gradient(135deg, var(--ph-a) 0 11px, var(--ph-b) 11px 22px);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ph--label { display: flex; align-items: flex-end; padding: 9px; font: 500 10px var(--mono); color: var(--av-stone); }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 8px; }
.gallery--2 { grid-template-columns: 1fr 1fr; }
.gallery--3 { grid-template-columns: 1fr 1fr 1fr; }
.gallery--3 .ph, .gallery--2 .ph { height: 130px; }
.gallery--quad { grid-template-columns: 1fr 1fr; }
.gallery--quad .ph { height: 120px; }
.gallery--feature { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 118px; }
.gallery--feature .ph { height: auto; }
.gallery--feature .ph:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__more { position: relative; overflow: hidden; cursor: zoom-in; }
.gallery__more > span {
  position: absolute; inset: 0; background: rgba(31,42,61,.62);
  display: flex; align-items: center; justify-content: center;
  font: 600 22px var(--serif); color: #fff;
}
.gallery .ph { cursor: zoom-in; }

/* ---------- Post (feed card) ---------- */
.post { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--shadow-card); margin-bottom: 18px; }
.post__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.byline { display: flex; align-items: center; gap: 11px; }
.byline__name { font: 600 14px var(--sans); color: var(--ink); }
.byline__meta { font: 400 13px var(--sans); color: var(--taupe); }
.post__title { font: 600 25px/1.25 var(--serif); color: var(--ink); margin: 16px 0 8px; }
.post__body { font: 400 16px/1.6 var(--sans); color: var(--body-soft); margin: 0 0 16px; }
.post__body:last-child { margin-bottom: 0; }
.post__body strong { font-weight: 600; color: var(--ink); }

/* ---------- Band header ---------- */
.band-head { background: #fff; border-bottom: 1px solid var(--border); }
.band-head__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.band-id { display: flex; align-items: center; gap: 16px; }
.band-logo { width: 60px; height: 60px; border-radius: var(--r-xl); border: 1px solid var(--border-warm);
  background: repeating-linear-gradient(135deg, var(--ph-a) 0 9px, var(--ph-b) 9px 18px); flex: none; }
.band-name { font: 600 30px/1.1 var(--serif); color: var(--ink); margin: 0; }
.band-sub { font: 400 14px var(--sans); color: var(--slate); margin: 5px 0 0; }

/* ---------- Long-form article body ---------- */
.prose { font: 400 17.5px/1.75 var(--sans); color: var(--body); }
.prose p { margin: 0 0 20px; }
.prose h2 { font: 600 25px/1.3 var(--serif); color: var(--ink); margin: 30px 0 12px; }
.prose ul { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--red); font-weight: 600; text-decoration: underline; }
.prose strong { color: var(--ink); }

/* ---------- Centered hero panels (private notice / verify) ---------- */
.hero-panel { background: var(--cream); padding: 72px 0 84px; }
.hero-panel__inner { max-width: 520px; margin: 0 auto; text-align: center; }
.icon-circle {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--red-soft); border: 1px solid var(--red-soft-border);
  display: flex; align-items: center; justify-content: center; margin: 0 auto;
  color: var(--red);
}
.icon-circle--green { background: var(--green-soft); border-color: var(--green-border); color: var(--green); }
.icon-square { width: 80px; height: 80px; border-radius: 24px; }

/* ---------- Empty states ---------- */
.empty {
  border: 1.5px dashed #e0d8cb; background: #fffdf9; border-radius: var(--r-lg);
  padding: 26px 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.empty__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--panel); display: flex; align-items: center; justify-content: center; color: var(--av-stone); }
.empty__icon--green { background: var(--green-soft); color: var(--green); }
.empty h3 { font: 600 20px var(--serif); margin: 16px 0 0; }
.empty p { font: 400 13.5px/1.5 var(--sans); color: var(--slate); margin: 8px 0 16px; max-width: 30ch; }
.empty p:last-child { margin-bottom: 0; }

/* ---------- Toasts ---------- */
.toast {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border);
  border-left: 3px solid var(--slate); border-radius: var(--r-md);
  padding: 14px 16px; box-shadow: 0 10px 26px -18px rgba(31,42,61,.4);
}
.toast + .toast { margin-top: 12px; }
.toast__icon { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; font: 700 14px var(--sans); }
.toast__msg { flex: 1; font: 500 14.5px var(--sans); color: var(--ink); }
.toast__x { font: 400 16px var(--sans); color: var(--taupe-light); cursor: pointer; background: none; border: none; }
.toast--success { border-left-color: var(--green); }
.toast--success .toast__icon { background: var(--green-soft); color: var(--green); }
.toast--info { border-left-color: var(--av-steel); }
.toast--info .toast__icon { background: #eef0f3; color: var(--av-steel); font-family: var(--serif); }
.toast--error { border-left-color: var(--red); }
.toast--error .toast__icon { background: var(--red-soft); color: var(--red); }

/* ---------- Admin shell ---------- */
.admin-header { background: var(--cream); border-bottom: 1px solid var(--border); }
.admin-header .wrap { display: flex; align-items: flex-end; justify-content: space-between; }
.admin-brand { display: flex; align-items: center; gap: 30px; }
.admin-brand__id { display: flex; align-items: center; gap: 9px; padding: 16px 0; }
.badge-admin { background: var(--ink); color: #fff; border-radius: 6px; padding: 3px 9px; font: 600 11px var(--sans); letter-spacing: .03em; }
.admin-nav { display: flex; gap: 4px; }
.admin-nav a { font: 600 14px var(--sans); color: var(--slate); text-decoration: none; padding: 14px 12px; border-bottom: 2px solid transparent; display: inline-flex; align-items: center; gap: 6px; }
.admin-nav a:hover { color: var(--ink); }
.admin-nav a.is-active { color: var(--red); border-bottom-color: var(--red); }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.page-head h1 { font: 600 32px/1.1 var(--serif); }
.page-head p { font: 400 15px var(--sans); color: var(--slate); margin: 8px 0 0; }

/* ---------- People table ---------- */
.table { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.table__row { display: grid; grid-template-columns: 2.3fr 2fr 1.3fr 1fr 1.4fr; gap: 12px; align-items: center; padding: 15px 22px; border-bottom: 1px solid var(--hair); }
.table__row:last-child { border-bottom: none; }
.table__head { background: var(--cream); border-bottom: 1px solid var(--border); padding: 13px 22px; font: 600 11.5px var(--sans); color: var(--taupe); letter-spacing: .05em; text-transform: uppercase; }
.table__name { display: flex; align-items: center; gap: 11px; font: 600 14px var(--sans); color: var(--ink); }
.table--import .table__row { grid-template-columns: 1.5fr 1.8fr .9fr; }
.table__contact { font: 400 13.5px var(--sans); color: var(--slate); }
.table__contact--empty { color: var(--taupe-light); font-style: italic; }
.cell-label { display: none; font: 600 11px var(--sans); color: var(--taupe); text-transform: uppercase; letter-spacing: .04em; }
.row-action { font: 600 12.5px var(--sans); color: var(--red-dark); text-decoration: none; }
.last-cell { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* ---------- Editor ---------- */
.editor-title { width: 100%; border: none; background: transparent; font: 600 38px/1.2 var(--serif); color: var(--ink); outline: none; padding: 4px 0; }
.toolbar { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 7px 8px; box-shadow: 0 8px 20px -16px rgba(31,42,61,.4); }
.toolbar button { width: 34px; height: 34px; border: none; background: transparent; border-radius: var(--r-sm); color: var(--ink); cursor: pointer; font: 600 15px var(--sans); }
.toolbar button:hover, .toolbar button.is-active { background: var(--panel); }
.toolbar .sep { width: 1px; height: 20px; background: var(--border); }
.editor-body { margin-top: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 24px 26px; min-height: 220px; font: 400 17px/1.7 var(--sans); color: var(--body); box-shadow: 0 14px 34px -30px rgba(31,42,61,.4); }
.dropzone { border: 1.5px dashed #d6c9b6; background: #fffdf9; border-radius: var(--r-md); padding: 22px; text-align: center; }
.dropzone__hint { font: 600 15px var(--sans); color: var(--ink); }
.dropzone__hint a { color: var(--red); text-decoration: underline; cursor: pointer; }
.dropzone__sub { font: 400 13px var(--sans); color: var(--taupe); margin-top: 4px; }
.thumbs { display: flex; gap: 12px; margin-top: 18px; justify-content: center; flex-wrap: wrap; }
.thumb { position: relative; width: 118px; height: 88px; border-radius: 10px; overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--ph-a) 0 10px, var(--ph-b) 10px 20px); }
.thumb__x { position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; border-radius: 50%; background: rgba(31,42,61,.78); color: #fff; display: flex; align-items: center; justify-content: center; font: 400 13px var(--sans); cursor: pointer; border: none; }
.thumb__cover { position: absolute; left: 5px; bottom: 5px; background: var(--red); color: #fff; border-radius: 6px; padding: 2px 7px; font: 600 10px var(--sans); }
.thumb__progress { position: absolute; inset: 0; background: rgba(31,42,61,.55); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; }
.thumb__progress span { font: 600 12px var(--sans); color: #fff; }
.thumb__bar { width: 78px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.thumb__bar > i { display: block; height: 100%; background: #fff; }
.thumb--add { width: 118px; height: 88px; border-radius: 10px; border: 1.5px dashed #d6c9b6; display: flex; align-items: center; justify-content: center; font: 300 30px var(--sans); color: #c2bba9; cursor: pointer; }

/* select-like control */
.select-box { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--border-input); border-radius: var(--r-md); padding: 13px 16px; font: 500 15px var(--sans); color: var(--ink); cursor: pointer; }
.select-box .caret { color: var(--taupe); font-size: 12px; }
.readonly-box { display: flex; align-items: center; gap: 9px; background: var(--panel); border: 1px solid var(--border-warm); border-radius: var(--r-md); padding: 13px 16px; font: 500 14.5px var(--sans); color: var(--slate); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--cream); }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; font: 400 13px var(--sans); color: var(--taupe); }
.site-footer__brand { font: 600 13px var(--sans); color: var(--slate); }

/* ---------- Helpers ---------- */
.muted { color: var(--taupe); }
.stack-sm > * + * { margin-top: 10px; }
.section-label { font: 600 11.5px var(--sans); color: var(--taupe); letter-spacing: .08em; text-transform: uppercase; }
.back-link { font: 600 14px var(--sans); color: var(--taupe); text-decoration: none; }
.back-link:hover { color: var(--ink); }

/* ============================================================
   Responsive — collapse the desktop layouts to the mobile
   mockups (single column, stacked table rows, scrollable chips)
   ============================================================ */
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .section { padding: 28px 0 40px; }

  .cluster { grid-template-columns: 1fr; }

  .band-name { font-size: 22px; }
  .band-logo { width: 46px; height: 46px; }

  .post__title { font-size: 21px; }
  .gallery--feature { grid-template-columns: 1fr 1fr; grid-auto-rows: 100px; }
  .gallery--feature .ph:first-child { grid-column: span 2; grid-row: span 1; }

  .page-head { flex-direction: column; }
  .page-head h1 { font-size: 26px; }

  /* people table → stacked cards */
  .table { border-radius: var(--r-lg); }
  .table__head { display: none; }
  .table__row,
  .table--import .table__row {
    grid-template-columns: 1fr; gap: 6px; padding: 16px 18px;
  }
  .table__row > span:not(.table__name) { display: flex; align-items: center; gap: 8px; }
  .cell-label { display: inline-block; min-width: 84px; }
  .last-cell { justify-content: flex-start; }

  .toolbar { flex-wrap: wrap; }
  .editor-title { font-size: 28px; }

  .hero-panel { padding: 44px 0 56px; }
  .hero-panel h1 { font-size: 28px; }

  .admin-header .wrap { flex-wrap: wrap; gap: 8px; }
  .admin-nav { overflow-x: auto; max-width: 100%; }
  .admin-brand { gap: 14px; flex-wrap: wrap; }

  .chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }

  .site-header__nav .navlink:not(:last-child) { display: none; }
}

@media (max-width: 480px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr !important; }
}

/* generic responsive grids used on the states page */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr; } }
