/* ============================================================
   SOUND + VISION  —  Global Stylesheet
   Light Editorial Design System  (v2)
   ============================================================ */

/* ── Custom Properties ── */
:root {
  /* Light editorial base */
  --paper:          #FAF8F3;
  --paper-2:        #F3F0E8;
  --surface:        #FFFFFF;
  --ink:            #1A1A1E;
  --ink-dim:        rgba(26, 26, 30, 0.65);
  --muted:          #726C5C; /* AA on --paper, --paper-2 and white */
  --border:         #E5E0D5;

  /* Brand accents */
  --violet:         #485878;
  --violet-light:   #5E6D91;   /* AA on light surfaces; brand #6878A0 returns on dark */
  --cyan:           #497571;   /* AA on light surfaces; brand #5A8F8A returns on dark */
  --gold:           #89672C;   /* AA on light surfaces; brand #C49440 returns on dark */

  /* Original brand shades, for use on dark surfaces */
  --violet-light-brand: #6878A0;
  --cyan-brand:         #5A8F8A;
  --gold-brand:         #C49440;
  --muted-on-dark:      #8B8471;

  /* Dark band */
  --dark-bg:        #0D0D12;
  --dark-card:      #131318;
  --dark-text:      #EDE8DC;
  --dark-text-dim:  rgba(237, 232, 220, 0.70);
  --dark-border:    rgba(72, 88, 120, 0.30);

  /* Computed accents (used by components) */
  --violet-dim:     rgba(72, 88, 120, 0.10);
  --violet-border:  rgba(72, 88, 120, 0.25);
  --cyan-dim:       rgba(90, 143, 138, 0.10);
  --cyan-border:    rgba(90, 143, 138, 0.25);

  /* Utility */
  --white-pure:     #FFFFFF;
  --danger:         #C93535;

  /* Semi-transparent surface variants */
  --shadow-sm:      rgba(26, 26, 30, 0.07);
  --shadow-md:      rgba(26, 26, 30, 0.10);
  --ink-shadow:     rgba(26, 26, 30, 0.08);
  --paper-nav:      rgba(250, 248, 243, 0.94);
  --paper-mobile:   rgba(250, 248, 243, 0.98);
  --white-over-06:  rgba(255, 255, 255, 0.06);
  --white-over-07:  rgba(255, 255, 255, 0.07);
  --white-over-08:  rgba(255, 255, 255, 0.08);
  --white-over-10:  rgba(255, 255, 255, 0.10);
  --white-over-03:  rgba(255, 255, 255, 0.03);
  --white-over-02:  rgba(255, 255, 255, 0.02);
  --violet-hover:   rgba(104, 120, 160, 0.55);
  --violet-bg-15:   rgba(72, 88, 120, 0.15);
  --violet-overlay: rgba(72, 88, 120, 0.30);
  --dark-text-55:   rgba(237, 232, 220, 0.55);
  --dark-text-45:   rgba(237, 232, 220, 0.45);
  --hero-grad-1:    rgba(90, 143, 138, 0.07);
  --hero-grad-2:    rgba(72, 88, 120, 0.05);
  --gold-border:          rgba(196, 148, 64, 0.35);
  --gold-border-dark:     rgba(196, 148, 64, 0.40);
  --violet-border-dark:   rgba(104, 120, 160, 0.40);
  --cyan-border-dark:     rgba(90, 143, 138, 0.40);
  --callout-tip-bg:       rgba(90, 143, 138, 0.08);
  --callout-warn-bg:      rgba(196, 148, 64, 0.08);
  --callout-danger-bg:    rgba(220, 60, 60, 0.08);
  --callout-warn-border:  rgba(196, 148, 64, 0.30);
  --callout-danger-border: rgba(220, 60, 60, 0.30);
  --glow-violet-bg:    rgba(72, 88, 120, 0.20);
  --glow-cyan-bg:      rgba(90, 143, 138, 0.18);
  --placeholder-dark:  rgba(237, 232, 220, 0.35);
  --blog-thumb-grad1:  rgba(72, 88, 120, 0.28);
  --blog-thumb-grad2:  rgba(72, 88, 120, 0.22);
  --video-scrim:       rgba(26, 26, 30, 0.45);

  /* Radii */
  --radius-sm:      6px;
  --radius:         10px;
  --radius-lg:      16px;

  /* Layout */
  --nav-h:          72px;
  --section-pad:    clamp(80px, 10vw, 140px);

  /* Typography */
  --font-head:      'Newsreader', Georgia, serif;
  --font-body:      'Archivo', 'Inter', system-ui, sans-serif;

  /* Transition */
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark surfaces: swap the accents back to the brighter brand shades (they pass
   AA on dark, and the darker light-surface values would not). */
.section--dark,
.cta-section,
.footer {
  --violet-light: var(--violet-light-brand);
  --cyan:         var(--cyan-brand);
  --gold:         var(--gold-brand);
  --muted:        var(--muted-on-dark);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* height:auto keeps any <img width= height=> pair at its true ratio if a more
   specific rule is missing or stale; components that need a fixed box set
   their own height explicitly. */
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 500;          /* Newsreader 600 reads too heavy at display sizes */
  line-height: 1.15;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2.0rem, 4vw, 2.6rem);  letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--ink-dim); font-size: 1rem; line-height: 1.75; }

