/* ════════════════════════════════════════════════════
   Turbo Contracting — styles.css
   Millwright & Welding · Northern Ontario
   Completely independent of Split Rock Drilling.
════════════════════════════════════════════════════ */

:root {
  --amber: #F0C400;
  --amber-dark: #C4A100;
  --amber-soft: rgba(240, 196, 0, 0.10);
  --amber-glow: rgba(240, 196, 0, 0.25);
  --cream: #F4F2F8;
  --cream-2: #ECEAF0;
  --cream-3: #E0DDE8;
  --white: #FFFFFF;
  --ink: #0E0C14;
  --ink-2: #1C1A26;
  --ink-3: #2E2C3A;
  --steel: #858090;
  --steel-2: #A09AAC;
  --steel-3: #C8C5D0;
  --line: #D4D0DC;
  --line-dark: rgba(255,255,255,0.12);
  --flame: #1B68D8;
  --flame-soft: rgba(27, 104, 216, 0.10);
  --flame-glow: rgba(27, 104, 216, 0.22);
  --navy: #1A2540;
  --navy-2: #242D4A;
  --steel-silver: #858090;
  --steel-dark: #3D3A47;
  --steel-light: #C8C5D0;
  --font-display: 'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Inter', system-ui, Arial, sans-serif;
  --container: 1200px;
  --header-height: 76px;
  --z-header: 100;
  --z-menu: 104;
  --type-hero: 7.5rem;
  --type-xl: 5rem;
  --type-section: 3.25rem;
  --type-card: 1.35rem;
  --space-section: 100px;
  --space-sm: 64px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 220ms;
  --shadow-card: 0 4px 24px rgba(26, 23, 20, 0.08);
  --shadow-hover: 0 8px 40px rgba(26, 23, 20, 0.16);
  --focus-ring: 0 0 0 3px rgba(232, 146, 10, 0.45);
  /* Spacing scale */
  --space-3: 12px;
  --space-6: 24px;
  --space-8: 40px;
  /* Gold alias used in B/A slider */
  --gold: #F0C400;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4 { margin-top: 0; }
p { color: var(--steel); }

/* Accessibility */
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--amber);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: transform var(--duration) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.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;
}

a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

/* Layout */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(245, 240, 232, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow var(--duration) var(--ease), background var(--duration) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(245, 240, 232, 0.97);
  border-bottom-color: transparent;
  box-shadow: 0 8px 32px rgba(26, 23, 20, 0.10);
}
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-text {
  display: grid;
  line-height: 1;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}
.brand-text span {
  font-size: 1.35rem;
  color: var(--ink);
  text-transform: uppercase;
}
.brand-text small {
  margin-top: 3px;
  color: var(--amber);
  font-size: 0.62rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Primary nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--ink-3);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--amber-dark);
  background: var(--amber-soft);
}
.primary-nav a[aria-current="page"] {
  color: var(--amber-dark);
  background: var(--amber-soft);
}
.primary-nav .nav-cta {
  margin-left: 10px;
  padding: 0 20px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
  background: var(--amber-dark);
  color: var(--ink);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--duration) var(--ease);
}
.nav-toggle:hover { border-color: var(--amber); }
.nav-toggle span:not(.sr-only) {
  position: absolute;
  left: 12px; top: 22px;
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}
.nav-toggle span:nth-child(1) { transform: translateY(-7px); }
.nav-toggle span:nth-child(3) { transform: translateY(7px); }
body.nav-open .nav-toggle span:not(.sr-only) { opacity: 0; }
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px; top: 22px;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 1px;
  opacity: 0;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}
body.nav-open .nav-toggle::before { opacity: 1; transform: rotate(45deg); }
body.nav-open .nav-toggle::after  { opacity: 1; transform: rotate(-45deg); }

/* Hero */
.tc-hero {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(232,146,10,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,146,10,0.05) 1px, transparent 1px),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  background-size: 40px 40px, 40px 40px, auto;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
}
.tc-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,146,10,0.4), transparent);
  pointer-events: none;
}
.tc-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 0 100px;
}
.tc-hero-inner.tc-hero-split { padding: 0; text-align: left; }

/* Kicker chip */
.tc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

