/* ============================================================
   BLINK IMAGE — SHARED STYLESHEET
   Design system source of truth. Mirrors the approved homepage
   prototype. All colours via CSS variables (map to theme.json
   when porting to the WordPress block theme).
   ============================================================ */

/* ─── RESET & TOKENS ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #111111;   /* Primary background */
  --black2:  #181818;   /* Card / section backgrounds */
  --black3:  #1f1f1f;   /* Hover states */
  --gold:    #D4A820;   /* Brand accent — Pantone 124C — use sparingly */
  --gold-dk: #b08c16;   /* Gold hover */
  --white:   #ffffff;   /* Primary text */
  --grey:    #999999;   /* Muted text, captions */
  --grey-lt: #cccccc;   /* Body text */
  --border:  rgba(255,255,255,0.08); /* Subtle dividers */
  --border-lt: rgba(255,255,255,0.15);

  --nav-h: 68px;
  --maxw: 1200px;

  /* Fine architectural mesh - layered under a dark tint over hero/band images.
     Lifts overlaid text and gives weaker images a deliberate, textured feel. */
  --mesh:
    repeating-linear-gradient(0deg,  rgba(255,255,255,0.05) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 32px);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem);   font-weight: 700; line-height: 1.1;  letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.3; }

p { color: var(--grey-lt); font-size: 1rem; line-height: 1.7; }

.lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--grey-lt);
  font-weight: 300;
  line-height: 1.7;
}

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }
.section-header { max-width: 680px; margin-bottom: 3.5rem; }
.section-header .eyebrow { margin-bottom: 1rem; }
.section-header h2 { margin-bottom: 1rem; }
.divider-top { border-top: 1px solid var(--border); }
.bg-black2 { background: var(--black2); }

