/* ============================================================
   Shewálh — shared stylesheet
   Colour system carried over from the original site.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #0D0B09;
  --dark:       #161210;
  --dark-mid:   #1F1A16;
  --dark-card:  #2A2320;
  --red:        #C8241A;
  --red-light:  #E03C30;
  --red-muted:  #8B1410;
  --earth:      #7A5C3E;
  --earth-light:#A07850;
  --white:      #FFFFFF;
  --light:      #F5F1EB;
  --light-mid:  #EDE8DF;
  --light-dark: #DDD6CC;
  --text-dark:  #1C1714;
  --text-muted: #6B6058;
  --border:     rgba(200,36,26,0.18);
  --shadow-sm:  0 2px 16px rgba(0,0,0,0.07);
  --shadow-md:  0 6px 32px rgba(0,0,0,0.10);

  /* ---- STATUS COLOURS (dashboard indicators, were raw hex) ---- */
  --status-green: #3FB56B;
  --status-amber: #E0A030;
  --status-red:   #E0564B;
  --green-text:   #1E7A3C;


  /* ---- TYPE SCALE (was 52 ad-hoc sizes) ---- */
  --text-2xs:  0.62rem;
  --text-xs:   0.72rem;
  --text-sm:   0.8rem;
  --text-base: 0.88rem;
  --text-md:   0.95rem;
  --text-lg:   1.05rem;
  --text-xl:   1.2rem;
  --text-2xl:  1.4rem;
  --text-3xl:  1.6rem;
  --text-4xl:  1.85rem;
  --text-5xl:  2.2rem;
  --text-6xl:  2.9rem;

  /* ---- SPACING SCALE, 4px base (was 52 ad-hoc values) ---- */
  --space-4:   1rem;
  --space-8:   2rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-10:  2.5rem;
  --space-14:  3.5rem;

}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: var(--white); overflow-x: hidden; }

a { color: inherit; }

/* ============================ NAV ============================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,0.97); backdrop-filter: blur(12px);
}
.nav-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 72px; max-width: 1280px; margin: 0 auto; padding: 0 5%;
}
.nav-logo { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; justify-self: start; }
.nav-logo img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px rgba(255,255,255,0.14); }
.nav-logo-text { font-family: 'Oswald', sans-serif; font-size: var(--text-2xl); font-weight: 500; color: var(--white); letter-spacing: 0.02em; }
.nav-logo-text span { color: var(--red-light); }

/* centred link cluster */
.nav-links { display: flex; gap: var(--space-8); list-style: none; align-items: center; justify-self: center; }
.nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: var(--text-base); font-weight: 500; letter-spacing: 0.03em; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--red-light); }

.nav-right { justify-self: end; display: flex; align-items: center; gap: var(--space-5); }
.nav-phone { color: rgba(255,255,255,0.8); text-decoration: none; font-size: var(--text-base); font-weight: 500; letter-spacing: 0.02em; white-space: nowrap; }
.nav-phone:hover { color: var(--red-light); }
.nav-cta { background: var(--red); color: var(--white) !important; padding: var(--space-2) var(--space-6); border-radius: 4px; font-weight: 400 !important; white-space: nowrap; transition: background 0.2s !important; text-decoration: none; }
.nav-cta:hover { background: var(--red-light) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; justify-self: end; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: all 0.3s; }

/* dropdown */
.nav-dropdown { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: none; border: none; cursor: pointer; padding: 0;
  color: rgba(255,255,255,0.8); font-family: 'Inter', sans-serif;
  font-size: var(--text-base); font-weight: 500; letter-spacing: 0.03em; transition: color 0.2s;
}
.nav-trigger:hover,
.nav-dropdown:hover .nav-trigger,
.nav-dropdown:focus-within .nav-trigger,
.nav-dropdown.open .nav-trigger { color: var(--red-light); }
.nav-trigger-chevron { transition: transform 0.25s; flex-shrink: 0; }
.nav-dropdown:hover .nav-trigger-chevron,
.nav-dropdown:focus-within .nav-trigger-chevron,
.nav-dropdown.open .nav-trigger-chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); margin-top: var(--space-3);
  min-width: 264px; background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.09); border-radius: 10px;
  box-shadow: 0 16px 44px rgba(0,0,0,0.5); padding: var(--space-3) var(--space-2);
  display: flex; flex-direction: column; gap: var(--space-1);
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; z-index: 200;
}
.nav-dropdown-menu::before { content: ''; position: absolute; top: -0.85rem; left: 0; right: 0; height: 0.85rem; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-4); border-radius: 6px;
  color: rgba(255,255,255,0.78); font-size: var(--text-base); font-weight: 400;
  letter-spacing: 0.01em; white-space: nowrap; transition: background 0.18s, color 0.18s; text-decoration: none;
}
.nav-dropdown-menu a svg { color: var(--red-light); flex-shrink: 0; }
.nav-dropdown-menu a:hover { background: rgba(200,36,26,0.16); color: var(--white); }
.nav-dropdown-label { padding: var(--space-2) var(--space-4) var(--space-2); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-light); }
.nav-dropdown-label + a { margin-top: var(--space-1); }
.nav-dropdown-divider { height: 1px; background: rgba(255,255,255,0.1); margin: var(--space-2) var(--space-2); }
.nav-trigger.active { color: var(--red-light); }

/* ============================ BUTTONS ============================ */
.btn-primary {
  background: var(--red); color: var(--white); padding: var(--space-4) var(--space-8);
  border-radius: 4px; font-weight: 400; font-size: var(--text-md); text-decoration: none;
  letter-spacing: 0.02em; transition: all 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid rgba(0,0,0,0.22); color: var(--text-dark);
  padding: var(--space-4) var(--space-8); border-radius: 4px; font-weight: 400; font-size: var(--text-md);
  text-decoration: none; transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* ============================ HERO (shared text bits) ============================ */
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: rgba(200,36,26,0.08); border: 1px solid rgba(200,36,26,0.25);
  color: var(--red); padding: var(--space-2) var(--space-4); border-radius: 2px;
  font-size: var(--text-xs); font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: var(--space-8);
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--red); border-radius: 50%; display: inline-block; }
.hero-title {
  font-family: 'Oswald', sans-serif; font-size: clamp(2.6rem, 4.5vw, 5rem);
  font-weight: 500; color: var(--text-dark); line-height: 1.05; margin-bottom: var(--space-5);
}
.hero-title em { color: var(--red); font-style: normal; display: block; }
.hero-sub { font-size: var(--text-lg); color: var(--text-muted); max-width: 520px; line-height: 1.8; margin-bottom: var(--space-8); font-weight: 300; }
.hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-12); }
.hero-stats { display: flex; gap: var(--space-10); flex-wrap: wrap; border-top: 1px solid var(--light-dark); padding-top: var(--space-8); }
.hero-stat strong { display: block; font-family: 'Oswald', sans-serif; font-size: var(--text-4xl); font-weight: 500; color: var(--red); }
.hero-stat span { font-size: var(--text-sm); color: var(--text-muted); font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; }

/* ============================ VIDEO HERO (home cover) ============================ */
.video-hero { position: relative; min-height: 100vh; padding-top: 72px; display: flex; align-items: center; overflow: hidden; background: var(--black); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.hero-video-overlay { position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(8,7,6,0.72) 0%, rgba(8,7,6,0.5) 42%, rgba(8,7,6,0.26) 72%, rgba(8,7,6,0.16) 100%),
    linear-gradient(to top, rgba(8,7,6,0.42) 0%, rgba(8,7,6,0) 45%);
}
.hero-video-content { position: relative; z-index: 2; max-width: 1280px; width: 100%; margin: 0 auto; padding: var(--space-16) 5%; }
.hero-content-inner { max-width: 660px; }
.video-hero .hero-badge { color: var(--red-light); background: rgba(224,60,48,0.14); border-color: rgba(224,60,48,0.45); }
.video-hero .hero-badge::before { background: var(--red-light); }
.video-hero .hero-title { color: var(--white); }
.video-hero .hero-title em { color: var(--red-light); }
.video-hero .hero-sub { color: rgba(255,255,255,0.86); font-weight: 300; }
.video-hero .hero-stats { border-top-color: rgba(255,255,255,0.2); }
.video-hero .hero-stat strong { color: var(--red-light); }
.video-hero .hero-stat span { color: rgba(255,255,255,0.72); }
.video-hero .btn-outline { border-color: rgba(255,255,255,0.6); color: var(--white); }
.video-hero .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.12); color: var(--white); }
.hero-scroll-hint { position: absolute; z-index: 2; left: 50%; bottom: 1.6rem; transform: translateX(-50%); color: rgba(255,255,255,0.6); display: flex; flex-direction: column; align-items: center; gap: var(--space-2); font-size: var(--text-xs); letter-spacing: 0.18em; text-transform: uppercase; }
.hero-scroll-hint svg { animation: heroBob 1.8s ease-in-out infinite; }
@keyframes heroBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll-hint svg { animation: none; } }

