/* ============================================================
   TENTHIRTYONE — Theme CSS v1.2  |  Maximum Design
   ============================================================ */

/* Fonts loaded via wp_enqueue_style in functions.php */

:root {
  --black:     #060606;
  --dark:      #0D0D0D;
  --card-bg:   #111111;
  --white:     #FFFFFF;
  --off-white: #F0EEE9;
  --light:     #E4E2DC;
  --gray:      #888888;
  --red:       #E8152A;
  --red-dark:  #C00F20;
  --red-glow:  rgba(232,21,42,0.18);
  --red-dim:   rgba(232,21,42,0.06);

  --font-display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;

  /* Type scale — optical sizes */
  --text-xs:   clamp(10px, 0.7vw, 11px);
  --text-sm:   clamp(12px, 0.9vw, 13px);
  --text-base: clamp(15px, 1.1vw, 17px);
  --text-lg:   clamp(17px, 1.4vw, 20px);
  --text-xl:   clamp(20px, 1.8vw, 24px);

  --header-h:  72px;
  --max-w:     1400px;
  --pad:       clamp(20px, 4vw, 64px);
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --fast:      0.2s ease;
  --med:       0.4s var(--ease);
  --slow:      0.8s var(--ease);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-optical-sizing: auto;
  background: var(--white);
  color: var(--black);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Push content below WP admin bar automatically */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color var(--fast); }

/* ════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  padding: 0 var(--pad);
  /*
   * Dark on the left where the logo lives, fades to transparent on the right
   * so it doesn't read as a solid black bar across the photo.
   */
  background: linear-gradient(
    to right,
    rgba(6,6,6,0.96) 0%,
    rgba(6,6,6,0.96) 25%,
    rgba(6,6,6,0.6)  50%,
    rgba(6,6,6,0.15) 75%,
    rgba(6,6,6,0.0)  100%
  );
  transition: background var(--med), box-shadow var(--med);
}
.site-header.scrolled {
  background: rgba(6,6,6,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(232,21,42,0.2), 0 4px 24px rgba(0,0,0,0.6);
}
/* Subtle red accent line — always visible at bottom of header */
.site-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(232,21,42,0.4) 0%, transparent 50%);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.site-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-text {
  font-family: var(--font-display);
  font-size: 42px; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--white);
  transition: color var(--fast);
  line-height: 1;
}
.logo-accent { color: var(--red); transition: color var(--fast); }
.logo-dot {
  color: var(--red);
  display: inline-block;
  animation: logoDotPulse 1.6s ease-in-out infinite;
}
@keyframes logoDotPulse {
  0%, 100% { opacity: 1;    transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(1.35); }
}
.site-logo:hover .logo-text { color: var(--red); }
.site-logo:hover .logo-accent { color: var(--white); }
.site-logo img { height: 44px; width: auto; }

