/*
Theme Name: Jake's Visuals
Theme URI: https://jakesvisuals.net
Author: Jake Matthews
Author URI: https://jakesvisuals.net
Description: Editorial theme for Jake's Visuals — travel and commercial photography by Jake Matthews, based in Nashville and creating worldwide.
Version: 1.0.0
Text Domain: jakesvisuals
*/

/* ===================================================================
   CUSTOM PROPERTIES
   Fonts enqueued in functions.php (Cormorant Garamond + DM Sans, display=swap)
   =================================================================== */
:root {
  /* --- Canonical color tokens --- */
  --color-bg-primary: #FAFAF8;
  --color-bg-dark: #1A1A1A;
  --color-bg-white: #FFFFFF;
  --color-text-primary: #1A1A1A;
  --color-text-inverse: #FFFFFF;
  --color-text-muted: #8C8C8C;
  --color-border: #C8C4BE;
  --color-cta: #1A1A1A;
  --color-accent: #A87456;

  /* --- Canonical typography tokens --- */
  --font-display: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- Canonical spacing scale --- */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 96px;
  --space-2xl: 140px;
  --space-3xl: 200px;

  /* --- Legacy aliases (kept so existing selectors continue to work) --- */
  --color-bg: var(--color-bg-primary);
  --color-text: var(--color-text-primary);
  --color-muted: var(--color-text-muted);
  --color-white: var(--color-bg-white);
  --color-dark-bg: var(--color-bg-dark);
  --color-placeholder: var(--color-border);
  --color-warm: #EDE5DA;

  /* --- Base typography --- */
  --font-family: var(--font-body);
  --font-size-base: 17px;
  --line-height-body: 1.55;

  /* --- Layout --- */
  --max-width: 1680px;
  --side-padding: 40px;
}

@media (max-width: 768px) {
  :root {
    --side-padding: 20px;
    --space-xl: 64px;
    --space-2xl: 96px;
    --space-3xl: 140px;
  }
}

/* ===================================================================
   BASE
   =================================================================== */

/* --- Selection styles --- */
::selection {
  background: var(--color-text-primary);
  color: var(--color-bg-primary);
}

::-moz-selection {
  background: var(--color-text-primary);
  color: var(--color-bg-primary);
}

/* --- Focus-visible accessibility --- */
*:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
  border-radius: 1px;
}

/* --- Page transition --- */
body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  position: relative;
}

/* Grain overlay — fixed, site-wide editorial film texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}


/* ===================================================================
   SCROLL REVEAL ANIMATION SYSTEM
   Content is visible by default; when the IntersectionObserver is ready
   (signaled by .js-reveal on <html>), elements start hidden and animate
   in. This ensures pages never appear blank when JS is delayed/blocked.
   =================================================================== */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  will-change: opacity, transform;
}

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

/* Staggered children */
/* Stagger transition-delays only — children stay visible by default; reveal handled at container level */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal-stagger > * {
    transition-delay: 0s !important;
  }
}

/* ===================================================================
   PLACEHOLDER IMAGE STYLING
   =================================================================== */
.placeholder-bg {
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(180, 176, 170, 0.1) 10px,
      rgba(180, 176, 170, 0.1) 11px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(180, 176, 170, 0.1) 10px,
      rgba(180, 176, 170, 0.1) 11px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 20px,
      rgba(180, 176, 170, 0.06) 20px,
      rgba(180, 176, 170, 0.06) 21px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 20px,
      rgba(180, 176, 170, 0.06) 20px,
      rgba(180, 176, 170, 0.06) 21px
    ),
    linear-gradient(160deg, #DDD9D3 0%, #C8C4BE 40%, #B8B4AE 100%);
  background-color: #D8D4CE;
}

.placeholder-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.55);
  padding: 8px 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ===================================================================
   SECTION DIVIDER & VISUAL TEXTURE
   =================================================================== */
.section-divider {
  width: 60px;
  max-width: 60px;
  height: 1px;
  background: var(--color-border);
  border: none;
  margin: 0 auto;
}

/* Subtle grain texture for warm sections */
.warm-texture {
  background-color: var(--color-warm);
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ===================================================================
   ENHANCED TYPOGRAPHY
   =================================================================== */
.display-heading {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}

h1, .h1 { letter-spacing: -0.025em; }
h2, .h2 { letter-spacing: -0.02em; }
h3, .h3 { letter-spacing: -0.015em; }
h4, .h4 { letter-spacing: -0.01em; }
h5, .h5 { letter-spacing: 0.01em; }
h6, .h6 { letter-spacing: 0.02em; }

.text-balance {
  text-wrap: balance;
}

.large-body {
  font-size: 18px;
  line-height: 1.75;
}

/* ===================================================================
   UTILITIES
   =================================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
}

.label {
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 500;
  text-transform: uppercase;
}

/* --- Full-bleed utility --- */
.full-bleed {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* Primary CTA — solid dark fill */
.btn-primary,
a.btn-primary {
  background: var(--color-cta);
  color: var(--color-text-inverse);
  border: 1px solid var(--color-cta);
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 0;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background 250ms ease, color 250ms ease;
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-cta);
}

/* Outline button — transparent fill, dark border */
.btn-outline,
a.btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-cta);
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 0;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}

.btn-outline:hover {
  background: var(--color-cta);
  color: var(--color-text-inverse);
}

/* Transparent-on-dark variant (hero) — inverts border/color to white */
.site-header--transparent ~ section.hero .btn-outline,
.hero .btn-outline {
  color: var(--color-text-inverse);
  border-color: var(--color-text-inverse);
}
.hero .btn-outline:hover {
  background: var(--color-text-inverse);
  color: var(--color-text-primary);
}

