/* ==========================================================================
   SPACE & PLACE MEDIA — Premium Dark Theme
   Deep charcoal/slate backgrounds · crisp white typography · desert-copper accents
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Surfaces */
  --bg: #101214;
  --bg-elevated: #15181b;
  --bg-card: #1a1e22;
  --bg-card-hover: #20252a;

  /* Lines & borders */
  --line: rgba(244, 241, 236, 0.08);
  --line-strong: rgba(244, 241, 236, 0.16);

  /* Typography */
  --text: #f4f1ec;
  --text-muted: #a39d94;
  --text-faint: #6e6a63;

  /* "Desert Sage" accent — muted architectural green */
  --accent: #7a9382;
  --accent-bright: #94ad9c;
  --accent-dim: #59705f;
  --accent-glow: rgba(122, 147, 130, 0.14);

  /* Type — sans-serif only, site-wide */
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", sans-serif;

  /* Rhythm */
  --container: 1180px;
  --section-pad: clamp(4.5rem, 9vw, 8rem);
  --radius: 2px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-bottom: 1.25rem;
}

.section-lede {
  color: var(--text-muted);
  max-width: 42rem;
  font-size: 1.0625rem;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn-solid {
  background-color: var(--accent);
  color: #0d120e;
  border-color: var(--accent);
}

.btn-solid:hover {
  background-color: var(--accent-bright);
  border-color: var(--accent-bright);
  transform: translateY(-2px);
}

/* ----- High-conversion CTA glow (nav + hero "Book a Shoot") -----
   A blurred accent under-layer behind the button breathes opacity
   and spread forever. z-index: -1 keeps it beneath the button face,
   and pointer-events: none guarantees clicks pass straight through. */
.site-nav .btn-solid,
.hero-actions .btn-solid {
  position: relative;
}

.site-nav .btn-solid::before,
.hero-actions .btn-solid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-color: var(--accent);
  filter: blur(16px);
  opacity: 0.2;
  pointer-events: none;
  animation: buttonPulse 4s ease-in-out infinite;
}

@keyframes buttonPulse {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.08);
  }
}

.btn-ghost {
  background-color: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.2rem 2.8rem;
}

.btn-sm {
  padding: 0.7rem 1.4rem;
  font-size: 0.75rem;
}

.btn-nav {
  padding: 0.7rem 1.5rem;
  font-size: 0.72rem;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background-color 0.4s var(--ease), padding 0.4s var(--ease),
              border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

/* NOTE: no backdrop-filter here — a filter on the header would turn it into
   the containing block for the fixed-position mobile nav drawer inside it,
   breaking the full-screen overlay. Near-opaque solid color instead. */
.site-header.is-scrolled {
  background-color: rgba(16, 18, 20, 0.96);
  border-bottom-color: var(--line);
  padding: 0.9rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Wordmark: "Space & Place" with "Media" nested beside it,
   bottom-aligned and dipped slightly below the baseline */
.brand {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
}

/* The lighter "MEDIA" / "MEDIA LLC" tag beside the wordmark */
.brand-media {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--accent);
  white-space: nowrap;
  transform: translateY(1px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-list {
  display: flex;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.3s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

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

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle-bar {
  display: block;
  width: 26px;
  height: 1.5px;
  margin-inline: auto;
  background-color: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* ---------- Media Placeholders ---------- */
/* Swap these for real <img>/<video> assets — the layout will hold. */
.media-placeholder {
  position: relative;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(160deg, #1d2126 0%, #14171a 55%, #121712 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}

.media-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 20%, var(--accent-glow), transparent 60%);
}

.placeholder-label {
  position: relative;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 1.1rem 1.3rem;
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 7rem;
}

/* Desktop: copy left, viewfinder right */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
  padding-block: 4rem 3rem;
}

.hero-visual {
  position: relative;
}

/* ----- Ambient backlight behind the viewfinder -----
   Soft silver radial glow, heavily blurred, breathing between
   0.15 and 0.55 opacity on an endless 7s cycle. */
.hero-glow {
  position: absolute;
  inset: -12%;
  z-index: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(236, 240, 237, 0.55) 0%,
    rgba(236, 240, 237, 0.18) 42%,
    transparent 70%
  );
  filter: blur(60px);
  opacity: 0.15;
  pointer-events: none;
  animation: mediaGlow 7s ease-in-out infinite;
}

@keyframes mediaGlow {
  0%, 100% { opacity: 0.15; }
  50%      { opacity: 0.55; }
}

/* ----- Viewfinder shutter sequence (pure CSS) -----
   Timeline: overlay draws in (0.2s) → shutter flash (0.55s) →
   image fades in (0.85s) → endless slow ambient zoom. */
.viewfinder {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background-color: #0b0d0c;
}

.viewfinder-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  animation:
    vf-image-in 1.4s var(--ease) 0.85s forwards,
    vf-ambient-zoom 14s ease-in-out 2.25s infinite;
}

.viewfinder-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: vf-overlay-in 0.9s var(--ease) 0.2s forwards;
}

.viewfinder-flash {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-color: #fff;
  opacity: 0;
  pointer-events: none;
  animation: vf-flash 0.45s linear 0.55s forwards;
}

@keyframes vf-image-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Seamless breathing zoom: out and back in one 14s cycle */
@keyframes vf-ambient-zoom {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}

/* Viewfinder corner brackets gently pulse while the page is at rest */
.vf-corners {
  animation: vf-corner-pulse 4.5s ease-in-out infinite;
}

@keyframes vf-corner-pulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.8; }
}