.primary-nav { display: flex; }
.nav-list { display: flex; align-items: center; gap: 0; }
.nav-list li a {
  display: block; padding: 10px 16px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  position: relative;
  transition: color var(--fast);
}
/* Underline slide-in on hover */
.nav-list li a::after {
  content: '';
  position: absolute; bottom: 6px; left: 16px; right: 16px;
  height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-list li a:hover { color: var(--white); }
.nav-list li a:hover::after,
.nav-list li.current-menu-item > a::after { transform: scaleX(1); }
.nav-list li.current-menu-item > a { color: var(--white); }

.menu-toggle {
  display: none; flex-direction: column; justify-content: space-between;
  width: 26px; height: 16px; background: none; border: none; cursor: pointer; padding: 0;
}
.bar { display: block; height: 2px; background: var(--white); border-radius: 1px; transition: all var(--med); }
.menu-toggle.open .bar-1 { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open .bar-2 { opacity: 0; transform: scaleX(0); }
.menu-toggle.open .bar-3 { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85);
  z-index: 1999; opacity: 0; pointer-events: none; transition: opacity var(--med);
}
.mobile-nav-bg.show { opacity: 1; pointer-events: all; }
.mobile-nav {
  position: fixed; top: 0; right: -110%; bottom: 0;
  width: min(380px,100vw); background: var(--dark);
  z-index: 2000; transition: right var(--med);
  padding: 96px 40px 40px; overflow-y: auto;
  border-left: 1px solid rgba(232,21,42,0.15);
}
.mobile-nav.open { right: 0; }
.mobile-nav-close {
  position: absolute; top: 24px; right: 24px;
  font-size: 28px; color: rgba(255,255,255,0.6);
  background: none; border: none; cursor: pointer; line-height: 1;
  transition: color var(--fast);
}
.mobile-nav-close:hover { color: var(--red); }
.mobile-nav-list li a {
  display: block; font-family: var(--font-display); font-size: 52px; letter-spacing: 0.02em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  padding: 10px 0; border-bottom: 1px solid #1a1a1a;
  transition: color var(--fast), padding-left var(--fast);
}
.mobile-nav-list li a:hover { color: var(--red); padding-left: 10px; }

/* Reveal — gated on html.js */
html.js .reveal-up, html.js .reveal-left, html.js .reveal-right {
  opacity: 0; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
html.js .reveal-up    { transform: translateY(52px); }
html.js .reveal-left  { transform: translateX(-52px); }
html.js .reveal-right { transform: translateX(52px); }
html.js .reveal-up.in-view,
html.js .reveal-left.in-view,
html.js .reveal-right.in-view { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════
   HERO — Full viewport
   Strategy: section is 100vh, position:relative.
   hero-content is position:absolute, anchored to bottom-left.
   All decorative elements are also position:absolute.
   Nothing fights for grid/flex space — zero layout conflicts.
════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  background: var(--black);
  overflow: hidden;
}
.admin-bar .hero { height: calc(100vh - 32px); }
@media screen and (max-width: 782px) {
  .admin-bar .hero { height: calc(100vh - 46px); }
}

/* Photo background */
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-bg-dark { background: linear-gradient(135deg, #080808, #160808); }

/* Overlay — strong left+bottom, soft horizontal fade */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right,
      rgba(6,6,6,0.97) 0%,
      rgba(6,6,6,0.97) 25%,
      rgba(6,6,6,0.65) 50%,
      rgba(6,6,6,0.25) 75%,
      rgba(6,6,6,0.0)  100%
    ),
    linear-gradient(to top,
      rgba(6,6,6,1)    0%,
      rgba(6,6,6,0.85) 20%,
      rgba(6,6,6,0.5)  40%,
      rgba(6,6,6,0.1)  65%,
      rgba(6,6,6,0)    80%
    );
}

/* Right-side geometry */
/* Large outer ring */
.hero-geo-circle {
  position: absolute; z-index: 1;
  width: clamp(380px, 52vw, 780px); height: clamp(380px, 52vw, 780px);
  right: -12%; top: 50%; transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(232,21,42,0.1);
  pointer-events: none;
  animation: geoPulse 7s ease-in-out infinite;
}
/* Medium inner ring */
.hero-geo-circle-2 {
  position: absolute; z-index: 1;
  width: clamp(220px, 32vw, 500px); height: clamp(220px, 32vw, 500px);
  right: -2%; top: 50%; transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(232,21,42,0.07);
  pointer-events: none;
  animation: geoPulse 7s ease-in-out 2s infinite;
}
/* Small tight ring */
.hero-geo-circle-3 {
  position: absolute; z-index: 1;
  width: clamp(100px, 14vw, 220px); height: clamp(100px, 14vw, 220px);
  right: 8%; top: 50%; transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(232,21,42,0.12);
  pointer-events: none;
  animation: geoPulse 7s ease-in-out 1s infinite;
}
/* Rotated diamond on the right */
.hero-geo-diamond {
  position: absolute; z-index: 1;
  width: clamp(160px, 22vw, 340px); height: clamp(160px, 22vw, 340px);
  right: 4%; top: 50%; transform: translateY(-50%) rotate(45deg);
  border: 1px solid rgba(232,21,42,0.08);
  pointer-events: none;
  animation: geoPulse 9s ease-in-out 0.5s infinite;
}
/* Vertical line — right third */
.hero-geo-line-v {
  position: absolute; z-index: 1;
  width: 1px; height: 40%;
  right: 22%; top: 50%; transform: translateY(-50%);
  background: linear-gradient(to bottom, transparent, rgba(232,21,42,0.15) 40%, rgba(232,21,42,0.15) 60%, transparent);
  pointer-events: none;
}
/* Horizontal line — right half */
.hero-geo-line-h {
  position: absolute; z-index: 1;
  height: 1px; width: 35%;
  right: 0; top: 50%; transform: translateY(-50%);
  background: linear-gradient(to right, rgba(232,21,42,0.12), rgba(232,21,42,0.04) 70%, transparent);
  pointer-events: none;
}
@keyframes geoPulse { 0%,100% { opacity:.5; } 50% { opacity:1; } }

.hero-glow {
  position: absolute; z-index: 1;
  width: 560px; height: 560px;
  right: 8%; top: 50%; transform: translate(50%,-50%);
  background: radial-gradient(circle, rgba(232,21,42,0.14) 0%, transparent 65%);
  pointer-events: none; filter: blur(28px);
}

/* Corner brackets removed */
.hero-corner { display: none; }

/* ── CONTENT — absolute, bottom-left, top capped by header ── */
.hero-content {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  top: auto;
  max-width: var(--max-w);
  /*
   * max-height controls how far up the content can reach.
   * Smaller = content starts lower = more gap below the header.
   * 68% of viewport height keeps everything in the lower portion.
   */
  max-height: 83vh;
  margin: 0 auto;
  padding: 0 var(--pad) 56px;
  display: flex; flex-direction: column;
  overflow: hidden;
  z-index: 2;
}
.admin-bar .hero-content {
  max-height: calc(83vh - 32px);
}

/* Scroll indicator — lives inside hero-content, static flow below buttons */
.hero-scroll {
  display: flex; align-items: center; gap: 10px;
  margin-top: 28px;
  opacity: 0.6;
}
.hero-scroll-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  flex-shrink: 0;
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { opacity:.5; transform:scale(1);   box-shadow:0 0 0 0 rgba(232,21,42,.4); }
  50%      { opacity:1;  transform:scale(1.3); box-shadow:0 0 0 5px rgba(232,21,42,0); }
}
.hero-scroll-text { font-size: 10px; letter-spacing:.22em; text-transform:uppercase; color:rgba(255,255,255,.35); }

/* Vertical label — right edge, middle */
/* hero-vertical-label removed — unreadable at small size */
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--red); margin-bottom: 28px;
}
.hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--red); flex-shrink: 0; }

.hero-headline {
  font-family: var(--font-display);
  /*
   * Headline must fit entirely below the header on a ~900px viewport.
   * 3 lines at line-height 0.88 × font-size, plus gaps for eyebrow/sub/buttons/scroll.
   * 10vw caps at ~136px/line = ~360px total for 3 lines — fits in all cases.
   * Minimum 56px ensures it's still impactful on very small screens.
   * Maximum 148px keeps it bold on large displays without overflowing.
   */
  font-size: clamp(56px, 10vw, 148px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-headline .outline {
  -webkit-text-stroke: 2px rgba(255,255,255,0.7);
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.08));
}
.hero-headline .red {
  color: var(--red);
  text-shadow: 0 0 60px rgba(232,21,42,0.4), 0 0 120px rgba(232,21,42,0.15);
}

