/* ============================================================
   DRONEHIRE — main.css
   Flim design system · Grid-paper studio · Bold editorial
   ============================================================ */

/* ── 1. THEME TOGGLE (set before body renders via <head> JS) ─ */
:root { color-scheme: light dark; }

[data-theme="light"] {
  --bg:         #ffffff;
  --bg2:        #f5f5f5;
  --bg3:        #e9e9e9;
  --border:     #141414;
  --border-s:   #d9d9d9;
  --text:       #141414;
  --text-m:     #555555;
  --text-d:     #999999;
  --grid-ln:    #d9d9d9;
  --ink-btn-bg: #141414;
  --ink-btn-fg: #ffffff;
}

[data-theme="dark"] {
  --bg:         #141414;
  --bg2:        #1e1e1e;
  --bg3:        #2a2a2a;
  --border:     #e0e0e0;
  --border-s:   #333333;
  --text:       #f0f0f0;
  --text-m:     #aaaaaa;
  --text-d:     #666666;
  --grid-ln:    rgba(255,255,255,0.07);
  --ink-btn-bg: #f0f0f0;
  --ink-btn-fg: #141414;
}

/* ── 2. BRAND ACCENTS (fixed, never theme-dependent) ─────── */
:root {
  --green:  #30a81d;
  --orange: #ff8400;
  --lemon:  #fecc33;
  --forest: #21935b;

  --font-h:    'Montserrat', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-body: Arial, Helvetica, sans-serif;
}

/* ── 3. RESET ────────────────────────────────────────────── */
*, *::before, *::after { 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: 15px;
  line-height: 1.6;
  transition: background 0.2s, color 0.2s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ── 4. GRID PAPER TEXTURE ───────────────────────────────── */
.gp {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid-ln) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-ln) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── 5. TYPOGRAPHY ───────────────────────────────────────── */
.t-display {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: clamp(56px, 8vw, 110px);
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.t-section {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.0;
}
.t-card {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.t-sub {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.t-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.t-mono-sm {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-d);
}
.t-body { font-family: var(--font-body); font-size: 15px; color: var(--text-m); line-height: 1.65; }

/* ── 6. SECTION LAYOUT ───────────────────────────────────── */
.sec { padding: 64px 40px; border-bottom: 1px solid var(--border); }
.sec-hd {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 40px;
}
.sec-title {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--text);
}
.sec-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-d);
}

/* ── 7. BUTTONS ──────────────────────────────────────────── */
.btn-f {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--ink-btn-bg);
  color: var(--ink-btn-fg);
  border: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.btn-f:hover { opacity: 0.75; }

