/* ==========================================================================
   COALMINE CANARY — BESPOKE EDITORIAL PORTFOLIO & DEPTH TELEMETRY SYSTEM
   Brand Colours:
     Yellow : #FFCD00 (Primary brand colour and highlights)
     Black  : #000000 (Main typography and contrast)
     White  : #FFFFFF (Primary background and negative space)
     Grey   : #8E8E8E (Body copy and secondary text)
   Typography:
     H1, H2, H3 : 'Bree Serif'
     H4, H5, H6, Body, Nav, UI : 'ABeeZee'
   Strict Geometry Rule:
     ALL corner radii across the entire website = 0px.
   ========================================================================== */

@font-face {
  font-family: 'Bree Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/BreeSerif-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'ABeeZee';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ABeeZee-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'ABeeZee';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ABeeZee-Italic.woff2') format('woff2');
}

:root {
  --yellow: #FFCD00;
  --black: #000000;
  --white: #FFFFFF;
  --grey: #8E8E8E;

  /* Functional tints/borders derived strictly from Black, White, Yellow, Grey */
  --black-95: rgba(0, 0, 0, 0.95);
  --black-85: rgba(0, 0, 0, 0.85);
  --black-12: rgba(0, 0, 0, 0.12);
  --black-06: rgba(0, 0, 0, 0.06);
  --white-90: rgba(255, 255, 255, 0.90);
  --white-20: rgba(255, 255, 255, 0.20);
  --white-12: rgba(255, 255, 255, 0.12);
  --yellow-20: rgba(255, 205, 0, 0.20);

  --font-heading: 'Bree Serif', Georgia, serif;
  --font-body: 'ABeeZee', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max: 1400px;
  --gutter: clamp(1.25rem, 3.5vw, 3.5rem);
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   GLOBAL RESET & STRICT ZERO CORNER RADIUS ENFORCEMENT
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0px !important;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.68;
  color: var(--grey);
  background-color: var(--white);
  overflow-x: hidden;
}

::selection {
  background-color: var(--yellow);
  color: var(--black);
}

/* Typography Hierarchy */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--black);
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--black);
}

p, li, a, button, input, textarea, label, span, figcaption {
  font-family: var(--font-body);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-smooth),
              background-color 0.25s var(--ease-smooth),
              border-color 0.25s var(--ease-smooth),
              transform 0.3s var(--ease-editorial);
}

ul, ol {
  list-style: none;
}

button, input, textarea {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0px !important;
  font-family: var(--font-body);
}

/* Accessibility Skip Link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  background: var(--yellow);
  color: var(--black);
  padding: 12px 20px;
  font-size: 0.9rem;
  z-index: 10005;
  border: 2px solid var(--black);
}

.skip-link:focus {
  top: 16px;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
}

/* ==========================================================================
   TOP SCROLL PROGRESS BAR & EDITORIAL HEADER
   ========================================================================== */
.scroll-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--black);
  z-index: 2000;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--yellow);
  transition: width 0.08s linear;
}

.site-header {
  position: sticky;
  top: 4px;
  left: 0;
  width: 100%;
  z-index: 1500;
  background-color: var(--black);
  color: var(--white);
  border-bottom: 2px solid var(--yellow);
  transition: padding 0.3s var(--ease-editorial), background-color 0.3s var(--ease-smooth);
}

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

.site-header.is-scrolled .site-header-inner {
  padding: 10px var(--gutter);
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-link img {
  height: 40px;
  width: auto;
  display: block;
  transition: transform 0.3s var(--ease-editorial);
}

.brand-logo-link:hover img {
  transform: translateY(-2px);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
}

.primary-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 32px);
  margin: 0;
  padding: 0;
}

.primary-nav-list li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.primary-nav-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
  padding: 10px 2px;
  font-size: 0.92rem;
  color: var(--white);
  position: relative;
  letter-spacing: 0.03em;
}

.primary-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-editorial);
}

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

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

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-cta-btn {
  padding: 12px 22px;
  background-color: var(--yellow);
  color: var(--black);
  border: 2px solid var(--yellow);
  font-size: 0.84rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.header-cta-btn:hover {
  background-color: var(--black);
  color: var(--yellow);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--black);
  border: 2px solid var(--yellow);
  color: var(--yellow);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--yellow);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.mobile-menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

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

/* ==========================================================================
   INTERACTIVE SUBTERRANEAN DEPTH CHART NAVIGATION (DESKTOP + MOBILE)
   ========================================================================== */
.depth-chart-rail {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1400;
  background-color: var(--black);
  border: 2px solid var(--yellow);
  padding: 14px 12px;
  width: 196px;
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease-editorial), width 0.3s var(--ease-editorial);
}

.depth-chart-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--white-20);
}

.depth-chart-title {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.depth-chart-live {
  font-size: 0.75rem;
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--yellow);
  padding: 2px 6px;
}

