/* ==========================================================================
   Noan Photographie — design system
   Dark editorial look, orange accent, Barlow Condensed display / Inter body
   ========================================================================== */

:root {
  --bg: #0b0d12;
  --bg-alt: #10131b;
  --surface: #151924;
  --surface-2: #1c2130;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eceef4;
  --muted: #9aa1b2;
  --accent: #ff6b2c;
  --accent-hover: #ff8551;
  --accent-soft: rgba(255, 107, 44, 0.12);
  --danger: #ef4444;
  --success: #22c55e;
  --radius: 14px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.4rem; letter-spacing: 0.04em; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 0.6rem 1rem;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(11, 13, 18, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.9rem;
}

.logo { display: flex; align-items: baseline; gap: 0.5rem; }
.logo-main {
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
  letter-spacing: 0.08em; color: var(--accent);
}
.logo-sub {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.32em;
  color: var(--muted);
}

.nav-desktop { display: flex; gap: 2.2rem; list-style: none; }
.nav-desktop a {
  color: var(--muted); font-size: 0.95rem; font-weight: 500;
  padding-block: 0.4rem; position: relative;
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width 0.25s ease;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--text); }
.nav-desktop a:hover::after, .nav-desktop a.active::after { width: 100%; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 0.5rem; cursor: pointer;
}
.nav-burger span {
  width: 24px; height: 2px; background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.nav-mobile ul { list-style: none; padding: 1rem 1.25rem; }
.nav-mobile a {
  display: block; padding: 0.85rem 1rem; border-radius: 10px;
  color: var(--text); font-weight: 500;
}
.nav-mobile a.active { background: var(--accent-soft); color: var(--accent); }
.nav-mobile-contact {
  padding: 1rem 2.25rem 1.4rem; border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-burger { display: flex; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  background-color: var(--bg-alt);
  background-size: cover; background-position: center;
}

/* Brand header photo: landscape on wide screens, portrait on phones */
.hero-brand { background-image: url("../img/header-desktop.webp"); }
@media (max-width: 640px) {
  .hero-brand { background-image: url("../img/header-mobile.webp"); }
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(11, 13, 18, 0.92) 20%, rgba(11, 13, 18, 0.55) 60%, rgba(255, 107, 44, 0.18) 130%);
}

.hero-content { position: relative; z-index: 1; padding-block: 8rem 5rem; max-width: 780px; }

.hero-kicker, .section-kicker {
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.35em; color: var(--accent); margin-bottom: 1rem;
}

.hero h1 em { font-style: normal; color: var(--accent); }

.hero-tagline {
  margin-top: 1.4rem; font-size: 1.15rem; color: var(--muted); max-width: 34rem;
}

.hero-actions { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
}
.hero-scroll span {
  position: absolute; top: 7px; left: 50%; width: 4px; height: 8px;
  margin-left: -2px; border-radius: 2px; background: var(--accent);
  animation: scroll-hint 1.8s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.8rem; border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  cursor: pointer; transition: all 0.2s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 107, 44, 0.3); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.25); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; border-radius: 8px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.link-arrow { font-weight: 600; }
.link-arrow::after { content: " →"; transition: margin 0.2s ease; }
.link-arrow:hover::after { margin-left: 6px; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding-block: 5.5rem; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 3rem; }
.section-more { margin-top: 3rem; text-align: center; }

.page-head { padding: 9rem 0 3rem; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-head-sub { color: var(--muted); margin-top: 0.8rem; font-size: 1.1rem; }

.empty-state { color: var(--muted); text-align: center; padding: 4rem 0; font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   Match cards
   -------------------------------------------------------------------------- */

.match-grid {
  display: grid; gap: 1.8rem;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
}

.match-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.match-card:hover {
  transform: translateY(-6px); border-color: rgba(255, 107, 44, 0.45);
  box-shadow: var(--shadow);
}
.match-card-link { display: block; color: inherit; }
.match-card-link:hover { color: inherit; }

.match-card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-2); }
.match-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.match-card:hover .match-card-media img { transform: scale(1.05); }
.match-card-placeholder {
  display: grid; place-items: center; height: 100%; font-size: 2.5rem; opacity: 0.4;
}

.badge {
  position: absolute; padding: 0.3rem 0.75rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}