.btn-g {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn-g:hover { background: var(--text); color: var(--bg); }

/* Buttons on dark (hero/CTA) — always white/black */
.btn-f-dark {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 8px;
  background: #ffffff;
  color: #141414;
  border: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.btn-f-dark:hover { opacity: 0.85; }

.btn-g-dark {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 24px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  color: #ffffff;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn-g-dark:hover { background: #ffffff; color: #141414; }

.btn-lg { padding: 14px 32px; font-size: 12px; border-radius: 8px; }
.btn-full { width: 100%; text-align: center; }

/* ── 8. PILL / CHIP TAGS ─────────────────────────────────── */
.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 160px;
  border: 1px solid var(--border-s);
  color: var(--text);
  background: transparent;
}
.chip-green { border-color: var(--green); color: var(--green); }
.chip-orange { border-color: var(--orange); color: var(--orange); }

/* Interactive selectable chip (services + content-type pickers) */
.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;              /* keep multi-word/translated chips intact; wrap whole chips */
  padding: 9px 16px;
  min-height: 38px;                 /* touch target */
  border-radius: 160px;
  border: 1px solid var(--border-s);
  background: var(--bg2);
  color: var(--text);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .12s ease;
}
.spec-chip:hover {
  border-color: var(--text);
  background: var(--bg3);
  transform: translateY(-1px);      /* responsive desktop affordance */
}
/* keyboard accessibility — the checkbox is visually-hidden, ring shows on its chip sibling.
   NOTE: var(--accent) does NOT exist in this codebase (only --green/--orange/--lemon/--forest). */
.service-checkbox:focus-visible + .spec-chip,
.spec-checkbox:focus-visible + .spec-chip {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
/* visually hide the real control but keep it focusable/tabbable (replaces display:none) */
.chip-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
/* selected — ink fill, mirrors .role-card.selected */
.spec-chip.on {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* Verified badge */
.badge-verified {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 160px;
  border: 1px solid var(--green);
  color: var(--green);
}

/* ── 9. NAVBAR ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 48px;
  z-index: 200;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 0;
}
.nav-logo {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-right: 24px;
  white-space: nowrap;
}
.nav-logo span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: stretch;
  height: 48px;
  flex: 1;
}
.nav-links a {
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  border-left: 1px solid var(--border-s);
  transition: background 0.15s;
}
.nav-links a:hover { background: var(--bg2); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.nav-login {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-m);
  transition: color 0.15s;
}
.nav-login:hover { color: var(--text); }

.nav-theme {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-s);
  background: transparent;
  color: var(--text);
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.nav-theme:hover { transform: rotate(20deg); }

.nav-lang-form { display: flex; }
.nav-lang {
  height: 32px;
  padding: 0 10px;
  border-radius: 16px;
  border: 1px solid var(--border-s);
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.nav-lang:hover { background: var(--ink-btn-bg); color: var(--ink-btn-fg); }

/* Flag backgrounds: button shows the language you switch TO */
.nav-lang--sv,
.nav-lang--en {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.75);
  border-color: rgba(255,255,255,0.35);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.nav-lang--sv {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Crect width='16' height='10' fill='%23006AA7'/%3E%3Crect x='5' width='2' height='10' fill='%23FECC02'/%3E%3Crect y='4' width='16' height='2' fill='%23FECC02'/%3E%3C/svg%3E");
}
.nav-lang--en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect width='60' height='30' fill='%23012169'/%3E%3Cpath d='M0 0L60 30M60 0L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0L60 30M60 0L0 30' stroke='%23C8102E' stroke-width='3'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E");
}
.nav-lang--sv:hover,
.nav-lang--en:hover {
  color: #fff;
  filter: brightness(1.15);
}

.nav-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink-btn-bg);
  color: var(--ink-btn-fg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}

/* Account dropdown (Gmail-style) */
.nav-acct { position: relative; }
button.nav-avatar { cursor: pointer; padding: 0; overflow: hidden; }
button.nav-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.nav-acct-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 268px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  display: none;
  z-index: 200;
}
.nav-acct-menu.open { display: block; }

.nav-acct-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px 20px;
  border-bottom: 1px solid var(--border-s);
}
.nav-acct-pic {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}
.op-avatar.nav-acct-pic { font-size: 20px; }
.nav-acct-name {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
}
.nav-acct-email {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-d);
  margin-bottom: 12px;
  word-break: break-all;
}

.nav-acct-links { padding: 8px 0; }
.nav-acct-links a {
  display: block;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-m);
  transition: background 0.15s, color 0.15s;
}
.nav-acct-links a:hover { background: var(--bg); color: var(--text); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* Mobile dropdown */
.nav-mobile {
  display: none;
  position: fixed;
  top: 48px; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 199;
  padding: 8px 0;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border-s);
  transition: background 0.15s;
}
.nav-mobile a:hover { background: var(--bg2); }

/* ── 10. PAGE OFFSET ─────────────────────────────────────── */
main { padding-top: 48px; }

