/*
Theme Name: DifferentSite Construction & Safety
Theme URI: https://differentsite.com
Author: DifferentSite
Author URI: https://differentsite.com
Description: A bold industrial platform for real estate construction, worksite safety, and building resources.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: different-site
Tags: construction, safety, real-estate, industrial, worksite, building
*/

/* =============================================
   DESIGN TOKENS — Industrial Safety
   ============================================= */
:root {
  /* Core palette */
  --yellow:        #F5C800;
  --yellow-bright: #FFD800;
  --yellow-dark:   #D4AC00;
  --yellow-pale:   #FEFBEA;
  --charcoal:      #1C1C1E;
  --charcoal-mid:  #2A2A2E;
  --charcoal-light:#3C3C42;
  --steel:         #2E6B9E;
  --steel-bright:  #3A80BB;
  --steel-dark:    #1E4F78;
  --steel-pale:    #E8F2F9;
  --concrete:      #6B6B6E;
  --concrete-light:#9A9A9E;
  --concrete-pale: #F0F0F2;
  --alert-red:     #D42B2B;
  --alert-orange:  #E8691A;
  --safe-green:    #1E7E34;
  --safe-pale:     #EAF5EC;
  --white:         #FFFFFF;
  --off-white:     #F8F8F6;
  --border:        #E0E0E4;
  --border-dark:   #C8C8CE;
  --ink:           #0A0A0C;

  /* Typography */
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;
  --font-mono:    'Space Mono', 'Courier New', monospace;

  /* Motion */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.26s var(--ease);
  --fast:       all 0.15s ease;

  /* Layout */
  --max-w:    1400px;
  --gutter:   clamp(1.25rem, 5vw, 5rem);
  --radius:   4px;
  --radius-lg: 10px;
  --radius-xl: 18px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--off-white);
  color: var(--charcoal-light);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img  { display: block; max-width: 100%; }
a    { color: var(--steel); text-decoration: none; transition: var(--fast); }
a:hover { color: var(--steel-bright); }
ul, ol { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
h1 { font-size: clamp(3.5rem, 9vw, 10rem); }
h2 { font-size: clamp(2.5rem, 5vw, 6rem); }
h3 { font-size: clamp(1.8rem, 3vw, 3rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.8rem); }

p { margin-bottom: 1.2em; font-weight: 400; }
p:last-child { margin-bottom: 0; }

.label {
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  display: block;
  margin-bottom: 0.6rem;
}
.label--steel  { color: var(--steel); }
.label--white  { color: rgba(255,255,255,0.6); }
.label--red    { color: var(--alert-red); }
.label--green  { color: var(--safe-green); }

/* Warning stripe pattern — the signature element */
.stripe-bar {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0px,
    var(--yellow) 10px,
    var(--charcoal) 10px,
    var(--charcoal) 20px
  );
  flex-shrink: 0;
}
.stripe-bar--sm { height: 4px; }
.stripe-bar--lg { height: 14px; }
.stripe-bar--vertical {
  width: 8px;
  height: auto;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0px,
    var(--yellow) 10px,
    var(--charcoal) 10px,
    var(--charcoal) 20px
  );
}

/* Yellow rule */
.yellow-rule {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--yellow);
  margin: 1rem 0;
}
.yellow-rule--white { background: rgba(255,255,255,0.5); }
.yellow-rule--steel { background: var(--steel); }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}
.section     { padding: clamp(4rem, 9vw, 9rem) 0; }
.section--sm { padding: clamp(2.5rem, 5vw, 5rem) 0; }
.section--xs { padding: clamp(1.5rem, 3vw, 3rem) 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--charcoal);
  border-color: var(--yellow);
}
.btn-yellow:hover {
  background: var(--yellow-bright);
  color: var(--charcoal);
  border-color: var(--yellow-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,200,0,0.35);
}

