:root {
  --bg: #e8eef2;
  --bg-deep: #d7e2e8;
  --ink: #1a2730;
  --ink-soft: #334552;
  --muted: #5d6f7a;
  --brand: #1f5f6b;
  --brand-deep: #164751;
  --accent: #d4a017;
  --accent-soft: #f3e4a8;
  --panel: rgba(248, 251, 253, 0.94);
  --line: rgba(26, 39, 48, 0.12);
  --ok: #2f6b45;
  --err: #8b2e2e;
  --shadow: 0 18px 50px rgba(22, 40, 48, 0.12);
  --radius: 22px;
  --font: "Nunito", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --pad: clamp(1rem, 3vw, 2rem);
  --max: 1180px;
  --text: 1.125rem;
  --h1: clamp(2.4rem, 5vw, 4rem);
  --btn: 1.15rem;
}

body.is-large-text {
  --text: 1.35rem;
  --btn: 1.3rem;
  --h1: clamp(2.8rem, 6vw, 4.4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text);
  line-height: 1.5;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(212, 160, 23, 0.16), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(31, 95, 107, 0.18), transparent 50%),
    linear-gradient(180deg, #f2f6f8 0%, var(--bg) 42%, #dce6ec 100%);
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}
a { color: var(--brand-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.wrap { width: min(100% - (var(--pad) * 2), var(--max)); margin-inline: auto; position: relative; z-index: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.muted { color: var(--muted); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(242, 246, 248, 0.88);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 30% 70% 55% 45% / 45% 40% 60% 55%;
  background:
    radial-gradient(circle at 30% 30%, #f6d7b0, transparent 45%),
    linear-gradient(145deg, #2a6a63, #163b37);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.18);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
}
.brand-text em {
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 800;
}
.main-nav { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: transparent;
  border: 2px solid transparent;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}
.nav-btn:hover, .nav-btn.is-active {
  background: #ffffff;
  border-color: rgba(31, 95, 107, 0.18);
}
.nav-btn-admin { background: var(--accent-soft); }
.topbar-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.whoami { font-weight: 700; color: var(--ink-soft); }

.page { padding: 1.5rem 0 3rem; min-height: 70vh; }
.site-footer { padding: 2rem 0 3rem; color: var(--muted); }
.footer-inner { border-top: 1px solid var(--line); padding-top: 1.25rem; }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.12;
  margin: 0 0 0.5rem;
  font-weight: 700;
}
h1 { font-size: var(--h1); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.eyebrow {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
}
.lede { font-size: 1.15em; color: var(--ink-soft); max-width: 42rem; }

.btn {
  appearance: none;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  font-size: var(--btn);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-xl { min-height: 3.6rem; padding: 0.85rem 1.5rem; }
.btn-lg { min-height: 3.1rem; padding: 0.7rem 1.25rem; }
.btn-sm { min-height: 2.4rem; padding: 0.4rem 0.85rem; font-size: 1rem; }
.btn-primary {
  background: linear-gradient(180deg, #2a7a88, var(--brand-deep));
  color: #f7fcfd;
  box-shadow: 0 10px 24px rgba(22, 59, 72, 0.25);
}
.btn-secondary {
  background: #ffffff;
  border-color: rgba(31, 95, 107, 0.18);
  color: var(--brand-deep);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(29, 42, 42, 0.16);
  color: var(--ink);
}
.btn-danger {
  background: linear-gradient(180deg, #a34444, #7a2424);
  color: #fff;
}

.input-lg, .input-xl, select.input-lg, textarea.input-lg {
  width: 100%;
  border: 2px solid rgba(29, 42, 42, 0.14);
  border-radius: 16px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 0.9rem 1rem;
}
.input-xl { min-height: 4rem; font-size: 1.25rem; border-radius: 20px; }
.field { display: grid; gap: 0.4rem; font-weight: 700; }
.check-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-weight: 700;
}
.check-row input { width: 1.35rem; height: 1.35rem; }
.hint { color: var(--muted); margin: 0.35rem 0 0; }
.stack-form { display: grid; gap: 1rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.flash {
  padding: 1rem 1.15rem;
  border-radius: 16px;
  margin: 0 0 1rem;
  font-weight: 700;
}
.flash-success, .flash-info { background: #e5f2e9; color: var(--ok); }
.flash-error { background: #f8e4e4; color: var(--err); }

.home-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: end;
  min-height: min(72vh, 640px);
  padding: 1.5rem 0 2rem;
  position: relative;
}
.home-hero-copy { max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.35rem; }
.home-hero-visual {
  min-height: 280px;
  border-radius: 28px 28px 80px 28px;
  background:
    linear-gradient(145deg, rgba(22, 59, 72, 0.94), rgba(31, 95, 107, 0.78)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='8' d='M0 40h160M0 80h160M0 120h160'/%3E%3C/svg%3E");
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: heroGlow 8s ease-in-out infinite alternate;
}
.tape-stack {
  position: absolute;
  inset: 18% 16%;
  display: grid;
  gap: 1rem;
}
.tape-stack span {
  display: block;
  height: 28%;
  border-radius: 14px;
  background: linear-gradient(90deg, #9eb8c2, #e8f1f4 35%, #7f9eaa);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  transform-origin: left center;
}
.tape-stack span:nth-child(1) { transform: rotate(-3deg); animation: tapeIn 0.8s ease both; }
.tape-stack span:nth-child(2) { transform: rotate(2deg); animation: tapeIn 0.8s ease 0.12s both; }
.tape-stack span:nth-child(3) { transform: rotate(-1deg); animation: tapeIn 0.8s ease 0.24s both; }

@keyframes tapeIn {
  from { opacity: 0; transform: translateY(18px) rotate(0deg); }
  to { opacity: 1; }
}
@keyframes heroGlow {
  from { filter: saturate(1); }
  to { filter: saturate(1.15) brightness(1.05); }
}

.section { margin: 2.25rem 0; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 1.1rem;
}
.filter-bar, .search-hero-form, .admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.filter-bar label { min-width: min(100%, 180px); flex: 1; }
.search-hero-form { margin-top: 0.5rem; }
.search-hero-form .field { flex: 1; min-width: min(100%, 280px); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.1rem;
}
.video-card {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 0.65rem;
  transition: transform 0.18s ease;
}
.video-card:hover { transform: translateY(-3px); }
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: #254744;
  box-shadow: var(--shadow);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.duration {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  background: rgba(12, 20, 20, 0.78);
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}
.progress-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5px;
  background: rgba(255,255,255,0.25);
}
.progress-bar::after {
  content: "";
  display: block;
  width: var(--p);
  height: 100%;
  background: var(--accent);
}
.video-meta {
  min-width: 0;
}
.video-meta h3 {
  font-family: var(--font);
  font-size: 1.15rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.video-meta p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-weight: 700;
}

.empty-state, .panel, .help-card, .login-form, .job-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
}
.empty-state { padding: 2rem; text-align: center; }
.panel { padding: 1.25rem 1.35rem 1.4rem; margin-bottom: 1rem; }
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.help-card { padding: 1.35rem; overflow: hidden; }
.help-card h2,
.help-card p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.login-page .topbar-actions .whoami,
.login-page .main-nav { display: none; }
.login-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
  min-height: min(70vh, 620px);
  padding: 1rem 0 2rem;
}
.login-hero {
  border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: #f2f8fa;
  background:
    linear-gradient(160deg, rgba(22,59,72,0.96), rgba(31,95,107,0.88)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 18px);
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-shadow: var(--shadow);
  animation: heroGlow 10s ease-in-out infinite alternate;
}
.login-hero h1 { color: #f7fcfd; }
.login-hero .lede { color: rgba(247,252,253,0.88); }
.login-form { padding: 1.5rem; display: grid; gap: 1rem; align-content: center; }

.watch-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}
.player-shell {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #0f1a1a;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  --seek: 0%;
}
.player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  cursor: pointer;
}
#memory-audio { display: none; }
.player-shell.is-fullscreen,
.player-shell:fullscreen,
.player-shell:-webkit-full-screen {
  aspect-ratio: auto;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: #000;
}
.player-shell:fullscreen video,
.player-shell:-webkit-full-screen video,
.player-shell.is-fullscreen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.player-big-play {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 5.2rem;
  height: 5.2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 71, 81, 0.88);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  z-index: 3;
}
.player-shell.is-playing .player-big-play { display: none; }

.player-chrome {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 2.5rem 0.85rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
  display: grid;
  gap: 0.45rem;
}
.scrubber-wrap { min-width: 0; padding: 0.15rem 0.2rem; }
.scrubber {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 1.1rem;
  border-radius: 999px;
  background:
    linear-gradient(#d4a017, #d4a017) 0 / var(--seek) 100% no-repeat,
    rgba(255,255,255,0.28);
  outline: none;
  cursor: pointer;
}
.scrubber::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #d4a017;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.scrubber::-moz-range-thumb {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #d4a017;
}

.player-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.pctl {
  appearance: none;
  border: 0;
  border-radius: 12px;
  min-height: 2.6rem;
  min-width: 2.6rem;
  padding: 0.35rem 0.7rem;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
}
.pctl:hover { background: rgba(255,255,255,0.24); }
.pctl-wide { min-width: 7.5rem; }
.player-time {
  color: #fff;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  padding: 0 0.35rem;
  white-space: nowrap;
}
.player-bar-spacer { flex: 1; min-width: 0.5rem; }

.player-controls-xl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0;
}
.watch-title-block { margin-bottom: 1rem; }
.watch-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--muted);
  font-weight: 800;
}
.watch-desc { color: var(--ink-soft); }
.sync-controls { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.sync-readout { font-weight: 800; margin-top: 0.75rem; }

.bookmark-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.bookmark-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
  align-items: stretch;
}
.bookmark-jump {
  text-align: left;
  border: 2px solid rgba(29,42,42,0.1);
  background: #ffffff;
  border-radius: 16px;
  padding: 0.8rem 0.95rem;
  cursor: pointer;
  font: inherit;
  display: grid;
  gap: 0.15rem;
}
.bookmark-jump:hover { border-color: rgba(31,95,107,0.35); }
.bm-time { font-weight: 800; color: var(--accent); }
.bm-title { font-weight: 800; }
.bm-note { color: var(--muted); font-size: 0.95rem; }
.bookmark-list.static li {
  display: flex;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.search-bookmark-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.search-bm {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.9rem;
  text-decoration: none;
  color: inherit;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.search-bm img { width: 100%; height: 100%; object-fit: cover; min-height: 78px; background: #254744; }
.search-bm span { display: grid; gap: 0.2rem; padding: 0.85rem 0.85rem 0.85rem 0; align-content: center; }
.search-bm em { font-style: normal; color: var(--muted); font-weight: 700; }

.admin-actions { margin: 1rem 0 1.5rem; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.stat {
  background: var(--panel);
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  display: grid;
  gap: 0.2rem;
}
.stat strong {
  font-family: var(--display);
  font-size: 2rem;
}
.admin-table-wrap { overflow-x: auto; background: var(--panel); border-radius: 18px; border: 1px solid var(--line); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.admin-table th { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.row-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.status {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-weight: 800;
  text-transform: capitalize;
  background: #e4ebef;
}
.status-ready { background: #d9efe0; color: var(--ok); }
.status-processing { background: #f3e8b8; color: #6d5610; }
.status-error { background: #f4d6d6; color: var(--err); }
.narrow { max-width: 760px; }
.danger-zone { border-color: rgba(139, 46, 46, 0.25); }

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.truncate-block {
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.cell-clip {
  display: block;
  max-width: 28rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meter {
  position: relative;
  width: 100%;
  height: 2.1rem;
  border-radius: 999px;
  background: #d7e2e8;
  overflow: hidden;
  border: 1px solid rgba(26, 39, 48, 0.1);
}
.meter-sm { height: 1.65rem; }
.meter-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2a7a88, #164751);
  transition: width 0.35s ease;
}
.meter-error .meter-fill {
  background: linear-gradient(90deg, #c56b6b, #8b2e2e);
}
.meter-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
  text-shadow: 0 0 4px rgba(255,255,255,0.7);
  pointer-events: none;
}

.upload-progress-panel {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 16px;
  background: #eef5f7;
  border: 1px solid var(--line);
  min-width: 0;
}
.upload-progress-panel.is-error {
  background: #f8e4e4;
  border-color: rgba(139, 46, 46, 0.25);
}

.jobs-board { min-width: 0; }
.jobs-list {
  display: grid;
  gap: 0.9rem;
}
.job-card {
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 0.65rem;
}
.job-card-head {
  display: flex;
  gap: 0.75rem;
  align-items: start;
  justify-content: space-between;
  min-width: 0;
}
.job-title {
  font-family: var(--font);
  font-size: 1.15rem;
  margin: 0;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.job-meta {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}
.job-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.advanced-drawer {
  margin: 2.5rem 0 1rem;
  border: 1px dashed rgba(26, 39, 48, 0.22);
  border-radius: 16px;
  background: rgba(255,255,255,0.35);
  padding: 0.35rem 1rem 0.85rem;
}
.advanced-drawer summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--muted);
  padding: 0.65rem 0;
  list-style: none;
}
.advanced-drawer summary::-webkit-details-marker { display: none; }
.advanced-drawer-body { padding-bottom: 0.4rem; }

.stat span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-table td,
.admin-table th {
  max-width: 18rem;
  overflow: hidden;
}
.flash {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cut-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}
.cut-mark-row,
.cut-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.cut-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .home-hero, .login-panel, .watch-layout, .cut-layout { grid-template-columns: 1fr; }
  .home-hero { min-height: auto; }
  .home-hero-visual { min-height: 220px; }
  .stat-row { grid-template-columns: 1fr; }
  .topbar-inner { align-items: flex-start; }
  .search-bm { grid-template-columns: 96px 1fr; }
  .cut-times { grid-template-columns: 1fr; }
}

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