/* Legacy --dark modifier alias (kept for templates that still reference it) */
.btn-outline--dark {
  color: var(--color-text-primary);
  border-color: var(--color-cta);
}
.btn-outline--dark:hover {
  background: var(--color-cta);
  color: var(--color-text-inverse);
}

.text-link {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 4px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.text-link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.more-link {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.more-link:hover {
  text-decoration: underline;
}

/* ===================================================================
   SITE HEADER / NAV
   =================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Transparent state (default — over hero) */
.site-header--transparent {
  background: transparent;
}

.site-header--transparent .site-logo,
.site-header--transparent .nav-link {
  color: var(--color-white);
}

.site-header--transparent .hamburger span {
  background: var(--color-white);
}

/* Scrolled state */
.site-header--scrolled {
  background: rgba(250, 250, 248, 0.96);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.site-header--scrolled .site-logo,
.site-header--scrolled .nav-link {
  color: var(--color-text);
}

.site-header--scrolled .hamburger span {
  background: var(--color-text);
}

.site-logo {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Round all WWS logo images globally */
img[src*="wws-logo"] {
  border-radius: 50%;
}

.primary-nav {
  display: flex;
  gap: 36px;
}

/* --- Nav link underline animation --- */
.nav-link {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after,
.nav-link--active::after {
  width: 100%;
  left: 0;
}

.nav-link--active {
  opacity: 1 !important;
  color: var(--color-accent);
}

.nav-link:hover {
  opacity: 0.6;
}

/* --- Nav Email Link --- */
/* Prints standalone CTA badge — replaces the old nav pipe+email-styled link */
.nav-contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  margin-left: 24px;
  border: 1px solid var(--color-cta);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.nav-contact-cta__ext {
  font-size: 12px;
  line-height: 1;
}

.nav-contact-cta:hover {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  border-color: var(--color-bg-dark);
}

/* When header is transparent over dark hero, invert the badge */
.site-header--transparent .nav-contact-cta {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-text-inverse);
}
.site-header--transparent .nav-contact-cta:hover {
  background: var(--color-text-inverse);
  color: var(--color-text-primary);
  border-color: var(--color-text-inverse);
}

@media (max-width: 768px) {
  .nav-contact-cta { display: none; }
}

/* Dropdown soft separator between primary work links and secondary */
.nav-dropdown__sep {
  display: block;
  height: 1px;
  background: var(--color-border);
  margin: 8px 16px;
}

/* --- Nav Dropdown --- */
.nav-item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--color-white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 20px 28px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 200;
  border-radius: 2px;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__link {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.nav-dropdown__link:last-child {
  border-bottom: none;
}

.nav-dropdown__link:hover {
  color: var(--color-muted);
  padding-left: 6px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 102;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-white);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav overlay — improved transitions */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.97);
  z-index: 101;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav .nav-link {
  color: var(--color-white);
  font-size: 16px;
  letter-spacing: 0.15em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
}

.mobile-nav.is-open .nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.is-open .nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.is-open .nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.is-open .nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.is-open .nav-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.is-open .nav-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav.is-open .nav-link:nth-child(6) { transition-delay: 0.35s; }

.mobile-nav .nav-link--cta {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  padding-top: 8px;
}

.mobile-nav__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: 0;
  color: var(--color-white);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}
.mobile-nav__close:hover { opacity: 0.7; }

@media (max-width: 768px) {
  .primary-nav {
    display: none;
  }

  .hamburger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav-dropdown {
    display: none;
  }
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  padding-top: 80px;
}

.hero--short {
  min-height: 60vh;
  min-height: 60dvh;
}
.hero--short .hero__headline {
  font-size: clamp(36px, 5vw, 80px);
}
.hero--short .hero__content {
  padding-bottom: clamp(56px, 7vh, 96px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--color-placeholder);
  z-index: 0;
  will-change: transform;
  transform: translateZ(0);
  transition: transform 0.1s linear;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.18) 35%,
    rgba(0, 0, 0, 0.75) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
  padding-bottom: clamp(200px, 35vh, 320px);
}

.hero__content--left {
  /* Text flows naturally from the left edge of the container */
  max-width: none;
}

.hero__headline,
.hero__sub,
.hero__cta {
  max-width: 940px;
}

/* Hero accent line — handled by .hero__decorative-line element */

/* Hero headline canonical rule lives below at "Hero headline: Cormorant display" */

.hero__sub {
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 18px);
  letter-spacing: 0;
  font-weight: 300;
  text-transform: none;
  color: rgba(255, 255, 255, 0.95);
  max-width: 48ch;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.hero__headline {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero__cta {
  margin-top: 48px;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  right: var(--side-padding);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__scroll::before {
  content: 'Scroll';
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.hero__scroll-chevron {
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
  border: none;
  transform: none;
  animation: scrollDraw 2.6s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollDraw {
  0% { transform: scaleY(0); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Keep legacy name working */
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: flex-end;
    padding-bottom: calc(120px + 25dvh);
  }

  /* Lock the hero CTA row so buttons never reflow between stacked and
     side-by-side when fonts swap in — they always sit side-by-side,
     equal width, text shortened enough to fit on one line. */
  .hero__cta {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    width: 100%;
  }
  .hero__cta .btn-outline,
  .hero__cta .btn-primary {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 8px;
    font-size: 10px;
    letter-spacing: 0.18em;
    white-space: nowrap;
  }

  .hero__content {
    grid-column: 1;
    padding: 0 var(--side-padding);
    padding-bottom: 0;
  }
}

/* ===================================================================
   TRUSTED BY
   =================================================================== */
.trusted-by {
  background: var(--color-white);
  padding: var(--space-xl) 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trusted-by__label {
  color: var(--color-muted);
  margin-bottom: 48px;
}

.trusted-by__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  padding: 0 var(--side-padding);
}

.trusted-by__item {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-text);
}

/* --- Marquee animation for trusted-by --- */
.marquee {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.marquee__track {
  display: flex;
  animation: marqueeScroll 30s linear infinite;
  gap: 48px;
}

.marquee__track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===================================================================
   AS SEEN IN (Press Mentions)
   =================================================================== */
.as-seen-in {
  background: var(--color-bg);
  padding: var(--space-lg) 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.as-seen-in__label {
  color: var(--color-muted);
  margin-bottom: 40px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.as-seen-in__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px 56px;
  padding: 0 var(--side-padding);
  align-items: baseline;
}

.as-seen-in__item {
  font-size: 15px;
  letter-spacing: 0.04em;
  font-style: italic;
  font-weight: 300;
  color: var(--color-text);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.as-seen-in__item:hover {
  opacity: 1;
}

.as-seen-in__item a {
  color: inherit;
  text-decoration: none;
}

.as-seen-in__item a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===================================================================
   FEATURED WORK GRID
   =================================================================== */
.featured-work {
  background: var(--color-bg);
  padding: var(--space-xl) var(--side-padding) var(--space-2xl);
}

.featured-work__label {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

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

.portfolio-grid__item {
  position: relative;
  overflow: hidden;
  background-color: var(--color-placeholder);
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

/* CTA tile ("View All") sits at the top, spanning full grid width as a banner */
.portfolio-grid > *:last-child {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  aspect-ratio: 21 / 9;
}

/* Editorial layout: first child is the hero slot spanning 2 rows in left col,
   starting on row 2 (CTA banner occupies row 1) */
.portfolio-grid > *:first-child {
  grid-column: 1;
  grid-row: 2 / span 2;
  aspect-ratio: auto;
}

@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr !important; gap: 4px !important; }
  .portfolio-grid > * {
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: 3 / 4 !important;
  }
  .portfolio-grid > *:last-child {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    aspect-ratio: 16 / 9 !important;
  }
}

/* On desktop the editorial grid pattern expects exactly 5 items + view-all.
   Hide the 6th tile so the asymmetric first-child hero doesn't leave
   an orphan column on row 3. Tablet/mobile show all 6 (2-col grid). */
@media (min-width: 1025px) {
  .portfolio-grid__item--6 { display: none; }
}

/* Grid placement for homepage asymmetric layout */
/* Numbered positioning rules removed — grid now flows via auto-placement with
   first-child (hero slot) and last-child (CTA breaker) explicit overrides. */

/* Aspect ratios per item type */
.portfolio-grid__item--landscape { aspect-ratio: 16 / 10; }
.portfolio-grid__item--portrait { aspect-ratio: 3 / 4; }
.portfolio-grid__item--wide { aspect-ratio: 21 / 9; }

.portfolio-grid__item-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.portfolio-grid__item:hover .portfolio-grid__item-img {
  transform: scale(1.03);
}

/* Overlay handles the hover fade-in darken; caption fades in separately */
.portfolio-grid__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.portfolio-grid__item:hover .portfolio-grid__item-overlay {
  opacity: 1;
}

/* View button hidden — caption info + cursor affordance is enough */
.portfolio-grid__view-btn {
  display: none;
}

.portfolio-grid__item:hover .portfolio-grid__view-btn {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-grid__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 200ms ease 100ms, transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-grid__item:hover .portfolio-grid__info {
  opacity: 1;
  transform: translateY(0);
}

/* Touch devices — show caption always, no hover */
@media (hover: none) {
  .portfolio-grid__item-overlay { opacity: 1; }
  .portfolio-grid__info {
    opacity: 1;
    transform: none;
  }
}

.portfolio-grid__category {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.28em;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  font-feature-settings: "smcp" 1, "c2sc" 1;
}

.portfolio-grid__name {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.portfolio-grid__location {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

.featured-work__more {
  text-align: center;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.featured-work__more .text-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* ===================================================================
   PROJECT CARDS (Full-bleed homepage showcase)
   =================================================================== */
.project-card {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  min-height: 85vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}

.project-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--color-placeholder);
  transition: transform 0.8s ease;
  z-index: 0;
}

.project-card:hover .project-card__bg {
  transform: scale(1.05);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
  z-index: 1;
}

.project-card__content {
  position: relative;
  z-index: 2;
  padding: var(--space-lg) var(--side-padding);
  padding-bottom: var(--space-lg);
  max-width: var(--max-width);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-card__content {
  transform: translateY(-8px);
}

.project-card__category {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
  font-weight: 500;
}

.project-card__name {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.project-card__location {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

.project-card__link {
  display: inline-block;
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-white);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.3s ease;
}

.project-card__link:hover {
  border-bottom-color: var(--color-white);
}

@media (max-width: 768px) {
  .project-card {
    min-height: 70vh;
  }

  .project-card__content {
    padding-bottom: var(--space-lg);
  }
}

/* ===================================================================
   BRAND STATEMENT
   =================================================================== */
.brand-statement {
  background: var(--color-warm);
  padding: var(--space-2xl) var(--side-padding);
  position: relative;
}

/* Grain texture on warm sections */
.brand-statement::before,
.process::before,
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.brand-statement > *,
.process > *,
.stats-bar > * {
  position: relative;
  z-index: 1;
}

.brand-statement__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.brand-statement__eyebrow {
  color: var(--color-muted);
  margin-bottom: 24px;
}

.brand-statement__headline {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-statement__body {
  margin-top: 36px;
}

.brand-statement__body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.brand-statement__cta {
  margin-top: 48px;
}

.brand-statement__image {
  aspect-ratio: 4 / 5;
  background-color: #D8D4CE;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-statement__image-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .brand-statement__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .brand-statement__image {
    order: -1;
  }
}

/* ===================================================================
   SERVICES ROW
   =================================================================== */
.services-row {
  background: var(--color-white);
  padding: var(--space-xl) var(--side-padding) var(--space-2xl);
}

.services-row__label {
  text-align: center;
  color: var(--color-muted);
  margin-bottom: 72px;
}

.services-row__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

/* --- Service card with hover lift --- */
.service-card {
  border-top: 1px solid var(--color-border);
  padding-top: 36px;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
  transform: translateY(-2px);
}

.service-card__name {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.service-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
}

.service-card__link {
  margin-top: 24px;
  display: inline-block;
}

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

@media (min-width: 769px) and (max-width: 1024px) {
  .services-row__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================================================================
   TESTIMONIALS
   =================================================================== */
.testimonials {
  background: var(--color-bg);
  padding: var(--space-xl) var(--side-padding) var(--space-2xl);
  text-align: center;
}

.testimonials__track {
  position: relative;
  overflow: hidden;
}

.testimonials__slide {
  display: none;
  flex-direction: column;
  align-items: center;
}

.testimonials__slide.is-active {
  display: flex;
  animation: fadeSlideIn 0.4s ease;
}

.testimonials__slide.is-fading-out {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonials__quote {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-text);
  max-width: 800px;
  margin: 0 auto;
  font-style: italic;
}

.testimonials__source {
  margin-top: 36px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-style: normal;
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 56px;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--color-text);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.testimonials__dot.is-active {
  background: var(--color-text);
}

/* ===================================================================
   CTA BANNER
   =================================================================== */
.cta-banner {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--color-placeholder);
  z-index: 0;
  transition: transform 0.8s ease;
}

.cta-banner:hover .cta-banner__bg {
  transform: scale(1.05);
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl) var(--side-padding);
}

.cta-banner__headline {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: var(--color-white);
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cta-banner__sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 20px;
}

.cta-banner__btn {
  margin-top: 48px;
}

/* ===================================================================
   FULL-BLEED IMAGE
   =================================================================== */
.full-bleed-image {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 50vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: var(--color-placeholder);
  position: relative;
}

/* Fallback for mobile (parallax not great on mobile) */
@media (max-width: 768px) {
  .full-bleed-image {
    background-attachment: scroll;
    height: 40vh;
  }
}

.full-bleed-image--tall {
  height: 65vh;
}

.full-bleed-image--short {
  height: 35vh;
}

/* ===================================================================
   PAGE INTRO (Inner page header)
   =================================================================== */
.page-intro {
  text-align: center;
  padding-top: 220px;
  padding-bottom: var(--space-xl);
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
}

.page-intro__headline {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 900px;
  margin: 0 auto;
}

.page-intro__subtitle {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 540px;
  margin: 24px auto 0;
  line-height: 1.7;
}

.page-intro__line {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--color-border);
  margin: 36px auto 0;
}

@media (max-width: 768px) {
  .page-intro {
    padding-top: 140px;
    padding-bottom: var(--space-lg);
  }
}

/* ===================================================================
   IMAGE-TEXT SPLIT
   =================================================================== */
.image-text-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.image-text-split--reversed .image-text-split__image {
  order: 2;
}

.image-text-split--reversed .image-text-split__text {
  order: 1;
}

.image-text-split__image {
  background-size: cover;
  background-position: center;
  background-color: var(--color-placeholder);
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.image-text-split__image-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.image-text-split:hover .image-text-split__image-inner {
  transform: scale(1.05);
}

.image-text-split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg);
}

.image-text-split__eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.image-text-split__headline {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.image-text-split__body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-top: 24px;
  max-width: 480px;
}

.image-text-split__link {
  margin-top: 32px;
}

@media (max-width: 768px) {
  .image-text-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .image-text-split__image {
    min-height: 350px;
    order: -1 !important;
  }

  .image-text-split__text {
    order: 1 !important;
    padding: var(--space-lg) var(--side-padding);
  }
}

/* ===================================================================
   NUMBER STRIP (Dramatic stats)
   =================================================================== */
.number-strip {
  background: var(--color-dark-bg);
  padding: var(--space-xl) var(--side-padding);
  position: relative;
}

.number-strip__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.number-strip__stat {
  padding: 0 16px;
}

.number-strip__number {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 300;
  line-height: 1;
  color: var(--color-white);
  letter-spacing: -0.03em;
}

.number-strip__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 16px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .number-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 24px;
  }

  .number-strip__stat {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* ===================================================================
   INSTAGRAM SECTION
   =================================================================== */
.instagram-section {
  padding: var(--space-xl) var(--side-padding);
  text-align: center;
}

.instagram-section__heading {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 48px;
}

.instagram-section__heading a {
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.instagram-section__heading a:hover {
  opacity: 0.6;
}

.instagram-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.instagram-section__item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color-placeholder);
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.instagram-section__item-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.instagram-section__item:hover .instagram-section__item-img {
  transform: scale(1.05);
}

.instagram-section__item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
  z-index: 1;
}

.instagram-section__item:hover .instagram-section__item-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.instagram-section__item-overlay span {
  opacity: 0;
  color: var(--color-white);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.instagram-section__item:hover .instagram-section__item-overlay span {
  opacity: 1;
  transform: translateY(0);
}

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

/* ===================================================================
   FOOTER IG STRIP
   =================================================================== */
.footer-ig-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: 100%;
}

.footer-ig-strip__item {
  aspect-ratio: 1 / 1;
  background-color: var(--color-placeholder);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.footer-ig-strip__item-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.footer-ig-strip__item:hover .footer-ig-strip__item-img {
  transform: scale(1.05);
}

.footer-ig-strip__item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  z-index: 1;
}

.footer-ig-strip__item:hover .footer-ig-strip__item-overlay {
  background: rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .footer-ig-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===================================================================
   SITE FOOTER
   =================================================================== */
.site-footer {
  background: var(--color-text);
  padding: var(--space-lg) var(--side-padding);
}

.site-footer__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
}

.site-footer__brand .footer-logo {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-white);
}

.site-footer__brand .footer-url {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 8px;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.site-footer__nav a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.site-footer__nav a:hover {
  color: var(--color-white);
}

.site-footer__contact {
  text-align: right;
}

.site-footer__contact a,
.site-footer__contact span {
  display: block;
  font-size: 12px;
  color: var(--color-muted);
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.site-footer__contact a:hover {
  color: var(--color-white);
}

.site-footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-lg);
  padding-top: 24px;
  text-align: center;
}

.site-footer__copy {
  font-size: 11px;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .site-footer__contact {
    text-align: center;
  }

  .site-footer__nav {
    align-items: center;
    gap: 0 !important;
  }

  /* Override the desktop min-height touch-target on footer links so they
     don't create absurd vertical spacing in a stacked flex column */
  .site-footer__nav a {
    min-height: 0 !important;
    padding: 4px 0 !important;
    line-height: 1.5 !important;
    display: block !important;
  }

  .site-footer__nav-heading {
    margin-bottom: 10px;
  }
}

/* ===================================================================
   WORK PAGE
   =================================================================== */
.work-header {
  padding-top: 120px;
  padding-bottom: var(--space-lg);
  text-align: center;
}

.work-header__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.work-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.work-category {
  position: relative;
  overflow: hidden;
  height: 55vh;
  background-color: var(--color-placeholder);
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.work-category__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.work-category:hover .work-category__img {
  transform: scale(1.05);
}

.work-category__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.4s ease;
}

.work-category:hover .work-category__overlay {
  background: rgba(0, 0, 0, 0.45);
}

.work-category__info {
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 2;
}

.work-category__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
}

.work-category__link {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  display: inline-block;
}

.work-category__link:hover {
  color: var(--color-white);
}

/* Filter buttons */
.work-filters {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: var(--space-lg) var(--side-padding) var(--space-md);
}

.work-filter-btn {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  font-family: var(--font-family);
}

.work-filter-btn.is-active,
.work-filter-btn:hover {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
}

/* Work portfolio grid (reuses .portfolio-grid) */
.work-portfolio {
  padding: 0 var(--side-padding) var(--space-xl);
}

.work-portfolio .portfolio-grid__item {
  transition: opacity 0.3s ease;
}

.work-portfolio .portfolio-grid__item.is-hidden {
  display: none;
}

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

  .work-category {
    height: 40vh;
  }
}

/* ===================================================================
   SERVICES PAGE
   =================================================================== */
.services-header {
  padding-top: 200px;
  padding-bottom: var(--space-xl);
  text-align: center;
}

.services-header__title {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.services-header__sub {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 520px;
  margin: 24px auto 0;
}

/* Alternating service blocks */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}

.service-block:nth-child(even) .service-block__image {
  order: 2;
}

.service-block:nth-child(even) .service-block__text {
  order: 1;
}

.service-block__image {
  background-color: var(--color-placeholder);
  background-size: cover;
  background-position: center;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.service-block__image-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.service-block:hover .service-block__image-inner {
  transform: scale(1.05);
}

.service-block__image-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  position: relative;
  z-index: 1;
}

.service-block__text {
  background: var(--color-white);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-block__number {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.service-block__name {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.service-block__body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 440px;
  margin-top: 28px;
}

.service-block__link {
  margin-top: 36px;
}

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

  .service-block__image {
    min-height: 300px;
    order: -1 !important;
  }

  .service-block__text {
    order: 1 !important;
    padding: var(--space-lg) var(--side-padding);
  }
}

/* Process section */
.process {
  background: var(--color-warm);
  padding: var(--space-xl) var(--side-padding) var(--space-2xl);
  position: relative;
}

.process__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.process__header {
  margin-bottom: 48px;
}

.process__eyebrow {
  color: var(--color-muted);
  margin-bottom: 16px;
}

.process__title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.process-step {
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
}

.process-step__number {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.process-step__name {
  font-size: 16px;
  font-weight: 500;
}

.process-step__desc {
  font-size: 14px;
  color: var(--color-muted);
  margin-top: 4px;
}

.process__image {
  position: sticky;
  top: 120px;
  aspect-ratio: 4 / 5;
  background-color: #D8D4CE;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process__image-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
}

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

  .process__image {
    position: relative;
    top: 0;
  }
}

/* ===================================================================
   ABOUT PAGE
   =================================================================== */
.about-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--color-placeholder);
  z-index: 0;
  transition: transform 0.8s ease;
}

.about-hero:hover .about-hero__bg {
  transform: scale(1.05);
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.about-hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl) var(--side-padding);
}

.about-hero__eyebrow {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.about-hero__headline {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Brand story */
.about-story {
  padding: var(--space-2xl) var(--side-padding);
}

.about-story__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.about-story__text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.about-story__image {
  aspect-ratio: 3 / 4;
  background-color: #D8D4CE;
  background-size: cover;
  background-position: center;
  position: sticky;
  top: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-story__image-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.about-story__image:hover .about-story__image-inner {
  transform: scale(1.05);
}

.about-story__image-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .about-story__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-story__image {
    position: relative;
    top: 0;
    order: -1;
  }
}

/* Stats bar */
.stats-bar {
  background: var(--color-warm);
  padding: var(--space-xl) var(--side-padding);
  position: relative;
}

.stats-bar__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat__number {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  line-height: 1;
}

.stat__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  margin-top: 12px;
}

@media (max-width: 768px) {
  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 24px;
  }
}

/* BTS strip */
.bts {
  padding: var(--space-xl) 0;
  text-align: center;
}

.bts__label {
  color: var(--color-muted);
  margin-bottom: 48px;
}

.bts__strip {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 0 var(--side-padding);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bts__strip::-webkit-scrollbar {
  display: none;
}

.bts__item {
  flex-shrink: 0;
  width: 320px;
  height: 220px;
  background-color: #D8D4CE;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.bts__item-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.bts__item:hover .bts__item-inner {
  transform: scale(1.05);
}

.bts__item-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  position: relative;
  z-index: 1;
}

/* ===================================================================
   CONTACT PAGE
   =================================================================== */
.contact-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 200px var(--side-padding) var(--space-xl);
}

.contact-page__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
  text-align: center;
}

.contact-page__sub {
  font-size: 14px;
  color: var(--color-muted);
  text-align: center;
  margin: 16px 0 72px;
}

/* Contact Form 7 overrides */
.wpcf7 label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--color-muted);
  display: block;
  margin-bottom: 8px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  padding: 12px 0;
  font-size: 15px;
  font-family: var(--font-family);
  color: var(--color-text);
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-bottom-color: var(--color-text);
}

