/* ═══════════════════════════════════════════════════════════════
   TBBN — The Big Brand Network | main.css
   Brand colours from trademark guidelines (TM No. 5914203)
   Mobile-first | WCAG AA | Lighthouse 90+
═══════════════════════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Brand palette */
  --black:    #161313;
  --red:      #FF0000;
  --gold:     #FCC410;
  --gold2:    #FEE715;
  --gray:     #DDDDDD;
  --crimson:  #BF1622;
  --blue:     #2E4DA7;
  --teal:     #008DB9;

  /* UI surfaces */
  --bg:       #0B0B0B;
  --surface:  #141111;
  --surface2: #1C1919;
  --surface3: #242020;
  --border:   rgba(255,255,255,0.08);
  --border2:  rgba(255,255,255,0.14);

  /* Text */
  --text:     #FFFFFF;
  --text2:    #DDD8D8;
  --text3:    #9A9090;
  --text4:    #666060;

  /* Typography */
  --display: 'Barlow Condensed', sans-serif;
  --body:    'Poppins', sans-serif;

  /* Spacing scale */
  --s1: 4px;  --s2: 8px;   --s3: 12px;  --s4: 16px;
  --s5: 24px; --s6: 32px;  --s7: 48px;  --s8: 64px;
  --s9: 96px; --s10: 128px;

  /* Border radius */
  --r1: 2px; --r2: 4px; --r3: 8px;

  /* Transitions */
  --t1: 0.15s ease;
  --t2: 0.25s ease;
  --t3: 0.4s ease;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-red:  0 0 32px rgba(255,0,0,0.15);
}

/* ─── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: var(--r1);
}
img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--red);
  color: #fff;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transition: top var(--t1);
}
.skip-link:focus { top: 16px; }

/* ─── 3. TYPOGRAPHY ────────────────────────────────────────── */
.display-xl {
  font-family: var(--display);
  font-size: clamp(64px, 10vw, 140px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.display-lg {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.display-md {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.display-sm {
  font-family: var(--display);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s4);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--s7);
}
.eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.body-lg  { font-size: 17px; line-height: 1.75; }
.body-md  { font-size: 15px; line-height: 1.7; }
.body-sm  { font-size: 13px; line-height: 1.65; }
.body-xs  { font-size: 11px; line-height: 1.6; }
.text-red     { color: var(--red); }
.text-gold    { color: var(--gold); }
.text-gray    { color: var(--text3); }
.text-muted   { color: var(--text4); }
.text-outline {
  -webkit-text-stroke: 2px currentColor;
  color: transparent;
}
.text-center { text-align: center; }

/* ─── 4. LAYOUT ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s8);
}
.container-sm { max-width: 900px; }
.container-lg { max-width: 1440px; }
.section {
  padding: var(--s10) 0;
}
.section-sm { padding: var(--s9) 0; }
.section-dark  { background: var(--surface); }
.section-black { background: var(--bg); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: var(--s4); }
.gap-2 { gap: var(--s5); }
.gap-3 { gap: var(--s6); }

/* ─── 5. CUSTOM CURSOR (desktop only) ─────────────────────── */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  #tbbn-cursor {
    position: fixed; pointer-events: none; z-index: 9999;
    width: 10px; height: 10px;
    background: var(--red);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    will-change: left, top;
  }
  #tbbn-cursor-ring {
    position: fixed; pointer-events: none; z-index: 9998;
    width: 32px; height: 32px;
    border: 1.5px solid rgba(255,0,0,0.3);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    transition: left 0.1s ease, top 0.1s ease;
    will-change: left, top;
  }
  body:has(a:hover) #tbbn-cursor,
  body:has(button:hover) #tbbn-cursor { width: 18px; height: 18px; background: var(--gold); }
}