/* ── 11. HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: opacity 0.6s ease;
}
.hero-video.fading { opacity: 0; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,.85) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.2) 100%);
  z-index: 1;
}
.hero-l {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 72px 56px;
}
.hero-h1 { color: #fff; }
.hero-h1 .line {
  display: block;
  opacity: 0;
  transform: translateY(32px);
  animation: lineUp 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-h1 .line:nth-child(1) { animation-delay: 0.05s; }
.hero-h1 .line:nth-child(2) { animation-delay: 0.15s; }
.hero-h1 .line:nth-child(3) {
  animation-delay: 0.25s;
  background: linear-gradient(140deg, #FF8008, #FF2D78);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-h1 .line:nth-child(4) { animation-delay: 0.35s; }

@keyframes lineUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin: 24px 0 32px;
  max-width: 480px;
  line-height: 1.65;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  overflow: hidden;
  max-width: 480px;
}
.hero-trust-item {
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  border-right: 1px solid rgba(255,255,255,0.2);
  flex: 1;
  white-space: nowrap;
}
.hero-trust-item:last-child { border-right: none; }

/* ── 12. TICKER STRIP ────────────────────────────────────── */
.ticker {
  background: #141414;
  border-bottom: 1px solid #333;
  overflow: hidden;
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  gap: 0;
}
.ticker-item {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.ticker-item::after {
  content: '✦';
  color: var(--green);
  font-size: 9px;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── 13. STATS BAR ───────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.stat-cell {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-num.green { color: var(--green); }
.stat-num.orange { color: var(--orange); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-d);
  margin-top: 6px;
}

/* ── 14. HOW IT WORKS ────────────────────────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.how-card {
  padding: 48px 36px;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}
.how-card:last-child { border-right: none; }
.how-card:hover { background: var(--bg2); }
.how-ghost {
  position: absolute;
  top: -10px; right: 16px;
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 120px;
  letter-spacing: -0.05em;
  color: var(--text);
  opacity: 0.05;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.how-step {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.how-icon { font-size: 32px; margin-bottom: 16px; }

/* ── 15. SERVICES GRID ───────────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.svc-row { display: contents; }
.svc-card {
  position: relative;
  overflow: hidden;
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
}
.svc-card:nth-child(4n) { border-right: none; }
.svc-card:nth-last-child(-n+4) { border-bottom: none; }
.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #141414;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
  z-index: 0;
}
.svc-card:hover::after { transform: scaleY(1); }
.svc-card > * { position: relative; z-index: 1; transition: color 0.2s; }
.svc-card:hover h4 { color: #fff; }
.svc-card:hover p  { color: rgba(255,255,255,0.65); }
.svc-card:hover .svc-arr { color: var(--green); }
.svc-icon { font-size: 28px; margin-bottom: 16px; }
.svc-arr {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-top: 12px;
}

/* ── 16. OPERATORS GRID ──────────────────────────────────── */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.op-card {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  background: var(--bg);
  transition: background 0.2s;
}
.op-card:last-child { border-right: none; }
.op-card:hover { background: var(--bg2); }

.op-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #141414;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.op-avatar.green { background: var(--green); color: #fff; }
.op-avatar.orange { background: var(--orange); color: #fff; }

.op-name {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}
.op-loc {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-d);
  margin-bottom: 12px;
}
.op-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.op-rating {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin: 8px 0 4px;
}
.op-price {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}
.op-price span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--text-d);
}

/* ── 17. TESTIMONIALS ────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.testi-card {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  background: var(--bg);
}
.testi-card:last-child { border-right: none; }
.testi-stars {
  color: var(--orange);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testi-quote {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-m);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border-s);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-d);
}
.testi-name {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 14px;
  color: var(--text);
}
.testi-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-d);
}

/* ── 18. CTA BLOCK — always dark ─────────────────────────── */
.cta-block {
  background: #141414;
  padding: 88px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid #333;
}
.cta-backdrop {
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-h);
  font-weight: 900;
  font-size: clamp(100px, 20vw, 280px);
  letter-spacing: -0.05em;
  color: #fff;
  opacity: 0.025;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.cta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}