/* ============================ HERO CLIP TOGGLE (compare videos) ============================ */
.nav-logo { cursor: pointer; }
.hero-clip-tag {
  position: absolute; z-index: 3; left: 5%; bottom: 1.5rem;
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: rgba(8,7,6,0.6); border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9); font-size: var(--text-xs); font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; padding: var(--space-2) var(--space-3); border-radius: 4px;
  backdrop-filter: blur(4px);
}
.hero-clip-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red-light); }
.hero-clip-hint { opacity: 0.75; font-size: var(--text-xs); text-transform: none; letter-spacing: 0.02em; color: rgba(255,255,255,0.6); }
@media (max-width: 640px) { .hero-clip-tag { bottom: 4.5rem; } }

/* ============================ TC SHOWCASE HERO (cards over duotone) ============================ */
.tc-hero { position: relative; padding-top: 72px; overflow: hidden; background: var(--black); }
.tc-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(1.06) contrast(1.02); z-index: 0; }
.tc-hero-duotone { position: absolute; inset: 0; z-index: 1; background: var(--dark); mix-blend-mode: multiply; opacity: 0.2; }
.tc-hero-shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(8,7,6,0.8) 0%, rgba(8,7,6,0.3) 52%, rgba(8,7,6,0.5) 100%); }
.tc-hero-inner { position: relative; z-index: 3; max-width: 1280px; margin: 0 auto; padding: var(--space-12) 5% var(--space-16); }
.tc-hero-head { max-width: 780px; margin-bottom: var(--space-12); }
.tc-hero-head .page-breadcrumb { color: rgba(255,255,255,0.72); margin-bottom: var(--space-4); }
.tc-hero-head .page-breadcrumb a { color: var(--red-light); text-decoration: none; }
.tc-hero-head .hero-badge { color: var(--white); background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.32); }
.tc-hero-head .hero-badge::before { background: var(--red-light); }
.tc-hero-head h1 { font-family: 'Oswald', sans-serif; font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 500; color: var(--white); line-height: 1.08; margin-bottom: var(--space-4); }
.tc-hero-head p { color: rgba(255,255,255,0.86); font-size: var(--text-lg); line-height: 1.75; max-width: 640px; font-weight: 300; margin-bottom: var(--space-8); }
.tc-hero-head .hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.tc-hero-head .btn-outline { border-color: rgba(255,255,255,0.55); color: var(--white); }
.tc-hero-head .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.12); color: var(--white); }
.tc-hero-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.tc-card { background: var(--black); border: 1px solid rgba(255,255,255,0.09); border-top: 3px solid transparent; border-radius: 14px; padding: var(--space-10) var(--space-8); transition: transform 0.28s, border-color 0.28s, box-shadow 0.28s; }
.tc-card:hover { transform: translateY(-6px); border-top-color: var(--red); box-shadow: 0 18px 50px rgba(0,0,0,0.55); }
.tc-card-icon { width: 60px; height: 60px; border-radius: 12px; background: rgba(200,36,26,0.16); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-6); }
.tc-card-icon svg { color: var(--red-light); }
.tc-card h3 { font-family: 'Oswald', sans-serif; font-size: var(--text-2xl); font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--white); margin-bottom: var(--space-3); }
.tc-card p { color: rgba(255,255,255,0.66); font-size: var(--text-md); line-height: 1.75; margin-bottom: var(--space-5); }
.tc-card-link { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--red-light); font-size: var(--text-base); font-weight: 500; letter-spacing: 0.04em; text-decoration: none; }
.tc-card-link::after { content: '\2192'; transition: transform 0.2s; }
.tc-card:hover .tc-card-link::after { transform: translateX(4px); }
@media (max-width: 1100px) { .tc-hero-cards { grid-template-columns: repeat(2, 1fr); max-width: 720px; } }
@media (max-width: 560px) { .tc-hero-cards { grid-template-columns: 1fr; max-width: 520px; } }

/* ============================ SUBPAGE HERO ============================ */
.page-hero { position: relative; padding: 72px 5% 0; min-height: 70vh; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.06); animation: heroKen 14s ease-out forwards; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(10,8,6,0.8) 0%, rgba(10,8,6,0.54) 42%, rgba(10,8,6,0.26) 78%, rgba(200,36,26,0.14) 100%); }
@keyframes heroKen { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .page-hero-img { animation: none; transform: none; } }

/* staggered hero entrance */
.page-hero-inner > * { animation: heroIn 0.75s cubic-bezier(0.2,0.7,0.2,1) both; }
.page-hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.page-hero-inner > *:nth-child(2) { animation-delay: 0.13s; }
.page-hero-inner > *:nth-child(3) { animation-delay: 0.21s; }
.page-hero-inner > *:nth-child(4) { animation-delay: 0.29s; }
.page-hero-inner > *:nth-child(5) { animation-delay: 0.37s; }
.page-hero-inner > *:nth-child(6) { animation-delay: 0.45s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .page-hero-inner > * { animation: none; } }

/* hero fact strip */
.page-hero-meta { display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-12); margin-top: var(--space-8); padding-top: var(--space-8); border-top: 1px solid rgba(255,255,255,0.2); }
.page-hero-meta div strong { display: block; font-family: 'Oswald', sans-serif; font-size: var(--text-xl); font-weight: 500; color: var(--white); letter-spacing: 0.02em; }
.page-hero-meta div span { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.62); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.2,0.7,0.2,1), transform 0.7s cubic-bezier(0.2,0.7,0.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Process / "What We Do" steps ===== */
.process { margin-top: var(--space-14); position: relative; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); position: relative; }
.process-grid::before { content: ''; position: absolute; top: 29px; left: 11%; right: 11%; height: 2px; z-index: 0; background: linear-gradient(90deg, rgba(200,36,26,0.12), rgba(200,36,26,0.35) 20%, rgba(200,36,26,0.35) 80%, rgba(200,36,26,0.12)); }
.process-step { position: relative; z-index: 1; }
.process-num { width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Oswald', sans-serif; font-size: var(--text-2xl); font-weight: 600; color: var(--white); background: linear-gradient(140deg, var(--red) 0%, var(--red-muted) 100%); box-shadow: 0 10px 22px -8px rgba(200,36,26,0.55); margin-bottom: var(--space-5); }
.process-step h3 { font-family: 'Oswald', sans-serif; font-size: var(--text-xl); font-weight: 500; color: var(--text-dark); margin-bottom: var(--space-2); letter-spacing: 0.01em; }
.process-step p { font-size: var(--text-base); line-height: 1.7; color: var(--text-muted); }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); } .process-grid::before { display: none; } }
@media (max-width: 520px) { .process-grid { grid-template-columns: 1fr; } }
.page-hero-inner { position: relative; z-index: 1; max-width: 1280px; width: 100%; margin: 0 auto; padding: var(--space-14) 0 var(--space-16); }
.page-breadcrumb { font-size: var(--text-sm); color: rgba(255,255,255,0.6); margin-bottom: var(--space-4); letter-spacing: 0.03em; }
.page-breadcrumb a { color: var(--red-light); text-decoration: none; }
.page-breadcrumb a:hover { text-decoration: underline; }
.page-hero .hero-badge { color: var(--red-light); border-color: rgba(224,60,48,0.4); background: rgba(224,60,48,0.12); }
.page-hero h1 { font-family: 'Oswald', sans-serif; font-size: clamp(2.3rem, 4.4vw, 3.9rem); font-weight: 500; color: var(--white); line-height: 1.08; margin-bottom: var(--space-4); max-width: 860px; }
.page-hero p { font-size: var(--text-lg); color: rgba(255,255,255,0.82); max-width: 640px; line-height: 1.8; font-weight: 300; margin-bottom: var(--space-8); }
.page-hero .hero-actions { margin-bottom: 0; }
.page-hero .btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.page-hero .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.12); color: var(--white); }

/* professional assurance row + credential chips (used on Get a Quote) */
.hero-assurances { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-8); margin: var(--space-8) 0 0; }
.hero-assurances li { display: flex; align-items: center; gap: var(--space-2); color: rgba(255,255,255,0.92); font-size: var(--text-md); font-weight: 400; }
.hero-assurances li svg { color: var(--red-light); flex-shrink: 0; }
.hero-creds { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-8); }
.hero-creds span { display: inline-flex; align-items: center; gap: var(--space-2); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.86); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: var(--space-2) var(--space-4); border-radius: 3px; }
.hero-creds span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red-light); }

/* ============================ TRUST BAR ============================ */
.trust-bar { background: var(--light); padding: var(--space-5) 5%; border-bottom: 1px solid var(--light-dark); }
.trust-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: var(--space-12); flex-wrap: wrap; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: var(--space-2); color: var(--text-muted); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.trust-item svg { color: var(--red); flex-shrink: 0; }

