/* =====================================================================
   ThermoFloe.com — Homepage layout & sections
   Built on thermofloe-tokens.css (load tokens FIRST).
   ===================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.tf-container { width: 100%; max-width: var(--tf-container); margin-inline: auto; padding-inline: var(--tf-outer); }
.tf-section { position: relative; padding-block: var(--tf-s-10); }
.tf-h2 { font-family: var(--tf-font-sans); font-size: var(--tf-fs-h2); line-height: var(--tf-lh-h2); letter-spacing: var(--tf-tracking-h1); font-weight: 600; color: var(--tf-bone); max-width: 22ch; }
.tf-h3 { font-family: var(--tf-font-sans); font-size: var(--tf-fs-h3); line-height: var(--tf-lh-h2); font-weight: 600; color: var(--tf-bone); }
.tf-lead { color: var(--tf-steel-300); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; max-width: 56ch; }
.tf-sectionhead { margin-bottom: var(--tf-s-8); }
.tf-sectionhead .tf-eyebrow { display: block; margin-bottom: var(--tf-s-4); }

.tf-skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--tf-accent); color: var(--tf-ink); padding: 12px 18px; border-radius: var(--tf-r-sm); font-weight: 600; }
.tf-skip:focus { left: var(--tf-s-4); top: var(--tf-s-4); }

/* =====================================================================
   NAV — floating Glass-01 pill
   ===================================================================== */
.tf-nav { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; justify-content: center; padding-top: 28px; transition: padding-top var(--tf-d-3) var(--tf-ease-out); pointer-events: none; }
.tf-nav.is-scrolled { padding-top: 14px; }
.tf-nav__pill { pointer-events: auto; display: flex; align-items: center; gap: var(--tf-s-6); width: min(1200px, calc(100vw - 48px)); height: 64px; padding: 0 12px 0 24px; transition: height var(--tf-d-3) var(--tf-ease-out), border-color var(--tf-d-3) var(--tf-ease-out); }
.tf-nav.is-scrolled .tf-nav__pill { height: 54px; border-bottom: 1px solid var(--tf-accent-glow); }
.tf-wordmark { font-family: var(--tf-font-sans); font-weight: 800; letter-spacing: 0.04em; font-size: 18px; color: var(--tf-bone); text-decoration: none; white-space: nowrap; }
.tf-wordmark b { font-weight: 800; }
.tf-wordmark .ring { position: relative; }
.tf-wordmark--logo { display: inline-flex; align-items: center; }
.tf-logo { display: block; height: 48px; width: auto; transition: height var(--tf-d-3) var(--tf-ease-out); }
/* Oversized brand mark that floats over the nav bar (scoped to nav; footer logo unaffected) */
.tf-nav__pill .tf-wordmark--logo { position: relative; flex: 0 0 auto; height: 48px; width: 233px; }
.tf-nav__pill .tf-logo { position: absolute; left: 0; top: 50%; transform: translateY(calc(-50% + 10px)); height: 144px; width: auto; z-index: 3; filter: drop-shadow(0 8px 22px rgba(0,0,0,0.5)) brightness(1.06); }
.tf-nav.is-scrolled .tf-nav__pill .tf-logo { height: 120px; }
.tf-navlinks { display: flex; gap: var(--tf-s-5); margin-inline: auto; }
.tf-navlinks a { position: relative; font-family: var(--tf-font-sans); font-size: 14px; font-weight: 500; letter-spacing: 0.01em; color: var(--tf-steel-300); text-decoration: none; padding: 8px 2px; transition: color var(--tf-d-2) var(--tf-ease-out); }
.tf-navlinks a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--tf-accent); transition: width var(--tf-d-2) var(--tf-ease-out); }
.tf-navlinks a:hover { color: var(--tf-bone); }
.tf-navlinks a:hover::after { width: 100%; }
.tf-nav__cta { display: flex; align-items: center; gap: var(--tf-s-4); }
.tf-nav__cta .tf-cta-short { display: none; }
.tf-nav__contact { font-family: var(--tf-font-sans); font-size: 14px; font-weight: 500; color: var(--tf-steel-300); text-decoration: none; }
.tf-nav__contact:hover { color: var(--tf-bone); }
.tf-btn--sm { padding: 10px 18px; font-size: 12px; }
.tf-nav__burger { display: none; pointer-events: auto; width: 48px; height: 48px; border: 0; background: transparent; color: var(--tf-bone); cursor: pointer; }

/* =====================================================================
   HERO
   ===================================================================== */
.tf-hero-sec { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 140px; padding-bottom: 80px; overflow: hidden; }
.tf-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--tf-s-8); align-items: center; }
.tf-hero__eyebrow { margin-bottom: var(--tf-s-5); }
.tf-hero__h1 { font-family: var(--tf-font-display); font-size: var(--tf-fs-hero); line-height: var(--tf-lh-hero); letter-spacing: var(--tf-tracking-hero); font-weight: 700; color: var(--tf-bone); margin-bottom: var(--tf-s-5); }
.tf-hero__h1 .ln { display: block; }
.tf-hero__sub { color: var(--tf-steel-300); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; max-width: 54ch; margin-bottom: var(--tf-s-7); }
.tf-hero__sub b { color: var(--tf-bone); font-weight: 500; }
.tf-hero__cta { display: flex; flex-wrap: wrap; gap: var(--tf-s-4); }

