/* ============================================================
   STRUMS & CO. — HOME PAGE
   Design System: Desert Noir Editorial
   WordPress-ready standalone stylesheet
   ============================================================ */

/* ── Google Fonts import (handled in HTML <head>) ─────────── */

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --page-bg:        #131313;
  --surface-low:    #1c1b1b;
  --surface:        rgba(28, 27, 27, 0.78);
  --surface-high:   #2a2a2a;
  --surface-bright: #3a3939;
  --ink:            #e5e2e1;
  --muted:          #d0c5af;
  --muted-dim:      rgba(208, 197, 175, 0.55);
  --line:           rgba(77, 70, 53, 0.20);
  --line-bright:    rgba(77, 70, 53, 0.45);
  --accent:         #B59410;
  --accent-bright:  #d4ae18;
  --accent-ink:     #3c2f00;
  --shadow:         0 28px 90px rgba(0,0,0,0.38);
  --gold-glow:      none;

  --nav-h:          80px;
  --max-w:          1280px;
  --gutter:         80px;
  --radius:         4px;

  --ease-out:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:    cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Scrollbar ────────────────────────────────────────────── */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.25) transparent;
}
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.22);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.5);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--page-bg);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* Touch/pointer-coarse devices (phones, tablets) — restore default cursor */
@media (pointer: coarse) {
  body, a, button, [role="tab"], .service-card, .pillar-col { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none !important; }
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Accessibility ────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Custom Cursor ────────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease-out), width 0.25s var(--ease-out), height 0.25s var(--ease-out), background 0.25s;
  will-change: transform;
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 32px; height: 32px;
  border: 1px solid rgba(181,148,16,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease-out), width 0.25s var(--ease-out), height 0.25s var(--ease-out), opacity 0.25s;
  will-change: transform;
}
body.cursor-hover .cursor-dot  { width: 14px; height: 14px; background: var(--accent-bright); }
body.cursor-hover .cursor-ring { width: 52px; height: 52px; opacity: 0.6; }

/* ── Typography Utilities ─────────────────────────────────── */
.label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.label-gold { color: var(--accent); }

.display {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.heading-xl {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(3.2rem, 6.5vw, 5.8rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.heading-lg {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.heading-md {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.body-copy {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), background 0.22s, border-color 0.22s, color 0.22s;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-gold:hover { background: var(--accent-bright); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line-bright);
}
.btn-ghost:hover { border-color: rgba(181,148,16,0.4); color: var(--ink); }

/* ── Gallery Filters ──────────────────────────────────────── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2.5rem;
}
.gallery-filter {
  padding: 10px 24px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line-bright);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.22s, color 0.22s, background 0.22s;
}
.gallery-filter:hover { border-color: rgba(181,148,16,0.4); color: var(--ink); }
.gallery-filter.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.gallery-item.is-hidden,
.gallery-item.is-paged { display: none; }
.gallery-item img { cursor: pointer; }

.gallery-show-more {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
.gallery-show-more.is-hidden { display: none; }

/* ── Gallery Lightbox ─────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,9,8,0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out);
}
.lightbox.is-active { opacity: 1; visibility: visible; }

.lightbox__inner {
  position: relative;
  max-width: min(90vw, 1200px);
  max-height: 75vh;
  transform: scale(0.96);
  transition: transform 0.3s var(--ease-out);
}
.lightbox.is-active .lightbox__inner { transform: scale(1); }

.lightbox__img {
  display: block;
  max-width: 90vw;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line-bright);
  opacity: 1;
  transition: opacity 0.25s var(--ease-out);
}
.lightbox__img.is-loading { opacity: 0; }

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(28,27,27,0.8);
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.22s, color 0.22s, background 0.22s;
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  border-color: rgba(181,148,16,0.4);
  color: var(--accent-bright);
}

/* Close button sits outside the image, top-right corner */
.lightbox__close {
  position: absolute;
  top: -72px;
  right: -56px;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__prev  { left: -56px; }
.lightbox__next  { right: -56px; }

@media (max-width: 768px) {
  .lightbox__close { top: -52px; right: 0; }
  .lightbox__prev  { left: 8px; }
  .lightbox__next  { right: 8px; }
}

/* ── ─────────────────────────────────────────────────────── */
/* ── NAVIGATION                                             */
/* ── ─────────────────────────────────────────────────────── */
/* WP: header.php */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.4s var(--ease-in-out), border-color 0.4s var(--ease-in-out),
              backdrop-filter 0.4s, height 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled { height: 56px; }
.site-nav.scrolled {
  background: rgba(19,19,19,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--line);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-nav__logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.2s, height 0.4s var(--ease-out);
}
.site-nav__logo:hover .site-nav__logo-img { opacity: 0.85; }
.scrolled .site-nav__logo-img { height: 32px; }

/* WordPress custom-logo output (Customizer > Site Identity) doesn't carry the
   .site-nav__logo-img class, so size it explicitly to match. */
.site-nav__inner .custom-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-nav__inner .custom-logo-link img.custom-logo {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.2s, height 0.4s var(--ease-out);
}
.site-nav__inner .custom-logo-link:hover img.custom-logo { opacity: 0.85; }
.scrolled .site-nav__inner .custom-logo-link img.custom-logo { height: 32px; }

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.site-nav__link {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(229,226,225,0.7);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s, font-size 0.4s var(--ease-out), letter-spacing 0.4s var(--ease-out);
}
.scrolled .site-nav__link {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}
.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.22s var(--ease-out);
}
.site-nav__link:hover { color: var(--ink); }
.site-nav__link:hover::after { width: 100%; }

/* Active state — current page or in-view section on the home page */
.site-nav__link.is-active,
.site-nav__link[aria-current="page"] {
  color: var(--accent);
}
.site-nav__link.is-active::after,
.site-nav__link[aria-current="page"]::after {
  width: 100%;
  background: var(--accent);
}

.site-nav__cta {
  padding: 10px 24px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 2px;
  transition: background 0.2s, transform 0.22s var(--ease-out),
              padding 0.4s var(--ease-out), font-size 0.4s var(--ease-out);
}
.site-nav__cta:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
}
.scrolled .site-nav__cta {
  padding: 8px 18px;
  font-size: 0.6rem;
}

/* Mobile hamburger */
.site-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.site-nav__hamburger span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.3s, width 0.3s var(--ease-out);
}
.site-nav__hamburger span:last-child { width: 60%; }
.site-nav__hamburger:hover span:last-child { width: 100%; }

/* Mobile sheet */
.mobile-sheet {
  position: fixed;
  inset: 0;
  background: var(--page-bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px var(--gutter);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.mobile-sheet.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-sheet__links {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mobile-sheet__link {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 600;
  color: var(--ink);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), color 0.2s;
}
.mobile-sheet__link:hover { color: var(--accent); }
.mobile-sheet__link.is-active,
.mobile-sheet__link[aria-current="page"] { color: var(--accent); }
.mobile-sheet.open .mobile-sheet__link {
  opacity: 1;
  transform: none;
}
.mobile-sheet.open .mobile-sheet__link:nth-child(1) { transition-delay: 0.08s; }
.mobile-sheet.open .mobile-sheet__link:nth-child(2) { transition-delay: 0.14s; }
.mobile-sheet.open .mobile-sheet__link:nth-child(3) { transition-delay: 0.20s; }
.mobile-sheet.open .mobile-sheet__link:nth-child(4) { transition-delay: 0.26s; }
.mobile-sheet.open .mobile-sheet__link:nth-child(5) { transition-delay: 0.32s; }
.mobile-sheet.open .mobile-sheet__link:nth-child(6) { transition-delay: 0.38s; }

/* Nav load animation */
@keyframes nav-enter {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: none; }
}
.site-nav { animation: nav-enter 0.4s var(--ease-out) 0.1s both; }

/* ── ─────────────────────────────────────────────────────── */
/* ── HERO SECTION                                           */
/* ── ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* Background image — oversized + repositioned by JS for parallax drift */
.hero__bg {
  position: absolute;
  top: -15%;
  left: 0;
  right: 0;
  height: 130%;
  background:
    radial-gradient(ellipse at 28% 22%, rgba(212, 175, 55, 0.10), transparent 55%),
    radial-gradient(ellipse at 74% 78%, rgba(212, 175, 55, 0.06), transparent 55%),
    #0a0907;
  z-index: 0;
  will-change: transform;
}

/* Image / video fill — set when an admin uploads hero background media */
.hero__bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay */
.hero__gradient {
  position: absolute;
  inset: 0;
  background: rgba(13, 12, 10, 0.62);
  z-index: 2;
}

/* Content */
.hero__content {
  position: relative;
  z-index: 3;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 100px;
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 0.6s var(--ease-out) 0.3s forwards;
}

.hero__heading {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(3.6rem, 7.5vw, 6.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 820px;
  margin-bottom: 48px;
}

/* Line-mask reveal for hero heading (fires on page load) */
.hero__heading .line-wrap {
  overflow: hidden;
  display: block;
  padding-bottom: 0.08em; /* prevent italic descender clip */
}
.hero__heading .line-inner {
  display: block;
  transform: translateY(112%);
  animation: line-up 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.32s + var(--line-i, 0) * 0.18s);
  will-change: transform;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 0.6s var(--ease-out) 0.75s forwards;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fade-up 0.6s var(--ease-out) 1s forwards;
}
.hero__scroll-hint span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(181,148,16,0.35);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.6) translateY(8px); }
}

