/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #000;
  --text:     #fff;
  --muted:    rgba(255,255,255,0.45);
  --border:   rgba(255,255,255,0.12);
  --font:     "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max-w:    1400px;
  --pad:      40px;
}

html { scroll-behavior: smooth; scrollbar-gutter: stable; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Nav ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  /* subtle fade at top */
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.nav-logo {
  font-size: 13px; font-weight: 400; letter-spacing: 0.01em;
  opacity: 0.9;
}

.nav-links {
  display: flex; gap: 28px; list-style: none;
}

.nav-links a {
  font-size: 13px; letter-spacing: 0.01em; opacity: 0.7;
  transition: opacity .15s;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; }

/* Burger button — visible only on mobile */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 14px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 101;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.85);
  transition: transform .22s ease, opacity .22s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
  display: flex; justify-content: space-between; align-items: center;
  height: 48px;
  padding: 0 var(--pad);
  font-size: 11px; color: var(--muted);
  border-top: 1px solid var(--border);
  position: sticky;
  top: 100vh;
}

/* ── HOME PAGE ──────────────────────────────────────────────────────────── */
.home-hero {
  height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--pad);
  position: relative; overflow: hidden;
}

.home-hero-image {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.home-hero-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.75;
  animation: heroFadeIn 0.6s ease;
}
@keyframes heroFadeIn { from { opacity: 0; } to { opacity: 0.75; } }

.home-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.01em;
  position: relative; z-index: 1;
  margin-bottom: 6px;
}

/* ── DESIGN MEETINGS LIST ────────────────────────────────────────────────── */
.page-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px var(--pad) 0;
}

.page-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 48px;
}

.page-title {
  font-size: 20px; font-weight: 400; letter-spacing: -0.01em;
}

.btn-outline {
  font-size: 12px; letter-spacing: 0.02em;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  opacity: 0.7;
  transition: opacity .15s, border-color .15s;
}
.btn-outline:hover { opacity: 1; border-color: rgba(255,255,255,0.4); }

/* Meeting cards */
.meeting-list {
  display: flex; flex-direction: column; gap: 0;
}

.meeting-card {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 24px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  cursor: pointer;
  transition: opacity .2s;
  text-decoration: none;
  color: inherit;
}
.meeting-card:hover { opacity: 0.8; }
.meeting-card:last-child { border-bottom: 1px solid var(--border); }

.meeting-card-image {
  width: 100%; aspect-ratio: 16/9; overflow: hidden;
  background: #111;
}
.meeting-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.meeting-card:hover .meeting-card-image img { transform: scale(1.02); }
.meeting-card-image .no-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
}

.meeting-card-meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  padding-top: 4px;
}

.meeting-number {
  font-size: 13px; color: var(--muted);
}

.meeting-date {
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.01em;
}

.meeting-name {
  font-size: 12px; letter-spacing: 0.01em;
  text-align: right; line-height: 1.4;
}

/* ── MEETING DETAIL ──────────────────────────────────────────────────────── */
.meeting-detail-header {
  padding: 100px var(--pad) 48px;
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: baseline; justify-content: space-between;
}

.meeting-detail-number {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 400; letter-spacing: -0.02em;
}

.meeting-detail-info {
  text-align: right;
}
.meeting-detail-info .dm-name {
  font-size: 14px; margin-bottom: 4px;
}
.meeting-detail-info .dm-date {
  font-size: 12px; color: var(--muted);
}

.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--muted); letter-spacing: 0.02em;
  padding: var(--pad) var(--pad) 0;
  max-width: var(--max-w); margin: 0 auto;
  transition: color .15s;
}
.back-link:hover { color: var(--text); }

/* ── AGENDA LIST (meeting → presentations) ───────────────────────────────── */
.agenda-list {
  display: flex; flex-direction: column;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad);
}

.agenda-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: opacity .2s;
}
.agenda-item:last-child { border-bottom: 1px solid var(--border); }
.agenda-item:hover { opacity: 0.75; }

.agenda-image {
  width: 320px;
  min-width: 320px;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #111;
}
.agenda-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.agenda-item:hover .agenda-image img { transform: scale(1.02); }
.agenda-image .no-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em;
}

