/* ============================================
   Timeline Scan — How It Works (staggered flow)
   Replaces the old icon-row "How It Works" with
   four alternating rows, each pairing copy with a
   live HTML/CSS mock of the actual dashboard
   screen for that step. The mock bleeds ~10%
   past the container edge on desktop and is
   wrapped in a polaroid-style frame to keep the
   heirloom voice.
   ============================================ */

.how-flow {
  max-width: 1080px;
  margin: 0 auto;
}

.how-flow__intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.how-flow__rows {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.how-flow__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2.8rem;
  align-items: center;
}

.how-flow__row--reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.how-flow__row--reverse .how-flow__shot { order: -1; }

/* Copy column */
.how-flow__copy {
  padding: 0 0.5rem;
}

.how-flow__step {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.how-flow__step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  line-height: 1;
}

.how-flow__step-num::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin: 0 0 4px 0.55rem;
  opacity: 0.55;
}

.how-flow__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.85rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.how-flow__body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 0.7rem;
}

.how-flow__body em {
  font-style: italic;
  color: var(--text-primary);
}

.how-flow__hint {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 0.4rem 0 0;
}

/* Shot column with polaroid frame and edge bleed */
.how-flow__shot {
  position: relative;
}

.how-flow__shot-frame {
  background: #fdfaf3;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 14px 14px 30px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 14px 40px rgba(61,43,31,0.12),
    0 4px 14px rgba(61,43,31,0.08);
  transform: rotate(-0.6deg);
  transition: transform 0.3s ease;
}

.how-flow__row--reverse .how-flow__shot-frame {
  transform: rotate(0.7deg);
}

[data-theme="dark"] .how-flow__shot-frame {
  background: #2a2521;
  border-color: var(--border);
  box-shadow:
    0 14px 40px rgba(0,0,0,0.4),
    0 4px 14px rgba(0,0,0,0.3);
}

.how-flow__shot-screen {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  aspect-ratio: 16 / 11;
}

/* Edge bleed on desktop only */
@media (min-width: 880px) {
  .how-flow__row .how-flow__shot {
    margin-left: -8%;
  }
  .how-flow__row--reverse .how-flow__shot {
    margin-left: 0;
    margin-right: -8%;
  }
}

/* ============================================
   Shared dashboard chrome (used in all four mocks)
   ============================================ */
.dash {
  --dash-bg: #fdf8ee;
  --dash-card: #fffdf8;
  --dash-warm: #f4ebdc;
  --dash-fg: #3d2b1f;
  --dash-fg-soft: #6b5b4d;
  --dash-fg-muted: #9c8e80;
  --dash-border: #ddd4c4;
  --dash-border-light: #ebe4d8;
  --dash-accent: #b8860b;
  --dash-accent-soft: #f4ead0;
  --dash-green: #5e8a65;
  --dash-green-soft: #e3ecdf;
  --dash-red: #b94a3e;
  font-family: var(--font-ui);
  color: var(--dash-fg);
  background: var(--dash-bg);
  height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 12px;
}

[data-theme="dark"] .dash {
  --dash-bg: #1c1917;
  --dash-card: #231f1c;
  --dash-warm: #292421;
  --dash-fg: #f5f0e8;
  --dash-fg-soft: #b8afa4;
  --dash-fg-muted: #7a7268;
  --dash-border: #3d3630;
  --dash-border-light: #332d28;
  --dash-accent: #d4a843;
  --dash-accent-soft: #2e2718;
  --dash-green: #7da882;
  --dash-green-soft: #25302a;
}

.dash__topbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 9px 14px;
  border-bottom: 1px solid var(--dash-border-light);
  background: var(--dash-card);
  min-width: 0;
}

