/* ============================================================
   Apollo Industries — portfolio site
   Brutalist editorial, dark. One hue, alpha-layered.
   Design system ported from the Apollo "UX & Design Spec".
   ============================================================ */

:root {
  color-scheme: dark;

  /* Base */
  --bg:            #050505;

  /* Surfaces — the cream (#d8d3c5 = 216,211,197) at low alpha */
  --surface-1:     rgba(216, 211, 197, 0.030);
  --surface-2:     rgba(216, 211, 197, 0.055);
  --surface-3:     rgba(216, 211, 197, 0.090);

  /* Borders — same cream, three weights */
  --border-dim:    rgba(216, 211, 197, 0.080);
  --border:        rgba(216, 211, 197, 0.160);
  --border-strong: rgba(216, 211, 197, 0.360);

  /* Text — three opacities of the cream */
  --text:          #d8d3c5;
  --text-2:        rgba(216, 211, 197, 0.500);
  --text-3:        rgba(216, 211, 197, 0.240);

  /* Semantic colour — the only saturated colour in the core UI */
  --green: #22c55e;
  --red:   #ef4444;

  /* Status accents — used sparingly */
  --amber: #f59e0b;
  --blue:  #3b82f6;

  /* Structure */
  --radius: 3px;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.70);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg, video { display: block; }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.01em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.005em;
}

h3 {
  margin-bottom: 0;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  font-weight: 800;
  line-height: 1.12;
}

/* ── The signature micro-label ── */

.eyebrow {
  margin: 0 0 8px;
  color: var(--text-3);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  max-width: 64ch;
  color: var(--text-2);
  font-size: clamp(0.92rem, 1.5vw, 1.06rem);
  font-weight: 500;
  line-height: 1.55;
}

p.body {
  color: var(--text-2);
  font-size: 0.86rem;
  line-height: 1.55;
}

.measure { max-width: 64ch; }

/* ── Shell + layout rhythm ── */

.shell {
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 0;
  animation: shell-in 240ms ease both;
}

@keyframes shell-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section { margin-top: clamp(46px, 7vw, 92px); }

.section-head { margin-bottom: clamp(18px, 2.6vw, 30px); }
.section-head h2 { max-width: 22ch; }
.section-head .lead { margin-top: 14px; }

/* ── Top bar ── */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-dim);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.topbar-logo {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  opacity: 0.88;
  transition: opacity 120ms;
}

a.topbar-left:hover .topbar-logo { opacity: 1; }

.topbar-left h1 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

/* ── Nav ── */

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--text-3);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 110ms, color 110ms, border-color 110ms;
}

.nav-link:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}

.nav-link[aria-current="page"] {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface-3);
}

/* ── Context strip ── */

.context-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 13px 18px;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  background: var(--surface-1);
}

.context-strip p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ── Status pill ── */

@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-1);
}

.status-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: live-blink 2s ease-in-out infinite;
}

.status-pill span {
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* ── Intro block (topbar follow-on) ── */

.intro { margin-top: clamp(30px, 5vw, 58px); }
.intro .eyebrow { margin-bottom: 12px; }
.intro .lead { margin-top: 18px; }

/* ── Buttons ── */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-2);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 120ms, color 120ms, border-color 120ms;
}

.btn:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn:active { background: var(--surface-3); }

.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.btn-solid {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.btn-solid:hover {
  background: #e7e2d6;
  border-color: #e7e2d6;
  color: var(--bg);
}

/* ── Panels ── */

.panel {
  padding: clamp(22px, 3.4vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-1);
}

/* ── Tight-joined grids (signature pattern #1) ──
   1px gap over a border-dim background draws perfect hairlines
   between cells, and survives any reflow. */

.joined {
  display: grid;
  gap: 1px;
  background: var(--border-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* ── Stat grid ── */

.stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.stat {
  padding: 18px 18px 20px;
  background: var(--surface-1);
}

.stat .label {
  display: block;
  color: var(--text-3);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat .value {
  display: block;
  margin-top: 9px;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1;
}

.stat .note {
  display: block;
  margin-top: 7px;
  color: var(--text-2);
  font-size: 0.7rem;
  line-height: 1.4;
}

/* ── Card grid ── */

.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* A cell spanning the full grid width — used to even out odd counts. */
.card--wide { grid-column: 1 / -1; }

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--surface-1);
  text-decoration: none;
  color: inherit;
  transition: background 120ms;
}

a.card:hover { background: var(--surface-2); }

.card .eyebrow { margin: 0; }
.card h3 { color: var(--text); }
.card p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.84rem;
  line-height: 1.55;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  color: var(--text-3);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 120ms;
}

.card-foot svg { width: 14px; height: 14px; transition: transform 140ms ease; }

a.card:hover .card-foot { color: var(--text); }
a.card:hover .card-foot svg { transform: translateX(4px); }

/* ── Conic progress ring (signature pattern #5) ── */

.ring {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--text);
  background:
    radial-gradient(circle at center, var(--bg) 52%, transparent 53%),
    conic-gradient(rgba(216, 211, 197, 0.80) var(--ring, 100%),
                   rgba(216, 211, 197, 0.08) var(--ring, 100%));
}