.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 40px;
}

.wpcf7 p {
  margin-bottom: 40px;
}

.wpcf7 input[type="submit"] {
  display: inline-block;
  padding: 16px 48px;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--font-family);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  border-radius: 0;
}

.wpcf7 input[type="submit"]:hover {
  background: var(--color-text);
  color: var(--color-bg);
  transform: scale(1.02);
}

.contact-page__footer-note {
  font-size: 12px;
  color: var(--color-muted);
  text-align: center;
  margin-top: 48px;
}

/* ===================================================================
   CONTACT FORM (Native HTML form styling)
   =================================================================== */
.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 var(--space-md) 0;
}

.contact-form legend {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 20px;
  padding: 0;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.contact-form__field {
  margin-bottom: 32px;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 10px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form input[type="number"],
.contact-form input[type="date"] {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  padding: 14px 0;
  font-size: 15px;
  font-family: var(--font-family);
  color: var(--color-text);
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-bottom-color: var(--color-text);
}

.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  padding: 14px 0;
  font-size: 15px;
  font-family: var(--font-family);
  color: var(--color-text);
  outline: none;
  border-radius: 0;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.3s ease;
}

.contact-form select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  padding: 14px 0;
  font-size: 15px;
  font-family: var(--font-family);
  color: var(--color-text);
  outline: none;
  border-radius: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23888888' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  transition: border-color 0.3s ease;
}