.tf-hero__cards { display: grid; gap: var(--tf-s-4); }
.tf-speccard { padding: var(--tf-s-6); display: flex; flex-direction: column; gap: 6px; }
.tf-speccard__num { font-family: var(--tf-font-display); font-weight: 700; font-size: clamp(44px, 4.6vw, 64px); line-height: 1; color: var(--tf-accent); letter-spacing: -0.02em; }
.tf-speccard__num .u { font-size: 0.5em; color: var(--tf-bone); margin-left: 4px; letter-spacing: 0; }
.tf-speccard__label { font-family: var(--tf-font-sans); font-size: 13px; color: var(--tf-steel-300); }
.tf-speccard__rule { height: 1px; background: linear-gradient(90deg, var(--tf-accent-glow), transparent); margin-block: 4px 2px; }
.tf-speccard__cap { font-family: var(--tf-font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--tf-steel-500); text-transform: uppercase; }

.tf-scrollcue { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--tf-steel-500); }
.tf-scrollcue .track { width: 1px; height: 36px; background: var(--tf-steel-700); position: relative; overflow: hidden; }
.tf-scrollcue .dot { position: absolute; top: 0; left: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--tf-accent); animation: tf-cue 2s var(--tf-ease-in-out) infinite; }
.tf-scrollcue span { font-family: var(--tf-font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
@keyframes tf-cue { 0%,100% { transform: translateY(0); opacity: 0; } 50% { transform: translateY(24px); opacity: 1; } }

/* =====================================================================
   PROOF BAR
   ===================================================================== */
.tf-proof { padding-block: var(--tf-s-8); border-block: 1px solid var(--tf-steel-900); background: var(--tf-ink-2); }
.tf-proof__eyebrow { text-align: center; margin-bottom: var(--tf-s-6); }
.tf-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.tf-marquee__track { display: flex; gap: var(--tf-s-9); width: max-content; animation: tf-marquee 40s linear infinite; }
.tf-marquee:hover .tf-marquee__track { animation-play-state: paused; }
.tf-marquee__item { font-family: var(--tf-font-sans); font-weight: 700; font-size: clamp(18px, 2vw, 26px); letter-spacing: 0.02em; color: var(--tf-steel-500); opacity: 0.7; white-space: nowrap; transition: color var(--tf-d-2), opacity var(--tf-d-2); }
.tf-marquee__item:hover { color: var(--tf-bone); opacity: 1; }
@keyframes tf-marquee { to { transform: translateX(-50%); } }

.tf-counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--tf-s-6); margin-top: var(--tf-s-8); text-align: center; }
.tf-counter__num { font-family: var(--tf-font-display); font-weight: 700; font-size: clamp(36px, 4vw, 60px); line-height: 1; color: var(--tf-bone); letter-spacing: -0.02em; }
.tf-counter__num em { font-style: normal; color: var(--tf-accent); }
.tf-counter__label { font-family: var(--tf-font-sans); font-size: 13px; color: var(--tf-steel-300); margin-top: 10px; }

/* =====================================================================
   CAPABILITY TRIPTYCH
   ===================================================================== */
.tf-trip { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--tf-s-5); }
.tf-cap { display: flex; flex-direction: column; padding: var(--tf-s-7); gap: var(--tf-s-4); }
.tf-cap__icon { width: 56px; height: 56px; color: var(--tf-accent); }
.tf-cap__icon svg { width: 100%; height: 100%; }
.tf-cap__copy { color: var(--tf-steel-300); font-size: 15px; line-height: 1.55; }
.tf-cap__specs { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: var(--tf-s-4); }
.tf-cap__specs li { display: flex; gap: 10px; align-items: baseline; font-family: var(--tf-font-mono); font-size: 12px; color: var(--tf-steel-300); border-top: 1px solid var(--tf-steel-900); padding-top: 8px; }
.tf-cap__specs b { color: var(--tf-bone); font-weight: 500; }
.tf-cap__specs .k { color: var(--tf-steel-500); min-width: 84px; text-transform: uppercase; letter-spacing: 0.04em; }
.tf-explore { margin-top: var(--tf-s-4); display: inline-flex; align-items: center; gap: 8px; font-family: var(--tf-font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tf-accent); text-decoration: none; }
.tf-explore svg { transition: transform var(--tf-d-2) var(--tf-ease-out); }
.tf-explore:hover svg { transform: translateX(5px); }

/* =====================================================================
   THE FLOOR — split, sticky copy + media
   ===================================================================== */