.btn-charcoal {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.btn-charcoal:hover {
  background: var(--charcoal-mid);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-steel {
  background: var(--steel);
  color: var(--white);
  border-color: var(--steel);
}
.btn-steel:hover {
  background: var(--steel-bright);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,107,158,0.3);
}

.btn-outline-yellow {
  background: transparent;
  color: var(--yellow);
  border-color: var(--yellow);
}
.btn-outline-yellow:hover {
  background: var(--yellow);
  color: var(--charcoal);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-steel {
  background: transparent;
  color: var(--steel);
  border-color: var(--steel);
}
.btn-outline-steel:hover {
  background: var(--steel);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 0.86rem; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.7rem; }
.btn-arrow::after { content: ' →'; display: inline-block; transition: transform 0.18s; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* =============================================
   IMAGE PLACEHOLDERS
   ============================================= */
.img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #2A2A2E 0%, #1C1C1E 100%);
  position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(245,200,0,0.06) 0%, transparent 50%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 18px,
      rgba(245,200,0,0.03) 18px,
      rgba(245,200,0,0.03) 19px
    );
}
.img-placeholder-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  z-index: 1;
  text-align: center;
  padding: 1rem;
  line-height: 2;
}
.img-placeholder--light {
  background: linear-gradient(145deg, var(--concrete-pale) 0%, var(--border) 100%);
}
.img-placeholder--light::before {
  background: repeating-linear-gradient(-45deg, transparent, transparent 18px, rgba(46,107,158,0.04) 18px, rgba(46,107,158,0.04) 19px);
}
.img-placeholder--light .img-placeholder-text { color: var(--concrete); opacity: 0.6; }

/* =============================================
   HEADER
   ============================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--charcoal);
  transition: var(--transition);
}
#site-header.scrolled {
  box-shadow: 0 2px 0 var(--yellow), 0 4px 20px rgba(0,0,0,0.4);
}

.stripe-bar--header {
  height: 5px;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0px, var(--yellow) 8px,
    var(--charcoal) 8px, var(--charcoal) 16px
  );
}

.header-main {
  padding: 0.9rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.logo-icon {
  width: 42px; height: 42px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
}
.logo-icon-inner {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--charcoal);
  line-height: 1;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
}
.logo-txt {}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  display: block;
}
.logo-name span { color: var(--yellow); }
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--concrete-light);
  display: block;
  margin-top: 2px;
}

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.18s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width 0.22s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transform: translateY(-100%);
  transition: transform 0.42s var(--ease);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mobile-nav a:hover { color: var(--yellow); }

/* =============================================
   HERO
   ============================================= */
.hero {
  background: var(--charcoal);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(3rem, 7vw, 7rem);
  padding-top: 80px;
}

/* Grid overlay */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,200,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,200,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Atmospheric glow */
.hero-glow {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(46,107,158,0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

/* Warning corner accent */
.hero-corner {
  position: absolute;
  top: 80px;
  right: 0;
  width: 180px; height: 180px;
  overflow: hidden;
  pointer-events: none;
}
.hero-corner-stripe {
  width: 280px; height: 280px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(245,200,0,0.12) 0px, rgba(245,200,0,0.12) 14px,
    transparent 14px, transparent 28px
  );
  transform: rotate(0deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

.hero-pretitle {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.hero-pretitle-dash {
  width: 50px; height: 3px;
  background: var(--yellow);
}
.hero-pretitle-text {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--yellow);
}

.hero-title {
  font-size: clamp(4rem, 13vw, 14rem);
  color: var(--white);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}
.hero-title .outline {
  -webkit-text-stroke: 2px rgba(255,255,255,0.25);
  color: transparent;
}
.hero-title .yellow { color: var(--yellow); }

.hero-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-end;
  margin-top: 2.5rem;
}
.hero-desc {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  line-height: 1.82;
  font-weight: 300;
  max-width: 440px;
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero stats — technical data panels */
.hero-data-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
}
.hero-data-panel {
  padding: 1.25rem 1.5rem;
  background: rgba(0,0,0,0.3);
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.hero-data-panel:hover {
  background: rgba(245,200,0,0.07);
  border-color: var(--yellow);
}
.hero-data-val {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  color: var(--white);
  line-height: 1;
  display: block;
  margin-bottom: 0.25rem;
}
.hero-data-val .acc { color: var(--yellow); }
.hero-data-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  display: block;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  writing-mode: horizontal-tb;
}
.hero-scroll-text {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.hero-scroll-line {
  width: 50px; height: 1px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%; height: 100%;
  background: var(--yellow);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* =============================================
   DANGER ALERT TICKER
   ============================================= */
.alert-ticker {
  background: var(--yellow);
  padding: 0.6rem 0;
  overflow: hidden;
}
.alert-ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.alert-ticker-item {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
  flex-shrink: 0;
}
.alert-ticker-icon { font-size: 0.8rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =============================================
   TOPIC CARDS
   ============================================= */
.topics-section { background: var(--off-white); }

.topic-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.topic-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  border-color: transparent;
}
.topic-card__stripe { height: 5px; flex-shrink: 0; }
.tc-yellow { background: var(--yellow); }
.tc-steel  { background: var(--steel); }
.tc-red    { background: var(--alert-red); }
.tc-green  { background: var(--safe-green); }
.tc-orange { background: var(--alert-orange); }

.topic-card__img {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--charcoal-mid);
  flex-shrink: 0;
}
.topic-card__img .img-placeholder { transition: transform 0.5s var(--ease); }
.topic-card:hover .topic-card__img .img-placeholder { transform: scale(1.05); }

.topic-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.topic-card__icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  display: block;
}
.topic-card__label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow-dark); margin-bottom: 0.3rem; display: block; }
.topic-card__label--steel  { color: var(--steel); }
.topic-card__label--red    { color: var(--alert-red); }
.topic-card__label--green  { color: var(--safe-green); }
.topic-card__label--orange { color: var(--alert-orange); }
.topic-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--charcoal);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  transition: color 0.18s;
}
.topic-card:hover .topic-card__title { color: var(--steel); }
.topic-card__desc { font-size: 0.87rem; color: var(--concrete); line-height: 1.65; flex: 1; margin-bottom: 1rem; }
.topic-card__count {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--concrete-light);
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.count-arrow { color: var(--steel); font-size: 0.9rem; transition: transform 0.18s; }
.topic-card:hover .count-arrow { transform: translateX(4px); }