.cta-h2 {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  margin-bottom: 40px;
}
.cta-h2 span { color: var(--orange); }
.cta-cards {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-card {
  padding: 24px 40px;
  border-radius: 160px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.cta-card:hover { opacity: 0.85; }
.cta-card-orange { background: var(--orange); color: #141414; }
.cta-card-green  { background: var(--green);  color: #ffffff; }

/* ── 19. FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.foot-inner { padding: 56px 40px 32px; }
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.foot-brand-name {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.foot-brand-name span { color: var(--orange); }
.foot-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-m);
  line-height: 1.65;
  max-width: 280px;
}
.foot-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-d);
  margin-bottom: 16px;
}
.foot-col a {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-m);
  margin-bottom: 10px;
  transition: color 0.15s;
}
.foot-col a:hover { color: var(--text); }
.foot-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-s);
}
.foot-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-d);
}

/* ── 20. SCROLL REVEAL ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── 21. FORMS ───────────────────────────────────────────── */
.form-wrap { max-width: 640px; }
.form-row { margin-bottom: 24px; }
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-d);
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: border-color 0.15s;
  outline: none;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--green); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-error {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #e53e3e;
  margin-top: 6px;
}

/* Django crispy form overrides */
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="url"], select, textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  outline: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); }
label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-d);
  margin-bottom: 8px;
}

/* ── 22. LOGIN CARD ──────────────────────────────────────── */
.auth-wrap {
  min-height: calc(100vh - 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--bg);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 48px;
}
.auth-title {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}
.auth-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-d);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.auth-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-d);
  text-align: center;
  margin-top: 16px;
}
.auth-link a { color: var(--green); }

/* ── 23. REGISTER ROLE PICKER ────────────────────────────── */
.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.role-card {
  padding: 32px 24px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-align: center;
}
.role-card:hover { background: var(--bg3); }
.role-card.selected { background: var(--text); color: var(--bg); }
.role-card.selected .role-title,
.role-card.selected .role-desc { color: var(--bg); }
.role-icon { font-size: 32px; margin-bottom: 12px; }
.role-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 26px;
  line-height: 1;
}
.role-title {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}
.role-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-m);
  line-height: 1.5;
}

/* ── 24. PROFILE DASHBOARD ───────────────────────────────── */
.dash-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 48px);
}
.dash-sidebar {
  border-right: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg2);
}
.dash-sidebar a {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-m);
  gap: 10px;
  transition: background 0.15s, color 0.15s;
}
.dash-sidebar a:hover,
.dash-sidebar a.active { background: var(--bg3); color: var(--text); }
.dash-sidebar .sec-divider {
  height: 1px;
  background: var(--border-s);
  margin: 8px 24px;
}
.dash-content { padding: 40px; }

/* ── 25. JOB CARDS ───────────────────────────────────────── */
.job-list { display: flex; flex-direction: column; gap: 0; }
.job-card {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border-s);
  background: var(--bg);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  transition: background 0.15s;
}
.job-card:hover { background: var(--bg2); }
.job-title {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}
.job-budget {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--green);
  white-space: nowrap;
}

/* ── 26. STATUS BADGES ───────────────────────────────────── */
.status-open   { border-color: var(--green);  color: var(--green);  }
.status-prog   { border-color: var(--orange); color: var(--orange); }
.status-closed { border-color: var(--border-s); color: var(--text-d); }

/* ── 27. FILTER SIDEBAR ──────────────────────────────────── */
.filter-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  align-items: start;
}
.filter-sidebar {
  border-right: 1px solid var(--border);
  padding: 32px 24px;
  position: sticky;
  top: 48px;
}
.filter-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-d);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-s);
}
.filter-group { margin-bottom: 24px; }
.filter-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-d);
  margin-bottom: 10px;
}

/* ── 28. SETUP WIZARD PROGRESS ───────────────────────────── */
.wizard-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 48px;
}
.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.wizard-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--border-s);
}
.wizard-dot.active { background: var(--green); }
.wizard-dot.done   { background: var(--green); }
.wizard-step-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-d);
}
.wizard-step.active .wizard-step-label { color: var(--green); }
.wizard-line {
  flex: 1;
  height: 1px;
  background: var(--border-s);
  margin-bottom: 20px;
}

