/* Green Acres — design system v3 (Aspire-flavored).
 *
 * Principles followed:
 *   1. Single sans typeface (Inter), serif reserved for hero numerals only
 *   2. 8px spacing grid (4 / 8 / 12 / 16 / 20 / 24 / 32 / 40 / 56 / 72)
 *   3. Type scale: 11 / 12 / 13 / 14 / 15 / 17 / 20 / 24 / 32 / 40 / 56
 *   4. Color: warm-neutral surfaces, deep forest brand, terracotta accent
 *   5. Layered shadows (3 levels), not flat box-shadows
 *   6. Line-style iconography via Lucide (.lu icon class)
 *   7. Sidebar + top bar nav frame for office, mobile-first frame for crew
 */

@import url('https://rsms.me/inter/inter.css');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  /* Surfaces — slight warm cast, never pure white */
  --bg:         #fafaf7;       /* page background */
  --surface:    #ffffff;       /* cards, sheets */
  --surface-2:  #f6f6f1;       /* sunken / striped rows */
  --surface-3:  #efeee7;       /* deeper sunken / inputs at rest */
  --line:       #e5e3d9;       /* dividers */
  --line-2:     #d6d2c4;       /* heavier dividers */

  /* Ink — warm dark, not pure black */
  --ink:        #1a1f1c;
  --ink-2:      #3a4239;
  --ink-3:      #6c736a;
  --ink-4:      #9aa098;

  /* Brand: deep forest green */
  --brand:      #1f6b3a;
  --brand-2:    #14502a;
  --brand-3:    #0c3a1d;
  --brand-soft: #e8f0ea;
  --brand-mid:  #d3e2d8;
  --brand-ring: rgba(31,107,58,.20);

  /* Accent: terracotta — used sparingly */
  --accent:      #b04a1f;
  --accent-2:    #8a3914;
  --accent-soft: #fbe9dd;

  /* Status */
  --ok:          #1f6b3a;
  --ok-soft:     var(--brand-soft);
  --warn:        #b08200;
  --warn-soft:   #fbf3d2;
  --danger:      #a02a2a;
  --danger-soft: #f7e2e2;
  --info:        #2563a8;
  --info-soft:   #e3edf7;

  /* Sidebar */
  --side-bg:        #0c3a1d;
  --side-bg-soft:   #14502a;
  --side-fg:        #e8efe9;
  --side-fg-muted:  #9bb0a0;
  --side-active:    #1f6b3a;
  --side-line:      rgba(255,255,255,.08);

  /* Radii */
  --r-xs: 6px;
  --r-sm: 8px;
  --r:    10px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* Layered shadows (warm, subtle) */
  --sh-1: 0 1px 1px rgba(20,30,22,.04), 0 1px 2px rgba(20,30,22,.04);
  --sh-2: 0 1px 2px rgba(20,30,22,.04), 0 4px 12px rgba(20,30,22,.06), 0 12px 24px rgba(20,30,22,.04);
  --sh-3: 0 2px 4px rgba(20,30,22,.05), 0 12px 24px rgba(20,30,22,.10), 0 28px 56px rgba(20,30,22,.10);

  /* Type */
  --f-sans:    'Inter var', 'Inter', ui-sans-serif, system-ui, -apple-system,
               BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --f-display: 'Fraunces', ui-serif, Georgia, serif;
  --f-mono:    ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Sizes */
  --size-sidebar: 232px;
  --size-topbar: 60px;

  font-family: var(--f-sans);
  font-feature-settings: 'cv02','cv03','cv04','cv11';
  font-variation-settings: 'opsz' 18;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

button { font-family: inherit; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--ink); letter-spacing: -0.005em; }

/* Selection + scrollbar polish */
::selection { background: rgba(31,107,58,.22); color: inherit; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: #b9b3a3; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ============================================================
   Type
============================================================ */
h1 { font-family: var(--f-display); font-weight: 600; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin: 4px 0 8px; }
h2 { font-family: var(--f-sans); font-weight: 700; font-size: 11px; line-height: 1.3; letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink-3); margin: 28px 0 12px; }
h3 { font-family: var(--f-sans); font-weight: 600; font-size: 17px; line-height: 1.3; letter-spacing: -0.01em; margin: 16px 0 8px; }

.eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); }
.muted   { color: var(--ink-3); }
.muted-2 { color: var(--ink-4); }
.small   { font-size: 13px; }
.xs      { font-size: 12px; }
.mono    { font-family: var(--f-mono); }
.tabular { font-variant-numeric: tabular-nums; }
.display { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; }

