/* ============================================================
   SAR-Tiny Dataset Site — bold, data-product styling
   Layered on top of bulma.min.css + index.css
   ============================================================ */

:root {
  --ink: #0b1220;
  --ink-soft: #1e293b;
  --muted: #64748b;
  --line: #e6eaf0;
  --panel: #ffffff;
  --page: #f6f8fb;

  --sea-1: #22d3ee;
  --sea-2: #0ea5e9;
  --sea-3: #0369a1;
  --sea-ink: #0c4a6e;

  --urb-1: #fbbf24;
  --urb-2: #f59e0b;
  --urb-3: #d97706;
  --urb-ink: #7c2d12;

  --train: #2563eb;
  --val: #d97706;
  --test: #dc2626;

  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--page); }

/* kill the academic centered-underline on section titles inside this site */
.title.is-3::after { display: none !important; }

/* ---------- Sticky top nav ---------- */
.sar-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  backdrop-filter: saturate(160%) blur(12px);
  background: rgba(11, 18, 32, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sar-nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sar-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  font-size: 1.05rem;
}
.sar-nav__brand .dot {
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--sea-1), var(--urb-2));
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15);
}
.sar-nav__links { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.sar-nav__links a {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.sar-nav__links a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
@media (max-width: 820px) { .sar-nav__links { display: none; } }

/* ---------- Hero ---------- */
.ds-hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(34, 211, 238, 0.25), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(245, 158, 11, 0.18), transparent 55%),
    linear-gradient(135deg, #0b1220 0%, #0c2c45 48%, #103b4f 100%);
}
.ds-hero::before {
  /* radar/grid overlay */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 40%, transparent 85%);
  pointer-events: none;
}
.ds-hero__inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem;
  text-align: center;
}
.ds-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
  background: rgba(125, 211, 252, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}
.ds-hero__title {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin: 1.2rem 0 0.4rem;
}
.ds-hero__title .grad {
  background: linear-gradient(120deg, var(--sea-1), #a5f3fc 40%, var(--urb-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ds-hero__subtitle {
  color: #cbd5e1;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  max-width: 760px;
  margin: 0.6rem auto 0;
  font-weight: 500;
  line-height: 1.55;
}
.ds-hero__subtitle strong { color: #f0f9ff; font-weight: 700; }
.ds-hero__authors {
  margin-top: 1.4rem;
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 500;
}
.ds-hero__authors a { color: #bae6fd; font-weight: 600; }
.ds-hero__authors a:hover { color: #fff; }

.ds-hero__cta {
  margin-top: 2rem;
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
}
.ds-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}
.ds-btn--primary {
  background: linear-gradient(120deg, var(--sea-2), var(--sea-3));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(14, 165, 233, 0.7);
}
.ds-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(14, 165, 233, 0.8); color:#fff; }
.ds-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #e2e8f0;
}
.ds-btn--ghost:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); color:#fff; }

/* ---------- Stat strip ---------- */
.stat-strip {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 2.6rem auto -3.2rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
}
.stat {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.1rem 0.6rem;
  text-align: center;
  box-shadow: 0 18px 40px -22px rgba(8, 20, 40, 0.55);
}
.stat__num {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.stat__num .u { color: var(--sea-2); }
.stat__label {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 760px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); margin-bottom: -2rem; }
  .stat-strip .stat:last-child { grid-column: span 2; }
}

