/*
Theme Name: TechBrick Manufacturing
Author: TechBrick
Description: WordPress theme for a Korean SMT/PCB Assembly manufacturing company.
Version: 0.3.8
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: tb-manufacturing
*/

:root {
  --tb-ink: #10141b;
  --tb-ink-2: #354052;
  --tb-muted: #5A6473;
  --tb-line: #dfe5eb;
  --tb-soft: #f3f6f8;
  --tb-paper: #ffffff;
  --tb-dark: #07111f;
  --tb-dark-2: #0d2033;
  --tb-red: #b32633;
  --tb-red-dark: #8f1e28;
  --tb-steel: #8ca3b4;
  --tb-container: 1280px;
  --tb-radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "Noto Sans KR", sans-serif;
}

body {
  background: var(--tb-paper);
  color: var(--tb-ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

main {
  display: block;
}

#tb-main:focus {
  outline: none;
}

body:not(.home) main {
  padding-top: 84px;
}

.tb-skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  background: var(--tb-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: top 160ms ease;
}

.tb-skip-link:focus,
.tb-skip-link:focus-visible {
  top: 16px;
  outline: 2px solid var(--tb-steel);
  outline-offset: 3px;
}

.tb-container {
  width: min(var(--tb-container), calc(100% - 48px));
  margin: 0 auto;
}

.tb-kicker,
.tb-eyebrow {
  margin: 0 0 16px;
  color: var(--tb-ink-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.tb-btn,
.tb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.tb-btn--primary,
.tb-button {
  background: var(--tb-red);
  color: #fff;
}

.tb-btn--primary:hover,
.tb-button:hover {
  background: var(--tb-red-dark);
}

.tb-btn--ghost,
.tb-button--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.tb-btn--ghost:hover,
.tb-button--ghost:hover {
  background: var(--tb-ink);
  border-color: var(--tb-ink);
  color: #fff;
}

.tb-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--tb-ink);
  font-size: 14px;
  font-weight: 700;
}

.tb-text-link::after {
  content: ">";
  color: currentColor;
}

.tb-text-link--light {
  color: #fff;
}

.tb-btn:focus-visible,
.tb-button:focus-visible,
.tb-text-link:focus-visible,
.tb-logo:focus-visible,
.tb-header__rfq:focus-visible,
.tb-menu-toggle:focus-visible,
.tb-header__utility a:focus-visible,
.tb-nav a:focus-visible,
.tb-hero__video-toggle:focus-visible,
.tb-hero__scroll:focus-visible,
.tb-breadcrumb a:focus-visible,
.tb-page-hero__action:focus-visible,
.tb-index-row__link:focus-visible,
.tb-detail-link:focus-visible,
.tb-detail-next__action:focus-visible,
.tb-area-card:focus-visible,
.tb-cta__primary:focus-visible,
.tb-cta__secondary:focus-visible,
.tb-footer__sitemap a:focus-visible,
.tb-footer__info a:focus-visible,
.tb-footer__bottom nav a:focus-visible,
.tb-form-ledger input:focus-visible,
.tb-form-ledger select:focus-visible,
.tb-form-ledger textarea:focus-visible {
  outline: 2px solid var(--tb-steel);
  outline-offset: 3px;
}

/* Dark surface focus override — high-contrast white */
.tb-hero a:focus-visible,
.tb-hero button:focus-visible,
.tb-section--dark a:focus-visible,
.tb-section--business a:focus-visible,
.tb-area-card:focus-visible,
.tb-cta__primary:focus-visible,
.tb-cta__secondary:focus-visible,
.tb-footer__sitemap a:focus-visible,
.tb-footer__info a:focus-visible,
.tb-footer__bottom nav a:focus-visible {
  outline-color: #fff;
}

.tb-hero__summary > *,
.tb-process-stage__body > *,
.tb-facility-ledger dd > *,
.tb-case-row__meta > *,
.tb-quality-ledger article > *,
.tb-rfq-ledger li > *,
.tb-form-ledger__footer > *,
.tb-page-hero__facts > *,
.tb-archive-ledger dd > *,
.tb-index-row > *,
.tb-detail-section > *,
.tb-detail-next > *,
.tb-company-ledger div > *,
.tb-company-principles div > * {
  min-width: 0;
}

/* Header */
.tb-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.tb-header__inner {
  width: min(1440px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  grid-template-areas: "brand nav actions";
  align-items: center;
  gap: 0 32px;
}

.tb-logo {
  grid-area: brand;
  display: inline-grid;
  grid-template-columns: 30px minmax(0, auto);
  gap: 10px;
  align-items: center;
  width: fit-content;
  color: inherit;
  font-weight: 800;
  line-height: 1.05;
}

.tb-logo__mark {
  position: relative;
  width: 30px;
  height: 30px;
  border: 2px solid currentColor;
  opacity: 0.92;
}

.tb-logo__mark::before,
.tb-logo__mark::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.tb-logo__mark::before {
  left: 6px;
  right: 6px;
  top: 8px;
  height: 2px;
}

.tb-logo__mark::after {
  top: 6px;
  bottom: 6px;
  left: 13px;
  width: 2px;
}

.tb-logo__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tb-logo__text span {
  font-size: 17px;
  letter-spacing: 0;
}

.tb-logo__text small {
  margin-top: 5px;
  color: currentColor;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.7;
}

.tb-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  font-size: 14px;
  font-weight: 700;
}

.tb-nav a {
  color: inherit;
  opacity: 0.88;
  transition: opacity 160ms ease, color 160ms ease;
}

.tb-nav a:hover {
  opacity: 1;
  color: inherit;
}

.tb-nav a[aria-current="page"] {
  opacity: 1;
}

.tb-header__utility {
  grid-area: utility;
  display: none;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  line-height: 1;
}

.tb-header__utility a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 700;
  transition: color 160ms ease;
}

.tb-header__utility a:hover {
  color: #fff;
}

body:not(.home) .tb-nav a:hover,
.tb-header.is-scrolled .tb-nav a:hover,
.tb-header.is-menu-open .tb-nav a:hover,
body:not(.home) .tb-nav a[aria-current="page"],
.tb-header.is-scrolled .tb-nav a[aria-current="page"],
.tb-header.is-menu-open .tb-nav a[aria-current="page"] {
  color: var(--tb-red-dark);
}

.tb-header__actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.tb-header__meta {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.72;
}

.tb-header__rfq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 38px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.tb-header__rfq:hover {
  background: #fff;
  border-color: #fff;
  color: var(--tb-dark);
}

.tb-header__rfq[aria-current="page"] {
  background: #fff;
  border-color: #fff;
  color: var(--tb-dark);
}

.tb-menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 38px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.tb-menu-toggle__line {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease;
}

.tb-menu-toggle__line:first-child {
  top: 14px;
}

.tb-menu-toggle__line:last-child {
  top: 21px;
}

.tb-header.is-menu-open .tb-menu-toggle__line:first-child {
  top: 18px;
  transform: rotate(45deg);
}

.tb-header.is-menu-open .tb-menu-toggle__line:last-child {
  top: 18px;
  transform: rotate(-45deg);
}