/* ============================ FIELD STRIP ============================ */
.field-strip { position: relative; height: 340px; overflow: hidden; }
.field-strip-img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.field-strip-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,8,6,0.88) 0%, rgba(10,8,6,0.55) 50%, rgba(10,8,6,0.3) 100%); }
.field-strip-content { position: absolute; left: 5%; top: 50%; transform: translateY(-50%); max-width: 1280px; width: 90%; }
.field-strip-content span { font-family: 'Oswald', sans-serif; font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 400; color: var(--white); letter-spacing: 0.08em; text-transform: uppercase; }
.field-strip-content span em { color: var(--red-light); font-style: normal; }

/* ============================ SECTIONS ============================ */
section { padding: var(--space-24) 5%; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-label { font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); margin-bottom: var(--space-4); display: block; }
.section-title { font-family: 'Oswald', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; color: var(--text-dark); line-height: 1.15; margin-bottom: var(--space-4); }
.section-body { font-size: var(--text-lg); color: var(--text-muted); line-height: 1.8; max-width: 580px; }
.section-body.wide { max-width: 720px; }
.divider { width: 48px; height: 3px; background: linear-gradient(to right, var(--red), var(--earth-light)); margin: var(--space-6) 0; border-radius: 2px; }
.divider.center { margin: var(--space-6) auto; }

/* ============================ SERVICES GRID ============================ */
.section-services { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-14); }
.service-card {
  position: relative; background: var(--white); border: 1px solid var(--light-dark);
  padding: var(--space-10) var(--space-8); border-radius: 14px; overflow: hidden;
  transition: transform .38s cubic-bezier(.2,.7,.2,1), box-shadow .38s ease, border-color .38s ease;
  box-shadow: 0 1px 2px rgba(20,15,10,0.05);
  text-decoration: none; display: block; color: inherit;
}
/* top accent bar sweeps in on hover */
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 20px 42px -14px rgba(20,15,10,0.24); }
.service-card:hover::before { transform: scaleX(1); }

/* base icon chip (used by feature rows elsewhere) */
.service-icon { width: 52px; height: 52px; background: rgba(200,36,26,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-6); }
.service-icon svg { color: var(--red); flex-shrink: 0; }

/* filled icon tile, scoped to service cards */
.service-card .service-icon {
  width: 58px; height: 58px; border-radius: 14px; margin-bottom: var(--space-6);
  background: linear-gradient(140deg, var(--red) 0%, var(--red-muted) 100%);
  box-shadow: 0 9px 20px -7px rgba(200,36,26,0.55);
  transition: transform .38s cubic-bezier(.2,.7,.2,1);
}
.service-card .service-icon svg { color: var(--white); }
.service-card:hover .service-icon { transform: scale(1.07) rotate(-3deg); }

.service-card h3 { font-family: 'Oswald', sans-serif; font-size: var(--text-2xl); font-weight: 500; margin-bottom: var(--space-3); color: var(--text-dark); }
.service-card p { font-size: var(--text-md); line-height: 1.75; color: var(--text-muted); }
.service-link { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-6); font-size: var(--text-sm); font-weight: 600; color: var(--red); letter-spacing: 0.06em; text-transform: uppercase; }
.service-link::after { content: '\2192'; transition: transform .3s ease; }
.service-card:hover .service-link::after { transform: translateX(5px); }

/* ============================ CONTENT (subpages) ============================ */
.prose-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-16); align-items: start; }
.prose h2 { font-family: 'Oswald', sans-serif; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 500; color: var(--text-dark); line-height: 1.2; margin: 0 0 var(--space-4); }
.prose h3 { font-family: 'Oswald', sans-serif; font-size: var(--text-2xl); font-weight: 500; color: var(--text-dark); margin: var(--space-8) 0 var(--space-3); }
.prose p { font-size: var(--text-md); color: var(--text-muted); line-height: 1.85; margin-bottom: var(--space-5); }
.prose ul { list-style: none; margin: 0 0 var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.prose ul li { position: relative; padding-left: var(--space-6); font-size: var(--text-md); color: var(--text-muted); line-height: 1.7; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 0.55rem; width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.prose ul li strong { color: var(--text-dark); font-weight: 600; }

.side-card { background: var(--light); border: 1px solid var(--light-dark); border-radius: 10px; padding: var(--space-8); box-shadow: var(--shadow-sm); position: sticky; top: 96px; }
.side-card h4 { font-family: 'Oswald', sans-serif; font-size: var(--text-xl); font-weight: 500; color: var(--text-dark); margin-bottom: var(--space-4); }
.side-card .side-line { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--light-dark); font-size: var(--text-base); }
.side-card .side-line:last-of-type { border-bottom: none; }
.side-card .side-line span { color: var(--text-muted); }
.side-card .side-line strong { color: var(--text-dark); font-weight: 600; white-space: nowrap; }
.side-card .btn-primary { width: 100%; text-align: center; margin-top: var(--space-5); }
.side-note { font-size: var(--text-sm); color: var(--text-muted); margin-top: var(--space-3); line-height: 1.6; }

/* two-column feature rows on subpages */
.feature-rows { display: flex; flex-direction: column; gap: var(--space-5); margin-top: var(--space-12); }
.feature-row {
  display: grid; grid-template-columns: 48px 1fr; gap: var(--space-6); align-items: start;
  background: var(--white); border: 1px solid var(--light-dark); border-left: 4px solid var(--red);
  border-radius: 10px; padding: var(--space-8) var(--space-8); box-shadow: var(--shadow-sm);
}
.feature-row .service-icon { margin-bottom: 0; }
.feature-row h3 { font-family: 'Oswald', sans-serif; font-size: var(--text-xl); font-weight: 500; color: var(--text-dark); margin-bottom: var(--space-2); }
.feature-row p { font-size: var(--text-md); color: var(--text-muted); line-height: 1.7; }

/* ============================ TECHNOLOGY (our apps) ============================ */
.section-tech { background: var(--light); }
.tech-apps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); margin-top: var(--space-12); }
.tech-app-card { background: var(--white); border: 1px solid var(--light-dark); border-radius: 10px; padding: var(--space-8); border-top: 3px solid var(--red); box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.tech-app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tech-app-tag { font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: var(--space-2); }
.tech-app-name { font-family: 'Oswald', sans-serif; font-size: var(--text-2xl); font-weight: 500; color: var(--text-dark); margin-bottom: var(--space-1); }
.tech-app-sub { font-size: var(--text-sm); color: var(--earth); font-style: italic; margin-bottom: var(--space-3); line-height: 1.5; }
.tech-app-desc { font-size: var(--text-base); color: var(--text-muted); line-height: 1.75; }

/* ============================ CTA BANNER ============================ */
.cta-banner { background: var(--red); padding: var(--space-16) 5%; text-align: center; }
.cta-banner.cta-photo { position: relative; overflow: hidden; background: var(--black); padding: var(--space-24) 5%; }
.cta-banner.cta-photo > img { position: absolute; top: -15%; left: 0; width: 100%; height: 130%; object-fit: cover; object-position: center 40%; z-index: 0; will-change: transform; }
.cta-banner.cta-photo::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(0,0,0,0.30), rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.72)); }
.cta-banner.cta-photo h2, .cta-banner.cta-photo p, .cta-banner.cta-photo a { position: relative; z-index: 2; }
.cta-banner.cta-photo h2 { text-shadow: 0 2px 18px rgba(0,0,0,0.6); }
.cta-banner.cta-photo p { text-shadow: 0 1px 12px rgba(0,0,0,0.7); }
.cta-banner h2 { font-family: 'Oswald', sans-serif; font-size: var(--text-5xl); font-weight: 500; color: var(--white); margin-bottom: var(--space-3); }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: var(--text-md); margin-bottom: var(--space-8); max-width: 640px; margin-left: auto; margin-right: auto; }
.btn-white { background: var(--white); color: var(--red); padding: var(--space-4) var(--space-8); border-radius: 4px; font-weight: 500; text-decoration: none; font-size: var(--text-md); display: inline-block; transition: all 0.2s; margin: 0 var(--space-2); }
.btn-white:hover { background: var(--light); }
.btn-ghost { border: 2px solid rgba(255,255,255,0.8); color: var(--white); padding: var(--space-4) var(--space-8); border-radius: 4px; font-weight: 400; text-decoration: none; font-size: var(--text-md); display: inline-block; transition: all 0.2s; margin: 0 var(--space-2); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); }