.label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.label--cyan { color: var(--cyan); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}
.section          { padding: var(--section-pad) 0; }
.section--dark    { background: var(--dark-bg); color: var(--dark-text); }
.section--dark p  { color: var(--dark-text-dim); }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--dark-text); }
.section--card    { background: var(--paper-2); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 12px; }
.gap    { gap: 24px; }
.gap-lg { gap: 48px; }
.text-center  { text-align: center; }
.mt-sm { margin-top: 12px; }
.mt    { margin-top: 24px; }
.mt-lg { margin-top: 48px; }
.mb    { margin-bottom: 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
}

/* Primary: ink on light, cyan on dark */
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid transparent;
}
.btn--primary:hover {
  background: var(--violet);
  transform: translateY(-1px);
}
.section--dark .btn--primary {
  background: var(--cyan);
  color: var(--dark-bg);
  border-color: transparent;
}
.section--dark .btn--primary:hover {
  background: var(--dark-text);
  color: var(--dark-bg);
  transform: translateY(-1px);
}

/* Outline: ink on light, cyan on dark */
.btn--outline {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}
.section--dark .btn--outline {
  border-color: var(--cyan);
  color: var(--cyan);
}
.section--dark .btn--outline:hover {
  background: var(--cyan);
  color: var(--dark-bg);
  transform: translateY(-1px);
}

/* Cyan button (unchanged role) */
.btn--cyan {
  background: var(--cyan);
  color: var(--white-pure);
  border: 1px solid transparent;
}
.btn--cyan:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ── Focus-visible indicators (accessibility) ── */
.btn--primary:focus-visible,
.btn--outline:focus-visible,
.btn--cyan:focus-visible,
.nav__links a:focus-visible,
.nav__hamburger:focus-visible,
.filter-btn:focus-visible,
.work-card:focus-visible,
.blog-card:focus-visible,
.footer a:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.btn-group { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ── Cards (shared base) ── */
.card,
.service-card,
.testimonial-card,
.work-card,
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card {
  padding: 32px;
}
.card:hover {
  border-color: var(--violet-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--ink-shadow);
}
.card--cyan:hover { border-color: var(--cyan); }

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-family: var(--font-body);
  background: transparent;
}
.badge--violet { color: var(--violet-light); border: 1px solid var(--violet-border); }
.badge--cyan   { color: var(--cyan);         border: 1px solid var(--cyan-border); }
.badge--gold   { color: var(--gold);         border: 1px solid var(--gold-border); }

/* On dark sections, keep badges legible */
.section--dark .badge--violet { color: var(--violet-light); border-color: var(--violet-border-dark); }
.section--dark .badge--cyan   { color: var(--cyan);         border-color: var(--cyan-border-dark); }
.section--dark .badge--gold   { color: var(--gold);         border-color: var(--gold-border-dark); }

/* ── Section heading ── */
.section-header { margin-bottom: clamp(40px, 6vw, 72px); }
.section-header .label { margin-bottom: 16px; display: block; }
.section-header h2 { margin-bottom: 20px; }
.section-header p { max-width: 560px; font-size: 1.05rem; }
.section-header--center   { text-align: center; }
.section-header--center p { margin: 0 auto; }

/* ── Divider ── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ── Glow blobs (decorative — only render on dark bands) ── */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  display: none; /* hidden on light sections */
}
.section--dark .glow,
.page-hero .glow,
.cta-section .glow,
.post-hero .glow {
  display: block;
}
.glow--violet { background: var(--glow-violet-bg); opacity: 0.25; }
.glow--cyan   { background: var(--glow-cyan-bg);   opacity: 0.22; }

