/* ================================================================
   TSOAXAUB METALS — RSTheme "Red Engineering" Style
   Black · Dark · Red Accent · Diagonal Cuts · Industrial Bold
   2026
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,400;0,600;0,700;0,800;0,900;1,600&family=Barlow:wght@300;400;500;600;700&display=swap');

/* ================================================================
   TOKENS
   ================================================================ */
:root {
  /* Core palette */
  --red:        #2B8A85;
  --red-dark:   #1B5A55;
  --red-dim:    rgba(43,138,133,0.15);
  --gold:       #D4AF37;
  --gold-dark:  #9B7E28;
  --gold-stripe: #C9A227;
  --cream:      #EBE4D9;
  --cream-dark: #DDD0C3;

  --black:  #EBE4D9;
  --dark1:  #EBE4D9;
  --dark2:  #E3DACD;
  --dark3:  #DBCFC0;
  --dark4:  #D3C4B3;
  --dark5:  #CBC0A8;

  --white:  #1a1410;
  --off:    #2a2420;
  --grey1:  #2d2a26;
  --grey2:  #3a3430;
  --grey3:  #4a4440;
  --border: rgba(212,175,55,0.2);

  /* Typography */
  --f-head: 'Barlow Condensed', sans-serif;
  --f-body: 'Barlow', sans-serif;

  /* Shadows */
  --s1: 0 4px 20px rgba(0,0,0,0.1);
  --s2: 0 8px 40px rgba(0,0,0,0.15);
  --s3: 0 16px 60px rgba(0,0,0,0.2);
  --sr: 0 0 30px rgba(43,138,133,0.25);

  --max-w: 1240px;
  --r: 4px;
  --r-lg: 8px;
}

/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: linear-gradient(135deg, rgba(235,228,217,0.70) 0%, rgba(227,218,205,0.70) 100%),
              url('../images/namib-landscape.jpg') center/cover no-repeat fixed;
  background-attachment: fixed;
  color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* ================================================================
   LOADER — minimal, fast
   ================================================================ */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.3s ease;
}
#loader.loaded { opacity: 0; pointer-events: none; }

.loader-dot {
  width: 12px; height: 12px; background: var(--red); border-radius: 50%;
  animation: dotPulse 0.6s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}

/* ================================================================
   HEADER — dark sticky, logo left, nav center, phone right
   ================================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(235,228,217,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}
/* Gold top stripe */
.site-header::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-stripe) 50%, var(--red) 100%);
}
.site-header.scrolled {
  background: rgba(235,228,217,0.99);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 8px 30px;
  height: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}

/* Logo */
.h-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.h-logo-mark {
  width: 120px; height: 120px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
}
.h-logo-mark img { width: 100%; height: 100%; object-fit: contain; }

/* Nav */
.h-nav { display: flex; align-items: center; gap: 0; }
.h-nav a {
  font-family: var(--f-head); font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #3a3430; padding: 0 16px; height: auto;
  display: flex; align-items: center;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s ease;
}
.h-nav a:hover, .h-nav a.active {
  color: #1a1410; border-bottom-color: var(--red);
}

/* Phone / CTA */
.h-phone {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.h-phone-icon {
  width: 38px; height: 38px;
  border: 1px solid var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.h-phone-icon svg { width: 16px; height: 16px; color: var(--red); }
.h-phone-label { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #5a5450; }
.h-phone-num { font-family: var(--f-head); font-size: 1rem; font-weight: 700; color: #1a1410; }

/* Mobile toggle */
.h-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto;
}
.h-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; }

/* ================================================================
   PAGE HERO
   ================================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; padding-top: 160px;
}
.hero__bg {
  position: absolute; inset: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  filter: brightness(0.50) saturate(0.8);
}
/* Gold angled overlay from left */
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    rgba(235,228,217,0.50) 0%,
    rgba(227,218,205,0.40) 50%,
    rgba(212,175,55,0.10) 100%
  );
}
/* Gold diagonal stripe accent */
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 140px; bottom: 0;
  width: 5px;
  background: var(--gold);
  transform: skewX(-12deg);
  opacity: 0.8;
  z-index: 2;
}