/* ============================ QUOTE FORM ============================ */
.quote-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--space-16); align-items: start; }
.quote-form { position: relative; overflow: hidden; background: var(--light) url('img/cheakamus-river.jpg') center/cover no-repeat; border-radius: 10px; padding: var(--space-10); border: 1px solid var(--light-dark); }
.quote-form::before { content: ''; position: absolute; inset: 0; background: var(--light); opacity: var(--form-veil, 0.94); transition: opacity 0.5s ease; z-index: 0; pointer-events: none; }
.quote-form > * { position: relative; z-index: 1; }
.quote-form h3 { font-family: 'Oswald', sans-serif; font-size: var(--text-2xl); color: var(--text-dark); margin-bottom: var(--space-6); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-group { margin-bottom: var(--space-4); }
.form-group label { display: block; font-size: var(--text-sm); font-weight: 400; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-2); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--white); border: 1px solid var(--light-dark);
  border-radius: 4px; padding: var(--space-3) var(--space-4); color: var(--text-dark); font-family: 'Inter', sans-serif;
  font-size: var(--text-md); transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-submit { width: 100%; background: var(--red); color: var(--white); border: none; padding: var(--space-4); border-radius: 4px; font-weight: 500; font-size: var(--text-md); cursor: pointer; transition: background 0.2s; font-family: 'Inter', sans-serif; }
.btn-submit:hover { background: var(--red-light); }
.btn-submit:disabled { opacity: 0.6; cursor: default; }
.hidden-field { display: none; }
.form-status { margin-top: var(--space-4); padding: var(--space-4) var(--space-4); border-radius: 6px; font-size: var(--text-base); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(46,125,50,0.1); border: 1px solid rgba(46,125,50,0.35); color: var(--green-text); }
.form-status.err { background: rgba(200,36,26,0.08); border: 1px solid rgba(200,36,26,0.3); color: var(--red); }

/* ============================ RATE TABLE ============================ */
.rate-table-wrap { overflow-x: auto; margin-top: var(--space-10); border: 1px solid var(--light-dark); border-radius: 10px; box-shadow: var(--shadow-sm); }
table.rate-table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--white); }
table.rate-table caption { text-align: left; font-family: 'Oswald', sans-serif; font-size: var(--text-xl); font-weight: 500; color: var(--text-dark); padding: var(--space-5) var(--space-6) var(--space-1); caption-side: top; }
table.rate-table th, table.rate-table td { padding: var(--space-3) var(--space-5); text-align: left; font-size: var(--text-md); border-bottom: 1px solid var(--light-mid); }
table.rate-table thead th { background: var(--dark); color: var(--white); font-family: 'Inter', sans-serif; font-weight: 500; letter-spacing: 0.03em; font-size: var(--text-sm); text-transform: uppercase; }
table.rate-table tbody th { font-weight: 600; color: var(--text-dark); }
table.rate-table td { color: var(--text-muted); }
table.rate-table tbody tr:nth-child(even) { background: var(--light); }
table.rate-table tbody tr:last-child th, table.rate-table tbody tr:last-child td { border-bottom: none; }
.rate-note { font-size: var(--text-base); color: var(--text-muted); line-height: 1.7; margin-top: var(--space-4); }
.rate-note strong { color: var(--text-dark); }

/* ============================ FOOTER ============================ */
footer { background: var(--black); padding: var(--space-16) 5% var(--space-8); }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-12); margin-bottom: var(--space-12); }
.footer-brand-logo { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.footer-brand-logo img { width: 46px; height: 46px; object-fit: cover; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px rgba(255,255,255,0.14); }
.footer-brand-logo span { font-family: 'Oswald', sans-serif; font-size: var(--text-2xl); font-weight: 500; color: var(--white); }
.footer-brand p { font-size: var(--text-base); color: rgba(255,255,255,0.58); line-height: 1.75; max-width: 280px; }
.footer-col h5 { font-size: var(--text-sm); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--red-light); margin-bottom: var(--space-5); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col ul a { color: rgba(255,255,255,0.6); font-size: var(--text-base); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--red-light); }
.footer-acknowledgement { border-top: 1px solid rgba(255,255,255,0.06); padding: var(--space-6) 0; margin-bottom: var(--space-2); }
.footer-acknowledgement p { font-size: var(--text-sm); color: rgba(255,255,255,0.58); line-height: 1.7; font-style: italic; max-width: 780px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: var(--space-6); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-4); }
.footer-bottom p { font-size: var(--text-sm); color: rgba(255,255,255,0.52); }
.footer-indigenous { font-size: var(--text-sm); color: rgba(200,36,26,0.7); letter-spacing: 0.03em; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
  .quote-wrap { grid-template-columns: 1fr; gap: var(--space-10); }
  .prose-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .side-card { position: static; }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-apps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-right { display: none; }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch; position: fixed;
    top: 72px; left: 0; right: auto; width: 100vw; background: var(--dark); padding: var(--space-6) 6%; gap: var(--space-4);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-dropdown { width: 100%; }
  .nav-trigger { width: 100%; justify-content: space-between; font-size: var(--text-md); padding: var(--space-1) 0; }
  .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none; left: auto;
    margin-top: 0; padding: 0 0 0 var(--space-2); min-width: 0;
    background: transparent; border: none; box-shadow: none;
    max-height: 0; overflow: hidden; transition: max-height 0.28s ease;
  }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu { max-height: 0; transform: none; }
  .nav-dropdown.open .nav-dropdown-menu,
  .nav-dropdown.open:hover .nav-dropdown-menu { max-height: 520px; transform: none; }
  .nav-dropdown-menu a { white-space: normal; }
  .nav-links .nav-cta { text-align: center; }

  .video-hero { min-height: 100svh; padding-top: 72px; }
  .hero-video-content { padding: var(--space-10) 6% var(--space-12); }
  .hero-title { font-size: var(--text-5xl); line-height: 1.1; }
  .hero-scroll-hint { display: none; }
  .hero-actions { flex-direction: column; gap: var(--space-3); }
  .hero-actions .btn-primary, .hero-actions .btn-outline { width: 100%; text-align: center; padding: var(--space-4) var(--space-6); }
  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5) var(--space-6); }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  section { padding: var(--space-16) 4%; }
  .page-hero { min-height: 54vh; }
}

/* ===== BOOK A CREW MODAL ===== */
.booking-overlay { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: var(--space-5); background: rgba(13,11,9,0.72); backdrop-filter: blur(4px); animation: bookingFade 0.22s ease; }
.booking-overlay[hidden] { display: none; }
@keyframes bookingFade { from { opacity: 0; } to { opacity: 1; } }
.booking-modal { position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: var(--black) url('img/bear-hero.jpg?v=5') center/cover no-repeat; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); border-top: 4px solid var(--red); padding: 0; box-shadow: 0 30px 80px rgba(0,0,0,0.6); animation: bookingRise 0.28s cubic-bezier(0.16,0.84,0.44,1); }
.booking-modal::before { content: ''; position: absolute; inset: 0; background: var(--black); opacity: 0.74; transition: opacity 0.55s ease; z-index: 0; pointer-events: none; }
.booking-modal.revealed::before { opacity: 0.44; }
.booking-view { position: relative; z-index: 1; padding: var(--space-10) var(--space-8) var(--space-8); }
.booking-close { z-index: 2; }
.booking-modal .form-group label { color: rgba(255,255,255,0.9); text-shadow: 0 1px 8px rgba(0,0,0,0.8); }
.booking-modal .form-group { margin-bottom: var(--space-4); }
.label-optional { color: rgba(255,255,255,0.5); font-weight: 400; text-transform: none; letter-spacing: 0; }
@keyframes bookingRise { from { transform: translateY(18px) scale(0.98); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.booking-close { position: absolute; top: 1.1rem; right: 1.1rem; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: none; border-radius: 50%; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); cursor: pointer; transition: background 0.2s, color 0.2s; }
.booking-close:hover { background: var(--red); color: var(--white); }
.booking-heading { font-family: 'Oswald', sans-serif; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 500; letter-spacing: 0.01em; color: var(--white); margin: var(--space-2) 0 var(--space-3); text-shadow: 0 2px 16px rgba(0,0,0,0.7); }
.booking-lede { color: rgba(255,255,255,0.82); font-size: var(--text-md); line-height: 1.7; margin-bottom: var(--space-6); text-shadow: 0 1px 12px rgba(0,0,0,0.7); }
.booking-modal .form-row { margin-bottom: 0; }
.booking-success { text-align: center; padding: var(--space-4) 0 var(--space-2); }
.booking-success-icon { width: 72px; height: 72px; margin: 0 auto var(--space-6); border-radius: 50%; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 26px rgba(0,0,0,0.45); border: 3px solid rgba(255,255,255,0.85); }
.booking-callout { font-family: 'Oswald', sans-serif; font-size: var(--text-lg); color: var(--white); line-height: 1.6; max-width: 30rem; margin: 0 auto var(--space-6); text-shadow: 0 1px 12px rgba(0,0,0,0.7); }
.booking-call-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); width: auto; min-width: 260px; text-decoration: none; }
.booking-dismiss { display: block; margin: var(--space-4) auto 0; background: none; border: none; color: rgba(255,255,255,0.55); font-size: var(--text-base); letter-spacing: 0.03em; cursor: pointer; text-decoration: underline; }
.booking-dismiss:hover { color: var(--white); }
@media (max-width: 560px) { .booking-modal { padding: 0; } .booking-view { padding: var(--space-10) var(--space-6) var(--space-8); } .booking-call-btn { min-width: 0; width: 100%; } }