/* Sub — styled like a caption, not body text */
.hero-sub {
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 40px;
  border-left: 2px solid rgba(232,21,42,0.6);
  padding-left: 16px;
}
.hero-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}


/* ════════════════════════════════════════════════════════════
   INTRO — Two-tone split layout
════════════════════════════════════════════════════════════ */
.intro {
  background: var(--white);
  position: relative; overflow: hidden;
}
.intro-inner { width: 100%; }

/* Top half: full-width giant statement on dark bg */
.intro-statement-wrap {
  background: var(--black);
  padding: clamp(56px,7vw,96px) var(--pad) clamp(36px,4vw,64px);
  position: relative; overflow: hidden;
}

/* Subtle red glow bottom-right */
.intro-statement-wrap::after {
  content: '';
  position: absolute; bottom: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,21,42,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.intro-statement {
  font-family: var(--font-display);
  font-size: clamp(56px, 9.5vw, 148px);
  line-height: 0.88; text-transform: uppercase;
  color: var(--white); letter-spacing: 0.01em;
  position: relative; z-index: 1;
  max-width: var(--max-w); margin-left: auto; margin-right: auto;
}
.intro-statement .stroke {
  -webkit-text-stroke: 2px rgba(255,255,255,0.55);
  color: transparent;
}
.intro-statement .underline-animate {
  position: relative; display: inline-block;
}
.intro-statement .underline-animate::after {
  content: '';
  position: absolute; bottom: 2px; left: 0; right: 0;
  height: 4px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s var(--ease);
}
html.js .intro-statement .underline-animate.in-view::after { transform: scaleX(1); }

/* Bottom half: services grid on white */
.intro-body-wrap {
  background: var(--white);
  padding: clamp(48px,6vw,88px) var(--pad) clamp(56px,7vw,104px);
}
.intro-body-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px); align-items: start;
  margin-bottom: clamp(56px,7vw,96px);
}
.intro-body-text {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--black);        /* Strong black, not gray — gray was weak */
  line-height: 1.85;
  font-weight: 300;           /* Light weight: modern, editorial feel */
}
.intro-body-text p {
  margin-bottom: 20px;
}
/* Lead-in: first sentence is larger and bolder for visual hierarchy */
.intro-body-text p::first-line {
  font-weight: 600;
}

/* Services — displayed as a tag cloud / pill list */
.intro-services {
  display: flex; flex-direction: column; gap: 0;
  border-left: 2px solid var(--red);
  padding-left: 24px;
}
.intro-service-item {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 34px);
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--black); line-height: 1.15;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  position: relative;
  transition: color 0.25s ease, padding-left 0.25s ease;
  cursor: default; overflow: hidden;
}
/* Red fill sweep on hover */
.intro-service-item::before {
  content: '';
  position: absolute; left: -100%; top: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, rgba(232,21,42,0.06) 0%, transparent 100%);
  transition: left 0.4s var(--ease);
  pointer-events: none;
}
.intro-service-item:hover::before { left: 0; }
.intro-service-item:last-child { border-bottom: none; }
.intro-service-item:hover { color: var(--red); padding-left: 10px; }
.intro-service-num {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  color: rgba(0,0,0,0.18);
  flex-shrink: 0;
}

/* Stats */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--light);
}
.stat-item {
  padding: clamp(28px, 3.5vw, 52px) clamp(16px, 2vw, 32px);
  border-right: 1px solid var(--light);
  position: relative; overflow: hidden; cursor: default;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.stat-item:hover::before { transform: scaleX(1); }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 76px);
  color: var(--black); line-height: 1; display: block; margin-bottom: 10px;
}
.stat-number .unit { color: var(--red); }
.stat-desc { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); }

/* ════════════════════════════════════════════════════════════
   FEATURED PROJECTS
════════════════════════════════════════════════════════════ */
.featured-section {
  background: var(--black);
  padding: clamp(64px, 8vw, 128px) 0;
  position: relative; overflow: hidden;
}
/* Background geo fade */
.featured-section::before {
  content: '';
  position: absolute; bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  border: 1px solid rgba(232,21,42,0.06);
  transform: rotate(30deg); pointer-events: none;
}
.featured-section-head {
  padding: 0 var(--pad); max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; gap: 16px;
}
.section-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.section-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--red); }
.section-title-lg {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 84px); text-transform: uppercase;
  letter-spacing: 0.01em; line-height: 0.92; color: var(--white);
}
.section-link {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); white-space: nowrap;
  position: relative; padding-bottom: 4px;
  transition: color var(--fast);
}
.section-link::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--red);
  transform: scaleX(0.4); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.section-link:hover { color: var(--red); }
.section-link:hover::after { transform: scaleX(1); }
/* On light backgrounds */
.section-link--dark { color: rgba(0,0,0,0.45); }
.section-link--dark:hover { color: var(--red); }

/* Project wall */
.project-wall {
  display: grid;
  grid-template-columns: 58fr 42fr;
  grid-template-rows: auto auto;
  gap: 3px; background: #030303;
}
.project-wall-item { overflow: hidden; position: relative; }
.project-wall-item--hero { grid-row: span 2; }
.project-wall-link { display: block; height: 100%; }

.project-wall-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1s var(--ease), filter 0.8s ease;
  filter: grayscale(15%) brightness(0.8);
}
.project-wall-item--hero .project-wall-img  { min-height: 660px; }
.project-wall-item:not(.project-wall-item--hero) .project-wall-img { min-height: 320px; }
.project-wall-item:hover .project-wall-img { transform: scale(1.07); filter: grayscale(0%) brightness(0.88); }