/* ── #heroWave canvas (new — sits behind hero text) ── */
#heroWave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  width: 100%;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 0 40px;
  overflow: hidden;
}

/* ── Trust bar (hero format list) ── */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.trust-bar span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust-bar span + span::before {
  content: '·';
  margin-right: 20px;
  color: var(--border);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}
.nav.scrolled {
  background: var(--paper-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav__logo {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__logo-mark {
  width: 32px; height: 32px;
  background: var(--ink);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--paper);
  flex: none;
}
.nav__logo span { color: var(--cyan); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-dim);
  transition: color var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav__links a:hover        { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.active       { color: var(--ink); }
.nav__links a.active::after { transform: scaleX(1); }

/* Nav outline CTA — inherits .btn .btn--outline but sits on light nav */
.nav__cta { margin-left: 8px; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--paper-mobile);
  backdrop-filter: blur(16px);
  padding: 40px;
  flex-direction: column;
  gap: 32px;
  z-index: 999;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink-dim);
  transition: color var(--transition);
}
.nav__mobile a:hover { color: var(--cyan); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  padding-bottom: 40px;
  background: var(--paper);
}
/* Format list sits at the foot of the hero, full width under both columns. */
.hero > .trust-bar {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px clamp(20px, 5vw, 60px) 0;
  border-top: 1px solid var(--border);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 60% 100%, var(--hero-grad-1) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 80% 20%, var(--hero-grad-2) 0%, transparent 50%);
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 80px 0 120px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
/* Small "Work · Film" breadcrumb kicker on category pages. */
.page-hero__kicker {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 10px;
}
/* Credits sit directly under the CTAs — the proof, above the fold. */
.hero__credits { margin-top: 56px; }
.hero__credits-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.hero__credits ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
}
.hero__credits li {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.hero__media { margin: 0; position: relative; z-index: 1; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__content { padding: 40px 0 80px; }
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.hero__eyebrow-line {
  width: 40px; height: 1px;
  background: var(--cyan);
}
.hero__title {
  color: var(--ink);
  margin-bottom: 28px;
  /* smaller than the old full-width hero — it now shares the row with the still */
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: var(--violet-light);
}
.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--ink-dim);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.hero__btns { margin-bottom: 64px; }
.hero__scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__scroll-icon {
  width: 24px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}
.hero__scroll-dot {
  width: 4px; height: 4px;
  background: var(--cyan);
  border-radius: 50%;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0);    opacity: 1; }
  80%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}

/* ── Trust bar (existing HTML structure) ── */
.trust {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--paper-2);
}
.trust__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 8px;
}
.trust__badge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--ink-dim);
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.trust__badge:hover {
  border-color: var(--violet-light);
  color: var(--ink);
}
.trust__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet);
}
.trust__badge-dot--cyan { background: var(--cyan); }
.trust__sep {
  width: 1px; height: 20px;
  background: var(--border);
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  padding: 36px;
}
.service-card:hover {
  border-color: var(--violet-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--shadow-sm);
}
.section--dark .service-card {
  background: var(--dark-card);
  border-color: var(--dark-border);
}
.section--dark .service-card:hover {
  border-color: var(--violet-hover);
}
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--violet-dim);
  border: 1px solid var(--violet-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
  transition: var(--transition);
  color: var(--violet-light);
}
.service-card:hover .service-card__icon {
  background: var(--violet);
  color: var(--white-pure);
  border-color: transparent;
}
.service-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.service-card p  { font-size: 0.9rem; margin-bottom: 24px; }
/* Option C: delivery formats sit where the icon used to. Information, not
   ornament -- it is the first thing a post supervisor scans for. */
.service-card__spec {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--violet);
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}
.section--dark .service-card__spec { border-bottom-color: var(--dark-border); }

.service-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.service-card__link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.service-card:hover .service-card__link { gap: 10px; }
.service-card__accent {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(to right, var(--violet), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-card__accent { transform: scaleX(1); }

/* ============================================================
   REEL SECTION
   ============================================================ */
.reel-section { position: relative; }
.reel-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-card);
  border: 1px solid var(--border);
  box-shadow: 0 24px 56px var(--shadow-md);
  aspect-ratio: 16 / 9;
}
.reel-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.spatial-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
#spatialCanvas { display: block; max-width: 100%; height: auto; }
.spatial-formats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ============================================================
   AUDIO PLAYER (Before/After)
   ============================================================ */