.ring.lg { width: 88px; height: 88px; font-size: 1.05rem; }

/* ── Tags ── */

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-block;
  padding: 4px 9px;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  color: var(--text-3);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Two-column info panel ── */

.split {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.split > div { background: var(--surface-1); padding: clamp(22px, 3vw, 34px); }
.split .eyebrow { margin-bottom: 10px; }
.split h3 { margin-bottom: 12px; }
.split p { color: var(--text-2); font-size: 0.86rem; line-height: 1.6; }

.facts { display: grid; }
.fact {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--border-dim);
}
.fact:first-child { padding-top: 0; border-top: none; }
.fact .k {
  color: var(--text-3);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.fact .v { color: var(--text); font-size: 0.78rem; font-weight: 800; text-align: right; }

/* ── Featured reel ── */

.reel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #000;
  overflow: hidden;
}

.reel video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ── Video gallery ── */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gallery figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-1);
  overflow: hidden;
}

.gallery video,
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #000;
}

.gallery video { aspect-ratio: 16 / 9; }
.gallery img   { aspect-ratio: 3 / 2; }

.gallery figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border-top: 1px solid var(--border-dim);
}

.gallery figcaption .name {
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}

.gallery figcaption .meta {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ── Showreel — multi-clip strips (mixed orientation) ── */

.showreel-h {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.showreel-h video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.showreel-v {
  display: grid;
  grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr));
  gap: 1px;
  background: var(--border-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 12px;
}

.showreel-v video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}

/* ── CTA block ── */

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.cta-text { max-width: 46ch; }
.cta-text h2 { margin-bottom: 12px; }
.cta-text p { margin: 0; color: var(--text-2); font-size: 0.88rem; line-height: 1.55; }

/* ── Note line (placeholder / disclosure) ── */

.note-line {
  margin-top: 14px;
  padding: 11px 15px;
  border-left: 2px solid var(--border);
  background: var(--surface-1);
  color: var(--text-2);
  font-size: 0.73rem;
  line-height: 1.55;
}

/* ── Dashboard mockups (Trading page) ── */

.dash-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-1);
  overflow: hidden;
}

.dash-tag {
  display: block;
  margin: 0;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-dim);
  background: rgba(216, 211, 197, 0.03);
  color: var(--text-3);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dash-body { padding: clamp(18px, 2.4vw, 26px); }

.dash-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

/* Stock card */
.dash-stock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
}
.dash-idx { color: var(--text-2); font-weight: 900; letter-spacing: 0.04em; }
.dash-score {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 900;
  background:
    radial-gradient(circle at center, var(--bg) 52%, transparent 53%),
    conic-gradient(rgba(216,211,197,0.80) 86%, rgba(216,211,197,0.08) 86%);
}

.dash-stock-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
}
.dash-stock-main h3 { font-size: clamp(1.3rem, 2.2vw, 1.85rem); margin-top: 2px; }
.dash-chip {
  display: inline-flex;
  margin-top: 8px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-2);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.dash-price { text-align: right; }
.dash-price strong { display: block; font-size: clamp(1.2rem, 2vw, 1.7rem); }
.dash-price .positive,
.dash-price .negative { font-size: 0.82rem; font-weight: 700; }

.dash-chart {
  width: 100%;
  height: 150px;
  margin: 16px 0 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border-dim);
  background: transparent;
}
.dash-chart .fill { fill: rgba(216, 211, 197, 0.05); }
.dash-chart .line {
  fill: none;
  stroke: rgba(216, 211, 197, 0.65);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dash-kpi {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 10px 0;
}
.dash-kpi > div {
  padding: 11px 13px;
  background: rgba(216, 211, 197, 0.025);
  border-right: 1px solid var(--border-dim);
}
.dash-kpi > div:last-child { border-right: none; }
.dash-kpi span {
  display: block;
  color: var(--text-3);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.dash-kpi strong {
  display: block;
  margin-top: 5px;
  font-size: 0.86rem;
  font-weight: 800;
}

.dash-research {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr);
  margin-top: 10px;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  overflow: hidden;
}
.dash-research > div:first-child {
  padding: 14px;
  border-right: 1px solid var(--border-dim);
  background: rgba(216, 211, 197, 0.025);
}
.dash-research p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.82rem;
  line-height: 1.55;
}
.dash-research .eyebrow { margin-bottom: 6px; }
.dash-media a {
  display: block;
  padding: 10px 13px;
  border-bottom: 1px solid var(--border-dim);
  color: var(--text);
  text-decoration: none;
  background: rgba(216, 211, 197, 0.025);
}
.dash-media a:last-child { border-bottom: none; }
.dash-media strong { display: block; font-size: 0.78rem; line-height: 1.32; }
.dash-media span {
  display: block;
  margin-top: 4px;
  font-size: 0.66rem;
  color: var(--text-3);
}