/* ─── 6. NAVIGATION ────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  transition: background var(--t3), border-color var(--t3);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11,11,11,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--s8);
  max-width: 1280px;
  margin: 0 auto;
  gap: var(--s6);
}
.nav__logo {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__logo-dot { color: var(--red); }
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s7);
}
.nav__link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text3);
  transition: color var(--t1);
  position: relative;
  padding-bottom: 2px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width var(--t2);
}
.nav__link:hover,
.nav__link.active { color: var(--text); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }
.nav__cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 10px 24px;
  flex-shrink: 0;
  transition: background var(--t2), color var(--t2);
}
.nav__cta:hover { background: var(--gold); color: #000; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text);
  transition: transform var(--t2), opacity var(--t2);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 490;
  background: var(--black);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s6);
  opacity: 0;
  transition: opacity var(--t3);
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
}
.mobile-menu__link {
  font-family: var(--display);
  font-size: clamp(36px, 8vw, 56px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: color var(--t1);
}
.mobile-menu__link:hover { color: var(--red); }
.mobile-menu__cta {
  margin-top: var(--s5);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 14px 40px;
}

/* ─── 7. HERO SECTION ──────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 160px 0 var(--s8);
  position: relative;
  overflow: hidden;
}
/* Houndstooth SVG background pattern */
.hero__pattern {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0 L15 0 L0 15 Z M15 0 L30 0 L30 15 L15 30 L0 30 L0 15 Z M30 0 L60 0 L60 30 L45 30 L30 15 Z M0 30 L15 30 L30 45 L30 60 L0 60 Z M30 30 L60 30 L60 60 L30 60 L30 45 L45 30 Z' fill='white' fill-opacity='0.025'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
}
.hero__ghost-text {
  position: absolute;
  bottom: -60px; right: -30px;
  font-family: var(--display);
  font-size: clamp(160px, 25vw, 320px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__inner {
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--s6);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  opacity: 0;
  animation: fadeUp 0.7s 0.15s forwards;
}
.hero__eyebrow-line { width: 32px; height: 2px; background: var(--red); flex-shrink: 0; }
.hero__title {
  font-family: var(--display);
  font-size: clamp(60px, 10.5vw, 144px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 1100px;
  opacity: 0;
  animation: fadeUp 0.7s 0.3s forwards;
}
.hero__subtitle {
  margin-top: var(--s7);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  color: var(--text3);
  max-width: 520px;
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp 0.7s 0.5s forwards;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  margin-top: var(--s7);
  opacity: 0;
  animation: fadeUp 0.7s 0.65s forwards;
}
.hero__scroll {
  position: absolute; bottom: var(--s7); left: 0;
  display: flex; align-items: center; gap: 14px;
  opacity: 0;
  animation: fadeUp 0.6s 1.1s forwards;
}
.hero__scroll-bar {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--red), transparent);
}
.hero__scroll-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text3);
  writing-mode: vertical-lr;
}
.hero__badges {
  position: absolute; bottom: var(--s7); right: 0;
  display: flex; gap: var(--s3);
  opacity: 0;
  animation: fadeUp 0.6s 1.0s forwards;
}
.hero__badge {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border2);
  padding: 6px 12px;
  color: var(--text3);
}

/* ─── 8. MARQUEE ───────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  background: var(--red);
  padding: 13px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 36s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex; align-items: center; gap: var(--s6);
  padding: 0 var(--s6);
  font-family: var(--display);
  font-size: 14px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap; color: #fff;
}
.marquee__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  flex-shrink: 0;
}

/* ─── 9. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 32px;
  transition: background var(--t2), color var(--t2), gap var(--t2);
  white-space: nowrap;
}
.btn:hover { gap: var(--s4); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #cc0000; }
.btn--gold { background: var(--gold); color: #000; }
.btn--gold:hover { background: var(--gold2); }
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn--outline:hover { border-color: var(--red); background: rgba(255,0,0,0.05); }
.btn--ghost {
  background: transparent;
  color: var(--text3);
  padding: 15px 0;
}
.btn--ghost:hover { color: var(--text); }
.btn--sm { font-size: 11px; padding: 10px 22px; }
.btn--lg { font-size: 13px; padding: 18px 40px; }

/* ─── 10. CARDS ────────────────────────────────────────────── */
/* Service card */
.srv-card {
  background: var(--surface);
  padding: var(--s8) var(--s7);
  position: relative;
  overflow: hidden;
  transition: background var(--t3);
  border-bottom: 3px solid transparent;
}
.srv-card:hover { background: var(--surface2); border-bottom-color: var(--red); }
.srv-card__num {
  font-family: var(--display);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--red);
  opacity: 0.5; margin-bottom: var(--s6);
  transition: opacity var(--t2);
}
.srv-card:hover .srv-card__num { opacity: 1; }
.srv-card__icon { font-size: 28px; margin-bottom: var(--s5); }
.srv-card__title {
  font-family: var(--display);
  font-size: 26px; font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em; line-height: 1.05;
  margin-bottom: var(--s4);
}
.srv-card__desc { font-size: 13px; color: var(--text3); line-height: 1.75; margin-bottom: var(--s5); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 3px 10px;
  color: rgba(255,255,255,0.45);
  transition: border-color var(--t1), color var(--t1);
}
.srv-card:hover .tag { border-color: rgba(255,0,0,0.25); color: var(--text2); }