/* Checkbox pills */
.contact-form__checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-form__checkbox-group label {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid var(--color-border);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--color-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  margin-bottom: 0;
}

.contact-form__checkbox-group label:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

.contact-form__checkbox-group input[type="checkbox"],
.contact-form__checkbox-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.contact-form__checkbox-group input[type="checkbox"]:checked + label,
.contact-form__checkbox-group input:checked + label,
.contact-form__checkbox-group label:has(input:checked) {
  background: var(--color-text);
  color: var(--color-white);
  border-color: var(--color-text);
}

/* Radio buttons (standalone) */
.contact-form input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.2s ease;
  vertical-align: middle;
  margin-right: 8px;
  position: relative;
}

.contact-form input[type="radio"]:checked {
  border-color: var(--color-text);
}

.contact-form input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--color-text);
  border-radius: 50%;
}

/* Standalone checkboxes */
.contact-form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  vertical-align: middle;
  margin-right: 8px;
  position: relative;
}

.contact-form input[type="checkbox"]:checked {
  background: var(--color-text);
  border-color: var(--color-text);
}

.contact-form input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 4px;
  height: 8px;
  border: solid var(--color-white);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.contact-form button[type="submit"],
.contact-form input[type="submit"] {
  display: inline-block;
  padding: 16px 56px;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--font-family);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  border-radius: 0;
  margin-top: 16px;
}

