/* ==========================================================================
   MDM Media — Phoenix Rebuild
   Aesthetic: Shibui (subtle, understated, refined)
   Theme: Dark mode (extracted from Webflow export)
   ========================================================================== */

@font-face {
  font-family: "Switzer Variable";
  src: url("./cdn.prod.website-files.com/68780cfb640750f3b01bd408/6879c818a0e9202d09c95971_Switzer-Variable.ttf") format("truetype-variations"),
       url("./cdn.prod.website-files.com/68780cfb640750f3b01bd408/6879c818a0e9202d09c95971_Switzer-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer Variable";
  src: url("./cdn.prod.website-files.com/68780cfb640750f3b01bd408/6879c818f51fdd0a2b1446c1_Switzer-VariableItalic.ttf") format("truetype-variations"),
       url("./cdn.prod.website-files.com/68780cfb640750f3b01bd408/6879c818f51fdd0a2b1446c1_Switzer-VariableItalic.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0c0c0d;
  --bg-elevated: #161617;
  --bg-deep: #050505;
  --ink: #ffffff;
  --ink-muted: #a3a3a3;
  --ink-faint: #535353;
  --rule: rgba(255, 255, 255, 0.08);
  --primary: #ff6f5e;
  --accent: #ff4e4e;
  --gradient-one: #ff866b;
  --gradient-two: #c84573;
  --ai-secondary: #5ef3fe;
  --ai-primary: #960353;

  --switzer: "Switzer Variable", Georgia, sans-serif;
  --inter: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--switzer);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ----- Typography -------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--switzer);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h1 { font-weight: 800; }

.eyebrow {
  font-family: var(--switzer);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--ink-muted);
  font-weight: 500;
}

.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.grad {
  background: linear-gradient(120deg, var(--gradient-one), var(--gradient-two));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-muted);
  max-width: 56ch;
  line-height: 1.6;
  margin-top: 12px;
}

/* ----- Layout ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: clamp(48px, 7vw, 96px) 0;
  position: relative;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(28px, 3.5vw, 48px);
  max-width: 720px;
}

.divider {
  height: 1px;
  background: var(--rule);
  width: 100%;
}

/* ----- Navigation -------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 22px 0;
  background: rgba(12, 12, 13, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: padding 240ms var(--ease);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand-spell { font-weight: 400; color: var(--ink); }
.brand-spell strong { font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
  list-style: none;
  margin: 0; padding: 0;
}

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  transition: color 200ms var(--ease);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a.cta {
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.nav-links a.cta:hover { background: var(--ink); color: var(--bg); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 32px; height: 32px;
  position: relative;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 6px; right: 6px; height: 1px; background: var(--ink);
  transition: transform 240ms var(--ease), opacity 240ms var(--ease);
}
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(0) rotate(-45deg); }

/* ----- Manifesto (post-hero headline) ----------------------------------- */
.manifesto {
  padding: clamp(56px, 9vw, 120px) 0 clamp(24px, 4vw, 56px);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 100%);
  text-align: center;
}
.manifesto-headline {
  font-family: var(--switzer);
  font-weight: 800;
  font-size: clamp(40px, 6.4vw, 96px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  max-width: 22ch;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1100ms var(--ease), transform 1100ms var(--ease);
}
.manifesto-headline.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.manifesto-headline em {
  font-style: italic;
  font-weight: 800;
  background: linear-gradient(120deg, var(--gradient-one), var(--gradient-two));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ----- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg .hero-video-mobile { display: none; }
@media (max-width: 600px) {
  .hero-bg .hero-video-desktop { display: none; }
  .hero-bg .hero-video-mobile { display: block; }
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 35%, rgba(12,12,13,0.92) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--gutter) clamp(72px, 12vh, 140px);
}

.hero-headline {
  font-size: clamp(44px, 8vw, 112px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.045em;
  max-width: 14ch;
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(120deg, var(--gradient-one), var(--gradient-two));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 28px;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--ink-muted);
  max-width: 48ch;
  line-height: 1.55;
}

.hero-meta {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--switzer);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--primary); }

