/* Base */
:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --brand: #2563eb;
  --brand-600: #1d4ed8;
  --surface: #f1f5f9;
  --ring: rgba(37, 99, 235, 0.25);
  --card: #ffffff;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
}

code, kbd, pre { font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

.brand-accent { color: var(--brand); font-weight: 700; }
.highlight { background: linear-gradient(90deg, #ffedd5, #e0e7ff); padding: 0 6px; border-radius: 6px; }

html[data-theme="dark"] {
  --bg: #0b1020;
  --text: #e6e9f2;
  --muted: #a7b0c3;
  --brand: #7aa2ff;
  --brand-600: #98b7ff;
  --surface: #10182c;
  --ring: rgba(122, 162, 255, 0.25);
  --card: #0f1729;
  --border: #1f2a44;
}

html { transition: background-color 0.3s ease, color 0.3s ease; }
body, .card, .feature, .site-header, .site-footer { transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Fluid type scale */
h1 { font-size: clamp(28px, 4.2vw, 40px); }
h2 { font-size: clamp(22px, 3.2vw, 30px); }
h3 { font-size: clamp(18px, 2.3vw, 22px); }
p, li { font-size: clamp(15px, 1.8vw, 18px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--bg), transparent 20%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-weight: 700; }
.logo { height: 28px; width: auto; }
.nav a { color: var(--muted); text-decoration: none; margin-left: 16px; }
.nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.theme-toggle { background: transparent; border: 1px solid var(--border); color: var(--text); cursor: pointer; }
.theme-toggle:hover { background: color-mix(in oklab, var(--surface), var(--brand) 8%); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--border); color: var(--text); cursor: pointer; }
.nav-toggle:hover { background: color-mix(in oklab, var(--surface), var(--brand) 8%); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.05s ease;
}
.btn:hover { background: var(--brand-600); }
.btn:active { transform: translateY(1px); }
.btn-outline { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.btn-outline:hover { background: rgba(37, 99, 235, 0.08); }
.btn-subtle { background: #e2e8f0; color: #0f172a; }
.btn-subtle:hover { background: #cbd5e1; }
.btn-small { padding: 8px 12px; border-radius: 8px; }

/* Hero */
.hero {
  background: linear-gradient(180deg, #eaf2ff 0%, #ffffff 60%);
}
html[data-theme="dark"] .hero {
  background: radial-gradient(1200px 400px at 10% 10%, #14213a, transparent 60%), radial-gradient(1200px 400px at 90% 20%, #0e1a33, transparent 60%), linear-gradient(180deg, #0b1020 0%, #0b1020 60%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  padding: 64px 0 40px;
}
.hero h1 { font-size: 40px; line-height: 1.12; margin: 0 0 14px; }
.headline-rotate { display: inline-block; background: linear-gradient(90deg, var(--brand), #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
.fade-in { animation: fadeIn 500ms ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.lead { color: var(--muted); font-size: 18px; margin: 0 0 20px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art {
  min-height: 260px;
  border-radius: 16px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 400"><defs><linearGradient id="g" x1="0" x2="1"><stop stop-color="%23c7d2fe"/><stop offset="1" stop-color="%2399c1ff"/></linearGradient></defs><rect width="600" height="400" fill="url(%23g)"/><circle cx="450" cy="110" r="90" fill="%23e0ecff"/><circle cx="330" cy="230" r="60" fill="%23eef5ff"/></svg>') center/cover no-repeat;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
html[data-theme="dark"] .hero-art {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 400"><defs><linearGradient id="g" x1="0" x2="1"><stop stop-color="%232a3a73"/><stop offset="1" stop-color="%23162b59"/></linearGradient></defs><rect width="600" height="400" fill="url(%23g)"/><circle cx="450" cy="110" r="90" fill="%2310213d"/><circle cx="330" cy="230" r="60" fill="%230c1a33"/></svg>') center/cover no-repeat;
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--surface); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.figure img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 18px rgba(0,0,0,0.06); }
img { max-width: 100%; height: auto; }

blockquote { margin: 0 0 12px; padding-left: 14px; border-left: 3px solid var(--brand); color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); border-color: color-mix(in oklab, var(--brand), var(--border) 70%); }
.card h3 { margin-top: 0; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); border-color: color-mix(in oklab, var(--brand), var(--border) 70%); }
.cta { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }

.keyword-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; padding-left: 18px; }
.keyword-list li { color: var(--muted); }

/* Colleges search */
.filter-form {
  margin-top: 18px;
  padding: 16px;
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}
.filter-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
}
.filter-form input[type="search"],
.filter-form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  outline: none;
  background: var(--bg);
  color: var(--text);
}
.filter-form input[type="search"]:focus,
.filter-form select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--ring);
}
.filter-form__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.filter-form__actions button {
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.filter-form__actions button:hover {
  background: var(--brand-600);
}
.link-reset {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.link-reset:hover {
  text-decoration: underline;
}

.info-box {
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 14px;
}

.alert-error {
  padding: 12px 16px;
  border-radius: 10px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 14px;
}
html[data-theme="dark"] .alert-error {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(248, 113, 113, 0.6);
  color: #fecaca;
}

.results-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.results-summary {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.highlight-term {
  font-weight: 600;
}
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 13px;
}
.pill-muted {
  background: var(--surface);
  color: var(--muted);
}
.pill-brand {
  background: rgba(37, 99, 235, 0.12);
  color: var(--brand);
  font-weight: 600;
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb-link:hover {
  text-decoration: underline;
}

.college-detail-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  margin-bottom: 32px;
}
.college-detail-card h1 {
  margin-top: 0;
  margin-bottom: 10px;
}
.detail-subtitle {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.detail-grid h2 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--muted);
}
.detail-grid p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.detail-description h2 {
  margin-top: 0;
}
.detail-description p {
  margin-top: 0;
  margin-bottom: 12px;
}
.college-board--secondary {
  margin-top: 0;
}
.related-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.related-controls label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 4px;
}
.related-controls input,
.related-controls select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: var(--bg);
  color: var(--text);
}
.related-controls input:focus,
.related-controls select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--ring);
}
.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 32px 0 12px;
}
.insight-section {
  margin: 32px 0;
}
.about-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.about-text {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.about-text h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.flag-chip {
  font-size: 32px;
  line-height: 1;
}
.flag-image {
  width: 120px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
  margin: 8px 0 16px;
}
.insight-image {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin: 12px 0 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}
.map-card {
  margin: 12px 0 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}
.map-embed {
  width: 100%;
  height: 320px;
}
.gallery-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.gallery-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}
.gallery-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.gallery-card figcaption {
  margin: 0;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--muted);
}
.stat-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.stat-list div {
  background: var(--surface);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--border);
}
.stat-list dt {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.stat-list dd {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 600;
}
.insight-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.insight-card h2 {
  margin: 0 0 12px;
}
.insight-subsection h3 {
  margin-bottom: 6px;
  font-size: 15px;
}
.insight-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.insight-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.insight-list li:last-child {
  border-bottom: none;
}
.insight-list span {
  color: var(--muted);
}
.insight-text {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 10px;
}
.insight-text.small-print {
  font-size: 12px;
  margin-top: 12px;
}
.famous-sites {
  list-style: none;
  padding: 0;
  margin: 0;
}
.famous-sites li {
  margin-bottom: 10px;
  font-size: 14px;
}
.famous-sites li p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.famous-sites a {
  font-weight: 600;
  text-decoration: none;
  color: var(--brand);
}
.famous-sites a:hover {
  text-decoration: underline;
}
.score-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.score-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.score-list li:last-child {
  border-bottom: none;
}
.score-list strong {
  font-size: 15px;
  color: var(--brand);
}
.expense-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 4px;
}
.expense-table th,
.expense-table td {
  padding: 8px 10px;
  border: 1px solid var(--border);
  text-align: left;
}
.data-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.muted {
  color: var(--muted);
}