.hero__content {
  position: relative; z-index: 3;
  max-width: var(--max-w); margin: 0 auto;
  padding: 80px 30px; width: 100%;
}
.hero__overtitle {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-head); font-size: 12px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--red);
  margin-bottom: 20px;
}
.hero__overtitle::before { content: ''; width: 36px; height: 2px; background: var(--red); }
.hero h1 {
  font-family: var(--f-head);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 900; color: var(--white);
  text-transform: uppercase; line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 24px; max-width: 760px;
}
.hero h1 span { color: var(--red); }
.hero__sub {
  font-size: 1rem; color: var(--grey2); max-width: 480px;
  line-height: 1.8; margin-bottom: 40px;
}
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero bottom ticker slot */
.hero__bottom {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-stripe) 50%, var(--red) 100%);
  overflow: hidden; height: 52px;
  display: flex; align-items: center;
}
.hero__ticker {
  display: flex; align-items: center; gap: 0;
  animation: tickerScroll 30s linear infinite; white-space: nowrap;
}
.hero__ticker-item {
  display: inline-flex; align-items: center; gap: 20px;
  font-family: var(--f-head); font-size: 14px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(42,36,32,0.85);
  padding: 0 32px;
}
.hero__ticker-item::after { content: '✦'; color: rgba(42,36,32,0.4); font-size: 10px; }
@keyframes tickerScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */
.page-hero {
  position: relative; padding-top: 160px;
  min-height: 340px; display: flex; align-items: flex-end;
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  filter: brightness(0.50) saturate(0.7);
}
.page-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(235,228,217,0.40) 0%, rgba(235,228,217,0.60) 100%);
}
/* Gold line at bottom of page hero */
.page-hero::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--red) 100%);
  z-index: 3;
}
.page-hero__content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto;
  padding: 48px 30px 56px; width: 100%;
}
.breadcrumb {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--grey3);
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.breadcrumb a { color: var(--red); }
.breadcrumb-sep { opacity: 0.4; }
.page-hero h1 {
  font-family: var(--f-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900; color: var(--white);
  text-transform: uppercase; letter-spacing: 0.02em; line-height: 1;
  margin-bottom: 12px;
}
.page-hero p { color: var(--grey2); max-width: 520px; }

/* ================================================================
   LAYOUT
   ================================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 30px; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
/* Dark sections */
.s-black { 
  background: linear-gradient(135deg, rgba(235,228,217,0.65), rgba(227,218,205,0.65)),
              url('../images/namib-landscape.jpg') center/cover no-repeat;
  background-attachment: fixed;
}
.s-dark1 { 
  background: linear-gradient(135deg, rgba(235,228,217,0.68), rgba(227,218,205,0.68)),
              url('../images/ore-rocks.jpg') center/cover no-repeat;
  background-attachment: fixed;
}
.s-dark2 { 
  background: linear-gradient(135deg, rgba(235,228,217,0.70), rgba(227,218,205,0.70)),
              url('../images/crushing-plant.jpg') center/cover no-repeat;
  background-attachment: fixed;
}
.s-dark3 { 
  background: linear-gradient(135deg, rgba(235,228,217,0.72), rgba(227,218,205,0.72)),
              url('../images/flotation-plant.jpg') center/cover no-repeat;
  background-attachment: fixed;
}

/* Diagonal top cut */
.s-angle-top::before {
  content: '';
  position: absolute; top: -50px; left: 0; right: 0; height: 100px;
  background: inherit;
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}
.s-angle-bot::after {
  content: '';
  position: absolute; bottom: -50px; left: 0; right: 0; height: 100px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
  z-index: 1;
}

.split    { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-60 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.grid-2   { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3   { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4   { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.s-head   { margin-bottom: 56px; }
.s-head.center { text-align: center; }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1,h2,h3,h4 { font-family: var(--f-head); color: var(--white); line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 700; text-transform: uppercase; }
h4 { font-size: 1rem; font-weight: 700; text-transform: uppercase; }
p  { color: var(--grey2); line-height: 1.85; font-size: 0.96rem; }
.lead { font-size: 1.05rem; color: var(--grey1); line-height: 1.85; }

/* Section tag (small red eyebrow) */
.s-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-head); font-size: 12px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--red);
  margin-bottom: 10px;
}
.s-tag::before { content: ''; width: 32px; height: 2px; background: var(--red); flex-shrink: 0; }

/* Red left border on h2 in dark sections */
.red-border {
  border-left: 4px solid var(--red);
  padding-left: 20px;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 14px 32px; border-radius: var(--r);
  transition: all 0.25s ease; cursor: pointer; border: none;
}
.btn-red {
  background: var(--red); color: var(--white);
  box-shadow: 0 4px 20px rgba(43,138,133,0.35);
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(43,138,133,0.45); }

.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.3) !important;
}
.btn-outline:hover { border-color: var(--red) !important; color: var(--red); }