.depth-chart-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Mine shaft vertical gauge track */
.depth-shaft-track {
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-color: var(--white-20);
  pointer-events: none;
}

.depth-shaft-fill {
  width: 100%;
  height: 0%;
  background-color: var(--yellow);
  transition: height 0.15s linear;
}

.depth-level-btn {
  display: grid;
  grid-template-columns: 16px 52px 1fr;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 6px 6px 6px 0;
  background: transparent;
  border: 1px solid transparent;
  text-align: left;
  cursor: pointer;
  color: var(--grey);
  transition: all 0.2s var(--ease-smooth);
}

.depth-level-node {
  width: 10px;
  height: 10px;
  background-color: var(--black);
  border: 2px solid var(--grey);
  margin-left: 2px;
  position: relative;
  z-index: 2;
  transition: all 0.2s var(--ease-smooth);
}

.depth-level-meters {
  font-size: 0.74rem;
  color: var(--white);
  letter-spacing: 0.04em;
}

.depth-level-name {
  font-size: 0.76rem;
  color: var(--grey);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.depth-level-btn:hover {
  background-color: var(--white-12);
  color: var(--white);
}

.depth-level-btn:hover .depth-level-node {
  border-color: var(--yellow);
  background-color: var(--yellow);
}

.depth-level-btn:hover .depth-level-name {
  color: var(--white);
}

.depth-level-btn.is-active {
  background-color: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.depth-level-btn.is-active .depth-level-node {
  background-color: var(--black);
  border-color: var(--black);
}

.depth-level-btn.is-active .depth-level-meters,
.depth-level-btn.is-active .depth-level-name {
  color: var(--black);
}

/* Mobile / Tablet Compact Horizontal Depth Bar */
.mobile-depth-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1450;
  background-color: var(--black);
  border-top: 2px solid var(--yellow);
  padding: 8px 12px;
}

.mobile-depth-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mobile-depth-scroll::-webkit-scrollbar {
  display: none;
}

.mobile-depth-chip {
  flex-shrink: 0;
  padding: 6px 10px;
  border: 1px solid var(--white-20);
  background: var(--black);
  color: var(--white);
  font-size: 0.74rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mobile-depth-chip span {
  color: var(--yellow);
}

.mobile-depth-chip.is-active {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.mobile-depth-chip.is-active span {
  color: var(--black);
}

/* Adjust main content right padding on wide screens so fixed depth chart never overlaps text */
@media (min-width: 1280px) {
  .has-depth-clearance {
    padding-right: 220px;
  }
}

@media (max-width: 1279px) {
  .depth-chart-rail {
    display: none;
  }
  .mobile-depth-bar {
    display: block;
  }
  body {
    padding-bottom: 52px;
  }
}

@media (max-width: 1040px) {
  .mobile-menu-btn {
    display: inline-flex;
  }
  .primary-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 3px solid var(--yellow);
    padding: 24px var(--gutter);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease-editorial), opacity 0.25s ease;
  }
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 4px;
  }
  .primary-nav-list li {
    width: 100%;
  }
  .primary-nav-link {
    width: 100%;
    padding: 12px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--white-12);
  }
}

@media (max-width: 560px) {
  .header-cta-btn {
    padding: 10px 14px;
    font-size: 0.76rem;
  }
}

/* ==========================================================================
   BUTTONS & EDITORIAL TAGS (ZERO CORNER RADIUS)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 30px;
  font-size: 0.92rem;
  line-height: 1.1;
  white-space: nowrap;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid var(--black);
  transition: all 0.25s var(--ease-editorial);
}

.btn--yellow {
  background-color: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  box-shadow: 6px 6px 0px var(--black);
}

.btn--yellow:hover {
  background-color: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px var(--yellow);
}

.btn--yellow-on-light {
  background-color: var(--yellow);
  color: var(--black);
  border-color: var(--black);
  box-shadow: 6px 6px 0px var(--black);
}

.btn--yellow-on-light:hover {
  background-color: var(--black);
  color: var(--yellow);
  border-color: var(--black);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0px var(--yellow);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline-light:hover {
  background-color: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  transform: translate(-2px, -2px);
}

.btn--black {
  background-color: var(--black);
  color: var(--yellow);
  border-color: var(--black);
  box-shadow: 6px 6px 0px var(--white);
}

.btn--black:hover {
  background-color: var(--white);
  color: var(--black);
  border-color: var(--black);
  transform: translate(-2px, -2px);
}

.editorial-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid currentColor;
}

.editorial-kicker--yellow {
  background-color: var(--yellow);
  color: var(--black);
  border-color: var(--black);
}

.editorial-kicker--dark {
  background-color: var(--black);
  color: var(--yellow);
  border-color: var(--yellow);
}

.editorial-kicker--outline {
  background-color: transparent;
  color: var(--black);
  border-color: var(--black);
}

/* ==========================================================================
   SECTION 1: HEADER / HERO (00m – SURFACE / HOME)
   Image-led editorial collage (NO video background)
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--black);
  color: var(--white);
  padding: clamp(3.5rem, 6vw, 6rem) 0 clamp(4rem, 7vw, 6.5rem);
  border-bottom: 6px solid var(--yellow);
  overflow: hidden;
}

/* Subtle mine stratum texture backdrop using existing mine-web.jpg */
.hero-stratum-bg {
  position: absolute;
  inset: 0;
  background-image: url('../wp-content/uploads/2018/01/mine-web.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  filter: grayscale(100%) contrast(130%);
  pointer-events: none;
}

/* Editorial architectural grid lines */
.hero-architectural-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(2.5rem, 4.5vw, 4.5rem);
  align-items: center;
}