/* ── 29. OPERATOR PROFILE ────────────────────────────────── */
.op-profile-cover {
  width: 100%;
  height: 260px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.op-profile-cover img { width: 100%; height: 100%; object-fit: cover; }
.op-profile-header {
  padding: 0 40px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.op-profile-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: #141414;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--bg);
  margin-top: -40px;
  margin-bottom: 16px;
}
.op-profile-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0;
  align-items: start;
}
.op-profile-main {
  padding: 40px;
  border-right: 1px solid var(--border);
}
.op-profile-sidebar {
  padding: 32px 24px;
  position: sticky;
  top: 48px;
}
.price-card {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.price-num {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 40px;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 4px;
}
.price-per {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-d);
  margin-bottom: 24px;
}

/* ── 30. PORTFOLIO GALLERY ───────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.portfolio-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border-s);
}

/* ── 31. FLASH MESSAGES ──────────────────────────────────── */
.flash-wrap {
  position: fixed;
  top: 56px; left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 480px;
  padding: 0 16px;
  pointer-events: none;
}
.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  pointer-events: all;
}
.flash.success { border-color: var(--green); color: var(--green); }
.flash.error   { border-color: #e53e3e; color: #e53e3e; }
.flash-close { background: none; border: none; color: inherit; font-size: 16px; line-height: 1; }

/* ── 32. PAGINATION ──────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-s);
}
.pagination a, .pagination span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  transition: background 0.15s;
}
.pagination a:hover { background: var(--bg2); }
.pagination .current { background: var(--ink-btn-bg); color: var(--ink-btn-fg); }

/* ── 33. EMPTY STATE ─────────────────────────────────────── */
.empty {
  text-align: center;
  padding: 88px 40px;
  border: 1.5px dashed var(--border-s);
  border-radius: 16px;
}
.empty-title {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.empty-sub { font-family: var(--font-body); font-size: 14px; color: var(--text-m); margin-bottom: 24px; }

/* ── 34. SECTION CONTENT BLOCKS ─────────────────────────── */
.content-block {
  padding: 32px 0;
  border-bottom: 1px solid var(--border-s);
}
.content-block:last-child { border-bottom: none; }
.content-block-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-d);
  margin-bottom: 16px;
}

/* ── 35. OPERATOR LOCK GATE ──────────────────────────────── */
.ops-lock-wrap {
  position: relative;
  margin-top: 0;
}
.ops-lock-blur {
  filter: blur(5px);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}
.ops-lock-gate {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 35%);
  z-index: 10;
}
.ops-lock-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.ops-lock-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.ops-lock-title {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 40px);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}
.ops-lock-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-m);
  max-width: 420px;
  line-height: 1.65;
  margin-bottom: 28px;
}
.ops-lock-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}
.ops-lock-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-d);
}

/* ── 36. ACTIVE FILTER CHIPS ─────────────────────────────── */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-s);
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px 5px 12px;
  border-radius: 160px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text);
}
.filter-chip button {
  background: none;
  border: none;
  color: var(--text-d);
  font-size: 14px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s;
}
.filter-chip button:hover { color: var(--text); }
.filter-chip-clear {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 160px;
  border: 1px solid var(--border-s);
  color: var(--text-d);
  transition: color 0.15s, border-color 0.15s;
}
.filter-chip-clear:hover { color: var(--text); border-color: var(--border); }