.hero-controls {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(72px, 12vh, 140px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-controls button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.4);
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.hero-controls button:hover { background: rgba(0,0,0,0.7); border-color: rgba(255,255,255,0.55); }

/* ----- Video scroller (Our Work) ---------------------------------------- */
.video-scroller {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 28px;
  scroll-padding-left: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.video-scroller::-webkit-scrollbar { height: 6px; }
.video-scroller::-webkit-scrollbar-track { background: transparent; }
.video-scroller::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
}

.video-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  cursor: pointer;
  flex: 0 0 auto;
  width: clamp(240px, 26vw, 360px);
  aspect-ratio: 9 / 16;
  scroll-snap-align: start;
}
.video-tile.landscape {
  width: clamp(440px, 50vw, 720px);
  aspect-ratio: 16 / 9;
}
.video-tile video,
.video-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease), filter 600ms var(--ease);
  filter: brightness(0.9);
}
.video-tile:hover video,
.video-tile:hover img { transform: scale(1.04); filter: brightness(1); }

.video-tile-meta {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--switzer);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  z-index: 2;
}
.video-tile-meta .label { opacity: 0.85; }
.video-tile-meta .num { opacity: 0.6; }
.video-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.vt-mute {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.5);
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
.vt-mute:hover {
  background: rgba(0,0,0,0.7);
  border-color: rgba(255,255,255,0.45);
  transform: scale(1.06);
}
.vt-mute.is-on {
  background: rgba(255,111,94,0.85);
  border-color: rgba(255,255,255,0.55);
}

/* ----- Image gallery scroller ------------------------------------------- */
.gallery-scroller {
  display: flex;
  gap: clamp(12px, 1.4vw, 20px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 28px;
  scroll-padding-left: var(--gutter);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.gallery-scroller::-webkit-scrollbar { height: 6px; }
.gallery-scroller::-webkit-scrollbar-track { background: transparent; }
.gallery-scroller::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
}

.gal {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  flex: 0 0 auto;
  scroll-snap-align: start;
  height: clamp(380px, 56vh, 560px);
}
.gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1400ms var(--ease), filter 600ms var(--ease);
}
.gal:hover img { transform: scale(1.04); }

.gal.ratio-4-5  { aspect-ratio: 4 / 5; }
.gal.ratio-1-1  { aspect-ratio: 1 / 1; }
.gal.ratio-16-9 { aspect-ratio: 16 / 9; }
.gal.ratio-9-16 { aspect-ratio: 9 / 16; }

/* ----- Gallery image overlay (project metadata) ----- */
.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 14, 0.70) 0%, rgba(12, 12, 14, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 2.4vw, 32px);
  opacity: 0;
  transition: opacity 320ms var(--ease);
  pointer-events: none;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.gal:hover .gal-overlay,
.gal:focus-within .gal-overlay { opacity: 1; }
.gal-overlay-type {
  font-family: var(--switzer);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 10px;
}
.gal-overlay-client {
  font-family: var(--switzer);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 10px;
}
.gal-overlay-project {
  font-family: var(--switzer);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  max-width: 42ch;
}
@media (prefers-reduced-motion: reduce) {
  .gal-overlay { transition: none; }
}

.gallery-caption {
  margin: 14px 0 0;
  color: var(--ink-muted);
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: 0.02em;
  max-width: 64ch;
  line-height: 1.6;
}
.gallery-caption strong { color: var(--ink); font-weight: 600; }

/* ----- Gallery, coming soon placeholder --------------------------------- */
.gallery-coming-soon {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: clamp(56px, 8vw, 96px) 24px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 111, 94, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  overflow: hidden;
  isolation: isolate;
}
.gallery-coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255,255,255,0.05) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  animation: gcsShimmer 3.6s ease-in-out infinite;
  z-index: -1;
}
@keyframes gcsShimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