/* Hero headline */
.tc-hero-headline {
  font-family: var(--font-display);
  font-size: var(--type-hero);
  color: var(--white);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* Amber rule */
.tc-hero-rule {
  width: 80px;
  height: 3px;
  background: var(--amber);
  border: none;
  margin: 28px auto;
}

/* Hero sub */
.tc-hero-sub {
  max-width: 580px;
  margin-inline: auto;
  color: #d5cec6;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* Hero actions */
.tc-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid var(--amber);
  border-radius: var(--radius-sm);
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 146, 10, 0.32);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  background: transparent;
  color: var(--amber);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid var(--amber);
  border-radius: var(--radius-sm);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--amber);
  color: var(--ink);
  transform: translateY(-2px);
}

/* Ghost on amber background */
.tc-cta-band .btn-ghost {
  color: var(--ink);
  border-color: var(--ink);
}
.tc-cta-band .btn-ghost:hover {
  background: var(--ink);
  color: var(--amber);
}

.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.8rem; }

/* Section utility */
.tc-section { padding: var(--space-section) 0; }
.tc-section-sm { padding: var(--space-sm) 0; }

.tc-section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 10px;
}

.tc-section-title {
  font-family: var(--font-display);
  font-size: var(--type-section);
  color: var(--ink);
  line-height: 1.0;
  text-transform: uppercase;
  margin-bottom: 0;
}
.tc-section-title--light { color: var(--white); }

.tc-section-sub {
  max-width: 600px;
  color: var(--steel);
  font-size: 1.05rem;
  margin-top: 16px;
  margin-bottom: 0;
}
.tc-section-sub--light { color: rgba(245, 240, 232, 0.72); }

/* What We Do grid */
.tc-what-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.tc-feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 32px;
  border-top: 3px solid var(--amber);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.tc-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.tc-feature-icon {
  width: 48px; height: 48px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.tc-feature-icon svg {
  width: 22px; height: 22px;
  stroke: var(--ink);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tc-feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.tc-feature-card p {
  color: var(--steel);
  font-size: 0.975rem;
  margin-bottom: 0;
}

/* Services section (dark) */
.tc-services {
  background-image:
    linear-gradient(rgba(232,146,10,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,146,10,0.04) 1px, transparent 1px),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  background-size: 40px 40px, 40px 40px, auto;
  padding: var(--space-section) 0;
}
.tc-services-heading { margin-bottom: 48px; }

.tc-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tc-service-card {
  background: var(--ink-3);
  border-radius: var(--radius-md);
  padding: 32px;
  border-left: 5px solid var(--amber);
  position: relative;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}
.tc-service-card:hover {
  box-shadow: 0 0 0 1px var(--amber-glow), var(--shadow-hover);
  transform: translateY(-3px);
}

.tc-service-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.tc-service-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tc-service-card p {
  color: var(--steel-2);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.6;
}
.tc-service-card .tc-service-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Industries */
.tc-industries {
  background: var(--cream-2);
  padding: var(--space-section) 0;
}
.tc-industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.tc-industry-card {
  background: var(--cream-3);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}
.tc-industry-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}
.tc-industry-card:hover {
  background: var(--white);
  border-color: var(--amber-glow);
  transform: translateY(-3px);
}
.tc-industry-card:hover::before { transform: scaleX(1); }

.tc-industry-icon { width: 42px; height: 42px; margin-inline: auto; margin-bottom: 14px; color: var(--amber); }
.tc-industry-icon svg {
  width: 42px; height: 42px;
  stroke: currentColor; stroke-width: 1.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.tc-industry-card h3 {
  font-size: 0.95rem; font-weight: 700; color: var(--ink);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0;
}

/* Why Turbo (dark split) */
.tc-why {
  background-image:
    linear-gradient(rgba(232,146,10,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,146,10,0.04) 1px, transparent 1px),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  background-size: 40px 40px, 40px 40px, auto;
  padding: var(--space-section) 0;
}
.tc-why-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

.tc-why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.tc-why-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.tc-why-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--amber);
  line-height: 1;
  min-width: 48px;
  margin-top: -4px;
}
.tc-why-item h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--white);
  text-transform: uppercase; margin-bottom: 6px;
}
.tc-why-item p { color: var(--steel-3); font-size: 0.93rem; margin-bottom: 0; line-height: 1.6; }