body:not(.home) .tb-header,
.tb-header.is-scrolled,
.tb-header.is-menu-open {
  background: rgba(255, 255, 255, 0.96);
  color: var(--tb-ink);
  border-bottom-color: var(--tb-line);
}

body:not(.home) .tb-header__rfq:hover,
.tb-header.is-scrolled .tb-header__rfq:hover,
.tb-header.is-menu-open .tb-header__rfq:hover,
body:not(.home) .tb-header__rfq[aria-current="page"],
.tb-header.is-scrolled .tb-header__rfq[aria-current="page"],
.tb-header.is-menu-open .tb-header__rfq[aria-current="page"] {
  background: var(--tb-red);
  border-color: var(--tb-red);
  color: #fff;
}

body:not(.home) .tb-header__utility a,
.tb-header.is-scrolled .tb-header__utility a,
.tb-header.is-menu-open .tb-header__utility a {
  color: rgba(16, 20, 27, 0.58);
}

body:not(.home) .tb-header__utility a:hover,
.tb-header.is-scrolled .tb-header__utility a:hover,
.tb-header.is-menu-open .tb-header__utility a:hover {
  color: var(--tb-ink);
}

body:not(.home) .tb-menu-toggle:hover,
.tb-header.is-scrolled .tb-menu-toggle:hover,
.tb-header.is-menu-open .tb-menu-toggle {
  border-color: var(--tb-ink);
  color: var(--tb-ink);
}

/* Home hero */
.tb-hero {
  position: relative;
  min-height: 100svh;
  padding: 148px 0 118px;
  overflow: hidden;
  background: var(--tb-dark);
  color: #fff;
}

.tb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.62) 0%, rgba(7, 17, 31, 0.40) 44%, rgba(7, 17, 31, 0.10) 78%, rgba(7, 17, 31, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.06) 0%, rgba(7, 17, 31, 0.42) 100%);
}

.tb-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  filter: saturate(1.08) contrast(1.14) brightness(1.08);
  animation: tb-hero-ken-burns 22s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes tb-hero-ken-burns {
  0%   { transform: scale(1.00) translate3d(0, 0, 0); }
  100% { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .tb-hero__media {
    animation: none;
  }
}

.tb-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  transform: scale(1.08);
  transform-origin: center top;
}

.tb-hero__video-toggle {
  position: absolute;
  right: max(24px, calc((100vw - var(--tb-container)) / 2));
  bottom: 28px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 2px;
  background: rgba(7, 17, 31, 0.52);
  color: #fff;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.tb-hero__video-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.72);
}

.tb-hero__video-toggle-icon {
  width: 16px;
  height: 18px;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
}

.tb-hero.is-video-paused .tb-hero__video-toggle-icon {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid currentColor;
  border-right: 0;
  background: transparent;
}

.tb-hero__scroll {
  position: absolute;
  left: max(24px, calc((100vw - var(--tb-container)) / 2));
  bottom: 30px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 160ms ease, transform 240ms ease;
}

.tb-hero__scroll::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width 240ms ease;
}

.tb-hero__scroll::after {
  content: "↓";
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px;
  line-height: 1;
  margin-left: -4px;
}

.tb-hero__scroll:hover {
  color: #fff;
}

.tb-hero__scroll:hover::before {
  width: 44px;
}

.tb-hero__actions .tb-btn--primary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.74);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tb-hero__actions .tb-btn--primary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.tb-hero__scroll span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.tb-hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 820px);
  gap: 42px;
  align-items: center;
  min-height: calc(100svh - 266px);
}

.tb-hero__content {
  max-width: 820px;
}

.tb-hero__tagline {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.tb-hero__title {
  max-width: 880px;
  margin: 0;
  font-size: 68px;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.tb-hero__title strong {
  font-weight: 800;
}

.tb-mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: inherit;
  letter-spacing: -0.01em;
}

.tb-hero__title .tb-mono {
  letter-spacing: -0.04em;
}

.tb-hero__copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.72;
  font-weight: 500;
}

.tb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.tb-hero__text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
  transition: border-color 180ms ease, color 180ms ease;
}

.tb-hero__text-link::after {
  content: ">";
  margin-left: 10px;
  color: var(--tb-steel);
}

.tb-hero__text-link:hover {
  border-color: #fff;
  color: #fff;
}

.tb-hero__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 780px;
  margin: 44px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.tb-hero__summary div {
  min-width: 0;
  padding-right: 28px;
}

.tb-hero__summary div + div {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.10);
}

.tb-hero__summary dt,
.tb-hero__summary dd {
  margin: 0;
}

.tb-hero__summary dt {
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tb-hero__summary dd {
  margin-top: 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1.36;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tb-hero__summary dd .tb-mono {
  font-weight: 500;
}

/* About */
.tb-about {
  background: linear-gradient(180deg, #fff 0%, var(--tb-soft) 100%);
}

.tb-about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

.tb-about__copy h2 {
  word-break: keep-all;
}

.tb-about__copy {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: end;
}

.tb-about__copy > .tb-kicker {
  grid-column: 1 / -1;
  margin: 0;
}

.tb-about__copy h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.tb-about__copy h2 strong {
  font-weight: 700;
}

.tb-about__copy > p {
  margin: 0;
  color: rgba(16, 20, 27, 0.7);
  font-size: 17px;
  line-height: 1.78;
}

.tb-about__copy > .tb-text-link {
  grid-column: 2 / -1;
  margin-top: 24px;
  justify-self: start;
}

.tb-about__ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(16, 20, 27, 0.16);
}

.tb-about__ledger > div {
  padding: 32px 24px 36px 0;
  min-width: 0;
}

.tb-about__ledger > div + div {
  border-left: 1px solid rgba(16, 20, 27, 0.10);
  padding-left: 28px;
}

.tb-about__ledger dt {
  margin: 0 0 18px;
  color: rgba(16, 20, 27, 0.5);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.tb-about__ledger dd {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--tb-ink);
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.035em;
}

.tb-about__ledger dd .tb-mono {
  font-weight: 500;
  letter-spacing: -0.04em;
}

.tb-about__plus {
  font-size: 0.62em;
  font-weight: 500;
  margin-left: 2px;
  color: rgba(16, 20, 27, 0.42);
}

.tb-about__unit {
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  font-size: 0.32em;
  font-weight: 500;
  margin-left: 6px;
  color: rgba(16, 20, 27, 0.52);
  letter-spacing: 0;
  align-self: flex-end;
  padding-bottom: 0.4em;
}

@media (max-width: 1100px) {
  .tb-about__inner {
    gap: 56px;
  }
  .tb-about__copy {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }
  .tb-about__copy > .tb-text-link {
    grid-column: 1;
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .tb-about__ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tb-about__ledger > div + div {
    border-left: 0;
    padding-left: 0;
  }
  .tb-about__ledger > div:not(:nth-child(2n + 1)) {
    border-left: 1px solid rgba(16, 20, 27, 0.10);
    padding-left: 20px;
  }
  .tb-about__ledger > div:nth-child(n + 3) {
    border-top: 1px solid rgba(16, 20, 27, 0.10);
    padding-top: 28px;
  }
}

/* News */
.tb-news-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--tb-line);
}

.tb-news-item {
  padding: 30px 32px 34px 0;
  border-bottom: 1px solid var(--tb-line);
  background: transparent;
  transition: background 220ms ease, border-color 220ms ease;
}

.tb-news-item:hover {
  background: rgba(255, 255, 255, 0.5);
  border-bottom-color: rgba(16, 20, 27, 0.32);
}

.tb-news-item:hover .tb-news-item__cat {
  border-color: rgba(16, 20, 27, 0.36);
  color: var(--tb-ink);
}

.tb-news-item:not(:nth-child(3n + 1)) {
  border-left: 1px solid var(--tb-line);
  padding-left: 32px;
}

.tb-news-item__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.tb-news-item__cat {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--tb-line);
  border-radius: 2px;
  background: #fff;
  color: rgba(16, 20, 27, 0.62);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.tb-news-item__date {
  color: rgba(16, 20, 27, 0.46);
  font-size: 13px;
  letter-spacing: 0;
}

.tb-news-item h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--tb-ink);
}