.hero-brand-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-canary-badge {
  background-color: var(--yellow);
  color: var(--black);
  padding: 6px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 2px solid var(--yellow);
}

.hero-location-tag {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.85rem, 5.4vw, 5.15rem);
  line-height: 1.03;
  color: var(--white);
  margin-bottom: 26px;
}

.hero-headline .highlight-yellow {
  color: var(--yellow);
  display: inline-block;
  border-bottom: 4px solid var(--yellow);
  padding-bottom: 2px;
}

.hero-supporting-copy {
  font-size: clamp(1.12rem, 1.5vw, 1.35rem);
  color: var(--grey);
  max-width: 54ch;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.hero-emblem-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid var(--white-20);
}

.hero-emblem-logo {
  width: 150px;
  height: auto;
  flex-shrink: 0;
}

.hero-emblem-caption {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.5;
}

.hero-emblem-caption strong {
  color: var(--white);
  font-weight: 400;
}

/* Right Column: Interactive Editorial Portfolio Collage Showcase */
.hero-collage-stage {
  position: relative;
}

.hero-main-frame {
  position: relative;
  background-color: var(--white);
  border: 4px solid var(--yellow);
  padding: 14px;
  box-shadow: 14px 14px 0px var(--yellow);
}

.hero-main-frame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--black);
  color: var(--white);
  padding: 8px 14px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-main-frame-header span:last-child {
  color: var(--yellow);
}

.hero-Featured-viewport {
  position: relative;
  background-color: var(--black);
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  cursor: pointer;
}

.hero-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-editorial), opacity 0.35s ease;
}

.hero-Featured-viewport:hover .hero-featured-img {
  transform: scale(1.03);
}

.hero-featured-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px 2px;
  color: var(--black);
}

.hero-featured-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--black);
}

.hero-featured-cat {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  background-color: var(--yellow);
  color: var(--black);
  border: 1px solid var(--black);
}

/* Interactive Thumbnails Strip below Hero Frame */
.hero-collage-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.hero-thumb-btn {
  background: var(--black);
  border: 2px solid var(--white-20);
  padding: 3px;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  position: relative;
}

.hero-thumb-btn img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.25s ease;
}

.hero-thumb-btn:hover img,
.hero-thumb-btn.is-active img {
  filter: grayscale(0%);
}

.hero-thumb-btn.is-active {
  border-color: var(--yellow);
  background: var(--yellow);
  transform: translateY(-3px);
}

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-main-frame {
    box-shadow: 8px 8px 0px var(--yellow);
  }
}

/* ==========================================================================
   EDITORIAL CAPABILITIES TICKER BAND
   ========================================================================== */
.editorial-ticker {
  background-color: var(--yellow);
  color: var(--black);
  border-bottom: 2px solid var(--black);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.editorial-ticker-track {
  display: inline-flex;
  align-items: center;
  animation: canaryMarquee 32s linear infinite;
}

.editorial-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--black);
  letter-spacing: 0.02em;
}

.editorial-ticker-square {
  width: 8px;
  height: 8px;
  background-color: var(--black);
  display: inline-block;
}

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

/* ==========================================================================
   SECTION 2: INTRODUCTION SECTION (SURFACE TRANSITION)
   Generous whitespace, Lobster-inspired oversized editorial typography
   ========================================================================== */
.intro-section {
  background-color: var(--white);
  color: var(--black);
  padding: clamp(5rem, 9vw, 8.5rem) 0;
  border-bottom: 2px solid var(--black);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 5vw, 5.5rem);
  align-items: start;
}

.intro-heading {
  font-size: clamp(2.4rem, 4.4vw, 4.1rem);
  line-height: 1.08;
  margin-bottom: 32px;
  color: var(--black);
}

.intro-heading span {
  background-color: var(--yellow);
  padding: 0 10px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.intro-copy-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  color: var(--grey);
  max-width: 62ch;
}

.intro-copy-stack p:first-child {
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  color: var(--black);
  line-height: 1.55;
}