.project-wall-no-img {
  width: 100%; min-height: 660px;
  display: flex; align-items: center; justify-content: center;
  background: #111; color: #222; font-size: 56px;
}
.project-wall-info {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(20px, 2.5vw, 40px);
  background: linear-gradient(to top, rgba(6,6,6,0.97) 0%, rgba(6,6,6,0.2) 45%, transparent 70%);
  transition: background var(--med);
}
.project-wall-item:hover .project-wall-info {
  background: linear-gradient(to top, rgba(6,6,6,0.99) 0%, rgba(6,6,6,0.55) 55%, rgba(6,6,6,0.1) 100%);
}

/* Glass tag on projects */
.project-type {
  display: inline-block;
  font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white);
  background: rgba(232,21,42,0.85);
  padding: 3px 10px;
  margin-bottom: 10px;
}
.project-wall-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 46px); text-transform: uppercase;
  letter-spacing: 0.02em; line-height: 0.95; color: var(--white); margin-bottom: 8px;
}
.project-wall-item:not(.project-wall-item--hero) .project-wall-title { font-size: clamp(18px, 2vw, 30px); }
.project-wall-meta { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; margin-bottom: 14px; }
/* Transparent box CTA on hover */
.project-wall-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
  padding: 8px 18px;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, background var(--fast);
}
.project-wall-item:hover .project-wall-cta { opacity: 1; transform: none; }
.project-wall-cta:hover { background: rgba(232,21,42,0.3); border-color: var(--red); }

/* ════════════════════════════════════════════════════════════
   QUOTE
════════════════════════════════════════════════════════════ */
.quote-section {
  background: var(--black); position: relative; overflow: hidden;
  padding: clamp(80px, 12vw, 180px) var(--pad);
  border-top: 1px solid rgba(255,255,255,0.04);
}
/* Big ghost text behind */
.quote-bg-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-size: clamp(120px, 18vw, 300px);
  color: rgba(255,255,255,0.02); text-transform: uppercase;
  white-space: nowrap; pointer-events: none; letter-spacing: -0.02em; user-select: none;
}
/* Geometric diamond */
.quote-geo-diamond {
  position: absolute; top: 50%; right: 8%;
  width: 180px; height: 180px;
  border: 1px solid rgba(232,21,42,0.08);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}
.quote-geo-diamond-2 {
  position: absolute; top: 50%; right: 10%;
  width: 120px; height: 120px;
  border: 1px solid rgba(232,21,42,0.05);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}
/* Red glow behind quote */
.quote-section::before {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(232,21,42,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.quote-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.quote-mark { font-family: var(--font-serif); font-size: clamp(80px, 12vw, 160px); color: var(--red); line-height: 0.7; display: block; margin-bottom: 16px;
  text-shadow: 0 0 40px rgba(232,21,42,0.4);
}
.pull-quote {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 42px); font-style: italic; font-weight: 300;
  color: var(--white); line-height: 1.5; margin-bottom: 32px;
}
.pull-quote em { color: var(--red); font-style: normal; text-shadow: 0 0 30px rgba(232,21,42,0.35); }
.quote-attr { font-size: 10px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.28); }

/* ════════════════════════════════════════════════════════════
   VISUAL STRIP — Filterable aggregate photo strip
════════════════════════════════════════════════════════════ */
.visual-strip { background: var(--black); overflow: hidden; padding-bottom: clamp(44px,6vw,88px); border-top: 1px solid rgba(255,255,255,0.04); }

.visual-strip-head { padding: clamp(36px,5vw,64px) var(--pad) 20px; }
.visual-strip-head-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}

/* Filter buttons */
.strip-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.strip-filter-btn {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 16px;
  background: transparent; color: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px; cursor: pointer;
  transition: all 0.25s ease;
}
.strip-filter-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.35); }
.strip-filter-btn.active {
  background: var(--red); color: var(--white); border-color: var(--red);
}

/* Track */
.strip-track {
  display: flex; gap: 3px;
  overflow-x: auto; scrollbar-width: none;
  padding: 0; cursor: grab; user-select: none;
  transition: none;
}
.strip-track:active { cursor: grabbing; }
.strip-track::-webkit-scrollbar { display: none; }

/* Items */
.strip-item {
  flex: 0 0 clamp(180px, 22vw, 320px); aspect-ratio: 3/2;
  overflow: hidden; position: relative; flex-shrink: 0;
  transition: opacity 0.35s ease, flex-basis 0.35s ease;
}
.strip-item.strip-hidden {
  flex: 0 0 0; opacity: 0; pointer-events: none; overflow: hidden;
}
.strip-item-link { display: block; width: 100%; height: 100%; text-decoration: none; }
.strip-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.9s var(--ease), filter 0.5s ease;
  filter: grayscale(20%); pointer-events: none;
}
.strip-item:hover img { transform: scale(1.09); filter: grayscale(0%); }