.tf-floor__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--tf-s-8); align-items: start; }
.tf-floor__copy { position: sticky; top: 120px; }
.tf-floor__specs { margin-top: var(--tf-s-6); display: flex; flex-direction: column; gap: 2px; }
.tf-floor__specs li { display: flex; justify-content: space-between; gap: 16px; font-family: var(--tf-font-mono); font-size: 13px; padding: 12px 0; border-top: 1px solid var(--tf-steel-900); color: var(--tf-steel-300); }
.tf-floor__specs b { color: var(--tf-bone); font-weight: 500; }
.tf-floor__media { display: flex; flex-direction: column; gap: var(--tf-s-5); }
.tf-mediacard { position: relative; border-radius: var(--tf-r-lg); overflow: hidden; border: 1px solid var(--tf-steel-700); }
.tf-mediacard img { width: 100%; aspect-ratio: 16/10; object-fit: cover; filter: brightness(0.72) contrast(1.08) saturate(0.9); transition: filter var(--tf-d-3) var(--tf-ease-out), transform 1.2s var(--tf-ease-out); }
.tf-mediacard:hover img { filter: brightness(0.85) contrast(1.05) saturate(1); transform: scale(1.03); }
.tf-mediacard__cap { position: absolute; left: 0; bottom: 0; right: 0; padding: var(--tf-s-5); background: linear-gradient(0deg, rgba(10,10,11,0.85), transparent); display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.tf-mediacard__cap h4 { margin: 0; font-family: var(--tf-font-sans); font-size: 15px; font-weight: 600; color: var(--tf-bone); }
.tf-mediacard__cap p { font-family: var(--tf-font-mono); font-size: 11px; color: var(--tf-accent); letter-spacing: 0.04em; }
.tf-tag { font-family: var(--tf-font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tf-ink); background: var(--tf-accent); padding: 4px 8px; border-radius: var(--tf-r-pill); white-space: nowrap; }

/* Video facade */
.tf-video { position: relative; aspect-ratio: 16/9; border-radius: var(--tf-r-lg); overflow: hidden; border: 1px solid var(--tf-steel-700); cursor: pointer; background: var(--tf-ink-3); }
.tf-video img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6) saturate(0.9); }
.tf-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tf-video__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--tf-bone); }
.tf-video__play .btn { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--tf-accent); color: var(--tf-ink); box-shadow: 0 10px 40px var(--tf-accent-glow); transition: transform var(--tf-d-2) var(--tf-ease-spring); }
.tf-video:hover .tf-video__play .btn { transform: scale(1.08); }
.tf-video__play span { font-family: var(--tf-font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* =====================================================================
   ENGINEERING
   ===================================================================== */
.tf-eng__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--tf-s-8); align-items: center; }
.tf-steps { display: grid; gap: var(--tf-s-3); }
.tf-step { display: grid; grid-template-columns: auto 1fr; gap: var(--tf-s-5); padding: var(--tf-s-5); align-items: center; }
.tf-step__n { font-family: var(--tf-font-mono); font-size: 13px; color: var(--tf-accent); border: 1px solid var(--tf-accent-glow); border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; }
.tf-step h4 { margin: 0 0 2px; font-family: var(--tf-font-sans); font-size: 16px; font-weight: 600; color: var(--tf-bone); }
.tf-step p { margin: 0; font-size: 13px; color: var(--tf-steel-300); }
.tf-eng__media { border-radius: var(--tf-r-lg); overflow: hidden; border: 1px solid var(--tf-steel-700); }
.tf-eng__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: brightness(0.78) contrast(1.06) saturate(0.92); }

/* =====================================================================
   INDUSTRIES STRIP
   ===================================================================== */
.tf-ind { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--tf-s-4); }
.tf-indcard { position: relative; border-radius: var(--tf-r-md); overflow: hidden; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--tf-s-5); text-decoration: none; border: 1px solid var(--tf-steel-700); transition: transform var(--tf-d-2) var(--tf-ease-spring); }
.tf-indcard:hover { transform: translateY(-4px); }
.tf-indcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: brightness(0.5) saturate(0.85) contrast(1.05); transition: filter var(--tf-d-3), transform var(--tf-d-3); }
.tf-indcard:hover img { filter: brightness(0.62) saturate(1); transform: scale(1.05); }
.tf-indcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,11,0.92) 5%, rgba(10,10,11,0.1) 60%); z-index: 1; }
.tf-indcard__body { position: relative; z-index: 2; }
.tf-indcard .tf-eyebrow { margin-bottom: 8px; }
.tf-indcard h4 { margin: 0 0 6px; font-family: var(--tf-font-sans); font-size: 17px; font-weight: 600; color: var(--tf-bone); }
.tf-indcard p { margin: 0; font-size: 13px; color: var(--tf-steel-300); line-height: 1.45; }
.tf-indcard .arr { color: var(--tf-accent); margin-top: 12px; display: inline-block; transition: transform var(--tf-d-2); }
.tf-indcard:hover .arr { transform: translateX(5px); }

/* =====================================================================
   CONVICTION / ABOUT
   ===================================================================== */