/* Project / portfolio card */
.proj-card {
  background: var(--surface);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  group: true;
}
.proj-card__img {
  aspect-ratio: 4/3;
  background: var(--surface2);
  position: relative;
  overflow: hidden;
  transition: transform var(--t3);
}
.proj-card:hover .proj-card__img { transform: scale(1.04); }
.proj-card__img-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 50%, var(--surface3) 100%);
}
.proj-card__placeholder-label {
  font-family: var(--display);
  font-size: 40px; font-weight: 900;
  text-transform: uppercase;
  color: rgba(255,255,255,0.07);
  letter-spacing: 0.1em;
}
.proj-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,11,11,0.9) 0%, transparent 60%);
}
.proj-card__meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--s6);
  transform: translateY(4px);
  transition: transform var(--t2);
}
.proj-card:hover .proj-card__meta { transform: translateY(0); }
.proj-card__client {
  font-family: var(--display);
  font-size: 22px; font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--s2);
}
.proj-card__category {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--red);
}
.proj-card__body { padding: var(--s5); }
.proj-card__desc { font-size: 13px; color: var(--text3); line-height: 1.65; }

/* Stats card */
.stat-item {}
.stat-item__num {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1;
}
.stat-item__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-top: 4px;
}

/* Testimonial card */
.testi-card {
  background: var(--surface);
  padding: var(--s7);
  border-left: 3px solid var(--red);
}
.testi-card__quote {
  font-size: 15px;
  font-style: italic;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: var(--s5);
}
.testi-card__author {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.testi-card__role { font-size: 11px; color: var(--text3); margin-top: 2px; }

/* Highlight box */
.highlight-row {
  display: flex;
  align-items: flex-start;
  gap: var(--s5);
  padding: var(--s6) 0;
  border-bottom: 1px solid var(--border);
}
.highlight-row:last-child { border-bottom: none; }
.highlight-row__num {
  font-family: var(--display);
  font-size: 42px; font-weight: 900;
  color: var(--red); opacity: 0.2;
  line-height: 1; flex-shrink: 0; width: 50px;
  transition: opacity var(--t2);
}
.highlight-row:hover .highlight-row__num { opacity: 0.6; }
.highlight-row__title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.highlight-row__desc { font-size: 13px; color: var(--text3); line-height: 1.7; }

/* Check list item */
.check-item {
  display: flex; align-items: center; gap: var(--s3);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
  padding: 8px 14px;
  transition: border-color var(--t2);
}
.check-item:hover { border-color: rgba(255,0,0,0.3); }
.check-item::before { content: '▲'; color: var(--red); font-size: 7px; flex-shrink: 0; }

/* ─── 11. FORMS ────────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: var(--s5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.form__group { display: flex; flex-direction: column; gap: var(--s2); }
.form__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
}
.form__input,
.form__textarea,
.form__select {
  background: var(--surface);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 14px 16px;
  font-size: 14px;
  transition: border-color var(--t2), background var(--t2);
  -webkit-appearance: none;
  appearance: none;
}
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--red);
  background: var(--surface2);
}
.form__input::placeholder,
.form__textarea::placeholder { color: var(--text4); }
.form__textarea { resize: vertical; min-height: 140px; }
.form__select { cursor: pointer; }
.form__error {
  font-size: 11px;
  color: var(--red);
  margin-top: 2px;
}

/* ─── 12. PAGE HERO (inner pages) ──────────────────────────── */
.page-hero {
  padding: 160px 0 var(--s10);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero__pattern {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0 L15 0 L0 15 Z M15 0 L30 0 L30 15 L15 30 L0 30 L0 15 Z M30 0 L60 0 L60 30 L45 30 L30 15 Z M0 30 L15 30 L30 45 L30 60 L0 60 Z M30 30 L60 30 L60 60 L30 60 L30 45 L45 30 Z' fill='white' fill-opacity='0.025'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red); margin-bottom: var(--s5);
}
.page-hero__kicker-line { width: 28px; height: 2px; background: var(--red); flex-shrink: 0; }
.page-hero__title {
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 900px;
  margin-bottom: var(--s6);
}
.page-hero__desc {
  font-size: 16px;
  color: var(--text3);
  max-width: 540px;
  line-height: 1.75;
}

/* ─── 13. BREADCRUMB ───────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 11px;
  color: var(--text4);
  margin-bottom: var(--s6);
}
.breadcrumb__sep { color: var(--text4); }
.breadcrumb a { color: var(--text3); transition: color var(--t1); }
.breadcrumb a:hover { color: var(--red); }

/* ─── 14. IMAGE PLACEHOLDERS ───────────────────────────────── */
.img-ph {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 60%, var(--surface3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.img-ph::before {
  content: attr(data-label);
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255,255,255,0.06);
  letter-spacing: 0.08em;
  text-align: center;
  padding: 20px;
}
.img-ph--accent { background: linear-gradient(135deg, var(--black) 0%, rgba(255,0,0,0.08) 100%); }

/* ─── 15. FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s8);
  padding: var(--s10) 0 var(--s8);
}
.footer__brand {}
.footer__logo {
  font-family: var(--display);
  font-size: 20px; font-weight: 900;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: var(--s5);
}
.footer__logo-dot { color: var(--red); }
.footer__tagline {
  font-size: 13px; color: var(--text3); line-height: 1.7;
  margin-bottom: var(--s5); max-width: 240px;
}
.footer__social {
  display: flex; gap: var(--s4);
}
.footer__social-link {
  width: 36px; height: 36px;
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--text3);
  transition: border-color var(--t1), color var(--t1), background var(--t1);
}
.footer__social-link:hover { border-color: var(--red); color: var(--red); }
.footer__col-title {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text); margin-bottom: var(--s5);
}
.footer__links { display: flex; flex-direction: column; gap: var(--s3); }
.footer__link {
  font-size: 13px; color: var(--text3);
  transition: color var(--t1);
}
.footer__link:hover { color: var(--text); }
.footer__bottom {
  padding: var(--s5) 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
}
.footer__copyright { font-size: 12px; color: var(--text4); }
.footer__legal { display: flex; gap: var(--s5); }
.footer__legal a { font-size: 12px; color: var(--text4); transition: color var(--t1); }
.footer__legal a:hover { color: var(--text3); }
.footer__creds { font-size: 11px; color: var(--text4); text-align: right; }

/* ─── 16. PORTFOLIO FILTER ─────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s8);
}
.filter-btn {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--border2);
  color: var(--text3);
  background: transparent;
  transition: all var(--t1);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s2);
}
.proj-grid__item { display: block; }
.proj-grid__item[data-hidden] { display: none; }

/* ─── 17. CONTACT PAGE ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s10);
  align-items: start;
}
.contact-info {}
.contact-info__item {
  display: flex; gap: var(--s5);
  align-items: flex-start;
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--border);
}
.contact-info__item:last-child { border-bottom: none; }
.contact-info__icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.contact-info__label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--red); margin-bottom: 4px;
}
.contact-info__value { font-size: 15px; color: var(--text2); }

/* FAQ */
.faq { display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5);
  padding: var(--s6) 0;
  font-size: 15px; font-weight: 500;
  color: var(--text); text-align: left;
  background: none; border: none; cursor: pointer;
  transition: color var(--t1);
}
.faq__trigger:hover { color: var(--red); }
.faq__icon {
  font-size: 20px; color: var(--red);
  flex-shrink: 0;
  transition: transform var(--t2);
}
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__body {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t3);
}
.faq__item.open .faq__body { max-height: 200px; }
.faq__body-inner {
  font-size: 14px; color: var(--text3);
  line-height: 1.75;
  padding-bottom: var(--s5);
}

/* ─── 18. LOCATION / INDUSTRY PAGES ───────────────────────── */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s10);
  align-items: start;
}
.loc-sticky { position: sticky; top: 120px; }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
}
.industry-card {
  display: block;
  background: var(--surface);
  padding: var(--s6);
  border-bottom: 2px solid transparent;
  transition: background var(--t2), border-color var(--t2);
}
.industry-card:hover { background: var(--surface2); border-bottom-color: var(--red); }
.industry-card__icon { font-size: 28px; margin-bottom: var(--s4); }
.industry-card__name {
  font-family: var(--display);
  font-size: 20px; font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.industry-card__tagline {
  font-size: 12px; color: var(--text3);
  margin-top: var(--s2); line-height: 1.6;
}

/* About page */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
}
.value-card {
  background: var(--surface);
  padding: var(--s7) var(--s6);
  border-top: 3px solid var(--red);
}
.value-card__icon { font-size: 32px; margin-bottom: var(--s5); }
.value-card__name {
  font-family: var(--display);
  font-size: 24px; font-weight: 900;
  text-transform: uppercase;
  margin-bottom: var(--s3);
}
.value-card__desc { font-size: 13px; color: var(--text3); line-height: 1.7; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline__item {
  display: grid;
  grid-template-columns: 100px 1px 1fr;
  gap: var(--s5);
  padding-bottom: var(--s7);
}
.timeline__year {
  font-family: var(--display);
  font-size: 28px; font-weight: 900;
  color: var(--red); text-align: right;
  padding-top: 2px;
}
.timeline__line {
  display: flex; flex-direction: column; align-items: center;
}
.timeline__dot {
  width: 10px; height: 10px;
  border-radius: 50%; background: var(--red); flex-shrink: 0;
}
.timeline__connector { width: 1px; flex: 1; background: var(--border); margin-top: 4px; }
.timeline__item:last-child .timeline__connector { display: none; }
.timeline__content__title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.timeline__content__desc { font-size: 13px; color: var(--text3); line-height: 1.7; }

/* Services detail page */
.srv-detail {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--s10);
  align-items: start;
}
.srv-nav {
  position: sticky; top: 120px;
  display: flex; flex-direction: column; gap: var(--s2);
}
.srv-nav__link {
  display: flex; align-items: center; gap: var(--s3);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text3); padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t1);
}
.srv-nav__link:hover,
.srv-nav__link.active { color: var(--red); }
.srv-nav__link::before {
  content: '';
  width: 0; height: 1px; background: var(--red);
  transition: width var(--t2);
}
.srv-nav__link:hover::before,
.srv-nav__link.active::before { width: 20px; }
.srv-section { margin-bottom: var(--s10); scroll-margin-top: 100px; }
.srv-section__icon { font-size: 40px; margin-bottom: var(--s5); }
.srv-section__title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px); font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.01em;
  margin-bottom: var(--s5); line-height: 0.95;
}
.srv-section__desc {
  font-size: 15px; color: var(--text3);
  line-height: 1.8; margin-bottom: var(--s6);
  max-width: 600px;
}
.srv-bullets {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s3); margin-bottom: var(--s6);
}
.srv-bullet {
  display: flex; align-items: flex-start; gap: var(--s3);
  font-size: 13px; color: var(--text2);
}
.srv-bullet::before { content: '→'; color: var(--red); font-size: 12px; margin-top: 2px; flex-shrink: 0; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}
.price-card {
  background: var(--surface);
  padding: var(--s7);
  border: 1px solid var(--border);
  position: relative;
  transition: border-color var(--t2);
}
.price-card--featured {
  border-color: var(--red);
  background: var(--surface2);
}
.price-card__badge {
  position: absolute;
  top: -1px; left: var(--s6);
  background: var(--red);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; color: #fff;
}
.price-card__name {
  font-family: var(--display);
  font-size: 28px; font-weight: 900;
  text-transform: uppercase; margin-bottom: var(--s3);
}
.price-card__price {
  font-family: var(--display);
  font-size: 48px; font-weight: 900;
  line-height: 1;
  margin-bottom: var(--s2);
}
.price-card__price span { font-size: 16px; color: var(--text3); font-family: var(--body); font-weight: 300; }
.price-card__period { font-size: 12px; color: var(--text3); margin-bottom: var(--s6); }
.price-card__features { display: flex; flex-direction: column; gap: var(--s3); margin-bottom: var(--s6); }
.price-card__feature {
  display: flex; align-items: center; gap: var(--s3);
  font-size: 13px; color: var(--text2);
}
.price-card__feature::before { content: '✓'; color: var(--red); font-size: 11px; flex-shrink: 0; }
.price-card__feature--off { color: var(--text4); }
.price-card__feature--off::before { content: '–'; color: var(--text4); }