/* Hover info overlay */
.strip-item-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 14px 14px;
  background: linear-gradient(to top, rgba(6,6,6,0.88) 0%, transparent 100%);
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex; flex-direction: column; gap: 2px;
}
.strip-item:hover .strip-item-info { opacity: 1; transform: none; }
.strip-item-cat {
  font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red);
}
.strip-item-title {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.85);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.strip-footer {
  padding: 24px var(--pad) 0;
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.strip-count { font-size: 11px; color: rgba(255,255,255,0.2); letter-spacing: 0.1em; }

/* ════════════════════════════════════════════════════════════
   LATEST POSTS
════════════════════════════════════════════════════════════ */
.latest-posts { background: var(--off-white); padding: clamp(72px, 9vw, 144px) var(--pad); position: relative; overflow: hidden; }
/* Subtle geo background */
.latest-posts::after {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px;
  border: 1px solid rgba(232,21,42,0.04); border-radius: 50%;
  pointer-events: none;
}
.latest-posts-inner { max-width: var(--max-w); margin: 0 auto; position: relative; }
.posts-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; gap: 16px; }
.posts-header .section-link { color: rgba(0,0,0,0.4); }
.posts-header .section-link:hover { color: var(--red); }
.posts-header-title { font-family: var(--font-display); font-size: clamp(40px, 5.5vw, 76px); text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.92; color: var(--black); }
.posts-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2px; background: var(--light); }
.post-card { background: var(--white); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--med), box-shadow var(--med); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }
.post-card-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--light); flex-shrink: 0; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.post-card:hover .post-card-thumb img { transform: scale(1.06); }
.posts-grid .post-card:first-child .post-card-thumb { aspect-ratio: 4/3; }
.post-card-body { padding: clamp(22px, 2.5vw, 32px); border-top: none; border-left: 3px solid var(--black); flex: 1; display: flex; flex-direction: column; }
.post-card-meta { font-size: 10px; color: var(--gray); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.cat-tag { color: var(--red); font-weight: 700; }
.post-card-title { font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 27px); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1; color: var(--black); margin-bottom: 10px; }
.post-card-title a { color: inherit; transition: color var(--fast); }
.post-card-title a:hover { color: var(--red); }
.post-card-excerpt { font-size: 14px; color: var(--gray); line-height: 1.7; flex: 1; margin-bottom: 18px; }
.read-more {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--black); margin-top: auto;
  position: relative; padding-bottom: 3px;
  transition: color var(--fast);
}
.read-more::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--red);
  transform: scaleX(0.4); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.read-more:hover { color: var(--red); }
.read-more:hover::after { transform: scaleX(1); }

/* ════════════════════════════════════════════════════════════
   CTA
════════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--black); position: relative; overflow: hidden;
  padding: clamp(80px, 12vw, 180px) var(--pad);
}
.cta-red-line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--red) 0%, transparent 60%); opacity: 0.35; }
/* Ghost number background */
.cta-number {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -56%);
  font-family: var(--font-display);
  font-size: clamp(80px, 18vw, 280px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.03);
  line-height: 1; letter-spacing: -0.02em; text-transform: uppercase;
  white-space: nowrap; pointer-events: none; user-select: none;
}
/* Red glow */
.cta-section::before {
  content: '';
  position: absolute; bottom: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,21,42,0.08) 0%, transparent 70%);
  pointer-events: none;
}
/* Geometric lines */
.cta-section::after {
  content: '';
  position: absolute; top: 20%; left: -60px;
  width: 280px; height: 280px;
  border: 1px solid rgba(232,21,42,0.06);
  transform: rotate(45deg); pointer-events: none;
}
.cta-content { position: relative; z-index: 1; text-align: center; }
.cta-headline { font-family: var(--font-display); font-size: clamp(56px, 9vw, 140px); line-height: 0.88; text-transform: uppercase; color: var(--white); margin-bottom: 22px; }
.cta-headline .red { color: var(--red); text-shadow: 0 0 60px rgba(232,21,42,0.35); }
.cta-sub { font-size: clamp(15px, 1.5vw, 18px); color: rgba(255,255,255,0.45); max-width: 420px; margin: 0 auto 44px; line-height: 1.75; }

/* ════════════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  border: 2px solid transparent; cursor: pointer; transition: all var(--med);
  white-space: nowrap; text-decoration: none;
}
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); padding: 15px 36px; }
.btn-primary:hover { background: transparent; color: var(--red); }
.btn-outline  { background: rgba(255,255,255,0.06); backdrop-filter: blur(8px); color: var(--white); border-color: rgba(255,255,255,0.28); padding: 15px 36px; }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-outline-dark { background: transparent; color: var(--black); border-color: var(--black); padding: 13px 30px; }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-outline-light { background: rgba(255,255,255,0.05); backdrop-filter: blur(8px); color: var(--white); border-color: rgba(255,255,255,0.25); padding: 13px 30px; }
.btn-outline-light:hover { border-color: var(--red); color: var(--red); background: rgba(232,21,42,0.08); }
.btn-lg { padding: 18px 52px; font-size: 12px; }

/* ════════════════════════════════════════════════════════════
   PAGE HEROES
════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--black); padding-top: var(--header-h);
  min-height: 52vh; display: flex; align-items: flex-end;
}
.admin-bar .page-hero { padding-top: calc(var(--header-h) + 32px); }
.page-hero-slim { min-height: 30vh; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-bg-solid { background: var(--dark); }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,6,6,0.96) 30%, rgba(6,6,6,0.5) 100%); }
.page-hero-geo-1 { position: absolute; top: 50%; right: -80px; width: 280px; height: 280px; border: 1px solid rgba(232,21,42,0.06); transform: rotate(45deg); pointer-events: none; }
.page-hero-inner { position: relative; z-index: 2; padding: 40px var(--pad) clamp(36px, 5vw, 60px); max-width: var(--max-w); margin: 0 auto; width: 100%; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(52px, 10vw, 130px); color: var(--white); line-height: 0.88; text-transform: uppercase; margin-top: 10px; }
.page-hero-desc  { font-size: 18px; color: rgba(255,255,255,0.5); max-width: 500px; margin-top: 16px; line-height: 1.7; }

/* ════════════════════════════════════════════════════════════
   PORTFOLIO ARCHIVE
════════════════════════════════════════════════════════════ */
.filter-bar { position: sticky; top: var(--header-h); z-index: 100; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--light); padding: 10px var(--pad); }
.admin-bar .filter-bar { top: calc(var(--header-h) + 32px); }
.filter-bar .filter-wrap-inner { max-width: var(--max-w); margin: 0 auto; display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 16px; border: 1px solid var(--light); border-radius: 40px; background: transparent; color: var(--gray); cursor: pointer; transition: all var(--fast); }
.filter-btn:hover { border-color: var(--black); color: var(--black); }
.filter-btn.active { background: var(--black); border-color: var(--black); color: var(--white); }
.filter-count { font-size: 10px; background: rgba(0,0,0,0.08); border-radius: 20px; padding: 1px 6px; margin-left: 3px; }
.filter-btn.active .filter-count { background: rgba(255,255,255,0.15); }

