/* ============================================================
   FASTLANE STUDIOS — SITE STYLES
   Layout draft. All values come from design/tokens.css.
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; background: var(--color-bg-primary); }

body {
  background: var(--color-bg-primary);
  color: var(--color-text-body);
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  font-size: var(--size-body);
  line-height: var(--leading-body);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--color-bg-primary); }
::-webkit-scrollbar-thumb { background: var(--color-accent); }

/* ── TYPE ── */

h1, h2, h3, .display {
  font-family: var(--font-primary);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-tight);
}

.eyebrow {
  font-family: var(--font-secondary);
  font-size: var(--size-eyebrow);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.eyebrow.accent { color: var(--color-accent); }

.accent-mark { color: var(--color-accent); }

.font-accent {
  font-family: var(--font-accent);
  font-weight: var(--weight-light);
  text-transform: none;
  letter-spacing: 0;
}

.section-label {
  font-family: var(--font-primary);
  font-size: var(--size-display-md);
  text-transform: uppercase;
  line-height: var(--leading-heading);
}

/* ── LAYOUT ── */

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter-desktop);
}

@media (max-width: 768px) {
  .wrap { padding: 0 var(--gutter-mobile); }
}

section { position: relative; }

.section-pad { padding: var(--space-8) 0; }

@media (max-width: 768px) {
  .section-pad { padding: var(--space-6) 0; }
}

/* ── REVEAL ── */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration-slow) var(--ease-accelerate),
              transform var(--duration-slow) var(--ease-accelerate);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transform: translateY(-100%);
  animation: nav-in 0.7s var(--ease-accelerate) 0.15s forwards;
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease;
  border-bottom: 1px solid transparent;
}

@keyframes nav-in {
  to { transform: translateY(0); }
}

.nav.is-scrolled {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--color-border);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter-desktop);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo .fl-logo { width: 44px; }

/* ── FL motion logo (ring spin + monogram breathe) ── */

.fl-logo {
  position: relative;
  display: block;
  aspect-ratio: 1517 / 1532;
}

.fl-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fl-logo-ring {
  animation: fl-spin 45s linear infinite;
  will-change: transform;
}

.fl-breathe .fl-logo-mark {
  animation: fl-breathe 7s ease-in-out infinite;
  will-change: transform;
}

@keyframes fl-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fl-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.028); opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .fl-logo img { animation: none; }
}

.nav-burger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 601;
  font-family: var(--font-secondary);
  font-size: var(--size-nav);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-heading);
  transition: color var(--duration-fast) ease;
}

.nav-burger:hover { color: var(--color-accent); }

/* Animated toggle icon: hook morphs and the mark rotates into a cross when open */
.nav-burger svg {
  width: 26px;
  height: 26px;
  transition: transform var(--duration-base) var(--ease-accelerate);
}

.nav-burger.is-open svg { transform: rotate(-45deg); }

.nav-burger svg .burger-hook {
  stroke-dasharray: 12 63;
  transition: stroke-dasharray var(--duration-base) var(--ease-accelerate),
              stroke-dashoffset var(--duration-base) var(--ease-accelerate);
}

.nav-burger.is-open svg .burger-hook {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: var(--color-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  transform: translateY(-100%);
  transition: transform var(--duration-base) var(--ease-accelerate);
}

.nav-overlay.is-open { transform: translateY(0); }

.nav-overlay a {
  font-family: var(--font-primary);
  font-size: var(--size-display-md);
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--duration-fast) ease;
}

.nav-overlay a:hover,
.nav-overlay a.is-active {
  color: var(--color-text-heading);
}

.nav-overlay a.is-active { color: var(--color-accent); }

.nav-overlay-close {
  position: absolute;
  top: 28px; right: var(--gutter-mobile);
  background: none; border: none;
  color: var(--color-text-heading);
  font-family: var(--font-secondary);
  font-size: var(--size-nav);
  letter-spacing: var(--tracking-widest);
  cursor: pointer;
}

/* ============================================================
   VIDEO WIREFRAME SLOT
   Placeholder for YouTube embeds. Swap the inner iframe in later.
   ============================================================ */