/* ── ─────────────────────────────────────────────────────── */
/* ── BRAND STORY SECTION                                    */
/* ── ─────────────────────────────────────────────────────── */
.brand-story {
  padding: 140px var(--gutter);
  background: var(--page-bg);
  position: relative; /* for .s-line child */
}
.brand-story__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  text-align: center;
}
.brand-story__heading {
  max-width: 580px;
  margin: 20px auto 0;
  color: var(--ink);
}
.brand-story__body {
  max-width: 680px;
  margin: 48px auto 0;
}
.brand-story__body p + p { margin-top: 20px; }
.brand-story__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid rgba(181,148,16,0.25);
  padding-bottom: 2px;
  transition: border-color 0.2s, gap 0.2s;
}
.brand-story__link:hover { border-color: var(--accent); gap: 16px; }
.brand-story__link svg { transition: transform 0.2s var(--ease-out); }
.brand-story__link:hover svg { transform: translateX(4px); }

/* ── ─────────────────────────────────────────────────────── */
/* ── SERVICES GRID SECTION                                  */
/* ── ─────────────────────────────────────────────────────── */
.services {
  background: var(--surface-low);
  padding-bottom: 0;
}
.services__header {
  padding: 100px var(--gutter) 64px;
  max-width: var(--max-w);
  margin-inline: auto;
  text-align: center;
}
.services__heading { margin-top: 20px; color: var(--ink); }

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.service-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: none;
}
.service-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #111;
  filter: grayscale(1) brightness(0.55);
  transition: transform 0.6s var(--ease-out), filter 0.5s var(--ease-out);
}
.service-card:hover .service-card__bg {
  transform: scale(1.04);
  filter: grayscale(0) brightness(0.85);
}

/* Placeholder backgrounds for each service */

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  transition: background 0.5s var(--ease-out);
  z-index: 1;
}
.service-card:hover .service-card__overlay { background: rgba(0,0,0,0.3); }

/* Card border that slides in from left on hover */
.service-card {
  border: 1px solid rgba(255,255,255,0.04);
  transition: border-color 0.4s;
}
.service-card:hover { border-color: rgba(181,148,16,0.3); }

/* Number — top left */
.service-card__num {
  position: absolute;
  top: 24px;
  left: 28px;
  z-index: 3;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  opacity: 0.5;
  transition: opacity 0.4s;
}
.service-card:hover .service-card__num { opacity: 1; }

/* Corner bracket — top right */
.service-card__bracket {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 3;
  width: 20px;
  height: 20px;
  border-top: 1px solid rgba(181,148,16,0.25);
  border-right: 1px solid rgba(181,148,16,0.25);
  transition: border-color 0.4s, width 0.4s var(--ease-out), height 0.4s var(--ease-out);
}
.service-card:hover .service-card__bracket {
  border-color: rgba(181,148,16,0.75);
  width: 28px;
  height: 28px;
}

/* Body — bottom left */
.service-card__body {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 3;
  padding: 28px;
  background: rgba(10,9,8,0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255,255,255,0.06);
  transition: background 0.4s, border-color 0.4s;
}
.service-card:hover .service-card__body {
  background: rgba(10,9,8,0.82);
  border-color: rgba(181,148,16,0.2);
}

.service-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 0;
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover .service-card__name { transform: translateY(-2px); }

/* Descriptor — hidden until hover */
.service-card__desc {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--muted-dim);
  margin-top: 10px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height 0.45s var(--ease-out), opacity 0.35s var(--ease-out),
              transform 0.35s var(--ease-out);
}
.service-card:hover .service-card__desc {
  max-height: 80px;
  opacity: 1;
  transform: none;
}

/* Explore link — hidden until hover */
.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease-out) 0.05s, transform 0.3s var(--ease-out) 0.05s, gap 0.2s;
}
.service-card:hover .service-card__cta { opacity: 1; transform: none; }
.service-card__cta:hover { gap: 11px; }

/* Thin gold bottom border — slides in from left */
.service-card__border-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  z-index: 4;
  transition: width 0.5s var(--ease-out);
}
.service-card:hover .service-card__border-line { width: 100%; }