/* ─── NAV ────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(17,17,17,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
/* WordPress admin bar: nudge the fixed nav below the toolbar (logged-in admins only; visitors unaffected, and harmless on the static build). */
body.admin-bar nav { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar nav { top: 46px; } }
/* WordPress: page sections manage their own spacing - remove the editor's default 24px block-gap between top-level sections so divider borders sit flush (as in the static design). Within-section gaps (e.g. funnels) are unaffected. */
.wp-block-post-content > * { margin-block-start: 0; }
/* Hide the muted-preview caption under the homepage showreel (not wanted). */
.video-frame:has(#showreelFrame) + .form-note { display: none; }
/* WordPress: the design system spaces everything with margin-bottom, so the editor's block-gap (margin-top) is purely additive noise. Neutralise it on the direct children of our components; the static margin-bottom rules then produce pixel-perfect layout while every heading/paragraph stays a native, editable block. */
.values-grid > *, .funnel-grid > *, .mini-grid > *, .num-grid > *, .cap-grid > *, .team-grid > *, .showcase-grid > *, .stats-inner > *, .avr-ladder > *,
.section-header > *, .feature-row > *, .feature-text > *, .value-item > *, .pf-step > *, .stat-item > *, .process-full > *, .legal-prose > *,
.funnel-card > *, .portfolio-header > *, .ph-text > *, .proc-head > *, .process-strip > *, .ps-step > *,
.cap-card > *, .avr-rung > *, .callout > *, .process-inner > *, .process-text > *, .process-steps > *, .process-step > *, .step-content > *, .num-item > *,
.contact-grid > *, .contact-details > *, .contact-block > *, .faq-wrap > *, .faq-group > * { margin-block-start: 0; }
/* WordPress: photographic section background carried on a raw-HTML layer behind native, editable content (so the image URL survives editing and the text stays click-to-edit). */
.proc-section { position: relative; overflow: hidden; }
.proc-section > .proc-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.proc-section > .proc-bg::after { content: ''; position: absolute; inset: 0; background: rgba(17,17,17,0.86); }
.proc-section > .container { position: relative; z-index: 1; }
.proc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
/* Native core Details blocks used as editable FAQ accordions on service pages (class faq-item reuses the summary styling; these rules style the answer paragraphs that would otherwise live in .faq-answer). */
.faq-item.wp-block-details > * { margin-block-start: 0; }
.faq-item.wp-block-details > :not(summary) { color: var(--grey-lt); font-size: 0.95rem; line-height: 1.7; margin-top: 0; margin-bottom: 0.85rem; }
.faq-item.wp-block-details > :last-child { margin-bottom: 1.5rem; }
.faq-item.wp-block-details > :not(summary) a { color: var(--gold); }
/* WordPress: wp:image wraps the <img> in a <figure>, which broke the .feature-media crop (the image's height:100% had no sized parent, so it sat at natural height and left a gap). Make the figure fill the 4:3 box so object-fit:cover crops cleanly. */
.feature-media .wp-block-image { height: 100%; margin: 0; display: block; }
.feature-media .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
/* Fluent Forms restyled into the Blink dark theme (matches the original .form-field design). Scoped to the contact form column. */
.contact-form-col .fluentform .ff-el-group { margin-bottom: 1.25rem; }
.contact-form-col .fluentform .ff-el-input--label label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--grey-lt); margin-bottom: 0.4rem; }
.contact-form-col .fluentform input.ff-el-form-control,
.contact-form-col .fluentform textarea.ff-el-form-control,
.contact-form-col .fluentform select.ff-el-form-control {
  background: var(--black2);
  border: 1px solid var(--border-lt);
  border-radius: 3px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  box-shadow: none;
  transition: border-color 0.2s;
}
.contact-form-col .fluentform input.ff-el-form-control:focus,
.contact-form-col .fluentform textarea.ff-el-form-control:focus,
.contact-form-col .fluentform select.ff-el-form-control:focus { outline: none; border-color: var(--gold); box-shadow: none; }
.contact-form-col .fluentform textarea.ff-el-form-control { min-height: 140px; resize: vertical; }
.contact-form-col .fluentform ::placeholder { color: var(--grey); opacity: 1; }
.contact-form-col .fluentform .asterisk-right label:after,
.contact-form-col .fluentform .ff-el-is-required label:after { color: var(--gold); }
.contact-form-col .fluentform .ff-btn-submit {
  background: var(--gold) !important;
  color: var(--black) !important;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 0;
  border-radius: 3px;
  padding: 0.85rem 1.8rem;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s;
}
.contact-form-col .fluentform .ff-btn-submit:hover { background: var(--gold-dk) !important; }
/* Imported newsletter issue pages (blink_insight) - readable article typography for the Beehiiv content, inside the dark theme. */
.insight-article { padding: calc(var(--nav-h) + 3.5rem) 0 5rem; }
.container-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.insight-article .back-link { display: inline-block; margin-bottom: 1.5rem; color: var(--grey); font-size: 0.85rem; }
.insight-article .back-link:hover { color: var(--gold); }
.insight-article .wp-block-post-title { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.6rem; }
.insight-article .wp-block-post-date { display: block; color: var(--grey); font-size: 0.85rem; margin-bottom: 2.75rem; }
.insight-article .wp-block-post-content { color: var(--grey-lt); font-size: 1.05rem; line-height: 1.8; }
.insight-article .wp-block-post-content > *, .insight-article .wp-block-post-content p { margin: 0 0 1.35rem; }
.insight-article .wp-block-post-content table { max-width: 100%; margin: 0 auto 1.5rem; }
.insight-article .wp-block-post-content h2 { color: var(--white); font-size: 1.55rem; letter-spacing: -0.01em; margin: 2.75rem 0 1rem; line-height: 1.25; }
.insight-article .wp-block-post-content h3 { color: var(--white); font-size: 1.2rem; margin: 2.25rem 0 0.85rem; }
.insight-article .wp-block-post-content h4 { color: var(--white); font-size: 1.02rem; margin: 2rem 0 0.75rem; }
.insight-article .wp-block-post-content img { max-width: 100%; height: auto; display: block; border-radius: 4px; margin: 1.75rem auto; }
.insight-article .wp-block-post-content figure { margin: 1.75rem 0; }
.insight-article .wp-block-post-content figcaption { color: var(--grey); font-size: 0.82rem; text-align: center; margin-top: 0.6rem; }
.insight-article .wp-block-post-content a { color: var(--gold); text-decoration: underline; }
.insight-article .wp-block-post-content ul, .insight-article .wp-block-post-content ol { margin: 0 0 1.35rem; padding-left: 1.3rem; }
.insight-article .wp-block-post-content li { margin-bottom: 0.5rem; }
.insight-article .wp-block-post-content blockquote { border-left: 3px solid var(--gold); margin: 1.75rem 0; padding: 0.25rem 0 0.25rem 1.4rem; color: var(--grey-lt); font-style: italic; }
.insight-article .wp-block-post-content hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.insight-article .wp-block-post-content strong { color: var(--white); }
.insight-foot { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
/* Beehiiv image captions - converted to p.insight-caption by the plugin; render small/quiet. */
.insight-article .wp-block-post-content .insight-caption {
	font-size: 0.8rem;
	color: var(--grey);
	text-align: center;
	line-height: 1.5;
	margin: 0.5rem auto 1.9rem;
	max-width: 90%;
}
.insight-article .wp-block-post-content .image__source_text:empty { display: none; }
/* Inline links inside body copy render gold (the static design set this per-link; here it's systemic). Buttons, link-arrows and contact detail links keep their own styling. */
.lead a:not(.link-arrow), .form-note a:not(.link-arrow), .callout p a, .cap-desc a, .num-item p a, .feature-text p a, .careers-note a { color: var(--gold); }
.lead a:not(.link-arrow):hover, .form-note a:not(.link-arrow):hover, .callout p a:hover, .cap-desc a:hover, .num-item p a:hover, .feature-text p a:hover, .careers-note a:hover { text-decoration: underline; }
.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-lt);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  padding: 0.45rem 1.1rem;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--black) !important; }
.nav-cta.active { color: var(--gold) !important; }

.nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; padding: 14px 10px; margin-right: -8px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--black2);
  border-bottom: 1px solid var(--border);
  z-index: 199;
  padding: 1.5rem 2rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--grey-lt);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--white); }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary:hover { background: var(--gold-dk); }