.tb-news-item p {
  margin: 0;
  color: rgba(16, 20, 27, 0.6);
  font-size: 14px;
  line-height: 1.68;
}

@media (max-width: 900px) {
  .tb-news-ledger {
    grid-template-columns: 1fr;
  }
  .tb-news-item:not(:nth-child(3n + 1)) {
    border-left: 0;
    padding-left: 0;
  }
}

/* Sections */
.tb-section {
  padding: 112px 0;
}

body:not(.home) .tb-section {
  padding: 86px 0;
}

.tb-section--tight {
  padding-top: 104px;
}

.tb-section--wash {
  background: var(--tb-soft);
}

.tb-section--dark {
  background: var(--tb-dark);
  color: #fff;
}

.tb-section--business {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  padding: 150px 0 132px;
  background: var(--tb-dark);
  color: #fff;
}

.tb-section--business::before,
.tb-section--business::after {
  content: "";
  position: absolute;
  inset: 0;
}

.tb-section--business::before {
  left: 46%;
  background: url("assets/facility-smt-inspection.webp") center / cover;
  background-size: cover;
  opacity: 0.18;
  filter: saturate(0.9) contrast(1.1) brightness(0.78);
}

.tb-section--business::after {
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 1.6px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(7, 17, 31, 1) 0%, rgba(7, 17, 31, 0.94) 42%, rgba(7, 17, 31, 0.6) 72%, rgba(7, 17, 31, 0.82) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.14) 0%, rgba(7, 17, 31, 0.96) 100%);
}

.tb-section--business .tb-container {
  position: relative;
  z-index: 2;
}

.tb-section--business .tb-kicker,
.tb-section--business .tb-section__head p:not(.tb-kicker) {
  color: rgba(255, 255, 255, 0.68);
}

.tb-section--business .tb-section__head {
  margin-bottom: 72px;
}

.tb-section--business .tb-section__head h2 {
  max-width: 720px;
  color: #fff;
  font-size: 58px;
  line-height: 1.1;
}

/* Business Area cards */
.tb-area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}

.tb-area-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: 32px 30px 28px;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.025);
  color: #fff;
  text-decoration: none;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.tb-area-card:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-2px);
}

.tb-area-card__index {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

.tb-area-card__index::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  transition: width 320ms cubic-bezier(.22, .8, .36, 1), background 320ms ease;
}

.tb-area-card:hover .tb-area-card__index {
  color: rgba(255, 255, 255, 0.78);
}

.tb-area-card:hover .tb-area-card__index::after {
  width: 56px;
  background: #fff;
}

.tb-area-card__title {
  margin: 36px 0 0;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: #fff;
}

.tb-area-card__desc {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  line-height: 1.74;
  align-self: start;
}

.tb-area-card__arrow {
  margin-top: 24px;
  align-self: end;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.84);
  transition: color 220ms ease, transform 220ms ease;
}

.tb-area-card__arrow::after {
  content: "  →";
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  display: inline-block;
  transition: transform 220ms ease;
}

.tb-area-card:hover .tb-area-card__arrow {
  color: #fff;
}

.tb-area-card:hover .tb-area-card__arrow::after {
  transform: translateX(4px);
}

@media (max-width: 1100px) {
  .tb-area-grid {
    grid-template-columns: 1fr;
  }
  .tb-area-card {
    min-height: auto;
    padding: 28px 26px;
  }
  .tb-area-card__title {
    margin-top: 24px;
  }
}

/* About plus/unit wrap fix */
.tb-about__ledger dd {
  white-space: nowrap;
}

.tb-section__head {
  max-width: 760px;
  margin: 0 0 54px;
}

.tb-section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 0.32fr 0.9fr 0.78fr;
  gap: 48px;
  align-items: end;
}

.tb-section__head h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.16;
  font-weight: 800;
}

.tb-section__head p:not(.tb-kicker) {
  margin: 0;
  color: var(--tb-muted);
  font-size: 16px;
  line-height: 1.8;
}

.tb-section--dark .tb-section__head p:not(.tb-kicker) {
  color: rgba(255, 255, 255, 0.66);
}

.tb-process-timeline {
  border-top: 1px solid var(--tb-line);
}

.tb-process-stage {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--tb-line);
}

.tb-process-stage__index {
  color: var(--tb-steel);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.tb-process-stage__body {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr);
  gap: 48px;
  min-width: 0;
}

.tb-process-stage h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.22;
}

.tb-process-stage p {
  margin: 0;
  color: var(--tb-muted);
  font-size: 16px;
  line-height: 1.78;
}

.tb-facility-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: center;
}

.tb-facility-proof__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--tb-radius);
  background: var(--tb-soft);
}

.tb-facility-proof__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tb-facility-proof__body h2 {
  margin: 0;
  font-size: 52px;
  line-height: 1.2;
}

.tb-facility-proof__body > p {
  max-width: 600px;
  margin: 22px 0 0;
  color: var(--tb-muted);
  font-size: 16px;
  line-height: 1.84;
}

.tb-facility-ledger {
  margin: 42px 0 0;
  border-top: 1px solid var(--tb-line);
}

.tb-facility-ledger div {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 26px;
  align-items: baseline;
  padding: 19px 0;
  border-bottom: 1px solid var(--tb-line);
}

.tb-facility-ledger dt,
.tb-facility-ledger dd {
  margin: 0;
}

.tb-facility-ledger dt {
  color: var(--tb-ink-2);
  font-size: 13px;
  font-weight: 700;
}

.tb-facility-ledger dd {
  display: grid;
  grid-template-columns: minmax(150px, 0.44fr) minmax(0, 0.56fr);
  gap: 22px;
  align-items: baseline;
}

.tb-facility-ledger strong {
  color: var(--tb-ink);
  font-size: 25px;
  line-height: 1.18;
  font-weight: 800;
}

.tb-facility-ledger span {
  color: var(--tb-muted);
  font-size: 13px;
  line-height: 1.62;
  font-weight: 700;
}