.agenda-meta { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }

.agenda-name {
  font-size: 18px; font-weight: 400; letter-spacing: -0.01em;
}

.agenda-floor {
  font-size: 10px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.07em;
}

.agenda-hook {
  font-size: 13px; color: var(--muted);
  line-height: 1.6; margin-top: 4px;
}

/* ── PRESENTATION DETAIL PAGE ────────────────────────────────────────────── */

/* ── PRESENTATION HERO ───────────────────────────────────────────────────── */
.pres-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.pres-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Fade to black — sits on top of the image */
.pres-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0)   0%,
    rgba(0,0,0,0)   40%,
    rgba(0,0,0,0.6) 75%,
    #000            100%
  );
  z-index: 1;
}

/* Back link — sits above the gradient */
.pres-back {
  position: absolute;
  top: 72px; left: var(--pad);
  z-index: 2;
  font-size: 12px; color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color .15s;
}
.pres-back:hover { color: #fff; }

/* Space name — vertically and horizontally centred in hero */
.pres-hero-title {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-50%);
  z-index: 2;
  text-align: center;
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}

/* Two-column layout below hero — flexbox for reliability */
.pres-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  min-height: 100vh;
}

/* Left sidebar — sticky */
.pres-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 320px;
  min-width: 320px;
  overflow-y: auto;
  padding: 48px 40px 48px var(--pad);
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-right: 1px solid var(--border);
  scrollbar-width: none;
  box-sizing: border-box;
}
.pres-sidebar::-webkit-scrollbar { display: none; }

.pres-sidebar-label {
  font-size: 10px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 8px;
}

.pres-sidebar-value {
  font-size: 13px; line-height: 1.4;
}

.pres-notes {
  font-size: 13px; line-height: 1.8;
  color: rgba(255,255,255,0.65);
  white-space: pre-wrap;
}

/* Material gallery — 2-column icon grid in sidebar */
.material-grid {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.material-thumb {
  width: calc(50% - 3px);
  aspect-ratio: 1; overflow: hidden; background: #111;
  cursor: pointer; transition: opacity .15s;
  border-radius: 8px;
  box-sizing: border-box;
}
.material-thumb:hover { opacity: 0.75; }
.material-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Right: scrollable gallery */
.pres-gallery-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.pres-gallery-col img {
  width: 100%;
  display: block;
  border-bottom: 3px solid #000;
}

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.95);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-close {
  position: fixed; top: 24px; right: 32px;
  font-size: 28px; color: var(--muted); cursor: pointer; line-height: 1;
}
.lightbox-close:hover { color: var(--text); }
.lightbox-prev,
.lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--muted); cursor: pointer;
  padding: 16px; line-height: 1; user-select: none;
  transition: color .15s, opacity .15s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--text); }
.lightbox-prev.hidden,
.lightbox-next.hidden { opacity: 0; pointer-events: none; }
.lightbox-counter {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-size: 11px; color: var(--muted); letter-spacing: 0.06em;
}

/* Back to meeting — bottom of detail page */
.pres-back-footer {
  display: block;
  text-align: center;
  padding: 56px var(--pad);
  font-size: 16px;
  color: var(--muted);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color .15s;
  border-top: 1px solid var(--border);
}
.pres-back-footer:hover { color: var(--text); }

/* Next Space card */
.pres-next {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 55vh;
  min-height: 360px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  margin-top: 80px;
  border-top: 1px solid var(--border);
  transition: opacity .25s;
}
.pres-next:hover { opacity: 0.85; }
.pres-next-info {
  width: 320px;
  min-width: 320px;
  padding: 48px var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid var(--border);
}
.pres-next-label {
  font-size: 10px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 12px;
}
.pres-next-name {
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.pres-next-img {
  flex: 1;
  overflow: hidden;
  background: #111;
}
.pres-next-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.pres-next:hover .pres-next-img img { transform: scale(1.02); }

@media (max-width: 860px) {
  .pres-content { flex-direction: column; }
  .pres-sidebar { position: static; height: auto; width: 100%; min-width: 0; border-right: none; border-bottom: 1px solid var(--border); }
}
@media (max-width: 700px) {
  .agenda-item { flex-direction: column; gap: 16px; }
  .agenda-image { width: 100%; min-width: 0; }
  .material-thumb { width: calc(33.333% - 4px); }
}

/* ── SPECS PAGE ──────────────────────────────────────────────────────────── */
.specs-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px var(--pad) 40px;
}