.btn-ghost {
  display: inline-block;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

.btn-outline {
  display: inline-block;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.85rem 2rem;
  border: 1px solid var(--border-lt);
  border-radius: 3px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.arrow { font-size: 1rem; line-height: 1; }
.link-arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s, gap 0.2s;
}
.link-arrow:hover { color: var(--gold); gap: 0.75rem; }

/* ─── HERO (homepage) ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;         /* text sits low, clear of the video's own titles */
  padding-top: var(--nav-h);
  padding-bottom: 9vh;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Showreel video background (Vimeo background mode). Sits above the poster
   image, below the mesh/tint overlay. Oversized + centred to cover the hero. */
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;       /* 16:9 */
  min-height: 100%;
  min-width: 177.78vh;   /* 16:9 */
  border: 0;
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  /* Light over the upper video (its titles play cleanly up there); strong
     dark band across the lower third where our headline + CTAs sit. */
  background:
    linear-gradient(to bottom, rgba(17,17,17,0.35) 0%, rgba(17,17,17,0.32) 34%, rgba(17,17,17,0.74) 66%, rgba(17,17,17,0.95) 100%),
    var(--mesh);
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-content .eyebrow { margin-bottom: 1.5rem; }
.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content h1 em { font-style: normal; color: var(--gold); }
.hero-content .lead { max-width: 560px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* ─── PAGE HERO (interior pages) ─────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero.has-image { min-height: 62vh; display: flex; align-items: flex-end; }
.page-hero.has-video { min-height: 90vh; }
.page-hero .page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero .page-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(17,17,17,0.5) 0%, rgba(17,17,17,0.75) 55%, var(--black) 100%),
    var(--mesh);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 1.25rem; }
.page-hero h1 { max-width: 900px; margin-bottom: 1.25rem; }
.page-hero .lead { max-width: 620px; }
.breadcrumb { font-size: 0.78rem; color: var(--grey); margin-bottom: 1.5rem; letter-spacing: 0.02em; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--grey-lt); }

/* ─── FULL-BLEED IMAGE BAND ──────────────────────────────────── */
.image-band {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-clip: padding-box;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.image-band::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(17,17,17,0.92) 0%, rgba(17,17,17,0.58) 46%, rgba(17,17,17,0.18) 100%),
    var(--mesh);
}
.image-band .container { position: relative; z-index: 1; }
.image-band .eyebrow { margin-bottom: 1rem; }
.image-band h2 { max-width: 640px; font-size: clamp(2rem, 4vw, 3.1rem); }
.image-band p { max-width: 500px; margin-top: 1rem; }

/* ─── STATS BAR ──────────────────────────────────────────────── */
.stats-bar {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--black2);
}
.stats-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-item { padding: 2rem; text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
}
.stat-label { font-size: 0.82rem; font-weight: 400; color: var(--grey-lt); letter-spacing: 0.01em; }

/* ─── CLIENT LOGOS BAR ───────────────────────────────────────── */
.logos-bar { padding: 3rem 0; border-bottom: 1px solid var(--border); background: var(--black); }
.logos-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); text-align: center; margin-bottom: 1.75rem; }
.logos-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2rem 3.5rem; }
.logos-row img { height: 26px; width: auto; opacity: 0.5; filter: brightness(0) invert(1); transition: opacity 0.2s; }
.logos-row img:hover { opacity: 0.85; }

/* ─── SPLIT CARDS (services) ─────────────────────────────────── */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.split-card {
  background: var(--black2);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
}
.split-card:hover { background: var(--black3); }
.split-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.split-card:hover::before { transform: scaleX(1); }
.split-number { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.5rem; }
.split-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.01em; }
.split-card p { font-size: 0.95rem; margin-bottom: 2rem; color: var(--grey); }
.split-card .link-arrow { margin-top: auto; }

/* ─── NUMBERED GRID (why) ────────────────────────────────────── */
.num-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 4rem; }
.num-item-num { font-size: 0.75rem; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.num-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.6rem; }
.num-item p:not(.num-item-num) { font-size: 0.9rem; color: var(--grey); line-height: 1.65; }

/* ─── CAPABILITIES GRID ──────────────────────────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}
.cap-card { background: var(--black2); padding: 2.25rem; position: relative; overflow: hidden; transition: background 0.25s; display: flex; flex-direction: column; }
.cap-card:hover { background: var(--black3); }
.cap-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--gold);
  transition: height 0.3s ease;
}
.cap-card:hover::before { height: 100%; }
.cap-num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 1rem; }
.cap-title { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.cap-desc { font-size: 0.9rem; font-weight: 400; color: var(--grey); line-height: 1.7; }
.cap-go { margin-top: auto; padding-top: 1.35rem; font-size: 0.85rem; font-weight: 600; color: var(--white); display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s, gap 0.2s; }
.cap-card:hover .cap-go { color: var(--gold); gap: 0.75rem; }

/* ─── HOMEPAGE FUNNELS (two primary paths + subordinate mini row) ── */
.funnel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-bottom: 2px; }
.funnel-card { background: linear-gradient(150deg, rgba(212,168,32,0.16), rgba(212,168,32,0.02) 62%), var(--black2); border: 1px solid rgba(212,168,32,0.32); padding: 3rem 2.75rem; position: relative; overflow: hidden; transition: background 0.25s, border-color 0.25s; display: flex; flex-direction: column; }
.funnel-card:hover { background: linear-gradient(150deg, rgba(212,168,32,0.26), rgba(212,168,32,0.05) 62%), var(--black3); border-color: rgba(212,168,32,0.60); }
.funnel-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.funnel-card h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.85rem; }
.funnel-card p:not(.funnel-eyebrow) { font-size: 0.98rem; color: var(--grey); line-height: 1.65; margin-bottom: 1.75rem; flex: 1; }
.funnel-card { cursor: pointer; }
.funnel-go { font-size: 0.9rem; font-weight: 600; color: var(--white); display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s, gap 0.2s; }
.funnel-card:hover .funnel-go { color: var(--gold); gap: 0.85rem; }