/* ===== SCENERY BANDS (BC land imagery) ===== */
.scenery-band { position: relative; min-height: 360px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.scenery-band > img { position: absolute; top: -15%; left: 0; width: 100%; height: 130%; object-fit: cover; z-index: 0; will-change: transform; }
.scenery-band > video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.scenery-band::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(13,11,9,0.60), rgba(13,11,9,0.68)); }
.scenery-band-inner { position: relative; z-index: 2; text-align: center; max-width: 760px; padding: var(--space-14) 6%; }
.scenery-band-label { display: inline-block; color: var(--red-light); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.scenery-band-inner h2 { font-family: 'Oswald', sans-serif; font-size: clamp(1.7rem, 3.5vw, 2.7rem); font-weight: 500; color: var(--white); line-height: 1.18; text-shadow: 0 2px 22px rgba(0,0,0,0.55); margin: var(--space-2) 0 0; }
.scenery-band-inner h2 em { color: var(--red-light); font-style: normal; }
.scenery-band-inner p { color: rgba(255,255,255,0.85); margin-top: var(--space-4); line-height: 1.75; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.scenery-band .band-rule { width: 54px; height: 3px; background: var(--red); margin: var(--space-5) auto 0; border-radius: 2px; }

/* Photo banner inside the quote/submission form card */
.quote-form-photo { position: relative; margin: -var(--space-10) -var(--space-10) var(--space-8); height: 155px; overflow: hidden; border-radius: 10px 10px 0 0; }
.quote-form-photo img { position: absolute; top: -15%; left: 0; width: 100%; height: 130%; object-fit: cover; object-position: center 62%; display: block; will-change: transform; }
.quote-form-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(245,241,235,0) 55%, var(--light) 100%); }
@media (max-width: 560px) { .scenery-band { min-height: 300px; } }

/* ===== CITY FEATURE BANDS (Vancouver / BC, image shows clearly) ===== */
.city-band { position: relative; min-height: 460px; overflow: hidden; display: flex; align-items: flex-end; }
.city-band > img { position: absolute; top: -15%; left: 0; width: 100%; height: 130%; object-fit: cover; z-index: 0; will-change: transform; }
.city-band::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(11,9,8,0.92) 0%, rgba(11,9,8,0.5) 30%, rgba(11,9,8,0.12) 60%, rgba(11,9,8,0.15) 100%); }
.city-band-inner { position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto; padding: var(--space-12) 6% var(--space-12); }
.city-band-label { display: inline-block; color: var(--red-light); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.city-band-inner h2 { font-family: 'Oswald', sans-serif; font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 500; color: var(--white); line-height: 1.15; margin: var(--space-2) 0 0; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.city-band-inner h2 em { color: var(--red-light); font-style: normal; }
.city-band-inner p { color: rgba(255,255,255,0.9); max-width: 620px; margin-top: var(--space-3); line-height: 1.75; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.city-band .band-rule { width: 54px; height: 3px; background: var(--red); margin-top: var(--space-5); border-radius: 2px; }
@media (max-width: 560px) { .city-band { min-height: 380px; } }

/* ===== TECH APP SCROLL SHOWCASE (technology page) ===== */
.app-scroll { max-width: 1200px; margin: var(--space-8) auto 0; padding: 0 5%; }
.app-scroll-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: stretch; }
.app-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.3; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.app-step.active { opacity: 1; transform: none; }
.app-step-num { font-family: 'Oswald', sans-serif; font-size: var(--text-6xl); font-weight: 600; color: var(--red); line-height: 1; }
.app-step-tag { display: inline-block; margin-top: var(--space-2); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-light); }
.app-step h3 { font-family: 'Oswald', sans-serif; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 500; color: var(--text-dark); margin: var(--space-2) 0 var(--space-1); }
.app-step-sub { color: var(--text-dark); font-weight: 600; font-size: var(--text-md); margin-bottom: var(--space-3); }
.app-step > p:last-child { color: var(--text-muted); line-height: 1.8; max-width: 30rem; }

.app-visual-sticky { position: sticky; top: 100px; height: calc(100vh - 150px); min-height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-6); }
.app-device { position: relative; width: 100%; max-width: 460px; aspect-ratio: 5 / 4; background: var(--black); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,0.22); overflow: hidden; }
.app-device-bar { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: var(--dark); border-bottom: 1px solid rgba(255,255,255,0.07); }
.app-device-bar > span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.app-device-bar > span:first-child { background: var(--red); }
.app-device-title { margin-left: auto; font-style: normal; font-family: 'Oswald', sans-serif; font-size: var(--text-base); letter-spacing: 0.04em; color: rgba(255,255,255,0.7); }
.app-screens { position: absolute; left: 0; right: 0; top: 42px; bottom: 0; }
.app-screen { position: absolute; inset: 0; padding: var(--space-6); opacity: 0; transform: scale(0.98) translateY(6px); transition: opacity 0.5s ease, transform 0.5s ease; pointer-events: none; }
.app-screen.active { opacity: 1; transform: none; }
.app-progress { width: 220px; height: 4px; background: rgba(0,0,0,0.1); border-radius: 4px; overflow: hidden; }
.app-progress-fill { display: block; height: 100%; width: 25%; background: var(--red); border-radius: 4px; transition: width 0.5s ease; }

/* mini UI motifs inside the device */
.ui-h { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-light); margin-bottom: var(--space-4); }
.ui-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; height: calc(100% - 30px); }
.ui-col { background: var(--dark); border-radius: 8px; padding: 8px 6px; display: flex; flex-direction: column; gap: 6px; }
.ui-col .d { font-size: var(--text-2xs); letter-spacing: 0.05em; color: rgba(255,255,255,0.4); text-align: center; margin-bottom: 2px; }
.ui-blk { display: block; height: 20px; border-radius: 4px; background: rgba(200,36,26,0.75); }
.ui-blk.e { background: rgba(160,120,80,0.7); }
.ui-blk.g { background: rgba(255,255,255,0.12); }
.ui-list { display: flex; flex-direction: column; gap: 9px; }
.ui-item { display: flex; align-items: center; gap: 10px; background: var(--dark); border-radius: 9px; padding: 11px 13px; font-size: var(--text-sm); color: rgba(255,255,255,0.78); }
.ui-item.match { border: 1px solid rgba(200,36,26,0.5); background: rgba(200,36,26,0.08); }
.ui-check { width: 18px; height: 18px; border-radius: 50%; background: var(--red); color: var(--white); font-size: var(--text-2xs); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ui-check.open { background: transparent; border: 2px solid rgba(200,36,26,0.6); }
.ui-tag { margin-left: auto; font-size: var(--text-2xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-light); border: 1px solid rgba(200,36,26,0.5); padding: 3px 8px; border-radius: 20px; }
.ui-doc { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.ui-line { display: block; height: 11px; border-radius: 4px; background: rgba(255,255,255,0.1); width: 100%; }
.ui-line.s { width: 88%; } .ui-line.m { width: 62%; }
.ui-line.hl { background: rgba(200,36,26,0.55); width: 74%; }

@media (max-width: 900px) {
  .app-scroll-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .app-visual-wrap { display: none; }
  .app-step { min-height: 0; opacity: 1; transform: none; background: var(--white); border: 1px solid var(--light-dark); border-radius: 12px; padding: var(--space-6); margin-bottom: var(--space-4); }
  .app-step-num { font-size: var(--text-4xl); }
}

/* ===== ENTRY TERRITORY ACKNOWLEDGMENT ===== */
.ack-overlay { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: var(--space-6); background: rgba(9,7,6,0.82); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.5s ease; }
.ack-overlay.show { opacity: 1; }
.ack-overlay.hide { opacity: 0; }
.ack-modal { position: relative; overflow: hidden; width: 100%; max-width: 580px; background: linear-gradient(rgba(11,9,8,0.86), rgba(11,9,8,0.86)), url('img/ack-bg.jpg') center/cover no-repeat, var(--dark); border: 1px solid rgba(200,36,26,0.35); border-top: 4px solid var(--red); border-radius: 16px; padding: var(--space-12) var(--space-12) var(--space-10); text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,0.6); transform: translateY(16px) scale(0.98); transition: transform 0.5s cubic-bezier(0.16,0.84,0.44,1); }
.ack-modal > * { position: relative; z-index: 1; }
.ack-overlay.show .ack-modal { transform: none; }
.ack-logo { width: 104px; height: 104px; object-fit: cover; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px rgba(255,255,255,0.14); margin: 0 auto var(--space-5); display: block; }
.ack-label { display: inline-block; color: var(--red-light); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: var(--space-4); }
.ack-modal p { color: rgba(255,255,255,0.82); font-size: var(--text-lg); line-height: 1.8; margin-bottom: var(--space-8); }
.ack-modal p .ack-nation { color: var(--white); font-weight: 500; }
.ack-enter { display: inline-block; background: var(--red); color: var(--white); border: none; cursor: pointer; padding: var(--space-3) var(--space-10); border-radius: 4px; font-family: 'Inter', sans-serif; font-size: var(--text-md); letter-spacing: 0.02em; transition: background 0.2s; }
.ack-enter:hover { background: var(--red-light); }
@media (max-width: 560px) { .ack-modal { padding: var(--space-8) var(--space-6) var(--space-8); } .ack-modal p { font-size: var(--text-md); } }

/* ===== ADDED PAGES: procurement / projects / careers / certifications ===== */

/* Placeholder marker (for sample content awaiting real data) */
.placeholder-tag { display:inline-block; font-size:var(--text-2xs); letter-spacing:0.12em; text-transform:uppercase; color:var(--earth-light); border:1px dashed rgba(160,120,80,0.55); border-radius:3px; padding:var(--space-1) var(--space-2); margin-left:var(--space-2); vertical-align:middle; }
.placeholder-note { font-size:var(--text-sm); color:var(--text-muted); font-style:italic; margin-top:var(--space-5); }

/* Impact / stats band (dark) */
.impact-band { background:var(--dark); padding:var(--space-16) 0; }
.impact-band .section-inner { text-align:center; }
.impact-band .section-label { color:var(--red-light); }
.impact-band .section-title { color:var(--white); }
.stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--space-6); margin-top:var(--space-12); }
.stat-tile { background:var(--black); border:1px solid rgba(255,255,255,0.09); border-top:3px solid var(--red); border-radius:14px; padding:var(--space-8) var(--space-6); }
.stat-tile strong { display:block; font-family:'Oswald',sans-serif; font-size:var(--text-6xl); font-weight:500; color:var(--white); line-height:1; }
.stat-tile span { display:block; margin-top:var(--space-3); font-size:var(--text-base); color:rgba(255,255,255,0.62); letter-spacing:0.02em; }
@media (max-width:860px){ .stat-grid{ grid-template-columns:repeat(2,1fr);} .stat-tile strong{ font-size:var(--text-5xl);} }

