/* ==========================================================================
   Summit Media Group — site styles
   Brand tokens come from the Summit brandbook (v0.2).
   ========================================================================== */

:root {
  /* Brand palette */
  --ink: #000000;
  --paper: #ffffff;
  --cyan: #43c0f0;          /* Summit Cyan — use on dark backgrounds only */
  --navy: #222d58;          /* Summit Navy */
  --glacier: #eef3f8;       /* light section background */
  --slate: #4a5468;         /* secondary text on light (7.6:1 on white) */
  --mist: #b9c3d3;          /* secondary text on dark (10:1 on black) */
  --line: #d5dce6;
  --line-dark: rgba(255, 255, 255, 0.16);
  --gradient: linear-gradient(100deg, #43c0f0 0%, #222d58 100%);

  /* Type — swap --font-display for licensed Tactic Sans Extended when available */
  --font-display: "Unbounded", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  --step-4: clamp(2.1rem, 1.2rem + 4vw, 4.5rem);

  /* Spacing (8pt rhythm) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: clamp(4.5rem, 3rem + 6vw, 8rem);

  --container: 1200px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --radius: 10px;
  --header-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 260ms;

  --z-header: 100;
  --z-menu: 110;
  --z-dialog: 1000;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; }

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

/* ---------- Utilities ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: var(--space-2); top: -100px; z-index: calc(var(--z-dialog) + 1);
  background: var(--cyan); color: var(--ink); padding: 0.75rem 1rem; border-radius: var(--radius); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--space-2); }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.on-light :focus-visible, .section--light :focus-visible, .section--glacier :focus-visible { outline-color: var(--navy); }

/* Placeholder marker — remove the class once real content is in */
.placeholder { background: rgba(67, 192, 240, 0.18); outline: 1px dashed rgba(34, 45, 88, 0.45); border-radius: 3px; padding: 0 0.2em; }
.section--dark .placeholder, .site-footer .placeholder, .cta-band .placeholder { background: rgba(67, 192, 240, 0.22); outline-color: rgba(255,255,255,0.4); }

/* ---------- Typography ---------- */
.display, h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-family: var(--font-body); font-size: var(--step-2); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.lede { font-size: var(--step-1); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--slate); }
.section--dark .muted, .hero .muted, .page-hero .muted { color: var(--mist); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 64ch; }
.story-lead { font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); line-height: 1.2; color: var(--ink); }
.story-kicker { font-weight: 700; color: var(--ink); padding-left: var(--space-2); border-left: 3px solid var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.8rem 1.5rem;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--cyan); color: var(--ink); }
.btn-primary:hover { background: #6fd0f5; }
.btn-navy { background: var(--navy); color: var(--paper); }
.btn-navy:hover { background: #2f3c73; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: var(--paper); background: transparent; }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--paper); }
.btn-ink-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ink-outline:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.text-link {
  font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 0.3em; text-decoration-color: var(--cyan);
}
.text-link:hover { text-decoration-color: var(--navy); }
.section--dark .text-link { color: var(--paper); }

/* ---------- Viewfinder brackets (the brand's signature) ---------- */
.viewfinder { position: absolute; pointer-events: none; inset: 0; }
.viewfinder span {
  position: absolute; width: clamp(28px, 4vw, 56px); height: clamp(28px, 4vw, 56px);
  border-color: var(--cyan); border-style: solid; border-width: 0;
}
.viewfinder span:nth-child(1) { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 14px; }
.viewfinder span:nth-child(2) { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 14px; }
.viewfinder span:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 14px; }
.viewfinder span:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--header-h);
  color: var(--paper);
}
/* Background lives on a pseudo-element: a backdrop-filter on the header itself
   would trap the fixed mobile menu inside the header's box. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(0, 0, 0, 0.92); box-shadow: 0 1px 0 var(--line-dark);
  opacity: 0; transition: opacity var(--dur) ease;
}
.site-header.is-solid::before { opacity: 1; }
@supports (backdrop-filter: blur(1px)) {
  .site-header::before { background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(14px); }
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.brand { display: block; flex-shrink: 0; }
.brand img { width: clamp(170px, 16vw, 220px); height: auto; }

.primary-nav { display: flex; align-items: center; gap: var(--space-4); }
.nav-list { display: flex; gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: inline-block; padding: 0.5rem 0.15rem; text-decoration: none; font-weight: 500; font-size: 0.975rem;
  color: rgba(255, 255, 255, 0.86); border-bottom: 2px solid transparent;
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.nav-list a:hover { color: var(--paper); border-bottom-color: rgba(255, 255, 255, 0.4); }
.nav-list a[aria-current="page"] { color: var(--paper); font-weight: 700; border-bottom-color: var(--cyan); }

.menu-toggle {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line-dark); border-radius: 999px; cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; position: relative; z-index: calc(var(--z-menu) + 1); }
  .primary-nav {
    position: fixed; inset: 0; z-index: var(--z-menu);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: var(--space-4);
    padding: calc(var(--header-h) + var(--space-4)) var(--gutter) var(--space-5);
    background: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a {
    display: block; padding: 1rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
    text-transform: uppercase; border-bottom: 1px solid var(--line-dark);
  }
  .nav-list a[aria-current="page"] { color: var(--cyan); border-bottom-color: var(--line-dark); }
  .nav-cta { align-self: flex-start; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100dvh;
  display: flex; align-items: flex-end;
  color: var(--paper); background: var(--ink); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.15) 75%);
}
.hero-frame { position: absolute; inset: calc(var(--header-h) + 12px) var(--gutter) var(--gutter); pointer-events: none; }
.hero-content {
  position: relative; z-index: 1;
  padding-block: calc(var(--header-h) + var(--space-6)) clamp(var(--space-5), 9vh, 7rem);
}
.hero-inner { max-width: 880px; padding-left: clamp(0px, 2vw, 1.5rem); }
.hero h1 { font-size: clamp(2.2rem, 1rem + 5.2vw, 5.25rem); }
.hero .lede { margin-top: var(--space-3); color: rgba(255,255,255,0.88); }
.hero .btn-row { margin-top: var(--space-4); }
.hero-foot {
  margin-top: var(--space-5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4);
  font-size: var(--step--1); color: var(--mist);
}
.video-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(0,0,0,0.35);
  color: var(--paper); font-size: var(--step--1); cursor: pointer;
}
.video-toggle:hover { border-color: rgba(255,255,255,0.5); }
.video-toggle svg { width: 16px; height: 16px; }
.video-toggle .icon-play { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }
.video-toggle[aria-pressed="true"] .icon-pause { display: none; }

/* One orchestrated load moment for the hero only */
@media (prefers-reduced-motion: no-preference) {
  .hero-frame span { animation: frame-in 900ms var(--ease-out) both 150ms; }
  .hero-frame span:nth-child(1) { --fx: 18px; --fy: 18px; }
  .hero-frame span:nth-child(2) { --fx: -18px; --fy: 18px; }
  .hero-frame span:nth-child(3) { --fx: 18px; --fy: -18px; }
  .hero-frame span:nth-child(4) { --fx: -18px; --fy: -18px; }
  .hero-inner > * { animation: rise 800ms var(--ease-out) both; }
  .hero-inner > *:nth-child(2) { animation-delay: 120ms; }
  .hero-inner > *:nth-child(3) { animation-delay: 220ms; }
  .hero-inner > *:nth-child(4) { animation-delay: 320ms; }
}
@keyframes frame-in { from { opacity: 0; transform: translate(var(--fx), var(--fy)); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; color: var(--paper); background: var(--ink); overflow: hidden;
  padding: calc(var(--header-h) + var(--space-6)) 0 var(--space-6);
  min-height: clamp(380px, 52vh, 560px); display: flex; align-items: flex-end;
}
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.55) 100%); }
.page-hero .container { position: relative; }
.page-hero .lede { margin-top: var(--space-2); color: rgba(255,255,255,0.88); }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-7); }
.section--glacier { background: var(--glacier); }
.section--dark { background: var(--ink); color: var(--paper); }
.section-head { display: grid; gap: var(--space-2); margin-bottom: var(--space-5); max-width: 760px; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; gap: var(--space-5); } }