/* ── 37. RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-right .nav-login { display: none; }

  .sec { padding: 48px 20px; }
  .hero-l { padding: 48px 24px; }
  .cta-block { padding: 64px 20px; }
  .foot-inner { padding: 48px 20px 24px; }

  .how-grid { grid-template-columns: 1fr; }
  .how-card { border-right: none; border-bottom: 1px solid var(--border); }
  .how-card:last-child { border-bottom: none; }

  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card:nth-child(2n) { border-right: none; }
  .svc-card:nth-child(4n) { border-right: 1px solid var(--border); }

  .ops-grid { grid-template-columns: 1fr; }
  .op-card { border-right: none; border-bottom: 1px solid var(--border); }
  .op-card:last-child { border-bottom: none; }

  .testi-grid { grid-template-columns: 1fr; }
  .testi-card { border-right: none; border-bottom: 1px solid var(--border); }
  .testi-card:last-child { border-bottom: none; }

  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2n) { border-right: none; }
  .stat-cell:nth-child(n+3) { border-top: 1px solid var(--border); }

  .foot-grid { grid-template-columns: 1fr 1fr; }
  .filter-wrap { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; border-right: none; border-bottom: 1px solid var(--border); }
  .dash-wrap { grid-template-columns: 1fr; }
  .dash-sidebar { border-right: none; border-bottom: 1px solid var(--border); padding: 16px 0; }
  .op-profile-layout { grid-template-columns: 1fr; }
  .op-profile-main { border-right: none; }
  .op-profile-sidebar { position: static; }
  .role-grid { grid-template-columns: 1fr; }
  .hero-trust { display: none; }
  .cta-cards { flex-direction: column; align-items: center; }
}

@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--border); }
  .auth-card { padding: 32px 24px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Media pipeline: processing cards + upload progress ──── */
.pf-processing {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; padding: 20px;
  background: #141414;
  animation: pf-pulse 1.8s ease-in-out infinite;
}
.pf-processing.pf-failed { animation: none; background: #2a1414; }
.pf-processing-icon  { font-size: 26px; }
.pf-processing-label { font-size: 13px; font-weight: 700; color: #fff; font-family: var(--font-h); }
@keyframes pf-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}
.pf-upload-progress { display: flex; align-items: center; gap: 12px; }
.pf-upload-progress-track {
  flex: 1; height: 8px; border-radius: 4px; overflow: hidden;
  background: var(--bg3, rgba(128,128,128,0.2));
}
.pf-upload-progress-fill {
  height: 100%; width: 0%; border-radius: 4px;
  background: linear-gradient(140deg, #FF8008, #FF2D78);
  transition: width 0.2s ease;
}
.pf-upload-progress-label { white-space: nowrap; }

/* ── Messaging ───────────────────────────────────────────── */
.conv-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-s);
  background: var(--bg);
  transition: background 0.15s;
}
.conv-row:last-child { border-bottom: none; }
.conv-row:hover,
.conv-unread { background: var(--bg2); }
.conv-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

/* Small pill badge used for unread counts (navbar) and "New" labels (inbox) */
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 9px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.msg-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0;
}
.msg {
  max-width: 72%;
  padding: 12px 16px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}
.msg-mine {
  align-self: flex-end;
  background: var(--green);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg-theirs {
  align-self: flex-start;
  background: var(--bg2);
  border: 1px solid var(--border-s);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.msg-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  margin-top: 6px;
  opacity: 0.7;
}

/* Notification bell (navbar, next to the avatar) */
.nav-bell {
  position: relative;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-s);
  background: transparent;
  color: var(--text);
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.nav-bell:hover { transform: scale(1.08); }
.nav-bell-badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--bg);
}
.nav-bell-badge[hidden] { display: none; }

/* "… is typing" indicator */
.msg-typing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-m);
}
.msg-typing[hidden] { display: none; }
.msg-typing-dots { display: inline-flex; gap: 3px; }
.msg-typing-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-d);
  animation: msgTypingBounce 1s infinite ease-in-out;
}
.msg-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.msg-typing-dots span:nth-child(3) { animation-delay: 0.30s; }
@keyframes msgTypingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-4px); opacity: 1; }
}

/* ============================================================
   BRAND HEADER + HERO BAND (scoped: header component + homepage band)
   Dark ink header with the Drishti mark lockup; saffron gradient CTA.
   ============================================================ */
