/* =========================================================
   Менторская гостиная · Атланты
   Static public page + adaptive admin UI
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #faf7f2;
  --bg-tint: #f4eee6;
  --card: #ffffff;
  --ink: #14100d;
  --ink-2: #3a342e;
  --muted: #6f6860;
  --muted-2: #9a938a;
  --line: rgba(20, 16, 13, .12);
  --line-2: rgba(20, 16, 13, .07);
  --clay: #a86a4d;
  --clay-2: #8e573b;
  --clay-deep: #6f4128;
  --clay-tint: rgba(168, 106, 77, .08);
  --clay-line: rgba(168, 106, 77, .28);
  --ok: #2f7a4f;
  --ok-bg: #edf8f1;
  --warn: #9a651f;
  --warn-bg: #fff7e8;
  --danger: #b33b32;
  --danger-bg: #fff0ee;
  --shadow: 0 28px 70px -42px rgba(80, 50, 30, .36);
  --shadow-sm: 0 16px 42px -30px rgba(80, 50, 30, .28);
  --radius: 8px;
  --maxw: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: rgba(168, 106, 77, .2); color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.accent {
  font-family: "Prata", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--clay);
}
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--clay-line);
}
h1, h2, h3 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0;
}
h1 { font-size: clamp(34px, 5vw, 66px); }
h2 { font-size: clamp(25px, 3.2vw, 38px); }
h3 { font-size: 20px; }

.btn {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: normal;
  overflow-wrap: anywhere;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn--solid { background: var(--ink); color: #fff; box-shadow: 0 18px 36px -24px rgba(20, 16, 13, .58); }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--clay-line); color: var(--clay-deep); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 38px; padding: 8px 14px; font-size: 13px; }
.text-btn {
  border: 0;
  background: transparent;
  color: var(--clay-deep);
  font-weight: 700;
  cursor: pointer;
}
.icon-btn {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-2);
}
.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand__mark { width: 42px; height: auto; filter: drop-shadow(0 6px 12px rgba(140, 82, 48, .22)); }
.brand__text {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .16em;
}
.header-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.header-link:hover { color: var(--clay-deep); }

.app-shell {
  min-height: calc(100vh - 76px);
}
.state {
  min-height: 56vh;
  display: grid;
  place-items: center;
  padding: 72px 28px;
  text-align: center;
}
.state--loading { color: var(--muted); gap: 16px; }
.loader {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--bg-tint);
  border-top-color: var(--clay);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 86px) 0 44px;
  border-bottom: 1px solid var(--line-2);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 16, 13, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 16, 13, .035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(120deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 70%);
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}
.hero__copy { max-width: 660px; }
.hero__title span { display: block; }
.hero__lead {
  max-width: 590px;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: clamp(17px, 2vw, 20px);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero__notice {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}
.hero__media {
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #f8f0e8, #fff);
  box-shadow: var(--shadow);
}
.hero__media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.hero__fallback {
  height: 100%;
  min-height: 360px;
  display: grid;
  align-content: center;
  gap: 20px;
  padding: 34px;
}
.hero__fallback-mark {
  width: 96px;
  height: 96px;
  object-fit: contain;
  opacity: .92;
}
.hero__fallback-text {
  font-family: "Prata", serif;
  color: var(--clay);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.info-item {
  min-height: 96px;
  padding: 18px;
  background: rgba(255, 255, 255, .86);
}
.info-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.info-item b { color: var(--ink); font-size: 16px; }
.info-item a { color: var(--clay-deep); }

.section { padding: clamp(54px, 8vw, 92px) 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(320px, .45fr);
  gap: 36px;
  align-items: start;
}
.copy-block p + p { margin-top: 16px; }
.side-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.side-panel h3 { margin-bottom: 12px; }
.side-panel ul { list-style: none; display: grid; gap: 10px; }
.side-panel li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line-2); padding-bottom: 10px; }
.side-panel li:last-child { border-bottom: 0; padding-bottom: 0; }

.resident-flow {
  padding: clamp(46px, 7vw, 82px) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-2);
}
.form-card,
.success-card,
.closed-card {
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow);
}
.form-card h2,
.success-card h2,
.closed-card h2 { margin-bottom: 12px; }
.form-stack { display: grid; gap: 18px; margin-top: 24px; }
.form-stack > .btn,
.form-stack > button[type="submit"] { margin-top: 4px; }
.field { display: grid; min-width: 0; gap: 8px; text-align: left; }
.field span,
.field__label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 4px var(--clay-tint);
}
.field small { color: var(--muted); font-size: 12px; }
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
  text-align: left;
}
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--clay); }
.checkbox a { color: var(--clay-deep); font-weight: 700; }
.honeypot { position: absolute; left: -10000px; opacity: 0; pointer-events: none; }
.form-error {
  border: 1px solid rgba(179, 59, 50, .25);
  border-radius: var(--radius);
  background: var(--danger-bg);
  color: var(--danger);
  padding: 10px 12px;
  font-size: 14px;
}
.form-success {
  border: 1px solid rgba(47, 122, 79, .22);
  border-radius: var(--radius);
  background: var(--ok-bg);
  color: var(--ok);
  padding: 12px;
}

.mentor-view { padding: clamp(38px, 6vw, 72px) 0 86px; }
.mentor-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
}
.mentor-top h1 {
  max-width: 960px;
  margin-top: 4px;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.04;
}
.mentor-top__lead {
  max-width: 620px;
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.35;
}
.booking-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 16px 18px;
  margin-bottom: 18px;
}
.booking-summary__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 10px;
}
.booking-list {
  display: grid;
  gap: 10px;
  list-style: none;
}
.booking-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px 14px;
}
.booking-pill strong { color: var(--ink); }
.booking-pill span { color: var(--muted); font-size: 14px; }

.mentor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.mentor-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.mentor-card.is-dimmed { opacity: .78; }
.mentor-card__media {
  aspect-ratio: 5 / 3;
  background: linear-gradient(135deg, var(--bg-tint), #fff);
  overflow: hidden;
}
.mentor-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mentor-avatar {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--clay-deep);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: .05em;
}
.mentor-card__body { padding: 18px; }
.mentor-card__body p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.mentor-card__slots {
  border-top: 1px solid var(--line-2);
  padding: 16px 18px 18px;
}
.slot-list { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-chip {
  min-height: 38px;
  border: 1px solid var(--clay-line);
  border-radius: 999px;
  background: var(--clay-tint);
  color: var(--clay-deep);
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
}
.slot-chip:hover { background: rgba(168, 106, 77, .14); }
.slot-chip:disabled { opacity: .5; cursor: default; }
.mentor-note {
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--muted);
  padding: 10px 12px;
  font-size: 14px;
}
.mentor-note strong { color: var(--ink); }

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 13, .42);
  backdrop-filter: blur(6px);
}
.modal__panel {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: var(--radius);
  background: #fff;
  padding: 26px;
  box-shadow: 0 28px 80px -28px rgba(20, 16, 13, .5);
}
.modal__close { position: absolute; top: 14px; right: 14px; }
.modal__panel h2 { padding-right: 38px; }
.modal__meta { margin-top: 10px; color: var(--muted); }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.site-footer {
  border-top: 1px solid var(--line-2);
  background: #fff;
}
.site-footer__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer a:hover { color: var(--clay-deep); }

/* Admin */
.admin-page { background: #fbfaf8; font-size: 15px; }
.admin-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
}
.admin-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.admin-header__brand img { width: 36px; }
.admin-header__brand strong { display: block; color: var(--ink); letter-spacing: .12em; }
.admin-header__brand span { display: block; color: var(--muted); font-size: 12px; }
.admin-header__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.admin-shell {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 24px;
}
.login-view { min-height: calc(100vh - 120px); display: grid; place-items: center; }
.admin-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.login-card { width: min(100%, 420px); padding: 26px; }
.login-card h1 { margin-bottom: 20px; font-size: 34px; }
.login-card .form-stack { gap: 22px; }
.login-card .btn--block { min-height: 58px; margin-top: 8px; }
.admin-view { display: grid; gap: 18px; }
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.admin-toolbar--wrap { align-items: flex-end; flex-wrap: wrap; }
.admin-toolbar h1 { font-size: clamp(28px, 4vw, 42px); }
.toolbar-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-list {
  display: grid;
  gap: 12px;
}
.event-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 140px 130px 150px auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.event-row h3 { margin-bottom: 4px; }
.event-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.event-actions .btn,
.toolbar-actions .btn,
.mini-actions .btn { flex: 0 1 auto; }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.badge--published { background: var(--ok-bg); color: var(--ok); }
.badge--draft { background: var(--warn-bg); color: var(--warn); }
.badge--finished,
.badge--unpublished { background: #f1f1f1; color: #555; }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.metric {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
}
.metric span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; }
.metric b { display: block; margin-top: 4px; color: var(--ink); font-size: 24px; }
.tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.tab {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 9px 15px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  cursor: pointer;
}
.tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.admin-form-grid .field--wide { grid-column: 1 / -1; }
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 10px;
  align-items: flex-start;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}