.badge-competition { top: 0.9rem; left: 0.9rem; background: rgba(255, 107, 44, 0.9); color: #fff; }
.badge-count { bottom: 0.9rem; right: 0.9rem; background: rgba(11, 13, 18, 0.75); color: var(--text); }

.match-card-body { padding: 1.3rem 1.4rem 1.5rem; }
.match-card-body h3 { font-size: 1.35rem; }
.vs { color: var(--accent); font-size: 0.8em; margin-inline: 0.15em; }
.match-card-meta {
  margin-top: 0.5rem; color: var(--muted); font-size: 0.88rem;
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.match-card-score {
  margin-top: 0.7rem; display: inline-block;
  background: var(--accent-soft); color: var(--accent);
  padding: 0.2rem 0.7rem; border-radius: 8px;
  font-weight: 600; font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Services / quote / CTA
   -------------------------------------------------------------------------- */

.services-grid { display: grid; gap: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

.service-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.2rem;
  transition: border-color 0.25s ease;
}
.service-card:hover { border-color: rgba(255, 107, 44, 0.45); }
.service-card h3 { color: var(--accent); margin-bottom: 0.9rem; }
.service-card p { color: var(--muted); }

.check-list { list-style: none; margin-top: 1.2rem; }
.check-list li {
  padding: 0.35rem 0 0.35rem 1.7rem; position: relative; font-size: 0.95rem;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}

.quote-block { max-width: 820px; text-align: center; }
.quote-block p {
  font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600; line-height: 1.35;
}
.quote-block cite { display: block; margin-top: 1.5rem; font-style: normal; }

/* About page */
.about-content { display: grid; gap: 3rem; grid-template-columns: minmax(280px, 400px) 1fr; align-items: start; }
.about-photo { position: sticky; top: 6rem; }
.about-photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.about-photo figcaption { margin-top: 0.7rem; color: var(--muted); font-size: 0.85rem; text-align: center; }
.about-text h2 { margin-bottom: 1rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.about-text h2:not(:first-child) { margin-top: 2.5rem; }
.about-text p { color: var(--muted); margin-bottom: 1rem; max-width: 42rem; }
@media (max-width: 820px) {
  .about-content { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 420px; }
}

.cta-block { text-align: center; max-width: 720px; }
.cta-block p { color: var(--muted); margin: 1rem 0 0; }
.cta-block .hero-actions { justify-content: center; }

/* --------------------------------------------------------------------------
   Match detail
   -------------------------------------------------------------------------- */

.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.6rem; }
.breadcrumb span { color: var(--muted); }
.breadcrumb span[aria-hidden] { margin-inline: 0.4rem; }

.match-info {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  margin-top: 2rem; padding: 1.4rem 1.8rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.match-info dt {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--muted); margin-bottom: 0.25rem;
}
.match-info dd { font-weight: 600; }
.match-info .score { color: var(--accent); font-family: var(--font-display); font-size: 1.3rem; }

.match-description { margin-top: 1.8rem; color: var(--muted); max-width: 50rem; }

/* --------------------------------------------------------------------------
   Gallery + lightbox
   -------------------------------------------------------------------------- */

.gallery {
  display: grid; gap: 0.9rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.gallery-item {
  border: 0; padding: 0; background: var(--surface-2); cursor: zoom-in;
  border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 2;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); opacity: 0.85; }

.hq-request {
  margin-top: 4rem; text-align: center;
  background: linear-gradient(140deg, var(--accent-soft), transparent 60%), var(--surface);
  border: 1px solid rgba(255, 107, 44, 0.3);
  border-radius: var(--radius); padding: 3rem 2rem;
}
.hq-request h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.hq-request p { color: var(--muted); margin: 0.8rem auto 1.6rem; max-width: 34rem; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(5, 6, 9, 0.96);
  display: flex; align-items: center; justify-content: center;
}
/* display:flex above would defeat the hidden attribute — restore it explicitly */
.lightbox[hidden] { display: none; }
.lightbox-figure { max-width: 92vw; max-height: 100vh; display: flex; flex-direction: column; align-items: center; }
.lightbox-figure img {
  max-width: 92vw; max-height: 86vh; object-fit: contain;
  border-radius: 6px;
}
.lightbox-figure figcaption { margin-top: 0.9rem; color: var(--muted); font-size: 0.9rem; }

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line); color: var(--text);
  width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); border-color: var(--accent); }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lightbox-prev { left: 0.4rem; }
  .lightbox-next { right: 0.4rem; }
}

/* --------------------------------------------------------------------------
   Footer / back to top
   -------------------------------------------------------------------------- */