.intro-pillars-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px solid var(--black);
}

.intro-pillar-box {
  border-left: 4px solid var(--yellow);
  padding-left: 14px;
}

.intro-pillar-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
}

.intro-pillar-label {
  font-size: 0.84rem;
  color: var(--grey);
  line-height: 1.4;
}

/* Right Side Visual Composition of Real Work */
.intro-visual-composition {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.intro-card-primary {
  grid-column: 1 / -1;
  border: 2px solid var(--black);
  background: var(--white);
  padding: 12px;
  box-shadow: 10px 10px 0px var(--yellow);
  cursor: pointer;
}

.intro-card-secondary {
  border: 2px solid var(--black);
  background: var(--black);
  color: var(--white);
  padding: 10px;
  cursor: pointer;
}

.intro-card-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  font-size: 0.78rem;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.intro-card-secondary .intro-card-caption {
  color: var(--yellow);
}

@media (max-width: 960px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .intro-pillars-strip {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SECTION 3: SERVICES SECTION (-120m – SERVICES)
   Asymmetrical Editorial Layout with Different-Sized Blocks & Real Work
   ========================================================================== */
.services-section {
  background-color: var(--black);
  color: var(--white);
  padding: clamp(5.5rem, 9vw, 8.5rem) 0;
  border-bottom: 6px solid var(--yellow);
}

.section-header-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  padding-bottom: 48px;
  margin-bottom: 56px;
  border-bottom: 2px solid var(--white-20);
}

.section-oversized-title {
  font-size: clamp(3rem, 6.2vw, 5.4rem);
  line-height: 0.98;
  color: var(--white);
}

.section-oversized-title--dark {
  color: var(--black);
}

.section-header-desc {
  font-size: 1.08rem;
  color: var(--grey);
  max-width: 48ch;
  justify-self: end;
}

/* 12-Column Asymmetrical Editorial Services Matrix */
.services-editorial-matrix {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.service-block {
  background-color: var(--black);
  border: 2px solid var(--white-20);
  padding: clamp(1.75rem, 2.8vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  transition: border-color 0.25s var(--ease-smooth), transform 0.3s var(--ease-editorial), box-shadow 0.3s var(--ease-editorial);
}

.service-block:hover {
  border-color: var(--yellow);
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0px var(--yellow);
}

/* Different-sized editorial blocks */
.service-block--span-7 { grid-column: span 7; }
.service-block--span-5 { grid-column: span 5; }
.service-block--span-4 { grid-column: span 4; }
.service-block--span-8 { grid-column: span 8; }
.service-block--span-6 { grid-column: span 6; }

/* Highlighted yellow feature block for variety */
.service-block--yellow {
  background-color: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.service-block--yellow:hover {
  border-color: var(--white);
  box-shadow: 8px 8px 0px var(--white);
}

/* Crisp White feature block for editorial contrast */
.service-block--white {
  background-color: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.service-block--white:hover {
  border-color: var(--yellow);
  box-shadow: 8px 8px 0px var(--yellow);
}

.service-block-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--white-20);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.service-block--yellow .service-block-top,
.service-block--white .service-block-top {
  border-bottom-color: var(--black-12);
}

.service-num-badge {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--yellow);
}

.service-block--yellow .service-num-badge,
.service-block--white .service-num-badge {
  color: var(--black);
}

.service-svg-icon {
  width: 44px;
  height: 44px;
  border: 2px solid var(--yellow);
  background-color: var(--black);
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-block--white .service-svg-icon {
  border-color: var(--black);
}

.service-heading {
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.service-block--yellow .service-heading,
.service-block--white .service-heading {
  color: var(--black);
}

.service-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-bullet-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--grey);
}

.service-block--yellow .service-bullet-list li {
  color: var(--black);
}

.service-block--white .service-bullet-list li {
  color: var(--grey);
}

.service-bullet-list li::before {
  content: '■';
  font-size: 0.55rem;
  color: var(--yellow);
  flex-shrink: 0;
}

.service-block--yellow .service-bullet-list li::before {
  color: var(--black);
}

/* Embedded Work Sample Strip in Featured Service Blocks */
.service-sample-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--white-20);
}

.service-block--yellow .service-sample-strip,
.service-block--white .service-sample-strip {
  border-top-color: var(--black-12);
}

.service-sample-thumb {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border: 1px solid var(--yellow);
  flex-shrink: 0;
}

.service-sample-caption {
  font-size: 0.78rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-block--yellow .service-sample-caption {
  color: var(--black);
}

@media (max-width: 1024px) {
  .section-header-split {
    grid-template-columns: 1fr;
  }
  .section-header-desc {
    justify-self: start;
  }
  .service-block--span-7,
  .service-block--span-5,
  .service-block--span-4,
  .service-block--span-8,
  .service-block--span-6 {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  .service-block--span-7,
  .service-block--span-5,
  .service-block--span-4,
  .service-block--span-8,
  .service-block--span-6 {
    grid-column: span 12;
  }
}

/* ==========================================================================
   SECTION 4: SELECTED WORK / PORTFOLIO (-260m – WORK)
   Lobster Creative-inspired Asymmetrical Editorial Showcase + Case Studies
   ========================================================================== */
.work-section {
  background-color: var(--white);
  color: var(--black);
  padding: clamp(5.5rem, 9vw, 8.5rem) 0;
  border-bottom: 4px solid var(--black);
}

.work-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 0;
  margin-bottom: 48px;
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}

.work-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.work-filter-btn {
  padding: 10px 18px;
  background-color: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
}

.work-filter-btn:hover {
  background-color: var(--black);
  color: var(--yellow);
}

.work-filter-btn.is-active {
  background-color: var(--yellow);
  color: var(--black);
  box-shadow: 4px 4px 0px var(--black);
}

.work-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background-color: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.work-mode-toggle-indicator {
  width: 10px;
  height: 10px;
  background-color: var(--yellow);
  display: inline-block;
}

.work-mode-toggle.is-monochrome .work-mode-toggle-indicator {
  background-color: var(--grey);
}

/* Lobster Creative-Inspired 4-Column Asymmetrical Editorial Rows */
.lobster-editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2rem, 3.5vw, 3.25rem);
  margin-bottom: 72px;
}

.portfolio-piece {
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.35s var(--ease-editorial);
}

/* Asymmetrical spans inspired by Lobster Creative */
.portfolio-piece--span-7 { grid-column: span 7; }
.portfolio-piece--span-5 { grid-column: span 5; }
.portfolio-piece--span-6 { grid-column: span 6; }
.portfolio-piece--span-8 { grid-column: span 8; }
.portfolio-piece--span-4 { grid-column: span 4; }
.portfolio-piece--offset-top { margin-top: clamp(0rem, 3.5vw, 3.5rem); }

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

/* Preserve original proportions without cropping design details */
.portfolio-media-frame {
  position: relative;
  background-color: var(--black);
  border: 2px solid var(--black);
  overflow: hidden;
  padding: 12px;
  transition: box-shadow 0.3s var(--ease-editorial), transform 0.3s var(--ease-editorial), background-color 0.3s ease;
}

.portfolio-piece:hover .portfolio-media-frame {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0px var(--yellow);
  background-color: var(--yellow);
}

.portfolio-media-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.4s var(--ease-smooth), transform 0.5s var(--ease-editorial);
}