/* ── ─────────────────────────────────────────────────────── */
/* ── PILLARS SECTION                                        */
/* ── ─────────────────────────────────────────────────────── */
.pillars {
  padding: 120px var(--gutter);
  background: var(--page-bg);
}
.pillars__inner { max-width: var(--max-w); margin-inline: auto; }

.pillars__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 72px;
}
.pillars__label-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.pillars__label-line {
  display: block;
  width: 0; /* starts at 0, extends when parent .reveal-rotate becomes visible */
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.reveal-rotate.visible .pillars__label-line { width: 40px; }
.pillars__heading { color: var(--ink); }
.pillars__desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--muted-dim);
  max-width: 380px;
  justify-self: end;
  align-self: end;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Outer box border fades in when grid enters view */
  border: 1px solid transparent;
  transition: border-color 0.6s ease 0.2s;
}
.pillars__grid.visible { border-color: var(--line); }

.pillar-col {
  padding: 40px;
  position: relative;
  /* No static border-right — animated via ::after below */
}
.pillar-col:last-child::after { display: none; }

/* Vertical divider line — draws from top to bottom with stagger */
.pillar-col::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 1px; height: 0;
  background: var(--line);
  transition: height 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.pillars__grid.visible .pillar-col:nth-child(1)::after { height: 100%; transition-delay: 0.35s; }
.pillars__grid.visible .pillar-col:nth-child(2)::after { height: 100%; transition-delay: 0.47s; }
.pillars__grid.visible .pillar-col:nth-child(3)::after { height: 100%; transition-delay: 0.59s; }
.pillar-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 0.35s var(--ease-out);
}
.pillar-col:hover::before { height: 100%; }

.pillar-col__number {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  opacity: 0.6;
  margin-bottom: 28px;
  transition: transform 0.25s var(--ease-out), opacity 0.25s;
}
.pillar-col:hover .pillar-col__number { opacity: 1; transform: scale(1.05); }

.pillar-col__icon {
  width: 44px; height: 44px;
  border: 1px solid var(--line-bright);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  transition: border-color 0.25s, background 0.25s;
}
.pillar-col:hover .pillar-col__icon {
  border-color: rgba(181,148,16,0.35);
  background: rgba(181,148,16,0.05);
}
.pillar-col__icon svg { color: var(--muted-dim); }

.pillar-col__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}
.pillar-col__desc {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--muted-dim);
  margin-bottom: 32px;
}
.pillar-col__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
  transition: color 0.2s, gap 0.2s;
}
.pillar-col__link:hover { color: var(--accent); gap: 12px; }
.pillar-col__link svg { transition: transform 0.2s; }
.pillar-col__link:hover svg { transform: translateX(3px); }

/* ── ─────────────────────────────────────────────────────── */
/* ── SERVICES: CORE SERVICES (3x2 PHOTO GRID)               */
/* ── ─────────────────────────────────────────────────────── */
.services-list {
  padding: 120px var(--gutter);
  background: var(--page-bg);
}
.services-list__inner { max-width: var(--max-w); margin-inline: auto; }

.services-list__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
  gap: 0;
}

/* Placeholder backgrounds for each core service — replace with final imagery */
.service-card--core-1 .service-card__bg { background-image: url('../images/core-ushers.jpg'); }
.service-card--core-2 .service-card__bg { background-image: url('../images/core-vip-drivers.jpg'); }
.service-card--core-3 .service-card__bg { background-image: url('../images/core-hospitality.jpg'); }
.service-card--core-4 .service-card__bg { background-image: url('../images/core-technical-crew.jpg'); }
.service-card--core-5 .service-card__bg { background-image: url('../images/core-photography.jpg'); }
.service-card--core-6 .service-card__bg { background-image: url('../images/core-event-host.jpg'); }

/* ── ─────────────────────────────────────────────────────── */
/* ── SERVICES: EXTENDED SERVICES (3-COLUMN PHOTO GRID)      */
/* ── ─────────────────────────────────────────────────────── */
.services-extended {
  padding: 120px var(--gutter);
  background: var(--surface-low);
}
.services-extended__inner { max-width: var(--max-w); margin-inline: auto; }

.services-extended__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
  gap: 0;
}

/* ── ─────────────────────────────────────────────────────── */
/* ── STATS SECTION                                          */
/* ── ─────────────────────────────────────────────────────── */
.stats {
  padding: 80px var(--gutter);
  background: var(--page-bg);
  position: relative; /* for .s-line children */
}
.stats__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 20px 40px;
  position: relative; /* for ::after vertical divider */
}
/* Vertical dividers draw top → bottom, staggered */
.stat-item::after {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 1px; height: 0;
  background: var(--line);
  transition: height 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-item:last-child::after { display: none; }
.stagger-x.visible .stat-item:nth-child(1)::after { height: 100%; transition-delay: 0.1s; }
.stagger-x.visible .stat-item:nth-child(2)::after { height: 100%; transition-delay: 0.22s; }
.stagger-x.visible .stat-item:nth-child(3)::after { height: 100%; transition-delay: 0.34s; }
.stat-item__value {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-item__suffix {
  color: var(--accent);
}
.stat-item__label {
  margin-top: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

/* ── ─────────────────────────────────────────────────────── */
/* ── CLIENTS MARQUEE                                        */
/* ── ─────────────────────────────────────────────────────── */
.clients {
  padding: 80px 0;
  background: var(--page-bg);
  overflow: hidden;
  position: relative; /* for .s-line child */
}
.clients__label {
  text-align: center;
  margin-bottom: 40px;
}
.clients__track {
  position: relative;
}
.clients__fade-left,
.clients__fade-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 160px;
  z-index: 2;
  pointer-events: none;
}
.clients__fade-left  { left: 0;  background: linear-gradient(to right, var(--page-bg), transparent); }
.clients__fade-right { right: 0; background: linear-gradient(to left,  var(--page-bg), transparent); }

.marquee-strip {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}
.marquee-strip__inner {
  display: flex;
  align-items: center;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.marquee-strip:hover .marquee-strip__inner { animation-play-state: paused; }

.marquee-item {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  color: rgba(229,226,225,0.25);
  padding: 0 56px;
  transition: color 0.3s;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.marquee-item:hover { color: var(--muted); }
.marquee-item--sep {
  color: var(--accent);
  opacity: 0.3;
  font-style: normal;
  font-size: 0.5rem;
  padding: 0 20px;
  vertical-align: middle;
}

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

/* ── ─────────────────────────────────────────────────────── */
/* ── TESTIMONIALS SECTION                                   */
/* ── ─────────────────────────────────────────────────────── */
.testimonials {
  position: relative;
  padding: 120px 0;
  background: var(--page-bg);
  overflow: hidden;
}
.testimonials::before,
.testimonials::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 280px;
  z-index: 2;
  pointer-events: none;
}
.testimonials::before {
  left: 0;
  background: linear-gradient(to right, var(--page-bg) 0%, transparent 100%);
}
.testimonials::after {
  right: 0;
  background: linear-gradient(to left, var(--page-bg) 0%, transparent 100%);
}

.testimonials__inner {
  max-width: 900px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 3;
}

.testimonials__quote-mark {
  text-align: center;
  margin-bottom: 32px;
}
.testimonials__quote-mark svg {
  display: inline-block;
  color: var(--accent);
  opacity: 0.6;
}

.testimonials__carousel {
  position: relative;
  min-height: 280px;
}
.testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
}
.testimonial-slide.active {
  opacity: 1;
  transform: none;
  pointer-events: all;
  position: relative;
}

.testimonial-slide__quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.55;
  color: var(--ink);
  max-width: 760px;
  margin-bottom: 36px;
}
.testimonial-slide__cite {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.testimonial-slide__cite strong {
  color: var(--accent);
  font-weight: 700;
}

.testimonials__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.testimonials__dot {
  height: 6px;
  border-radius: 3px;
  background: var(--line-bright);
  transition: width 0.35s var(--ease-out), background 0.35s;
  width: 6px;
  cursor: none;
}
.testimonials__dot.active {
  width: 28px;
  background: var(--accent);
}

/* ── ─────────────────────────────────────────────────────── */
/* ── ABOUT: INTRO (WHO WE ARE)                              */
/* ── ─────────────────────────────────────────────────────── */
.about-intro {
  padding: calc(var(--nav-h) + 100px) var(--gutter) 120px;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(181,148,16,0.06), transparent 55%),
    var(--page-bg);
  position: relative; /* for .s-line child */
  overflow: hidden;
}

/* Faint line-grid backdrop, masked into an ellipse — echoes the home hero */
.about-intro__grid {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 0%, transparent 80%);
  pointer-events: none;
}