.tb-case-ledger {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.tb-case-row {
  display: grid;
  grid-template-columns: 72px minmax(260px, 0.48fr) minmax(0, 0.52fr);
  gap: 36px;
  align-items: start;
  min-width: 0;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.tb-case-row__num,
.tb-case-row__title span {
  color: var(--tb-steel);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.tb-case-row__title h3 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 26px;
  line-height: 1.24;
}

.tb-case-row__meta,
.tb-case-row__meta dt,
.tb-case-row__meta dd {
  margin: 0;
}

.tb-case-row__meta {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 28px;
  min-width: 0;
}

.tb-case-row__meta dt {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  font-weight: 700;
}

.tb-case-row__meta dd {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.65;
}

.tb-quality-band {
  padding: 70px 0;
  background: var(--tb-soft);
  color: var(--tb-ink);
  border-top: 1px solid var(--tb-line);
  border-bottom: 1px solid var(--tb-line);
}

.tb-quality-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(480px, 1fr);
  gap: 72px;
  align-items: start;
}

.tb-quality-band .tb-kicker {
  color: var(--tb-ink-2);
}

.tb-quality-band h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.18;
}

.tb-quality-band__copy p:not(.tb-kicker) {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--tb-muted);
  font-size: 15px;
  line-height: 1.75;
}

.tb-quality-ledger {
  margin: 0;
  border-top: 1px solid var(--tb-line);
}

.tb-quality-ledger article {
  display: grid;
  grid-template-columns: 110px minmax(160px, 0.44fr) minmax(0, 0.56fr);
  gap: 24px;
  align-items: start;
  min-width: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--tb-line);
}

.tb-quality-ledger span {
  color: var(--tb-steel);
  font-size: 12px;
  font-weight: 700;
}

.tb-quality-ledger h3,
.tb-quality-ledger p {
  margin: 0;
}

.tb-quality-ledger h3 {
  color: var(--tb-ink);
  font-size: 17px;
  line-height: 1.35;
}

.tb-quality-ledger p {
  color: var(--tb-muted);
  font-size: 14px;
  line-height: 1.7;
}

.tb-quality-link {
  grid-column: 2;
  width: fit-content;
  margin-top: 0;
}

/* Archive and single pages */
.tb-page-hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: 640px;
  padding: 120px 0 86px;
  background: var(--tb-dark);
  color: #fff;
}

.tb-page-hero::before,
.tb-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.tb-page-hero::before {
  background: url("assets/hero-smt-line.webp") center / cover;
  filter: saturate(1.02) contrast(1.08) brightness(0.92);
}

body.post-type-archive-tb_facility .tb-page-hero::before,
body.single-tb_facility .tb-page-hero::before {
  background-image: url("assets/facility-smt-inspection.webp");
  background-position: center;
}

body.post-type-archive-tb_process .tb-page-hero::before {
  background-position: center 44%;
}

body.post-type-archive-tb_case .tb-page-hero::before {
  background-position: center 58%;
}

body.post-type-archive-tb_resource .tb-page-hero::before {
  background-position: 62% center;
}

body.post-type-archive-tb_cert .tb-page-hero::before {
  background-position: 42% center;
}

.tb-page-hero::after {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.96) 0%, rgba(7, 17, 31, 0.78) 50%, rgba(7, 17, 31, 0.34) 100%),
    linear-gradient(180deg, rgba(7, 17, 31, 0.18), rgba(7, 17, 31, 0.94));
}

.tb-page-hero .tb-container {
  position: relative;
  z-index: 2;
}

.tb-page-hero h1 {
  max-width: 960px;
  margin: 0;
  font-size: 54px;
  line-height: 1.14;
  font-weight: 800;
}

.tb-page-hero .tb-eyebrow {
  color: var(--tb-steel);
}

.tb-page-hero p:not(.tb-eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.78;
}

.tb-breadcrumb {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 700;
}

.tb-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tb-breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.tb-breadcrumb li + li::before {
  content: ">";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.42);
}

.tb-breadcrumb a,
.tb-breadcrumb span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tb-breadcrumb a:hover {
  color: #fff;
}

.tb-page-hero__support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  max-width: 940px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.tb-page-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.tb-page-hero__fact {
  min-width: 0;
  padding-right: 22px;
}

.tb-page-hero__fact + .tb-page-hero__fact {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.tb-page-hero__fact dt,
.tb-page-hero__fact dd {
  margin: 0;
}

.tb-page-hero__fact dt {
  color: var(--tb-steel);
  font-size: 12px;
  font-weight: 700;
}

.tb-page-hero__fact dd {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.48;
}

.tb-page-hero__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.tb-page-hero__action::after {
  content: ">";
  margin-left: 10px;
  color: var(--tb-steel);
}

.tb-page-hero__action:hover {
  background: #fff;
  border-color: #fff;
  color: var(--tb-dark);
}

.tb-section--archive {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, var(--tb-soft) 48%, #fff 100%);
}

.tb-section--archive .tb-container {
  position: relative;
}

.tb-section--archive .tb-archive-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 80px;
  border-top: 1px solid rgba(16, 20, 27, 0.22);
  border-bottom: 1px solid rgba(16, 20, 27, 0.22);
  background: rgba(255, 255, 255, 0.74);
}

.tb-section--archive .tb-archive-ledger div {
  grid-template-columns: 1fr;
  gap: 14px;
  align-content: start;
  min-height: 148px;
  padding: 30px 34px;
  border-bottom: 0;
}

.tb-section--archive .tb-archive-ledger div + div {
  border-left: 1px solid var(--tb-line);
}

.tb-section--archive .tb-archive-ledger dd {
  grid-template-columns: 1fr;
  gap: 10px;
}

.tb-section--archive .tb-archive-ledger strong {
  font-size: 25px;
}

.tb-section--archive .tb-index-list {
  border-top: 1px solid rgba(16, 20, 27, 0.32);
}

.tb-section--archive .tb-index-row {
  padding: 38px 0;
}

.tb-section--archive .tb-index-row__body {
  display: grid;
  grid-template-columns: minmax(200px, 0.34fr) minmax(0, 0.66fr);
  gap: 8px 52px;
  align-items: start;
}

.tb-section--archive .tb-index-row__meta,
.tb-section--archive .tb-index-row h3 {
  grid-column: 1;
}

.tb-section--archive .tb-index-row__body > p:not(.tb-index-row__meta):not(.tb-index-row__route),
.tb-section--archive .tb-index-row__route {
  grid-column: 2;
}

.tb-section--archive .tb-index-row__body > p:not(.tb-index-row__meta):not(.tb-index-row__route) {
  margin-top: 4px;
}

.tb-index-list {
  border-top: 1px solid var(--tb-line);
}

.tb-archive-ledger {
  margin: 0 0 42px;
  border-top: 1px solid var(--tb-line);
}

.tb-archive-ledger div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 30px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--tb-line);
}

.tb-archive-ledger dt,
.tb-archive-ledger dd {
  margin: 0;
}

.tb-archive-ledger dt {
  color: var(--tb-ink-2);
  font-size: 13px;
  font-weight: 700;
}

.tb-archive-ledger dd {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  gap: 30px;
  align-items: baseline;
}