/* Monochrome-to-colour hover mode when activated or subtle editorial contrast */
body.monochrome-inspection .portfolio-media-frame img {
  filter: grayscale(100%) contrast(1.08);
}

body.monochrome-inspection .portfolio-piece:hover .portfolio-media-frame img {
  filter: grayscale(0%) contrast(1);
}

.portfolio-hover-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background-color: var(--black);
  color: var(--yellow);
  border: 2px solid var(--yellow);
  padding: 10px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s var(--ease-editorial);
}

.portfolio-piece:hover .portfolio-hover-badge {
  opacity: 1;
  transform: translateY(0);
}

/* Lobster-style Editorial Caption Footer below each image */
.portfolio-meta-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  margin-top: 4px;
  border-bottom: 1px solid var(--black-12);
  padding-bottom: 14px;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  color: var(--black);
  transition: color 0.2s ease;
}

.portfolio-piece:hover .portfolio-title {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 4px;
}

.portfolio-category-bracket {
  font-size: 0.85rem;
  color: var(--grey);
  white-space: nowrap;
}

.portfolio-scope-summary {
  font-size: 0.92rem;
  color: var(--grey);
  margin-top: 8px;
}

/* ==========================================================================
   DEEP-DIVE MULTI-PLATE CASE STUDIES ARCHIVE (EMBEDDED ON ONE-PAGER)
   ========================================================================== */
.case-studies-vault {
  background-color: var(--black);
  color: var(--white);
  border: 3px solid var(--black);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  box-shadow: 14px 14px 0px var(--yellow);
}

.case-studies-vault-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--yellow);
}

.case-studies-vault-title {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  color: var(--white);
}

.case-study-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.case-study-tab {
  padding: 12px 20px;
  background-color: var(--black);
  color: var(--white);
  border: 2px solid var(--white-20);
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
}

.case-study-tab span {
  color: var(--yellow);
  margin-right: 6px;
}

.case-study-tab:hover {
  border-color: var(--yellow);
}

.case-study-tab.is-active {
  background-color: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.case-study-tab.is-active span {
  color: var(--black);
}

.case-study-panel {
  display: none;
}

.case-study-panel.is-active {
  display: block;
}

.case-study-meta-strip {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 20px;
  padding: 20px;
  background-color: var(--white-12);
  border-left: 4px solid var(--yellow);
  margin-bottom: 28px;
}

.case-study-meta-item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--yellow);
  margin-bottom: 4px;
  font-weight: 400;
}