.navbar {
  background: #141414;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.navbar .nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;                 /* "Drone" white; "Hire" stays saffron via .nav-logo span */
}
.nav-mark { width: 26px; height: 26px; flex: 0 0 auto; display: block; }

.navbar .nav-links a         { color: rgba(255,255,255,0.82); border-left-color: rgba(255,255,255,0.12); }
.navbar .nav-links a:hover   { background: rgba(255,255,255,0.06); color: #fff; }
.navbar .nav-login           { color: rgba(255,255,255,0.82); }
.navbar .nav-login:hover     { color: #fff; }
.navbar .nav-theme           { color: #fff; border-color: rgba(255,255,255,0.25); }
.navbar .nav-lang            { color: rgba(255,255,255,0.82); border-color: rgba(255,255,255,0.25); }
.navbar .nav-bell            { color: #fff; border-color: rgba(255,255,255,0.25); }
.navbar .nav-avatar          { border-color: rgba(255,255,255,0.3); }
.navbar .nav-hamburger span  { background: #fff; }

/* Primary CTA inside the header → Saffron Burst gradient pill (header-only) */
.navbar .btn-f {
  background: linear-gradient(140deg, #FF8008, #FF2D78);
  color: #fff;
  border: none;
  border-radius: 999px;
}
.navbar .btn-f:hover { opacity: 0.9; }

/* Dark hero band above the video hero (homepage) */
.hero-band {
  background: #141414;
  padding: 40px 56px 52px;
}
.hero-band-title {
  margin: 0;
  font-family: var(--font-h);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: #fff;
  font-size: clamp(40px, 6vw, 72px);
}
.hero-band-title .accent {
  background: linear-gradient(140deg, #FF8008, #FF2D78);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@media (max-width: 640px) {
  .hero-band { padding: 28px 24px 36px; }
}

/* ── 38. ADMIN PANEL ─────────────────────────────────────────
   The staff console at /panel/. Reuses .dash-wrap/.dash-sidebar/
   .dash-content (section 24), stats cells, chips, forms and buttons.
   Brand: ink #141414 topbar + Saffron Burst gradient accents. */

/* Topbar (always ink, like the site navbar) */
.adm-topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  background: #141414;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.adm-topbar .nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #fff;
}
.adm-topbar .nav-logo span { color: var(--orange); }
.adm-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(140deg, #FF8008, #FF2D78);
  border-radius: 999px;
  padding: 3px 10px;
  margin-left: 2px;
}
.adm-topbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.adm-topbar-right a,
.adm-topbar-user {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  padding: 6px 12px;
  border-radius: 6px;
}
.adm-topbar-right a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.adm-topbar-user { color: rgba(255,255,255,0.5); }

/* Sidebar badge (count pill) */
.adm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  margin-left: auto;
  border-radius: 9px;
  background: linear-gradient(140deg, #FF8008, #FF2D78);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

/* Data table */
.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-table th {
  text-align: left;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-d);
  border-bottom: 1px solid var(--border-s);
  white-space: nowrap;
}
.adm-table td {
  padding: 12px;
  color: var(--text);
  border-bottom: 1px solid var(--border-s);
  font-family: var(--font-body);
  vertical-align: middle;
}
.adm-table tr:last-child td { border-bottom: none; }
.adm-table tbody tr { transition: background 0.15s; }
.adm-table tbody tr:hover { background: var(--bg2); }
.adm-table a { color: var(--text); }
.adm-table a:hover { text-decoration: underline; }
.adm-td-sub { font-family: var(--font-mono); font-size: 10px; color: var(--text-d); margin-top: 2px; }

/* Card container for tables/sections */
.adm-card {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  overflow-x: auto;
}
.adm-card + .adm-card { margin-top: 24px; }
.adm-card-title {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 14px;
}

/* Filter bar (search + selects) */
.adm-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
}
.adm-filter-bar .form-input,
.adm-filter-bar .form-select { width: auto; min-width: 160px; padding: 9px 12px; }
.adm-filter-bar .form-input { flex: 1; min-width: 220px; }

/* Inline action row */
.adm-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* "Needs attention" tiles on the overview */
.adm-attn {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.adm-attn a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  transition: background 0.15s;
}
.adm-attn a:hover { background: var(--bg3); }
.adm-attn-num {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 30px;
  color: var(--text);
  min-width: 44px;
}
.adm-attn a.adm-attn-hot .adm-attn-num {
  background: linear-gradient(140deg, #FF8008, #FF2D78);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.adm-attn-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-d);
}

/* Activity feed */
.adm-feed { display: flex; flex-direction: column; }
.adm-feed-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-s);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
}
.adm-feed-row:last-child { border-bottom: none; }
.adm-feed-icon { flex-shrink: 0; }
.adm-feed-when {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-d);
  white-space: nowrap;
}

/* Branded "DH" avatar (support threads / team identity) */
.dh-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #FF8008, #FF2D78);
  color: #fff;
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0;
  border: none;
}

/* Danger button (destructive actions) */
.btn-danger {
  display: inline-block;
  padding: 8px 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e53e3e;
  background: transparent;
  border: 1.5px solid #e53e3e;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-danger:hover { background: #e53e3e; color: #fff; }

/* Admin login page (standalone dark document) */
.adm-auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: #141414;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 40px 40px;
}
.adm-auth-card {
  width: 100%;
  max-width: 420px;
  background: #1b1b1b;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 48px;
  text-align: left;
}
.adm-auth-mark { width: 44px; height: 44px; margin-bottom: 18px; }
.adm-auth-brand {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 4px;
}
.adm-auth-brand span { color: #FF8008; }
.adm-auth-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 32px;
  background: linear-gradient(140deg, #FF8008, #FF2D78);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.adm-auth .form-label { color: rgba(255,255,255,0.45); }
.adm-auth .form-input,
.adm-auth input[type="text"],
.adm-auth input[type="email"],
.adm-auth input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
}
.adm-auth input:focus { outline: none; border-color: #FF8008; }
.adm-auth .form-error { margin-top: 6px; }
.adm-auth-btn {
  width: 100%;
  padding: 13px 20px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(140deg, #FF8008, #FF2D78);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.adm-auth-btn:hover { opacity: 0.9; }
.adm-auth-back {
  display: block;
  margin-top: 20px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.adm-auth-back:hover { color: #fff; }

/* Chat area inside the panel (reuses .msg-* bubbles) */
.adm-chat-wrap { max-width: 760px; }

/* Responsive */
@media (max-width: 900px) {
  .adm-attn { grid-template-columns: 1fr; }
  .adm-filter-bar .form-input { min-width: 100%; }
  .adm-topbar-user { display: none; }
}

/* ── 39. SOCIAL LOGIN (Google) ───────────────────────────────
   Optional "Continue with Google" buttons — rendered only when a provider is
   configured (ENABLED_SOCIAL_PROVIDERS). Google branding guidelines: white
   button, official multicolour G, neutral text. */
.btn-social-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  background: #fff;
  color: #3c4043;
  border: 1px solid #dadce0;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.btn-social-google:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 3px rgba(60,64,67,0.15);
  color: #202124;
}
.btn-social-google svg { flex: 0 0 auto; }

/* "or" divider between the email form and the social button */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 18px;
  color: var(--text-d);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-s);
}

/* Google button inside a register role card */
.role-social { margin-top: 14px; }
.role-social .btn-social-google { padding: 10px 16px; font-size: 12px; }

/* Role-picker attention shake — triggered when the user tries to continue
   (Google or email submit) without choosing a role. */
@keyframes role-shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-8px); }
  30% { transform: translateX(7px); }
  45% { transform: translateX(-5px); }
  60% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}
.role-card.shake {
  animation: role-shake 0.45s ease;
  border-color: var(--orange);
}