.dash__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--dash-fg);
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.dash__brand-mark {
  width: 18px;
  height: 18px;
  background-image: url('../images/logo/light_32x32.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

[data-theme="dark"] .dash__brand-mark {
  background-image: url('../images/logo/dark_32x32.png');
}

.dash__job {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 11px;
  color: var(--dash-fg-soft);
  margin-left: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.dash__nav {
  margin-left: auto;
  display: inline-flex;
  gap: 0.9rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  white-space: nowrap;
}

.dash__nav-item {
  color: var(--dash-fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dash__nav-item--active {
  color: var(--dash-accent);
  border-bottom: 1.5px solid var(--dash-accent);
  padding-bottom: 2px;
}

.dash__avatar {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dash-green), #3f6047);
  color: #fffdf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  margin-left: 0.4rem;
  font-family: var(--font-ui);
  line-height: 1;
}

.dash__body {
  flex: 1;
  min-height: 0;
  position: relative;
  padding: 16px 18px;
  overflow: hidden;
}

/* ============================================
   MOCK 1 — Upload drop-zone
   ============================================ */
.dash-upload__drop {
  border: 1.5px dashed var(--dash-accent);
  background: var(--dash-accent-soft);
  border-radius: 6px;
  padding: 14px 16px;
  text-align: center;
  position: relative;
}

.dash-upload__cloud {
  width: 32px;
  height: 32px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: var(--dash-card);
  border: 1px solid var(--dash-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dash-accent);
  font-size: 16px;
}

.dash-upload__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--dash-fg);
}

.dash-upload__hint {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--dash-fg-muted);
  font-size: 11.5px;
  margin: 0;
}

.dash-upload__btn {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 12px;
  background: var(--dash-accent);
  color: #fffdf8;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.dash-upload__queue {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dash-upload__queue-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dash-fg-muted);
  margin-bottom: 1px;
}

.dash-upload__row {
  display: grid;
  grid-template-columns: 28px 1fr 36px;
  gap: 10px;
  align-items: center;
}

.dash-upload__thumb {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--dash-border-light);
}

.dash-upload__name {
  font-size: 11px;
  color: var(--dash-fg);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-upload__bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--dash-border-light);
  position: relative;
  overflow: hidden;
}

.dash-upload__bar i {
  display: block;
  height: 100%;
  background: var(--dash-green);
  border-radius: 2px;
}

.dash-upload__pct {
  font-size: 10px;
  font-weight: 600;
  color: var(--dash-fg-muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.dash-upload__row--done .dash-upload__pct { color: var(--dash-green); }
.dash-upload__row--going .dash-upload__bar i { background: var(--dash-accent); }
.dash-upload__row--going .dash-upload__pct { color: var(--dash-accent); }

/* ============================================
   MOCK 2 — Tag family members
   ============================================ */
.dash-tag__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--dash-fg);
}

.dash-tag__sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 10.5px;
  color: var(--dash-fg-muted);
  margin: 0 0 10px;
}

.dash-tag__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-tag__card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: center;
  background: var(--dash-card);
  border: 1px solid var(--dash-border-light);
  border-radius: 5px;
  padding: 8px 10px;
  position: relative;
}

.dash-tag__card--editing {
  border-color: var(--dash-accent);
  box-shadow: 0 0 0 2px var(--dash-accent-soft);
}

.dash-tag__face {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--dash-border-light);
}

.dash-tag__main {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dash-tag__row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dash-tag__name {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dash-fg);
  border-bottom: 1px dotted var(--dash-border);
  padding-bottom: 1px;
  display: inline-block;
  min-width: 138px;
  line-height: 1.25;
}

.dash-tag__card--editing .dash-tag__name {
  border-bottom-color: var(--dash-accent);
  border-bottom-style: solid;
}

.dash-tag__card--editing .dash-tag__name::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 0.95em;
  background: var(--dash-accent);
  margin-left: 1px;
  vertical-align: text-bottom;
  animation: dash-tag-caret 1s steps(1) infinite;
}

@keyframes dash-tag-caret {
  0%, 50%   { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.dash-tag__pill {
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--dash-warm);
  color: var(--dash-fg-soft);
  border: 1px solid var(--dash-border-light);
  letter-spacing: 0.02em;
}

.dash-tag__dates {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10.5px;
  color: var(--dash-fg-soft);
}

.dash-tag__date-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dash-tag__date-chip i {
  font-style: normal;
  font-weight: 700;
  color: var(--dash-fg-muted);
  letter-spacing: 0.05em;
  font-size: 9.5px;
  text-transform: uppercase;
}

.dash-tag__date-chip b {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--dash-fg);
  font-variant-numeric: tabular-nums;
}