.case-study-meta-item p {
  font-size: 0.95rem;
  color: var(--white);
}

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

.case-spread-card {
  background-color: var(--white);
  border: 2px solid var(--white-20);
  padding: 8px;
  cursor: pointer;
  position: relative;
  transition: all 0.25s var(--ease-editorial);
}

.case-spread-card:hover {
  border-color: var(--yellow);
  background-color: var(--yellow);
  transform: translateY(-4px);
}

.case-spread-card img {
  width: 100%;
  height: auto;
  display: block;
}

.case-spread-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  font-size: 0.74rem;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 960px) {
  .portfolio-piece--span-7,
  .portfolio-piece--span-5,
  .portfolio-piece--span-6,
  .portfolio-piece--span-8,
  .portfolio-piece--span-4 {
    grid-column: span 12;
  }
  .portfolio-piece--offset-top {
    margin-top: 0;
  }
  .case-study-meta-strip {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SECTION 5: ABOUT DEB TREBILCOCK (-410m – ABOUT)
   Editorial Dossier Layout, Personal & Humorous Tone
   ========================================================================== */
.about-section {
  background-color: var(--white);
  color: var(--black);
  padding: clamp(5.5rem, 9vw, 8.5rem) 0;
  border-bottom: 4px solid var(--black);
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 5.5vw, 6rem);
  align-items: center;
}

.about-portrait-column {
  position: relative;
}

.about-portrait-box {
  border: 3px solid var(--black);
  background-color: var(--white);
  padding: 16px;
  box-shadow: 16px 16px 0px var(--yellow);
  position: relative;
}

.about-portrait-box img {
  width: 100%;
  height: auto;
  display: block;
}

.about-portrait-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px 2px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--black);
}

.about-portrait-footer span:last-child {
  background-color: var(--yellow);
  padding: 4px 10px;
  border: 1px solid var(--black);
}

.about-heading {
  font-size: clamp(2.8rem, 5.2vw, 4.6rem);
  margin-bottom: 14px;
  color: var(--black);
}

.about-subhead {
  font-size: 1.35rem;
  color: var(--black);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.about-role-tag {
  background-color: var(--black);
  color: var(--yellow);
  padding: 4px 12px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.about-bio-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.08rem;
  color: var(--grey);
  margin-bottom: 36px;
}

.about-bio-copy .bio-highlight-quote {
  background-color: var(--yellow);
  color: var(--black);
  padding: 18px 22px;
  border-left: 6px solid var(--black);
  font-size: 1.14rem;
}

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

.credential-box {
  border: 2px solid var(--black);
  padding: 16px;
  background-color: var(--white);
}

.credential-box h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--grey);
  margin-bottom: 6px;
}

.credential-box p {
  font-size: 0.98rem;
  color: var(--black);
}

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

/* ==========================================================================
   SECTION 6: PURPOSE AND VALUES (-580m – VALUES)
   Yellow Feature Banner for Purpose + Bold Graphic Values Pillars
   ========================================================================== */
.values-section {
  background-color: var(--black);
  color: var(--white);
  padding: clamp(5.5rem, 9vw, 8.5rem) 0;
  border-bottom: 6px solid var(--yellow);
}

.purpose-statement-banner {
  background-color: var(--yellow);
  color: var(--black);
  border: 3px solid var(--white);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  gap: 32px;
  align-items: center;
  box-shadow: 12px 12px 0px var(--white);
}

.purpose-label-col h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  color: var(--black);
  margin-top: 8px;
}

.purpose-quote-col h3 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.1;
  color: var(--black);
}

.purpose-quote-col h3 span {
  background-color: var(--black);
  color: var(--yellow);
  padding: 0 12px;
  display: inline-block;
}

.values-header-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

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

.value-card {
  background-color: var(--black);
  border: 2px solid var(--white-20);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s var(--ease-editorial);
}

.value-card:hover {
  border-color: var(--yellow);
  transform: translateY(-6px);
  box-shadow: 8px 8px 0px var(--yellow);
}

.value-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--yellow);
}

.value-big-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
  color: var(--yellow);
}

.value-square-icon {
  width: 42px;
  height: 42px;
  background-color: var(--yellow);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.value-card-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 18px;
}

.value-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.value-items-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--grey);
}

.value-items-list li::before {
  content: '■';
  color: var(--yellow);
  font-size: 0.6rem;
  flex-shrink: 0;
}