.gcs-orb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--gradient-one), var(--gradient-two));
  box-shadow: 0 0 0 0 rgba(255, 111, 94, 0.45);
  animation: gcsPulse 2.4s var(--ease) infinite;
  margin-bottom: 6px;
}
@keyframes gcsPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 111, 94, 0.45); transform: scale(1); }
  70%  { box-shadow: 0 0 0 22px rgba(255, 111, 94, 0); transform: scale(1.08); }
  100% { box-shadow: 0 0 0 0 rgba(255, 111, 94, 0); transform: scale(1); }
}

.gcs-eyebrow {
  font-family: var(--switzer);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}
.gcs-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.gcs-dots {
  display: inline-flex;
  gap: 4px;
  margin-left: 4px;
}
.gcs-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  opacity: 0.3;
  animation: gcsDot 1.4s var(--ease) infinite;
}
.gcs-dots i:nth-child(2) { animation-delay: 0.2s; }
.gcs-dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes gcsDot {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40%           { opacity: 1;    transform: translateY(-3px); }
}

.gcs-sub {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14.5px;
  max-width: 42ch;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-coming-soon::before,
  .gcs-orb,
  .gcs-dots i { animation: none; }
}

/* ----- Who we are, story card ------------------------------------------- */
#who-we-are {
  background: var(--bg);
  padding: clamp(56px, 8vw, 112px) 0;
}

.story-card {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: clamp(36px, 5vw, 72px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0) 100%),
    var(--bg-elevated);
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), border-color 900ms var(--ease);
  max-width: 1080px;
  margin: 0 auto;
}
.story-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(255,255,255,0.16);
}

.story-glow {
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  top: -260px;
  right: -180px;
  background: radial-gradient(closest-side, rgba(255, 111, 94, 0.22), rgba(200, 69, 115, 0.05) 60%, transparent 75%);
  filter: blur(40px);
  z-index: -1;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 1400ms var(--ease), transform 1600ms var(--ease);
  animation: storyGlowDrift 14s ease-in-out infinite;
  animation-play-state: paused;
}
.story-card.is-visible .story-glow {
  opacity: 1;
  transform: scale(1);
  animation-play-state: running;
}
@keyframes storyGlowDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-40px, 30px) scale(1.06); }
}

.story-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(40px, 5vw, 76px);
  bottom: clamp(40px, 5vw, 76px);
  width: 2px;
  background: linear-gradient(180deg, var(--gradient-one), var(--gradient-two));
  border-radius: 2px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1100ms var(--ease) 200ms;
}
.story-card.is-visible::before { transform: scaleY(1); }

.story-head {
  margin-bottom: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.story-eyebrow { color: var(--ai-secondary); }
.story-title {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.story-body {
  display: grid;
  gap: 20px;
  max-width: 70ch;
}
.story-body p {
  margin: 0;
  font-size: clamp(15.5px, 1.15vw, 17.5px);
  line-height: 1.65;
  color: var(--ink-muted);
}
.story-body .story-lead {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}

[data-story-line] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 800ms var(--ease) var(--story-delay, 0ms),
    transform 800ms var(--ease) var(--story-delay, 0ms);
}
.story-card.is-visible [data-story-line] {
  opacity: 1;
  transform: translateY(0);
}

.story-stats {
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.story-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.story-stat-num {
  font-family: var(--switzer);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--gradient-one), var(--gradient-two));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.story-stat-lbl {
  font-family: var(--switzer);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}

@media (max-width: 600px) {
  .story-stats { grid-template-columns: 1fr; gap: 16px; }
  .story-card::before { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .story-card,
  .story-glow,
  [data-story-line],
  .story-card::before { transition: none; animation: none; transform: none; opacity: 1; }
}

/* ----- MDM x AI --------------------------------------------------------- */
#mdm-x-ai { background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%); }

.ai-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 32px);
}

.cap {
  position: relative;
  overflow: hidden;
  grid-column: span 4;
  border: 1px solid var(--rule);
  padding: 36px 30px 32px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
  transition: border-color 360ms var(--ease), transform 420ms var(--ease), background 360ms var(--ease), box-shadow 420ms var(--ease);
  text-align: left;
  font-family: var(--switzer);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}