/* Testimonials (light) */
.testi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-6); margin-top:var(--space-12); }
.testi-card { background:var(--white); border:1px solid var(--light-dark); border-radius:14px; padding:var(--space-8) var(--space-8); display:flex; flex-direction:column; }
.testi-card .quote-mark { font-family:'Oswald',sans-serif; font-size:var(--text-6xl); line-height:0.6; color:var(--red); opacity:0.4; margin-bottom:var(--space-4); }
.testi-card blockquote { font-size:var(--text-md); line-height:1.75; color:var(--text-dark); margin-bottom:var(--space-6); flex:1; }
.testi-card cite { font-style:normal; font-size:var(--text-base); font-weight:600; color:var(--text-dark); }
.testi-card .testi-role { display:block; font-size:var(--text-sm); color:var(--text-muted); margin-top:var(--space-1); }
@media (max-width:860px){ .testi-grid{ grid-template-columns:1fr;} }

/* Projects grid */
.project-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-8); margin-top:var(--space-12); }
.project-card { background:var(--white); border:1px solid var(--light-dark); border-radius:14px; overflow:hidden; display:flex; flex-direction:column; transition:transform 0.28s, box-shadow 0.28s; }
.project-card:hover { transform:translateY(-6px); box-shadow:0 18px 44px rgba(0,0,0,0.14); }
.project-thumb { position:relative; aspect-ratio:16/10; overflow:hidden; }
.project-thumb img { width:100%; height:100%; object-fit:cover; }
.project-tag { position:absolute; top:0.9rem; left:0.9rem; background:rgba(200,36,26,0.95); color:var(--white); font-size:var(--text-xs); letter-spacing:0.08em; text-transform:uppercase; padding:var(--space-1) var(--space-3); border-radius:3px; }
.project-body { padding:var(--space-6) var(--space-6) var(--space-8); flex:1; display:flex; flex-direction:column; }
.project-body h3 { font-family:'Oswald',sans-serif; font-size:var(--text-xl); font-weight:500; color:var(--text-dark); margin-bottom:var(--space-2); }
.project-meta { font-size:var(--text-sm); color:var(--red-muted); letter-spacing:0.04em; text-transform:uppercase; margin-bottom:var(--space-3); }
.project-body p { font-size:var(--text-md); line-height:1.7; color:var(--text-muted); }
@media (max-width:860px){ .project-grid{ grid-template-columns:1fr;} }

/* BC coverage regions */
.coverage-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-4); margin-top:var(--space-10); }
.coverage-region { background:var(--white); border:1px solid var(--light-dark); border-left:3px solid var(--red); border-radius:10px; padding:var(--space-6) var(--space-6); }
.coverage-region h4 { font-family:'Oswald',sans-serif; font-size:var(--text-lg); font-weight:500; letter-spacing:0.02em; color:var(--text-dark); margin-bottom:var(--space-2); }
.coverage-region p { font-size:var(--text-base); line-height:1.6; color:var(--text-muted); }
@media (max-width:860px){ .coverage-grid{ grid-template-columns:1fr;} }

/* Certification detail cards */
.cert-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:var(--space-8); margin-top:var(--space-12); }
.cert-detail { background:var(--white); border:1px solid var(--light-dark); border-radius:14px; padding:var(--space-8) var(--space-8); display:flex; gap:var(--space-5); align-items:flex-start; }
.cert-detail .cert-ico { flex:0 0 auto; width:56px; height:56px; border-radius:12px; background:rgba(200,36,26,0.1); display:flex; align-items:center; justify-content:center; color:var(--red); }
.cert-detail h3 { font-family:'Oswald',sans-serif; font-size:var(--text-xl); font-weight:500; color:var(--text-dark); margin-bottom:var(--space-2); }
.cert-detail p { font-size:var(--text-md); line-height:1.7; color:var(--text-muted); }
.cert-status { display:inline-block; margin-top:var(--space-3); font-size:var(--text-xs); letter-spacing:0.08em; text-transform:uppercase; padding:var(--space-1) var(--space-3); border-radius:3px; }
.cert-status.active { background:rgba(30,120,60,0.12); color:var(--green-text); border:1px solid rgba(30,120,60,0.3); }
.cert-status.progress { background:rgba(160,120,80,0.14); color:var(--earth); border:1px solid rgba(160,120,80,0.35); }
@media (max-width:860px){ .cert-grid{ grid-template-columns:1fr;} }

/* Careers job rows */
.job-list { margin-top:var(--space-10); display:flex; flex-direction:column; gap:var(--space-4); }
.job-row { background:var(--white); border:1px solid var(--light-dark); border-radius:12px; padding:var(--space-6) var(--space-8); display:flex; align-items:center; justify-content:space-between; gap:var(--space-6); transition:border-color 0.2s, box-shadow 0.2s; }
.job-row:hover { border-color:rgba(200,36,26,0.4); box-shadow:0 10px 30px rgba(0,0,0,0.08); }
.job-row-info h3 { font-family:'Oswald',sans-serif; font-size:var(--text-xl); font-weight:500; color:var(--text-dark); margin-bottom:var(--space-1); }
.job-row-info p { font-size:var(--text-base); color:var(--text-muted); }
.job-tags { display:flex; flex-wrap:wrap; gap:var(--space-2); margin-top:var(--space-3); }
.job-tag { font-size:var(--text-xs); letter-spacing:0.04em; text-transform:uppercase; color:var(--red-muted); background:rgba(200,36,26,0.08); border:1px solid rgba(200,36,26,0.2); border-radius:3px; padding:var(--space-1) var(--space-2); }
.job-row .btn-primary { flex:0 0 auto; }
@media (max-width:640px){ .job-row{ flex-direction:column; align-items:flex-start;} .job-row .btn-primary{ width:100%; text-align:center;} }

/* ===== ROOTS: culture + values (homepage) ===== */
.roots { background: var(--dark); position: relative; overflow: hidden; padding: var(--space-20) 6% var(--space-20); }
.roots-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; }
.roots-head { text-align: center; max-width: 730px; margin: 0 auto var(--space-12); }
.roots-head .section-label { color: var(--red-light); }
.roots-head h2 { font-family: 'Oswald', sans-serif; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 500; color: var(--white); line-height: 1.15; margin: var(--space-2) 0 0; }
.roots-head h2 em { color: var(--red-light); font-style: normal; }
.roots-head p { color: rgba(255,255,255,0.72); margin-top: var(--space-4); line-height: 1.8; }
.roots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.roots-card { position: relative; min-height: 360px; border-radius: 10px; overflow: hidden; display: flex; align-items: flex-end; }
.roots-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform 0.8s ease; }
.roots-card:hover > img { transform: scale(1.05); }
.roots-card::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(13,11,9,0.94) 8%, rgba(13,11,9,0.45) 55%, rgba(13,11,9,0.12) 100%); }
.roots-card-body { position: relative; z-index: 2; padding: var(--space-8); }
.roots-card-body .rc-label { display: inline-block; color: var(--red-light); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.roots-card-body h3 { font-family: 'Oswald', sans-serif; font-size: var(--text-2xl); font-weight: 500; color: var(--white); margin: var(--space-2) 0 var(--space-2); }
.roots-card-body p { color: rgba(255,255,255,0.82); font-size: var(--text-md); line-height: 1.7; }
.roots-foot { text-align: center; margin-top: var(--space-10); color: rgba(255,255,255,0.55); font-size: var(--text-base); font-style: italic; }
@media (max-width: 860px) { .roots-grid { grid-template-columns: 1fr; } .roots-card { min-height: 300px; } }

/* Two-column feature grid (homepage Why / About) — collapses on mobile */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; gap: var(--space-10); } }