/* Cursor-following spotlight — brightens nearby grid lines on hover */
.about-intro__grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(181, 148, 16, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 148, 16, 0.35) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle 180px at var(--spot-x, 50%) var(--spot-y, 50%), black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle 180px at var(--spot-x, 50%) var(--spot-y, 50%), black 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.about-intro:hover .about-intro__grid::after {
  opacity: 1;
}

.about-intro__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.about-intro__head { max-width: 760px; }

.about-intro__label-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.about-intro__label-line {
  display: block;
  width: 0; /* starts at 0, extends when parent .reveal-rotate becomes visible */
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.reveal-rotate.visible .about-intro__label-line { width: 40px; }
.about-intro__heading { color: var(--ink); }

.about-intro__body {
  margin-top: 56px;
  column-count: 2;
  column-gap: 64px;
  column-rule: 1px solid var(--line);
}
.about-intro__body p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
  break-inside: avoid;
}

/* ── ─────────────────────────────────────────────────────── */
/* ── SERVICES: INTRO (HERO)                                  */
/* ── ─────────────────────────────────────────────────────── */
.services-intro {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 100px) var(--gutter) 120px;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(181,148,16,0.06), transparent 55%),
    var(--page-bg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Faint line-grid backdrop, masked into an ellipse — echoes the home hero */
.services-intro__grid {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 0%, transparent 80%);
  pointer-events: none;
}

/* Cursor-following spotlight — brightens nearby grid lines on hover */
.services-intro__grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(181, 148, 16, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 148, 16, 0.35) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle 180px at var(--spot-x, 50%) var(--spot-y, 50%), black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle 180px at var(--spot-x, 50%) var(--spot-y, 50%), black 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.services-intro:hover .services-intro__grid::after {
  opacity: 1;
}

.services-intro__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.services-intro__head { max-width: 760px; }