.btn-dark { background: var(--dark4); color: var(--white); border: 1px solid var(--dark5) !important; }
.btn-dark:hover { background: var(--red); border-color: var(--red) !important; }

/* ================================================================
   SERVICE CARDS
   ================================================================ */
.svc-card {
  background: var(--dark3); border: 1px solid var(--border);
  overflow: hidden; position: relative;
  transition: all 0.3s ease;
}
.svc-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transition: transform 0.3s ease;
}
.svc-card:hover { border-color: rgba(228,28,28,0.3); box-shadow: var(--s2); transform: translateY(-4px); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover .svc-card__img img { transform: scale(1.06); filter: brightness(0.75) saturate(0.7); }
.svc-card__img { overflow: hidden; aspect-ratio: 4/3; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.5s ease; filter: brightness(0.70) saturate(0.65); }
.svc-card__body { padding: 24px 26px 28px; }
.svc-card__cat {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.svc-card__cat::before { content: ''; width: 16px; height: 2px; background: var(--red); flex-shrink: 0; }
.svc-card__title { font-family: var(--f-head); font-size: 1.15rem; font-weight: 700; color: var(--white); text-transform: uppercase; margin-bottom: 10px; }
.svc-card__text { font-size: 0.88rem; color: var(--grey3); line-height: 1.75; margin-bottom: 18px; }
.svc-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
  transition: gap 0.2s;
}
.svc-card__link:hover { gap: 14px; }
.svc-card__link svg { width: 14px; height: 14px; }

/* ================================================================
   ABOUT / TABS
   ================================================================ */
.tab-nav { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.tab-btn {
  font-family: var(--f-head); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey3); padding: 12px 20px;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  background: none; border-top: none; border-left: none; border-right: none;
  cursor: pointer; transition: all 0.2s;
}
.tab-btn.active, .tab-btn:hover { color: var(--red); border-bottom-color: var(--red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ================================================================
   COUNTER STRIP
   ================================================================ */
.counter-strip { background: var(--dark2); padding: 0; position: relative; overflow: hidden; }
.counter-strip::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
}
.counter-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.counter-item {
  padding: 56px 30px; text-align: center;
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.counter-item:last-child { border-right: none; }
.counter-item:hover { background: var(--dark3); }
.counter-item::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px; background: var(--red);
  transition: width 0.4s ease;
}
.counter-item:hover::after { width: 80%; }
.counter-num {
  font-family: var(--f-head); font-size: 4rem; font-weight: 900;
  color: var(--red); line-height: 1; margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.counter-suffix { font-size: 2rem; }
.counter-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--grey3);
}

/* ================================================================
   PORTFOLIO / GALLERY CARDS
   ================================================================ */
.port-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.port-card {
  position: relative; overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; border: 1px solid var(--border);
}
.port-card img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.60) saturate(0.6);
  transition: transform 0.5s ease, filter 0.5s ease;
}
.port-card:hover img { transform: scale(1.07); filter: brightness(0.40) saturate(0.5); }
.port-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,13,13,0.90) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px 20px;
  transform: translateY(8px); transition: transform 0.3s ease;
}
.port-card:hover .port-card__overlay { transform: translateY(0); }
.port-card__cat {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 5px;
}
.port-card__title {
  font-family: var(--f-head); font-size: 1rem; font-weight: 700;
  color: var(--white); text-transform: uppercase;
}
/* Red + icon on hover */
.port-card__icon {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.6); transition: all 0.3s ease;
}
.port-card__icon svg { width: 16px; height: 16px; color: var(--white); }
.port-card:hover .port-card__icon { opacity: 1; transform: scale(1); }
.port-card--wide { grid-column: span 2; }
.port-card--wide img { aspect-ratio: 16/7; }

/* ================================================================
   PROCESS STEPS
   ================================================================ */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.process-step {
  padding: 48px 30px; position: relative;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: rgba(228,28,28,0.04); }