.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.mini-card { background: var(--black2); padding: 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.35rem; position: relative; overflow: hidden; transition: background 0.25s; }
.mini-card:hover { background: var(--black3); }
.mini-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--gold); transition: height 0.3s ease; }
.mini-card:hover::before { height: 100%; }
.mini-title { font-size: 1rem; font-weight: 600; color: var(--white); display: inline-flex; align-items: center; gap: 0.4rem; }
.mini-title::after { content: '→'; color: var(--grey); font-size: 0.85rem; transition: color 0.2s; }
.mini-card:hover .mini-title::after { color: var(--gold); }
.mini-desc { font-size: 0.82rem; color: var(--grey); line-height: 1.5; }

/* ─── PORTFOLIO GRID ─────────────────────────────────────────── */
.portfolio-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; gap: 2rem; flex-wrap: wrap; }
.portfolio-header .eyebrow { margin-bottom: 0.75rem; }
/* Masonry via CSS columns - each image keeps its native aspect ratio (no crop) */
.portfolio-grid { column-count: 3; column-gap: 2px; }
.portfolio-item {
  position: relative;
  overflow: hidden;
  background: var(--black3);
  display: block;
  break-inside: avoid;
  margin-bottom: 2px;
}
.portfolio-item img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.portfolio-item:hover img { transform: scale(1.04); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.88) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-meta .project-name { font-size: 0.9rem; font-weight: 600; display: block; color: var(--white); }
.portfolio-meta .project-type { font-size: 0.75rem; color: var(--gold); font-weight: 500; }
.portfolio-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--black3) 0%, #2a2a2a 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey); font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase;
}

/* ─── PORTFOLIO FILTERS ──────────────────────────────────────── */
.filter-bar { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
.filter-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.filter-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-right: 0.5rem; min-width: 62px; }
.filter-btn {
  background: transparent;
  border: 1px solid var(--border-lt);
  color: var(--grey-lt);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.45rem 1rem;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.filter-btn:hover { border-color: var(--grey); color: var(--white); }
.filter-btn.active { border-color: var(--gold); color: var(--gold); }
.portfolio-item.is-hidden { display: none; }
.filter-empty { display: none; padding: 3rem 0; color: var(--grey); text-align: center; }
.filter-empty.show { display: block; }

/* ─── PROCESS (two-col teaser + full list) ───────────────────── */
.process-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.process-text .eyebrow { margin-bottom: 1rem; }
.process-text h2 { margin-bottom: 1.25rem; }
.process-text p { margin-bottom: 2rem; }
.process-steps { display: flex; flex-direction: column; }
.process-step { display: flex; align-items: flex-start; gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.process-step:first-child { border-top: 1px solid var(--border); }
.step-num { font-size: 0.75rem; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; min-width: 28px; padding-top: 0.2rem; }
.step-content h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.2rem; }
.step-content p { font-size: 0.82rem; color: var(--grey); line-height: 1.5; }

/* Full-width numbered process (About page) — 7 steps, transparent gaps so
   any trailing cells on the last row read as empty space, not filled boxes. */
.process-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.process-full .pf-step { background: var(--black); padding: 2rem; position: relative; overflow: hidden; transition: background 0.25s; }
.process-full .pf-step::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--gold); transition: height 0.3s ease; }
.process-full .pf-step:hover { background: var(--black3); }
.process-full .pf-step:hover::before { height: 100%; }
.pf-num { font-size: 2rem; font-weight: 700; color: var(--gold); opacity: 0.4; line-height: 1; margin-bottom: 1.25rem; }
.pf-step h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.6rem; }
.pf-step p:not(.pf-num) { font-size: 0.85rem; color: var(--grey); line-height: 1.6; }

/* ─── FEATURE ROWS (alternating image/text) ──────────────────── */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-row + .feature-row { margin-top: 5rem; }
.feature-row.reverse .feature-media { order: 2; }
.feature-media { aspect-ratio: 4/3; overflow: hidden; background: var(--black3); border: 1px solid var(--border); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-text .eyebrow { margin-bottom: 1rem; }
.feature-text h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 1rem; }
.feature-text p { color: var(--grey-lt); margin-bottom: 1rem; }
.feature-list { list-style: none; margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; }
.feature-list li { font-size: 0.9rem; color: var(--grey-lt); padding-left: 1.5rem; position: relative; }
.feature-list li::before { content: '—'; color: var(--gold); position: absolute; left: 0; }

/* ─── AVR SPEC / CALLOUT ─────────────────────────────────────── */
.callout { background: var(--black2); border-left: 3px solid var(--gold); padding: 1.5rem 1.75rem; margin-top: 1.5rem; }
.callout h4 { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em; color: var(--white); margin-bottom: 0.5rem; }
.callout p { font-size: 0.85rem; color: var(--grey); margin: 0; }

/* AVR ladder */
.avr-ladder { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2px; margin-top: 2rem; }
.avr-rung { background: var(--black2); padding: 1.5rem; border-top: 3px solid var(--border); position: relative; overflow: hidden; transition: background 0.25s; }
.avr-rung::before { content: ''; position: absolute; top: 0; left: 0; height: 3px; width: 0; background: var(--gold); transition: width 0.3s ease; }
.avr-rung:hover { background: var(--black3); }
.avr-rung:hover::before { width: 100%; }
.avr-rung .lvl { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.5rem; }
.avr-rung h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; }
.avr-rung p { font-size: 0.8rem; color: var(--grey); line-height: 1.55; }