.dash-tag__add {
  font-size: 10px;
  color: var(--dash-accent);
  font-weight: 600;
}

/* Combobox dropdown for the editing card */
.dash-tag__combo {
  position: absolute;
  top: 100%;
  left: 50px;
  right: 12px;
  margin-top: 5px;
  background: var(--dash-card);
  border: 1px solid var(--dash-border);
  border-radius: 5px;
  box-shadow: 0 8px 22px rgba(61,43,31,0.14);
  padding: 4px 0;
  z-index: 3;
}

.dash-tag__combo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  font-size: 11px;
  color: var(--dash-fg);
}

.dash-tag__combo-item--active {
  background: var(--dash-accent-soft);
  color: var(--dash-accent);
}

.dash-tag__combo-item small {
  color: var(--dash-fg-muted);
  font-size: 10px;
  margin-left: auto;
}

/* ============================================
   MOCK 3 — Batch dating: stepper view
   Mirrors the real /process page in the dashboard:
   four phases (Locating → Dating → Updating → Finished)
   shown as a vertical stepper. The active step holds a
   live activity ticker — a thumbnail flip + rotating
   status messages — to convey "the VLM is working" at a
   general level, without claiming per-photo specifics.
   ============================================ */
.dash-proc {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  min-height: 0;
}

.dash-proc__head {
  text-align: center;
  margin-bottom: 2px;
}

.dash-proc__eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dash-accent);
  margin-bottom: 1px;
}

.dash-proc__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--dash-fg);
  line-height: 1.05;
  margin-bottom: 2px;
}

.dash-proc__sub {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-style: italic;
  color: var(--dash-fg-muted);
}

.dash-proc__steps {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  flex: 1;
  min-height: 0;
}

/* Dotted backbone line connecting markers */
.dash-proc__steps::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background-image: linear-gradient(to bottom, var(--dash-border-light) 0 3px, transparent 3px 6px);
  background-size: 1px 6px;
  background-repeat: repeat-y;
  z-index: 0;
}

.dash-proc__step {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  padding: 5px 9px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: transparent;
  z-index: 1;
}

.dash-proc__step--done {
  background: var(--dash-card);
  border-color: var(--dash-border-light);
}

.dash-proc__step--active {
  background: var(--dash-accent-soft);
  border-color: rgba(184,134,11,0.35);
  box-shadow: 0 4px 14px rgba(184,134,11,0.12);
}

.dash-proc__marker {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  border: 1.5px solid var(--dash-border-light);
  background: var(--dash-card);
  color: var(--dash-fg-muted);
  position: relative;
  flex-shrink: 0;
}

.dash-proc__step--done .dash-proc__marker {
  background: var(--dash-green);
  border-color: var(--dash-green);
  color: #fffdf8;
  font-size: 12px;
}

.dash-proc__step--active .dash-proc__marker {
  background: var(--dash-accent);
  border-color: var(--dash-accent);
  color: #fffdf8;
}

.dash-proc__marker-ping {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid var(--dash-accent);
  opacity: 0;
  animation: dash-proc-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes dash-proc-ping {
  0%   { transform: scale(0.95); opacity: 0.6; }
  80%, 100% { transform: scale(1.4); opacity: 0; }
}

.dash-proc__step-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.dash-proc__step-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--dash-fg);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-proc__step--upcoming .dash-proc__step-label {
  color: var(--dash-fg-muted);
  font-weight: 500;
}

.dash-proc__step-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.dash-proc__step-badge--done {
  background: var(--dash-green-soft);
  color: var(--dash-green);
}

.dash-proc__step-badge--active {
  background: rgba(184,134,11,0.18);
  color: var(--dash-accent);
}

.dash-proc__step-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dash-accent);
  animation: dash-proc-dot-pulse 1.4s ease-in-out infinite;
}

@keyframes dash-proc-dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Active-step inner activity panel: thumbnail flip + rotating msg */
.dash-proc__activity {
  grid-column: 2;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  background: var(--dash-card);
  border: 1px solid var(--dash-border-light);
  border-radius: 4px;
}