.video-slot {
  position: relative;
  width: 100%;
  background: var(--color-bg-surface);
  background-image: url("../design/pattern/fl-pattern-dark.png");
  background-size: 320px;
  background-repeat: repeat;
  background-blend-mode: overlay;
  background-color: var(--color-gun-metal);
  overflow: hidden;
  border: 1px dashed var(--color-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.video-slot-tag {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 2;
  font-family: var(--font-secondary);
  font-size: 10px;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-strong);
  padding: 4px 10px;
}

.video-slot-ratio {
  position: absolute;
  bottom: var(--space-2);
  left: var(--space-2);
  z-index: 2;
  font-family: var(--font-secondary);
  font-size: 10px;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero .video-slot-tag {
  top: calc(var(--nav-height) + var(--space-2));
}

/* Project cards show their own category tag and play button, so the generic wireframe labels are redundant clutter */
.project-card .video-slot-tag,
.project-card .video-slot-ratio,
.project-card .video-slot-play {
  display: none;
}

/* Clean slot: keeps the textured surface, drops the wireframe chrome */
.video-slot.is-clean { border: none; }

.video-slot-play {
  position: relative;
  z-index: 2;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.video-slot-play::after {
  content: "";
  width: 0; height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--color-text-heading);
  margin-left: 4px;
}

.video-slot:hover .video-slot-play {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.video-slot.ratio-16-9 { aspect-ratio: 16 / 9; }
.video-slot.ratio-9-16 { aspect-ratio: 9 / 16; }
.video-slot.ratio-4-5 { aspect-ratio: 4 / 5; }
.video-slot.ratio-1-1 { aspect-ratio: 1 / 1; }
.video-slot.ratio-full { min-height: 100vh; }
.video-slot.ratio-full .video-slot-play { display: none; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .video-slot { position: absolute; inset: 0; border: none; }

.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 55%, var(--color-black) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.hero-title {
  font-size: var(--size-display-xl);
  letter-spacing: var(--tracking-tight);
}

.hero-tagline {
  font-family: var(--font-primary);
  font-weight: var(--weight-light);
  font-size: clamp(20px, 2.6vw, 32px);
  text-transform: uppercase;
  color: var(--color-off-white);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 56px;
  background: var(--color-border-strong);
  overflow: hidden;
}

.hero-scroll::after {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--color-accent);
  animation: scroll-line 2s var(--ease-accelerate) infinite;
}

@keyframes scroll-line {
  to { top: 100%; }
}

.hero-reel {
  position: absolute;
  left: var(--gutter-desktop);
  bottom: var(--space-5);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hero-reel-play {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.hero-reel-play::after {
  content: "";
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--color-text-heading);
  margin-left: 3px;
}

.hero-reel-text .eyebrow { margin-bottom: 4px; }

.hero-reel-text .title {
  font-family: var(--font-primary);
  font-size: 22px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hero-reel { left: var(--gutter-mobile); bottom: var(--space-4); }
}

/* ============================================================
   HOME HERO (wordmark canvas)
   Structure donated by the Freshman reference: flat black canvas,
   the wordmark is the imagery, project reel ticker as the spine.
   All values from tokens.
   ============================================================ */

.hero-home {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg-primary);
}

.hero-home-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-home-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-home-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.6) 60%, var(--color-black) 100%);
}

.hero-home-center,
.hero-home-year,
.hero-home .reel-ticker {
  position: relative;
  z-index: 1;
}

.hero-home .reel-ticker { background: rgba(0, 0, 0, 0.55); }

.hero-home-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-3);
  padding: calc(var(--nav-height) + var(--space-4)) var(--gutter-mobile) var(--space-4);
}

.hero-lockup {
  width: min(62vw, 688px);
  height: auto;
  display: block;
}

/* ============================================================
   MISSION BANNER
   Full width strip that scales with the browser. On small
   screens it crops toward the text block so the message stays
   readable instead of shrinking to a sliver.
   ============================================================ */

.mission-banner {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-black);
}