/* ---------- Path tiles (Residential / Commercial) ---------- */
.paths { background: var(--ink); padding-bottom: var(--space-6); }
.paths-grid { display: grid; gap: var(--space-2); }
@media (min-width: 760px) { .paths-grid { grid-template-columns: 1fr 1fr; } }
.path-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.35rem;
  min-height: clamp(260px, 30vw, 380px); padding: var(--space-4);
  color: var(--paper); text-decoration: none; overflow: hidden; border-radius: var(--radius);
  isolation: isolate;
}
.path-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--ease-out); }
.path-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 70%); }
.path-tile .path-kind { font-size: var(--step--1); color: var(--cyan); font-weight: 700; }
.path-tile .path-title { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: var(--step-2); line-height: 1.1; }
.path-tile .path-desc { color: rgba(255,255,255,0.82); max-width: 42ch; }
.path-tile .viewfinder { inset: 14px; opacity: 0; transition: opacity var(--dur) ease, inset var(--dur) var(--ease-out); }
.path-tile:hover .viewfinder, .path-tile:focus-visible .viewfinder { opacity: 1; inset: 18px; }
.path-tile:hover img { transform: scale(1.03); }

/* ---------- Service list (home) ---------- */
.service-layout { display: grid; gap: var(--space-5); }
@media (min-width: 960px) { .service-layout { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-6); } .service-layout .section-head { position: sticky; top: calc(var(--header-h) + var(--space-4)); align-self: start; margin-bottom: 0; } }
.service-rows { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 1fr auto; gap: 0.25rem var(--space-3); align-items: center;
  padding: var(--space-3) 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.service-row h3 { font-size: var(--step-1); }
.service-row p { grid-column: 1; color: var(--slate); }
.service-row .chev { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy); transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.service-row .chev svg { width: 18px; height: 18px; }
.service-row:hover .chev { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.service-row:hover h3 { color: var(--navy); }

/* ---------- Work grid (home + portfolio) ---------- */
.work-grid { display: grid; gap: var(--space-2); grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .work-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 16vw, 230px); }
  .work-grid .w-a { grid-column: span 4; grid-row: span 2; }
  .work-grid .w-b { grid-column: span 2; grid-row: span 1; }
  .work-grid .w-c { grid-column: span 2; grid-row: span 1; }
  .work-grid .w-d { grid-column: span 3; grid-row: span 2; }
  .work-grid .w-e { grid-column: span 3; grid-row: span 2; }
}
.work-item {
  position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 0; background: var(--navy);
  border-radius: var(--radius); overflow: hidden; cursor: pointer; text-align: left; aspect-ratio: 3 / 2;
}
@media (min-width: 700px) { .work-grid .work-item { aspect-ratio: auto; height: 100%; } }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.work-item:hover img { transform: scale(1.03); }
.work-item .viewfinder { inset: 12px; opacity: 0; transition: opacity var(--dur) ease, inset var(--dur) var(--ease-out); }
.work-item:hover .viewfinder, .work-item:focus-visible .viewfinder { opacity: 1; inset: 16px; }
.work-item .work-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-4) var(--space-3) var(--space-2);
  color: var(--paper); font-weight: 700; font-size: var(--step--1);
  background: linear-gradient(0deg, rgba(0,0,0,0.75), rgba(0,0,0,0));
  display: flex; align-items: center; gap: 0.5rem;
}
.work-item .work-label svg { width: 16px; height: 16px; flex-shrink: 0; }
.work-item.is-hidden { display: none; }