.cap::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gradient-one), var(--gradient-two));
  opacity: 0.55;
  transition: opacity 360ms var(--ease), height 360ms var(--ease);
}
.cap::after {
  content: "";
  position: absolute;
  top: -45%; right: -25%;
  width: 65%; height: 90%;
  background: radial-gradient(circle, rgba(255,134,107,0.22) 0%, rgba(200,69,115,0.10) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 520ms var(--ease);
  pointer-events: none;
}
.cap:hover {
  border-color: rgba(255,134,107,0.45);
  transform: translateY(-5px);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
  box-shadow: 0 28px 60px -32px rgba(255,134,107,0.5);
}
.cap:hover::before { opacity: 1; height: 3px; }
.cap:hover::after { opacity: 1; }
.cap:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.cap-num {
  position: relative;
  font-family: var(--switzer);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ai-secondary);
  text-shadow: 0 0 22px rgba(94,243,254,0.45);
  margin-bottom: 26px;
  font-weight: 600;
}
.cap h3 {
  position: relative;
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  transition: color 320ms var(--ease);
}
.cap p {
  position: relative;
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 0 0 22px;
}
.cap-more {
  position: relative;
  display: inline-block;
  margin-top: auto;
  font-family: var(--switzer);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  background: linear-gradient(120deg, var(--gradient-one), var(--gradient-two));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 240ms var(--ease);
}
.cap:hover .cap-more { transform: translateX(6px); }

.ai-cta-row {
  margin-top: clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 3vw, 40px);
  text-align: center;
  border-top: 1px solid var(--rule);
  padding-top: clamp(48px, 6vw, 80px);
}
.ai-cta-row p {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 18ch;
  color: var(--ink);
}

/* ----- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--switzer);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease);
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: var(--bg-deep);
}
.btn-primary:hover { background: var(--primary); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-arrow::after { content: "→"; font-family: inherit; }

/* Headline CTA: digital coral / pink fade */
.btn-cta {
  background: linear-gradient(120deg, var(--gradient-one) 0%, var(--accent) 50%, var(--gradient-two) 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #fff;
  border: 0;
  padding: 22px 44px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  border-radius: 999px;
  box-shadow:
    0 14px 36px -12px rgba(255, 78, 78, 0.55),
    0 4px 14px -6px rgba(200, 69, 115, 0.45);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), background-position 600ms var(--ease);
}
.btn-cta:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow:
    0 18px 44px -10px rgba(255, 78, 78, 0.7),
    0 6px 18px -6px rgba(200, 69, 115, 0.55);
}
.btn-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ----- Sales / Contact -------------------------------------------------- */
.sales {
  background: var(--bg-deep);
}
.sales-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.sales-copy h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}
.sales-copy h2 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gradient-one), var(--gradient-two));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sales-copy p {
  margin-top: 24px;
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 44ch;
}
.sales-copy .sales-meta {
  margin-top: 36px;
  display: grid;
  gap: 14px;
  font-size: 14px;
  font-family: var(--switzer);
}
.sales-meta a { color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 4px; }
.sales-meta a:hover { border-color: var(--primary); color: var(--primary); }

.calendly-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: transparent;
}
.calendly-inline-widget { min-width: 320px; height: 660px; }

/* ----- Footer ----------------------------------------------------------- */
.footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--rule);
  background: var(--bg-deep);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-inner .legal {
  font-family: var(--switzer);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.footer-inner a { color: var(--ink-muted); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--switzer); }
.footer-inner a:hover { color: var(--ink); }
.footer-social { display: flex; gap: 22px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  transition: border-color 200ms var(--ease), background 200ms var(--ease), transform 200ms var(--ease);
}
.footer-social a:hover { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.04); transform: translateY(-2px); }
.footer-social img { width: 28px; height: 28px; opacity: 0.85; transition: opacity 200ms var(--ease); }
.footer-social a:hover img { opacity: 1; }