.portfolio-archive { padding: clamp(40px, 5vw, 80px) var(--pad); }
.portfolio-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--light); }
.portfolio-item { background: var(--white); overflow: hidden; }
.portfolio-item.hidden { display: none; }
.portfolio-item-link { display: block; text-decoration: none; color: inherit; }
.portfolio-item-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--light); }
.portfolio-item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.portfolio-item:hover .portfolio-item-img img { transform: scale(1.06); }
.portfolio-item-overlay { position: absolute; inset: 0; background: rgba(6,6,6,0.65); display: flex; align-items: flex-end; padding: 18px; opacity: 0; transition: opacity var(--med); }
.portfolio-item:hover .portfolio-item-overlay { opacity: 1; }
.overlay-cta { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); }
.portfolio-no-img { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; background: var(--card-bg); font-size: 40px; }
.portfolio-item-info { padding: 14px 16px 18px; border-top: 3px solid var(--black); }
.project-type-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: 4px; }
.portfolio-item-title { font-family: var(--font-display); font-size: clamp(16px, 2vw, 22px); text-transform: uppercase; letter-spacing: 0.02em; color: var(--black); line-height: 1.1; margin-bottom: 3px; }
.portfolio-item-meta { font-size: 12px; color: var(--gray); }

/* ════════════════════════════════════════════════════════════
   SINGLE PROJECT
════════════════════════════════════════════════════════════ */
.project-hero { position: relative; min-height: 70vh; display: flex; align-items: flex-end; background: var(--black); padding-top: var(--header-h); overflow: hidden; }
.admin-bar .project-hero { padding-top: calc(var(--header-h) + 32px); }
.project-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.project-hero-solid { position: absolute; inset: 0; background: var(--dark); }
.project-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,6,6,0.97) 0%, rgba(6,6,6,0.4) 50%, rgba(6,6,6,0.1) 100%); }
.project-hero-content { position: relative; z-index: 2; padding: 40px var(--pad) 56px; max-width: var(--max-w); margin: 0 auto; width: 100%; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 10px; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.3); } .breadcrumb a:hover { color: var(--red); }
.breadcrumb-sep { color: rgba(255,255,255,0.12); }
.project-title { font-family: var(--font-display); font-size: clamp(44px, 8vw, 110px); color: var(--white); text-transform: uppercase; line-height: 0.9; }

/* ════════════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-photo-wrap { position: relative; }
.about-photo-wrap img { width: 100%; display: block; }
.photo-corner { position: absolute; width: 40px; height: 40px; }
.photo-corner-tl { top: -10px; left: -10px; border-top: 3px solid var(--red); border-left: 3px solid var(--red); }
.photo-corner-br { bottom: -10px; right: -10px; border-bottom: 3px solid var(--red); border-right: 3px solid var(--red); }
.about-photo-placeholder { aspect-ratio: 3/4; background: var(--light); display: flex; align-items: center; justify-content: center; color: var(--gray); text-align: center; padding: 40px; line-height: 1.6; }
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--light); }
.skill-card { background: var(--dark); padding: 32px 22px; text-align: center; transition: background var(--fast); position: relative; overflow: hidden; }
.skill-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.skill-card:hover::before { transform: scaleX(1); }
.skill-card:hover { background: #161616; }
.skill-icon  { font-size: 28px; margin-bottom: 14px; }
.skill-title { font-family: var(--font-display); font-size: 18px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.skill-desc  { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.6; }

/* ════════════════════════════════════════════════════════════
   BLOG POST
════════════════════════════════════════════════════════════ */
.post-hero { position: relative; min-height: 52vh; display: flex; align-items: flex-end; background: var(--black); padding-top: var(--header-h); overflow: hidden; }
.admin-bar .post-hero { padding-top: calc(var(--header-h) + 32px); }
.post-hero-img { position: absolute; inset: 0; } .post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,6,6,0.95) 0%, rgba(6,6,6,0.4) 55%, rgba(6,6,6,0.1) 100%); }
.post-hero-solid { position: absolute; inset: 0; background: var(--dark); }
.post-hero-content { position: relative; z-index: 2; padding: 40px var(--pad) 52px; max-width: var(--max-w); margin: 0 auto; width: 100%; }
.post-cat-badge { display: inline-block; background: var(--red); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; padding: 4px 12px; margin-bottom: 10px; }
.post-headline { font-family: var(--font-display); font-size: clamp(36px, 6vw, 90px); color: var(--white); text-transform: uppercase; line-height: 0.9; margin-bottom: 12px; }
.post-date { font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 0.08em; }
.post-layout { display: grid; grid-template-columns: 1fr 260px; gap: 56px; }
.post-body { font-size: 17px; line-height: 1.85; color: #333; }
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--light); }
.tags-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); }
.tag-chip { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--black); border: 1px solid var(--light); padding: 4px 12px; border-radius: 40px; text-decoration: none; transition: all var(--fast); }
.tag-chip:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.post-nav { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--light); gap: 20px; }
.post-nav a { font-size: 13px; font-weight: 600; color: var(--black); max-width: 280px; line-height: 1.4; } .post-nav a:hover { color: var(--red); }
.post-sidebar {}
.sidebar-block { margin-bottom: 32px; }
.sidebar-title { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--black); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--red); }
.sidebar-recent { display: flex; flex-direction: column; gap: 12px; }
.sidebar-recent li a { display: flex; gap: 10px; align-items: center; text-decoration: none; }
.sidebar-recent img { width: 60px; height: 44px; object-fit: cover; flex-shrink: 0; }
.sidebar-recent span { font-size: 13px; font-weight: 500; color: var(--black); line-height: 1.4; transition: color var(--fast); }
.sidebar-recent li a:hover span { color: var(--red); }