.tb-archive-ledger strong {
  color: var(--tb-ink);
  font-size: 23px;
  line-height: 1.24;
  font-weight: 800;
}

.tb-archive-ledger span {
  color: var(--tb-muted);
  font-size: 14px;
  line-height: 1.68;
  font-weight: 700;
}

.tb-index-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--tb-line);
}

.tb-index-row__num {
  color: var(--tb-steel);
  font-size: 13px;
  font-weight: 700;
}

.tb-index-row__body {
  min-width: 0;
}

.tb-index-row__meta {
  margin: 0 0 8px;
  color: var(--tb-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.tb-index-row h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.22;
}

.tb-index-row__body > p:not(.tb-index-row__meta) {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--tb-muted);
  font-size: 15px;
  line-height: 1.72;
}

.tb-index-row__route {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 16px !important;
  color: var(--tb-muted);
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 700;
}

.tb-index-row__route span {
  color: var(--tb-steel);
}

.tb-index-row__route strong,
.tb-index-row__route em {
  position: relative;
  color: var(--tb-ink-2);
  font-style: normal;
}

.tb-index-row__route strong::after {
  content: "/";
  margin-left: 14px;
  color: var(--tb-line);
}

.tb-index-row__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--tb-line);
  color: var(--tb-ink);
  font-size: 13px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.tb-index-row__link:hover {
  background: var(--tb-ink);
  border-color: var(--tb-ink);
  color: #fff;
}

.tb-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.32fr);
  gap: 64px;
  align-items: start;
}

.tb-detail__main,
.tb-detail__side {
  border-top: 1px solid var(--tb-line);
}

.tb-detail-section {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--tb-line);
}

.tb-detail__side .tb-detail-section {
  grid-template-columns: 1fr;
  gap: 12px;
}

.tb-detail-section h2 {
  margin: 0;
  color: var(--tb-ink-2);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.tb-detail-section__body {
  min-width: 0;
}

.tb-detail-section__body > *:first-child {
  margin-top: 0;
}

.tb-detail-section__body > *:last-child {
  margin-bottom: 0;
}

.tb-detail-section p,
.tb-detail-section__body li {
  margin: 0;
  color: var(--tb-muted);
  font-size: 15px;
  line-height: 1.82;
}

.tb-detail-ledger {
  margin: 0;
  border-top: 1px solid var(--tb-line);
}

.tb-detail-ledger div {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 0.66fr);
  gap: 24px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--tb-line);
}

.tb-detail-ledger dt,
.tb-detail-ledger dd {
  margin: 0;
}

.tb-detail-ledger dt {
  color: var(--tb-muted);
  font-size: 13px;
  font-weight: 700;
}

.tb-detail-ledger dd {
  color: var(--tb-ink);
  font-size: 15px;
  font-weight: 700;
}

.tb-detail-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--tb-line);
  list-style: none;
}

.tb-detail-list li {
  position: relative;
  padding: 13px 0 13px 18px;
  border-bottom: 1px solid var(--tb-line);
  color: var(--tb-muted);
}

.tb-detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25em;
  width: 6px;
  height: 6px;
  background: var(--tb-steel);
}

.tb-detail-links {
  border-top: 1px solid var(--tb-line);
}

.tb-detail-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  border-bottom: 1px solid var(--tb-line);
  color: var(--tb-ink);
  font-size: 13px;
  font-weight: 700;
}

.tb-detail-link::after {
  content: ">";
  color: var(--tb-steel);
}

.tb-detail-next {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.5fr) auto;
  gap: 42px;
  align-items: center;
  margin-top: 70px;
  padding: 34px 0;
  border-top: 1px solid var(--tb-line);
  border-bottom: 1px solid var(--tb-line);
}

.tb-detail-next__copy h2 {
  max-width: 720px;
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
}

.tb-detail-next__copy p:not(.tb-kicker) {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--tb-muted);
  font-size: 15px;
  line-height: 1.74;
}

.tb-detail-next__ledger {
  margin: 0;
  border-top: 1px solid var(--tb-line);
}

.tb-detail-next__ledger div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--tb-line);
}

.tb-detail-next__ledger dt,
.tb-detail-next__ledger dd {
  margin: 0;
}

.tb-detail-next__ledger dt {
  color: var(--tb-ink-2);
  font-size: 12px;
  font-weight: 700;
}

.tb-detail-next__ledger dd {
  color: var(--tb-ink);
  font-size: 14px;
  font-weight: 700;
}

.tb-detail-next__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--tb-ink);
  color: var(--tb-ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.tb-detail-next__action:hover {
  background: var(--tb-ink);
  border-color: var(--tb-ink);
  color: #fff;
}

.tb-page-article {
  max-width: 860px;
  color: var(--tb-ink-2);
  font-size: 18px;
  line-height: 1.9;
}

.tb-page-article > *:first-child {
  margin-top: 0;
}

.tb-page-article > *:last-child {
  margin-bottom: 0;
}

.tb-company-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.78fr);
  gap: 72px;
  align-items: start;
}

.tb-company-profile__copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: 48px;
  line-height: 1.18;
  font-weight: 800;
}

.tb-company-profile__copy p:not(.tb-kicker) {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--tb-muted);
  font-size: 17px;
  line-height: 1.86;
}

.tb-company-ledger {
  margin: 0;
  border-top: 1px solid var(--tb-line);
}

.tb-company-ledger div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--tb-line);
}

.tb-company-ledger dt,
.tb-company-ledger dd {
  margin: 0;
}

.tb-company-ledger dt {
  color: var(--tb-ink-2);
  font-size: 13px;
  font-weight: 700;
}

.tb-company-ledger dd {
  color: var(--tb-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.tb-company-principles {
  margin: 0;
  border-top: 1px solid var(--tb-line);
}

.tb-company-principles div {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 42px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--tb-line);
}

.tb-company-principles dt,
.tb-company-principles dd {
  margin: 0;
}

.tb-company-principles dt {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 22px;
  color: var(--tb-ink);
  font-size: 25px;
  line-height: 1.24;
  font-weight: 800;
}

.tb-company-principles dt span {
  color: var(--tb-steel);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.tb-company-principles dd {
  color: var(--tb-muted);
  font-size: 15px;
  line-height: 1.78;
}

.tb-company-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  padding-top: 42px;
  border-top: 1px solid var(--tb-line);
}

.tb-company-cta h2 {
  max-width: 820px;
  margin: 0;
  font-size: 42px;
  line-height: 1.2;
}

/* RFQ page */
.tb-rfq-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  min-width: 0;
}

.tb-rfq-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 56px;
  padding: 0;
  border-top: 1px solid var(--tb-line);
  list-style: none;
}

.tb-rfq-ledger li {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  align-items: start;
  min-width: 0;
  padding: 30px 28px 32px 0;
  border-bottom: 1px solid var(--tb-line);
}

.tb-rfq-ledger li + li {
  border-left: 1px solid var(--tb-line);
  padding-left: 28px;
}