.footer-legal-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-terms {
  font-family: var(--switzer);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.footer-terms:hover { color: var(--ink); border-color: var(--ink); }

/* ----- Capability detail modal ------------------------------------------ */
.cap-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 110;
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cap-modal.open {
  display: flex;
  animation: capFadeIn 240ms var(--ease);
}
@keyframes capFadeIn { from { opacity: 0; } to { opacity: 1; } }

.cap-modal-card {
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: clamp(28px, 4vw, 48px);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7);
  animation: capPop 320ms var(--ease);
}
@keyframes capPop {
  from { transform: translateY(20px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.cap-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: 0;
  color: var(--ink-muted);
  font-size: 26px;
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 50%;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.cap-modal-close:hover { background: rgba(255,255,255,0.06); color: var(--ink); }

.cap-modal-eyebrow {
  font-family: var(--switzer);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ai-secondary);
  font-weight: 600;
  margin-bottom: 14px;
}
.cap-modal-card h3 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.cap-modal-lead {
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0 0 32px;
}
.cap-modal-steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  gap: 18px;
}
.cap-modal-steps li {
  counter-increment: step;
  position: relative;
  padding: 18px 18px 18px 64px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: rgba(255,255,255,0.015);
}
.cap-modal-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 18px;
  font-family: var(--switzer);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary);
}
.cap-modal-steps h4 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.cap-modal-steps p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
}
.cap-modal-card .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* ----- Insights page ---------------------------------------------------- */
.insights-hero {
  padding: clamp(140px, 18vw, 220px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 134, 107, 0.10), transparent 55%),
    radial-gradient(circle at 5% 90%, rgba(200, 69, 115, 0.06), transparent 50%),
    var(--bg);
}
.insights-title {
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-top: 16px;
  max-width: 18ch;
}
.insights-lead {
  margin: 24px 0 0;
  color: var(--ink-muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  max-width: 60ch;
}

.insights-section {
  padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 9vw, 120px);
}

/* ----- Category filter chips ----- */
.insights-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(40px, 4vw, 56px);
  padding-bottom: clamp(28px, 3vw, 40px);
  border-bottom: 1px solid var(--rule);
}
.insights-chip {
  font-family: var(--switzer);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  transition: color 280ms var(--ease), border-color 280ms var(--ease), background 280ms var(--ease), transform 280ms var(--ease);
}
.insights-chip:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.insights-chip.is-active {
  color: var(--ink);
  border-color: transparent;
  background: linear-gradient(120deg, var(--gradient-one), var(--gradient-two));
  box-shadow: 0 8px 28px rgba(255, 111, 94, 0.22);
}

/* ----- Category color tokens (consumed by .insights-card[data-cat]) ----- */
.insights-grid {
  --cat-Strategy: #ff8a6b;
  --cat-AI: #5ef3fe;
  --cat-Tools: #c5b4ff;
  --cat-Brand: #f5c97b;
  --cat-Campaign: #ff6f9c;
  --cat-Craft: #9be3a4;
  --cat-Mindset: #e093ff;
}

.insights-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}
@media (max-width: 760px) {
  .insights-grid { grid-template-columns: 1fr; }
}

.insights-card {
  position: relative;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 720ms var(--ease) var(--insight-delay, 0ms),
    transform 720ms var(--ease) var(--insight-delay, 0ms);
}
.insights-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.insights-card.is-hidden {
  display: none;
}
/* Featured first card spans both columns */
.insights-card.is-featured {
  grid-column: 1 / -1;
}

.insights-card-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(28px, 3vw, 48px);
  height: 100%;
  min-height: 220px;
  padding: clamp(26px, 2.6vw, 40px);
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: 14px;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: border-color 360ms var(--ease), transform 360ms var(--ease), background 360ms var(--ease);
}
.insights-card.is-featured .insights-card-link {
  min-height: 280px;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 111, 94, 0.10), transparent 55%),
    var(--bg-elevated);
}
.insights-card-link::after {
  /* Top accent bar colored by category */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cat-color, var(--primary));
  opacity: 0.5;
  transform-origin: left;
  transform: scaleX(0.18);
  transition: transform 520ms var(--ease), opacity 360ms var(--ease);
}
.insights-card-link:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}
.insights-card-link:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Top row: category badge + index */
.insights-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.insights-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--switzer);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cat-color, var(--ink));
}
.insights-cat::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cat-color, var(--primary));
  box-shadow: 0 0 12px var(--cat-color, var(--primary));
}
.insights-card-num {
  font-family: var(--switzer);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--ink-faint);
}