/* =============================================
   SAFETY ALERT SECTION
   ============================================= */
.safety-section {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.safety-section::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0, var(--yellow) 8px,
    var(--charcoal) 8px, var(--charcoal) 16px
  );
}

.safety-alerts { display: flex; flex-direction: column; gap: 1px; }
.safety-alert {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--charcoal-mid);
  border-left: 3px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}
.safety-alert:hover { background: var(--charcoal-light); border-color: var(--yellow); }
.safety-alert--danger:hover  { border-color: var(--alert-red); }
.safety-alert--caution:hover { border-color: var(--alert-orange); }
.safety-alert--safe:hover    { border-color: var(--safe-green); }
.sa-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.sa-icon--danger  { background: rgba(212,43,43,0.15); border: 1px solid rgba(212,43,43,0.3); }
.sa-icon--caution { background: rgba(232,105,26,0.15); border: 1px solid rgba(232,105,26,0.3); }
.sa-icon--safe    { background: rgba(30,126,52,0.15); border: 1px solid rgba(30,126,52,0.3); }
.sa-icon--info    { background: rgba(46,107,158,0.15); border: 1px solid rgba(46,107,158,0.3); }
.sa-body {}
.sa-level {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  display: block;
}
.sa-level--danger  { color: var(--alert-red); }
.sa-level--caution { color: var(--alert-orange); }
.sa-level--safe    { color: var(--safe-green); }
.sa-level--info    { color: var(--steel-bright); }
.sa-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
  transition: color 0.18s;
}
.safety-alert:hover .sa-title { color: var(--yellow); }
.sa-desc { font-size: 0.8rem; color: rgba(255,255,255,0.42); line-height: 1.5; margin-top: 0.2rem; }
.sa-arrow { color: rgba(255,255,255,0.2); font-size: 1.2rem; transition: var(--fast); flex-shrink: 0; }
.safety-alert:hover .sa-arrow { color: var(--yellow); transform: translateX(4px); }

/* =============================================
   ARTICLES / RESOURCES
   ============================================= */
.resources-section { background: var(--concrete-pale); }

.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.resource-card:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,0.09);
  transform: translateY(-3px);
  border-color: transparent;
}
.resource-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--charcoal-mid);
  flex-shrink: 0;
  position: relative;
}
.resource-card__img .img-placeholder { transition: transform 0.5s var(--ease); }
.resource-card:hover .resource-card__img .img-placeholder { transform: scale(1.05); }