/* Portfolio page grid: uniform, simpler */
.portfolio-grid { display: grid; gap: var(--space-2); grid-template-columns: 1fr; }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
/* Desktop mosaic: fixed row height; .is-big = 2x2, .is-wide = 2x1 panorama */
@media (min-width: 1024px) {
  .portfolio-grid { grid-auto-rows: clamp(200px, 18vw, 260px); grid-auto-flow: row dense; }
  .portfolio-grid .work-item { aspect-ratio: auto; height: 100%; }
  .portfolio-grid .work-item.is-big { grid-column: span 2; grid-row: span 2; }
  .portfolio-grid .work-item.is-wide { grid-column: span 2; }
}

/* Vertical video cards (reels) */
.reel-grid { display: grid; gap: var(--space-2); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .reel-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .reel-grid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 760px) { .reel-grid--three { grid-template-columns: repeat(3, 1fr); max-width: 760px; } }
.work-item.reel { aspect-ratio: 9 / 16; }
.work-item.reel .work-label { font-size: 0.85rem; padding: var(--space-5) var(--space-2) var(--space-2); }
.tier {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; line-height: 1.2;
  background: rgba(0, 0, 0, 0.66); color: var(--paper);
}
.tier--premium { background: var(--cyan); color: var(--ink); }
.tier--ai { background: var(--paper); color: var(--navy); }
.section--dark .work-item { background: #111a33; }

.filters { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-bottom: var(--space-4); }
.filter-btn {
  min-height: 44px; padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font-weight: 600; cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.filter-btn:hover { border-color: var(--navy); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.filter-status { color: var(--slate); font-size: var(--step--1); margin-bottom: var(--space-2); }
.work-item.is-more { display: none; }
.show-more { display: flex; justify-content: center; margin-top: var(--space-5); }
.show-more [hidden] { display: none; }

/* ---------- Process ---------- */
.steps { display: grid; gap: var(--space-4); counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }
.step { padding-top: var(--space-3); border-top: 2px solid var(--line-dark); }
.step-num { font-family: var(--font-display); font-weight: 600; font-size: var(--step-3); line-height: 1; color: var(--cyan); }
.step h3 { margin-top: var(--space-2); color: var(--paper); }
.step p { margin-top: 0.5rem; color: var(--mist); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .quotes { grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-6); } }
/* Equal cards: names line up across each row */
.quote { display: flex; flex-direction: column; padding-left: var(--space-3); border-left: 3px solid var(--cyan); }
.quote blockquote { flex: 1 1 auto; }
.quote blockquote p { font-size: 1.1rem; line-height: 1.6; }
.quote figcaption { margin-top: var(--space-2); color: var(--slate); font-size: var(--step--1); }
.reviews-more { margin-top: var(--space-5); font-weight: 600; }
.quote figcaption strong { color: var(--ink); display: block; font-size: 1rem; }

/* ---------- Service area ---------- */
.area { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 900px) { .area { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
.county-list { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-4); }
.county-list li { padding: 0.55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 600; font-size: 0.95rem; }
.area-figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.area-figure img { width: 100%; height: 100%; object-fit: cover; }
.area-figure .viewfinder { inset: 16px; }

/* ---------- CTA band (submark gradient) ---------- */
.cta-band { background: var(--gradient); color: var(--paper); padding-block: var(--space-6); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -40px; bottom: -30px; width: min(520px, 70vw); aspect-ratio: 400 / 174;
  background: url("../assets/brand/mark-white.png") no-repeat center / contain; opacity: 0.12; pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; display: grid; gap: var(--space-3); align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr auto; gap: var(--space-5); } }
.cta-band h2 { font-size: clamp(1.6rem, 1rem + 2.4vw, 2.75rem); }
.cta-band p { margin-top: var(--space-1); color: rgba(255,255,255,0.92); max-width: 52ch; }
.cta-band .btn-primary { background: var(--paper); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--glacier); }
.cta-band :focus-visible { outline-color: var(--paper); }

/* ---------- Split (about, services) ---------- */
.split { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-6); } .split--reverse > :first-child { order: 2; } }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); }
.split-media img, .split-media video { width: 100%; height: 100%; object-fit: cover; }
.split-body h2 { margin-bottom: var(--space-3); }
.split-body .btn-row { margin-top: var(--space-4); }