.services-intro__label-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.services-intro__label-line {
  display: block;
  width: 0; /* starts at 0, extends when parent .reveal-rotate becomes visible */
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.reveal-rotate.visible .services-intro__label-line { width: 40px; }
.services-intro__heading { color: var(--ink); }

/* ── ─────────────────────────────────────────────────────── */
/* ── GALLERY: INTRO (HERO)                                   */
/* ── ─────────────────────────────────────────────────────── */
.gallery-intro {
  min-height: 60vh;
  padding: calc(var(--nav-h) + 100px) var(--gutter) 80px;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(181,148,16,0.06), transparent 55%),
    var(--page-bg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Faint line-grid backdrop, masked into an ellipse — echoes the home hero */
.gallery-intro__grid {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 0%, transparent 80%);
  pointer-events: none;
}

/* Cursor-following spotlight — brightens nearby grid lines on hover */
.gallery-intro__grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(181, 148, 16, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 148, 16, 0.35) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle 180px at var(--spot-x, 50%) var(--spot-y, 50%), black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle 180px at var(--spot-x, 50%) var(--spot-y, 50%), black 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-intro:hover .gallery-intro__grid::after {
  opacity: 1;
}

.gallery-intro__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.gallery-intro__head { max-width: 760px; }

.gallery-intro__label-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.gallery-intro__label-line {
  display: block;
  width: 0; /* starts at 0, extends when parent .reveal-rotate becomes visible */
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.reveal-rotate.visible .gallery-intro__label-line { width: 40px; }
.gallery-intro__heading { color: var(--ink); }

/* ── ─────────────────────────────────────────────────────── */
/* ── CAREERS: INTRO (HERO)                                   */
/* ── ─────────────────────────────────────────────────────── */
.careers-intro {
  min-height: 60vh;
  padding: calc(var(--nav-h) + 100px) var(--gutter) 80px;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(181,148,16,0.06), transparent 55%),
    var(--page-bg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Faint line-grid backdrop, masked into an ellipse — echoes the home hero */
.careers-intro__grid {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 0%, transparent 80%);
  pointer-events: none;
}

/* Cursor-following spotlight — brightens nearby grid lines on hover */
.careers-intro__grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(181, 148, 16, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 148, 16, 0.35) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle 180px at var(--spot-x, 50%) var(--spot-y, 50%), black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle 180px at var(--spot-x, 50%) var(--spot-y, 50%), black 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.careers-intro:hover .careers-intro__grid::after {
  opacity: 1;
}

.careers-intro__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.careers-intro__head { max-width: 760px; }

.careers-intro__label-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.careers-intro__label-line {
  display: block;
  width: 0; /* starts at 0, extends when parent .reveal-rotate becomes visible */
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.reveal-rotate.visible .careers-intro__label-line { width: 40px; }
.careers-intro__heading { color: var(--ink); }

/* ── ─────────────────────────────────────────────────────── */
/* ── CONTACT: INTRO (HERO)                                   */
/* ── ─────────────────────────────────────────────────────── */
.contact-intro {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 100px) var(--gutter) 120px;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(181,148,16,0.06), transparent 55%),
    var(--page-bg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Faint line-grid backdrop, masked into an ellipse — echoes the home hero */
.contact-intro__grid {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 0%, transparent 80%);
  pointer-events: none;
}

/* Cursor-following spotlight — brightens nearby grid lines on hover */
.contact-intro__grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(181, 148, 16, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 148, 16, 0.35) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle 180px at var(--spot-x, 50%) var(--spot-y, 50%), black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle 180px at var(--spot-x, 50%) var(--spot-y, 50%), black 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.contact-intro:hover .contact-intro__grid::after {
  opacity: 1;
}

.contact-intro__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.contact-intro__head { max-width: 760px; }

.contact-intro__label-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-intro__label-line {
  display: block;
  width: 0; /* starts at 0, extends when parent .reveal-rotate becomes visible */
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.reveal-rotate.visible .contact-intro__label-line { width: 40px; }
.contact-intro__heading { color: var(--ink); }

/* ── ─────────────────────────────────────────────────────── */
/* ── 404: PAGE NOT FOUND                                     */
/* ── ─────────────────────────────────────────────────────── */
.error-404 {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 80px) var(--gutter) 100px;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(181,148,16,0.08), transparent 60%),
    var(--page-bg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Faint line-grid backdrop, masked into an ellipse — echoes the home hero */
.error-404__grid {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 80%);
  pointer-events: none;
}

/* Cursor-following spotlight — brightens nearby grid lines on hover */
.error-404__grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(181, 148, 16, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 148, 16, 0.35) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle 220px at var(--spot-x, 50%) var(--spot-y, 50%), black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle 220px at var(--spot-x, 50%) var(--spot-y, 50%), black 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.error-404:hover .error-404__grid::after {
  opacity: 1;
}

.error-404__inner {
  max-width: 720px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.error-404__label-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.error-404__label-line {
  display: block;
  width: 0; /* starts at 0, extends when parent .reveal-rotate becomes visible */
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.reveal-rotate.visible .error-404__label-line { width: 40px; }

/* Oversized italic numerals with a slow gold shimmer */
.error-404__code {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(120px, 22vw, 280px);
  line-height: 1;
  margin: 0 0 8px;
}
.error-404__code .line-inner {
  background: linear-gradient(120deg, var(--accent), var(--accent-bright) 45%, var(--accent) 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: error-404-shimmer 7s ease-in-out infinite;
}
@keyframes error-404-shimmer {
  0%, 100% { background-position: 0% center; }
  50%      { background-position: 100% center; }
}
@media (prefers-reduced-motion: reduce) {
  .error-404__code { animation: none; }
}

.error-404__heading { color: var(--ink); margin-bottom: 16px; }

.error-404__text {
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 40px;
}

.error-404__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── ─────────────────────────────────────────────────────── */
/* ── ABOUT: THE STRUMS PROTOCOL (3-COLUMN)                  */
/* ── ─────────────────────────────────────────────────────── */
.protocol {
  padding: 120px var(--gutter);
  background: var(--surface-low);
}
.protocol__inner { max-width: var(--max-w); margin-inline: auto; }

.protocol__header {
  text-align: center;
  margin-bottom: 72px;
}
.protocol__label-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.protocol__label-line {
  display: block;
  width: 0; /* starts at 0, extends when parent .reveal-rotate becomes visible */
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.reveal-rotate.visible .protocol__label-line { width: 40px; }
.protocol__heading { color: var(--ink); }

.protocol__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Outer box border fades in when grid enters view */
  border: 1px solid transparent;
  transition: border-color 0.6s ease 0.2s;
}
.protocol__grid.visible { border-color: var(--line); }

.protocol-col {
  padding: 48px 40px;
  position: relative;
}
.protocol-col:last-child::after { display: none; }

/* Vertical divider line — draws from top to bottom with stagger */
.protocol-col::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 1px; height: 0;
  background: var(--line);
  transition: height 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.protocol__grid.visible .protocol-col:nth-child(1)::after { height: 100%; transition-delay: 0.35s; }
.protocol__grid.visible .protocol-col:nth-child(2)::after { height: 100%; transition-delay: 0.47s; }
.protocol__grid.visible .protocol-col:nth-child(3)::after { height: 100%; transition-delay: 0.59s; }

/* 4-column variant — used by the services benefits strip */
.protocol__grid--4col {
  grid-template-columns: repeat(4, 1fr);
}
.protocol__grid--4col.visible .protocol-col:nth-child(4)::after { height: 100%; transition-delay: 0.71s; }

.protocol-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 0.35s var(--ease-out);
}
.protocol-col:hover::before { height: 100%; }

.protocol-col__number {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.6;
  margin-bottom: 20px;
  transition: transform 0.25s var(--ease-out), opacity 0.25s;
}
.protocol-col:hover .protocol-col__number { opacity: 1; transform: scale(1.05); }

.protocol-col__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}
.protocol-col__desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--muted-dim);
}

/* ── ─────────────────────────────────────────────────────── */
/* ── ABOUT: MISSION & VISION                                 */
/* ── ─────────────────────────────────────────────────────── */
.mission-vision {
  padding: 100px var(--gutter);
  background: var(--page-bg);
  position: relative; /* for .s-line children */
}
.mission-vision__grid {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
  text-align: center;
}
.mission-vision .s-line--v { left: 50%; }
.mission-vision__col {
  transition: transform 0.5s var(--ease-out);
}
.mission-vision__col:hover { transform: translateY(-6px); }
.mission-vision__num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  opacity: 0.7;
}
.mission-vision__heading {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  margin: 16px 0 20px;
  color: var(--ink);
}
.mission-vision__body {
  max-width: 360px;
  margin-inline: auto;
}

/* ── ─────────────────────────────────────────────────────── */
/* ── ABOUT: WHY STRUMS & CO. LLC?                            */
/* ── ─────────────────────────────────────────────────────── */
.why-us {
  padding: 120px var(--gutter) 140px;
  background: var(--surface-low);
}
.why-us__inner { max-width: var(--max-w); margin-inline: auto; }
.why-us__header { margin-bottom: 64px; }
.why-us__heading { margin-top: 20px; color: var(--ink); }

.why-us__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 60px;
}
.why-us__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.why-us__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out);
}
.why-us__item:hover .why-us__icon {
  border-color: rgba(181,148,16,0.4);
  background: rgba(181,148,16,0.08);
  transform: scale(1.08) rotate(12deg);
}
.why-us__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  padding-top: 4px;
}

/* ── ─────────────────────────────────────────────────────── */
/* ── CAREERS: CULTURE (BODY + CHECKLIST)                     */
/* ── ─────────────────────────────────────────────────────── */
.careers-culture {
  padding: 120px var(--gutter);
  background: var(--page-bg);
  position: relative; /* for .s-line child */
}
.careers-culture__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}
.careers-culture__head { max-width: 760px; }