.admin-actions > span {
  display: grid;
  width: min(100%, 220px);
  gap: 8px;
  align-content: start;
}
.admin-actions > span .btn { width: 100%; }
.admin-actions > .btn { flex: 0 0 auto; }
.hint {
  display: block;
  max-width: 220px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}
.entity-list {
  display: grid;
  gap: 12px;
}
.entity-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
}
.entity-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.entity-card__title { display: flex; gap: 12px; min-width: 0; }
.admin-photo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  overflow: hidden;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--bg-tint);
  color: var(--clay-deep);
  font-weight: 900;
}
.admin-photo img { width: 100%; height: 100%; object-fit: cover; }
.mini-actions { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.slot-admin-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
}
.slot-mentor-list {
  display: grid;
  gap: 8px;
  align-content: start;
}
.slot-mentor-btn {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 11px;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.slot-mentor-btn.is-active { border-color: var(--clay); background: var(--clay-tint); color: var(--clay-deep); }
.slot-board { display: grid; gap: 14px; }
.slot-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}
.slot-tools .btn { min-height: 52px; }
.slot-table,
.booking-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.slot-table th,
.slot-table td,
.booking-table th,
.booking-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line-2);
  text-align: left;
  vertical-align: top;
}
.slot-table th,
.booking-table th {
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.booking-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 220px 180px;
  gap: 10px;
  margin-bottom: 12px;
}
.empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

