/* ==========================================================================
   COALMINE CANARY — IMPROVED EDITION
   Aesthetic: Subterranean Signal // Editorial Print Precision
   ========================================================================== */

:root {
  /* Brand Palette — Preserved from Original */
  --canary: #ffcd00;
  --canary-warm: #f7ca00;
  --canary-bright: #ffce08;
  --canary-glow: rgba(255, 205, 0, 0.22);
  --canary-subtle: rgba(255, 205, 0, 0.08);

  --coal-void: #000000;
  --coal-deep: #09090b;
  --coal-dark: #111114;
  --coal-card: #17171b;
  --coal-charcoal: #1f1f1f;
  --coal-slate: #2e2e2f;
  --coal-border: rgba(255, 255, 255, 0.1);
  --coal-border-bright: rgba(255, 205, 0, 0.45);

  --paper-white: #ffffff;
  --paper-stone: #f4f4f4;
  --paper-warm: #ebebee;
  --paper-border: rgba(0, 0, 0, 0.09);

  --text-light: #ffffff;
  --text-light-muted: #b7b7b7;
  --text-light-dim: rgba(255, 255, 255, 0.68);
  --text-dark: #141416;
  --text-dark-muted: #52525b;
  --text-dark-dim: rgba(0, 0, 0, 0.48);

  /* Typography — Preserved Original Families */
  --font-display: 'Aachen', Impact, 'Arial Black', sans-serif;
  --font-ui: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'ABeeZee', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-icon: 'ETmodules';

  /* Layout & Transitions */
  --container-max: 1280px;
  --container-narrow: 980px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--coal-void);
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  background-color: var(--coal-void);
  color: var(--text-dark);
  overflow-x: hidden;
  selection-background-color: var(--canary);
  selection-color: var(--coal-void);
}

::selection {
  background: var(--canary);
  color: var(--coal-void);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-in-out), background-color 0.25s var(--ease-in-out), border-color 0.25s var(--ease-in-out), transform 0.25s var(--ease-out-expo);
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   SCROLL PROGRESS & TELEMETRY DEPTH RAIL
   ========================================================================== */
.canary-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 10001;
  pointer-events: none;
}

.canary-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--canary) 0%, var(--canary-bright) 100%);
  box-shadow: 0 0 12px var(--canary);
  transition: width 0.08s linear;
}

.depth-rail {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  padding: 16px 10px;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 205, 0, 0.18);
  border-radius: 2px;
}

.depth-rail-header {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--canary);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 205, 0, 0.25);
  width: 100%;
  text-align: right;
}

.depth-rail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  group: true;
}

.depth-rail-label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  opacity: 0;
  transform: translateX(6px);
  transition: all 0.25s var(--ease-out-expo);
  white-space: nowrap;
  pointer-events: none;
}

.depth-rail:hover .depth-rail-label,
.depth-rail-item.active .depth-rail-label {
  opacity: 1;
  transform: translateX(0);
}

.depth-rail-item.active .depth-rail-label {
  color: var(--canary);
}

.depth-rail-tick {
  width: 8px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.25s var(--ease-out-expo);
}

.depth-rail-item:hover .depth-rail-tick {
  width: 14px;
  background: var(--text-light);
}

.depth-rail-item.active .depth-rail-tick {
  width: 20px;
  height: 3px;
  background: var(--canary);
  box-shadow: 0 0 8px var(--canary);
}

@media (max-width: 1180px) {
  .depth-rail {
    display: none;
  }
}

/* ==========================================================================
   TOP BAR & NAVIGATION HEADER
   ========================================================================== */
.site-topbar {
  background-color: var(--canary);
  color: var(--coal-void);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  z-index: 1002;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.site-topbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coal-void);
  font-weight: 700;
}

.topbar-contact:hover {
  opacity: 0.75;
}

.topbar-contact .et-pb-icon {
  font-family: var(--font-icon);
  font-size: 13px;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.topbar-spec {
  padding: 2px 8px;
  background: var(--coal-void);
  color: var(--canary);
  font-weight: 800;
}

@media (max-width: 768px) {
  .topbar-meta {
    display: none;
  }
  .site-topbar-inner {
    justify-content: center;
    padding: 0 16px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9, 9, 11, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s var(--ease-out-expo);
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  border-bottom-color: rgba(255, 205, 0, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65);
}

.site-header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding 0.3s var(--ease-out-expo);
}

.site-header.scrolled .site-header-inner {
  padding: 11px 32px;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-logo-link img {
  height: 44px;
  width: auto;
  transition: transform 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo);
}

.site-header.scrolled .site-logo-link img {
  height: 38px;
}

.site-logo-link:hover img {
  transform: scale(1.03);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav-link {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-light);
  padding: 8px 14px;
  position: relative;
  transition: color 0.2s ease;
}

.site-nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 14px;
  right: 14px;
  height: 2px;
  background-color: var(--canary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out-expo);
}