/* ============================================================
   Layout
============================================================ */
.page { max-width: 600px; margin: 0 auto; padding: 20px 16px 56px; }
@media (min-width: 900px) { .page.wide { max-width: none; padding: 0; } }

/* App shell — sidebar + top bar (office/dispatch frame) */
.shell {
  display: grid;
  grid-template-columns: var(--size-sidebar) 1fr;
  min-height: 100vh;
}
.shell .sidebar {
  background: var(--side-bg);
  color: var(--side-fg);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--side-line);
}
.shell .main {
  display: flex;
  flex-direction: column;
  min-width: 0;            /* prevent overflow blow-out */
}
.shell .topbar {
  height: var(--size-topbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.shell .content {
  flex: 1;
  padding: 28px 32px 56px;
  overflow-x: hidden;
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .shell .sidebar { display: none; }
  .shell .content { padding: 20px 16px 56px; }
}

/* Sidebar */
.sidebar .brand-mark {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--side-line);
}
.sidebar .brand-mark .wordmark {
  font-family: var(--f-display); font-weight: 600;
  font-size: 18px; letter-spacing: -0.01em; color: #fff;
}
.sidebar .brand-mark .wordmark sub {
  font-family: var(--f-sans);
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--side-fg-muted);
  margin-left: 8px; vertical-align: middle;
}
.sidebar nav { padding: 10px 8px; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.sidebar nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px;
  color: var(--side-fg);
  border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background .12s ease, color .12s ease;
}
.sidebar nav a:hover { background: var(--side-bg-soft); text-decoration: none; }
.sidebar nav a.active {
  background: var(--side-active);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.sidebar nav a .lu { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar nav .label-group {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--side-fg-muted);
  padding: 18px 12px 8px;
}
.sidebar .footer {
  padding: 12px 16px; border-top: 1px solid var(--side-line);
  font-size: 12px; color: var(--side-fg-muted);
  display: flex; align-items: center; justify-content: space-between;
}
.sidebar .footer button {
  background: transparent; border: 1px solid rgba(255,255,255,.18);
  color: var(--side-fg);
  padding: 6px 10px; border-radius: var(--r-sm);
  font-size: 12px; font-weight: 600; cursor: pointer;
}
.sidebar .footer button:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.32); }

/* Top bar (inside shell) */
.shell .topbar .crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.shell .topbar .crumbs h1 { font-size: 17px; margin: 0; font-family: var(--f-sans); font-weight: 600; letter-spacing: -0.01em; }
.shell .topbar .actions { display: flex; gap: 8px; align-items: center; }

/* ============================================================
   Buttons
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 38px; padding: 0 14px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  background: var(--brand); color: #fff;
  font-weight: 600; font-size: 13.5px;
  letter-spacing: -0.005em;
  cursor: pointer;
  box-shadow: var(--sh-1);
  transition: transform .08s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-2); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(1px); box-shadow: var(--sh-1); }
.btn:disabled, .btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn.full { width: 100%; }
.btn.big  { min-height: 56px; font-size: 16px; border-radius: var(--r); padding: 0 20px; }
.btn.huge { min-height: 68px; font-size: 17px; border-radius: var(--r-md); padding: 0 24px; letter-spacing: -0.01em; }
.btn.sm   { min-height: 32px; padding: 0 11px; font-size: 12.5px; gap: 6px; }
.btn.icon-only { padding: 0; width: 38px; height: 38px; min-height: 0; }

.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn.secondary:hover { background: var(--surface-2); border-color: #c1bcad; }
.btn.ghost { background: transparent; color: var(--ink); border-color: transparent; box-shadow: none; }
.btn.ghost:hover { background: rgba(15,27,20,.06); }
.btn.accent { background: var(--accent); }
.btn.accent:hover { background: var(--accent-2); }
.btn.danger { background: var(--danger); }
.btn.danger:hover { background: #832222; }

/* Lucide icon class — wraps an inline SVG */
.lu { width: 16px; height: 16px; flex-shrink: 0; stroke-width: 1.6; }
.btn .lu { width: 16px; height: 16px; }
.btn.huge .lu, .btn.big .lu { width: 20px; height: 20px; }