.insights-card-headline {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0;
  transition: transform 380ms var(--ease);
}
.insights-card.is-featured .insights-card-headline {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  max-width: 22ch;
}
.insights-card-link:hover .insights-card-headline {
  transform: translateX(2px);
}

.insights-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: clamp(20px, 2vw, 28px);
  border-top: 1px solid var(--rule);
}
.insights-card-cta {
  font-family: var(--switzer);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 320ms var(--ease);
}
.insights-card-link:hover .insights-card-cta {
  color: var(--ink);
}
.insights-card-arrow {
  font-size: 20px;
  color: var(--ink-muted);
  transition: transform 320ms var(--ease), color 320ms var(--ease);
  display: inline-block;
}
.insights-card-link:hover .insights-card-arrow {
  color: var(--cat-color, var(--primary));
  transform: translateX(8px);
}

/* Empty state when filter has no matches */
.insights-empty {
  display: none;
  padding: clamp(60px, 8vw, 120px) 0;
  text-align: center;
  color: var(--ink-muted);
  font-size: 15px;
  letter-spacing: 0.04em;
}
.insights-empty.is-visible { display: block; }

.insights-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(56px, 7vw, 96px);
}

@media (max-width: 760px) {
  .insights-card-link { padding: 24px; }
  .insights-card.is-featured .insights-card-headline { font-size: clamp(24px, 6vw, 32px); }
  .insights-chip { font-size: 11px; padding: 9px 14px; letter-spacing: 0.16em; }
}

@media (prefers-reduced-motion: reduce) {
  .insights-card { opacity: 1; transform: none; transition: none; }
  .insights-card-link:hover { transform: none; }
  .insights-card-link:hover .insights-card-headline,
  .insights-card-link:hover .insights-card-arrow { transform: none; }
  .insights-card-link::after { transform: scaleX(1); opacity: 1; }
}

/* ----- Article (post) page ---------------------------------------------- */
.post-hero {
  padding: clamp(120px, 16vw, 200px) 0 clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 111, 94, 0.08), transparent 55%),
    var(--bg);
}
.post-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.post-hero-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--switzer);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cat-color, var(--primary));
}
.post-hero-cat::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cat-color, var(--primary));
  box-shadow: 0 0 12px var(--cat-color, var(--primary));
}
.post-hero-date {
  font-family: var(--switzer);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.post-hero-title {
  font-size: clamp(38px, 5.6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 22ch;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(255, 255, 255, 0.78) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.post-hero-deck {
  margin: 22px 0 0;
  color: var(--ink-muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
  max-width: 64ch;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--switzer);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 28px;
  transition: color 280ms var(--ease), transform 280ms var(--ease);
}
.post-back:hover { color: var(--primary); transform: translateX(-3px); }

.post-feature {
  margin: clamp(28px, 4vw, 48px) auto 0;
  max-width: var(--max);
  padding: 0 var(--gutter);
}
.post-feature img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--rule);
}

.post-body-section {
  padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 10vw, 140px);
}
.post-body {
  max-width: 72ch;
  margin: 0 auto;
  color: var(--ink);
  font-size: 17.5px;
  line-height: 1.85;
}
.post-body p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86);
}
.post-body h2 {
  font-family: var(--switzer);
  font-weight: 800;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.02em;
  margin: clamp(48px, 5vw, 72px) 0 18px;
  color: var(--ink);
}
.post-body h3 {
  font-family: var(--switzer);
  font-weight: 700;
  font-size: clamp(20px, 1.7vw, 24px);
  letter-spacing: -0.01em;
  margin: clamp(36px, 4vw, 56px) 0 14px;
  color: var(--ink);
}
.post-body h3::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--cat-color, var(--primary));
  vertical-align: middle;
  margin-right: 12px;
  margin-bottom: 6px;
  border-radius: 1px;
}
.post-body strong {
  color: var(--ink);
  font-weight: 600;
}
.post-body em { color: var(--ink); }
.post-body a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  transition: color 240ms var(--ease), border-color 240ms var(--ease);
}
.post-body a:hover { color: var(--primary); border-color: var(--primary); }
.post-body ul, .post-body ol {
  padding-left: 22px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86);
}
.post-body li { margin-bottom: 8px; }
.post-body blockquote {
  margin: 32px 0;
  padding: 8px 0 8px 24px;
  border-left: 2px solid var(--cat-color, var(--primary));
  font-style: italic;
  color: var(--ink);
}