/* ─── 19. GHOST NUMBER / DECORATIVE ───────────────────────── */
.ghost-num {
  font-family: var(--display);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 900; line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.07);
  letter-spacing: -0.02em;
  user-select: none;
}

/* ─── 20. SCROLL REVEAL ANIMATIONS ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-l {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-l.in { opacity: 1; transform: translateX(0); }
.reveal-r {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-r.in { opacity: 1; transform: translateX(0); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ─── 21. UTILITIES ────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.mt-1 { margin-top: var(--s5); }
.mt-2 { margin-top: var(--s6); }
.mt-3 { margin-top: var(--s7); }
.mt-4 { margin-top: var(--s8); }
.mb-1 { margin-bottom: var(--s5); }
.mb-2 { margin-bottom: var(--s6); }
.mb-3 { margin-bottom: var(--s7); }
.full-width-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.cta-band {
  background: var(--red);
  padding: var(--s9) 0;
  text-align: center;
}
.cta-band--dark { background: var(--surface); }
.cta-band__title {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: var(--s5);
  line-height: 0.95;
}
.cta-band__sub {
  font-size: 15px; color: rgba(255,255,255,0.75);
  margin-bottom: var(--s6); max-width: 480px; margin-left: auto; margin-right: auto;
}

/* ─── 22. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .container { padding: 0 var(--s7); }
  .nav__inner { padding: 18px var(--s7); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .srv-detail { grid-template-columns: 1fr; }
  .srv-nav { position: static; flex-direction: row; flex-wrap: wrap; margin-bottom: var(--s6); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .hero__badges { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .full-width-grid { grid-template-columns: repeat(3, 1fr); }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .loc-sticky { position: static; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .srv-bullets { grid-template-columns: 1fr; }
  .section { padding: var(--s9) 0; }
  .page-hero { padding: 130px 0 var(--s9); }
}
@media (max-width: 640px) {
  :root { --s8: 24px; --s9: 64px; --s10: 80px; }
  .container { padding: 0 var(--s5); }
  .nav__inner { padding: 16px var(--s5); }
  .hero { padding: 130px 0 var(--s7); }
  .hero__scroll { display: none; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .full-width-grid { grid-template-columns: 1fr 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__creds { text-align: left; }
  .timeline__item { grid-template-columns: 70px 1px 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .hero__ghost-text { display: none; }
}
@media (max-width: 400px) {
  .industry-grid { grid-template-columns: 1fr; }
  .full-width-grid { grid-template-columns: 1fr; }
}

/* Print styles */
@media print {
  .nav, .marquee, .mobile-menu, #tbbn-cursor, #tbbn-cursor-ring { display: none !important; }
  body { background: white; color: black; }
  a { color: black; }
}

/* ─── WEB COMPONENT — prevent flash before JS defines element ── */
tbbn-footer:not(:defined) {
  display: block;
  min-height: 380px;
  background: var(--black);
  border-top: 1px solid var(--border);
}