.process-step__num {
  font-family: var(--f-head); font-size: 4rem; font-weight: 900;
  color: rgba(228,28,28,0.12); line-height: 1;
  margin-bottom: 16px; display: block;
}
.process-step__title {
  font-family: var(--f-head); font-size: 1rem; font-weight: 700;
  color: var(--white); text-transform: uppercase; margin-bottom: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.process-step__text { font-size: 0.88rem; color: var(--grey3); line-height: 1.8; }
/* Red connector arrow */
.process-step::after {
  content: '→';
  position: absolute; top: 60px; right: -12px;
  font-size: 1.2rem; color: var(--red); z-index: 2;
  background: var(--dark2); padding: 2px 0;
}
.process-step:last-child::after { display: none; }

/* ================================================================
   INFO TABLE (dark style)
   ================================================================ */
.info-table { border: 1px solid var(--border); overflow: hidden; }
.info-row { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: none; }
.info-row__key {
  font-family: var(--f-head); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey3);
  padding: 12px 16px; background: var(--dark3); border-right: 1px solid var(--border);
  display: flex; align-items: center;
}
.info-row__val { font-size: 13px; color: var(--white); padding: 12px 18px; display: flex; align-items: center; }

/* DATA TABLE */
.table-wrap { border: 1px solid var(--border); overflow: hidden; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table thead th { background: var(--dark4); color: var(--grey3); padding: 12px 16px; font-family: var(--f-head); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; text-align: left; border-bottom: 1px solid var(--border); }
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--grey2); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(228,28,28,0.04); }
.data-table td strong { color: var(--white); font-weight: 600; }
.cm-cell { color: var(--grey3); font-style: italic; }
.badge { display: inline-block; padding: 3px 10px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 2px; }
.badge-red  { background: rgba(228,28,28,0.15); color: var(--red); border: 1px solid rgba(228,28,28,0.3); }
.badge-grey { background: var(--dark5); color: var(--grey3); border: 1px solid var(--border); }

/* ================================================================
   BOARD
   ================================================================ */
.board-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.board-card {
  background: var(--dark3); border: 1px solid var(--border);
  overflow: hidden; text-align: center;
  transition: all 0.3s ease;
}
.board-card:hover { border-color: rgba(228,28,28,0.4); transform: translateY(-4px); box-shadow: var(--s2); }
.board-card:hover .board-avatar { background: var(--red); }
.board-top { background: var(--dark4); padding: 28px 20px 20px; border-bottom: 2px solid var(--red); }
.board-avatar {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--dark5); color: var(--white);
  font-family: var(--f-head); font-size: 1.2rem; font-weight: 800;
  margin: 0 auto; display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.board-avatar.mgmt { background: var(--red); }
.board-body { padding: 16px 16px; }
.board-name { font-family: var(--f-head); font-size: 0.9rem; font-weight: 700; color: var(--white); text-transform: uppercase; margin-bottom: 4px; }
.board-role { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }

/* ================================================================
   TIMELINE
   ================================================================ */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 5px; bottom: 5px; width: 2px; background: linear-gradient(180deg, var(--red), rgba(228,28,28,0.05)); }