.post-foot {
  max-width: 72ch;
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.post-foot a.btn { margin: 0; }

/* Read-next / related posts */
.post-related {
  border-top: 1px solid var(--rule);
  padding: clamp(48px, 6vw, 80px) 0 clamp(72px, 9vw, 120px);
  background: var(--bg-deep);
}
.post-related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.post-related-title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.post-related-link {
  font-family: var(--switzer);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 280ms var(--ease);
}
.post-related-link:hover { color: var(--primary); }
.post-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 760px) {
  .post-related-grid { grid-template-columns: 1fr; }
  .post-body h3::before { display: none; }
}

/* ----- Lead-magnet popup ------------------------------------------------ */
.popup-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.popup-modal.open { display: flex; }
.popup-card {
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 560px;
  width: 100%;
  position: relative;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.popup-card h3 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.popup-card p { color: var(--ink-muted); font-size: 14px; margin: 0 0 24px; }
.popup-card .close {
  position: absolute; top: 14px; right: 14px;
  background: transparent; border: 0; color: var(--ink-muted);
  font-size: 22px; cursor: pointer;
}
.popup-card form { display: flex; flex-direction: column; gap: 14px; }
.popup-card .ff { display: flex; flex-direction: column; gap: 6px; }
.popup-card .ff > span {
  font-family: var(--switzer);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.popup-card .ff > span em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.7;
  margin-left: 4px;
}
.popup-card .ff-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.popup-card .ff-foot {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
}
.popup-card input[type="text"],
.popup-card input[type="email"],
.popup-card textarea {
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--switzer);
  font-size: 15px;
  outline: none;
  width: 100%;
  transition: border-color 200ms var(--ease);
}
.popup-card input[type="text"]:focus,
.popup-card input[type="email"]:focus,
.popup-card textarea:focus { border-color: var(--primary); }
.popup-card textarea {
  resize: vertical;
  min-height: 96px;
  font-family: var(--switzer);
  line-height: 1.5;
}
@media (max-width: 520px) {
  .popup-card { padding: 28px 22px; }
  .popup-card .ff-row { grid-template-columns: 1fr; }
}
.popup-card input[type="submit"] {
  background: var(--ink);
  color: var(--bg-deep);
  border: 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-family: var(--switzer);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.popup-card input[type="submit"]:hover { background: var(--primary); color: var(--ink); }

/* ----- Responsive ------------------------------------------------------- */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: 16px var(--gutter) 28px;
    transform: translateY(-110%);
    transition: transform 320ms var(--ease);
  }
  .nav-links li { width: 100%; border-top: 1px solid var(--rule); }
  .nav-links li:first-child { border-top: 0; }
  .nav-links a { display: block; padding: 18px 0; font-size: 18px; color: var(--ink); }
  .nav-links a.cta { margin: 18px 0 0; display: inline-block; }
  .nav-open .nav-links { transform: translateY(0); }

  .video-tile { width: clamp(220px, 70vw, 320px); }
  .gal { height: clamp(320px, 50vh, 460px); }

  .cap { grid-column: span 6; }

  .sales-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .video-tile { width: 78vw; }
  .gal { height: 56vh; }
  .cap { grid-column: span 12; }
  .hero-controls { right: 16px; bottom: 24px; }
  .footer-social a { width: 56px; height: 56px; }
  .footer-social img { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