.mission-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2400 / 552;
}

@media (max-width: 640px) {
  .mission-banner img {
    aspect-ratio: auto;
    height: 150px;
    object-fit: cover;
    object-position: 32% center;
  }
}

.hero-desc {
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  font-size: var(--size-body-lg);
  line-height: var(--leading-body);
  color: var(--color-text-body);
  max-width: 600px;
}

.hero-flourish {
  font-family: var(--font-accent);
  font-weight: var(--weight-light);
  font-size: clamp(18px, 2vw, 26px);
  color: var(--color-text-heading);
}

.hero-flourish .accent-mark { color: var(--color-accent); }

.hero-home-year {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: var(--size-body-sm);
  letter-spacing: var(--tracking-widest);
  color: var(--color-text-muted);
  padding-bottom: var(--space-2);
}

/* ── Client brand ticker ── */

.reel-ticker {
  border-top: 1px solid var(--color-border-strong);
  padding: var(--space-2) 0;
  overflow: hidden;
  white-space: nowrap;
}

.reel-ticker .marquee-track {
  display: inline-flex;
  align-items: center;
  animation: marquee 55s linear infinite;
}

.reel-ticker:hover .marquee-track { animation-play-state: paused; }

.reel-ticker .marquee-track span {
  font-family: var(--font-primary);
  font-size: 22px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 0 var(--space-3);
  color: var(--color-text-heading);
}

.reel-ticker .marquee-track span.accent-mark { color: var(--color-accent); }

/* ============================================================
   MARQUEE
   ============================================================ */

.marquee {
  position: relative;
  margin-top: var(--nav-height);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-3) 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 40s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  font-family: var(--font-primary);
  font-size: 20px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 0 var(--space-3);
  color: var(--color-text-heading);
}

.marquee-track span.accent-mark { color: var(--color-accent); }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   PROJECT GRID (editorial, homepage)
   ============================================================ */

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-2);
}

.project-card {
  position: relative;
  grid-column: span 12;
  overflow: hidden;
  cursor: pointer;
}

.project-card .video-slot { position: absolute; inset: 0; border: none; }

.project-card .card-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-accelerate);
}

.project-card:hover .card-thumb { transform: scale(1.04); }

@media (min-width: 900px) {
  .project-card.col-7 { grid-column: span 7; }
  .project-card.col-5 { grid-column: span 5; }
  .project-card.col-4 { grid-column: span 4; }
  .project-card.col-6 { grid-column: span 6; }
}

.project-card .ratio-box { aspect-ratio: 16 / 10; }
.project-card.tall .ratio-box { aspect-ratio: 4 / 5; }

.project-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-3);
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.05) 55%, transparent 100%);
}

.project-card-top {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 3;
}

.project-tag {
  font-family: var(--font-secondary);
  font-size: 10px;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 4px 10px;
}

.project-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2);
}

.project-client {
  font-family: var(--font-secondary);
  font-size: 10px;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.project-title {
  font-family: var(--font-primary);
  font-size: clamp(20px, 2.2vw, 30px);
  text-transform: uppercase;
  line-height: 1;
}

.project-sub {
  font-family: var(--font-body);
  font-weight: var(--weight-light);
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.project-play {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.project-play::after {
  content: "";
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--color-text-heading);
  margin-left: 3px;
}

.project-card:hover .project-play {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.project-card:hover .video-slot-play {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.see-all {
  display: flex;
  justify-content: center;
  margin-top: var(--space-5);
}

.see-all a {
  font-family: var(--font-primary);
  font-size: 20px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 4px;
}

/* ============================================================
   FEATURED PROJECTS (two column tile grid, homepage)
   Structural reference: hyperepublic.com. Edge to edge, zero
   gap, tall tiles, client and category pinned to the top bar.
   ============================================================ */

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.featured-tile {
  position: relative;
  height: clamp(420px, 72vh, 760px);
  overflow: hidden;
  cursor: pointer;
}

.featured-tile .tile-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.65s var(--ease-accelerate);
}

.featured-tile:hover .tile-thumb { transform: scale(1.12); }

.featured-tile .tile-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, transparent 100%);
}

.featured-tile .project-client {
  font-size: 11px;
  color: var(--color-text-heading);
  margin-bottom: 0;
}

.featured-tile .tile-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-3);
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.05) 45%, transparent 100%);
}