.tl-item { margin-bottom: 32px; position: relative; }
.tl-dot { position: absolute; left: -28px; top: 4px; width: 14px; height: 14px; background: var(--red); border: 3px solid var(--dark1); box-shadow: 0 0 0 2px var(--red); border-radius: 2px; }
.tl-year { font-family: var(--f-head); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.tl-title { font-family: var(--f-head); font-size: 0.95rem; font-weight: 700; color: var(--white); text-transform: uppercase; margin-bottom: 6px; }
.tl-desc  { font-size: 0.88rem; color: var(--grey3); line-height: 1.8; }

/* ================================================================
   CONTACT SECTION
   ================================================================ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; }
.contact-info {
  background: var(--dark3); border: 1px solid var(--border);
  padding: 44px 36px; position: relative; overflow: hidden;
}
.contact-info::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: var(--red); }
.contact-info::after {
  content: '';
  position: absolute; bottom: -30px; right: -30px;
  width: 120px; height: 120px; border: 2px solid rgba(228,28,28,0.1);
  border-radius: 50%;
}
.contact-form {
  background: var(--dark3); border: 1px solid var(--border);
  padding: 44px 44px;
}
.contact-form::before { content: ''; display: block; height: 3px; background: var(--red); margin: -44px -44px 36px; }
.cd-label { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 5px; }
.cd-val { font-size: 13px; color: var(--grey1); line-height: 1.7; margin-bottom: 22px; }
.cd-val a:hover { color: var(--red); }

.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-family: var(--f-head); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey3); }
.form-input, .form-select, .form-textarea {
  background: var(--dark4); border: 1px solid var(--border);
  padding: 12px 14px; font-family: var(--f-body); font-size: 13px; color: var(--white);
  outline: none; transition: border-color 0.2s; width: 100%; border-radius: 2px;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--red); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--grey3); }
.form-select option { background: var(--dark4); }
.form-textarea { resize: vertical; min-height: 120px; }

/* ================================================================
   NEWS/BLOG CARDS
   ================================================================ */
.news-card {
  background: var(--dark3); border: 1px solid var(--border);
  overflow: hidden; transition: all 0.3s ease;
}
.news-card:hover { border-color: rgba(228,28,28,0.3); transform: translateY(-4px); box-shadow: var(--s2); }
.news-card:hover .news-card__img img { transform: scale(1.05); filter: brightness(0.55) saturate(0.6); }
.news-card__img { overflow: hidden; aspect-ratio: 16/9; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.65) saturate(0.65); transition: transform 0.5s, filter 0.5s; }
.news-card__body { padding: 22px 24px 26px; }
.news-card__cat { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.news-card__cat::before { content: ''; width: 14px; height: 2px; background: var(--red); }
.news-card__title { font-family: var(--f-head); font-size: 1.05rem; font-weight: 700; color: var(--white); text-transform: uppercase; margin-bottom: 10px; line-height: 1.3; }
.news-card__meta { font-size: 11px; color: var(--grey3); letter-spacing: 0.06em; }

/* News list item */
.news-item { display: flex; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: padding-left 0.2s; }
.news-item:last-child { border-bottom: none; }
.news-item:hover { padding-left: 8px; }
.news-item:hover .ni-arrow { color: var(--red); }
.ni-date { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); min-width: 80px; }
.ni-title { font-family: var(--f-head); font-size: 0.95rem; font-weight: 700; color: var(--white); flex: 1; text-transform: uppercase; }
.ni-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey3); background: var(--dark4); border: 1px solid var(--border); padding: 3px 10px; white-space: nowrap; }
.ni-arrow { color: var(--grey3); font-size: 1rem; transition: color 0.2s; }

/* ================================================================
   OWNERSHIP
   ================================================================ */
.own-card {
  background: var(--dark3); border: 1px solid var(--border);
  padding: 36px 30px; position: relative; overflow: hidden;
  transition: all 0.3s ease;
}
.own-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transition: transform 0.3s; }
.own-card:hover::before { transform: scaleX(1); }
.own-card:hover { border-color: rgba(228,28,28,0.3); }
.own-pct { font-family: var(--f-head); font-size: 4.5rem; font-weight: 900; color: var(--red); line-height: 1; margin-bottom: 8px; }
.own-name { font-family: var(--f-head); font-size: 0.95rem; font-weight: 700; color: var(--white); text-transform: uppercase; margin-bottom: 14px; }

/* ================================================================
   IMAGE FRAMES
   ================================================================ */
.img-frame { position: relative; overflow: hidden; border: 1px solid var(--border); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; filter: brightness(0.85) saturate(0.75); }
.img-frame:hover img { transform: scale(1.04); filter: brightness(0.75) saturate(0.65); }
/* Red corner bracket */
.img-frame::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 24px; height: 24px;
  border-top: 3px solid var(--red);
  border-left: 3px solid var(--red);
  z-index: 2;
}
.img-frame::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 24px; height: 24px;
  border-bottom: 3px solid var(--red);
  border-right: 3px solid var(--red);
  z-index: 2;
}
.img-caption { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey3); margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.img-caption::before { content: ''; width: 14px; height: 2px; background: var(--red); flex-shrink: 0; }

.img-trio { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 12px; }
.img-trio .img-frame { aspect-ratio: 4/3; }
.photo-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 10px; }
.photo-strip .img-frame { aspect-ratio: 1/1; }
.img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.img-pair .img-frame { aspect-ratio: 4/3; }