.specs-title {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.specs-count {
  font-size: 12px;
  color: var(--muted);
}

/* Filter pills — sticky below nav */
.specs-filters {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 14px var(--pad);
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.spec-filter {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.spec-filter:hover  { color: var(--text); border-color: rgba(255,255,255,0.3); }
.spec-filter.active { color: var(--text); border-color: var(--text); background: rgba(255,255,255,0.06); }

/* Card grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  max-width: var(--max-w);
  margin: 40px auto 80px;
  border: 1px solid var(--border);
}

.spec-card {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: background .15s;
  cursor: pointer;
}
.spec-card:hover { background: #0a0a0a; }

.spec-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0d0d0d;
}
.spec-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.spec-card:hover .spec-card-image img { transform: scale(1.03); }
.spec-card-no-img {
  width: 100%; height: 100%;
  background: #111;
}

.spec-card-body {
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.spec-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.spec-card-category {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.spec-card-tag {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 5px;
}

.spec-card-name {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.spec-card-fullname {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.spec-card-supplier {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.spec-card-cost {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.spec-card-qty {
  font-size: 11px;
  color: var(--muted);
}

.spec-card-total {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.spec-card-link {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  margin-top: 6px;
  transition: color .15s;
}
.spec-card-link:hover { color: var(--text); }

@media (max-width: 900px) {
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .specs-grid { grid-template-columns: 1fr; margin: 24px auto 60px; }
}

/* ── Spec Lightbox ───────────────────────────────────────────────────────── */
.spec-modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.82);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.spec-modal-overlay.open { opacity: 1; pointer-events: all; }

.spec-modal {
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  max-width: 880px; width: 100%;
  max-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
  transform: translateY(14px);
  transition: transform .22s;
}
.spec-modal-overlay.open .spec-modal { transform: translateY(0); }

.spec-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  cursor: pointer;
  transition: color .15s, background .15s;
}
.spec-modal-close:hover { color: #fff; background: rgba(255,255,255,0.08); }

.spec-modal-image {
  background: #0d0d0d;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  min-height: 300px;
}
.spec-modal-image img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.spec-modal-no-img {
  width: 100%; height: 100%; min-height: 300px;
  background: #0d0d0d;
}

.spec-modal-body {
  padding: 48px 40px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.spec-modal-meta {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.spec-modal-category {
  font-size: 9px; text-transform: uppercase;
  letter-spacing: 0.09em; color: var(--muted);
}
.spec-modal-tag {
  font-size: 9px; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--muted);
  border: 1px solid var(--border); border-radius: 3px; padding: 1px 5px;
}
.spec-modal-name {
  font-size: 22px; font-weight: 400;
  letter-spacing: -0.02em; line-height: 1.2;
}
.spec-modal-fullname {
  font-size: 12px; color: var(--muted); line-height: 1.4;
}
.spec-modal-divider {
  border: none; border-top: 1px solid var(--border); margin: 10px 0;
}
.spec-modal-supplier { font-size: 12px; color: rgba(255,255,255,0.4); }
.spec-modal-row {
  display: flex; gap: 20px; flex-wrap: wrap; align-items: baseline;
}
.spec-modal-cost, .spec-modal-qty { font-size: 12px; color: var(--muted); }
.spec-modal-total {
  font-size: 13px; color: var(--text); font-weight: 500; margin-top: 2px;
}
.spec-modal-link {
  display: inline-block;
  margin-top: auto; padding-top: 24px;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--muted); text-decoration: none;
  transition: color .15s;
}
.spec-modal-link:hover { color: var(--text); }

@media (max-width: 680px) {
  .spec-modal { grid-template-columns: 1fr; overflow-y: auto; }
  .spec-modal-image { min-height: 220px; aspect-ratio: 4/3; }
  .spec-modal-body { padding: 28px 24px 32px; }
}

/* ── DRAWINGS PAGE ───────────────────────────────────────────────────────── */
.drawings-list {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad) 80px;
  display: flex;
  flex-direction: column;
}

.drawing-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 12px;
  margin: 0 -12px;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  border-radius: 2px;
  transition: background .12s;
}
a.drawing-item:hover { background: rgba(255,255,255,0.04); }
a.drawing-item:hover .drawing-btn { color: var(--text); border-color: rgba(255,255,255,0.3); }