.college-board {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}
.details-content {
  max-height: none;
  transition: max-height 0.25s ease;
}
.details-content[data-collapsed="true"] {
  max-height: 220px;
  overflow: hidden;
  position: relative;
}
.details-content[data-collapsed="true"]::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--bg));
  pointer-events: none;
}
.details-toggle {
  margin-top: 10px;
}
.college-board__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.college-board__header h2 {
  margin-bottom: 4px;
}
.college-board__header p {
  margin: 0;
  color: var(--muted);
}
.table-wrapper {
  margin-top: 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--border), transparent 50%);
  overflow-x: auto;
}
.results-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.college-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  border: 1px solid #cbd5e1;
}
.college-table thead {
  background: var(--surface);
}
.college-table th,
.college-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #cbd5e1;
  border-right: 1px solid #cbd5e1;
  text-align: left;
  background: transparent;
}
.college-table th:first-child,
.college-table td:first-child {
  border-left: none;
}
.college-table th:last-child,
.college-table td:last-child {
  border-right: none;
}
.college-table tbody tr:last-child td {
  border-bottom: none;
}
.college-table th {
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
}
.college-table th[data-sort] {
  cursor: pointer;
  position: relative;
  padding-right: 28px;
}
.college-table th[data-sort]::after {
  content: '↕';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--muted);
  opacity: 0.6;
}
.college-table th[data-sort].is-sorted::after {
  content: '▲';
  opacity: 1;
}
.college-table th[data-sort].is-sorted.is-desc::after {
  content: '▼';
}
.college-table tr:hover td {
  background: color-mix(in oklab, var(--surface), var(--brand) 4%);
}
.college-name-cell {
  max-width: 320px;
}
.college-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.college-link:hover {
  text-decoration: underline;
}
.no-match-banner {
  padding: 12px 14px;
  color: var(--muted);
  background: var(--surface);
  text-align: center;
  font-size: 13px;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(255, 193, 7, 0.15);
  color: #f59e0b;
  font-weight: 600;
  font-size: 13px;
}
html[data-theme="dark"] .rating-badge {
  background: rgba(255, 193, 7, 0.2);
  color: #fbbf24;
}