/* ================================================================
   GALLERY LIGHTBOX
   ================================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.gallery-item { position: relative; overflow: hidden; cursor: pointer; border: 1px solid var(--border); transition: all 0.3s; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.65) saturate(0.6); transition: transform 0.5s, filter 0.5s; }
.gallery-item:hover img { transform: scale(1.07); filter: brightness(0.45) saturate(0.5); }
.gallery-item--std  { aspect-ratio: 4/3; }
.gallery-item--wide { aspect-ratio: 16/7; grid-column: span 2; }
.gallery-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(0deg, rgba(13,13,13,0.92), transparent); padding: 28px 16px 12px; font-family: var(--f-head); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-label { opacity: 1; }
.gallery-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transition: transform 0.3s; z-index: 2; }
.gallery-item:hover::before { transform: scaleX(1); }

.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.96); z-index: 9000; align-items: center; justify-content: center; padding: 32px; }
.lightbox.open { display: flex; }
.lightbox__img { max-width: 88vw; max-height: 84vh; object-fit: contain; box-shadow: var(--s3); }
.lightbox__close { position: fixed; top: 20px; right: 28px; background: var(--red); border: none; color: var(--white); font-size: 1.3rem; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; }
.lightbox__close:hover { background: var(--red-dark); }
.lightbox__caption { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); font-family: var(--f-head); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey3); white-space: nowrap; }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); background: var(--red); border: none; color: var(--white); font-size: 1.4rem; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; }
.lightbox__nav:hover { background: var(--red-dark); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

/* ================================================================
   CTA BAND
   ================================================================ */
.cta-band {
  background: var(--red); padding: 72px 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute;
  top: -40px; right: -40px; width: 180px; height: 180px;
  border: 3px solid rgba(255,255,255,0.10); border-radius: 50%;
}
.cta-band::after {
  content: ''; position: absolute;
  bottom: -60px; left: -60px; width: 240px; height: 240px;
  border: 3px solid rgba(255,255,255,0.06); border-radius: 50%;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p  { color: rgba(255,255,255,0.80); margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ================================================================
   PLACEHOLDER
   ================================================================ */
.placeholder-box { padding: 64px 40px; text-align: center; background: var(--dark3); border: 1px dashed var(--border); }
.placeholder-box h3 { color: var(--grey3); text-transform: uppercase; margin-bottom: 10px; }
.placeholder-box p { color: var(--grey3); max-width: 380px; margin: 0 auto; font-size: 0.9rem; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer { 
  background: linear-gradient(135deg, rgba(235,228,217,0.68), rgba(227,218,205,0.68)),
              url('../images/namib-landscape.jpg') center/cover no-repeat;
  background-attachment: fixed;
  border-top: 1px solid var(--border); 
}
.footer__top { padding: 80px 0 56px; border-bottom: 1px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer__brand-name { font-family: var(--f-head); font-size: 1.4rem; font-weight: 900; color: var(--white); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.footer__brand-name span { color: var(--red); }
.footer__brand-sub { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.footer__desc { font-size: 0.87rem; color: var(--grey3); line-height: 1.85; max-width: 260px; }
.footer__col-head {
  font-family: var(--f-head); font-size: 11px; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--white);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--red); display: inline-block;
}
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col li a { font-size: 13px; color: var(--grey3); transition: all 0.2s; display: flex; align-items: center; gap: 8px; }
.footer__col li a::before { content: '›'; color: var(--red); }
.footer__col li a:hover { color: var(--red); padding-left: 4px; }
.footer__bottom { padding: 20px 30px; display: flex; align-items: center; justify-content: space-between; }
.footer__copy { font-size: 11px; color: var(--grey3); letter-spacing: 0.06em; }
.footer__copy a { color: var(--red); }

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.18s; }
.d3 { transition-delay: 0.28s; }
.d4 { transition-delay: 0.38s; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width:1100px) {
  .board-grid { grid-template-columns: repeat(3,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-step::after { display: none; }
}
@media (max-width:900px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .h-nav, .h-phone { display: none; }
  .h-toggle { display: flex; }
  .h-nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--black); border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px; gap: 0; z-index: 999;
  }
  .h-nav.open a { height: 48px; border-bottom: 1px solid var(--border); border-bottom-color: var(--border) !important; }
  .split, .split-60 { grid-template-columns: 1fr; gap: 36px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .counter-grid { grid-template-columns: 1fr 1fr; }
  .counter-item { border-right: none; border-bottom: 1px solid var(--border); }
  .counter-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .contact-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .img-trio { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .gallery-grid, .port-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--wide, .port-card--wide { grid-column: span 2; }
  .section { padding: 72px 0; }
  .hero h1 { font-size: 3.2rem; }
  .hero__btns { flex-direction: column; align-items: flex-start; }
  .hero__bar-inner { flex-wrap: wrap; }
}
@media (max-width:580px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid, .port-grid { grid-template-columns: 1fr; }
  .gallery-item--wide, .port-card--wide { grid-column: 1; aspect-ratio: 4/3; }
  .counter-grid { grid-template-columns: 1fr 1fr; }
  .counter-item { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
}