.site-nav-link:hover,
.site-nav-link.active {
  color: var(--canary);
}

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

.site-nav-cta {
  margin-left: 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--coal-void);
  background: var(--canary);
  padding: 10px 18px;
  border: 1px solid var(--canary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-nav-cta:hover {
  background: transparent;
  color: var(--canary);
  transform: translateY(-1px);
}

/* Mobile Menu Button */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 205, 0, 0.4);
  color: var(--canary);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.mobile-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--canary);
  transition: all 0.3s ease;
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .mobile-nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(9, 9, 11, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--canary);
    padding: 28px 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s var(--ease-out-expo);
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
  }

  .site-nav-link {
    font-size: 18px;
    padding: 8px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-nav-cta {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    padding: 14px;
  }
}

/* ==========================================================================
   ARCHITECTURAL / PREPRESS UTILITIES
   ========================================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background-color: var(--canary);
}

.section-tag--dark {
  color: var(--text-dark-muted);
}

.section-tag--light {
  color: var(--canary);
}

.crop-mark {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  opacity: 0.35;
}

.crop-mark--tl {
  top: 16px;
  left: 16px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}

.crop-mark--tr {
  top: 16px;
  right: 16px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.crop-mark--bl {
  bottom: 16px;
  left: 16px;
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
}

.crop-mark--br {
  bottom: 16px;
  right: 16px;
  border-bottom: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

/* ==========================================================================
   HERO SECTION — SUBTERRANEAN SIGNAL
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 34px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--coal-void);
  color: var(--text-light);
  padding: 100px 0 110px;
  border-bottom: 3px solid var(--canary);
}

.hero-bg-parallax {
  position: absolute;
  inset: -8% 0;
  background-image: url('../wp-content/uploads/2018/01/mine-web.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: contrast(1.12) brightness(0.62);
  transform: translate3d(0, 0, 0) scale(1.05);
  will-change: transform;
  z-index: 1;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 205, 0, 0.1) 0%, rgba(0, 0, 0, 0.65) 55%, rgba(0, 0, 0, 0.94) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(9, 9, 11, 0.96) 100%);
  z-index: 2;
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(650px circle at var(--spot-x, 50%) var(--spot-y, 45%), rgba(255, 205, 0, 0.13), transparent 70%);
  z-index: 3;
  pointer-events: none;
}

.hero-grid-overlay {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 3;
  pointer-events: none;
}

.hero-grid-overlay::before,
.hero-grid-overlay::after {
  content: '+';
  position: absolute;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--canary);
  line-height: 1;
}

.hero-grid-overlay::before {
  top: -8px;
  left: -5px;
}

.hero-grid-overlay::after {
  bottom: -8px;
  right: -5px;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-meta-strip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 205, 0, 0.35);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--canary);
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--canary);
  box-shadow: 0 0 10px var(--canary);
  animation: pulseCanary 2.2s infinite;
}

@keyframes pulseCanary {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}

.hero-emblem-wrap {
  position: relative;
  margin-bottom: 24px;
  padding: 12px;
}

.hero-emblem {
  width: min(440px, 78vw);
  height: auto;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.85));
  transition: transform 0.5s var(--ease-out-expo);
}

.hero-emblem-wrap:hover .hero-emblem {
  transform: translateY(-6px) scale(1.02);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.25rem);
  color: var(--canary);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.hero-subhead-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 40px;
  width: 100%;
}

.hero-subhead-line {
  height: 1px;
  width: 64px;
  background: linear-gradient(90deg, transparent, var(--canary));
}

.hero-subhead-line--right {
  background: linear-gradient(90deg, var(--canary), transparent);
}

.hero-subhead {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  color: var(--text-light);
  letter-spacing: 0.08em;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-out-expo);
}

.btn--primary {
  background-color: var(--canary);
  color: var(--coal-void);
  border: 2px solid var(--canary);
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.55);
}

.btn--primary:hover {
  background-color: var(--coal-void);
  color: var(--canary);
  border-color: var(--canary);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px var(--canary);
}

.btn--outline {
  background-color: rgba(0, 0, 0, 0.55);
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn--outline:hover {
  border-color: var(--canary);
  color: var(--canary);
  background-color: rgba(0, 0, 0, 0.85);
  transform: translate(-2px, -2px);
}

.btn--dark {
  background-color: var(--coal-void);
  color: var(--canary);
  border: 2px solid var(--coal-void);
  box-shadow: 6px 6px 0px var(--canary);
}

.btn--dark:hover {
  background-color: var(--canary);
  color: var(--coal-void);
  border-color: var(--coal-void);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px var(--coal-void);
}

.hero-scroll-down {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--canary);
  opacity: 0.88;
}

.hero-scroll-down:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(3px);
}

.hero-scroll-down .scroll-label {
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-scroll-down .et-pb-icon {
  font-family: var(--font-icon);
  font-size: 28px;
  color: var(--canary);
  animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* ==========================================================================
   EDITORIAL TICKER TAPE
   ========================================================================== */