/* MMCD spec-doc mockup (technology app device) */
.ui-spec { display: flex; flex-direction: column; gap: 7px; }
.ui-spec-title { font-family: 'Oswald', sans-serif; font-size: var(--text-md); color: var(--white); margin-bottom: 3px; }
.ui-spec-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--dark); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; padding: 8px 11px; font-size: var(--text-xs); }
.ui-spec-row span { color: rgba(255,255,255,0.5); }
.ui-spec-row b { color: rgba(255,255,255,0.9); font-weight: 600; }
.ui-spec-row.hl { border-color: rgba(200,36,26,0.5); background: rgba(200,36,26,0.09); }
.ui-spec-row.hl b { color: var(--red-light); }
.ui-spec-tag { margin-top: 4px; align-self: flex-start; font-size: var(--text-2xs); letter-spacing: 0.05em; color: var(--red-light); border: 1px solid rgba(200,36,26,0.4); padding: 3px 8px; border-radius: 20px; }

/* ========================================================================
   TECHNOLOGY PAGE v2 — premium dark "field platform" (scoped .tx-*)
   ======================================================================== */
.tx-hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; background: var(--black); }
.tx-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.42; z-index: 0; }
.tx-hero-veil { position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 90% at 72% 18%, rgba(200,36,26,0.24), transparent 55%), linear-gradient(180deg, rgba(10,8,7,0.80) 0%, rgba(10,8,7,0.58) 45%, rgba(10,8,7,0.97) 100%); }
.tx-hero-grid { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 62px 62px; -webkit-mask-image: radial-gradient(90% 80% at 50% 32%, #000 28%, transparent 74%); mask-image: radial-gradient(90% 80% at 50% 32%, #000 28%, transparent 74%); }
.tx-hero-inner { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: var(--space-32) 6% var(--space-20); width: 100%; }
.tx-hero .page-breadcrumb { color: rgba(255,255,255,0.5); margin-bottom: var(--space-6); }
.tx-hero .page-breadcrumb a { color: rgba(255,255,255,0.72); }
.tx-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-light); font-weight: 500; background: rgba(200,36,26,0.10); border: 1px solid rgba(200,36,26,0.3); padding: 6px 15px; border-radius: 40px; }
.tx-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red-light); box-shadow: 0 0 9px var(--red-light); animation: txpulse 2s ease-in-out infinite; }
@keyframes txpulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.tx-hero-inner h1 { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: clamp(2.9rem, 6.6vw, 5.4rem); line-height: 1.02; color: var(--white); margin: var(--space-6) 0 0; letter-spacing: -0.01em; }
.tx-hero-inner h1 em { font-style: normal; background: linear-gradient(115deg, var(--red-light) 20%, #F5A623); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tx-hero-inner > p { max-width: 600px; color: rgba(255,255,255,0.74); font-size: var(--text-lg); line-height: 1.7; margin: var(--space-6) 0 var(--space-8); }
.tx-hero .hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.tx-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-10); }
.tx-chips span { font-size: var(--text-xs); color: rgba(255,255,255,0.78); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.13); padding: 7px 15px; border-radius: 40px; }

.tx-section { position: relative; background: var(--black); overflow: hidden; padding: var(--space-24) 6%; border-top: 1px solid rgba(255,255,255,0.06); }
.tx-section.alt { background: var(--black); }
.tx-glow { position: absolute; top: -12%; left: 50%; transform: translateX(-50%); width: 1000px; height: 680px; background: radial-gradient(ellipse at center, rgba(200,36,26,0.17), transparent 65%); filter: blur(22px); pointer-events: none; z-index: 0; }
.tx-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; }
.tx-head { text-align: center; max-width: 720px; margin: 0 auto var(--space-12); }
.tx-label { display: inline-block; font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-light); font-weight: 500; margin-bottom: var(--space-4); }
.tx-head h2 { font-family: 'Oswald', sans-serif; font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.1rem); color: var(--white); line-height: 1.12; margin: 0; }
.tx-head h2 em { font-style: normal; color: var(--red-light); }
.tx-head p { color: rgba(255,255,255,0.6); line-height: 1.75; margin-top: var(--space-4); }

/* big command-center dashboard */
.tx-dash { position: relative; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, var(--dark), var(--black)); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 50px 120px rgba(0,0,0,0.6), 0 0 90px rgba(200,36,26,0.10); }
.tx-dash-top { display: flex; align-items: center; gap: 8px; padding: 0 16px; height: 44px; background: var(--black); border-bottom: 1px solid rgba(255,255,255,0.07); }
.tx-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.tx-dot.r { background: var(--status-red); } .tx-dot.y { background: var(--status-amber); } .tx-dot.g { background: var(--status-green); }
.tx-dash-url { margin: 0 auto; font-size: var(--text-xs); color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); padding: 4px 15px; border-radius: 8px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.tx-dash-live { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-2xs); color: var(--status-green); text-transform: uppercase; letter-spacing: 0.09em; }
.tx-dash-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--status-green); box-shadow: 0 0 9px var(--status-green); animation: txpulse 1.8s ease-in-out infinite; }
.tx-dash-body { display: grid; grid-template-columns: 196px 1fr; min-height: 430px; }
.tx-side { background: var(--black); border-right: 1px solid rgba(255,255,255,0.06); padding: 18px 12px; display: flex; flex-direction: column; gap: 3px; }
.tx-side-logo { display: flex; align-items: center; gap: 9px; font-family: 'Oswald', sans-serif; font-size: var(--text-lg); color: var(--white); padding: 4px 10px 16px; }
.tx-side-logo .d { width: 16px; height: 16px; border-radius: 5px; background: linear-gradient(135deg, var(--red-light), var(--red-muted)); box-shadow: 0 0 12px rgba(224,60,48,0.6); }
.tx-nav { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 8px; font-size: var(--text-sm); color: rgba(255,255,255,0.58); text-decoration: none; }
.tx-nav svg { width: 15px; height: 15px; opacity: 0.75; flex-shrink: 0; }
.tx-nav.on { background: rgba(200,36,26,0.15); color: var(--white); box-shadow: inset 0 0 0 1px rgba(200,36,26,0.32); }
.tx-nav.on svg { color: var(--red-light); opacity: 1; }
.tx-main { padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.tx-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tx-kpi { position: relative; background: var(--dark); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 14px 15px; }
.tx-kpi span { display: block; font-size: var(--text-2xs); letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.tx-kpi b { display: block; font-family: 'Oswald', sans-serif; font-size: var(--text-4xl); color: var(--white); line-height: 1.1; margin-top: 5px; }
.tx-kpi i { position: absolute; top: 14px; right: 14px; font-style: normal; font-size: var(--text-2xs); color: var(--status-green); }
.tx-panels { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.tx-map { position: relative; border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 35% 38%, var(--text-dark), var(--black)); border: 1px solid rgba(255,255,255,0.06); min-height: 214px; }
.tx-map::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px); background-size: 27px 27px; }
.tx-route { position: absolute; height: 2px; background: linear-gradient(90deg, transparent, rgba(224,60,48,0.85), transparent); }
.tx-r1 { left: 16%; top: 46%; width: 56%; transform: rotate(-12deg); }
.tx-r2 { left: 30%; top: 66%; width: 44%; transform: rotate(8deg); background: linear-gradient(90deg, transparent, rgba(224,160,48,0.6), transparent); }
.tx-pin { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(200,36,26,0.22), 0 0 14px rgba(224,60,48,0.9); }
.tx-pin.a { background: var(--status-amber); box-shadow: 0 0 0 5px rgba(224,160,48,0.2), 0 0 14px rgba(224,160,48,0.85); }
.tx-pin.g { background: var(--status-green); box-shadow: 0 0 0 5px rgba(63,181,107,0.2), 0 0 14px rgba(63,181,107,0.8); }
.tx-mlbl { position: absolute; font-size: var(--text-2xs); color: rgba(255,255,255,0.72); background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.1); padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.tx-feed { background: var(--dark); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 13px; display: flex; flex-direction: column; gap: 9px; }
.tx-feed-h { font-size: var(--text-2xs); letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.tx-row { display: flex; align-items: center; gap: 9px; font-size: var(--text-xs); color: rgba(255,255,255,0.86); }
.tx-row .s { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: rgba(255,255,255,0.3); }
.tx-row .s.g { background: var(--status-green); box-shadow: 0 0 7px var(--status-green); } .tx-row .s.a { background: var(--status-amber); box-shadow: 0 0 7px var(--status-amber); }
.tx-row small { margin-left: auto; color: rgba(255,255,255,0.4); font-size: var(--text-xs); }

/* bento grid of apps */
.tx-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tx-card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 28px; overflow: hidden; transition: border-color 0.3s ease, transform 0.3s ease; }
.tx-card::after { content: ''; position: absolute; top: -45%; right: -20%; width: 320px; height: 320px; background: radial-gradient(circle, rgba(200,36,26,0.16), transparent 70%); pointer-events: none; opacity: 0; transition: opacity 0.35s ease; }
.tx-card:hover { border-color: rgba(200,36,26,0.42); transform: translateY(-3px); }
.tx-card:hover::after { opacity: 1; }
.tx-card-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(200,36,26,0.14); border: 1px solid rgba(200,36,26,0.3); display: flex; align-items: center; justify-content: center; color: var(--red-light); margin-bottom: 16px; }
.tx-card-icon svg { width: 22px; height: 22px; }
.tx-card-tag { font-size: var(--text-2xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-light); }
.tx-card h3 { font-family: 'Oswald', sans-serif; font-size: var(--text-2xl); color: var(--white); margin: 5px 0 8px; font-weight: 500; }
.tx-card > p { color: rgba(255,255,255,0.6); font-size: var(--text-base); line-height: 1.65; }
.tx-mini { margin-top: 18px; background: var(--black); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 6px 13px; }
.tx-mini-row { display: flex; align-items: center; gap: 8px; font-size: var(--text-xs); color: rgba(255,255,255,0.82); padding: 8px 0; }
.tx-mini-row + .tx-mini-row { border-top: 1px solid rgba(255,255,255,0.05); }
.tx-mini-row .k { color: rgba(255,255,255,0.45); } .tx-mini-row b { margin-left: auto; color: var(--white); font-weight: 600; }
.tx-mchip { margin-left: auto; font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 8px; border-radius: 20px; background: rgba(200,36,26,0.16); color: var(--red-light); border: 1px solid rgba(200,36,26,0.32); }
.tx-mchip.g { background: rgba(63,181,107,0.14); color: var(--status-green); border-color: rgba(63,181,107,0.32); }
.tx-mdot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.tx-mdot.g { background: var(--status-green); box-shadow: 0 0 6px var(--status-green); } .tx-mdot.a { background: var(--status-amber); } .tx-mdot.r { background: var(--red-light); }