@keyframes vf-overlay-in {
  to { opacity: 1; }
}

@keyframes vf-flash {
  0%   { opacity: 0; }
  18%  { opacity: 0.95; }
  100% { opacity: 0; }
}

/* Page-load entry animation: headline, subtext, and buttons
   fade in and rise 20px in a gentle stagger. */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  opacity: 0;
  animation: rise-in 0.85s var(--ease) forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.22s; }
.hero-content > *:nth-child(3) { animation-delay: 0.34s; }
.hero-content > *:nth-child(4) { animation-delay: 0.46s; }

.hero-title {
  font-size: clamp(2.5rem, 6.5vw, 4.6rem);
  max-width: 18ch;
  margin-bottom: 1.75rem;
}

.hero-sub {
  color: var(--text-muted);
  max-width: 36rem;
  font-size: 1.125rem;
  margin-bottom: 2.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-block: 2.5rem 3.5rem;
  border-top: 1px solid var(--line);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-bright);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--section-pad);
}

/* ---------- Services ---------- */
.services {
  background-color: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

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

.service-card {
  position: relative;
  background-color: var(--bg-elevated);
  padding: clamp(2rem, 4vw, 3.25rem);
  transition: background-color 0.45s var(--ease);
}

/* Copper accent line sweeps in across the top of the card on hover */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.service-card:hover {
  background-color: var(--bg-card);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  transition: color 0.35s var(--ease);
}

.service-card:hover .service-index {
  color: var(--accent-bright);
}

.service-title {
  font-size: 1.45rem;
  margin-bottom: 0.9rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ---------- Band (Why Us) ---------- */
.band-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.band-copy .section-lede {
  margin-bottom: 2.25rem;
}

.band-media {
  aspect-ratio: 4 / 5;
}

/* ---------- Final CTA ---------- */
.cta-final {
  background-color: var(--bg-elevated);
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
}

.cta-sub {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.cta-inner {
  max-width: 46rem;
}

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
  padding: clamp(9rem, 16vw, 12rem) 0 clamp(2rem, 4vw, 3rem);
}

.page-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  margin-bottom: 1.25rem;
}

/* ---------- Portfolio ---------- */
.portfolio-section {
  padding-top: 1rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
}

.tab {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
              background-color 0.3s var(--ease);
}

.tab:hover {
  color: var(--text);
}

.tab.is-active {
  color: var(--accent-bright);
  border-color: var(--accent-dim);
  background-color: var(--accent-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 1.25rem;
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.portfolio-item.is-hidden {
  display: none;
}

.portfolio-item .tall {
  grid-row: span 2;
}

.portfolio-item:has(.tall) {
  grid-row: span 2;
}

.portfolio-media {
  flex: 1;
  min-height: 0;
  align-items: center;
  justify-content: center;
  transition: border-color 0.35s var(--ease);
}

.portfolio-item:hover .portfolio-media {
  border-color: var(--accent-dim);
}

/* Low-opacity "Coming Soon" overlay, centered on each placeholder card */
.coming-soon {
  position: relative;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.28;
  transition: opacity 0.4s var(--ease);
}

.portfolio-item:hover .coming-soon {
  opacity: 0.55;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.about-media {
  aspect-ratio: 4 / 5;
}

.about-copy p {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.about-copy .section-title {
  margin-bottom: 1.75rem;
}

.values {
  background-color: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value-card {
  background-color: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent-dim);
  padding: 2.25rem 2rem;
}

.value-card:hover {
  border-top-color: var(--accent-bright);
}

.value-title {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Blog: Index Grid ---------- */
.blog-section {
  padding-top: 1.5rem;
}

.blog-loading {
  color: var(--text-faint);
  font-style: italic;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease),
              background-color 0.35s var(--ease);
}

.post-card:hover {
  border-color: var(--accent-dim);
  background-color: var(--bg-card-hover);
  transform: translateY(-4px);
}

.post-card-media {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse at 70% 25%, var(--accent-glow), transparent 65%),
    linear-gradient(160deg, #1d2126 0%, #14171a 60%, #121712 100%);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.post-card-body {
  padding: 1.9rem 2rem 2.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-date {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.post-card-title {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

.post-card-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.6rem;
  flex: 1;
}

.post-card-more {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

/* ---------- Blog: Single Post ---------- */
/* When viewing a single post the page hero is hidden, so the post view
   itself must clear the fixed header. */
#blog-root.is-post-view {
  padding-top: clamp(6rem, 11vw, 8rem);
}

.post-full {
  max-width: 46rem;
  margin-inline: auto;
}

.post-back {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  transition: color 0.3s var(--ease);
}

.post-back:hover {
  color: var(--accent-bright);
}

.post-full-date {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.post-full-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 2rem;
}

.post-full-media {
  aspect-ratio: 16 / 9;
  margin-bottom: 2.5rem;
  background:
    radial-gradient(ellipse at 70% 25%, var(--accent-glow), transparent 65%),
    linear-gradient(160deg, #1d2126 0%, #14171a 60%, #121712 100%);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}

.post-full-body p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.post-full-body p:first-of-type {
  color: var(--text);
  font-size: 1.15rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: #0c0e10;
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

/* Footer wordmark matches the navbar: name + tag on one row, baseline-nested */
.footer-brand .brand-name {
  font-size: 1.25rem;
}

.footer-brand .brand-media {
  margin-left: 0.5rem;
  display: inline-block;
}

.footer-tag {
  color: var(--text-faint);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 22rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.footer-contact p,
.footer-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 2;
}

.footer-nav a {
  transition: color 0.3s var(--ease);
}

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

.footer-base {
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
}

.footer-base p {
  color: var(--text-faint);
  font-size: 0.8rem;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-content > * {
    animation: none;
    opacity: 1;
  }
  .viewfinder-image,
  .viewfinder-overlay {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .viewfinder-flash {
    animation: none;
    opacity: 0;
  }
  .vf-corners {
    animation: none;
    opacity: 0.6;
  }
  .hero-glow {
    animation: none;
    opacity: 0.25;
  }
  .site-nav .btn-solid::before,
  .hero-actions .btn-solid::before {
    animation: none;
    opacity: 0.3;
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1080px) {
  /* Tighten the header so brand + nav + CTA fit at tablet widths */
  .site-nav {
    gap: 1.5rem;
  }

  .nav-list {
    gap: 1.4rem;
  }

  .nav-link {
    font-size: 0.76rem;
  }

  .brand-name {
    font-size: 1.05rem;
  }
}

@media (max-width: 960px) {
  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Hero stacks: copy above, viewfinder below */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .viewfinder {
    aspect-ratio: 16 / 10;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .band-inner,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .band-media,
  .about-media {
    aspect-ratio: 16 / 10;
    order: -1;
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  /* Mobile navigation drawer */
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    background-color: rgba(12, 14, 16, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
  }

  .nav-link {
    font-size: 1.05rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---------- Mobile centering (tablet & phone) ---------- */
@media (max-width: 768px) {
  /* Hero collapses to one centered column */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    padding-block: 3rem 2.5rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-title {
    max-width: none;
    margin-inline: auto;
  }

  .hero-sub {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    text-align: center;
  }

  /* Interior pages and shared sections follow the same centered rhythm */
  .page-hero .container,
  .section-head,
  .band-copy,
  .about-copy,
  .service-card,
  .value-card {
    text-align: center;
  }

  .section-lede {
    margin-inline: auto;
  }

  .tabs {
    justify-content: center;
  }

  /* Footer: centered columns, no clipped edges.
     (The wordmark spans are inline, so text-align keeps them side by side.) */
  .footer-inner,
  .footer-base {
    text-align: center;
  }

  .footer-tag {
    margin-inline: auto;
  }
}

/* Lock body scroll while the mobile menu is open (class set by js/main.js) */
body.menu-open {
  overflow: hidden;
}