.audio-player {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 32px;
}
.section--dark .audio-player {
  background: var(--dark-card);
  border-color: var(--dark-border);
}
.audio-player__tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.audio-player__tab {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: var(--transition);
}
.audio-player__tab.active {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--white-pure);
}
.audio-player__track {
  display: flex;
  align-items: center;
  gap: 16px;
}
.audio-player__play {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  color: var(--white-pure);
  transition: var(--transition);
}
.audio-player__play:hover {
  background: var(--violet-light);
}
.audio-player__waveform {
  flex: 1;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: hidden;
}
.audio-player__bar {
  flex: 1;
  border-radius: 2px;
  background: var(--border);
  transition: height 0.1s;
  cursor: pointer;
}
.audio-player__bar.played { background: var(--violet); }
.audio-player__time {
  font-size: 0.8rem;
  font-family: var(--font-body);
  color: var(--muted);
  flex-shrink: 0;
}
.audio-player__label {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-body);
  margin-top: 12px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  padding: 32px 36px;
}
.testimonial-card:hover {
  border-color: var(--violet-light);
  box-shadow: 0 6px 20px var(--shadow-sm);
}
.testimonial-card__quote {
  font-size: 3rem;
  color: var(--violet-light);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}
.testimonial-card__text {
  font-size: 1rem;
  color: var(--ink-dim);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--white-pure);
}
.testimonial-card__name { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.testimonial-card__role { font-size: 0.8rem; color: var(--muted); }
.section--dark .testimonial-card {
  background: var(--dark-card);
  border-color: var(--dark-border);
}
.section--dark .testimonial-card__text { color: var(--dark-text-dim); }
.section--dark .testimonial-card__name { color: var(--dark-text); }
.section--dark .testimonial-card__role { color: var(--dark-text-dim); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  color: var(--dark-text);
}
.cta-section p { color: var(--dark-text-dim); }
.cta-section h1,
.cta-section h2 { color: var(--dark-text); }
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-inner h2 { margin-bottom: 20px; }
.cta-inner p  { margin-bottom: 40px; font-size: 1.05rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--white-over-06);
  padding: 64px 0 32px;
  color: var(--paper);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 260px;
}
.footer .nav__logo { color: var(--paper); }
.footer .nav__logo-mark {
  background: var(--paper);
  color: var(--ink);
}
.footer__col h3 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col ul a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer__col ul a:hover { color: var(--paper); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--white-over-07);
}
.footer__copy { font-size: 0.8rem; color: var(--muted); }
.footer__socials { display: flex; gap: 16px; }
.footer__social {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--white-over-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--muted);
  transition: var(--transition);
}
.footer__social:hover {
  border-color: var(--violet-light);
  color: var(--paper);
  background: var(--violet-dim);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
.page-hero__content { position: relative; z-index: 1; max-width: 760px; }
.page-hero .label { margin-bottom: 16px; display: block; }
.page-hero h1 { margin-bottom: 24px; }
.page-hero p  { font-size: 1.1rem; max-width: 560px; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.section--dark .service-full { border-bottom-color: var(--dark-border); }
.service-full:last-child { border-bottom: none; }
.service-full--flip .service-full__visual { order: -1; }
.service-full h2 { margin-bottom: 16px; font-size: 1.6rem; }
.service-full p  { margin-bottom: 24px; }
.service-full__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.service-full__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--ink-dim);
}
.section--dark .service-full__list li { color: var(--dark-text-dim); }
.service-full__list li::before {
  content: '→';
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 1px;
}
.service-full__visual {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.section--dark .service-full__visual {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.section--dark .process-step {
  background: var(--dark-card);
  border-color: var(--dark-border);
}
.process-step__num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.section--dark .process-step__num { color: var(--dark-border); }
.process-step h3 { margin-bottom: 8px; }
.process-step p  { font-size: 0.85rem; }
.process-step::after {
  content: '→';
  position: absolute;
  right: -18px; top: 50%;
  transform: translateY(-50%);
  color: var(--border);
  font-size: 1.2rem;
  z-index: 1;
}
.process-step:last-child::after { display: none; }

.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.format-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.format-item:hover { border-color: var(--violet-light); }
.format-item__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--violet);
  flex-shrink: 0;
}
.format-item__dot--cyan { background: var(--cyan); }
.format-item span { font-size: 0.875rem; font-weight: 500; color: var(--ink); }