@media (max-width: 1080px) {
  .purpose-statement-banner {
    grid-template-columns: 1fr;
  }
  .values-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   SECTION 7: CLIENTS AND TESTIMONIALS (-740m – CLIENTS)
   Editorial Large Quotation Typography & Understated Client Logo Matrix
   ========================================================================== */
.clients-section {
  background-color: var(--white);
  color: var(--black);
  padding: clamp(5.5rem, 9vw, 8.5rem) 0;
  border-bottom: 4px solid var(--black);
}

/* Editorial Spotlight Testimonial Slider + All-View */
.testimonials-editorial-stage {
  margin-bottom: 72px;
}

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

.testimonial-editorial-card {
  border: 2px solid var(--black);
  background-color: var(--white);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  box-shadow: 8px 8px 0px var(--black);
  transition: transform 0.25s var(--ease-editorial), box-shadow 0.25s var(--ease-editorial);
}

.testimonial-editorial-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0px var(--yellow);
}

.testimonial-editorial-card--featured {
  background-color: var(--black);
  color: var(--white);
  box-shadow: 8px 8px 0px var(--yellow);
}

.testimonial-quote-mark {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  line-height: 0.75;
  color: var(--yellow);
  display: block;
  margin-bottom: 12px;
}

.testimonial-editorial-card:not(.testimonial-editorial-card--featured) .testimonial-quote-mark {
  color: var(--black);
  background-color: var(--yellow);
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  padding-top: 14px;
}

.testimonial-quote-text {
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--grey);
}

.testimonial-editorial-card--featured .testimonial-quote-text {
  color: var(--white-90);
}

.testimonial-client-Cite {
  padding-top: 18px;
  border-top: 2px solid var(--black);
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-editorial-card--featured .testimonial-client-Cite {
  border-top-color: var(--yellow);
}

.testimonial-cite-bar {
  width: 12px;
  height: 12px;
  background-color: var(--yellow);
  border: 1px solid var(--black);
  flex-shrink: 0;
}

.testimonial-client-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--black);
  display: block;
}

.testimonial-editorial-card--featured .testimonial-client-name {
  color: var(--yellow);
}

.testimonial-client-org {
  font-size: 0.84rem;
  color: var(--grey);
}

/* Understated Client Logo Bar */
.clients-logo-bar-wrap {
  background-color: var(--black);
  color: var(--white);
  padding: 36px;
  border: 2px solid var(--black);
}

.clients-logo-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--white-20);
}

.clients-logo-bar-header h4 {
  color: var(--yellow);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.clients-logo-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  align-items: center;
}

.client-logo-box {
  height: 82px;
  padding: 14px;
  border: 1px solid var(--white-12);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.78;
  transition: opacity 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.client-logo-box:hover {
  opacity: 1;
  border-color: var(--yellow);
  background-color: var(--white-12);
}

.client-logo-box img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 1080px) {
  .testimonials-grid-3 {
    grid-template-columns: 1fr;
  }
  .clients-logo-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

/* ==========================================================================
   SECTION 8: THE COALMINE CANARY STORY (-890m – THE CANARY)
   Quirky Editorial Character + Illustrated Historical Timeline
   ========================================================================== */
.canary-story-section {
  background-color: var(--black);
  color: var(--white);
  padding: clamp(5.5rem, 9vw, 8.5rem) 0;
  border-bottom: 6px solid var(--yellow);
}

.canary-story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(3rem, 5vw, 5.5rem);
  align-items: center;
  margin-bottom: 64px;
}

.canary-archive-photo-frame {
  background-color: var(--white);
  border: 3px solid var(--yellow);
  padding: 16px;
  box-shadow: 14px 14px 0px var(--yellow);
}

.canary-archive-photo-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.canary-archive-caption {
  background-color: var(--black);
  color: var(--yellow);
  padding: 10px 14px;
  margin-top: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.canary-story-heading {
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  color: var(--white);
  margin-bottom: 24px;
}

.canary-story-heading span {
  color: var(--yellow);
}

.canary-story-lead {
  font-size: 1.12rem;
  color: var(--grey);
  margin-bottom: 24px;
  line-height: 1.72;
}

.canary-story-callout {
  background-color: var(--yellow);
  color: var(--black);
  padding: 24px 28px;
  border-left: 8px solid var(--white);
  font-size: 1.15rem;
  line-height: 1.6;
}

/* Illustrated Historical Timeline (1911 -> 1986 -> Today) */
.canary-timeline-box {
  border: 2px solid var(--white-20);
  padding: clamp(2rem, 4vw, 3.5rem);
  background-color: var(--black);
}

.canary-timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--white-20);
}

.canary-timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.timeline-milestone {
  border: 2px solid var(--yellow);
  padding: 24px;
  background-color: var(--black);
  position: relative;
}

.timeline-milestone--active {
  background-color: var(--yellow);
  color: var(--black);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1;
  color: var(--yellow);
  margin-bottom: 10px;
}

.timeline-milestone--active .timeline-year {
  color: var(--black);
}

.timeline-milestone h4 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 8px;
}