.tc-why-right { text-align: right; }
.tc-why-right .tc-section-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 0.95;
  color: var(--white);
}

/* Stat row */
.tc-stat-row {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tc-stat-row-inner { display: flex; align-items: stretch; }
.tc-stat-item {
  flex: 1;
  padding: 36px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.tc-stat-item:last-child { border-right: none; }
.tc-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--amber);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.tc-stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--steel-2);
}

/* CTA band (amber bg) */
.tc-cta-band { background: var(--amber); padding: 64px 0; }
.tc-cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.tc-cta-band h2 {
  font-family: var(--font-display);
  font-size: var(--type-section);
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 10px;
}
.tc-cta-band p {
  color: var(--ink);
  opacity: 0.75;
  max-width: 520px;
  margin-bottom: 0;
  font-size: 1.05rem;
}
.tc-cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.tc-link {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity var(--duration) var(--ease);
}
.tc-link:hover { opacity: 0.7; }

/* Footer */
.tc-footer {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.tc-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(130px, 0.5fr) minmax(200px, 0.7fr);
  gap: 48px;
  margin-bottom: 48px;
}
.tc-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}
.tc-footer-brand .brand-text span { color: var(--white); }
.tc-footer-brand .brand-text small { color: var(--amber); }
.tc-footer p { color: var(--steel-2); font-size: 0.93rem; max-width: 340px; line-height: 1.65; margin-bottom: 0; }

.tc-footer h3 {
  color: var(--white); font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px;
}
.tc-footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tc-footer-nav a { color: var(--steel-2); font-size: 0.9rem; font-weight: 500; transition: color var(--duration) var(--ease); }
.tc-footer-nav a:hover { color: var(--amber); }

.tc-footer-contact { display: grid; gap: 8px; }
.tc-footer-contact a, .tc-footer-contact span { display: block; color: var(--steel-2); font-size: 0.9rem; }
.tc-footer-contact a { color: var(--amber); font-weight: 600; transition: color var(--duration) var(--ease); }
.tc-footer-contact a:hover { color: var(--white); }

.tc-footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.tc-footer-bottom p { max-width: none; font-size: 0.85rem; color: var(--steel-2); margin: 0; }

/* Page hero (inner pages) */
.tc-page-hero {
  background-image:
    linear-gradient(rgba(232,146,10,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,146,10,0.05) 1px, transparent 1px),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  background-size: 40px 40px, 40px 40px, auto;
  padding: 96px 0 80px;
  color: var(--white);
}
.tc-page-hero .tc-kicker { margin-bottom: 20px; }
.tc-page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--type-xl);
  color: var(--white);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 16px;
}
.tc-page-hero p {
  max-width: 580px;
  color: rgba(245,240,232,0.72);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* Service detail sections */
.tc-service-section { padding: var(--space-section) 0; }
.tc-service-section:nth-child(even) { background: var(--cream-2); }
.tc-service-section:nth-child(odd) { background: var(--cream); }

.tc-service-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 64px;
  align-items: start;
}

.tc-service-num-label {
  display: block;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--line);
  line-height: 0.9;
  margin-bottom: 8px;
}
.tc-service-section h2 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
}
.tc-service-section p { color: var(--steel); font-size: 1rem; line-height: 1.7; margin-bottom: 16px; }
.tc-service-section p:last-of-type { margin-bottom: 0; }

.tc-service-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.tc-service-list li { position: relative; padding-left: 22px; color: var(--steel); font-size: 0.975rem; line-height: 1.55; }
.tc-service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 999px;
}

/* Sidebar CTA card */
.tc-sidebar-card {
  background: var(--ink);
  border-radius: var(--radius-md);
  padding: 28px;
  border-left: 4px solid var(--amber);
  position: sticky;
  top: calc(var(--header-height) + 20px);
}
.tc-sidebar-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); text-transform: uppercase; margin-bottom: 10px; }
.tc-sidebar-card p { color: var(--steel-3); font-size: 0.9rem; margin-bottom: 20px; }
.tc-sidebar-card .btn-primary { width: 100%; }