/* ============================================================
   WORK PAGE
   ============================================================ */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: var(--transition);
  background: transparent;
}
.filter-btn.active,
.filter-btn:hover {
  border-color: var(--violet-light);
  color: var(--violet-light);
  background: var(--violet-dim);
}
.section--dark .filter-btn {
  border-color: var(--dark-border);
  color: var(--dark-text-dim);
}
.section--dark .filter-btn.active,
.section--dark .filter-btn:hover {
  border-color: var(--violet-hover);
  color: var(--violet-light);
  background: var(--violet-bg-15);
}

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card {
  cursor: pointer;
}
.work-card:hover {
  border-color: var(--violet-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--shadow-sm);
}
.work-card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
  color: var(--ink-dim);
}
.work-card__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--surface));
}
.work-card__overlay {
  position: absolute;
  inset: 0;
  background: var(--violet-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  font-size: 2rem;
}
.work-card:hover .work-card__overlay { opacity: 1; }
.work-card__info { padding: 20px 24px; }
.work-card__info h4 { margin-bottom: 6px; font-size: 0.95rem; color: var(--ink); }
.work-card__info p  { font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; }
.work-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.section--dark .work-card {
  background: var(--dark-card);
  border-color: var(--dark-border);
}
.section--dark .work-card__info h4 { color: var(--dark-text); }
.section--dark .work-card__info p  { color: var(--dark-text-dim); }

/* ---- Work category hub (work.html) ---- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.cat-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--violet-light);
}
.cat-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-2);
}
.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.cat-card:hover .cat-card__media img { transform: scale(1.04); }
.cat-card__body { padding: 26px 28px 30px; }
.cat-card__body h3 { margin-bottom: 8px; color: var(--ink); }
.cat-card__body p  { font-size: 0.9rem; color: var(--ink-dim); margin-bottom: 14px; }
.cat-card__count {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Video project grid (work sub-pages) ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.video-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.video-card:hover {
  transform: translateY(-3px);
  border-color: var(--violet-light);
}
.video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
  overflow: hidden;
}
.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--video-scrim);
  opacity: 0;
  transition: var(--transition);
}
.video-card:hover .video-card__play,
.video-card:focus-visible .video-card__play { opacity: 1; }
.video-card__play span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--ink);
  padding-left: 4px;
}
.video-card__body { padding: 18px 20px 22px; }
.video-card__body h3 {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 8px;
}
.video-card__meta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Stills gallery ---- */
.stills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.still-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.still-card:hover { transform: translateY(-3px); border-color: var(--violet-light); }
.still-card__media {
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
  overflow: hidden;
}
.still-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.still-card__body { padding: 16px 20px 20px; }
.still-card__body h3 { font-size: 0.9rem; color: var(--ink); }

@media (max-width: 900px) {
  .cat-grid,
  .video-grid,
  .stills-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cat-grid,
  .video-grid,
  .stills-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: start;
}
.contact-form  { display: flex; flex-direction: column; gap: 24px; }
.form-group    { display: flex; flex-direction: column; gap: 8px; }
.form-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.95rem;
  transition: var(--transition);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid transparent;
  border-color: var(--violet-light);
  box-shadow: 0 0 0 3px var(--violet-dim);
}
.form-group select option { background: var(--surface); color: var(--ink); }
.form-group textarea { min-height: 140px; }

/* On dark sections (contact.html wraps form in section--dark) */
.section--dark .form-group input,
.section--dark .form-group textarea,
.section--dark .form-group select {
  background: var(--dark-card);
  border-color: var(--dark-border);
  color: var(--dark-text);
}
.section--dark .form-group input::placeholder,
.section--dark .form-group textarea::placeholder { color: var(--placeholder-dark); }
.section--dark .form-group input:focus,
.section--dark .form-group textarea:focus,
.section--dark .form-group select:focus {
  border-color: var(--violet-hover);
  box-shadow: 0 0 0 3px var(--violet-dim);
}
.section--dark .form-group select option { background: var(--dark-card); }
.section--dark .form-group label { color: var(--dark-text-55); }

.contact-info  { display: flex; flex-direction: column; gap: 32px; }
.contact-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.contact-item:hover { border-color: var(--violet-light); }
.contact-item__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--violet-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item__label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-item__value { font-size: 0.95rem; font-weight: 500; color: var(--ink); }