/* bento card swipe carousel */
.tx-swipe-hint { text-align: center; font-size: var(--text-sm); letter-spacing: 0.04em; color: rgba(255,255,255,0.42); margin: 0 0 22px; }
.tx-card { display: flex; flex-direction: column; }
.tx-bento { align-items: start; }
/* stage that holds the sliding boxes */
.tx-card-view { position: relative; overflow: hidden; flex: 0 0 auto; margin-top: 6px; height: 210px; transition: height 0.46s cubic-bezier(0.33,1,0.68,1); touch-action: pan-y; }
.tx-card-track { display: contents; }
/* each box is opaque and parks off to the right until it slides over */
.tx-card-page { position: absolute; top: 0; left: 0; width: 100%; box-sizing: border-box; transform: translateX(104%); opacity: 0; z-index: 1; padding-right: 2px; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.014)), var(--black); transition: transform 0.46s cubic-bezier(0.33,1,0.68,1), opacity 0.32s ease; }
.tx-card-page:not(.on) { pointer-events: none; }
.tx-card-page.on { transform: translateX(0); opacity: 1; z-index: 3; box-shadow: -24px 0 46px -16px rgba(0,0,0,0.75); }
.tx-card-page.tucked { transform: translateX(-9%); opacity: 0; z-index: 2; }
.tx-card-page > p { color: rgba(255,255,255,0.6); font-size: var(--text-base); line-height: 1.65; margin: 0; }
.tx-card-page h4 { font-family: 'Oswald', sans-serif; font-weight: 500; font-size: var(--text-sm); letter-spacing: 0.09em; text-transform: uppercase; color: var(--red-light); margin: 0 0 14px; }
.tx-flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.tx-flist li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,0.72); font-size: var(--text-base); line-height: 1.4; }
.tx-flist li svg { width: 15px; height: 15px; margin-top: 2px; flex-shrink: 0; color: var(--red-light); }
.tx-card-why { color: rgba(255,255,255,0.62); font-size: var(--text-base); line-height: 1.68; margin: 0; }
.tx-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.08); }
.tx-card-arrow { width: 32px; height: 32px; border-radius: 9px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.04); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color 0.25s ease, background 0.25s ease; }
.tx-card-arrow:hover { border-color: rgba(200,36,26,0.5); background: rgba(200,36,26,0.14); }
.tx-card-arrow svg { width: 15px; height: 15px; }
.tx-card-dots { display: flex; gap: 8px; }
.tx-card-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.22); cursor: pointer; transition: background 0.25s ease, transform 0.25s ease; }
.tx-card-dots span.on { background: var(--red-light); transform: scale(1.3); }

@media (max-width: 900px) {
  .tx-hero-inner { padding-top: var(--space-24); }
  .tx-dash-body { grid-template-columns: 1fr; }
  .tx-side { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); gap: 6px; }
  .tx-side-logo { display: none; }
  .tx-nav { white-space: nowrap; }
  .tx-kpis { grid-template-columns: repeat(2, 1fr); }
  .tx-panels { grid-template-columns: 1fr; }
  .tx-bento { grid-template-columns: 1fr; }
}

/* tech hero: outline button legible on dark */
.tx-hero .btn-outline { border: 1px solid rgba(255,255,255,0.32); color: var(--white); background: rgba(255,255,255,0.04); }
.tx-hero .btn-outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.10); }

/* ---- dashboard carousel (3 apps) ---- */
.tx-dash { position: relative; }
.tx-side-div { height: 1px; background: rgba(255,255,255,0.07); margin: 9px 8px; }
.tx-nav.muted { color: rgba(255,255,255,0.35); margin-top: auto; }
.tx-nav[data-nav] { cursor: pointer; }
.tx-main-col { position: relative; min-height: 386px; }
main.tx-slide { display: none; }
main.tx-slide.active { display: flex; animation: txfade 0.42s ease; }
@keyframes txfade { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.tx-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 46px; height: 46px; border-radius: 50%; background: rgba(18,15,13,0.92); border: 1px solid rgba(255,255,255,0.16); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s, border-color 0.2s; box-shadow: 0 12px 32px rgba(0,0,0,0.45); }
.tx-arrow svg { width: 20px; height: 20px; }
.tx-arrow:hover { background: var(--red); border-color: var(--red-light); }
.tx-arrow.prev { left: -22px; } .tx-arrow.next { right: -22px; }
.tx-dots { display: flex; justify-content: center; gap: 9px; margin-top: 22px; }
.tx-dotnav { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.22); border: none; padding: 0; cursor: pointer; transition: background 0.25s, width 0.25s; }
.tx-dotnav.on { background: var(--red-light); width: 28px; border-radius: 20px; }
.tx-panel { background: var(--dark); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 13px; }
.tx-panel-full { background: var(--dark); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 6px 15px; }
.tx-srch { display: flex; align-items: center; gap: 9px; background: var(--black); border: 1px solid rgba(255,255,255,0.08); border-radius: 9px; padding: 9px 13px; font-size: var(--text-xs); color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.tx-srch svg { width: 14px; height: 14px; opacity: 0.6; }
.tx-ck { color: var(--status-green); display: inline-flex; flex-shrink: 0; }
.tx-ck svg { width: 15px; height: 15px; }
.tx-val { margin-left: auto; font-weight: 600; color: var(--white); font-size: var(--text-xs); }
.tx-tender { display: flex; align-items: center; gap: 12px; padding: 12px 4px; font-size: var(--text-sm); color: rgba(255,255,255,0.9); border-bottom: 1px solid rgba(255,255,255,0.06); }
.tx-tender:last-child { border-bottom: none; }
.tx-tender .tt { display: flex; flex-direction: column; gap: 2px; }
.tx-tender .tt small { color: rgba(255,255,255,0.42); font-size: var(--text-xs); }
.tx-badge { margin-left: auto; font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: 0.05em; padding: 3px 9px; border-radius: 20px; background: rgba(200,36,26,0.16); color: var(--red-light); border: 1px solid rgba(200,36,26,0.32); white-space: nowrap; }
.tx-badge.g { background: rgba(63,181,107,0.14); color: var(--status-green); border-color: rgba(63,181,107,0.32); }
@media (max-width: 900px) { .tx-arrow.prev { left: 6px; } .tx-arrow.next { right: 6px; } .tx-arrow { width: 40px; height: 40px; } }