/* ─── TAG LIST ───────────────────────────────────────────────── */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.tag { border: 1px solid var(--border-lt); color: var(--grey-lt); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em; padding: 0.45rem 1rem; border-radius: 3px; }

/* ─── TEAM ───────────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2px; }
.team-card { background: var(--black2); overflow: hidden; }
.team-photo { aspect-ratio: 1 / 1; background: linear-gradient(135deg, var(--black3) 0%, #262626 100%); display: flex; align-items: center; justify-content: center; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .initials { font-size: 2.6rem; font-weight: 700; color: var(--gold); opacity: 0.5; letter-spacing: 0.03em; }
.team-info { padding: 1.5rem; }
.team-card .role { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.team-card h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; }
.team-card p { font-size: 0.85rem; color: var(--grey); line-height: 1.6; }
.team-email { display: inline-block; margin-top: 0.85rem; font-size: 0.82rem; font-weight: 500; color: var(--gold); overflow-wrap: anywhere; }
.team-email:hover { text-decoration: underline; }

/* ─── VALUES ─────────────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem 5rem; max-width: 60rem; }
.value-item h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; }
.value-item .value-num { font-size: 0.75rem; font-weight: 700; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.value-item p { font-size: 0.9rem; color: var(--grey); line-height: 1.65; }

/* ─── BLOG ───────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card { background: var(--black2); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; transition: border-color 0.25s, transform 0.25s; display: flex; flex-direction: column; }
.blog-card:hover { border-color: var(--border-lt); transform: translateY(-3px); }
.blog-thumb { aspect-ratio: 40 / 21; overflow: hidden; background: var(--black3); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.blog-card h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.35; margin-bottom: 0.6rem; }
.blog-card p { font-size: 0.88rem; color: var(--grey); line-height: 1.6; margin-bottom: 1.25rem; }
.blog-meta { margin-top: auto; font-size: 0.75rem; color: var(--grey); }

/* ─── CONTACT ────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 2rem; }
.contact-block .label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.5rem; }
.contact-block .value { font-size: 1.05rem; font-weight: 500; color: var(--white); }
.contact-block .value a:hover { color: var(--gold); }
.contact-block .sub { font-size: 0.9rem; color: var(--grey); line-height: 1.6; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--grey-lt); }
.form-field input, .form-field textarea, .form-field select {
  background: var(--black2);
  border: 1px solid var(--border-lt);
  border-radius: 3px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.78rem; color: var(--grey); }

/* Measures for a few one-off paragraphs. These are classes rather than inline
   styles because a style attribute on a core block fails WordPress's block
   validation ("this block contains unexpected or invalid content"). Ordering
   matters: the centred caption carries both .mt-2 and .text-center, and should
   take the narrower measure. */
.form-note.mt-2 { max-width: 760px; }
.form-note.text-center { max-width: 660px; margin-left: auto; margin-right: auto; }
.lead.text-center { max-width: 640px; margin-left: auto; margin-right: auto; }
.tag-list + .lead { margin-top: 2rem; max-width: 760px; }

/* ─── LEGAL PAGES (privacy, terms) ───────────────────────────── */
.legal-page { padding-top: calc(var(--nav-h) + 3.5rem); padding-bottom: 5rem; }
.legal-prose { max-width: 780px; color: var(--grey-lt); font-size: 1rem; line-height: 1.8; }
.legal-prose h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.legal-prose h2 { color: var(--white); font-size: 1.45rem; letter-spacing: -0.01em; margin-top: 2.75rem; margin-bottom: 0.9rem; line-height: 1.25; }
.legal-prose h3 { color: var(--white); font-size: 1.08rem; margin-top: 2rem; margin-bottom: 0.7rem; }
.legal-prose p { margin-bottom: 1.2rem; }
.legal-prose ul { margin: 0 0 1.35rem; padding-left: 1.1rem; }
.legal-prose li { margin-bottom: 0.5rem; }
.legal-prose strong { color: var(--white); font-weight: 600; }
.legal-prose a { color: var(--gold); }
.legal-prose a:hover { text-decoration: underline; }
.legal-prose .callout { margin-bottom: 2rem; }
.legal-updated { font-size: 0.85rem; color: var(--grey); }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-wrap { max-width: 860px; }
.faq-group { margin-bottom: 3.5rem; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group > .eyebrow { margin-bottom: 0.5rem; display: block; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 2.5rem 1.3rem 0;
  position: relative;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover { color: var(--gold); }
.faq-answer { padding: 0 0 1.5rem; }
.faq-answer p { color: var(--grey-lt); font-size: 0.95rem; line-height: 1.7; }
.faq-answer p + p { margin-top: 0.85rem; }
.faq-answer a { color: var(--gold); }
.faq-answer a:hover { text-decoration: underline; }

/* ─── CTA SECTION ────────────────────────────────────────────── */
.cta-section { background: var(--black2); border-top: 1px solid var(--border); text-align: center; }
.cta-section .eyebrow { margin-bottom: 1.25rem; }
.cta-section h2 { margin-bottom: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-section .lead { max-width: 520px; margin: 0 auto 2.5rem; }
.cta-actions { display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-contact { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.cta-contact-item { text-align: center; }
.cta-contact-label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-bottom: 0.35rem; }
.cta-contact-value { font-size: 0.95rem; font-weight: 500; color: var(--white); }
.cta-contact-value a:hover { color: var(--gold); }
.cta-tick-list { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-top: 1.5rem; }
.cta-tick { font-size: 0.8rem; color: var(--grey); display: flex; align-items: center; gap: 0.5rem; }
.cta-tick::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer { background: var(--black); border-top: 1px solid var(--border); padding: 3rem 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 3rem; margin-bottom: 2.5rem; }
@media (max-width: 1024px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.footer-logo img { height: 32px; width: auto; margin-bottom: 1rem; }
.footer-logo p { font-size: 0.82rem; color: var(--grey); line-height: 1.6; max-width: 320px; }
.footer-nav h4, .footer-contact h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); margin-bottom: 1rem; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { font-size: 0.875rem; color: var(--grey-lt); transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold); }
.footer-contact p { font-size: 0.875rem; color: var(--grey-lt); margin-bottom: 0.4rem; }
.footer-contact a:hover { color: var(--gold); }
.footer-base { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-base p { font-size: 0.78rem; color: var(--grey); }
.footer-base a { color: var(--grey); }
.footer-base a:hover { color: var(--gold); }

/* ─── UTIL ───────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

/* ─── WHY (image + text) ─────────────────────────────────────── */
.why-2col { display: grid; grid-template-columns: 1fr 0.82fr; gap: 4.5rem; align-items: center; }
.why-2col .why-points { display: flex; flex-direction: column; gap: 2rem; }
.why-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--border); }

/* ─── SECTION WITH BACKGROUND IMAGE (text over a tinted image) ── */
.section-bg { position: relative; background-size: cover; background-position: center; background-clip: padding-box; }
.section-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(17,17,17,0.96) 0%, rgba(17,17,17,0.9) 45%, rgba(17,17,17,0.82) 100%),
    var(--mesh);
}
.section-bg > .container { position: relative; z-index: 1; }