/* Dark-band override for contact items */
.section--dark .contact-item {
  background: var(--dark-card);
  border-color: var(--dark-border);
}
.section--dark .contact-item:hover { border-color: var(--violet-hover); }
.section--dark .contact-item__label { color: var(--dark-text-55); }
.section--dark .contact-item__value { color: var(--dark-text); }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 48px;
  transition: var(--transition);
}
.blog-hero-card:hover { border-color: var(--violet-light); transform: translateY(-3px); }
.blog-hero-card__thumb {
  aspect-ratio: unset;
  min-height: 300px;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--ink-dim);
  position: relative;
}
/* Tint only when there's no real image behind it — a screenshot shouldn't be
   washed out by a gradient overlay. */
.blog-hero-card__thumb:not(:has(img))::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--violet-dim), var(--cyan-dim));
}
.blog-hero-card__content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-hero-card__meta { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.blog-hero-card h2 { font-size: 1.8rem; margin-bottom: 16px; color: var(--ink); }
.blog-hero-card p  { margin-bottom: 28px; color: var(--ink-dim); }

.blog-meta { font-size: 0.8rem; color: var(--muted); }
.section--dark .blog-meta { color: var(--dark-text-45); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  /* base from grouped rule above */
}
.blog-card:hover {
  border-color: var(--violet-hover);
  transform: translateY(-3px);
}
.blog-card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--ink-dim);
}
/* Real screenshots from the posts, not icons. object-position pins the crop to
   the top-left where the timeline/dialog content actually is. */
.blog-card__thumb img,
.blog-hero-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
}
.blog-card__content { padding: 24px; }
.blog-card__meta { margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.blog-card h3 { font-size: 1rem; margin-bottom: 10px; line-height: 1.4; color: var(--ink); }
.blog-card p  { font-size: 0.85rem; margin-bottom: 16px; color: var(--ink-dim); }
.blog-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.blog-card:hover .blog-card__link { gap: 10px; }
.section--dark .blog-card {
  background: var(--dark-card);
  border-color: var(--dark-border);
}
.section--dark .blog-card__thumb { color: var(--dark-text-dim); }
.section--dark .blog-card h3 { color: var(--dark-text); }
.section--dark .blog-card p  { color: var(--dark-text-dim); }

/* ============================================================
   BLOG POST / ARTICLE STYLES
   (Moved from per-page <style> tags — global stylesheet version)
   ============================================================ */
.post-hero {
  padding: calc(var(--nav-h) + 64px) 0 64px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.post-hero .glow { pointer-events: none; }
.post-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.post-meta-bar .badge { font-size: 0.7rem; }
.post-date {
  font-size: 0.82rem;
  color: var(--muted);
}
.post-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}
.post-author-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white-pure);
}
.post-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  max-width: 820px;
}
.post-hero .lead {
  font-size: 1.1rem;
  color: var(--ink-dim);
  max-width: 680px;
  line-height: 1.75;
}

/* Post layout with sidebar */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: start;
  padding: 64px 0 100px;
}

/* Article body */
.post-body h2 {
  font-size: 1.6rem;
  margin: 48px 0 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
}
.post-body h2 .step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white-pure);
  flex-shrink: 0;
}
.post-body h3 {
  font-size: 1.1rem;
  margin: 28px 0 10px;
  color: var(--violet-light);
}
.post-body p {
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-dim);
}
.post-body ul,
.post-body ol {
  margin: 0 0 20px 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-body ul li,
.post-body ol li {
  font-size: 0.95rem;
  color: var(--ink-dim);
  line-height: 1.7;
  padding-left: 24px;
  position: relative;
}
.post-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 0.85rem;
}
.post-body ol { counter-reset: ol-counter; }
.post-body ol li { counter-increment: ol-counter; }
.post-body ol li::before {
  content: counter(ol-counter) '.';
  position: absolute;
  left: 0;
  color: var(--violet-light);
  font-size: 0.85rem;
  font-weight: 700;
}
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body code {
  background: var(--ink);
  border: 1px solid var(--white-over-08);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.85rem;
  color: var(--dark-text);
  font-family: 'Courier New', monospace;
}
.post-divider {
  width: 100%; height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
  margin: 48px 0;
}

/* In-article screenshots */
.post-figure {
  margin: 32px 0;
}
/* width:auto + max-width keeps low-resolution source screenshots at their
   natural size instead of upscaling them into a blurry mess. */
.post-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.post-figure figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}
.post-figure--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
.post-figure--pair .post-figure { margin: 0; }
@media (max-width: 700px) {
  .post-figure--pair { grid-template-columns: 1fr; }
}