/* ════════════════════════════════════════════════════════════
   GALLERY
════════════════════════════════════════════════════════════ */
.masonry-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.gallery-item { aspect-ratio: 1; overflow: hidden; position: relative; background: var(--light); cursor: pointer; }
.gallery-item:nth-child(5n+1) { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item a { display: block; width: 100%; height: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item-overlay { position: absolute; inset: 0; background: rgba(6,6,6,0.5); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; opacity: 0; transition: opacity var(--med); }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.expand-icon { font-size: 22px; color: var(--white); }
.gallery-cap { font-size: 12px; color: rgba(255,255,255,0.75); text-align: center; padding: 0 12px; }
.gallery-empty { text-align: center; padding: 80px 20px; color: var(--gray); }
.lightbox-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity var(--med); }
.lightbox-modal.open { opacity: 1; pointer-events: all; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.97); backdrop-filter: blur(10px); }
.lightbox-container { position: relative; z-index: 1; max-width: min(90vw, 1200px); max-height: 90vh; }
#lightbox-img { max-width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox-caption { font-size: 13px; color: rgba(255,255,255,0.4); text-align: center; margin-top: 10px; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: var(--white); cursor: pointer; transition: background var(--fast); }
.lightbox-close { top: -42px; right: 0; width: 36px; height: 36px; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 44px; height: 60px; font-size: 28px; display: flex; align-items: center; justify-content: center; }
.lightbox-prev { left: -60px; } .lightbox-next { right: -60px; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--red); border-color: var(--red); }

/* ════════════════════════════════════════════════════════════
   CONTENT / FOOTER / MISC
════════════════════════════════════════════════════════════ */
.entry-content { font-size: 17px; line-height: 1.8; color: #444; }
.entry-content h2, .entry-content h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; color: var(--black); margin: 28px 0 10px; line-height: 1.1; }
.entry-content h2 { font-size: clamp(24px, 3vw, 38px); }
.entry-content h3 { font-size: clamp(18px, 2.5vw, 28px); }
.entry-content p { margin-bottom: 18px; }
.entry-content a { color: var(--red); }
.entry-content blockquote { border-left: 4px solid var(--red); padding: 12px 18px; margin: 24px 0; background: var(--off-white); font-style: italic; color: var(--gray); }
.entry-content ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.entry-content ol { list-style: decimal; padding-left: 22px; margin-bottom: 18px; }

.error-404 { background: var(--black); min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: var(--header-h); }
.error-num { font-family: var(--font-display); font-size: clamp(100px, 20vw, 280px); color: var(--red); line-height: 0.85; text-shadow: 0 0 80px rgba(232,21,42,0.35); }
.error-geo-line { width: 80px; height: 3px; background: var(--red); margin: 16px auto 24px; }
.error-title { font-family: var(--font-display); font-size: clamp(24px, 4vw, 48px); color: var(--white); text-transform: uppercase; margin-bottom: 12px; }
.error-message { font-size: 16px; color: rgba(255,255,255,0.4); max-width: 360px; margin: 0 auto 36px; line-height: 1.6; }
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.site-footer { background: var(--black); position: relative; overflow: hidden; }
.footer-red-edge { height: 3px; background: linear-gradient(90deg, var(--red), transparent); }
.footer-body { padding: clamp(48px, 7vw, 96px) var(--pad); }
.footer-body-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo { font-family: var(--font-display); font-size: 30px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); text-decoration: none; display: block; margin-bottom: 12px; transition: color var(--fast); }
.footer-logo:hover { color: var(--red); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.3); max-width: 240px; line-height: 1.7; margin-bottom: 22px; }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.social-link { display: inline-flex; align-items: center; padding: 6px 14px; border: 1px solid rgba(255,255,255,0.1); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); text-decoration: none; transition: all var(--fast); }
.social-link:hover { border-color: var(--red); color: var(--red); }
.footer-col-title { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(232,21,42,0.2); }
.footer-nav-list { display: flex; flex-direction: column; gap: 13px; }
.footer-nav-list li a { font-size: 13px; color: rgba(255,255,255,0.35); transition: color var(--fast); }
.footer-nav-list li a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 18px var(--pad); }
.footer-bottom-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.copyright, .footer-credit { font-size: 11px; color: rgba(255,255,255,0.16); }