/* ---------- Principles ---------- */
.principles { display: grid; gap: var(--space-4); }
@media (min-width: 820px) { .principles { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }
.principle h3 { font-size: var(--step-1); }
.principle p { margin-top: 0.5rem; color: var(--slate); }
.principle svg { width: 32px; height: 32px; color: var(--navy); margin-bottom: var(--space-2); }

/* ---------- Service detail (services page) ---------- */
.service-index { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-top: var(--space-4); }
.service-index a { padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.35); color: var(--paper); text-decoration: none; font-weight: 600; font-size: 0.95rem; min-height: 44px; display: inline-flex; align-items: center; }
.service-index a:hover { background: var(--paper); color: var(--ink); }
.service-detail + .service-detail { border-top: 1px solid var(--line); }
.service-detail h2 { font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); }
.includes { margin-top: var(--space-3); display: grid; gap: 0.6rem; }
.includes li { display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; align-items: start; }
.includes svg { width: 22px; height: 22px; color: var(--navy); margin-top: 0.15rem; }
.good-for { margin-top: var(--space-3); padding: var(--space-2) var(--space-3); background: var(--glacier); border-radius: var(--radius); color: var(--slate); }
.good-for strong { color: var(--ink); }
.section--glacier .good-for { background: var(--paper); }
.pricing-note { margin-top: var(--space-2); font-size: var(--step--1); color: var(--slate); }