.tf-conv { background: var(--tf-ink-2); border-block: 1px solid var(--tf-steel-900); }
.tf-conv__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--tf-s-8); align-items: center; }
.tf-conv__copy p { color: var(--tf-steel-300); font-size: 16px; line-height: 1.65; margin-top: var(--tf-s-4); max-width: 56ch; }
.tf-conv__copy p b { color: var(--tf-bone); font-weight: 500; }
.tf-portrait { position: relative; border-radius: var(--tf-r-lg); overflow: hidden; border: 1px solid var(--tf-steel-700); }
.tf-portrait img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: brightness(0.8) contrast(1.05) saturate(0.85); }
.tf-portrait figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--tf-s-5); background: linear-gradient(0deg, rgba(10,10,11,0.9), transparent); font-family: var(--tf-font-mono); font-size: 12px; color: var(--tf-steel-300); }
.tf-portrait figcaption b { color: var(--tf-bone); font-weight: 500; }

/* =====================================================================
   CTA DOCK
   ===================================================================== */
.tf-ctadock { position: relative; padding: clamp(40px, 6vw, 80px); text-align: center; }
.tf-ctadock::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--tf-accent), transparent); }
.tf-ctadock h2 { margin-inline: auto; max-width: 18ch; }
.tf-ctadock p { margin: var(--tf-s-5) auto var(--tf-s-7); color: var(--tf-steel-300); max-width: 52ch; }
.tf-ctadock__row { display: flex; flex-wrap: wrap; gap: var(--tf-s-5); justify-content: center; align-items: center; }
.tf-ctadock__direct { display: flex; gap: var(--tf-s-5); font-family: var(--tf-font-mono); font-size: 13px; color: var(--tf-steel-300); }
.tf-ctadock__direct a { color: var(--tf-bone); text-decoration: none; border-bottom: 1px solid var(--tf-accent-glow); }
.tf-ctadock__direct a:hover { border-color: var(--tf-accent); }

/* =====================================================================
   FOOTER — Glass-03 pedestal
   ===================================================================== */
.tf-footer { padding-top: var(--tf-s-9); }
.tf-footer__slab { padding: var(--tf-s-8); }
.tf-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--tf-s-7); padding-bottom: var(--tf-s-7); border-bottom: 1px solid var(--tf-steel-900); }
.tf-footer__brand .tf-wordmark { font-size: 22px; }
.tf-footer__brand p { margin-top: var(--tf-s-4); color: var(--tf-steel-500); font-size: 13px; max-width: 36ch; line-height: 1.6; }
.tf-footer h5 { margin: 0 0 var(--tf-s-4); font-family: var(--tf-font-sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tf-steel-300); }
.tf-footer__cols ul { display: flex; flex-direction: column; gap: 10px; }
.tf-footer__cols a { font-size: 14px; color: var(--tf-steel-300); text-decoration: none; }
.tf-footer__cols a:hover { color: var(--tf-accent); }
.tf-footer__bottom { display: flex; flex-wrap: wrap; gap: var(--tf-s-4) var(--tf-s-6); justify-content: space-between; align-items: center; padding-top: var(--tf-s-6); font-family: var(--tf-font-mono); font-size: 12px; color: var(--tf-steel-500); }
.tf-footer__bottom a { color: var(--tf-steel-300); text-decoration: none; }
.tf-footer__bottom a:hover { color: var(--tf-accent); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .tf-trip { grid-template-columns: 1fr; }
  .tf-ind { grid-template-columns: repeat(2, 1fr); }
  .tf-floor__grid, .tf-eng__grid, .tf-conv__grid { grid-template-columns: 1fr; }
  .tf-floor__copy { position: static; }
  .tf-footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .tf-navlinks, .tf-nav__contact { display: none; }
  .tf-nav__burger { display: grid; place-items: center; }
  .tf-nav__pill { gap: var(--tf-s-4); }
  .tf-nav__cta { margin-left: auto; }
  .tf-nav__pill .tf-wordmark--logo { width: 168px; }
  .tf-nav__pill .tf-logo { height: 104px; transform: translateY(calc(-50% + 8px)); }
  .tf-nav.is-scrolled .tf-nav__pill .tf-logo { height: 92px; }
  .tf-hero__grid { grid-template-columns: 1fr; gap: var(--tf-s-7); }
  .tf-hero__cards { grid-template-columns: repeat(3, 1fr); }
  .tf-counters { grid-template-columns: 1fr; gap: var(--tf-s-5); }
}
@media (max-width: 560px) {
  .tf-section { padding-block: var(--tf-s-8); }
  .tf-hero__cards { grid-template-columns: 1fr; }
  .tf-ind { grid-template-columns: 1fr; }
  .tf-footer__cols { grid-template-columns: 1fr; }
  .tf-nav__pill { padding-right: 8px; }
  /* Phones: shorten the nav CTA to "Quote" so the floated logo has room */
  .tf-nav__cta .tf-cta-full { display: none; }
  .tf-nav__cta .tf-cta-short { display: inline; }
  .tf-nav__pill .tf-wordmark--logo { width: 132px; }
  .tf-nav__pill .tf-logo { height: 82px; transform: translateY(calc(-50% + 6px)); }
  .tf-nav.is-scrolled .tf-nav__pill .tf-logo { height: 72px; }
}