.canary-ticker {
  background: var(--coal-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  overflow: hidden;
  user-select: none;
}

.canary-ticker-track {
  display: flex;
  width: max-content;
  animation: tickerSlide 36s linear infinite;
}

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

.canary-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.canary-ticker-item span.bullet {
  color: var(--canary);
  font-size: 14px;
}

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

/* ==========================================================================
   SECTION 01 — SERVICES (PRECISION SPEC MATRIX)
   ========================================================================== */
.services-section {
  position: relative;
  background-color: var(--paper-white);
  color: var(--text-dark);
  padding: 120px 0;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  border-bottom: 1px solid var(--paper-border);
}

.services-header-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: end;
  padding-bottom: 64px;
  margin-bottom: 64px;
  border-bottom: 2px solid var(--coal-void);
  position: relative;
}

.services-header-grid::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 140px;
  height: 6px;
  background: var(--canary);
}

.section-display-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--coal-charcoal);
  margin-bottom: 20px;
}

.services-lead-headline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  color: var(--coal-slate);
  padding-left: 20px;
  border-left: 5px solid var(--canary);
}

.services-intro-box {
  background: var(--paper-stone);
  padding: 32px 36px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 8px 8px 0px var(--coal-void);
  position: relative;
}

.services-intro-box::before {
  content: 'BRIEF // SPECIFICATION';
  display: block;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-dark-dim);
  margin-bottom: 12px;
}

.services-intro-box p {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--coal-charcoal);
}

.services-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--paper-white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 36px 32px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s var(--ease-out-expo);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--canary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--coal-void);
  box-shadow: 10px 10px 0px var(--coal-void);
}

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

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}

.service-icon-badge {
  width: 60px;
  height: 60px;
  background: var(--coal-void);
  color: var(--canary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px 0px var(--canary);
  transition: all 0.35s var(--ease-out-expo);
}

.service-card:hover .service-icon-badge {
  background: var(--canary);
  color: var(--coal-void);
  box-shadow: 4px 4px 0px var(--coal-void);
  transform: rotate(-3deg) scale(1.05);
}

.service-icon-badge .et-pb-icon {
  font-family: var(--font-icon);
  font-size: 28px;
  line-height: 1;
}

.service-index {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(0, 0, 0, 0.25);
  transition: color 0.3s ease;
}

.service-card:hover .service-index {
  color: var(--coal-void);
}

.service-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  color: var(--coal-void);
  margin-bottom: 16px;
  line-height: 1.25;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed rgba(0, 0, 0, 0.12);
  padding-top: 16px;
}

.service-list li {
  font-size: 0.96rem;
  color: var(--text-dark-muted);
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1.5;
}

.service-list li::before {
  content: '■';
  font-size: 8px;
  color: var(--canary-warm);
  flex-shrink: 0;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .services-header-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .services-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   SECTION 02 — SELECTED WORK (EDITORIAL PORTFOLIO ARCHIVE)
   ========================================================================== */
.work-section {
  position: relative;
  background-color: var(--paper-stone);
  color: var(--text-dark);
  padding: 120px 0;
  border-bottom: 1px solid var(--paper-border);
}

.work-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.work-subhead {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--text-dark-dim);
  margin-top: 8px;
}

.work-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--paper-white);
  border: 1px solid rgba(0, 0, 0, 0.18);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--coal-void);
  transition: all 0.25s ease;
}

.filter-toggle-btn:hover,
.filter-toggle-btn.active {
  background: var(--coal-void);
  color: var(--canary);
  border-color: var(--coal-void);
}

.filter-toggle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--canary);
}

.work-showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.work-card {
  grid-column: span 4;
  background: var(--coal-void);
  border: 2px solid var(--coal-void);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.12);
  transition: all 0.4s var(--ease-out-expo);
}

/* Feature asymmetric spanning on large screens */
.work-card:nth-child(1),
.work-card:nth-child(6) {
  grid-column: span 6;
}
.work-card:nth-child(2),
.work-card:nth-child(5) {
  grid-column: span 6;
}
.work-card:nth-child(3),
.work-card:nth-child(4) {
  grid-column: span 6;
}

@media (min-width: 1100px) {
  .work-card:nth-child(1) { grid-column: span 7; }
  .work-card:nth-child(2) { grid-column: span 5; }
  .work-card:nth-child(3) { grid-column: span 4; }
  .work-card:nth-child(4) { grid-column: span 4; }
  .work-card:nth-child(5) { grid-column: span 4; }
  .work-card:nth-child(6) { grid-column: span 12; }
  .work-card:nth-child(6) .work-card-media { aspect-ratio: 21 / 9; }
}

