/* ── Brand tokens ─────────────────────────────────────────────────── */
:root {
  --brand:              #F97316;
  --brand-soft:         rgba(249, 115, 22, 0.10);
  --brand-glow:         rgba(249, 115, 22, 0.05);
  --brand-border:       rgba(249, 115, 22, 0.22);
  --brand-border-hover: rgba(249, 115, 22, 0.48);
  --brand-soft-hover:   rgba(249, 115, 22, 0.16);
  --font-display:       'Inter', 'Geist', -apple-system, sans-serif;
  --hero-scale:         0.94; /* Inter renders large at equal rem */
  --font-body:          'Inter', 'Geist', -apple-system, sans-serif;
  --dot-grid-color:     rgba(249, 115, 22, 0.12);
  --dot-grid-size:      30px;
}

[data-theme="dark"] {
  --ink-mute:  #999999;
  --ink-ghost: #8A8A8A;
}
[data-theme="light"] {
  --dot-grid-color: rgba(249, 115, 22, 0.18);
}

/* ── Dot grid ──────────────────────────────────────────────────────── */
body {
  background-color: var(--surface);
  background-image: radial-gradient(
    circle,
    var(--dot-grid-color) 1px,
    transparent 1px
  );
  background-size: var(--dot-grid-size) var(--dot-grid-size);
  background-position: 0 0;
}

/* ── Image frames ──────────────────────────────────────────────────── */
.figma-placeholder {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--surface-1);
  border: 1px solid var(--border-mid);
}
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.media-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1rem;
  align-items: start;
}
.media-pair-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.media-pair-col .gallery-caption {
  margin: 0;
  max-width: none;
}

/* ── Gallery (the NDA-friendly portfolio wall) ─────────────────────── */
.gallery-block { margin: 0 0 5rem; }
.gallery-block:last-child { margin-bottom: 0; }
.gallery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0 0 1.25rem;
}
.gallery-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}
.gallery-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-ghost);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.gallery-caption {
  font-size: 0.9375rem;
  color: var(--ink-mute);
  line-height: 1.6;
  max-width: 66ch;
  margin: 0 0 1.5rem;
}
.shot-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: start;
}
.cs-video {
  width: 100%;
  height: auto;
  display: block;
}

/* ── NDA aside ─────────────────────────────────────────────────────── */
.nda-note {
  border: 1px dashed var(--brand-border);
  background: var(--brand-glow);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  margin: 3rem 0 0;
}
.nda-note p {
  font-size: 0.9375rem;
  color: var(--ink-mute);
  line-height: 1.6;
  margin: 0;
}
.nda-note strong { font-weight: 500; color: var(--ink); }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links { display: none; }
  .wrap, .wrap-wide { padding: 0 1.25rem; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .exec-summary { grid-template-columns: 1fr; }
  .two-up { grid-template-columns: 1fr; }
  .media-pair { grid-template-columns: 1fr; }
  .shot-trio { grid-template-columns: 1fr; }
}