/* Process steps (about) */
.tc-process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
  box-shadow: var(--shadow-card);
}
.tc-process-step { background: var(--white); padding: 28px 24px; }
.tc-process-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--amber-soft);
  color: var(--amber-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.tc-process-step h3 { font-size: 1rem; font-weight: 700; color: var(--ink); text-transform: uppercase; margin-bottom: 10px; }
.tc-process-step p { color: var(--steel); font-size: 0.9rem; margin-bottom: 0; }

/* Values cards */
.tc-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.tc-value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border-top: 3px solid var(--amber);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.tc-value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.tc-value-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--ink); text-transform: uppercase; margin-bottom: 10px; }
.tc-value-card p { color: var(--steel); font-size: 0.97rem; margin-bottom: 0; }

/* About story section */
.tc-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.tc-story-grid h2 {
  font-family: var(--font-display);
  font-size: var(--type-section);
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 20px;
}
.tc-story-grid p { color: var(--steel); font-size: 1rem; line-height: 1.75; }
.tc-story-grid p + p { margin-top: 16px; }

.tc-story-accent {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  gap: 16px;
}
.tc-story-stat { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 16px; }
.tc-story-stat:last-child { border-bottom: none; padding-bottom: 0; }
.tc-story-stat-val { font-family: var(--font-display); font-size: 2.8rem; color: var(--amber); line-height: 1; display: block; }
.tc-story-stat-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel-3); display: block; margin-top: 4px; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 14px;
}
.contact-info > p { color: var(--steel); font-size: 1rem; margin-bottom: 32px; }

.contact-detail-block {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.contact-detail-block h3 { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber-dark); margin-bottom: 8px; }
.contact-detail-block a, .contact-detail-block span { display: block; color: var(--steel); font-size: 0.97rem; }
.contact-detail-block a { color: var(--ink); font-weight: 600; }

.contact-checklist {
  background: var(--ink);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 20px;
  border-left: 4px solid var(--amber);
}
.contact-checklist h3 { color: var(--white); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; margin-bottom: 14px; }
.contact-check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-check-list li { position: relative; padding-left: 20px; color: var(--steel-3); font-size: 0.9rem; line-height: 1.5; }
.contact-check-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; background: var(--amber); border-radius: 50%; }

/* Contact form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.form-header {
  background: var(--ink);
  padding: 24px 28px;
  border-bottom: 3px solid var(--amber);
}
.form-header h2 { font-family: var(--font-display); font-size: 1.8rem; color: var(--white); text-transform: uppercase; margin-bottom: 4px; }
.form-header p { color: var(--steel-3); font-size: 0.875rem; margin-bottom: 0; }

.tc-form {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-group { display: grid; gap: 6px; }
.form-group.full, .tc-form .btn-primary { grid-column: 1 / -1; }
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  grid-column: 1 / -1;
}

label { color: var(--ink-3); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-glow);
  background: var(--white);
}
textarea { resize: vertical; }
select {
  min-height: 48px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--steel) 50%), linear-gradient(135deg, var(--steel) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  background-color: var(--cream);
  padding-right: 40px;
}

.form-note { grid-column: 1 / -1; margin: 0; color: var(--steel-2); font-size: 0.88rem; }
.form-note.is-active { color: var(--amber-dark); font-weight: 700; }
.tc-form .btn-primary { width: 100%; }

/* Divider */
.tc-divider { width: 60px; height: 3px; background: var(--amber); border: none; margin: 20px 0 28px; }