.work-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px var(--canary);
}

.work-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--coal-dark);
}

.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.06);
  opacity: 0.88;
  transition: transform 0.65s var(--ease-out-expo), filter 0.45s ease, opacity 0.45s ease;
}

body.color-mode-active .work-card-media img,
.work-card:hover .work-card-media img {
  filter: grayscale(0%) contrast(1);
  opacity: 1;
  transform: scale(1.04);
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 26px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.work-card:hover .work-card-overlay {
  opacity: 1;
}

.work-card-tag {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--canary);
  margin-bottom: 4px;
}

.work-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.work-card-zoom {
  width: 34px;
  height: 34px;
  background: var(--canary);
  color: var(--coal-void);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 15px;
}

.work-cta-banner {
  background: var(--coal-void);
  color: var(--text-light);
  padding: 36px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-left: 6px solid var(--canary);
  box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.14);
  flex-wrap: wrap;
}

.work-cta-text h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--canary);
  margin-bottom: 4px;
}

.work-cta-text p {
  color: var(--text-light-muted);
  font-size: 0.98rem;
}

@media (max-width: 900px) {
  .work-card,
  .work-card:nth-child(n) {
    grid-column: span 12;
  }
}

/* ==========================================================================
   SECTION 03 — ABOUT (DEB TREBILCOCK — LEAD CANARY DOSSIER)
   ========================================================================== */
.about-section {
  position: relative;
  background-color: var(--coal-void);
  color: var(--text-light);
  padding: 140px 0;
  overflow: hidden;
}

.about-parallax-bg {
  position: absolute;
  inset: 0;
  background-image: url('../wp-content/uploads/2018/01/mine-web.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: contrast(1.15) brightness(0.32);
  z-index: 1;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.92) 0%, rgba(15, 15, 18, 0.78) 50%, rgba(0, 0, 0, 0.94) 100%);
  z-index: 2;
}

/* Preserve the jagged stratum divider vibe top & bottom */
.stratum-divider-top,
.stratum-divider-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 44px;
  z-index: 5;
  pointer-events: none;
  background-size: 100% 44px;
  background-repeat: no-repeat;
}

.stratum-divider-top {
  top: -1px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNmNGY0ZjQiPjxwYXRoIGQ9Ik0wIDBsNjQuOCAzMC45NSA5MS4yLTIuNTQgOTUuNDYgMjcuODcgMTIwLjA0LjJMNDQzIDgzLjE1bDkwLjA5LTMuMTJMNjQwIDExMC4xMmwxMDIuMzktMjkuNzMgODUuNTUgOC41MSA4OC4xMS01Ljc1TDk5MiA1Mi4yMmw3My4yMSA0LjI2TDExMzIgMzguNzlsNzctLjMzTDEyODAgMHYxNDBIMFYweiIgZmlsbC1vcGFjaXR5PSIuNSIvPjxwYXRoIGQ9Ik0wIDBsNjQuOCAzOC42OSA5MS4yLTMuMTggOTUuNDYgMzQuODQgMTIwLjA0LjI0IDcxLjUgMzMuMzUgOTAuMDktMy45MUw2NDAgMTM3LjY1bDEwMi4zOS0zNy4xNyA4NS41NSAxMC42NSA4OC4xMS03LjE5TDk5MiA2NS4yOGw3My4yMSA1LjMxIDY2Ljc5LTIyLjEgNzctLjQxTDEyODAgMHYxNDBIMFYweiIvPjwvZz48L3N2Zz4=");
  transform: scale(1, -1);
}

.stratum-divider-bottom {
  bottom: -1px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNmNGY0ZjQiPjxwYXRoIGQ9Ik0xNTYgMzUuNDFsOTUuNDYgMzQuNzMgMTIwLjA0LjI1IDcxLjUgMzMuMjQgOTAuMDktMy44OUw2NDAgMTM3LjI1bDEwMi4zOS0zNy4wNiA4NS41NSAxMC42MSA4OC4xMS03LjE3TDk5MiA2NS4wOGw3My4yMSA1LjMxTDExMzIgNDguMzVsNzctLjQyTDEyODAgMEgwbDY0LjggMzguNTcgOTEuMi0zLjE2eiIgZmlsbC1vcGFjaXR5PSIuNSIvPjxwYXRoIGQ9Ik0xNTYgMjguMzJsOTUuNDYgMjcuNzkgMTIwLjA0LjJMNDQzIDgyLjlsOTAuMDktMy4xMUw2NDAgMTA5LjhsMTAyLjM5LTI5LjY1IDg1LjU1IDguNDkgODguMTEtNS43NEw5OTIgNTIuMDdsNzMuMjEgNC4yNEwxMTMyIDM4LjY4bDc3LS4zNEwxMjgwIDBIMGw2NC44IDMwLjg2IDkxLjItMi41NHoiLz48L2c+PC9zdmc+");
  transform: scale(1, -1);
}