.careers-culture__label-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.careers-culture__label-line {
  display: block;
  width: 0;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.reveal-rotate.visible .careers-culture__label-line { width: 40px; }
.careers-culture__heading { color: var(--ink); }

.careers-culture__body {
  margin-top: 56px;
  column-count: 2;
  column-gap: 64px;
  column-rule: 1px solid var(--line);
}
.careers-culture__body p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
  break-inside: avoid;
}

.careers-culture__list {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 60px;
}
.careers-culture__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.careers-culture__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out);
}
.careers-culture__item:hover .careers-culture__icon {
  border-color: rgba(181,148,16,0.4);
  background: rgba(181,148,16,0.08);
  transform: scale(1.08) rotate(12deg);
}
.careers-culture__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  padding-top: 4px;
}

/* ── ─────────────────────────────────────────────────────── */
/* ── FINAL CTA SECTION                                      */
/* ── ─────────────────────────────────────────────────────── */
.final-cta {
  padding: 140px var(--gutter);
  background: var(--surface-low);
  text-align: center;
  position: relative;
  overflow: hidden;
  /* No static border-top — replaced by .s-line span in HTML */
}
.final-cta__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.final-cta__heading {
  color: var(--ink);
  margin: 20px auto;
  max-width: 800px;
}
.final-cta__subtext {
  color: var(--muted-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}
.final-cta__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

/* ── Particle field — slow drifting gold motes, populated by JS ── */
.final-cta__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.final-cta__particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  filter: blur(0.5px);
  animation: particle-drift linear infinite;
}
@keyframes particle-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: var(--particle-opacity, 0.35);
  }
  90% {
    opacity: var(--particle-opacity, 0.35);
  }
  100% {
    transform: translate3d(var(--particle-x, 40px), var(--particle-y, -140px), 0) scale(0.6);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .final-cta__particles { display: none; }
}

/* ── ─────────────────────────────────────────────────────── */
/* ── CAREERS: BENEFITS HEADER                                */
/* ── ─────────────────────────────────────────────────────── */
.careers-benefits__header { margin-bottom: 64px; max-width: 640px; }
.careers-benefits__heading { margin-top: 20px; color: var(--ink); }

/* ── ─────────────────────────────────────────────────────── */
/* ── CAREERS: CTA BANNER (OPEN POSITIONS)                    */
/* ── ─────────────────────────────────────────────────────── */
.careers-cta {
  padding: 100px var(--gutter) 120px;
  background: var(--page-bg);
}
.careers-cta__panel {
  max-width: var(--max-w);
  margin-inline: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  padding: 80px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  background: var(--surface-low);
  transition: border-color 0.4s ease;
}
.careers-cta__panel:hover {
  border-color: rgba(181,148,16,0.4);
}

/* Faint line-grid backdrop, masked toward the top-right corner */
.careers-cta__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 100% at 100% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 100% 0%, black 0%, transparent 70%);
  pointer-events: none;
}

/* Soft gold glow blob, top-right — brightens on hover */
.careers-cta__glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  z-index: 0;
  background: radial-gradient(circle, rgba(181,148,16,0.16), transparent 70%);
  opacity: 0.6;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.careers-cta__panel:hover .careers-cta__glow { opacity: 1; }

/* Corner brackets — precision framing accent */
.careers-cta__bracket {
  position: absolute;
  z-index: 1;
  width: 28px;
  height: 28px;
  border: 0 solid rgba(181,148,16,0.3);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.4s;
  pointer-events: none;
}
.careers-cta__bracket--tl {
  top: 20px; left: 20px;
  border-top-width: 1px;
  border-left-width: 1px;
}
.careers-cta__bracket--br {
  bottom: 20px; right: 20px;
  border-bottom-width: 1px;
  border-right-width: 1px;
}
.careers-cta__panel:hover .careers-cta__bracket {
  width: 40px;
  height: 40px;
  border-color: rgba(181,148,16,0.75);
}

.careers-cta__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}
.careers-cta__label-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.careers-cta__label-line {
  display: block;
  width: 0;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.reveal-rotate.visible .careers-cta__label-line { width: 40px; }
.careers-cta__heading {
  color: var(--ink);
}
.careers-cta__subtext {
  margin-top: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted-dim);
  max-width: 480px;
}
.careers-cta__action {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* ── ─────────────────────────────────────────────────────── */
/* ── CONTACT: FORM + INFO                                    */
/* ── ─────────────────────────────────────────────────────── */
.contact-section {
  padding: 120px var(--gutter);
  background: var(--page-bg);
  position: relative;
}
.contact-section__inner { max-width: var(--max-w); margin-inline: auto; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 100px;
}

/* ── Form column ── */
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.contact-form__group {
  position: relative;
  margin-bottom: 38px;
}
.contact-form__group--textarea { margin-bottom: 48px; }

.contact-form__input,
.contact-form__textarea {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 14px 0 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.3s ease;
}
.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}
.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
}

/* Floating label — rises and turns gold on focus / when filled */
.contact-form__label {
  position: absolute;
  left: 0;
  top: 14px;
  font-size: 1rem;
  color: var(--muted-dim);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.3s var(--ease-out), color 0.3s;
}
.contact-form__input:focus + .contact-form__label,
.contact-form__input:not(:placeholder-shown) + .contact-form__label,
.contact-form__textarea:focus + .contact-form__label,
.contact-form__textarea:not(:placeholder-shown) + .contact-form__label {
  transform: translateY(-22px) scale(0.78);
  color: var(--accent);
}

/* Animated underline — grows outward from center on focus */
.contact-form__group::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out), left 0.4s var(--ease-out);
}
.contact-form__group:focus-within::after {
  width: 100%;
  left: 0;
}

.contact-form__counter {
  position: absolute;
  right: 0;
  bottom: -22px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted-dim);
}

/* Submit button — loading spinner state */
.contact-form__submit {
  margin-top: 8px;
  position: relative;
}
.contact-form__submit .btn-spinner {
  display: none;
}
.contact-form__submit.is-loading {
  pointer-events: none;
  opacity: 0.85;
}
.contact-form__submit.is-loading .btn-label,
.contact-form__submit.is-loading .btn-arrow {
  opacity: 0;
}
.contact-form__submit.is-loading .btn-spinner {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: btn-spin 0.7s linear infinite;
}
@keyframes btn-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Submission status message */
.contact-form__status {
  margin-top: 0;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out),
              max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out),
              margin 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.contact-form__status.is-visible {
  opacity: 1;
  transform: none;
  max-height: 200px;
  margin-top: 24px;
  padding: 16px 20px;
}
.contact-form__status--success {
  border-color: rgba(181,148,16,0.4);
  color: var(--ink);
}
.contact-form__status--error {
  border-color: rgba(214,90,77,0.4);
  color: #e3b3ad;
}

/* ── Info column ── */
.contact-info__list {
  margin-top: 56px;
  border-top: 1px solid transparent;
  transition: border-color 0.6s ease 0.2s;
}
.contact-info__list.visible { border-top-color: var(--line); }