.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); margin-top: 4rem; }
.footer-inner {
  display: grid; gap: 2.5rem; padding-block: 3.5rem;
  grid-template-columns: 2fr 1fr 1fr;
}
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 0.8rem; max-width: 22rem; }
.footer-links h3, .footer-contact h3 {
  font-size: 0.8rem; letter-spacing: 0.25em; color: var(--muted); margin-bottom: 1rem;
}
.footer-links ul, .footer-contact ul { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 0.5rem; }
.footer-links a, .footer-contact a { color: var(--text); font-size: 0.92rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-block: 1.4rem;
  color: var(--muted); font-size: 0.8rem;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.back-to-top {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: #fff; border: 0; font-size: 1.2rem;
  cursor: pointer; box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.back-to-top:hover { transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll span { animation: none; }
}

/* ==========================================================================
   Admin
   ========================================================================== */

.admin-body { background: var(--bg); min-height: 100vh; }

.admin-header {
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.admin-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.9rem;
}
.admin-nav { display: flex; align-items: center; gap: 1.4rem; }
.admin-nav a { color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.admin-nav a:hover { color: var(--text); }
.admin-nav form { display: inline; }
.admin-nav button {
  background: none; border: 0; color: var(--muted); cursor: pointer;
  font: inherit; font-size: 0.92rem;
}
.admin-nav button:hover { color: var(--danger); }

.admin-main { padding-block: 2.5rem 5rem; }
.admin-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.admin-title h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* Forms */
.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem; max-width: 860px;
}
.form-narrow { max-width: 460px; margin: 12vh auto 0; }

.form-grid { display: grid; gap: 1.3rem; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 0.78rem; }

.field input[type="text"], .field input[type="date"], .field input[type="password"],
.field input[type="email"], .field textarea, .field select {
  width: 100%; padding: 0.7rem 0.9rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); font: inherit; font-size: 0.95rem;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field textarea { min-height: 110px; resize: vertical; }

.field-check { display: flex; align-items: center; gap: 0.6rem; }
.field-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.field-check label { margin: 0; font-weight: 500; }

.form-actions { margin-top: 1.8rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.alert { padding: 0.9rem 1.2rem; border-radius: 10px; margin-bottom: 1.4rem; font-size: 0.92rem; }
.alert-error { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.4); color: #fca5a5; }
.alert-success { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.35); color: #86efac; }

/* Admin match table */
.admin-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { padding: 0.9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.admin-table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td .muted { color: var(--muted); font-size: 0.85rem; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

.pill { display: inline-block; padding: 0.15rem 0.7rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.pill-on { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.pill-off { background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.pill-featured { background: var(--accent-soft); color: var(--accent); }

/* Upload zone */
.dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.2); border-radius: var(--radius);
  padding: 3rem 2rem; text-align: center; cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--accent); background: var(--accent-soft); }
.dropzone p { color: var(--muted); margin-top: 0.5rem; font-size: 0.9rem; }
.dropzone strong { font-size: 1.05rem; }

.upload-progress { margin-top: 1.2rem; display: none; }
.upload-progress.active { display: block; }
.progress-bar { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.progress-bar div { height: 100%; width: 0; background: var(--accent); transition: width 0.2s ease; }
.upload-status { margin-top: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.upload-errors { margin-top: 0.6rem; font-size: 0.85rem; color: #fca5a5; }

/* Admin photo grid */
.photo-admin-grid {
  display: grid; gap: 0.8rem; margin-top: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.photo-admin-item {
  position: relative; border-radius: 10px; overflow: hidden;
  background: var(--surface-2); aspect-ratio: 3 / 2;
  border: 2px solid transparent;
}
.photo-admin-item.is-cover { border-color: var(--accent); }
.photo-admin-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-admin-actions {
  position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between;
  padding: 0.4rem; background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}
.photo-admin-actions button {
  border: 0; border-radius: 6px; padding: 0.3rem 0.6rem; font-size: 0.75rem;
  cursor: pointer; font-weight: 600;
}
.btn-set-cover { background: rgba(255, 255, 255, 0.9); color: #111; }
.btn-delete-photo { background: var(--danger); color: #fff; }
.cover-tag {
  position: absolute; top: 0.4rem; left: 0.4rem;
  background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 700;
  padding: 0.15rem 0.5rem; border-radius: 6px; text-transform: uppercase;
}

/* Dashboard stat cards */
.stat-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 2.5rem; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.stat-card .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-card .label { color: var(--muted); font-size: 0.85rem; margin-top: 0.4rem; }