.about-dossier-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-portrait-col {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}

.about-portrait-frame {
  position: relative;
  border: 2px solid var(--canary);
  background: var(--coal-dark);
  padding: 14px;
  box-shadow: 16px 16px 0px rgba(255, 205, 0, 0.18);
}

.about-portrait-frame img {
  width: 100%;
  height: auto;
  filter: grayscale(100%) contrast(1.08) brightness(1.06);
  transition: filter 0.5s ease, transform 0.5s var(--ease-out-expo);
}

.about-portrait-frame:hover img {
  filter: saturate(88%) brightness(110%);
}

.about-portrait-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px 2px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--canary);
}

.about-copy-col .section-display-title {
  color: var(--text-light);
  margin-bottom: 12px;
}

.about-name-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.about-name {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--canary);
  font-weight: 400;
}

.about-role-badge {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  background: rgba(255, 205, 0, 0.14);
  border: 1px solid var(--canary);
  color: var(--canary);
}

.about-bio-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.about-bio-paragraphs p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #e8e8e8;
}

.about-bio-paragraphs p:nth-child(3) {
  padding: 14px 20px;
  background: rgba(255, 205, 0, 0.08);
  border-left: 3px solid var(--canary);
  color: var(--text-light);
  font-style: italic;
}

.about-credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.credential-chip {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-light-muted);
}

.credential-chip strong {
  display: block;
  color: var(--canary);
  font-size: 12px;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.linkedin-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--canary);
  color: var(--canary);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.linkedin-inline-btn:hover {
  background: var(--canary);
  color: var(--coal-void);
}

@media (max-width: 960px) {
  .about-dossier-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 560px) {
  .about-credentials-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SECTION 04 — PURPOSE & VALUES (CODE OF CONDUCT IN THE COAL MINE)
   ========================================================================== */
.values-section {
  position: relative;
  background-color: var(--paper-stone);
  color: var(--text-dark);
  padding: 110px 0 130px;
}

.purpose-monolith {
  background: var(--coal-void);
  color: var(--text-light);
  padding: 56px 48px;
  margin-bottom: 84px;
  position: relative;
  border-bottom: 6px solid var(--canary);
  box-shadow: 14px 14px 0px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}

.purpose-label-col {
  border-right: 2px solid rgba(255, 205, 0, 0.35);
  padding-right: 48px;
}

.purpose-label-col h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.5vw, 3.6rem);
  color: var(--canary);
  line-height: 1;
}

.purpose-statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.35;
  color: var(--text-light);
}

.purpose-statement span {
  color: var(--canary);
  text-decoration: underline;
  text-decoration-color: rgba(255, 205, 0, 0.45);
  text-underline-offset: 6px;
}

.values-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.values-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  color: var(--text-dark-dim);
  margin-top: 8px;
}

.values-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-pillar {
  background: var(--paper-white);
  border: 2px solid var(--coal-void);
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 8px 0px var(--coal-void);
  transition: all 0.35s var(--ease-out-expo);
}

.value-pillar:hover {
  transform: translateY(-8px);
  box-shadow: 12px 12px 0px var(--canary);
}

.value-pillar-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 2rem;
  color: rgba(0, 0, 0, 0.07);
  line-height: 1;
}

.value-icon-circle {
  width: 68px;
  height: 68px;
  background: var(--canary);
  color: var(--coal-void);
  border: 2px solid var(--coal-void);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.35s var(--ease-out-expo);
}

.value-pillar:hover .value-icon-circle {
  transform: scale(1.08) rotate(-4deg);
  background: var(--coal-void);
  color: var(--canary);
}

.value-icon-circle .et-pb-icon {
  font-family: var(--font-icon);
  font-size: 32px;
  line-height: 1;
}

.value-pillar-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.55rem;
  color: var(--coal-void);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--canary);
}

.value-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--coal-charcoal);
}

.value-checklist li::before {
  content: '✓';
  font-family: var(--font-ui);
  font-weight: 900;
  font-size: 12px;
  color: var(--coal-void);
  background: var(--canary);
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 1080px) {
  .values-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .purpose-monolith {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 28px;
  }
  .purpose-label-col {
    border-right: none;
    border-bottom: 2px solid rgba(255, 205, 0, 0.35);
    padding-right: 0;
    padding-bottom: 16px;
  }
}