.featured-tile .project-title {
  font-size: clamp(26px, 2.8vw, 44px);
}

.featured-tile .project-sub {
  font-size: 13px;
}

.featured-tile .project-play {
  width: 52px;
  height: 52px;
}

.featured-tile:hover .project-play {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

@media (max-width: 768px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-tile { height: clamp(320px, 55vh, 520px); }
  .featured-tile .tile-topbar { padding: var(--gutter-mobile); }
  .featured-tile .tile-overlay { padding: var(--gutter-mobile); }
}

/* ============================================================
   STATEMENT
   ============================================================ */

.statement {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.statement .eyebrow { margin-bottom: var(--space-2); }

.statement h2 { font-size: var(--size-display-lg); }

.statement p {
  max-width: 560px;
  margin: var(--space-3) auto 0;
  color: var(--color-text-muted);
  font-size: var(--size-body-lg);
}

/* ============================================================
   SERVICES STRIP
   ============================================================ */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--color-border);
}

.service {
  padding: var(--space-4);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-top: 2px solid transparent;
  transition: border-color var(--duration-fast) ease;
}

.service:nth-child(3n) { border-right: none; }
.service:nth-child(n+4) { border-bottom: none; }

.service:hover { border-top-color: var(--color-accent); }

.service .num {
  font-family: var(--font-secondary);
  font-size: var(--size-nav);
  color: var(--color-text-muted);
  display: block;
  margin-bottom: var(--space-2);
}

.service h3 {
  font-size: 24px;
  margin-bottom: var(--space-1);
}

.service p {
  font-size: 12px;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(3n) { border-right: 1px solid var(--color-border); }
  .service:nth-child(2n) { border-right: none; }
  .service:nth-child(n+5) { border-bottom: none; }
}

/* ============================================================
   CONTACT CTA STRIP
   ============================================================ */

.cta-strip {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: var(--color-bg-surface);
}

.cta-strip-inner { position: relative; z-index: 1; }

.cta-strip h2 { font-size: var(--size-display-lg); }

.cta-strip p {
  color: var(--color-text-muted);
  margin: var(--space-2) auto var(--space-4);
  max-width: 480px;
}

.cta-buttons {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-secondary);
  font-size: var(--size-nav);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  padding: 18px 36px;
  border: 1px solid var(--color-accent);
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
}

.btn-filled {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-filled:hover { background: var(--color-burnt-red); border-color: var(--color-burnt-red); }

.btn-ghost {
  background: transparent;
  color: var(--color-text-heading);
}

.btn-ghost:hover { background: var(--color-accent); }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-surface) url("../images/footer-texture.jpg") center / cover no-repeat;
}

.footer-collab {
  text-align: center;
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-border);
}