.contact-info__item {
  display: flex;
  gap: 24px;
  padding: 32px 4px;
  border-bottom: 1px solid transparent;
  position: relative;
  transition: border-color 0.6s ease 0.2s, padding-left 0.3s var(--ease-out);
}
.contact-info__list.visible .contact-info__item { border-bottom-color: var(--line); }
.contact-info__item:hover { padding-left: 14px; }

/* Gold accent line draws in on hover */
.contact-info__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 0.35s var(--ease-out);
}
.contact-info__item:hover::before { height: 100%; }

.contact-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--accent);
  transition: border-color 0.3s, background 0.3s;
}
.contact-info__item:hover .contact-info__icon {
  border-color: rgba(181,148,16,0.4);
  background: rgba(181,148,16,0.06);
}

.contact-info__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 8px;
}
.contact-info__value,
.contact-info__value a {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  transition: color 0.2s;
}
.contact-info__value a:hover { color: var(--accent); }

.contact-info__socials {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}
.contact-info__social {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}
.contact-info__social:hover {
  border-color: rgba(181,148,16,0.4);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ── ─────────────────────────────────────────────────────── */
/* ── FOOTER                                                 */
/* ── ─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--page-bg);
  padding: 80px var(--gutter) 0;
  position: relative; /* for .s-line child */
}
.site-footer__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-col__logo {
  margin-bottom: 20px;
}
.footer-col__logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0.85;
}

/* WordPress custom-logo output (Customizer > Site Identity) doesn't carry the
   .footer-col__logo-img class, so size it explicitly to match. */
.footer-col__logo .custom-logo-link {
  display: inline-block;
}
.footer-col__logo .custom-logo-link img.custom-logo {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0.85;
}
.footer-col__tagline {
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--muted-dim);
  max-width: 280px;
  margin-bottom: 28px;
}
.footer-col__socials {
  display: flex;
  gap: 12px;
}
.footer-col__social {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-dim);
  font-size: 0.8rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-col__social:hover {
  border-color: rgba(181,148,16,0.3);
  color: var(--accent);
  background: rgba(181,148,16,0.04);
}

.footer-col__heading {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}
/* Underline draws left → right when the column enters view */
.footer-col__heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-alt.visible .footer-col__heading::after { transform: scaleX(1); }
/* Each column staggers: 1st col 0.3s, 2nd col 0.44s, etc. */
.stagger-alt.visible > *:nth-child(1) .footer-col__heading::after { transition-delay: 0.35s; }
.stagger-alt.visible > *:nth-child(2) .footer-col__heading::after { transition-delay: 0.48s; }
.stagger-alt.visible > *:nth-child(3) .footer-col__heading::after { transition-delay: 0.61s; }
.stagger-alt.visible > *:nth-child(4) .footer-col__heading::after { transition-delay: 0.74s; }
.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted-dim);
  transition: color 0.15s;
}
.footer-col__link:hover { color: var(--ink); }

.footer-col__contact-group + .footer-col__contact-group { margin-top: 28px; }
.footer-col__contact-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 6px;
}
.footer-col__contact-value {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--muted-dim);
}
.footer-col__contact-value a { transition: color 0.15s; }
.footer-col__contact-value a:hover { color: var(--ink); }