@media (max-width: 600px) {
  .values-pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SECTION 05 — CLIENTS & KIND WORDS
   ========================================================================== */
.clients-section {
  position: relative;
  background: linear-gradient(180deg, #0b0b0e 0%, #000000 100%);
  color: var(--text-light);
  padding: 120px 0 130px;
  border-top: 3px solid var(--canary);
}

.clients-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.clients-header .section-display-title {
  color: var(--text-light);
}

.clients-subhead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  color: rgba(183, 183, 183, 0.72);
  font-weight: 400;
  margin-top: 8px;
}

.clients-logo-matrix {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 110px;
}

.client-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  min-height: 140px;
  transition: all 0.35s var(--ease-out-expo);
}

.client-logo-cell:last-child {
  border-right: none;
}

.client-logo-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--canary);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.client-logo-cell:hover {
  background: rgba(255, 205, 0, 0.05);
}

.client-logo-cell:hover::after {
  opacity: 1;
}

.client-logo-cell img {
  max-height: 64px;
  max-width: 135px;
  width: auto;
  height: auto;
  filter: grayscale(100%) brightness(1.15);
  opacity: 0.75;
  transition: all 0.35s var(--ease-out-expo);
}

.client-logo-cell:hover img {
  filter: grayscale(0%) brightness(1.15);
  opacity: 1;
  transform: scale(1.08);
}

@media (max-width: 1100px) {
  .clients-logo-matrix {
    grid-template-columns: repeat(4, 1fr);
  }
  .client-logo-cell {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 640px) {
  .clients-logo-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Kind Words — Balanced 3-Column Editorial Grid */
.kind-words-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.kind-words-header .section-display-title {
  color: var(--text-light);
  margin-bottom: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.testimonial-card {
  background: var(--coal-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.35s var(--ease-out-expo);
}

.testimonial-card:hover {
  border-color: var(--canary);
  transform: translateY(-6px);
  box-shadow: 10px 10px 0px rgba(255, 205, 0, 0.2);
}

.testimonial-quote-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 205, 0, 0.12);
  border: 1px solid rgba(255, 205, 0, 0.4);
  color: var(--canary-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.testimonial-quote-icon .et-pb-icon {
  font-family: var(--font-icon);
  font-size: 24px;
  line-height: 1;
}

.testimonial-body {
  font-size: 0.96rem;
  line-height: 1.82;
  color: #d8d8dc;
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author-bar {
  width: 4px;
  height: 34px;
  background: var(--canary);
  flex-shrink: 0;
}

.testimonial-author-info strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-light);
}

.testimonial-author-info span {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--canary);
  letter-spacing: 0.06em;
}

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

/* ==========================================================================
   SECTION 06 — SO WHAT'S WITH THE CANARY ANYWAY? & TIMELINE COUNTERS
   ========================================================================== */
.canary-story-section {
  position: relative;
  background-color: var(--paper-stone);
  color: var(--text-dark);
  overflow: hidden;
}

.canary-story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}

.canary-story-visual {
  position: relative;
  background-color: var(--coal-void);
  overflow: hidden;
  min-height: 480px;
}

.canary-story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: contrast(1.08);
  transition: transform 0.8s var(--ease-out-expo);
}

.canary-story-split:hover .canary-story-visual img {
  transform: scale(1.03);
}

.canary-image-caption-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(8px);
  border-left: 4px solid var(--canary);
  padding: 12px 18px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-style: italic;
}

.canary-story-content {
  padding: 96px 8% 96px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper-stone);
  position: relative;
}

.canary-story-content .section-display-title {
  font-size: clamp(2.4rem, 4.2vw, 3.5rem);
  margin-bottom: 28px;
}

.canary-story-content p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--coal-charcoal);
  margin-bottom: 20px;
}

.canary-story-highlight {
  padding: 22px 26px;
  background: var(--coal-void);
  color: var(--text-light);
  border-left: 5px solid var(--canary);
  margin-top: 12px;
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.12);
}

.canary-story-highlight p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 1.05rem;
}

@media (max-width: 960px) {
  .canary-story-split {
    grid-template-columns: 1fr;
  }
  .canary-story-visual {
    min-height: 440px;
  }
  .canary-story-content {
    padding: 64px 24px;
  }
}

/* Historical Timeline Counters Band */
.canary-counters-band {
  position: relative;
  background-color: var(--coal-void);
  padding: 84px 0;
  border-top: 3px solid var(--canary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.canary-counters-bg {
  position: absolute;
  inset: 0;
  background-image: url('../wp-content/uploads/2018/01/mine-web.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.22;
  z-index: 1;
}

.canary-counters-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  max-width: 980px;
  margin: 0 auto;
}

.counter-card {
  background: rgba(15, 15, 18, 0.85);
  border: 1px solid rgba(255, 205, 0, 0.3);
  padding: 36px 32px;
  text-align: center;
  position: relative;
  backdrop-filter: blur(8px);
}

.counter-number {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 4.75rem);
  color: var(--canary);
  line-height: 1.05;
  margin-bottom: 10px;
  text-shadow: 0 4px 24px rgba(255, 205, 0, 0.25);
}

.counter-title {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.counter-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--canary);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.counter-connector-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--canary), rgba(255, 205, 0, 0.3), var(--canary));
}