/* Responsive 1100px */
@media (max-width: 1100px) {
  :root {
    --type-hero: 5.5rem;
    --type-xl: 3.8rem;
    --type-section: 2.75rem;
    --space-section: 80px;
  }
  .tc-why-split, .tc-story-grid { gap: 48px; }
  .contact-grid { gap: 44px; }
  .tc-process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Responsive 920px */
@media (max-width: 920px) {
  :root {
    --header-height: 72px;
    --type-hero: 4rem;
    --type-xl: 3.2rem;
    --type-section: 2.35rem;
  }

  .nav-toggle { display: inline-flex; z-index: var(--z-menu); }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 14px; left: 14px;
    display: none;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 6px;
    max-height: calc(100vh - var(--header-height) - 20px);
    overflow: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--cream);
    box-shadow: 0 16px 48px rgba(26,23,20,0.18);
    z-index: var(--z-menu);
  }
  body.nav-open .primary-nav { display: grid; }

  .primary-nav a { justify-content: flex-start; min-height: 48px; padding-inline: 16px; }
  .primary-nav .nav-cta { margin-left: 0; margin-top: 6px; justify-content: center; }

  .tc-what-grid, .tc-industries-grid, .tc-values-grid { grid-template-columns: 1fr; }
  .tc-services-grid { grid-template-columns: 1fr; }
  .tc-why-split { grid-template-columns: 1fr; gap: 48px; }
  .tc-why-right { text-align: left; }

  .tc-stat-row-inner { flex-wrap: wrap; }
  .tc-stat-item { flex: 1 1 45%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }

  .tc-cta-band-inner { flex-direction: column; gap: 28px; }
  .tc-footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .contact-grid { grid-template-columns: 1fr; }
  .tc-service-split { grid-template-columns: 1fr; }
  .tc-story-grid { grid-template-columns: 1fr; gap: 40px; }
  .tc-sidebar-card { position: static; }
  .tc-process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row { grid-template-columns: 1fr; }
}

/* Responsive 640px */
@media (max-width: 640px) {
  :root {
    --type-hero: 2.9rem;
    --type-xl: 2.6rem;
    --type-section: 2rem;
    --space-section: 64px;
    --space-sm: 48px;
  }
  .container { width: min(100% - 28px, var(--container)); }
  .tc-hero-sub { font-size: 1rem; }
  .tc-hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 320px; }
  .tc-what-grid, .tc-services-grid, .tc-values-grid { grid-template-columns: 1fr; }
  .tc-industries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc-process-steps { grid-template-columns: 1fr; }
  .tc-form { grid-template-columns: 1fr; padding: 20px; }
  .form-group.full, .tc-form .btn-primary { grid-column: auto; }
  .tc-stat-item { flex: 1 1 100%; }
}

/* ─── Hero split layout with 3D logo ─────────── */
.tc-hero-split {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
  text-align: left;
  padding: 80px 0 100px;
}
.tc-hero-text { display: flex; flex-direction: column; }
/* Fix auto-centering in flex column for split layout */
.tc-hero-split .tc-hero-rule { margin-inline: 0; align-self: flex-start; }
.tc-hero-split .tc-hero-sub { margin-inline: 0; }
.tc-hero-split .tc-hero-actions { justify-content: flex-start; }
.tc-hero-logo3d {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#logo-3d-canvas {
  width: 100%;
  height: 420px;
  display: block;
  border-radius: 12px;
}
@media (max-width: 900px) {
  .tc-hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    padding: 48px 0 72px;
  }
  .tc-hero-logo3d { order: -1; }
  #logo-3d-canvas { height: 280px; }
  .tc-hero-actions { justify-content: center; }
}

/* ─── Brand logo ─────────────────────────────── */
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 3px;
  flex-shrink: 0;
}

/* ─── Before / After comparison ──────────────── */
.tc-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.tc-before-after-item { display: flex; flex-direction: column; gap: var(--space-3); }
.tc-before-after-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--amber);
  text-transform: uppercase;
}
.tc-before-after-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.tc-before-after-caption {
  font-size: 0.875rem;
  color: var(--ink-2);
  opacity: 0.75;
}

/* ─── Photo gallery ───────────────────────────── */
.tc-gallery-section { background: var(--ink); padding: var(--space-section) 0; }
.tc-gallery-section .tc-section-label { color: var(--amber); }
.tc-gallery-section .tc-section-title { color: var(--cream); }
.tc-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.tc-gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  transition: opacity 0.25s;
}
.tc-gallery-img:hover { opacity: 0.8; }

@media (max-width: 900px) {
  .tc-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .tc-gallery { grid-template-columns: repeat(2, 1fr); }
  .tc-before-after { grid-template-columns: 1fr; }
}

/* ─── Service tags / quick list ──────────────── */
.tc-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: var(--space-6) 0;
}
.tc-service-tag {
  background: var(--amber-soft);
  border: 1px solid var(--amber-glow);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ─── Hero photo background ──────────────────── */
.tc-hero { position: relative; overflow: hidden; }
.tc-hero-bg {
  position: absolute;
  inset: -10%;
  z-index: 0;
  will-change: transform;
}
.tc-hero-bg-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.22) saturate(0.6);
  display: block;
}
.tc-hero-inner { position: relative; z-index: 1; }