/* Callout boxes */
.callout {
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.callout--tip     { background: var(--callout-tip-bg); border: 1px solid var(--cyan-border); }
.callout--warning { background: var(--callout-warn-bg);  border: 1px solid var(--callout-warn-border); }
.callout--danger  { background: var(--callout-danger-bg);   border: 1px solid var(--callout-danger-border); }
/* Typographic label instead of an emoji icon */
.callout__icon {
  flex-shrink: 0;
  margin-top: 3px;
  min-width: 58px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.callout__title  {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.callout--tip .callout__title     { color: var(--cyan); }
.callout--warning .callout__title { color: var(--gold); }
.callout--danger .callout__title  { color: var(--danger); }
.callout p { margin: 0; font-size: 0.9rem; }

/* Tables */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 0.9rem;
}
.spec-table th {
  text-align: left;
  padding: 10px 16px;
  background: var(--paper-2);
  color: var(--violet-light);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.spec-table td {
  padding: 10px 16px;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--border);
}
.spec-table tr:nth-child(even) td { background: var(--paper-2); }
/* Track layout variant */
.spec-table--track td:first-child {
  font-family: 'Courier New', monospace;
  color: var(--cyan);
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Dark-context tables (used in section--dark article wrapper) */
.section--dark .spec-table th {
  background: var(--white-over-03);
  border-bottom-color: var(--dark-border);
}
.section--dark .spec-table td {
  color: var(--dark-text-dim);
  border-bottom-color: var(--dark-border);
}
.section--dark .spec-table tr:nth-child(even) td {
  background: var(--white-over-02);
}

/* Sidebar */
.post-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-card h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.sidebar-toc { display: flex; flex-direction: column; gap: 10px; }
.sidebar-toc a {
  font-size: 0.85rem;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}
.sidebar-toc a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--violet);
  flex-shrink: 0;
}
.sidebar-toc a:hover { color: var(--cyan); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* Author card */
.author-card {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 48px;
}
.author-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-body);
  flex-shrink: 0;
  color: var(--white-pure);
}
.author-name { font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.author-role { font-size: 0.82rem; color: var(--muted); margin-bottom: 10px; }
.author-bio  { font-size: 0.875rem; color: var(--ink-dim); margin: 0; }

/* Post navigation */
.post-nav {
  display: flex;
  gap: 20px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.post-nav a {
  flex: 1;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.post-nav a:hover { border-color: var(--violet-light); }
.post-nav__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-nav__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.post-nav a:last-child { text-align: right; }

/* Scroll reveals removed — content renders immediately.
   The .reveal / .reveal-delay-* classes remain in the markup but are
   inert, so nothing can be left permanently invisible. */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4          { grid-template-columns: repeat(2, 1fr); }
  .footer__grid    { grid-template-columns: 1fr 1fr; gap: 36px; }
  .spatial-grid    { gap: 40px; }
  .service-full    { grid-template-columns: 1fr; gap: 40px; }
  .service-full--flip .service-full__visual { order: 0; }
  .process-grid    { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .post-layout     { grid-template-columns: 1fr 240px; gap: 40px; }
}
@media (max-width: 900px) {
  .post-layout     { grid-template-columns: 1fr; }
  .post-sidebar    { position: static; }
  .post-nav        { flex-direction: column; }
}
@media (max-width: 768px) {
  :root { --section-pad: 64px; }
  .nav__links      { display: none; }
  .nav__cta        { display: none; }
  .nav__hamburger  { display: flex; }
  .grid-2          { grid-template-columns: 1fr; }
  .grid-3          { grid-template-columns: 1fr; }
  .work-grid       { grid-template-columns: 1fr 1fr; }
  .blog-grid       { grid-template-columns: 1fr 1fr; }
  .blog-hero-card  { grid-template-columns: 1fr; }
  .blog-hero-card__thumb { min-height: 200px; }
  .contact-grid    { grid-template-columns: 1fr; gap: 48px; }
  .form-row        { grid-template-columns: 1fr; }
  .spatial-grid    { grid-template-columns: 1fr; }
  .spatial-visual  { height: 280px; }
  .footer__grid    { grid-template-columns: 1fr 1fr; }
  .footer__bottom  { flex-direction: column; gap: 16px; text-align: center; }
  .formats-grid    { grid-template-columns: 1fr 1fr; }
  .process-grid    { grid-template-columns: 1fr; }
  .trust-bar       { gap: 12px; }
}
@media (max-width: 480px) {
  .work-grid       { grid-template-columns: 1fr; }
  .blog-grid       { grid-template-columns: 1fr; }
  .footer__grid    { grid-template-columns: 1fr; }
  .formats-grid    { grid-template-columns: 1fr; }
  .trust__inner    { gap: 8px; }
  .trust-bar span + span::before { display: none; }
}

/* ============================================================
   REDUCED MOTION + NO-JS GUARDS
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Type: keep technical strings in the grotesque ──
   Headlines are Newsreader; specs, labels, badges, buttons, tables and the
   step numerals stay Archivo so figures and format names read cleanly. */
.badge,
.service-card__spec,
.video-card__meta,
.hero__credits-label,
.page-hero__kicker,
.spec-table th,
.spec-table td,
.callout__icon,
.callout__title,
.post-date,
.blog-meta,
.step-num,
.filter-btn,
.footer__col h3,
.author-role,
.post-nav__label { font-family: var(--font-body); }

/* Spatial work page: dark band below the hero, carrying the sphere motif.
   The hero itself stays light so the transparent nav remains readable. */
.spatial-band__split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.spatial-band__split p { max-width: 52ch; }
.spatial-band__mark { margin: 0; display: flex; justify-content: flex-end; }
.spatial-band__mark img { width: min(300px, 100%); height: auto; }
.spatial-band .trust-bar span { color: var(--dark-text-dim); }
@media (max-width: 800px) {
  .spatial-band__split { grid-template-columns: 1fr; gap: 32px; }
  .spatial-band__mark { justify-content: flex-start; }
  .spatial-band__mark img { width: 220px; }
}

/* Signal-flow diagram (Services > How we work). Thin-line language shared with
   the spatial sphere; labels stay in the grotesque so formats read cleanly. */
.flow-block { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--dark-border); }
.flow-block__title { margin: 6px 0 10px; }
.flow-block__sub { max-width: 58ch; margin-bottom: 40px; }
.flow { width: 100%; height: auto; overflow: visible; }
.flow__lbl {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  fill: var(--dark-text-dim);
}
.flow__lbl--strong { font-weight: 700; font-size: 12.5px; fill: var(--dark-text); }
.flow__lbl--gold   { fill: var(--gold); fill-opacity: 0.95; }
.flow__sub {
  font-family: var(--font-body);
  font-size: 11px; letter-spacing: 0.02em;
  fill: var(--muted);
}
@media (max-width: 720px) {
  /* the flow needs its width — let it scroll rather than crush the labels */
  .flow-block { overflow-x: auto; }
  .flow { min-width: 760px; }
}

/* Services panels. Photos run at their native 16:9 so nothing gets cropped;
   the sphere stays a centred mark on the existing 4:3 panel. */
.service-full__visual--photo {
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
  padding: 0;
}
.service-full__visual--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-full__visual--mark img {
  width: min(320px, 72%);
  height: auto;
  position: relative;
  z-index: 1;
}

/* Footer email: lift it above the surrounding muted text so it reads as
   something you can click, not just more small print. */
.footer__copy a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--white-over-10);
  transition: var(--transition);
}
.footer__copy a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* Hero still: a real frame, linked through to the work, with a one-line credit. */
.hero__media-link {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--paper-2);
  aspect-ratio: 16 / 9;
}
.hero__media-link img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.hero__media-link:hover img { transform: scale(1.03); }
.hero__media-cap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.hero__media-cap span:first-child { color: var(--ink); font-weight: 600; }

/* Small sidebar heading that is a real <h2> for outline purposes. */
.heading-sm { font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: 16px; }

/* ── Spatial band: keep paragraphs to a readable measure when the layout stacks ── */
.spatial-section p { max-width: 62ch; }

/* ── Service cards: equal-height columns with the link pinned to the bottom ── */
.service-card { display: flex; flex-direction: column; }
.service-card__tags { margin-top: 0; }
.service-card__link { margin-top: auto; padding-top: 8px; min-height: 44px; }

/* ── Accessibility ── */
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* Tap targets: 44px is the comfortable minimum for thumbs. */
.nav__hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.nav__logo { min-height: 44px; }
.footer__social { width: 44px; height: 44px; }
.footer__col ul a { display: inline-block; padding: 10px 0; }
@media (max-width: 900px) {
  .footer__copy a { display: inline-flex; align-items: center; min-height: 44px; }
}
.blog-card__link, .sidebar-toc a { display: inline-block; padding: 8px 0; }