/* ---------- Generic section ---------- */
.ds-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.ds-section { padding: 6rem 0 3rem; }
.ds-section--alt { background: linear-gradient(180deg, #eef3f9, #f6f8fb); border-block: 1px solid var(--line); }

.ds-lead {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}
.ds-lead strong { color: var(--ink-soft); }
.ds-lead a { color: var(--sea-2); font-weight: 600; }

/* tier legend chips */
.tier-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.4rem; }
.tier {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 0.5rem 0.95rem;
  font-weight: 600; font-size: 0.9rem; color: var(--ink-soft);
}
.tier b { color: var(--sea-3); }
.tier .sw { width: 0.7rem; height: 0.7rem; border-radius: 50%; }

/* ---------- Dataset banner ---------- */
.ds-banner {
  position: relative;
  border-radius: var(--r-xl);
  padding: 2.2rem 2.2rem;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  box-shadow: 0 24px 50px -28px rgba(8, 20, 40, 0.6);
}
.ds-banner::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse at 90% 0%, #000, transparent 70%);
  pointer-events: none;
}
.ds-banner--sea { background: linear-gradient(120deg, var(--sea-3), var(--sea-2) 60%, var(--sea-1)); }
.ds-banner--urban { background: linear-gradient(120deg, var(--urb-ink), var(--urb-3) 55%, var(--urb-2)); }
.ds-banner__icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.3);
}
.ds-banner__text { position: relative; z-index: 1; }
.ds-banner__kicker {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.85;
}
.ds-banner__name {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.1;
  margin: 0.15rem 0 0.5rem;
}
.ds-banner__desc { font-size: 1.02rem; max-width: 760px; opacity: 0.95; line-height: 1.55; }
.ds-chips { margin-top: 0.9rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ds-chip {
  font-size: 0.82rem; font-weight: 700;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.32rem 0.7rem; border-radius: 999px;
}
@media (max-width: 640px){ .ds-banner { flex-direction: column; text-align: center; } .ds-chips{justify-content:center;} }

/* ---------- Split overview cards ---------- */
.split-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}
.split-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.split-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(8,20,40,0.5); }
.split-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
}
.split-card--train::before { background: var(--train); }
.split-card--val::before { background: var(--val); }
.split-card--test::before { background: var(--test); }
.split-card__top { display: flex; align-items: center; justify-content: space-between; }
.split-card__name { font-weight: 800; font-size: 1.05rem; color: var(--ink); letter-spacing: 0.02em; }
.split-pill {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.22rem 0.6rem; border-radius: 999px; color: #fff;
}
.split-pill--train { background: var(--train); }
.split-pill--val { background: var(--val); }
.split-pill--test { background: var(--test); }
.split-card__big {
  margin: 0.7rem 0 0.1rem;
  font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink);
}
.split-card__big small { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.split-card__meta { margin-top: 0.7rem; display: grid; gap: 0.3rem; }
.split-card__meta div { display: flex; justify-content: space-between; font-size: 0.9rem; }
.split-card__meta span { color: var(--muted); }
.split-card__meta b { color: var(--ink-soft); font-weight: 700; }
@media (max-width: 820px){ .split-grid { grid-template-columns: 1fr; } }

/* ---------- Split video block ---------- */
.split-block { margin-top: 2.4rem; }
.split-head {
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 0.4rem;
}
.split-head__pill {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; padding: 0.3rem 0.8rem; border-radius: 999px;
}
.split-head__pill--train { background: var(--train); }
.split-head__pill--val { background: var(--val); }
.split-head__pill--test { background: var(--test); }
.split-head__title { font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.split-head__note { color: var(--muted); font-size: 0.95rem; font-weight: 500; }

/* ---------- sub-section label ---------- */
.section-label {
  display: flex; align-items: center; gap: 0.7rem;
  font-weight: 800; font-size: 1.3rem; color: var(--ink);
  margin: 2.8rem 0 0.4rem;
}
.section-label::before {
  content: ""; width: 1.1rem; height: 1.1rem; border-radius: 5px;
  background: linear-gradient(135deg, var(--sea-2), var(--urb-2));
}

/* video caption tag inside carousel */
.vid-tag {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
}

/* responsive video embed (YouTube / Vimeo) */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 0.9rem;
  background: #0b1220;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px -28px rgba(8, 20, 40, 0.5);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed__ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.95rem;
}
.video-embed__ph i { font-size: 1.9rem; color: #64748b; }

/* ---------- Summary table ---------- */
.sum-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.98rem; overflow: hidden; border-radius: var(--r-lg); box-shadow: 0 18px 40px -28px rgba(8,20,40,0.5); }
.sum-table thead th {
  background: var(--ink); color: #fff; font-weight: 700; text-align: left;
  padding: 0.9rem 1rem; font-size: 0.85rem; letter-spacing: 0.03em; text-transform: uppercase;
}
.sum-table tbody td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); background: #fff; }
.sum-table tbody tr:hover td { background: #f8fbff; }
.sum-table .ds-cell { font-weight: 800; color: var(--ink); }
.sum-table .ds-cell--sea { border-left: 5px solid var(--sea-2); }
.sum-table .ds-cell--urban { border-left: 5px solid var(--urb-2); }
.sum-badge { display:inline-block; font-size:0.72rem; font-weight:800; padding:0.18rem 0.55rem; border-radius:999px; color:#fff; }
.sum-badge--train{background:var(--train);} .sum-badge--val{background:var(--val);} .sum-badge--test{background:var(--test);}
.tbl-scroll { overflow-x: auto; }

/* ---------- Notice / callout ---------- */
.notice {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 5px solid var(--urb-2);
  border-radius: var(--r);
  padding: 1.1rem 1.3rem;
}
.notice__icon { color: var(--urb-3); font-size: 1.35rem; margin-top: 0.1rem; flex-shrink: 0; }
.notice__body { color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }
.notice__body b { color: var(--ink); }

/* ---------- Data access steps ---------- */
.access-steps { margin-top: 2rem; display: grid; gap: 1.2rem; }
.access-step {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.5rem 1.6rem; box-shadow: 0 18px 40px -30px rgba(8, 20, 40, 0.5);
}
.access-step__no {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--sea-2), var(--sea-3));
}
.access-step__body { flex: 1; }
.access-step__title { font-weight: 800; color: var(--ink); font-size: 1.2rem; margin: 0.15rem 0 0.35rem; }
.access-step__desc { color: var(--muted); font-size: 0.98rem; line-height: 1.6; margin: 0 0 1rem; }