/* ---------- AI visualization (services page) ---------- */
.ai-layout { display: grid; gap: var(--space-5); }
@media (min-width: 960px) { .ai-layout { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-6); align-items: start; } }
.ai-intro h2 { font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); }
.ai-intro .lede { margin-top: var(--space-3); }
.ai-note { margin-top: var(--space-3); padding-left: var(--space-2); border-left: 2px solid var(--cyan); color: var(--mist); font-size: var(--step--1); max-width: 52ch; }
.ai-intro .btn-row { margin-top: var(--space-4); }
.ai-grid { display: grid; gap: var(--space-4) var(--space-5); }
@media (min-width: 640px) { .ai-grid { grid-template-columns: 1fr 1fr; } }
.ai-item { padding-top: var(--space-3); border-top: 1px solid var(--line-dark); }
.ai-item svg { width: 28px; height: 28px; color: var(--cyan); }
.ai-item h3 { margin-top: var(--space-2); font-size: var(--step-1); color: var(--paper); }
.ai-item p { margin-top: 0.4rem; color: var(--mist); }
.ai-reels { grid-column: 1 / -1; display: grid; gap: var(--space-2); grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }
.ai-reels figure { margin: 0; }
.ai-reels video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius); background: #111a33; }
.ai-reels figcaption { margin-top: 0.5rem; font-size: var(--step--1); color: var(--mist); }
@media (max-width: 520px) { .ai-reels { grid-template-columns: 1fr 1fr; } .ai-reels figure:last-child { display: none; } }
.service-detail.section--dark + .service-detail, .service-detail + .service-detail.section--dark { border-top: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-6); } }
.book-panel { position: relative; padding: clamp(1.5rem, 1rem + 3vw, 3rem); background: var(--ink); color: var(--paper); border-radius: var(--radius); }
.book-panel .viewfinder { inset: 14px; }
.book-panel h2 { font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); }
.book-panel p { margin-top: var(--space-2); color: var(--mist); max-width: 46ch; }
.book-panel .btn { margin-top: var(--space-4); position: relative; }
.contact-list { display: grid; gap: var(--space-3); }
.contact-item { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-2); align-items: start; }
.contact-item .ci-icon { width: 44px; height: 44px; border-radius: 999px; background: var(--glacier); display: grid; place-items: center; color: var(--navy); }
.contact-item .ci-icon svg { width: 20px; height: 20px; }
.contact-item .ci-label { font-weight: 700; }
.contact-item .ci-value { margin: 0.15rem 0 0; color: var(--slate); }
.contact-item .ci-note { font-size: var(--step--1); }
.contact-item a { color: var(--navy); font-weight: 600; }

.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-2);
  padding: var(--space-3) 0; font-weight: 700; font-size: var(--step-1); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--navy); transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq-body { padding-bottom: var(--space-3); color: var(--slate); max-width: 68ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: var(--space-6); }