.rc-type-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius);
  z-index: 2;
}
.badge-guide    { background: var(--steel); color: var(--white); }
.badge-checklist{ background: var(--safe-green); color: var(--white); }
.badge-regulation{ background: var(--alert-red); color: var(--white); }
.badge-video    { background: var(--charcoal); color: var(--yellow); }
.badge-article  { background: var(--yellow); color: var(--charcoal); }

.resource-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.rc-topic {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.45rem;
  display: block;
}
.rc-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--charcoal);
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  flex: 1;
  transition: color 0.18s;
}
.resource-card:hover .rc-title { color: var(--steel); }
.rc-desc { font-size: 0.84rem; color: var(--concrete); line-height: 1.65; margin-bottom: 0.9rem; }
.rc-meta {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--concrete-light);
  border-top: 1px solid var(--border);
  padding-top: 0.7rem;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =============================================
   CHECKLIST SECTION
   ============================================= */
.checklist-section {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 3rem;
}
.checklist-panel {
  background: var(--charcoal-mid);
  padding: 2.5rem;
  border-top: 3px solid var(--yellow);
}
.checklist-panel:nth-child(2) { border-color: var(--steel); }
.checklist-panel:nth-child(3) { border-color: var(--alert-red); }
.checklist-panel:nth-child(4) { border-color: var(--safe-green); }
.checklist-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.cl-icon {
  font-size: 1.75rem;
  width: 52px; height: 52px;
  background: rgba(245,200,0,0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cl-panel-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
}
.cl-panel-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  display: block;
  margin-bottom: 0.2rem;
}
.checklist-items { display: flex; flex-direction: column; gap: 0.75rem; }
.cl-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.cl-check {
  width: 20px; height: 20px;
  border: 1.5px solid rgba(245,200,0,0.3);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: var(--yellow);
  margin-top: 0.1rem;
}
.cl-check--steel   { border-color: rgba(46,107,158,0.4); color: var(--steel-bright); }
.cl-check--red     { border-color: rgba(212,43,43,0.4); color: var(--alert-red); }
.cl-check--green   { border-color: rgba(30,126,52,0.4); color: var(--safe-green); }
.cl-check.done     { background: rgba(245,200,0,0.15); }

/* =============================================
   STATS ROW
   ============================================= */
.stats-row { background: var(--yellow); overflow: hidden; position: relative; }
.stats-row::before {
  content: 'SAFETY IS NO ACCIDENT · SAFETY IS NO ACCIDENT · SAFETY IS NO ACCIDENT · ';
  position: absolute;
  bottom: -1rem;
  left: 0;
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(0,0,0,0.06);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
}
.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat-block {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
  transition: background 0.2s;
}
.stat-block:last-child { border-right: none; }
.stat-block:hover { background: rgba(0,0,0,0.04); }
.stat-val {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  color: var(--charcoal);
  line-height: 1;
  display: block;
  margin-bottom: 0.3rem;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  display: block;
}

/* =============================================
   CONTACT / GET IN TOUCH
   ============================================= */
.contact-section { background: var(--off-white); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 5rem;
  align-items: start;
}
.contact-info {}
.ci-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.ci-block:last-of-type { border: none; }
.ci-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  display: block;
  margin-bottom: 0.4rem;
}
.ci-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--charcoal);
  text-transform: uppercase;
  line-height: 1.3;
}
.ci-val a { color: var(--charcoal); }
.ci-val a:hover { color: var(--steel); }

.contact-form-wrap {
  background: var(--charcoal);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
}
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0, var(--yellow) 8px,
    var(--charcoal) 8px, var(--charcoal) 16px
  );
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px rgba(245,200,0,0.15);
  background: rgba(255,255,255,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.22); }