/* =====================================================================
   INNER-PAGE COMPONENTS (generated pages — build.py)
   ===================================================================== */

/* Breadcrumb — clears the fixed nav */
.tf-breadcrumb { padding-top: 120px; padding-bottom: 0; }
.tf-breadcrumb .tf-container { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--tf-font-mono); font-size: 12px; color: var(--tf-steel-500); }
.tf-breadcrumb a { color: var(--tf-steel-300); text-decoration: none; transition: color var(--tf-d-2) var(--tf-ease-out); }
.tf-breadcrumb a:hover { color: var(--tf-accent); }
.tf-breadcrumb span[aria-current] { color: var(--tf-bone); }
.tf-breadcrumb__sep { color: var(--tf-steel-700); }

/* Page hero — compact spec-led header */
.tf-pagehero { position: relative; overflow: hidden; padding-top: var(--tf-s-8); padding-bottom: var(--tf-s-9); }
.tf-pagehero .tf-container { position: relative; z-index: 2; }
.tf-pagehero .tf-eyebrow { display: block; margin-bottom: var(--tf-s-4); }
.tf-pagehero__h1 { max-width: 18ch; margin-bottom: var(--tf-s-5); }
.tf-pagehero .tf-lead { margin-bottom: var(--tf-s-7); }
.tf-pagehero__cta { display: flex; flex-wrap: wrap; gap: var(--tf-s-4); }

/* Spec strip — mono key figures under hero */
.tf-specstrip { display: flex; flex-wrap: wrap; gap: var(--tf-s-7); margin-bottom: var(--tf-s-7); padding-top: var(--tf-s-5); border-top: 1px solid var(--tf-steel-900); }
.tf-specstrip__item { display: flex; flex-direction: column; gap: 4px; }
.tf-specstrip__item b { font-family: var(--tf-font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1; color: var(--tf-accent); letter-spacing: -0.02em; }
.tf-specstrip__item span { font-family: var(--tf-font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tf-steel-300); }

/* Section modifiers + narrow container */
.tf-section--tight { padding-block: var(--tf-s-7); }
.tf-section--alt { background: var(--tf-ink-2); border-block: 1px solid var(--tf-steel-900); }
.tf-container--narrow { max-width: 920px; }

/* Answer block — AEO direct-answer card */
.tf-answer { padding: clamp(28px, 4vw, 48px); }
.tf-answer__q { font-family: var(--tf-font-sans); font-size: var(--tf-fs-h3); line-height: var(--tf-lh-h2); font-weight: 600; color: var(--tf-bone); margin-bottom: var(--tf-s-4); }
.tf-answer p { color: var(--tf-steel-300); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; max-width: 70ch; }

/* Split — copy + media */
.tf-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--tf-s-8); align-items: center; }
.tf-split__copy .tf-eyebrow { display: block; }
.tf-split__media { border-radius: var(--tf-r-lg); overflow: hidden; border: 1px solid var(--tf-steel-700); }
.tf-split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Prose */
.tf-prose p { color: var(--tf-steel-300); font-size: 16px; line-height: 1.7; max-width: 60ch; }
.tf-prose p + p { margin-top: var(--tf-s-4); }
.tf-prose b { color: var(--tf-bone); font-weight: 500; }

/* Comparison rows */
.tf-compare { display: flex; flex-direction: column; }
.tf-compare__row { display: grid; grid-template-columns: 0.42fr 1fr; gap: var(--tf-s-6); padding: var(--tf-s-5) 0; border-top: 1px solid var(--tf-steel-900); align-items: baseline; }
.tf-compare__row:last-child { border-bottom: 1px solid var(--tf-steel-900); }
.tf-compare__k { font-family: var(--tf-font-sans); font-size: 15px; font-weight: 600; color: var(--tf-bone); }
.tf-compare__v { color: var(--tf-steel-300); font-size: 15px; line-height: 1.6; }

/* Related-capabilities grid (text-only glass cards) */
.tf-relgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--tf-s-5); }
.tf-relgrid .tf-indcard { min-height: 0; border: 1px solid var(--tf-steel-700); border-radius: var(--tf-r-lg); background: var(--tf-ink-3); padding: var(--tf-s-6); justify-content: flex-start; }
.tf-relgrid .tf-indcard::after { content: none; }
.tf-relgrid .tf-indcard__body { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.tf-relgrid h4 { margin: 0; font-family: var(--tf-font-sans); font-size: 17px; font-weight: 600; color: var(--tf-bone); }
.tf-relgrid p { margin: 0; font-size: 14px; color: var(--tf-steel-300); line-height: 1.5; }
.tf-arrow { margin-top: auto; color: var(--tf-accent); font-size: 18px; transition: transform var(--tf-d-2) var(--tf-ease-out); }
.tf-relgrid .tf-indcard:hover .tf-arrow { transform: translateX(5px); }

/* FAQ accordion (native <details>) */
.tf-faq { display: flex; flex-direction: column; }
.tf-faq__item { border-top: 1px solid var(--tf-steel-900); }
.tf-faq__item:last-child { border-bottom: 1px solid var(--tf-steel-900); }
.tf-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--tf-s-5); padding: var(--tf-s-5) 0; font-family: var(--tf-font-sans); font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; color: var(--tf-bone); transition: color var(--tf-d-2) var(--tf-ease-out); }
.tf-faq__item summary::-webkit-details-marker { display: none; }
.tf-faq__item summary:hover { color: var(--tf-accent); }
.tf-faq__item summary::after { content: "+"; font-family: var(--tf-font-mono); font-size: 22px; font-weight: 400; color: var(--tf-accent); line-height: 1; transition: transform var(--tf-d-2) var(--tf-ease-out); }
.tf-faq__item[open] summary::after { transform: rotate(45deg); }
.tf-faq__a { padding: 0 0 var(--tf-s-5); }
.tf-faq__a p { color: var(--tf-steel-300); font-size: 15px; line-height: 1.65; max-width: 72ch; }