/* Ladder */
.dash-ladder-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-dim);
}
.dash-ladder-head strong { font-size: 0.98rem; letter-spacing: 0.04em; }
.dash-ladder-head span {
  color: var(--text-3);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dash-ladder { display: grid; gap: 3px; }
.dash-rung {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  border: 1px solid var(--border-dim);
  border-radius: 4px;
  background: rgba(216, 211, 197, 0.025);
  font-size: 0.7rem;
}
.dash-rung .label {
  color: var(--text-3);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dash-rung .price { font-weight: 700; }
.dash-rung .qty {
  color: var(--text-3);
  font-size: 0.58rem;
}

/* Session timeline */
.dash-session-head { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.dash-session-head .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
  flex-shrink: 0;
}
.dash-session-head strong { font-size: 0.96rem; color: var(--green); }
.dash-summary {
  margin: 0 0 10px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text);
}
.dash-summary span { display: block; color: var(--text-2); margin-bottom: 2px; }

.dash-timeline { display: flex; align-items: center; gap: 10px; margin: 6px 0 18px; }
.dash-timeline .day {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  color: var(--text-3);
  width: 32px;
  flex-shrink: 0;
}
.dash-timeline .track {
  flex: 1;
  position: relative;
  height: 8px;
  border-radius: 4px;
  display: flex;
  background: rgba(216, 211, 197, 0.04);
}
.dash-timeline .seg { height: 100%; border-radius: 4px; }
.dash-timeline .seg + .seg { margin-left: 2px; }
.dash-timeline .seg--closed { background: rgba(107, 114, 128, 0.36); }
.dash-timeline .seg--pre    { background: #f59e0b; }
.dash-timeline .seg--rth    { background: #22c55e; }
.dash-timeline .seg--post   { background: #3b82f6; }
.dash-timeline .tick {
  position: absolute;
  top: 100%;
  margin-top: 4px;
  transform: translateX(-50%);
  font-size: 0.55rem;
  color: var(--text-3);
}
.dash-timeline .tick em { font-style: normal; }
.dash-timeline .needle {
  position: absolute;
  top: -3px; bottom: -3px;
  width: 2px;
  background: var(--text);
  border-radius: 1px;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(11, 9, 6, 0.8);
}

.dash-foot {
  color: var(--text-3);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* Backtest */
.dash-bt-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-dim);
}
.dash-bt-head strong { font-size: 0.98rem; letter-spacing: 0.04em; }
.dash-bt-head span {
  color: var(--text-3);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dash-bt-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  margin-bottom: 8px;
}
.dash-bt-metrics > div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-dim);
  font-size: 0.72rem;
}
.dash-bt-metrics > div:nth-last-child(-n+2) { border-bottom: none; }
.dash-bt-metrics span {
  color: var(--text-3);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.dash-bt-metrics strong { font-weight: 800; }

.dash-spark {
  width: 100%;
  height: 54px;
  border-radius: 3px;
  border: 1px solid var(--border-dim);
}
.dash-spark .line {
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dash-spark .fill { fill: rgba(34, 197, 94, 0.12); }

.positive { color: var(--green); }
.negative { color: var(--red); }

/* ── Watermark footer ── */

.watermark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(56px, 9vw, 110px);
  padding: 28px 0 26px;
  border-top: 1px solid var(--border-dim);
}

.watermark-mark { width: 20px; height: 20px; opacity: 0.35; }

.watermark-text {
  color: var(--text-3);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Focus ── */

a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 1px solid var(--border-strong);
  outline-offset: 2px;
}

/* ── Responsive ── */

@media (max-width: 1040px) {
  .card-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .showreel-v { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dash-three { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .card-grid.cols-2 { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 22px, 620px); padding-top: 18px; }
  .topbar {
    display: grid;
    gap: 16px;
    justify-items: start;
  }
  .stat-grid,
  .stat-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: 1fr; }
  .context-strip { flex-direction: column; align-items: flex-start; }
  .showreel-h { grid-template-columns: 1fr; }
  .showreel-v { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-research { grid-template-columns: 1fr; }
  .dash-research > div:first-child { border-right: none; border-bottom: 1px solid var(--border-dim); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