.form-group textarea { height: 130px; resize: vertical; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23F5C800' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: rgba(255,255,255,0.07);
  padding-right: 2.5rem;
  color: rgba(255,255,255,0.7);
}
.form-group select option { background: var(--charcoal-mid); color: var(--white); }
.form-success {
  background: rgba(30,126,52,0.15);
  border: 1.5px solid var(--safe-green);
  color: var(--safe-green);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

/* =============================================
   PAGE HERO (interior)
   ============================================= */
.page-hero {
  background: var(--charcoal);
  padding: clamp(7rem, 12vw, 12rem) 0 clamp(3rem, 5vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 80% 30%, rgba(46,107,158,0.12) 0%, transparent 55%),
    linear-gradient(135deg, #1C1C1E 0%, #2A2A2E 100%);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0, var(--yellow) 8px,
    var(--charcoal) 8px, var(--charcoal) 16px
  );
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p  { color: rgba(255,255,255,0.5); max-width: 580px; font-size: 1rem; margin: 0; font-weight: 300; }
.breadcrumb {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,0.4); }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.3; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.team-card {
  background: var(--charcoal-mid);
  overflow: hidden;
  transition: var(--transition);
}
.team-card::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.team-card:hover::before { transform: scaleX(1); }
.team-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--charcoal);
}
.team-photo .img-placeholder { transition: transform 0.5s var(--ease); }
.team-card:hover .team-photo .img-placeholder { transform: scale(1.05); }
.team-body { padding: 1.5rem 1.75rem 2rem; }
.team-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); text-transform: uppercase; display: block; margin-bottom: 0.15rem; }
.team-role { font-family: var(--font-body); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--yellow); margin-bottom: 0.75rem; display: block; }
.team-bio  { font-size: 0.83rem; color: rgba(255,255,255,0.45); line-height: 1.65; margin: 0; font-weight: 300; }

/* Service blocks */
.service-block {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--yellow);
  transition: var(--transition);
}
.service-block:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.08); transform: translateY(-3px); border-top-color: var(--steel); }
.sb-icon  { font-size: 1.75rem; margin-bottom: 0.9rem; display: block; }
.sb-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--charcoal); text-transform: uppercase; margin-bottom: 0.5rem; }
.sb-desc  { font-size: 0.85rem; color: var(--concrete); line-height: 1.65; margin: 0; }

/* =============================================
   BLOG SINGLE POST
   ============================================= */
.post-wrap { max-width: 820px; margin: 0 auto; padding: 5rem var(--gutter); }
.post-wrap h2 { margin: 2.5rem 0 1rem; font-size: clamp(1.5rem, 2.5vw, 2.5rem); }
.post-wrap h3 { margin: 2rem 0 0.75rem; font-size: clamp(1.2rem, 2vw, 1.8rem); }
.post-wrap p  { line-height: 1.9; margin-bottom: 1.5rem; }
.post-wrap ul, .post-wrap ol { margin: 1.5rem 0 1.5rem 1.5rem; line-height: 1.85; }
.post-wrap ul { list-style: disc; }
.post-wrap ol { list-style: decimal; }
.post-wrap blockquote {
  border-left: 4px solid var(--yellow);
  padding: 1.25rem 1.75rem;
  background: var(--yellow-pale);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 2rem 0;
  color: var(--charcoal);
}

/* =============================================
   CTA / DANGER BAND
   ============================================= */
.cta-band {
  background: var(--yellow);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -5%;
  width: 450px; height: 450px;
  background: rgba(0,0,0,0.06);
  border-radius: 50%;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-inner h2 { color: var(--charcoal); font-size: clamp(2rem, 4vw, 5rem); }
.cta-inner p  { color: rgba(0,0,0,0.6); margin-top: 0.4rem; font-weight: 400; }

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--ink);
  padding: 5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-sub  { color: rgba(255,255,255,0.3); }
.footer-brand p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 270px;
  font-weight: 300;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a  { font-size: 0.87rem; color: rgba(255,255,255,0.38); transition: color 0.18s; font-weight: 300; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.74rem; color: rgba(255,255,255,0.22); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.22); }
.footer-bottom a:hover { color: var(--yellow); }
.footer-disc { font-size: 0.65rem; color: rgba(255,255,255,0.18); font-weight: 300; }

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .hero-body { grid-template-columns: 1fr; }
  .hero-data-panels { display: none; }
  .checklist-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 900px) {
  .grid-3  { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .grid-4  { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-block:nth-child(2) { border-right: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .grid-3  { grid-template-columns: 1fr; }
  .grid-4  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: clamp(3.5rem, 16vw, 7rem); }
}