.timeline-milestone--active h4 {
  color: var(--black);
}

.timeline-milestone p {
  font-size: 0.9rem;
  color: var(--grey);
}

.timeline-milestone--active p {
  color: var(--black);
}

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

/* ==========================================================================
   SECTION 9: CONTACT SECTION (-1050m – CONTACT)
   Distinctive Yellow Background with Black Typography & Square Form
   ========================================================================== */
.contact-section {
  background-color: var(--yellow);
  color: var(--black);
  padding: clamp(5.5rem, 9vw, 8.5rem) 0;
  border-bottom: 6px solid var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(3rem, 5vw, 5.5rem);
  align-items: start;
}

.contact-heading {
  font-size: clamp(2.8rem, 5.2vw, 4.6rem);
  color: var(--black);
  margin-bottom: 22px;
}

.contact-supporting-copy {
  font-size: 1.18rem;
  color: var(--black);
  margin-bottom: 36px;
  max-width: 46ch;
  line-height: 1.65;
}

.contact-direct-card {
  background-color: var(--black);
  color: var(--white);
  padding: 28px;
  border: 3px solid var(--black);
  box-shadow: 10px 10px 0px var(--white);
  margin-bottom: 32px;
}

.contact-direct-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--yellow);
  margin-bottom: 8px;
}

.contact-email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-email-link {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  color: var(--white);
  word-break: break-all;
}

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

.copy-email-button {
  padding: 8px 14px;
  background-color: var(--yellow);
  color: var(--black);
  border: 2px solid var(--yellow);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.copy-email-button:hover {
  background-color: var(--white);
  border-color: var(--white);
}

.contact-social-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
}

.linkedin-square-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background-color: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 5px 5px 0px var(--black);
}

.linkedin-square-link:hover {
  background-color: var(--black);
  color: var(--yellow);
}

/* Contact Form Box (Zero Corner Radius) */
.contact-form-container {
  background-color: var(--white);
  color: var(--black);
  border: 3px solid var(--black);
  padding: clamp(2rem, 4vw, 3.25rem);
  box-shadow: 14px 14px 0px var(--black);
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 8px;
}

.contact-form-subtitle {
  font-size: 0.95rem;
  color: var(--grey);
  margin-bottom: 28px;
}

.form-field-group {
  margin-bottom: 20px;
}

.form-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--black);
  margin-bottom: 8px;
}

.form-label span {
  color: var(--grey);
  text-transform: none;
  letter-spacing: 0;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background-color: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
  font-size: 1rem;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  background-color: var(--white);
  box-shadow: 6px 6px 0px var(--yellow);
}

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

.form-feedback {
  display: none;
  margin-top: 18px;
  padding: 16px;
  background-color: var(--black);
  color: var(--yellow);
  border: 2px solid var(--black);
  font-size: 0.95rem;
}

.form-feedback.is-visible {
  display: block;
}

@media (max-width: 960px) {
  .contact-grid,
  .form-field-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--black);
  color: var(--white);
  padding: 48px 0;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--grey);
}

.footer-surface-btn {
  padding: 10px 18px;
  background-color: var(--yellow);
  color: var(--black);
  border: 2px solid var(--yellow);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.footer-surface-btn:hover {
  background-color: var(--black);
  color: var(--yellow);
}

/* ==========================================================================
   SQUARE-EDGED PORTFOLIO LIGHTBOX & MULTI-PLATE VIEWER
   ========================================================================== */
.canary-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background-color: var(--black-95);
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.canary-lightbox.is-open {
  display: flex;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--yellow);
}

.lightbox-counter-badge {
  background-color: var(--yellow);
  color: var(--black);
  padding: 6px 14px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.lightbox-title-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  text-align: center;
}

.lightbox-close-btn {
  width: 44px;
  height: 44px;
  background-color: var(--black);
  color: var(--yellow);
  border: 2px solid var(--yellow);
  font-size: 1.2rem;
  cursor: pointer;
}

.lightbox-close-btn:hover {
  background-color: var(--yellow);
  color: var(--black);
}

.lightbox-main-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 20px 64px;
}

.lightbox-main-stage img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 3px solid var(--white);
  background-color: var(--white);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: var(--yellow);
  color: var(--black);
  border: 2px solid var(--black);
  font-size: 1.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-arrow:hover {
  background-color: var(--white);
}

.lightbox-arrow--prev { left: 8px; }
.lightbox-arrow--next { right: 8px; }

.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--white-20);
  color: var(--grey);
  font-size: 0.85rem;
}

@media (max-width: 680px) {
  .lightbox-main-stage {
    padding: 12px 0;
  }
  .lightbox-arrow {
    top: auto;
    bottom: 12px;
    transform: none;
  }
}

/* ==========================================================================
   SUBTLE EDITORIAL SCROLL REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease-editorial), transform 0.6s var(--ease-editorial);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