/* ─── 3D Photo tilt cards ────────────────────── */
.tc-photo-3d {
  transform-style: preserve-3d;
  will-change: transform;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  display: block;
}
.tc-photo-3d img {
  display: block;
  width: 100%;
  transition: transform 0.4s ease;
}
.tc-photo-3d:hover img { transform: scale(1.04); }

/* ─── Clip-path reveal ───────────────────────── */
[data-reveal] {
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}

/* ─── Gallery depth parallax ─────────────────── */
.tc-gallery-depth {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  align-items: start;
}
.tc-gallery-depth .tc-gallery-img { border-radius: 6px; }

/* ─── Before/After slider ────────────────────── */
.tc-ba-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  border-radius: 10px;
  cursor: col-resize;
  user-select: none;
}
.tc-ba-before, .tc-ba-after {
  position: absolute;
  inset: 0;
}
.tc-ba-before img, .tc-ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.tc-ba-after { clip-path: inset(0 50% 0 0); }
.tc-ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--gold, #F0C400);
  transform: translateX(-50%);
  z-index: 2;
}
.tc-ba-handle::before, .tc-ba-handle::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold, #F0C400);
  top: 50%;
  margin-top: -20px;
}
.tc-ba-handle::after {
  width: 22px;
  height: 22px;
  background: var(--ink, #0E0C14);
  margin-top: -11px;
}
.tc-ba-label {
  position: absolute;
  bottom: 14px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(14,12,20,0.65);
  padding: 4px 14px;
  border-radius: 3px;
  pointer-events: none;
}
.tc-ba-label--before { left: 16px; }
.tc-ba-label--after { right: 16px; }

/* ─── Flame accent line ──────────────────────── */
.tc-flame-line {
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--flame, #1B68D8), var(--amber, #F0C400));
  border-radius: 2px;
  margin: 16px 0 24px;
}

/* ─── Float animation (kept for opt-in use) ──── */
@keyframes tc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
/* Brand logo — static in header; subtle scale on hover only */
.brand-logo {
  transition: transform var(--duration) var(--ease);
}
.brand:hover .brand-logo { transform: scale(1.06); }

/* ─── Responsive gallery depth ───────────────── */
@media (max-width: 900px) {
  .tc-gallery-depth { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .tc-gallery-depth { grid-template-columns: 1fr 1fr; }
  .tc-ba-wrap { aspect-ratio: 4/3; }
}

/* ─── Services jump navigation ──────────────── */
.tc-services-jumpnav {
  position: sticky;
  top: var(--header-height);
  z-index: 90;
  background: var(--ink);
  border-bottom: 2px solid rgba(255,255,255,0.06);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tc-services-jumpnav::-webkit-scrollbar { display: none; }
.tc-services-jumpnav-inner {
  display: flex;
  align-items: stretch;
  min-width: max-content;
  padding: 0 4px;
  width: min(100%, var(--container));
  margin-inline: auto;
}
.tc-services-jumpnav a {
  display: inline-flex;
  align-items: center;
  padding: 11px 14px;
  color: var(--steel-2);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.tc-services-jumpnav a:hover,
.tc-services-jumpnav a.is-active {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

/* ─── Gallery photo caption overlay ─────────── */
.tc-photo-3d {
  position: relative;
}
.tc-photo-3d::after {
  content: attr(data-caption);
  position: absolute;
  inset: auto 0 0;
  padding: 28px 14px 12px;
  background: linear-gradient(to top, rgba(14,12,20,0.82) 0%, transparent 100%);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.tc-photo-3d:hover::after { opacity: 1; }

/* ─── Stat row hover ─────────────────────────── */
.tc-stat-item {
  transition: background var(--duration) var(--ease);
}
.tc-stat-item:hover {
  background: rgba(240, 196, 0, 0.05);
}

/* ─── Print styles ───────────────────────────── */
@media print {
  .site-header,
  .nav-toggle,
  .tc-cta-band,
  .tc-stat-row,
  .tc-gallery-section,
  .tc-footer { display: none !important; }
  body { background: #fff; color: #000; }
  a[href]::after { content: " (" attr(href) ")"; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