/* ─── PORTFOLIO featured (large first tile) ──────────────────── */
.portfolio-grid--featured .portfolio-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* ─── NAV CARDS (homepage "where to start" navigator) ────────── */
.nav-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.nav-card { position: relative; overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; background: var(--black3); }
.nav-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.nav-card::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.94) 0%, rgba(17,17,17,0.5) 48%, rgba(17,17,17,0.12) 100%), var(--mesh); }
.nav-card:hover img { transform: scale(1.05); }
.nav-card-body { position: relative; z-index: 1; padding: 1.9rem; width: 100%; }
.nav-card-body .eyebrow { margin-bottom: 0.55rem; }
.nav-card-body h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.45rem; color: var(--white); }
.nav-card-body p { font-size: 0.9rem; color: var(--grey-lt); max-width: 36ch; }
.nav-card-body .link-arrow { margin-top: 1.05rem; }
.nav-card:hover .link-arrow { color: var(--gold); gap: 0.75rem; }
.nav-card--wide { grid-column: span 2; }

/* ─── CONTAINED VIDEO FRAME (showreel, no text overlaid) ─────── */
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--border); background: var(--black3); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ─── PROCESS STRIP (compact 7-step teaser) ──────────────────── */
.process-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem 1.1rem; margin-top: 2.75rem; }
.process-strip .ps-step { border-top: 2px solid var(--border-lt); padding-top: 0.9rem; position: relative; transition: color 0.2s; }
.process-strip .ps-step::before { content: ''; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--gold); transition: width 0.3s ease; }
.process-strip .ps-step:hover::before { width: 100%; }
.process-strip .ps-num { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.5rem; }
.process-strip .ps-title { font-size: 0.92rem; font-weight: 600; color: var(--white); line-height: 1.3; margin-bottom: 0.4rem; }
.process-strip .ps-desc { font-size: 0.78rem; color: var(--grey); line-height: 1.5; }

/* ─── HERO SLIDESHOW (cross-fading background) ────────────────── */
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s ease-in-out; }
.hero-slide.is-active { opacity: 1; }

/* ─── TESTIMONIAL ROTATOR (rotates through a shared quote pool) ── */
.quote-rotator { max-width: 880px; margin: 0 auto; text-align: center; }
.quote-rotator .quote-mark { font-family: Georgia, 'Times New Roman', serif; font-size: 3.25rem; line-height: 0.5; color: var(--gold); margin-bottom: 1.4rem; }
.quote-rotator .quote-body { transition: opacity 0.45s ease; }
.quote-rotator .quote-body.is-fading { opacity: 0; }
.quote-rotator .quote-text { font-size: clamp(1.2rem, 2.3vw, 1.7rem); font-weight: 500; line-height: 1.5; letter-spacing: -0.01em; color: var(--white); }
.quote-rotator .quote-attr { margin-top: 1.5rem; font-size: 0.9rem; color: var(--grey-lt); line-height: 1.6; }
.quote-rotator .quote-name { color: var(--white); font-weight: 600; }
.quote-rotator .quote-company { color: var(--gold); }