/* Hub triptych cards (Glass-03, text) */
.tf-trip__card { display: flex; flex-direction: column; gap: var(--tf-s-3); padding: var(--tf-s-7); text-decoration: none; transition: transform var(--tf-d-2) var(--tf-ease-spring); }
.tf-trip__card:hover { transform: translateY(-4px); }
.tf-trip__card h3 { font-family: var(--tf-font-sans); font-size: var(--tf-fs-h3); font-weight: 600; color: var(--tf-bone); }
.tf-trip__card p { color: var(--tf-steel-300); font-size: 15px; line-height: 1.55; }
.tf-link { margin-top: auto; padding-top: var(--tf-s-3); font-family: var(--tf-font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tf-accent); display: inline-flex; align-items: center; gap: 8px; }
.tf-trip__card:hover .tf-link span { transform: translateX(4px); }
.tf-trip__card .tf-link span { transition: transform var(--tf-d-2) var(--tf-ease-out); display: inline-block; }

/* Machine roster (equipment) */
.tf-machines { display: flex; flex-direction: column; gap: var(--tf-s-6); }
.tf-machine { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; align-items: stretch; padding: 0; }
.tf-machine:nth-child(even) { grid-template-columns: 1fr 1.05fr; }
.tf-machine:nth-child(even) .tf-machine__media { order: 2; }
.tf-machine__media { margin: 0; min-height: 320px; }
.tf-machine__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.78) contrast(1.06) saturate(0.9); }
.tf-machine__copy { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.tf-machine__lead { color: var(--tf-steel-300); font-size: 15px; line-height: 1.65; margin-top: var(--tf-s-4); max-width: 52ch; }
.tf-machine .tf-floor__specs { margin-top: var(--tf-s-6); }
.tf-machine .tf-floor__specs li { justify-content: space-between; }
.tf-machine .tf-floor__specs span { color: var(--tf-steel-500); text-transform: uppercase; letter-spacing: 0.04em; font-size: 12px; }

/* Bullet list (industries) */
.tf-bullets { display: flex; flex-direction: column; gap: 12px; }
.tf-bullets li { position: relative; padding-left: 26px; color: var(--tf-steel-300); font-size: 16px; line-height: 1.5; }
.tf-bullets li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; background: var(--tf-accent); border-radius: 2px; transform: rotate(45deg); }

/* 4-up relgrid (equipment secondary) */
.tf-relgrid--4 { grid-template-columns: repeat(4, 1fr); }

/* =====================================================================
   INSIGHTS — hub + article
   ===================================================================== */
.tf-article__head { padding-bottom: var(--tf-s-5); }
.tf-article__meta { display: flex; flex-wrap: wrap; gap: var(--tf-s-3) var(--tf-s-6); margin-top: var(--tf-s-6); font-family: var(--tf-font-mono); font-size: 12px; color: var(--tf-steel-500); }
.tf-article__meta b { color: var(--tf-bone); font-weight: 500; }
.tf-article__hero { border-radius: var(--tf-r-lg); overflow: hidden; border: 1px solid var(--tf-steel-700); }
.tf-article__hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: brightness(0.82) contrast(1.05) saturate(0.92); }

.tf-article__grid { display: grid; grid-template-columns: 240px 1fr; gap: var(--tf-s-8); align-items: start; }
.tf-article__toc { position: sticky; top: 120px; display: flex; flex-direction: column; gap: var(--tf-s-4); }
.tf-article__toc ul { display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--tf-steel-900); }
.tf-article__toc li a { display: block; padding: 4px 0 4px 16px; font-size: 13px; color: var(--tf-steel-300); text-decoration: none; border-left: 2px solid transparent; margin-left: -1px; transition: color var(--tf-d-2), border-color var(--tf-d-2); }
.tf-article__toc li a:hover { color: var(--tf-accent); border-color: var(--tf-accent); }
.tf-article__toc .tf-btn { margin-top: var(--tf-s-3); justify-content: center; }