@media (max-width: 768px) {
  .canary-counters-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .counter-connector-line {
    width: 2px;
    height: 32px;
  }
}

/* ==========================================================================
   SECTION 07 — CONTACT ("SAY HI THE EASY WAY")
   ========================================================================== */
.contact-section {
  position: relative;
  background-color: var(--coal-void);
  color: var(--text-light);
  padding: 120px 0 80px;
  overflow: hidden;
}

.contact-parallax-bg {
  position: absolute;
  inset: 0;
  background-image: url('../wp-content/uploads/2018/01/mine-web.jpg');
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
  filter: contrast(1.15) brightness(0.28);
  z-index: 1;
}

.contact-inner {
  position: relative;
  z-index: 3;
}

.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-header .section-display-title {
  color: var(--text-light);
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(12, 12, 15, 0.88);
  border: 2px solid rgba(255, 205, 0, 0.45);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  backdrop-filter: blur(14px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.75);
}

.contact-card--split {
  max-width: 1080px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  text-align: left;
}

.contact-card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--canary);
  margin-bottom: 24px;
}

.contact-email-box {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 205, 0, 0.35);
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-email-box:hover {
  border-color: var(--canary);
  background: rgba(255, 205, 0, 0.08);
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 400;
}

.contact-email-link .et-pb-icon {
  font-family: var(--font-icon);
  font-size: 26px;
  color: var(--canary);
}

.contact-email-link:hover {
  color: var(--canary);
}

.copy-email-btn {
  background: var(--canary);
  color: var(--coal-void);
  border: none;
  padding: 6px 12px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-email-btn:hover {
  background: var(--text-light);
}

.contact-coffee-note {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 32px;
}

.contact-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.contact-card--split .contact-social-row {
  justify-content: flex-start;
}

.social-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 205, 0, 0.45);
  color: var(--canary);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-pill-link:hover {
  background: var(--canary);
  color: var(--coal-void);
}

/* Contact Form (used on projects/index.html) */
.canary-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.canary-form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 6px;
}

.canary-form-input,
.canary-form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.canary-form-input:focus,
.canary-form-textarea:focus {
  outline: none;
  border-color: var(--canary);
  background: rgba(255, 255, 255, 0.12);
}

.canary-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.feathers-signature {
  display: flex;
  justify-content: flex-end;
  max-width: 980px;
  margin: 36px auto 0;
  padding-right: 24px;
}

.feathers-signature img {
  width: 210px;
  height: auto;
  animation: featherFloat 5s ease-in-out infinite;
}

@keyframes featherFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1.5deg); }
}

@media (max-width: 860px) {
  .contact-card {
    padding: 40px 24px;
  }
  .contact-card--split {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SITE FOOTER & BACK TO TOP
   ========================================================================== */
.site-footer {
  background-color: #050506;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 0;
  font-size: 0.9rem;
}

.site-footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-dot {
  width: 8px;
  height: 8px;
  background: var(--canary);
  display: inline-block;
}

.back-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--canary);
  color: var(--coal-void);
  border: 2px solid var(--coal-void);
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 995;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.3s var(--ease-out-expo);
}

.back-to-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top-btn:hover {
  background: var(--coal-void);
  color: var(--canary);
  border-color: var(--canary);
  transform: translateY(-3px);
}

/* ==========================================================================
   PROJECTS PAGE (projects/index.html) CASE STUDY STYLES
   ========================================================================== */
.projects-hero {
  min-height: 58vh;
  padding: 110px 0 80px;
}

.project-jump-bar {
  position: sticky;
  top: 66px;
  z-index: 950;
  background: var(--coal-deep);
  border-bottom: 1px solid rgba(255, 205, 0, 0.28);
  padding: 12px 0;
  overflow-x: auto;
}

.project-jump-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.project-jump-label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--canary);
  margin-right: 8px;
}

.project-jump-pill {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-light-muted);
  background: rgba(255, 255, 255, 0.03);
}

.project-jump-pill:hover,
.project-jump-pill.active {
  background: var(--canary);
  color: var(--coal-void);
  border-color: var(--canary);
  font-weight: 700;
}

.case-study-section {
  padding: 100px 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  position: relative;
}

.case-study-section--light {
  background-color: var(--paper-white);
  color: var(--text-dark);
}

.case-study-section--stone {
  background-color: var(--paper-stone);
  color: var(--text-dark);
}