/* source dataset cards */
.source-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 760px) { .source-grid { grid-template-columns: 1fr; } }
.source-card {
  background: var(--page); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.3rem 1.4rem; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.source-card:hover { transform: translateY(-3px); box-shadow: 0 20px 38px -26px rgba(8, 20, 40, 0.5); }
.source-card__head { display: flex; align-items: center; gap: 0.7rem; }
.source-card__icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-size: 1.1rem;
}
.source-card__icon--sea { background: linear-gradient(135deg, var(--sea-2), var(--sea-3)); }
.source-card__icon--urban { background: linear-gradient(135deg, var(--urb-2), var(--urb-3)); }
.source-card__name { font-weight: 800; color: var(--ink); font-size: 1.1rem; line-height: 1.1; }
.source-card__task { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.source-card__desc { margin: 0.7rem 0 1rem; color: var(--muted); font-size: 0.93rem; line-height: 1.55; }
.source-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.source-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 700; font-size: 0.88rem; padding: 0.5rem 0.85rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
  transition: all 0.2s ease;
}
.source-link:hover { border-color: var(--sea-2); color: var(--sea-3); transform: translateY(-1px); }
.source-link--muted { color: var(--text-light); border-style: dashed; cursor: default; }
.source-link--muted:hover { transform: none; border-color: var(--line); color: var(--text-light); }

/* license badge */
.source-card__lic { margin: 0.2rem 0 0.9rem; }
.lic-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.78rem; font-weight: 700;
  padding: 0.3rem 0.65rem; border-radius: 999px;
  background: #eef2f7; color: var(--ink-soft); border: 1px solid var(--line);
}
.lic-badge i { color: var(--muted); }

/* citation blocks */
.cite-source { margin-top: 2.4rem; }
.cite-source h3 { font-weight: 800; color: var(--ink); margin-bottom: 0.4rem; }
.cite-note { color: var(--muted); font-size: 0.98rem; margin-bottom: 1.2rem; }
.cite-ds { font-weight: 700; color: var(--ink-soft); margin: 1.2rem 0 0.4rem; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.cite-ds .lic-badge { font-size: 0.74rem; }

/* ---------- Cite ---------- */
.cite-wrap { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }

/* footer tweak */
.footer { background: #0b1220; border: none; }
.footer .content, .footer p { color: #94a3b8; }
.footer a { color: #7dd3fc; }
.footer a:hover { color: #fff; }

/* carousel arrows a touch bolder */
.results-carousel .slider-navigation-previous,
.results-carousel .slider-navigation-next {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 6px 16px -6px rgba(8,20,40,0.4) !important;
}