/* Legal pages copied from the main landing */
.legal {
  max-width: 920px;
  margin: 0 auto;
  padding: 90px 28px;
}
.legal h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 8px;
}
.legal p,
.legal li { margin-top: 14px; color: var(--ink-2); }
.legal ul { margin-left: 22px; }
.legal__updated { color: var(--muted); }
.legal__subheading,
.section-title {
  margin-top: 28px;
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 1020px) {
  .hero__grid,
  .content-grid,
  .mentor-top,
  .slot-admin-grid {
    grid-template-columns: 1fr;
  }
  .mentor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-strip,
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-row { grid-template-columns: 1fr 120px; }
  .event-row > :nth-child(3),
  .event-row > :nth-child(4),
  .event-row .event-actions { grid-column: 1 / -1; }
  .event-actions { justify-content: flex-start; }
  .slot-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .site-header__inner { min-height: 64px; }
  .brand__mark { width: 34px; }
  .brand__text { font-size: 14px; }
  .header-link { display: none; }
  .hero { padding-top: 34px; }
  .hero__media,
  .hero__media img,
  .hero__fallback { min-height: 240px; }
  .info-strip,
  .mentor-grid,
  .admin-form-grid,
  .booking-filters,
  .slot-tools,
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .site-footer__inner {
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-header { padding: 10px 14px; }
  .admin-header__brand span { display: none; }
  .admin-shell { padding: 16px; }
  .admin-toolbar { align-items: stretch; flex-direction: column; }
  .toolbar-actions,
  .admin-actions,
  .hero__actions,
  .modal__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn,
  .toolbar-actions .btn,
  .admin-actions .btn,
  .event-actions .btn,
  .modal__actions .btn { width: 100%; }
  .event-row { grid-template-columns: 1fr; }
  .tab-panel { padding: 14px; }
  .booking-pill { align-items: flex-start; flex-direction: column; }
  .booking-pill .btn { width: 100%; }
  .mentor-top h1 { font-size: clamp(34px, 13vw, 48px); }
  .mentor-top__lead { font-size: 17px; }
}