/* ============================================================
   Cards / surfaces
============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  box-shadow: var(--sh-1);
}
.card + .card { margin-top: 12px; }
.card.tight { padding: 12px 16px; }
.card.raised { box-shadow: var(--sh-2); }
.card.inset  { background: var(--surface-3); box-shadow: none; border-color: transparent; }

/* Section label with hairline — replaces h2 in dense layouts */
.section-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0 12px;
}
.section-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Helpers */
.row { display: flex; gap: 12px; align-items: center; }
.row.tight { gap: 6px; }
.row.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Dividers */
hr.rule { border: 0; height: 1px; background: var(--line); margin: 20px 0; }

/* ============================================================
   KPI tiles (Aspire signature)
============================================================ */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 1100px) { .kpi-strip { grid-template-columns: repeat(2, 1fr); } }
.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  box-shadow: var(--sh-1);
  position: relative;
}
.kpi .label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.kpi .value {
  font-family: var(--f-display); font-weight: 600;
  font-size: 32px; line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.kpi .delta {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600;
  margin-top: 6px;
  color: var(--ink-3);
}
.kpi .delta.up   { color: var(--ok); }
.kpi .delta.down { color: var(--danger); }
.kpi .icon-corner {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand-2);
  border-radius: 999px;
}
.kpi .icon-corner .lu { width: 16px; height: 16px; }
.kpi.accent .icon-corner { background: var(--accent-soft); color: var(--accent-2); }
.kpi.warn   .icon-corner { background: var(--warn-soft); color: #816000; }
.kpi.info   .icon-corner { background: var(--info-soft); color: var(--info); }

/* ============================================================
   Banners
============================================================ */
.banner {
  border-radius: var(--r-md);
  padding: 12px 14px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-mid);
  color: var(--brand-3);
  font-weight: 500;
  display: flex; align-items: flex-start; gap: 10px;
}
.banner.warn   { background: var(--warn-soft); border-color: #ecdda3; color: #6e5400; }
.banner.danger { background: var(--danger-soft); border-color: #e6b9b9; color: var(--danger); }
.banner.dim    { background: var(--surface-3); border-color: var(--line); color: var(--ink-2); }

/* ============================================================
   Progress bar
============================================================ */
.bar-track {
  position: relative; height: 6px; background: #ebe8de;
  border-radius: 999px; overflow: hidden;
}
.bar-fill {
  position: absolute; inset: 0 auto 0 0; width: 0%;
  background: linear-gradient(180deg, #2c8048, var(--brand-2));
  border-radius: inherit;
  transition: width .3s ease;
}
.bar-fill.warn   { background: linear-gradient(180deg, #cf9c2a, var(--warn)); }
.bar-fill.danger { background: linear-gradient(180deg, #c13838, var(--danger)); }

/* ============================================================
   Chips / pills / status badges
============================================================ */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--ink-2);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}
.chip.brand   { background: var(--brand-soft); color: var(--brand-3); }
.chip.accent  { background: var(--accent-soft); color: var(--accent-2); }
.chip.warn    { background: var(--warn-soft); color: #6e5400; }
.chip.danger  { background: var(--danger-soft); color: var(--danger); }
.chip.info    { background: var(--info-soft); color: var(--info); }
.chip.outline { background: transparent; border-color: var(--line-2); color: var(--ink-3); }

.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }

/* ============================================================
   Form controls
============================================================ */
input[type="text"], input[type="password"], input[type="date"],
input[type="time"], input[type="search"], input[type="number"],
select, textarea {
  width: 100%;
  padding: 9px 12px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-size: 13.5px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
input:hover, select:hover, textarea:hover { border-color: #c1bcad; }
textarea { resize: vertical; min-height: 80px; line-height: 1.5; }

/* Focus rings */
button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px var(--brand-ring);
  border-color: var(--brand);
}

/* ============================================================
   Tables (Aspire data grids)
============================================================ */
table.data {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
table.data thead th {
  background: var(--surface-2);
  text-align: left;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.10em;
  color: var(--ink-3);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
table.data tbody td {
  padding: 11px 12px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
table.data tbody tr:nth-child(even) td { background: var(--surface-2); }
table.data tbody tr:hover td { background: var(--brand-soft); }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; }
table.data tfoot td { padding: 12px; font-weight: 600; background: var(--surface-2); border-top: 2px solid var(--line-2); }

/* ============================================================
   Mobile topbar (crew/production framing)
============================================================ */
.mtop {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  position: sticky; top: 0; z-index: 20;
  box-shadow: 0 1px 0 rgba(0,0,0,.12), 0 6px 18px rgba(0,0,0,.10);
}
.mtop .brand {
  font-family: var(--f-display); font-weight: 600;
  font-size: 16px; letter-spacing: -0.005em;
}
.mtop .sub {
  color: rgba(255,255,255,.70);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
}
.mtop a, .mtop button {
  color: #fff;
  background: transparent; border: 1px solid rgba(255,255,255,.22);
  font-weight: 600; font-size: 12.5px;
  padding: 6px 10px; border-radius: var(--r-sm);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.mtop a:hover, .mtop button:hover {
  background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.36); text-decoration: none;
}
.mtop .meta { color: rgba(255,255,255,.85); font-size: 12px; }

.offline-banner {
  position: sticky; top: 56px; z-index: 15;
  background: var(--warn-soft); color: #6e5400;
  padding: 9px 16px; text-align: center;
  font-weight: 600; font-size: 13px;
  border-bottom: 1px solid #ecdda3;
  display: none;
}
.offline-banner.on { display: block; }

/* ============================================================
   Status strip (job cards)
============================================================ */
.status-strip {
  width: 4px; align-self: stretch; border-radius: 3px;
  background: var(--line-2);
}
.status-strip.scheduled   { background: #98a09b; }
.status-strip.in_progress { background: var(--brand); }
.status-strip.en_route    { background: var(--accent); }
.status-strip.done        { background: var(--ink-4); }

/* ============================================================
   Job card (list rows)
============================================================ */
.job-card {
  display: flex; gap: 12px; align-items: stretch;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin: 8px 0;
  cursor: pointer;
  box-shadow: var(--sh-1);
  transition: box-shadow .18s ease, transform .08s ease, border-color .18s ease;
}
.job-card:hover { box-shadow: var(--sh-2); border-color: var(--line-2); transform: translateY(-1px); }
.job-card:active { transform: translateY(0); box-shadow: var(--sh-1); }
.job-card .meta { flex: 1; min-width: 0; }
.job-card .title {
  font-weight: 600; font-size: 14px; letter-spacing: -0.005em;
  color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.job-card .addr {
  color: var(--ink-3); font-size: 12.5px; margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.job-card .row.between { margin-top: 8px; gap: 8px; }
.job-card .budget {
  font-weight: 600; font-size: 13px; color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   PIN pad (login)
============================================================ */
.pin-display {
  font-size: 28px; letter-spacing: 16px; text-align: center;
  padding: 16px; border: 1px solid var(--line-2);
  border-radius: var(--r-md); background: var(--surface);
  height: 70px;
  font-family: var(--f-mono);
  color: var(--ink);
}
.pin-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pin-pad .btn {
  min-height: 60px; font-size: 20px; font-weight: 600;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-1);
}
.pin-pad .btn:hover { background: var(--surface-2); }

/* ============================================================
   Bucket chip row (mobile crew view)
============================================================ */
.bucket-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.bucket-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; min-height: 72px;
  padding: 10px 6px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-md);
  font-size: 11.5px; font-weight: 600;
  cursor: pointer;
  box-shadow: var(--sh-1);
  transition: background .15s ease, border-color .15s ease, transform .08s ease;
}
.bucket-btn .icon { font-size: 22px; line-height: 1; }
.bucket-btn .name { letter-spacing: -0.005em; }
.bucket-btn:hover { background: var(--surface-2); border-color: var(--line-2); }
.bucket-btn:active { transform: translateY(1px); }
.bucket-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-2);
  box-shadow: inset 0 0 0 1px var(--accent);
}
@media (max-width: 460px) { .bucket-row { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   Toast (floating saved indicator)
============================================================ */
.float-ok {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--ink); color: #fff;
  padding: 9px 16px; border-radius: 999px;
  box-shadow: var(--sh-3);
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 30;
  font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.float-ok.on {
  opacity: 1; transform: translateX(-50%) translateY(0);
  animation: fadeOut 2.2s forwards;
}
@keyframes fadeOut { 0% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }

/* ============================================================
   Photo strip
============================================================ */
.photo-strip { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0; scrollbar-width: thin; }
.photo-strip figure { margin: 0; flex: 0 0 auto; display: flex; flex-direction: column; gap: 4px; }
.photo-strip img {
  height: 88px; width: 88px; object-fit: cover;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: var(--surface-3);
}
.photo-strip figcaption {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-3); text-align: center;
}