.section-pad    { padding: clamp(64px, 8vw, 128px) var(--pad); }
.section-pad-sm { padding: clamp(40px, 5vw, 72px)  var(--pad); }
.container      { max-width: var(--max-w); margin: 0 auto; }
.no-content-notice { text-align: center; padding: 60px 20px; color: var(--gray); }
.no-content-notice a { color: var(--red); }
.pagination-wrap { display: flex; justify-content: center; margin-top: 48px; }
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.nav-links a, .nav-links span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; font-size: 13px; font-weight: 600; border: 1px solid var(--light); color: var(--black); text-decoration: none; transition: all var(--fast); }
.nav-links a:hover { border-color: var(--black); background: var(--black); color: var(--white); }
.nav-links span.current { background: var(--red); border-color: var(--red); color: var(--white); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .project-wall { grid-template-columns: 1fr 1fr; }
  .project-wall-item--hero { grid-column: span 2; grid-row: span 1; }
  .project-wall-item--hero .project-wall-img { min-height: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 1024px) {
  /* iPad landscape / tablet tuning */
  .hero-headline { font-size: clamp(52px, 9vw, 110px); }
  .hero-geo-circle  { width: 380px; height: 380px; right: -12%; }
  .hero-geo-circle-2 { width: 260px; height: 260px; right: -4%; }
  .intro-statement { font-size: clamp(48px, 10vw, 96px); }
  .section-title-lg { font-size: clamp(40px, 7vw, 64px); }
  .posts-header-title { font-size: clamp(36px, 6vw, 60px); }
}
@media (max-width: 900px) {
  .intro-body-row { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .posts-grid .post-card:first-child { grid-column: span 2; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry-gallery { grid-template-columns: repeat(2, 1fr); }
  .masonry-gallery .gallery-item:nth-child(5n+1) { grid-column: span 1; aspect-ratio: 1; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  /* Fade geo circles rather than remove — keeps the design feel */
  .hero-geo-circle  { opacity: 0.4; }
  .hero-geo-circle-2 { opacity: 0.3; }
  .hero-glow { opacity: 0.6; }
}
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .admin-bar .site-header { top: 46px; }
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }
  .logo-text { font-size: 32px; }
  .project-wall { grid-template-columns: 1fr; }
  .project-wall-item--hero { grid-column: span 1; }
  .posts-grid { grid-template-columns: 1fr; }
  .posts-grid .post-card:first-child { grid-column: span 1; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
  .hero-vertical-label { display: none; }
  .hero-headline { font-size: clamp(52px, 15vw, 84px); }
  .hero-sub { font-size: 13px; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
  .error-actions { flex-direction: column; align-items: center; }
  /* Intro services + statement on mobile */
  .intro-service-item { font-size: clamp(18px, 5vw, 24px); }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--light); }
  .stat-item:nth-child(n+3) { border-top: none; }  /* prevent double borders */
  /* Visual strip: stack header, wrap filters */
  .visual-strip-head-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .strip-filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .strip-filters::-webkit-scrollbar { display: none; }
  .strip-filter-btn { flex-shrink: 0; }
  .strip-item { flex-basis: 72vw; }
  .strip-footer { flex-direction: column; gap: 14px; align-items: flex-start; }
}

/* ════════════════════════════════════════════════════════════
   SCROLL PROGRESS + DOT NAV
════════════════════════════════════════════════════════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 1500;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  box-shadow: 0 0 12px rgba(232,21,42,0.6);
  transition: width 0.1s linear;
  pointer-events: none;
}
.admin-bar .scroll-progress { top: 32px; }

.dot-nav {
  position: fixed; right: 28px; top: 50%; transform: translateY(-50%);
  z-index: 900;
  display: flex; flex-direction: column; gap: 18px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--med);
}
.dot-nav.visible { opacity: 1; pointer-events: auto; }

.dot-nav-item {
  position: relative;
  width: 12px; height: 12px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; padding: 0;
}
.dot-nav-item::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all var(--med);
}
/* On light sections the dots need to be dark */
.dot-nav.on-light .dot-nav-item::before {
  background: rgba(0,0,0,0.2);
  border-color: rgba(0,0,0,0.15);
}
.dot-nav-item:hover::before { background: var(--red); border-color: var(--red); transform: scale(1.2); }
.dot-nav-item.active::before {
  background: var(--red); border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(232,21,42,0.15);
  transform: scale(1.1);
}
/* Label tooltip */
.dot-nav-label {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%) translateX(6px);
  font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white);
  background: rgba(6,6,6,0.9);
  backdrop-filter: blur(6px);
  padding: 4px 10px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity var(--fast), transform var(--fast);
}
.dot-nav.on-light .dot-nav-label { background: rgba(6,6,6,0.92); color: var(--white); }
.dot-nav-item:hover .dot-nav-label { opacity: 1; transform: translateY(-50%) translateX(0); }

@media (max-width: 1024px) { .dot-nav { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none; }
}

/* ── Animated stat counters ───────────────────────────── */
.stat-count {
  /* Tabular figures stop the number jittering as digits change width */
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  display: inline-block;
}
/* Text-only stats (e.g. "Full Service") need smaller type than big numbers */
.stat-number--text {
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.1;
}

/* ── Misc additions from design audit ─────────────────── */

/* Strip eyebrow on dark bg — lower opacity than red default */
.section-eyebrow--dim { color: rgba(255,255,255,0.3); }
.section-eyebrow--dim::before { background: rgba(255,255,255,0.2); }

/* Post card left accent bar replaces top border — needs left-border on thumb too */
.post-card-thumb { border-left: 3px solid transparent; }
.post-card:hover .post-card-thumb { border-left-color: var(--red); }

/* Project wall: ensure 3-gap bg doesn't bleed when empty */
.project-wall:empty { display: none; }

/* Hero actions spacing on mobile */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* Intro services: min touch target height on mobile */
@media (max-width: 640px) {
  .intro-service-item { min-height: 48px; }
  .intro-body-wrap { padding-top: clamp(36px,5vw,64px); }
}

/* Quote section: diamonds hide on narrow mobile */
@media (max-width: 480px) {
  .quote-geo-diamond, .quote-geo-diamond-2 { display: none; }
}

/* Ensure footer brand column has enough gap from nav cols */
@media (max-width: 1200px) {
  .footer-brand { margin-bottom: 8px; }
}

/* Smooth post card lift doesn't shift neighbors in grid */
.posts-grid { isolation: isolate; }

/* ── Intro body label ──────────────────────────────────── */
.intro-body-label {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.intro-body-label-text {
  font-size: 10px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--red);
}
.intro-body-label::before {
  content: ''; flex-shrink: 0;
  width: 40px; height: 1px; background: var(--red);
}

/* ── Intro services border on first item ───────────────── */
.intro-services .intro-service-item:first-child {
  border-top: 1px solid rgba(0,0,0,0.08);
}