.contact-form button[type="submit"]:hover,
.contact-form input[type="submit"]:hover {
  background: var(--color-text);
  color: var(--color-bg);
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form button[type="submit"],
  .contact-form input[type="submit"] {
    width: 100%;
    text-align: center;
    min-height: 48px;
  }
}

/* ===================================================================
   INNER PAGE HEADER (for solid-bg pages)
   =================================================================== */
.site-header--solid {
  background: rgba(250, 250, 248, 0.96);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.site-header--solid .site-logo,
.site-header--solid .nav-link {
  color: var(--color-text);
}

.site-header--solid .hamburger span {
  background: var(--color-text);
}

/* ===================================================================
   ENHANCED MOBILE STYLES
   =================================================================== */
@media (max-width: 768px) {
  /* Better touch targets */
  .nav-link,
  .mobile-nav .nav-link,
  .work-filter-btn,
  .testimonials__dot,
  .more-link,
  .text-link,
  .site-footer__nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .testimonials__dot {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative;
  }

  .testimonials__dot::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--color-text);
    background: transparent;
    transition: background 0.2s ease;
  }

  .testimonials__dot.is-active::after {
    background: var(--color-text);
  }

  /* Scaled-down dot styling on mobile: hide the dot itself, use ::after */
  .testimonials__dot {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 0;
  }

  /* Improved mobile typography scaling */
  body {
    font-size: 15px;
  }

  /* .hero__headline and .display-heading mobile sizing handled at their canonical rules below */

  .brand-statement__headline {
    font-size: clamp(28px, 8vw, 40px);
  }

  .testimonials__quote {
    font-size: clamp(18px, 5vw, 24px);
  }

  .cta-banner__headline {
    font-size: clamp(26px, 7vw, 40px);
  }

  /* Better mobile spacing for form elements */
  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 input[type="url"],
  .wpcf7 textarea {
    font-size: 16px; /* Prevents iOS zoom on focus */
    padding: 14px 0;
  }

  .wpcf7 input[type="submit"] {
    min-height: 48px;
    width: 100%;
    text-align: center;
  }

  .btn-outline {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Contact form mobile */
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form input[type="url"],
  .contact-form textarea,
  .contact-form select {
    font-size: 16px; /* Prevents iOS zoom */
  }

  /* Hero mobile: text at bottom with generous padding */
  .hero {
    margin-left: calc(-50vw + 50%);
  }

  /* Stats bar 2x2 on mobile */
  .stats-bar__grid {
    gap: 40px 24px;
  }
}