.tf-article__main { max-width: 72ch; }
.tf-article__answer { padding: var(--tf-s-6); margin-bottom: var(--tf-s-7); }
.tf-article__answer .tf-answer__q { font-size: var(--tf-fs-h3); }
.tf-article__sec { margin-bottom: var(--tf-s-7); }
.tf-article__sec h2 { font-family: var(--tf-font-sans); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; font-weight: 600; color: var(--tf-bone); margin-bottom: var(--tf-s-4); scroll-margin-top: 110px; }
.tf-article__sec p { color: var(--tf-steel-300); font-size: 17px; line-height: 1.75; }
.tf-article__sec p + p { margin-top: var(--tf-s-4); }
.tf-article__related-cap { padding: var(--tf-s-6); margin-top: var(--tf-s-8); }

.tf-author { padding: clamp(28px, 4vw, 44px); }
.tf-author p { color: var(--tf-steel-300); font-size: 15px; line-height: 1.7; margin-top: var(--tf-s-4); max-width: 70ch; }

/* Article cards + grid */
.tf-artgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--tf-s-5); }
.tf-artcard { display: flex; flex-direction: column; gap: var(--tf-s-3); padding: var(--tf-s-6); text-decoration: none; transition: transform var(--tf-d-2) var(--tf-ease-spring); }
.tf-artcard:hover { transform: translateY(-4px); }
.tf-artcard h4 { font-family: var(--tf-font-sans); font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--tf-bone); }
.tf-artcard p { color: var(--tf-steel-300); font-size: 14px; line-height: 1.5; }
.tf-artcard__meta { margin-top: auto; padding-top: var(--tf-s-3); font-family: var(--tf-font-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tf-steel-500); }

/* Featured article */
.tf-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; text-decoration: none; align-items: stretch; }
.tf-feature__media { margin: 0; min-height: 360px; }
.tf-feature__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8) contrast(1.05) saturate(0.92); }
.tf-feature__copy { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.tf-feature__copy p { color: var(--tf-steel-300); font-size: 16px; line-height: 1.6; margin-top: var(--tf-s-4); max-width: 48ch; }
.tf-feature__copy .tf-link { margin-top: var(--tf-s-5); padding-top: 0; }

/* =====================================================================
   PROCESS / WORK / CONTACT / RFQ
   ===================================================================== */
.tf-procflow { display: flex; flex-direction: column; gap: var(--tf-s-5); position: relative; }
.tf-procstep { display: grid; grid-template-columns: auto 1fr; gap: var(--tf-s-6); padding: var(--tf-s-7); align-items: start; }
.tf-procstep__n { font-family: var(--tf-font-display); font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1; color: var(--tf-accent); letter-spacing: -0.02em; }
.tf-procstep__body h3 { color: var(--tf-bone); }
.tf-procstep__body p { color: var(--tf-steel-300); font-size: 16px; line-height: 1.65; margin-top: var(--tf-s-3); max-width: 60ch; }

.tf-workgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--tf-s-6); }
.tf-workcard { border: 1px solid var(--tf-steel-700); border-radius: var(--tf-r-lg); overflow: hidden; background: var(--tf-ink-3); }
.tf-workcard__media { margin: 0; }
.tf-workcard__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; filter: brightness(0.74) contrast(1.06) saturate(0.9); transition: filter var(--tf-d-3), transform 1.2s var(--tf-ease-out); }
.tf-workcard:hover .tf-workcard__media img { filter: brightness(0.86) saturate(1); transform: scale(1.03); }
.tf-workcard__body { padding: var(--tf-s-6); }
.tf-workcard__body p { color: var(--tf-steel-300); font-size: 15px; line-height: 1.6; margin-top: var(--tf-s-3); }
.tf-note { margin-top: var(--tf-s-7); font-family: var(--tf-font-mono); font-size: 12px; color: var(--tf-steel-500); max-width: 70ch; }

.tf-contactgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--tf-s-6); }
.tf-contactcard { padding: clamp(28px, 4vw, 44px); }
.tf-contactcard__role { color: var(--tf-steel-500); font-size: 14px; margin-top: 6px; }
.tf-contactcard__list { margin-top: var(--tf-s-5); display: flex; flex-direction: column; gap: 10px; font-family: var(--tf-font-mono); font-size: 14px; color: var(--tf-steel-300); }
.tf-contactcard__list a { color: var(--tf-bone); text-decoration: none; border-bottom: 1px solid var(--tf-accent-glow); width: fit-content; }
.tf-contactcard__list a:hover { border-color: var(--tf-accent); }

/* RFQ */
.tf-rfqgrid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--tf-s-8); align-items: start; padding-top: 110px; }
.tf-rfq__copy { position: sticky; top: 120px; }
.tf-rfq__assure { margin-top: var(--tf-s-6); display: flex; flex-direction: column; gap: 12px; }
.tf-rfq__assure li { position: relative; padding-left: 28px; color: var(--tf-steel-300); font-size: 15px; }
.tf-rfq__assure li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--tf-accent); font-weight: 700; }
.tf-rfq__direct { margin-top: var(--tf-s-7); padding-top: var(--tf-s-5); border-top: 1px solid var(--tf-steel-900); display: flex; flex-wrap: wrap; gap: var(--tf-s-4); align-items: center; font-family: var(--tf-font-mono); font-size: 13px; color: var(--tf-steel-500); }
.tf-rfq__direct a { color: var(--tf-bone); text-decoration: none; border-bottom: 1px solid var(--tf-accent-glow); }
.tf-rfq__direct a:hover { border-color: var(--tf-accent); }