.case-study-section--graph {
  background-color: var(--paper-white);
  background-image: url('../wp-content/uploads/2022/02/graph-light-01.png');
  background-size: cover;
  background-position: center;
  color: var(--text-dark);
}

.case-study-section--dark {
  background-color: var(--coal-deep);
  color: var(--text-light);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.case-study-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: end;
  padding-bottom: 36px;
  margin-bottom: 48px;
  border-bottom: 2px solid currentColor;
  position: relative;
}

.case-study-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 120px;
  height: 5px;
  background: var(--canary);
}

.case-study-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 12px;
}

.case-study-scope {
  font-size: 1.12rem;
  line-height: 1.65;
  opacity: 0.85;
}

.case-study-meta-box {
  background: var(--coal-void);
  color: var(--text-light);
  padding: 22px 26px;
  border-left: 4px solid var(--canary);
  font-family: var(--font-ui);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-study-section--dark .case-study-meta-box {
  background: var(--coal-card);
}

.case-study-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.case-study-meta-row span:first-child {
  color: var(--canary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* Case Study Feature Media Layouts */
.forward-hero-showcase {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  margin-bottom: 48px;
  align-items: stretch;
}

.forward-left-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.forward-logo-banner {
  background: var(--paper-stone);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.forward-logo-banner img {
  max-height: 90px;
  width: auto;
}

.forward-banners-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.media-frame {
  background: var(--paper-white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 10px;
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.08);
  transition: all 0.35s var(--ease-out-expo);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.case-study-section--dark .media-frame {
  background: var(--coal-card);
  border-color: rgba(255, 255, 255, 0.12);
}

.media-frame:hover {
  transform: translateY(-4px);
  border-color: var(--canary);
  box-shadow: 8px 8px 0px var(--canary);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Interactive Publication Viewer & Spread Grid */
.publication-showcase {
  background: var(--coal-void);
  color: var(--text-light);
  border: 2px solid var(--coal-void);
  padding: 36px;
  margin-top: 36px;
  box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.14);
}

.publication-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.publication-toolbar-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.publication-toolbar-title h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--canary);
}

.publication-count-badge {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  background: rgba(255, 205, 0, 0.15);
  color: var(--canary);
  border: 1px solid rgba(255, 205, 0, 0.35);
}

.publication-spreads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.publication-spreads-grid.compact-grid {
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
}

.spread-thumb {
  position: relative;
  background: var(--coal-card);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.spread-thumb:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--canary);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.spread-thumb img {
  width: 100%;
  aspect-ratio: 400 / 284;
  object-fit: cover;
  display: block;
}

.spread-page-num {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.82);
  color: var(--canary);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border: 1px solid rgba(255, 205, 0, 0.4);
}

@media (max-width: 900px) {
  .case-study-header,
  .forward-hero-showcase {
    grid-template-columns: 1fr;
  }
  .publication-showcase {
    padding: 20px;
  }
}

/* ==========================================================================
   FULLSCREEN LIGHTBOX MODAL
   ========================================================================== */
.canary-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(5, 5, 7, 0.95);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.canary-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.6);
}

.lightbox-counter {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--canary);
  text-transform: uppercase;
}

.lightbox-close {
  background: var(--canary);
  color: var(--coal-void);
  border: none;
  width: 40px;
  height: 40px;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.lightbox-stage {
  position: relative;
  max-width: 90vw;
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-stage img {
  max-width: 90vw;
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 2px solid rgba(255, 205, 0, 0.4);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.9);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid var(--canary);
  color: var(--canary);
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lightbox-nav-btn:hover {
  background: var(--canary);
  color: var(--coal-void);
}

.lightbox-nav-btn--prev {
  left: 24px;
}

.lightbox-nav-btn--next {
  right: 24px;
}

.lightbox-caption {
  margin-top: 18px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-light);
  text-align: center;
}

/* ==========================================================================
   SCROLL ANIMATIONS (PRESERVING ORIGINAL DIVI ANIMATION VIBE)
   foldBottom, slideBottom, slideLeft, flipRight, zoomRight, fade
   ========================================================================== */
[data-animate] {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity 0.85s var(--ease-out-expo),
    transform 0.85s var(--ease-out-expo);
}

[data-animate="foldBottom"] {
  transform: perspective(900px) translateY(42px) rotateX(-16deg);
  transform-origin: bottom center;
}

[data-animate="slideBottom"] {
  transform: translateY(48px);
}

[data-animate="slideLeft"] {
  transform: translateX(48px);
}

[data-animate="flipRight"] {
  transform: perspective(900px) rotateY(-24deg) translateX(-24px);
}

[data-animate="zoomRight"] {
  transform: scale(0.84) translateX(-36px);
}

[data-animate="fade"] {
  transform: translateY(12px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: perspective(900px) translate3d(0, 0, 0) rotateX(0) rotateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