.site-footer__bottom {
  position: relative; /* for .s-line child */
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-footer__copy {
  font-size: 0.72rem;
  color: rgba(208,197,175,0.3);
  letter-spacing: 0.04em;
}
.site-footer__bottom-links {
  display: flex;
  gap: 24px;
}
.site-footer__bottom-link {
  font-size: 0.72rem;
  color: rgba(208,197,175,0.3);
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
.site-footer__bottom-link:hover { color: var(--muted); }

/* ── ─────────────────────────────────────────────────────── */
/* ── BACK TO TOP                                            */
/* ── ─────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: rgba(19, 19, 19, 0.85);
  border: 1px solid var(--line-bright);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out),
              border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.back-to-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: all;
}
.back-to-top:hover {
  border-color: rgba(181, 148, 16, 0.35);
  color: var(--accent);
}

@media (max-width: 768px) {
  .back-to-top { bottom: 20px; right: 20px; }
}

/* ── ─────────────────────────────────────────────────────── */
/* ── ANIMATED SECTION BORDER LINES (.s-line)                */
/* ── Draws itself in from a direction when .visible added.  */
/* ── ─────────────────────────────────────────────────────── */
.s-line {
  display: block;
  position: absolute;
  background: var(--line);
  pointer-events: none;
  z-index: 0;
}

/* Horizontal line (border-top or border-bottom) */
.s-line--h {
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.s-line--h[data-from="left"]   { transform-origin: left center; }
.s-line--h[data-from="right"]  { transform-origin: right center; }
.s-line--h[data-from="center"] { transform-origin: center; }
.s-line--h.visible             { transform: scaleX(1); }

/* Vertical line (border-left or border-right) */
.s-line--v {
  top: 0;
  width: 1px;
  height: 100%;
  transform: scaleY(0);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.s-line--v[data-from="top"]    { transform-origin: top center; }
.s-line--v[data-from="bottom"] { transform-origin: bottom center; }
.s-line--v.visible             { transform: scaleY(1); }

/* ── ─────────────────────────────────────────────────────── */
/* ── LINE-MASK HEADING REVEAL (scroll-triggered)            */
/* ── Each line rises from behind overflow:hidden floor.     */
/* ── No opacity — pure transform. Museum/luxury standard.   */
/* ── ─────────────────────────────────────────────────────── */
.heading-split .line-wrap {
  overflow: hidden;
  display: block;
  padding-bottom: 0.08em; /* buffer for italic descenders */
}
.heading-split .line-inner {
  display: block;
  transform: translateY(112%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  /* Per-line stagger: --line-i set inline; --heading-delay set on parent */
  transition-delay: calc(var(--heading-delay, 0s) + var(--line-i, 0) * 0.13s);
  will-change: transform;
}
.heading-split.visible .line-inner {
  transform: translateY(0);
}

/* ── ─────────────────────────────────────────────────────── */
/* ── SCROLL ANIMATION CLASSES                               */
/* ── ─────────────────────────────────────────────────────── */

/* Default: fade up from below */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }

/* Slide in from the left */
.reveal-left {
  opacity: 0;
  transform: translateX(-44px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: none; }

/* Slide in from the right */
.reveal-right {
  opacity: 0;
  transform: translateX(44px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: none; }

/* Drop down from above */
.reveal-down {
  opacity: 0;
  transform: translateY(-28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal-down.visible { opacity: 1; transform: none; }

/* Scale up from slightly smaller */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Blur + fade (used for atmospheric reveals) */
.reveal-blur {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-out), filter 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-blur.visible { opacity: 1; filter: blur(0); transform: none; }

/* Clip-path wipe left → right (dramatic heading reveal) */
.reveal-clip {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s var(--ease-out);
}
.reveal-clip.visible { clip-path: inset(0 0% 0 0); }

/* Slight tilt + rise (accent elements, labels) */
.reveal-rotate {
  opacity: 0;
  transform: translateY(20px) rotate(-4deg);
  transform-origin: left center;
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal-rotate.visible { opacity: 1; transform: none; }

/* Stagger: fade up (default) */
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.stagger.visible > *:nth-child(1) { transition-delay: 0s;     opacity: 1; transform: none; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.08s;  opacity: 1; transform: none; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.16s;  opacity: 1; transform: none; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.24s;  opacity: 1; transform: none; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.32s;  opacity: 1; transform: none; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.40s;  opacity: 1; transform: none; }

/* Stagger: slide from left */
.stagger-x > * {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.stagger-x.visible > *:nth-child(1) { transition-delay: 0s;     opacity: 1; transform: none; }
.stagger-x.visible > *:nth-child(2) { transition-delay: 0.1s;   opacity: 1; transform: none; }
.stagger-x.visible > *:nth-child(3) { transition-delay: 0.2s;   opacity: 1; transform: none; }
.stagger-x.visible > *:nth-child(4) { transition-delay: 0.3s;   opacity: 1; transform: none; }

/* Stagger: alternating left/right (service cards) */
.stagger-alt > *:nth-child(odd) {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.stagger-alt > *:nth-child(even) {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.stagger-alt.visible > *:nth-child(1) { transition-delay: 0s;     opacity: 1; transform: none; }
.stagger-alt.visible > *:nth-child(2) { transition-delay: 0.1s;   opacity: 1; transform: none; }
.stagger-alt.visible > *:nth-child(3) { transition-delay: 0.2s;   opacity: 1; transform: none; }
.stagger-alt.visible > *:nth-child(4) { transition-delay: 0.3s;   opacity: 1; transform: none; }

/* ── ─────────────────────────────────────────────────────── */
/* ── SHARED KEYFRAMES                                       */
/* ── ─────────────────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@keyframes line-up {
  to { transform: translateY(0); }
}

@keyframes stat-flash {
  0%   { color: var(--ink); }
  30%  { color: var(--accent-bright); }
  100% { color: var(--ink); }
}
.stat-landed { animation: stat-flash 0.6s var(--ease-out) forwards; }

/* ── ─────────────────────────────────────────────────────── */
/* ── RESPONSIVE                                             */
/* ── ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --gutter: 48px; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .pillars__grid  { grid-template-columns: 1fr 1fr; }
  .services-list__grid { grid-template-columns: 1fr 1fr; }
  .services-extended__grid { grid-template-columns: 1fr 1fr; }
  .pillar-col:nth-child(2) { border-right: none; }
  .pillar-col:nth-child(3) { border-top: 1px solid var(--line); }
  .pillar-col:nth-child(4) { border-top: 1px solid var(--line); border-right: none; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }

  .about-intro__body { column-count: 1; column-rule: none; }
  .about-intro__body p + p { margin-top: 20px; }

  .protocol__grid { grid-template-columns: 1fr 1fr; }
  .protocol-col:nth-child(2) { border-right: none; }
  .protocol-col:nth-child(3) { border-top: 1px solid var(--line); grid-column: span 2; }

  /* 4-column variant: 2x2 instead of 1x3+1 */
  .protocol__grid--4col .protocol-col:nth-child(3) { grid-column: auto; border-top: 1px solid var(--line); }
  .protocol__grid--4col .protocol-col:nth-child(4) { border-top: 1px solid var(--line); border-right: none; }

  .why-us__list { grid-template-columns: 1fr; }

  .careers-culture__body { column-count: 1; column-rule: none; }
  .careers-culture__body p + p { margin-top: 20px; }
  .careers-culture__list { grid-template-columns: 1fr; }

  .careers-cta__panel { flex-direction: column; align-items: flex-start; text-align: left; gap: 32px; padding: 48px; }

  .contact-grid { grid-template-columns: 1fr; gap: 64px; }
}

@media (max-width: 768px) {
  :root {
    --gutter: 24px;
    --nav-h:  64px;
  }
  .site-nav__links { display: none; }
  .site-nav__cta   { display: none; }
  .site-nav__hamburger { display: flex; }

  .hero__content { padding-bottom: 80px; }
  .hero__ctas { flex-direction: column; align-items: flex-start; gap: 12px; }

  .brand-story { padding: 80px var(--gutter); }

  .services__grid { grid-template-columns: 1fr; }
  .services-extended__grid { grid-template-columns: 1fr; }
  .service-card   { aspect-ratio: 4/3; }

  .pillars { padding: 80px var(--gutter); }
  .pillars__header { grid-template-columns: 1fr; }
  .pillars__grid   { grid-template-columns: 1fr; }
  .pillar-col { border-right: none !important; border-top: 1px solid var(--line); }
  .pillar-col:first-child { border-top: none; }

  .services-list { padding: 80px var(--gutter); }
  .services-list__grid { grid-template-columns: 1fr; }

  .about-intro { padding: calc(var(--nav-h) + 60px) var(--gutter) 80px; }
  .contact-intro { padding: calc(var(--nav-h) + 60px) var(--gutter) 80px; }

  .error-404 { padding: calc(var(--nav-h) + 60px) var(--gutter) 80px; }
  .error-404__actions { flex-direction: column; width: 100%; }
  .error-404__actions .btn { width: 100%; justify-content: center; }

  .protocol { padding: 80px var(--gutter); }
  .protocol__grid { grid-template-columns: 1fr; }
  .protocol-col { border-right: none !important; border-top: 1px solid var(--line); grid-column: span 1 !important; }
  .protocol-col:first-child { border-top: none; }

  .mission-vision { padding: 60px var(--gutter); }
  .mission-vision__grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .mission-vision .s-line--v { display: none; }

  .why-us { padding: 80px var(--gutter); }

  .careers-intro { padding: calc(var(--nav-h) + 60px) var(--gutter) 60px; }
  .careers-culture { padding: 80px var(--gutter); }
  .careers-cta { padding: 60px var(--gutter) 80px; }
  .careers-cta__panel { padding: 40px 24px; }
  .careers-cta__bracket { width: 20px; height: 20px; top: 12px; left: 12px; right: 12px; bottom: 12px; }
  .careers-cta__action .btn { width: 100%; justify-content: center; }

  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stat-item    { border-right: none; border-bottom: 1px solid var(--line); padding: 24px; }
  .stat-item:nth-child(2n) { border-left: 1px solid var(--line); }

  .final-cta { padding: 80px var(--gutter); }
  .final-cta__ctas { flex-direction: column; align-items: center; }

  .contact-section { padding: 80px var(--gutter); }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-info__list { margin-top: 40px; }

  .site-footer__cols { grid-template-columns: 1fr; gap: 40px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}