/* ===================================================================
   MISSING STYLES — Hero variants
   =================================================================== */
.hero__content--left {
  grid-column: 1;
  padding-left: var(--side-padding);
  padding-right: var(--space-lg);
}

.hero__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.hero__decorative-line {
  width: 72px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  margin-bottom: 32px;
}

.hero__sub--prominent {
  /* Inherits canonical .hero__sub body-sentence-case treatment — no override */
}

@media (max-width: 768px) {
  .hero__content--left {
    grid-column: 1;
    padding-left: var(--side-padding);
    padding-right: var(--side-padding);
  }
}

/* ===================================================================
   PAGE INTRO — eyebrow, title, sub (alias for headline/subtitle)
   =================================================================== */
.page-intro__eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.page-intro__title {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 900px;
  margin: 0 auto;
}

.page-intro__sub {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 540px;
  margin: 24px auto 0;
  line-height: 1.7;
}

/* ===================================================================
   ABOUT — hero tall variant + approach section
   =================================================================== */
.about-hero--tall {
  min-height: 55vh;
}

.about-approach {
  background: var(--color-warm);
  padding: var(--space-2xl) var(--side-padding);
  text-align: center;
  position: relative;
}

.about-approach__inner {
  max-width: 800px;
  margin: 0 auto;
}