.tf-rfq__form { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: var(--tf-s-4); }
.tf-formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--tf-s-4); }
.tf-formrow { position: relative; display: block; }
.tf-formrow select.tf-field { appearance: none; cursor: pointer; }
.tf-formrow textarea.tf-field { resize: vertical; min-height: 120px; line-height: 1.5; }
.tf-req { color: var(--tf-accent); }
.tf-formfile { display: flex; flex-direction: column; gap: 8px; padding: var(--tf-s-4); border: 1px dashed var(--tf-steel-700); border-radius: var(--tf-r-md); }
.tf-formfile label { font-size: 13px; color: var(--tf-steel-300); }
.tf-formfile input { color: var(--tf-steel-300); font-family: var(--tf-font-body); font-size: 13px; }
.tf-formfile input::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 1px solid var(--tf-steel-700); border-radius: var(--tf-r-pill); background: rgba(255,255,255,0.04); color: var(--tf-bone); font-family: var(--tf-font-sans); font-size: 12px; cursor: pointer; }
.tf-formcheck { display: flex; gap: 12px; align-items: flex-start; color: var(--tf-steel-300); font-size: 14px; line-height: 1.4; cursor: pointer; }
.tf-formcheck input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--tf-accent); flex: 0 0 auto; }
.tf-rfq__form .tf-btn { justify-content: center; margin-top: var(--tf-s-2); }
.tf-formnote { font-family: var(--tf-font-mono); font-size: 11px; color: var(--tf-steel-500); }
.tf-formnote a { color: var(--tf-steel-300); text-decoration: underline; }
.tf-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }
.tf-formwrap { max-width: 760px; }
.tf-formerror { margin: 0 0 var(--tf-s-2); padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(214,84,84,0.4); background: rgba(214,84,84,0.08); color: #e6a3a3; font-size: 14px; line-height: 1.45; }
.tf-formerror a { color: #f0c0c0; text-decoration: underline; }

/* Inner-page responsive */
@media (max-width: 1024px) {
  .tf-split { grid-template-columns: 1fr; gap: var(--tf-s-6); }
  .tf-workgrid, .tf-contactgrid { grid-template-columns: 1fr; }
  .tf-rfqgrid { grid-template-columns: 1fr; gap: var(--tf-s-7); padding-top: 104px; }
  .tf-rfq__copy { position: static; }
  .tf-relgrid { grid-template-columns: 1fr; }
  .tf-relgrid--4 { grid-template-columns: repeat(2, 1fr); }
  .tf-machine, .tf-machine:nth-child(even) { grid-template-columns: 1fr; }
  .tf-machine:nth-child(even) .tf-machine__media { order: 0; }
  .tf-machine__media { min-height: 240px; }
  .tf-artgrid { grid-template-columns: repeat(2, 1fr); }
  .tf-feature { grid-template-columns: 1fr; }
  .tf-feature__media { min-height: 260px; }
  .tf-article__grid { grid-template-columns: 1fr; gap: var(--tf-s-6); }
  .tf-article__toc { position: static; flex-direction: column; }
  .tf-article__toc ul { flex-direction: row; flex-wrap: wrap; border-left: 0; }
  .tf-article__toc li a { border-left: 0; padding-left: 0; padding-right: 16px; }
}
@media (max-width: 560px) {
  .tf-breadcrumb { padding-top: 104px; }
  .tf-specstrip { gap: var(--tf-s-5); }
  .tf-compare__row { grid-template-columns: 1fr; gap: 8px; }
  .tf-relgrid--4 { grid-template-columns: 1fr; }
  .tf-artgrid { grid-template-columns: 1fr; }
  .tf-formgrid { grid-template-columns: 1fr; }
  .tf-procstep { grid-template-columns: 1fr; gap: var(--tf-s-3); padding: var(--tf-s-6); }
}

/* Mobile nav drawer (Glass-03 from right) */
.tf-drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.tf-drawer.is-open { visibility: visible; }
.tf-drawer__scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.7); opacity: 0; transition: opacity var(--tf-d-3); }
.tf-drawer.is-open .tf-drawer__scrim { opacity: 1; }
.tf-drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 86vw); padding: var(--tf-s-8) var(--tf-s-6); transform: translateX(100%); transition: transform 420ms var(--tf-ease-out); display: flex; flex-direction: column; gap: var(--tf-s-5); border-radius: 0; }
.tf-drawer.is-open .tf-drawer__panel { transform: none; }
.tf-drawer__panel a { font-family: var(--tf-font-sans); font-size: 18px; color: var(--tf-bone); text-decoration: none; }
.tf-drawer__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--tf-bone); font-size: 24px; cursor: pointer; }