.dash-proc__activity-thumb {
  width: 26px;
  height: 26px;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--dash-border-light);
  flex-shrink: 0;
  animation: dash-proc-thumb-fade 0.4s ease-out;
}

@keyframes dash-proc-thumb-fade {
  from { opacity: 0.4; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.dash-proc__activity-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--dash-fg-soft);
  font-family: var(--font-ui);
  min-width: 0;
}

.dash-proc__spinner {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--dash-accent);
  border-top-color: transparent;
  animation: dash-proc-spin 0.85s linear infinite;
  flex-shrink: 0;
}

@keyframes dash-proc-spin {
  to { transform: rotate(360deg); }
}

.dash-proc__activity-msg {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: dash-proc-msg-fade 0.35s ease-out;
}

@keyframes dash-proc-msg-fade {
  from { opacity: 0.2; transform: translateX(2px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   MOCK 4 — Download / completed
   ============================================ */
.dash-done {
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dash-done__eyebrow {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dash-green);
  margin-bottom: 2px;
}

.dash-done__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--dash-fg);
  margin: 0 0 3px;
  line-height: 1.15;
}

.dash-done__title b {
  color: var(--dash-accent);
  font-weight: 700;
}

.dash-done__sub {
  font-family: var(--font-body);
  font-size: 11px;
  font-style: italic;
  color: var(--dash-fg-muted);
  margin: 0 0 12px;
}

.dash-done__strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  margin: 0 0 6px;
  padding: 0 4px;
}

/* Chronological-order axis under the filmstrip */
.dash-done__axis {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 6px 12px;
  font-family: var(--font-ui);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dash-fg-muted);
}

.dash-done__axis-end {
  flex-shrink: 0;
}

.dash-done__axis-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--dash-accent) 0%, var(--dash-green) 100%);
  position: relative;
  opacity: 0.7;
}

.dash-done__axis-line::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 6px solid var(--dash-green);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: translateY(-50%);
  opacity: 0.85;
}

.dash-done__frame {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
}

.dash-done__photo {
  width: 100%;
  aspect-ratio: 0.85;
  background-size: cover;
  background-position: center;
  border: 3px solid #fffdf8;
  box-shadow: 0 1px 4px rgba(61,43,31,0.18);
  border-radius: 1px;
}

[data-theme="dark"] .dash-done__photo {
  border-color: #2a2521;
}

.dash-done__year {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  color: var(--dash-fg-soft);
  font-variant-numeric: tabular-nums;
}

.dash-done__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: center;
  background: linear-gradient(135deg, var(--dash-accent), #8a5a05);
  color: #fffdf8;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(184,134,11,0.28);
  margin-bottom: 6px;
}

.dash-done__cta-glyph {
  font-size: 13px;
}

.dash-done__note {
  font-family: var(--font-body);
  font-size: 10px;
  font-style: italic;
  color: var(--dash-fg-muted);
}

/* ============================================
   Responsive: stack on mobile, drop the bleed
   ============================================ */
@media (max-width: 880px) {
  .how-flow__rows { gap: 3rem; }

  .how-flow__row,
  .how-flow__row--reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .how-flow__row--reverse .how-flow__shot { order: 0; }

  .how-flow__copy { padding: 0 0.25rem; }
  .how-flow__title { font-size: 1.6rem; }

  .how-flow__shot { margin-left: 0 !important; margin-right: 0 !important; }
  .how-flow__shot-frame { transform: rotate(-0.4deg); padding: 10px 10px 22px; }
  .how-flow__row--reverse .how-flow__shot-frame { transform: rotate(0.5deg); }
}

@media (max-width: 520px) {
  .how-flow__shot-screen { aspect-ratio: 4 / 3; }
  .dash { font-size: 11px; }
  .dash__nav { display: none; }
  .dash-done__strip { grid-template-columns: repeat(4, 1fr); }
  .dash-done__frame:nth-child(n+5) { display: none; }
  .dash-tag__card { grid-template-columns: 32px 1fr; }
  .dash-tag__face { width: 32px; height: 32px; }
}