.drawing-name {
  font-size: 13px;
  font-weight: 400;
  flex: 1;
  min-width: 0;
}

.drawing-date {
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
}

.drawing-btn {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
  flex-shrink: 0;
  transition: color .15s, border-color .15s;
  pointer-events: none; /* row handles the click */
}
.drawing-btn--disabled {
  opacity: 0.3;
  cursor: default;
}

/* ── Feedback Form ───────────────────────────────────────────────────────── */
.feedback-form {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.feedback-label {
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}

/* Approval toggle buttons */
.approval-buttons {
  display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap;
}

.approval-btn {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--muted);
  transition: all .15s;
  background: transparent;
}
.approval-btn:hover { border-color: rgba(255,255,255,0.3); color: var(--text); }
.approval-btn.selected-yes     { border-color: #4caf50; color: #4caf50; }
.approval-btn.selected-changes { border-color: #ff9800; color: #ff9800; }
.approval-btn.selected-no      { border-color: #f44336; color: #f44336; }

/* Notes textarea */
.feedback-textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  font: 12px/1.6 var(--font);
  padding: 10px 12px;
  resize: vertical;
  min-height: 80px;
  margin-bottom: 12px;
  transition: border-color .15s;
}
.feedback-textarea::placeholder { color: var(--muted); }
.feedback-textarea:focus { outline: none; border-color: rgba(255,255,255,0.35); }

/* Submit button */
.feedback-submit {
  font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--muted);
  transition: all .15s;
  background: transparent;
}
.feedback-submit:hover:not(:disabled) { color: var(--text); border-color: rgba(255,255,255,0.4); }
.feedback-submit:disabled { opacity: 0.4; cursor: default; }

/* Success / error states */
.feedback-success {
  font-size: 12px; color: #4caf50; margin-top: 10px; display: none;
}
.feedback-error {
  font-size: 12px; color: #f44336; margin-top: 10px; display: none;
}

/* ── Loading / Error ─────────────────────────────────────────────────────── */
.state {
  padding: 100px var(--pad);
  text-align: center; color: var(--muted); font-size: 13px;
}
.spinner {
  width: 24px; height: 24px; margin: 0 auto 16px;
  border: 1px solid var(--border); border-top-color: rgba(255,255,255,0.5);
  border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  :root { --pad: 20px; }
  .meeting-card { grid-template-columns: 1fr; }
  .meeting-card-meta { align-items: flex-start; }
  .meeting-card-meta .meeting-name { text-align: left; }
  .pres-item { grid-template-columns: 1fr; }

  /* Burger menu */
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 99;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 20px; letter-spacing: 0.01em; opacity: 0.6; }
  .nav-links a:hover,
  .nav-links a.active { opacity: 1; }

  /* Presentation: back button — clear the fixed nav */
  .pres-back { top: 82px; }

  /* Presentation: next space — stack vertically */
  .pres-next {
    flex-direction: column;
    height: auto;
    min-height: 0;
    margin-top: 48px;
  }
  .pres-next-info {
    width: 100%;
    min-width: 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 32px var(--pad);
  }
  .pres-next-img {
    width: 100%;
    height: 56vw;
    min-height: 200px;
  }

  /* Meeting detail — left-align the header info on mobile */
  .meeting-detail-header {
    flex-direction: column;
    gap: 12px;
  }
  .meeting-detail-info { text-align: left; }
  .meeting-detail-info .dm-name { margin-bottom: 4px; }
}