.about-approach__eyebrow {
  color: var(--color-muted);
  margin-bottom: 32px;
}

.about-approach__headline {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-style: italic;
  color: var(--color-text);
}

.about-approach__body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-top: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================================================
   WHY US — services page
   =================================================================== */
.why-us {
  background: var(--color-white);
  padding: var(--space-xl) var(--side-padding) var(--space-2xl);
  text-align: center;
}

.why-us__label {
  color: var(--color-muted);
  margin-bottom: 24px;
}

.why-us__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: left;
}

.why-us__point {
  border-top: 1px solid var(--color-border);
  padding-top: 32px;
}

.why-us__statement {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.why-us__supporting {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .why-us__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===================================================================
   TESTIMONIALS — decorative quote mark
   =================================================================== */
.testimonials__quote-mark {
  font-size: clamp(80px, 10vw, 140px);
  line-height: 0.6;
  color: var(--color-border);
  font-weight: 300;
  opacity: 0.5;
  margin-bottom: 24px;
  font-family: var(--font-display);
}

/* ===================================================================
   AS SEEN IN — divider pipes
   =================================================================== */
.as-seen-in__divider {
  color: var(--color-border);
  font-weight: 300;
  font-size: 14px;
  user-select: none;
}

@media (max-width: 768px) {
  .as-seen-in__divider {
    display: none;
  }
}

/* ===================================================================
   PROJECT CARDS — section wrapper
   =================================================================== */
.project-cards {
  /* Just a container — no special styling needed */
}

/* ===================================================================
   FOOTER IG — section + label
   =================================================================== */
.footer-ig {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.footer-ig__label {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0 0 24px;
  margin: 0;
}

/* ===================================================================
   FOOTER — tagline, email, social, handle
   =================================================================== */
.site-footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 20px;
  letter-spacing: -0.005em;
}

.site-footer__email {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.site-footer__email:hover {
  color: var(--color-accent);
}

.site-footer__social {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.site-footer__social-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.site-footer__social-link:hover {
  color: var(--color-white);
}

.site-footer__handle {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .site-footer__social {
    justify-content: center;
  }
}

/* ===================================================================
   MOBILE NAV — sub-links, footer, email
   =================================================================== */
.mobile-nav__sub {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 20px;
}

.nav-link--sub {
  font-size: 13px !important;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5) !important;
  font-weight: 400 !important;
}

.mobile-nav__footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav__email {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav__email:hover {
  color: var(--color-white);
}

/* ===================================================================
   CONTACT — form wrap, info panel
   =================================================================== */
.contact-form-wrap {
  margin-top: 48px;
}

.contact-form__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 10px;
}

.contact-form__input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  padding: 14px 0;
  font-size: 15px;
  font-family: var(--font-family);
  color: var(--color-text);
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s ease;
}

.contact-form__input:focus {
  border-bottom-color: var(--color-text);
}

.contact-form__select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  padding: 14px 0;
  font-size: 15px;
  font-family: var(--font-family);
  color: var(--color-text);
  outline: none;
  border-radius: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23888888' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  transition: border-color 0.3s ease;
}

.contact-form__select:focus {
  border-bottom-color: var(--color-text);
}

.contact-form__textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  padding: 14px 0;
  font-size: 15px;
  font-family: var(--font-family);
  color: var(--color-text);
  outline: none;
  border-radius: 0;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.3s ease;
}