.tb-rfq-ledger span {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: var(--tb-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.tb-rfq-ledger strong {
  color: var(--tb-ink);
  font-size: 22px;
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.tb-rfq-ledger p {
  margin: 0;
  color: rgba(16, 20, 27, 0.66);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.74;
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .tb-rfq-ledger {
    grid-template-columns: 1fr;
  }
  .tb-rfq-ledger li + li {
    border-left: 0;
    padding-left: 0;
  }
  .tb-rfq-ledger li {
    padding-right: 0;
  }
}

.tb-form-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 28px;
  min-width: 0;
  padding: 0;
}

.tb-form-ledger label {
  display: grid;
  gap: 10px;
  min-width: 0;
  color: var(--tb-ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tb-form__hint {
  margin-top: 2px;
  color: var(--tb-muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.tb-form-ledger__wide {
  grid-column: 1 / -1;
}

.tb-form-consent {
  grid-column: 1 / -1;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  background: var(--tb-soft);
  border: 1px solid var(--tb-line);
  color: var(--tb-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
}

.tb-form-consent input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--tb-red);
}

.tb-form-consent span {
  overflow-wrap: anywhere;
}

.tb-form-ledger input,
.tb-form-ledger select,
.tb-form-ledger textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--tb-line);
  border-radius: 3px;
  background: #fff;
  color: var(--tb-ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  outline: 0;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.tb-form-ledger input::placeholder,
.tb-form-ledger textarea::placeholder {
  color: rgba(16, 20, 27, 0.34);
}

.tb-form-ledger input,
.tb-form-ledger select {
  min-height: 52px;
}

.tb-form-ledger select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--tb-ink) 50%), linear-gradient(135deg, var(--tb-ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.tb-form-ledger input[type="file"] {
  min-height: 60px;
  padding: 12px 16px;
  cursor: pointer;
}

.tb-form-ledger input[type="file"]::file-selector-button {
  min-height: 36px;
  margin-right: 16px;
  padding: 0 16px;
  border: 1px solid var(--tb-line);
  border-radius: 3px;
  background: var(--tb-soft);
  color: var(--tb-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 180ms ease;
}

.tb-form-ledger input[type="file"]::file-selector-button:hover {
  background: var(--tb-ink);
  color: #fff;
  border-color: var(--tb-ink);
}

.tb-form-ledger textarea {
  min-height: 168px;
  padding: 16px;
  resize: vertical;
  line-height: 1.62;
}

.tb-form-ledger input:focus,
.tb-form-ledger select:focus,
.tb-form-ledger textarea:focus {
  border-color: var(--tb-ink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(16, 20, 27, 0.08);
}

.tb-form-ledger__footer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin-top: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--tb-line);
}

.tb-form__notice {
  max-width: 620px;
  margin: 0;
  color: var(--tb-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  overflow-wrap: anywhere;
  letter-spacing: 0;
}

.tb-form-ledger button {
  grid-column: auto;
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 0 36px;
  border: 1px solid var(--tb-ink);
  border-radius: 3px;
  background: var(--tb-ink);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background 200ms ease, transform 200ms ease;
}

.tb-form-ledger button:hover {
  background: #000;
  transform: translateY(-1px);
}

.tb-form-ledger button::after {
  content: " →";
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 18px;
  transition: transform 200ms ease;
}

.tb-form-ledger button:hover::after {
  transform: translateX(4px);
}

.tb-rfq-aside-ledger {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.tb-rfq-aside-ledger section {
  padding: 26px 26px;
  background: var(--tb-soft);
  border: 1px solid var(--tb-line);
  border-radius: 3px;
}

.tb-rfq-aside-ledger h3 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.tb-rfq-aside-ledger p,
.tb-rfq-aside-ledger li {
  color: rgba(16, 20, 27, 0.7);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.tb-rfq-aside-ledger p {
  margin: 0;
}

.tb-rfq-aside-ledger ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.tb-rfq-aside-ledger li {
  position: relative;
  padding-left: 18px;
}

.tb-rfq-aside-ledger li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--tb-red);
}

/* Footer */
.tb-footer {
  background: var(--tb-dark);
  color: #fff;
  padding: 64px 0 28px;
}

.tb-footer__inner {
  width: min(var(--tb-container), calc(100% - 48px));
  margin: 0 auto;
}

.tb-footer__top {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tb-footer__brand .tb-footer__eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tb-footer__sitemap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tb-footer__sitemap h3 {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.tb-footer__sitemap ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.tb-footer__sitemap a {
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 1.65;
  transition: color 160ms ease;
}

.tb-footer__sitemap a:hover {
  color: #fff;
}

.tb-footer__info {
  margin: 0;
  padding: 28px 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tb-footer__info > div {
  min-width: 0;
}

.tb-footer__info dt {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tb-footer__info dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.tb-footer__info a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 160ms ease;
}

.tb-footer__info a:hover {
  color: #fff;
}

.tb-footer__bottom nav {
  display: inline-flex;
  gap: 22px;
}

@media (max-width: 1100px) {
  .tb-footer__sitemap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .tb-footer__info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tb-footer__sitemap {
    grid-template-columns: 1fr;
  }
  .tb-footer__info {
    grid-template-columns: 1fr;
  }
}

.tb-footer__eyebrow {
  margin: 0 0 14px;
  color: var(--tb-steel);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.tb-footer__statement {
  margin: 0;
  max-width: 620px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
}

.tb-footer__bottom a:hover {
  color: #fff;
}

.tb-footer__disclaimer {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-align: center;
}

.tb-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.tb-footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  transition: color 160ms ease;
}

@media (max-width: 1100px) {
  .tb-header__inner {
    grid-template-columns: 190px minmax(0, 1fr) auto;
  }

  .tb-nav {
    gap: 20px;
  }

  .tb-hero {
    min-height: 100svh;
    padding: 136px 0 106px;
  }

  .tb-hero__inner,
  .tb-facility-proof,
  .tb-footer__top {
    grid-template-columns: 1fr;
  }

  .tb-hero__title {
    font-size: 58px;
  }

  .tb-section__head--split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tb-quality-band__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tb-rfq-page,
  .tb-detail,
  .tb-company-profile,
  .tb-company-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body:not(.home) main {
    padding-top: 72px;
  }

  .tb-container,
  .tb-footer__inner,
  .tb-header__inner {
    width: min(100% - 32px, var(--tb-container));
  }

  .tb-header__inner {
    min-height: 72px;
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand actions";
  }

  .tb-header__meta {
    display: none;
  }

  .tb-header__utility {
    display: none;
  }

  .tb-menu-toggle {
    display: inline-flex;
  }

  .tb-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 8px 18px;
    border: 1px solid var(--tb-line);
    background: rgba(255, 255, 255, 0.98);
    color: var(--tb-ink);
    align-items: stretch;
    justify-content: stretch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 160ms ease, visibility 0s linear 160ms;
  }

  .tb-header.is-menu-open .tb-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .tb-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 2px;
    border-bottom: 1px solid var(--tb-line);
    opacity: 1;
  }

  .tb-nav a::after {
    content: ">";
    color: var(--tb-steel);
    font-weight: 700;
  }

  .tb-nav a:last-child {
    border-bottom: 0;
  }

  .tb-logo__text span {
    font-size: 15px;
  }

  .tb-hero {
    min-height: 100svh;
    padding: 110px 0 86px;
  }

  .tb-hero::before {
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.9), rgba(7, 17, 31, 0.78) 48%, rgba(7, 17, 31, 0.98));
  }

  .tb-hero__media {
    opacity: 0.68;
    background-position: center;
    transform: none;
  }

  .tb-hero__video {
    display: none;
  }

  .tb-hero__video-toggle {
    display: none;
  }

  .tb-hero__scroll {
    display: none;
  }

  .tb-hero__inner {
    gap: 30px;
    min-height: calc(100svh - 196px);
  }

  .tb-hero__title {
    font-size: 34px;
    line-height: 1.14;
  }

  .tb-hero__copy {
    margin-top: 20px;
    font-size: 16px;
  }

  .tb-hero__actions {
    align-items: center;
    gap: 16px;
    margin-top: 24px;
  }

  .tb-hero__actions .tb-btn {
    min-height: 44px;
    padding: 0 18px;
  }

  .tb-hero__text-link {
    width: fit-content;
    align-self: flex-start;
    min-height: 44px;
  }

  .tb-hero__summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 28px;
    padding-top: 18px;
  }

  .tb-hero__summary div {
    padding-right: 10px;
  }

  .tb-hero__summary div + div {
    padding-left: 10px;
  }

  .tb-hero__summary dd {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.45;
  }

  .tb-section {
    padding: 82px 0;
  }

  body:not(.home) .tb-section {
    padding: 64px 0;
  }

  .tb-section--tight {
    padding-top: 58px;
  }

  .tb-section--business {
    min-height: auto;
    padding: 92px 0;
  }

  .tb-section--business::before {
    left: 0;
    opacity: 0.24;
  }

  .tb-section--business::after {
    background: linear-gradient(180deg, rgba(7, 17, 31, 0.96), rgba(7, 17, 31, 0.88) 48%, rgba(7, 17, 31, 0.98));
  }

  .tb-section--business .tb-section__head {
    margin-bottom: 40px;
  }

  .tb-section--business .tb-section__head h2 {
    font-size: 38px;
  }

  .tb-section__head {
    margin-bottom: 34px;
  }

  .tb-section__head h2,
  .tb-facility-proof__body h2,
  .tb-page-hero h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .tb-quality-ledger article,
  .tb-form-ledger {
    grid-template-columns: 1fr;
  }

  .tb-index-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0;
  }

  .tb-index-row__link {
    width: fit-content;
  }

  .tb-index-row__route {
    gap: 8px 12px;
    margin-top: 14px !important;
  }

  .tb-detail {
    gap: 38px;
  }

  .tb-detail-section,
  .tb-detail-section--article,
  .tb-detail-ledger div {
    grid-template-columns: 1fr;
  }

  .tb-detail-section {
    gap: 10px;
    padding: 22px 0;
  }

  .tb-detail-ledger div {
    gap: 4px;
  }

  .tb-detail-next {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 42px;
    padding: 26px 0;
  }

  .tb-detail-next__copy h2 {
    font-size: 28px;
  }

  .tb-detail-next__ledger div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .tb-detail-next__action {
    width: fit-content;
  }

  .tb-section--archive .tb-archive-ledger {
    grid-template-columns: 1fr;
    margin-bottom: 42px;
    background: transparent;
  }

  .tb-section--archive .tb-archive-ledger div {
    min-height: 0;
    padding: 18px 0;
  }

  .tb-section--archive .tb-archive-ledger div + div {
    border-top: 1px solid var(--tb-line);
    border-left: 0;
  }

  .tb-section--archive .tb-archive-ledger strong {
    font-size: 20px;
  }

  .tb-section--archive .tb-index-row__body {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .tb-section--archive .tb-index-row__meta,
  .tb-section--archive .tb-index-row h3,
  .tb-section--archive .tb-index-row__body > p:not(.tb-index-row__meta):not(.tb-index-row__route),
  .tb-section--archive .tb-index-row__route {
    grid-column: auto;
  }

  .tb-archive-ledger div,
  .tb-archive-ledger dd {
    grid-template-columns: 1fr;
  }

  .tb-archive-ledger div {
    gap: 6px;
    padding: 16px 0;
  }

  .tb-archive-ledger dd {
    gap: 4px;
  }

  .tb-archive-ledger strong {
    font-size: 20px;
  }

  .tb-process-stage {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 0;
  }

  .tb-process-stage__body {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tb-process-stage h3 {
    font-size: 23px;
  }

  .tb-facility-proof {
    gap: 38px;
  }

  .tb-facility-proof__image {
    aspect-ratio: 16 / 10;
  }

  .tb-facility-ledger {
    margin-top: 30px;
  }

  .tb-facility-ledger div,
  .tb-facility-ledger dd {
    grid-template-columns: 1fr;
  }

  .tb-facility-ledger div {
    gap: 6px;
    padding: 16px 0;
  }

  .tb-facility-ledger dd {
    gap: 4px;
  }

  .tb-facility-ledger strong {
    font-size: 22px;
  }

  .tb-case-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 0;
  }

  .tb-case-row__title h3 {
    font-size: 24px;
  }

  .tb-case-row__meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tb-quality-band {
    padding: 58px 0;
  }

  .tb-quality-band h2 {
    font-size: 30px;
  }

  .tb-quality-ledger article {
    gap: 8px;
  }

  .tb-quality-link {
    grid-column: auto;
  }

  .tb-page-article {
    font-size: 16px;
  }

  .tb-company-profile {
    gap: 34px;
  }

  .tb-company-profile__copy h2,
  .tb-company-cta h2 {
    font-size: 32px;
  }

  .tb-company-ledger div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tb-company-principles div,
  .tb-company-principles dt,
  .tb-rfq-ledger li {
    grid-template-columns: 1fr;
  }

  .tb-company-principles div,
  .tb-rfq-ledger li {
    gap: 8px;
  }

  .tb-company-principles dt {
    font-size: 22px;
  }

  .tb-rfq-ledger strong {
    font-size: 20px;
  }

  .tb-form-ledger__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .tb-footer {
    padding-top: 44px;
  }

  .tb-footer__top {
    gap: 28px;
    padding-bottom: 30px;
  }

  .tb-footer__statement {
    font-size: 28px;
  }

  .tb-page-hero {
    padding: 64px 0 52px;
  }

  .tb-page-hero__support {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 30px;
    padding-top: 18px;
  }

  .tb-page-hero__facts {
    grid-template-columns: 1fr;
  }

  .tb-page-hero__fact {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .tb-page-hero__fact + .tb-page-hero__fact {
    padding-left: 0;
    border-left: 0;
  }

  .tb-page-hero__fact dd {
    font-size: 12px;
  }

  .tb-page-hero__action {
    width: fit-content;
  }

  .tb-form-ledger button {
    width: 100%;
  }

  .tb-footer__bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .tb-hero__video {
    display: none !important;
  }

  .tb-hero__video-toggle {
    display: none !important;
  }
}

/* ─────────────────────────────────────────
   Motion: scroll reveal + hero rise
   ───────────────────────────────────────── */

/* Section reveal — JS toggles .is-revealed */
.tb-reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 900ms cubic-bezier(.22, .8, .36, 1),
              transform 900ms cubic-bezier(.22, .8, .36, 1);
  will-change: opacity, transform;
}

.tb-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Stagger child reveals inside ledgers/grids */
.tb-reveal :is(
  .tb-about__ledger,
  .tb-area-grid,
  .tb-news-ledger,
  .tb-case-ledger,
  .tb-quality-ledger,
  .tb-process-timeline,
  .tb-facility-ledger
) > * {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 700ms cubic-bezier(.22, .8, .36, 1),
              transform 700ms cubic-bezier(.22, .8, .36, 1);
}

.tb-reveal.is-revealed :is(
  .tb-about__ledger,
  .tb-area-grid,
  .tb-news-ledger,
  .tb-case-ledger,
  .tb-quality-ledger,
  .tb-process-timeline,
  .tb-facility-ledger
) > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.tb-reveal.is-revealed :is(
  .tb-about__ledger,
  .tb-area-grid,
  .tb-news-ledger,
  .tb-case-ledger,
  .tb-quality-ledger,
  .tb-process-timeline,
  .tb-facility-ledger
) > *:nth-child(1) { transition-delay: 140ms; }

.tb-reveal.is-revealed :is(
  .tb-about__ledger,
  .tb-area-grid,
  .tb-news-ledger,
  .tb-case-ledger,
  .tb-quality-ledger,
  .tb-process-timeline,
  .tb-facility-ledger
) > *:nth-child(2) { transition-delay: 240ms; }

.tb-reveal.is-revealed :is(
  .tb-about__ledger,
  .tb-area-grid,
  .tb-news-ledger,
  .tb-case-ledger,
  .tb-quality-ledger,
  .tb-process-timeline,
  .tb-facility-ledger
) > *:nth-child(3) { transition-delay: 340ms; }

.tb-reveal.is-revealed :is(
  .tb-about__ledger,
  .tb-area-grid,
  .tb-news-ledger,
  .tb-case-ledger,
  .tb-quality-ledger,
  .tb-process-timeline,
  .tb-facility-ledger
) > *:nth-child(n + 4) { transition-delay: 440ms; }

/* Hero stagger rise on page load — JS adds .tb-hero-rise to html */
.tb-hero-rise .tb-hero__content > * {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  animation: tb-hero-rise 1100ms cubic-bezier(.22, .8, .36, 1) forwards;
}

.tb-hero-rise .tb-hero__content > *:nth-child(1) { animation-delay: 240ms; }
.tb-hero-rise .tb-hero__content > *:nth-child(2) { animation-delay: 380ms; }
.tb-hero-rise .tb-hero__content > *:nth-child(3) { animation-delay: 540ms; }
.tb-hero-rise .tb-hero__content > *:nth-child(4) { animation-delay: 700ms; }

@keyframes tb-hero-rise {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tb-reveal,
  .tb-reveal *,
  .tb-hero-rise .tb-hero__content > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ─────────────────────────────────────────
   Micro detail: kicker line + h2 underline
   ───────────────────────────────────────── */

.tb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 12px;
}

.tb-kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.62;
}

/* Section head h2 underline draw-in on reveal */
.tb-section__head h2,
.tb-about__copy h2,
.tb-quality-band__copy h2,
.tb-cta__copy h2 {
  position: relative;
}

.tb-section__head h2::after,
.tb-about__copy h2::after,
.tb-quality-band__copy h2::after,
.tb-cta__copy h2::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 22px;
  background: var(--tb-red);
  transition: width 900ms cubic-bezier(.22, .8, .36, 1) 260ms;
}

.tb-reveal.is-revealed .tb-section__head h2::after,
.tb-reveal.is-revealed .tb-about__copy h2::after,
.tb-reveal.is-revealed .tb-quality-band__copy h2::after,
.tb-reveal.is-revealed .tb-cta__copy h2::after {
  width: 56px;
}

/* About ledger number hover micro */
.tb-about__ledger > div {
  transition: background 220ms ease;
}

.tb-about__ledger > div:hover dd {
  color: var(--tb-red);
  transition: color 220ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .tb-section__head h2::after,
  .tb-about__copy h2::after,
  .tb-quality-band__copy h2::after,
  .tb-cta__copy h2::after {
    width: 56px !important;
    transition: none !important;
  }
}

/* ─────────────────────────────────────────
   Closing CTA — full-bleed dark band
   ───────────────────────────────────────── */

.tb-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(120px, 12vw, 168px) 0 clamp(96px, 11vw, 152px);
  background: var(--tb-dark);
  color: #fff;
}

.tb-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 1.6px);
  background-size: 30px 30px;
  pointer-events: none;
}