.reviews-section {
  margin-top: 32px;
}
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s ease, transform 0.05s ease;
}
.review-card:hover {
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.review-author {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.review-date {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.review-text {
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  margin: 0;
}

@media (max-width: 720px) {
  .filter-form {
    grid-template-columns: 1fr;
  }
  .college-board {
    padding: 20px;
  }
  .filter-form__actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .college-table {
    font-size: 13px;
  }
}

/* Subscribe */
.subscribe { text-align: center; }
.subscribe-form { margin-top: 14px; display: inline-flex; gap: 8px; align-items: center; }
.subscribe-form input[type=email] {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  min-width: 260px;
  outline: none;
}
.subscribe-form input[type=email]:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--ring); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--card); }
.footer-inner { padding: 24px 0; text-align: center; }
.promise { color: var(--muted); max-width: 820px; margin: 0 auto 10px; }
.closing { font-weight: 600; }
.social { margin-top: 8px; display: flex; gap: 14px; justify-content: center; }
.social a { color: var(--brand); text-decoration: none; }
.social a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards, .grid { grid-template-columns: 1fr; }
  .subscribe-form { flex-direction: column; align-items: stretch; }
  .subscribe-form input[type=email] { min-width: 0; width: 100%; }
  .nav a { margin-left: 0; }
  .nav-toggle { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 64px; background: var(--card); border-bottom: 1px solid var(--border); display: none; flex-direction: column; gap: 8px; padding: 12px 20px; }
  .nav.open { display: flex; }
  .nav a, .nav .btn-small, .nav .theme-toggle { width: 100%; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
}

/* Marquee */
.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--card); overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 28px; padding: 10px 20px; animation: marquee 20s linear infinite; }
.marquee span { color: var(--muted); font-weight: 600; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Cursor dot */
#cursor-dot { position: fixed; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--text); opacity: 0.8; pointer-events: none; transform: translate(-100px,-100px); transition: transform 0.02s linear, width 0.15s ease, height 0.15s ease, background-color 0.15s ease, opacity 0.2s ease; mix-blend-mode: difference; z-index: 100; }
#cursor-dot.active { width: 20px; height: 20px; background: var(--brand); opacity: 0.9; }
#cursor-dot.press { width: 26px; height: 26px; }
@media (prefers-reduced-motion: reduce) {
  #cursor-dot { display: none; }
}