/* ─── STUDIO NOTES (LinkedIn posts - lighter than newsletter cards) ── */
.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.note-card { background: var(--black2); padding: 1.75rem; display: flex; flex-direction: column; gap: 0.9rem; position: relative; overflow: hidden; transition: background 0.25s; }
.note-card:hover { background: var(--black3); }
.note-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--gold); transition: height 0.3s ease; }
.note-card:hover::before { height: 100%; }
.note-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.note-src { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.note-date { font-size: 0.75rem; color: var(--grey); }
.note-text { font-size: 0.9rem; color: var(--grey-lt); line-height: 1.6; flex: 1; }
.note-link { font-size: 0.8rem; font-weight: 600; color: var(--grey); display: inline-flex; align-items: center; gap: 0.4rem; transition: color 0.2s, gap 0.2s; }
.note-card:hover .note-link { color: var(--gold); gap: 0.7rem; }
.note-thumb { margin: -1.75rem -1.75rem 0; overflow: hidden; }
.note-thumb img { width: 100%; height: 150px; object-fit: cover; display: block; }
.note-card:hover .note-thumb img { opacity: 0.92; }
/* Insights archive pagination */
.insights-pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 3.5rem; }
.insights-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 0.85rem; border: 1px solid var(--border-lt); border-radius: 3px; color: var(--grey-lt); font-size: 0.9rem; text-decoration: none; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.insights-pagination a.page-numbers:hover { border-color: var(--gold); color: var(--gold); }
.insights-pagination .page-numbers.current { background: var(--gold); border-color: var(--gold); color: var(--black); font-weight: 600; }
.insights-pagination .page-numbers.dots { border-color: transparent; }

/* ─── VIRTUAL IMPACT ADS (square; hover to preview, click for sound) ── */
.via-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 40%); gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 0.75rem; }
.via-strip::-webkit-scrollbar { height: 6px; }
.via-strip::-webkit-scrollbar-track { background: var(--black2); }
.via-strip::-webkit-scrollbar-thumb { background: var(--border-lt); border-radius: 3px; }
.via-tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--black3); scroll-snap-align: start; cursor: pointer; }
.via-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.via-badge { position: absolute; top: 0.8rem; left: 0.8rem; z-index: 2; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--black); background: var(--gold); padding: 0.25rem 0.5rem; border-radius: 2px; }
.via-label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.1rem 1rem 1rem; font-size: 0.85rem; font-weight: 600; color: var(--white); background: linear-gradient(to top, rgba(17,17,17,0.85), transparent); }
.via-play { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; transition: opacity 0.25s; }
.via-play::before { content: ''; width: 0; height: 0; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent rgba(255,255,255,0.92); filter: drop-shadow(0 2px 6px rgba(0,0,0,0.55)); margin-left: 5px; }
.via-tile.via-playing .via-play { opacity: 0; }
.via-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.93); display: none; align-items: center; justify-content: center; padding: 5vh 5vw; }
.via-lightbox.open { display: flex; }
.via-lightbox video { max-width: min(92vw, 88vh); max-height: 88vh; width: auto; height: auto; background: #000; box-shadow: 0 24px 70px rgba(0,0,0,0.65); }
.via-lb-close { position: absolute; top: 1.4rem; right: 2rem; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; opacity: 0.8; transition: opacity 0.2s; }
.via-lb-close:hover { opacity: 1; }

/* ─── INNOVATION SHOWCASE (tiles that open full-screen: video or live embed) ── */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.showcase-card { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--black3); border: 0; padding: 0; cursor: pointer; display: block; }
.showcase-preview { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.showcase-card:hover .showcase-preview { transform: scale(1.05); }
.showcase-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,17,17,0.85) 0%, transparent 58%); }
.showcase-play { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; transition: opacity 0.25s; }
.showcase-play::before { content: ''; width: 0; height: 0; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent rgba(255,255,255,0.92); filter: drop-shadow(0 2px 6px rgba(0,0,0,0.55)); margin-left: 5px; }
.showcase-card:hover .showcase-play { opacity: 0; }
.showcase-label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.5rem; text-align: left; }
.showcase-tag { display: inline-block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--black); background: var(--gold); padding: 0.25rem 0.5rem; border-radius: 2px; margin-bottom: 0.6rem; }
.showcase-title { display: block; font-size: 1.05rem; font-weight: 600; color: var(--white); letter-spacing: -0.01em; }