.tb-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) auto;
  gap: 72px;
  align-items: end;
}

.tb-cta__copy .tb-kicker {
  color: rgba(255, 255, 255, 0.6);
}

.tb-cta__title {
  position: relative;
  margin: 18px 0 28px;
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #fff;
}

.tb-cta__title strong {
  font-weight: 700;
}

.tb-cta__note {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  line-height: 1.78;
}

.tb-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
}

.tb-cta__primary {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  min-height: 96px;
  padding: 0 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: transparent;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 240ms ease, border-color 240ms ease;
}

.tb-cta__primary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.82);
}

.tb-cta__arrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 26px;
  color: rgba(255, 255, 255, 0.86);
  transition: transform 240ms cubic-bezier(.22, .8, .36, 1), color 240ms ease;
}

.tb-cta__primary:hover .tb-cta__arrow {
  transform: translateX(10px);
  color: #fff;
}

.tb-cta__sub-links {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.tb-cta__secondary {
  color: rgba(255, 255, 255, 0.7);
}

.tb-cta__secondary:hover {
  color: #fff;
}

@media (max-width: 1000px) {
  .tb-cta__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }
  .tb-cta__actions {
    align-items: flex-start;
  }
  .tb-cta__primary {
    width: 100%;
    justify-content: space-between;
    min-height: 86px;
    padding: 0 32px;
    font-size: 18px;
  }
  .tb-cta__sub-links {
    flex-wrap: wrap;
    gap: 18px;
  }
}

/* ─────────────────────────────────────────
   Page transition — enter on load, leave on click
   ───────────────────────────────────────── */

@keyframes tb-page-enter {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

#tb-main {
  animation: tb-page-enter 520ms cubic-bezier(.22, .8, .36, 1);
  will-change: opacity, transform;
}

html.tb-page-leaving #tb-main {
  opacity: 0;
  transform: translate3d(0, -8px, 0);
  transition: opacity 220ms cubic-bezier(.22, .8, .36, 1),
              transform 220ms cubic-bezier(.22, .8, .36, 1);
  animation: none;
}

/* Native cross-document view transitions (Chrome 126+, Safari 18+) */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 360ms;
  animation-timing-function: cubic-bezier(.22, .8, .36, 1);
}

@media (prefers-reduced-motion: reduce) {
  #tb-main {
    animation: none !important;
  }
  html.tb-page-leaving #tb-main {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