.contact-form__textarea:focus {
  border-bottom-color: var(--color-text);
}

.contact-form__fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.contact-form__checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-form__checkbox-label {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid var(--color-border);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--color-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact-form__checkbox-label:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

.contact-form__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.contact-form__checkbox:checked + span {
  /* Target the span inside the label */
}

.contact-form__checkbox-label:has(.contact-form__checkbox:checked) {
  background: var(--color-text);
  color: var(--color-white);
  border-color: var(--color-text);
}

.contact-form__submit {
  /* Inherits from .btn-outline — no additional styles needed */
}

.contact-form__row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.contact-form__row--full {
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .contact-form__row--2col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form__input,
  .contact-form__select,
  .contact-form__textarea {
    font-size: 16px;
  }
}

/* Contact info panel */
.contact-info-panel {
  margin-top: var(--space-lg);
}

.contact-info-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.contact-info-panel__item {
  padding: 0 16px;
}

.contact-info-panel__heading {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 12px;
}

.contact-info-panel__link {
  font-size: 13px;
  color: var(--color-muted);
  text-decoration: none;
  display: block;
  transition: color 0.2s ease;
}

.contact-info-panel__link:hover {
  color: var(--color-text);
}

.contact-info-panel__text {
  font-size: 13px;
  color: var(--color-muted);
}

.contact-info-panel__social {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.contact-info-panel__social a {
  font-size: 12px;
  color: var(--color-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.contact-info-panel__social a:hover {
  color: var(--color-text);
}

@media (max-width: 768px) {
  .contact-info-panel__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===================================================================
   JS-GENERATED ELEMENTS
   =================================================================== */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--color-text);
  z-index: 9999;
  transition: width 0.05s linear;
  pointer-events: none;
}

/* Cursor follower for project cards */
.cursor-follower {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  background: var(--color-text);
  color: var(--color-white);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cursor-follower.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Form validation error state */
.contact-form__field.is-error .contact-form__input,
.contact-form__field.is-error .contact-form__select,
.contact-form__field.is-error .contact-form__textarea {
  border-bottom-color: #c0392b;
}

.contact-form__field.is-error .contact-form__label {
  color: #c0392b;
}

.contact-form__error-msg {
  font-size: 11px;
  color: #c0392b;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* Form success message */
.contact-form__success {
  text-align: center;
  padding: var(--space-lg) 0;
}

.contact-form__success h3 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.contact-form__success p {
  font-size: 14px;
  color: var(--color-muted);
}

/* ===================================================================
   HOMEPAGE ENHANCEMENTS — March 2026
   =================================================================== */

/* --- Hero headline: Cormorant display, mixed case editorial --- */
.hero__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.75vw, 72px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--color-text-inverse);
  text-transform: none;
  margin: 0;
}

@media (max-width: 768px) {
  .hero__headline {
    font-size: clamp(22px, 5.5vw, 36px);
    letter-spacing: -0.03em;
  }
}

/* --- Tagline Section --- */
.tagline-section {
  background: var(--color-white);
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tagline-section__text {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-primary);
  text-align: center;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
}

.tagline-section__cta {
  margin-top: 40px;
  text-align: center;
}

/* Dark outline button variant for tagline */
.btn-outline--dark {
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn-outline--dark:hover {
  background: var(--color-text);
  color: var(--color-white);
}

/* --- Category Chooser --- */
.category-chooser {
  padding: 0 0 120px;
  text-align: center;
}

.category-chooser__heading {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  padding: 0 40px;
  line-height: 1.15;
}

.category-chooser__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.category-chooser__card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: var(--color-white);
}

.category-chooser__card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-chooser__card:hover .category-chooser__card-bg {
  transform: scale(1.05);
}

.category-chooser__card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  transition: background 0.4s ease;
  z-index: 1;
}

.category-chooser__card:hover .category-chooser__card-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.category-chooser__card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-chooser__card-name {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-white);
}

.category-chooser__card-link {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.category-chooser__card:hover .category-chooser__card-link {
  color: var(--color-white);
}

@media (max-width: 768px) {
  .category-chooser__grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .category-chooser__card {
    aspect-ratio: 4 / 3;
  }

  .category-chooser__heading {
    font-size: clamp(28px, 7vw, 40px);
    padding: 0 var(--side-padding);
  }
}

/* ===================================================================
   MOBILE BODY TEXT — enforce 16px minimum for readability & Google
   =================================================================== */
@media (max-width: 768px) {
  .brand-statement__body p,
  .service-block__body,
  .about-story__text p,
  .cta-banner__sub,
  .image-text-split__body,
  .as-seen-in__item {
    font-size: 16px;
  }
}