.exp-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.94); display: none; align-items: center; justify-content: center; padding: 3vh 3vw; }
.exp-lightbox.open { display: flex; }
.exp-stage { position: relative; width: 100%; max-width: 1400px; height: 90vh; background: #000; box-shadow: 0 24px 70px rgba(0,0,0,0.65); }
.exp-stage video, .exp-stage iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.exp-stage video { object-fit: contain; }
.exp-close { position: absolute; top: 1.2rem; right: 1.9rem; z-index: 2; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; opacity: 0.85; transition: opacity 0.2s; }
.exp-close:hover { opacity: 1; }
.exp-hint { position: absolute; left: 0; right: 0; bottom: -2.4rem; text-align: center; font-size: 0.78rem; color: var(--grey-lt); }

/* ─── LOGO MARQUEE (auto-scrolling, non-clickable) ───────────── */
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee .logo-track { display: flex; align-items: center; gap: 5rem; width: max-content; animation: logo-scroll 42s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-marquee .logo-track img { height: 30px; width: auto; flex: 0 0 auto; filter: brightness(0) invert(1); opacity: 0.5; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-marquee .logo-track { animation: none; } }

/* ─── GALLERY CAROUSEL + LIGHTBOX ────────────────────────────── */
.gallery-carousel { display: flex; gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 0.75rem; }
.gallery-carousel::-webkit-scrollbar { height: 6px; }
.gallery-carousel::-webkit-scrollbar-track { background: var(--black2); }
.gallery-carousel::-webkit-scrollbar-thumb { background: var(--border-lt); border-radius: 3px; }
.gallery-item { position: relative; scroll-snap-align: start; height: 360px; flex: 0 0 auto; overflow: hidden; cursor: pointer; background: var(--black3); border: 0; padding: 0; display: block; }
.gallery-item img { height: 100%; width: auto; display: block; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .zoom-hint { position: absolute; bottom: 0.75rem; right: 0.75rem; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); background: rgba(17,17,17,0.65); padding: 0.3rem 0.6rem; border-radius: 3px; opacity: 0; transition: opacity 0.2s; }
.gallery-item:hover .zoom-hint { opacity: 1; }
.gallery-nav { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.gallery-nav button { background: transparent; border: 1px solid var(--border-lt); color: var(--grey-lt); width: 46px; height: 46px; border-radius: 3px; cursor: pointer; font-size: 1.2rem; line-height: 1; transition: border-color 0.2s, color 0.2s; }
.gallery-nav button:hover { border-color: var(--gold); color: var(--gold); }

.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8,8,8,0.95); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox .lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 92vw; }
.lightbox img { max-width: 92vw; max-height: 76vh; object-fit: contain; box-shadow: 0 12px 60px rgba(0,0,0,0.6); }
.lightbox .lb-caption { margin-top: 1.1rem; text-align: center; max-width: 72ch; padding: 0 1rem; }
.lightbox .lb-caption:empty { display: none; }
.lightbox .lb-title { font-size: 1.1rem; font-weight: 600; color: var(--white); }
.lightbox .lb-meta { font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-top: 0.35rem; }
.lightbox .lb-info { font-size: 0.85rem; color: var(--grey-lt); margin-top: 0.55rem; }
.lightbox .lb-desc { font-size: 0.85rem; color: var(--grey); line-height: 1.6; margin-top: 0.4rem; }
.lightbox button { position: absolute; background: transparent; border: 0; color: var(--white); cursor: pointer; line-height: 1; }
.lightbox button:hover { color: var(--gold); }
.lightbox .lb-close { top: 1.25rem; right: 1.5rem; font-size: 2rem; }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; transform: translateY(-50%); font-size: 2.6rem; padding: 1rem; }
.lightbox .lb-prev { left: 1rem; } .lightbox .lb-next { right: 1rem; }

/* ─── VIDEO PLAY (sound) BUTTON ──────────────────────────────── */
.video-frame .video-play {
  position: absolute; inset: 0; margin: auto; z-index: 2;
  width: fit-content; height: fit-content;
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: rgba(17,17,17,0.55); color: var(--white);
  border: 1px solid rgba(255,255,255,0.45); border-radius: 40px;
  padding: 0.75rem 1.5rem 0.75rem 1.2rem;
  font-family: inherit; font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.video-frame .video-play:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.video-frame .video-play .tri { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }

/* ─── HERO mini-stats (compact inline) ───────────────────────── */
.hero-mini-stats { display: flex; gap: 2.75rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-mini-stats > div { max-width: 230px; }
.hero-mini-stats .hms-num { font-size: 1.4rem; font-weight: 700; color: var(--gold); line-height: 1.15; letter-spacing: -0.01em; }
.hero-mini-stats .hms-label { font-size: 0.8rem; color: var(--grey-lt); margin-top: 0.4rem; line-height: 1.45; }

/* Touch devices can't hover: neutralise the gold-bar grow so a tap doesn't
   leave it "stuck". The gold numbers still give these panels their accent. */
@media (hover: none) {
  .cap-card:hover::before,
  .note-card:hover::before,
  .funnel-card:hover::before,
  .mini-card:hover::before,
  .process-full .pf-step:hover::before { height: 0; }
  .avr-rung:hover::before,
  .process-strip .ps-step:hover::before { width: 0; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
/* Nav collapses to hamburger earlier than the layout breakpoint so the
   7-item menu never crowds on mid-size desktops. */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .split-grid { grid-template-columns: 1fr; }
  .why-2col { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-media { order: -1; }
  .nav-cards { grid-template-columns: repeat(2, 1fr); }
  .nav-card--wide { grid-column: auto; }
  /* Below the layout breakpoint the 7 steps become a one-row horizontal swipe */
  .process-strip { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(160px, 34%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.75rem; }
  .process-strip .ps-step { scroll-snap-align: start; }
  .portfolio-grid--featured .portfolio-item:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(3, 1fr); }
  .notes-grid { grid-template-columns: repeat(2, 1fr); }
  .num-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .portfolio-grid { column-count: 2; }
  .process-inner { grid-template-columns: 1fr; gap: 3rem; }
  .process-full { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row.reverse .feature-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .signup-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  section { padding: 4rem 0; }
  .cap-grid { grid-template-columns: 1fr; }
  .funnel-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .mini-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .exp-stage { height: 70vh; }
  .notes-grid { grid-template-columns: 1fr; }
  .process-full { grid-template-columns: 1fr; }
  .nav-cards { grid-template-columns: 1fr; }
  .process-strip { grid-auto-columns: 64%; }
  .via-strip { grid-auto-columns: minmax(240px, 82%); }
  .gallery-item { height: 240px; }
  .portfolio-grid { column-count: 1; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .portfolio-header { flex-direction: column; align-items: flex-start; }
  .page-hero { padding-top: calc(var(--nav-h) + 1.5rem); }
  .page-hero.has-video, .page-hero.has-image { min-height: 0; padding-bottom: 3rem; }
  .hero-mini-stats { gap: 1.1rem; margin-top: 1.6rem; }
  .hero-mini-stats > div { max-width: none; }
  .split-card { padding: 2rem; }
  .filter-label { min-width: auto; width: 100%; }
}