.footer-collab a {
  font-family: var(--font-primary);
  font-size: clamp(32px, 6vw, 72px);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer-bottom img { height: 22px; }

.footer-copy {
  font-family: var(--font-secondary);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  font-family: var(--font-secondary);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.footer-social a:hover { color: var(--color-accent); }

/* ============================================================
   PAGE HEADER (Work / About / Contact)
   ============================================================ */

.page-header {
  min-height: 46vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
}

.page-header .eyebrow { margin-bottom: var(--space-2); }

.page-header h1 { font-size: var(--size-display-xl); }

/* ============================================================
   FILTER
   ============================================================ */

.filter-row {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: var(--space-5);
  overflow-x: auto;
}

.filter-btn {
  font-family: var(--font-secondary);
  font-size: var(--size-nav);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.filter-btn:hover { color: var(--color-text-heading); }

.filter-btn.is-active {
  color: var(--color-text-heading);
  border-color: var(--color-accent);
}

/* ============================================================
   UNIFORM GRID (Work page)
   ============================================================ */

.grid-uniform {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.grid-uniform .project-card { grid-column: span 1; }
.grid-uniform .ratio-box { aspect-ratio: 16 / 10; }

@media (max-width: 1024px) {
  .grid-uniform { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-uniform { grid-template-columns: 1fr; }
}

.grid-uniform .project-card.is-hidden { display: none; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-6);
}

.about-split-sticky { position: sticky; top: calc(var(--nav-height) + var(--space-4)); align-self: start; }

.about-split-body p {
  margin-bottom: var(--space-3);
  color: var(--color-text-muted);
  max-width: 640px;
}

@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; }
  .about-split-sticky { position: static; }
}

.founder {
  display: grid;
  grid-template-columns: minmax(260px, 400px) 1fr;
  gap: var(--space-6);
  align-items: center;
}

.founder-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.founder-name {
  font-size: var(--size-display-md);
  margin-top: var(--space-1);
}

.founder-role {
  font-family: var(--font-secondary);
  font-size: var(--size-nav);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: var(--space-1) 0 var(--space-3);
}

.founder-body > p:not([class]) {
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: var(--space-2);
}

.founder-body > p:not([class]):last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 400px; }
}

.pull-quote {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.pull-quote p {
  font-family: var(--font-accent);
  font-weight: var(--weight-light);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.4;
  color: var(--color-text-heading);
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.capabilities h3 {
  font-size: 22px;
  margin-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-2);
}

.capabilities ul { list-style: none; color: var(--color-text-muted); font-size: 13px; }
.capabilities li { padding: 6px 0; border-bottom: 1px solid var(--color-border); }

@media (max-width: 768px) {
  .capabilities { grid-template-columns: 1fr; }
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
  text-align: center;
}

.clients-grid span {
  font-family: var(--font-primary);
  font-size: 22px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-3) 0;
  border: 1px solid var(--color-border);
  transition: color var(--duration-fast) ease;
}

.clients-grid span:hover { color: var(--color-text-heading); }

@media (max-width: 900px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  font-family: var(--font-secondary);
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.kit-grid div { border: 1px solid var(--color-border); padding: var(--space-2); }

@media (max-width: 768px) {
  .kit-grid { grid-template-columns: repeat(2, 1fr); }
}

.testimonial {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-accent);
  font-weight: var(--weight-light);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.4;
  margin-bottom: var(--space-3);
}

.testimonial-attr {
  font-family: var(--font-secondary);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field.is-hidden { display: none; }

.form-field label {
  font-family: var(--font-secondary);
  font-size: 10px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-heading);
  font-family: var(--font-body);
  font-size: var(--size-body);
  padding: 14px 16px;
  border-radius: var(--radius-none);
}

.form-field textarea { min-height: 140px; resize: vertical; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-field select option { background: var(--color-black); }

.contact-form .btn { grid-column: 1 / -1; justify-self: start; cursor: pointer; }

.form-status {
  grid-column: 1 / -1;
  font-family: var(--font-secondary);
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-status.is-success { color: var(--color-text-heading); }
.form-status.is-error { color: var(--color-accent); }

@media (max-width: 640px) {
  .contact-form { grid-template-columns: 1fr; }
}

.contact-direct {
  max-width: 720px;
  margin: var(--space-6) auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-3);
  font-family: var(--font-secondary);
  font-size: 12px;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ============================================================
   VIDEO MODAL
   ============================================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) ease;
}

.modal.is-open { opacity: 1; pointer-events: auto; }

.modal-inner {
  width: min(90vw, 1200px);
  transform: scale(0.95);
  transition: transform var(--duration-fast) var(--ease-accelerate);
}

.modal.is-open .modal-inner { transform: scale(1); }

.modal-close {
  position: absolute;
  top: var(--space-3);
  right: var(--gutter-desktop);
  background: none;
  border: none;
  color: var(--color-text-heading);
  font-family: var(--font-secondary);
  font-size: var(--size-nav);
  letter-spacing: var(--tracking-widest);
  cursor: pointer;
}

.modal-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-bg-primary);
}

.modal-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}