.footer-grid { display: grid; gap: var(--space-5); padding-bottom: var(--space-5); }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--space-4); } }
.footer-brand img { width: 170px; height: auto; }
.footer-brand p { margin-top: var(--space-2); color: var(--mist); max-width: 34ch; font-size: 0.95rem; }
.footer-col h2 { font-family: var(--font-body); text-transform: none; font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: var(--space-2); color: var(--paper); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.footer-col a { color: var(--mist); text-decoration: none; display: inline-block; padding: 0.3rem 0; }
.footer-col a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 0.25em; }
.footer-col address { font-style: normal; color: var(--mist); display: grid; gap: 0.35rem; }
.socials { display: flex; gap: var(--space-1); margin-top: var(--space-2); }
.socials a { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--paper); }
.socials a:hover { border-color: var(--cyan); color: var(--cyan); }
.socials svg { width: 18px; height: 18px; }
.socials a { transition: transform var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.socials svg { width: 22px; height: 22px; }
.socials a.social-fb { color: #1877f2; }
.socials a.social-google .g-logo { width: 20px; height: 20px; }
.socials a.social-ig:hover, .socials a.social-fb:hover, .socials a.social-google:hover { border-color: rgba(255, 255, 255, 0.6); transform: translateY(-2px); }
.socials a.social-fb:hover { color: #1877f2; }
.footer-base { border-top: 1px solid var(--line-dark); padding-block: var(--space-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); color: var(--mist); font-size: var(--step--1); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.footer-legal a { color: var(--mist); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--paper); }

/* ---------- Legal pages ---------- */
.page-hero--compact { min-height: 0; }
.legal { max-width: 72ch; }
.legal h2 { font-family: var(--font-body); text-transform: none; letter-spacing: -0.01em; font-size: var(--step-2); line-height: 1.25; margin-top: var(--space-6); scroll-margin-top: calc(var(--header-h) + var(--space-3)); }
.legal h3 { font-size: var(--step-0); margin-top: var(--space-4); }
.legal h2 + p, .legal h2 + ul, .legal h3 + p, .legal h3 + ul { margin-top: var(--space-2); }
.legal ul { margin: var(--space-2) 0 0; padding-left: 1.25rem; }
.legal li + li { margin-top: 0.35rem; }
.legal ul + p, .legal p + ul { margin-top: 1em; }
.legal-address { margin-top: var(--space-5); font-style: normal; line-height: 1.6; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(0,0,0,0.94); color: var(--paper); }
.lightbox::backdrop { background: rgba(0,0,0,0.94); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: var(--space-2) var(--gutter); }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); min-height: 56px; }
.lightbox-caption { font-weight: 600; color: var(--mist); }
.lightbox-stage { display: grid; place-items: center; min-height: 0; }
.lightbox-stage img, .lightbox-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox-nav { display: flex; justify-content: center; gap: var(--space-2); padding-block: var(--space-2); }
.icon-btn {
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3); background: transparent;
  display: inline-grid; place-items: center; cursor: pointer; color: var(--paper);
}
.icon-btn:hover { background: var(--paper); color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; }

/* Listing video tiers */
.reel-group + .reel-group { margin-top: var(--space-6); }
.reel-group-head { display: grid; gap: 0.35rem; margin-bottom: var(--space-3); max-width: 760px; }
.reel-group-head h3 { margin: 0; }
.reel-group-head p { margin: 0; }
.tier--plus-ai b, .tier-inline {
  display: inline-block; margin-left: 0.25rem; padding: 0.1rem 0.45rem; border-radius: 999px;
  background: var(--navy); color: var(--paper); font-weight: 700; font-size: 0.75rem; line-height: 1.3;
}
.tier-inline { margin-left: 0; vertical-align: 0.1em; }

/* Commercial video feature: 16:9 film beside a 9:16 reel at equal height */
.commercial-feature { display: grid; gap: var(--space-2); margin-bottom: var(--space-3); }
.commercial-feature > .work-item:not(.reel) { aspect-ratio: 16 / 9; }
.commercial-feature > .reel { width: 100%; max-width: 280px; justify-self: center; }
@media (min-width: 760px) {
  .commercial-feature { grid-template-columns: minmax(0, 3.16fr) minmax(0, 1fr); }
  .commercial-feature > .reel { max-width: none; }
}
@media (min-width: 760px) { .reel-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 500px; } }
