/* TechFit dark premium theme (Nov 2026). Loaded after style.css: remaps the light tokens to a dark system
   and restyles shared components. Fitness accent = red, wellness accent = sage green. */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(/assets/fonts/playfair.woff2) format('woff2');
}

:root {
  --ink: #0b0b0c;
  --ink2: #111113;
  --panel: #161618;
  --panel2: #1c1c1f;
  --line: rgba(255, 255, 255, .09);
  --line2: rgba(255, 255, 255, .16);
  --bone: #ecebe6;
  --mist: #a9a9a2;
  --dim: #7d7d76;
  --sage: #8fd0a6;
  --gold: #cbab6d;
  --tile: #f3f2ee;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* remap of the old light scale */
  --z50: #121214;
  --z100: #19191c;
  --z200: rgba(255, 255, 255, .1);
  --z300: #3a3a40;
  --z400: #8a8a84;
  --z500: #9c9c95;
  --z600: #a9a9a2;
  --z700: #c6c6bf;
  --red: #e2372f;
  --red-h: #c92a23;
}

html { background: var(--ink); }
body { background: var(--ink); color: var(--bone); -webkit-font-smoothing: antialiased; }
::selection { background: var(--red); color: #fff; }

/* ── type ── */
h1, h2, .sec-title, .hero-title, .page-hero h1, .cta-band h2 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.06;
}
.sec-title { font-size: clamp(1.9rem, 3.6vw, 3.1rem); color: var(--bone); }
.sec-sub { color: var(--mist); font-size: 1.02rem; line-height: 1.7; }
.sec-label, .segment-tag, .pillar-num { color: var(--red); letter-spacing: .22em; }
h3 { letter-spacing: 0; }
p { color: inherit; }

/* ── nav ── */
nav {
  background: rgba(11, 11, 12, .72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .3s, height .3s var(--ease);
}
nav.tf-scrolled { background: rgba(11, 11, 12, .93); }
.nl, .nd-btn, .nav-ham, .nav-search { color: var(--bone); font-weight: 600; letter-spacing: .12em; }
.nl:hover, .nl.active, .nd-btn:hover, .nd-btn.active { color: #fff; }
.nl.active::after { background: var(--red); }
.nl::before, .nd-btn::before {
  content: ''; position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.45rem; height: 1px;
  background: var(--bone); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nd-btn { position: relative; }
.nd-btn::before { left: .75rem; right: .75rem; }
.nl:hover::before, .nd-btn:hover::before { transform: scaleX(1); }
.nd-menu { background: #131315; border: 1px solid var(--line2); border-top: 2px solid var(--red); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.nd-item { color: var(--mist); border-bottom-color: var(--line); font-weight: 500; }
.nd-item:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.nav-ham:hover, .nav-search:hover { background: rgba(255, 255, 255, .08); }
.nav-mob { background: #0e0e10; border-top: 1px solid var(--line); }
.nav-mob a, .nav-mob button { color: var(--bone); }
.mob-sub { background: #131315 !important; }
.mob-group { background: #18181b !important; color: var(--mist) !important; }
.ss-box { background: #151517; color: var(--bone); border: 1px solid var(--line2); }
.ss-box input { background: transparent; color: var(--bone); }
.ss-results a { color: var(--bone); }
.ss-results a:hover, .ss-results a:focus { background: rgba(255, 255, 255, .06); }

/* ── buttons ── */
.btn-red, .btn-white, .btn-outline, .btn, .hx-btn {
  border-radius: 999px;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s;
}
.btn-red { background: var(--red); box-shadow: 0 0 0 0 rgba(226, 55, 47, 0); letter-spacing: .1em; }
.btn-red:hover { background: #f0463d; transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(226, 55, 47, .7); }
.btn-outline { border-color: var(--line2); color: var(--bone); }
.btn-outline:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* ── sections ── */
.sec { background: var(--ink); }
.sec-gray, .product-range-sec { background: var(--ink2); }
.sec + .sec, .sec-gray + .sec, .sec + .sec-gray { border-top: 1px solid var(--line); }

/* inner page hero bands */
.page-hero { background: var(--ink); border-bottom: 1px solid var(--line); }
.page-hero::after { background: linear-gradient(90deg, var(--red), transparent 60%); height: 1px; }

/* ── cards ── */
.pillar, .seg-card, .testi-card, .feat-card, .stat-box, .install-card, .client-chip, .lineup-card,
.compare-card, .aqua-card, .blog-card, .faq-item, .segment {
  background: var(--panel);
  border-color: var(--line);
  color: var(--bone);
}
.pillars, .segments, .feat-grid, .testi-grid { border-color: var(--line); }
.pillar:hover, .lineup-card:hover { background: var(--panel2); }
.seg-card h3, .blog-body h2, .blog-body h3, .feat-card h3, .pillar h3, .segment h3 { color: var(--bone); }
.pillar p, .segment p, .feat-card p, .testi-text, .seg-card p { color: var(--mist); }
.pillar-icon { color: var(--red); }
.testi-card { border-left: 1px solid var(--line); border-radius: 14px; }
.testi-text { font-family: var(--serif); font-size: 1.08rem; line-height: 1.6; color: var(--bone); }
.testi-author { color: var(--bone); }
.testi-role { color: var(--dim); }

/* product imagery sits on a bone tile so white-background studio shots look deliberate */
.prod-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s; }
.prod-card:hover { transform: translateY(-6px); border-color: var(--line2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.prod-img, .lineup-img, .pp-media, .modal-img, .compare-card img, .aqua-card img, #modal .m-thumb img { background: var(--tile); }
.prod-img img, .lineup-img img, .pp-media img, .modal-img img { mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.prod-card:hover .prod-img img { transform: scale(1.06); }
.prod-card h3, .prod-card .prod-name { color: var(--bone); }
.pp-chip, .spec-tag { background: rgba(255, 255, 255, .07); color: var(--mist); }
.filter-row-series, .filter-row-cat { background: var(--ink2); border-color: var(--line); }
.cnt { background: rgba(255, 255, 255, .1); color: var(--mist); }

/* modal */
.modal-box { background: #141416; color: var(--bone); border: 1px solid var(--line2); border-radius: 18px; overflow: hidden; }
.modal-footer { background: #101012; border-top: 1px solid var(--line); }

/* logo wall: client marks keep their own colours on bone tiles */
.logo-cell { background: var(--tile); border-color: rgba(0, 0, 0, .08); }
.logo-cell:hover { background: #fff; }
.logo-cell-noimg { background: var(--panel); color: var(--mist); }

/* forms */
.contact-form input, .contact-form select, .contact-form textarea,
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  background: rgba(255, 255, 255, .04);
  color: var(--bone);
  border-color: var(--line2);
  border-radius: 10px;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--bone); outline: none; }
select option { background: #151517; color: var(--bone); }
::placeholder { color: var(--dim); }

/* CTA band: dark with a red wash instead of a flat red slab */
.cta-band {
  background: radial-gradient(120% 140% at 50% 120%, rgba(226, 55, 47, .5) 0%, rgba(226, 55, 47, .12) 38%, transparent 70%), var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 6.5rem; padding-bottom: 6.5rem;
}
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); color: #fff; }
.cta-band p { color: var(--mist); }
.cta-band .btn-white { background: var(--bone); color: var(--ink); }
.cta-band .btn-white:hover { background: #fff; transform: translateY(-2px); }

/* ticker */
.ticker-wrap { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ticker-item { color: var(--mist); font-weight: 500; letter-spacing: .24em; }

/* tables */
table { border-color: var(--line); }
th { background: #18181b; color: var(--bone); border-color: var(--line); }
td { border-color: var(--line); color: var(--mist); }

/* footer */
footer { background: #070708; border-top: 1px solid var(--line); }
.footer-brand-box { background: transparent; padding: 0; }

.loader-bar-wrap { background: rgba(255, 255, 255, .08); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }

/* ── motion ── */
.tf-js [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rvd, 0ms); will-change: opacity, transform; }
.tf-js [data-rv].in { opacity: 1; transform: none; }
.tf-js [data-rv="clip"] { transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease), opacity .6s; }
.tf-js [data-rv="clip"].in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .tf-js [data-rv] { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .tf-kb, .tf-marquee-track { animation: none !important; }
}

/* ═══════════ HOMEPAGE ═══════════ */
.tfh-left { text-align: left; margin-left: 0; max-width: 22ch; }
p.tfh-left { max-width: 52ch; margin-top: 1.1rem; }

.tfh-hero { position: relative; height: 100svh; min-height: 620px; max-height: 1100px; margin-top: calc(-1 * var(--nav)); overflow: hidden; background: #000; display: flex; align-items: flex-end; }
.tfh-slides, .tfh-slide, .tfh-shade { position: absolute; inset: 0; }
.tfh-slide { opacity: 0; transition: opacity 1.4s ease; }
.tfh-slide.is-on { opacity: 1; }
.tfh-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.tfh-slide.is-on img { animation: tfKb 9s linear forwards; }
@keyframes tfKb { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.tfh-shade { background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .05) 28%, rgba(0, 0, 0, .25) 55%, rgba(8, 8, 9, .96) 100%), linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 62%); }
.tfh-hero-in { position: relative; z-index: 2; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 1.5rem 9.5rem; }
.tfh-kicker { font-size: .95rem; color: rgba(255, 255, 255, .78); margin-bottom: 1.4rem; }
.tfh-h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.5rem, 6.2vw, 5.6rem); line-height: 1.02; letter-spacing: -.02em; color: #fff; max-width: 15ch; text-transform: none; }
.tfh-lede { margin-top: 1.6rem; max-width: 46ch; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.6; color: rgba(255, 255, 255, .82); }
.tfh-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2.2rem; align-items: center; }
.tfh-cta .btn-red { padding: 1.05rem 2.1rem; font-size: .8rem; }
.tfh-ghost { display: inline-flex; align-items: center; padding: 1.05rem 2.1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(6px); transition: background .25s, color .25s, border-color .25s; }
.tfh-ghost:hover { background: #fff; color: #000; border-color: #fff; }
.tfh-index { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; max-width: 1400px; margin: 0 auto; padding: 0 1.5rem 2.2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.tfh-tab { text-align: left; background: none; border: 0; color: rgba(255, 255, 255, .5); padding: 0; transition: color .3s; }
.tfh-tab b { display: block; font-size: .92rem; font-weight: 600; margin-top: .85rem; }
.tfh-tab em { display: block; font-style: normal; font-size: .8rem; margin-top: .15rem; opacity: .8; }
.tfh-tab.is-on, .tfh-tab:hover { color: #fff; }
.tfh-bar { display: block; height: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.tfh-bar i { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.tfh-tab.is-on .tfh-bar i { animation: tfBar 7s linear forwards; }
@keyframes tfBar { to { transform: scaleX(1); } }

/* the one orchestrated moment: hero copy rises in on load */
.tf-js .tfh-hero-in > * { opacity: 0; transform: translateY(28px); animation: tfRise 1.1s var(--ease) forwards; }
.tf-js .tfh-hero-in > *:nth-child(1) { animation-delay: .15s; }
.tf-js .tfh-hero-in > *:nth-child(2) { animation-delay: .28s; }
.tf-js .tfh-hero-in > *:nth-child(3) { animation-delay: .45s; }
.tf-js .tfh-hero-in > *:nth-child(4) { animation-delay: .6s; }
@keyframes tfRise { to { opacity: 1; transform: none; } }

.tfh-stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }
.tfh-stat { padding: 3.2rem 1.5rem 3.2rem 0; border-right: 1px solid var(--line); }
.tfh-stat + .tfh-stat { padding-left: 2rem; }
.tfh-stat:last-child { border-right: 0; }
.tfh-stat strong { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 3.2rem); line-height: 1; color: var(--bone); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tfh-stat span { display: block; margin-top: .7rem; color: var(--mist); font-size: .92rem; }

.tfh-worlds { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tfh-world { position: relative; min-height: min(78vh, 760px); overflow: hidden; display: flex; align-items: flex-end; color: #fff; background: #000; }
.tfh-world > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; filter: saturate(.85) brightness(.72); }
.tfh-world:hover > img { transform: scale(1.06); filter: saturate(1) brightness(.85); }
.tfh-world::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, .88) 100%); }
.tfh-world-in { position: relative; z-index: 2; padding: clamp(1.5rem, 4vw, 3.5rem); width: 100%; }
.tfh-world h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); text-transform: none; font-weight: 600; }
.tfh-world p { max-width: 38ch; margin-top: .9rem; color: rgba(255, 255, 255, .85); line-height: 1.6; }
.tfh-world ul { list-style: none; margin-top: 1.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 2rem; max-width: 560px; }
.tfh-world li { padding: .7rem 0; border-top: 1px solid rgba(255, 255, 255, .22); font-size: .92rem; color: rgba(255, 255, 255, .9); }
.tfh-more { display: inline-block; margin-top: 1.8rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding-bottom: .35rem; border-bottom: 2px solid var(--red); }
.tfh-well .tfh-more { border-bottom-color: var(--sage); }
.tfh-well h2 { color: #fff; }

.tfh-capsec { padding-top: clamp(4rem, 9vw, 8rem); padding-bottom: clamp(4rem, 9vw, 8rem); }
.tfh-cap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.tfh-cap-rows { margin-top: 3rem; border-bottom: 1px solid var(--line); }
.tfh-cap-row { position: relative; display: grid; grid-template-columns: minmax(0, 15rem) 1fr 28px; gap: 1.5rem; align-items: center; padding: 1.5rem 0; border-top: 1px solid var(--line); color: var(--mist); transition: color .3s, padding .4s var(--ease); }
.tfh-cap-thumb { display: none; }
.tfh-cap-t { font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.55rem); font-weight: 600; color: var(--bone); line-height: 1.2; }
.tfh-cap-d { font-size: .93rem; line-height: 1.55; }
.tfh-cap-arrow { opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease); color: var(--red); }
.tfh-cap-row.is-on, .tfh-cap-row:hover { padding-left: .9rem; color: var(--bone); }
.tfh-cap-row.is-on .tfh-cap-arrow, .tfh-cap-row:hover .tfh-cap-arrow { opacity: 1; transform: none; }
.tfh-cap-row::before { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--red); transition: width .5s var(--ease); }
.tfh-cap-row.is-on::before { width: 100%; }
.tfh-cap-stage { position: sticky; top: calc(var(--nav) + 2rem); aspect-ratio: 4 / 5; max-height: 78vh; width: 100%; border-radius: 18px; overflow: hidden; background: var(--panel); }
.tfh-cap-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 1.4s var(--ease); }
.tfh-cap-stage img.is-on { opacity: 1; transform: none; }

.tfh-brands { background: var(--ink2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tfh-brands .brand-logo-box { background: transparent; border-color: var(--line); border-radius: 14px; transition: border-color .3s, transform .4s var(--ease), background .3s; }
.tfh-brands .brand-logo-box:hover { border-color: var(--line2); background: rgba(255, 255, 255, .03); transform: translateY(-4px); }

.tfh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.tfh-link { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bone); padding-bottom: .35rem; border-bottom: 1px solid var(--line2); transition: border-color .3s; }
.tfh-link:hover { border-color: var(--red); }
.tfh-work { margin-top: 3rem; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.25rem; }
.tfh-job { position: relative; overflow: hidden; border-radius: 18px; min-height: 300px; display: flex; align-items: flex-end; color: #fff; background: #000; }
.tfh-job-lg { grid-row: span 2; min-height: 640px; }
.tfh-job img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tfh-job:hover img { transform: scale(1.06); }
.tfh-job::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .9) 100%); }
.tfh-job-in { position: relative; z-index: 2; padding: clamp(1.25rem, 2.5vw, 2.25rem); }
.tfh-job-in span { font-size: .82rem; color: rgba(255, 255, 255, .75); }
.tfh-job-in h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.35rem, 2.3vw, 2.2rem); line-height: 1.12; margin-top: .45rem; text-transform: none; }
.tfh-job-in p { margin-top: .6rem; max-width: 46ch; color: rgba(255, 255, 255, .82); font-size: .95rem; line-height: 1.55; }

.tfh-segs { margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.tfh-seg { display: block; color: var(--bone); }
.tfh-seg img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; filter: saturate(.8); transition: filter .5s, transform .8s var(--ease); }
.tfh-seg:hover img { filter: saturate(1.05); transform: translateY(-6px); }
.tfh-seg h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin-top: 1.1rem; text-transform: none; }
.tfh-seg p { margin-top: .45rem; color: var(--mist); font-size: .92rem; line-height: 1.55; }

.tfh-clients .sec-title { max-width: 26ch; margin-bottom: 3rem; }
.tf-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tf-marquee + .tf-marquee { margin-top: 1rem; }
.tf-marquee-track { display: flex; gap: 1rem; width: max-content; animation: tfMq 48s linear infinite; }
.tf-rev .tf-marquee-track { animation-direction: reverse; }
.tf-marquee:hover .tf-marquee-track { animation-play-state: paused; }
@keyframes tfMq { to { transform: translateX(-50%); } }
.tfm-cell { flex: 0 0 auto; width: 190px; height: 96px; border-radius: 12px; background: var(--tile); display: flex; align-items: center; justify-content: center; padding: 1rem 1.4rem; }
.tfm-cell img { max-width: 100%; max-height: 100%; object-fit: contain; }

@media (max-width: 900px) {
  .tfh-hero { height: 92svh; min-height: 560px; }
  .tfh-hero-in { padding-bottom: 7.5rem; }
  .tfh-index { grid-template-columns: repeat(4, 1fr); gap: .5rem; padding-bottom: 1.4rem; }
  .tfh-tab b, .tfh-tab em { display: none; }
  .tfh-tab.is-on b { display: block; position: absolute; left: 1.5rem; bottom: 2.6rem; font-size: .8rem; margin: 0; }
  .tfh-stats { grid-template-columns: 1fr 1fr; }
  .tfh-stat { padding: 1.8rem 1rem 1.8rem 0; border-bottom: 1px solid var(--line); }
  .tfh-stat + .tfh-stat { padding-left: 1.25rem; }
  .tfh-stat:nth-child(2n) { border-right: 0; }
  .tfh-stat:nth-child(n+3) { border-bottom: 0; }
  .tfh-stat:nth-child(3) { padding-left: 0; }
  .tfh-worlds { grid-template-columns: 1fr; }
  .tfh-world { min-height: 520px; }
  .tfh-cap { grid-template-columns: 1fr; }
  .tfh-cap-stage { display: none; }
  .tfh-cap-row { grid-template-columns: 84px 1fr; gap: .25rem 1rem; padding: 1.1rem 0; }
  .tfh-cap-row.is-on, .tfh-cap-row:hover { padding-left: 0; }
  .tfh-cap-row.is-on::before { width: 0; }
  .tfh-cap-thumb { display: block; grid-row: span 2; width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
  .tfh-cap-arrow { display: none; }
  .tfh-cap-t { align-self: end; }
  .tfh-cap-d { align-self: start; font-size: .86rem; }
  .tfh-work { grid-template-columns: 1fr; grid-template-rows: none; }
  .tfh-job-lg { min-height: 440px; grid-row: auto; }
  .tfh-job { min-height: 300px; }
  .tfh-segs { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .tfh-seg img { aspect-ratio: 1 / 1; }
  .tfm-cell { width: 140px; height: 76px; }
}
.tfh-left, .tfh-clients .sec-title { text-transform: none; }
.testi-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; border: 0; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

/* ═══════════ INNER PAGE HEROES ═══════════ */
.phero { background: radial-gradient(90% 120% at 85% -10%, rgba(226, 55, 47, .16), transparent 60%), var(--ink); border-bottom: 1px solid var(--line); padding: clamp(4.5rem, 9vw, 8rem) 1.5rem clamp(3.5rem, 6vw, 5.5rem); }
.phero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.2rem, 5.2vw, 4.4rem); letter-spacing: -.015em; line-height: 1.04; }
.phero-sub { color: var(--mist); font-size: 1.05rem; }
.phero-label { color: var(--red); letter-spacing: .22em; }

/* brand pages */
.tfb-hero { text-align: left; padding-bottom: 0; overflow: hidden; }
.tfb-hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-bottom: clamp(3rem, 6vw, 5rem); }
.tfb-logo { max-height: 62px; max-width: 260px; width: auto; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 2rem; display: block; }
.tfb-hero .phero-sub { margin: 0 0 2rem; max-width: 56ch; }
.tfb-cta { display: flex; gap: .9rem; flex-wrap: wrap; }
.tfb-cta .btn-red { padding: 1.05rem 2rem; display: inline-flex; align-items: center; }
.tfb-stack { position: relative; aspect-ratio: 1 / .86; }
.tfb-tile { position: absolute; background: var(--tile); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); transition: transform .8s var(--ease); display: flex; align-items: center; justify-content: center; }
.tfb-tile img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.tfb-t0 { left: 0; top: 8%; width: 62%; height: 74%; z-index: 2; }
.tfb-t1 { right: 0; top: 0; width: 44%; height: 50%; z-index: 1; }
.tfb-t2 { right: 4%; bottom: 0; width: 46%; height: 52%; z-index: 3; }
.tfb-stack:hover .tfb-t0 { transform: translate(-6px, -8px); }
.tfb-stack:hover .tfb-t1 { transform: translate(8px, -6px); }
.tfb-stack:hover .tfb-t2 { transform: translate(6px, 8px); }
.tfb-why { list-style: none; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); max-width: 1400px; margin: 0 auto; }
.tfb-why li { flex: 1 1 200px; padding: 1.4rem 1.5rem 1.6rem 0; margin-right: 1.5rem; color: var(--mist); font-size: .9rem; line-height: 1.5; border-right: 1px solid var(--line); }
.tfb-why li:last-child { border-right: 0; margin-right: 0; }
@media (max-width: 900px) {
  .tfb-hero-in { grid-template-columns: 1fr; }
  .tfb-stack { aspect-ratio: 1 / .7; }
  .tfb-why { display: grid; grid-template-columns: 1fr 1fr; }
  .tfb-why li { border-right: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 1rem 1rem 1rem 0; }
}

/* filters and search */
.cat-btn { border: 1px solid var(--line2); color: var(--mist); border-radius: 999px; padding: .5rem 1.05rem; }
.cat-btn:hover { border-color: var(--bone); color: var(--bone); }
.cat-btn.active { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.cat-btn.active .cnt { background: rgba(0, 0, 0, .12); color: var(--ink); }
.search-box { background: rgba(255, 255, 255, .05); border: 1px solid var(--line2); color: var(--bone); border-radius: 999px; padding: .6rem 1.1rem; }
.search-box:focus { border-color: var(--bone); }

/* quote form */
.embedded-quote-sec { background: var(--ink2); border-top: 1px solid var(--line); }
.embedded-quote-form-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; box-shadow: none; }
.eq-title { font-family: var(--serif); color: var(--bone); text-transform: none; letter-spacing: 0; font-weight: 600; }
.eq-desc { color: var(--mist); }
.eq-form-group label, label { color: var(--mist); }
.eq-submit-btn { border-radius: 999px; }

/* pagination */
.pg-btn, .page-btn { background: transparent; border: 1px solid var(--line2); color: var(--mist); border-radius: 999px; }
.pg-btn.active, .page-btn.active { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* hero: more contrast behind the headline on bright photographs */
.tfh-shade { background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .12) 26%, rgba(0, 0, 0, .3) 55%, rgba(8, 8, 9, .97) 100%), linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .35) 45%, transparent 75%); }

/* blog cards, product page bits, misc */
.blog-card { background: var(--panel) !important; border: 1px solid var(--line) !important; border-radius: 16px; transition: transform .5s var(--ease), border-color .3s !important; }
.blog-card:hover { transform: translateY(-6px); border-color: var(--line2) !important; }
.blog-card img { transition: transform 1s var(--ease); }
.blog-card:hover img { transform: scale(1.05); }
.blog-card h3 { font-family: var(--serif); font-weight: 600 !important; color: var(--bone); }
.pp-faq-item { border-bottom-color: var(--line); }
.pp-faq-item h3 { color: var(--bone); }
.pp-faq-item p { color: var(--mist); }
.pp-media { border-radius: 18px; overflow: hidden; }
iframe[src*="google.com/maps"] { filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.95); }
.segment-cta { color: var(--bone); }

/* shared component polish */
button { color: inherit; }
.faq-item { background: transparent; border-bottom: 1px solid var(--line); }
.faq-q { color: var(--bone); font-size: 1.02rem; font-weight: 500; padding: 1.25rem 0; transition: color .25s; }
.faq-q:hover { color: #fff; }
.faq-q span { color: var(--red); }
.faq-a { color: var(--mist); font-size: .95rem; }
.feat-card { background: transparent; border-left: 0; border-top: 1px solid var(--line2); padding: 1.4rem 1.2rem 1.4rem 0; position: relative; }
.feat-card::before { content: ''; position: absolute; left: 0; top: -1px; width: 2.2rem; height: 1px; background: var(--red); transition: width .6s var(--ease); }
.feat-card:hover::before { width: 100%; }
.feat-card h3, .feat-card h4 { color: var(--bone); }
.stat-box { background: transparent; border: 0; border-top: 1px solid var(--line2); text-align: left; padding: 1.4rem 1rem 1.4rem 0; }
.stat-n { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--bone); }
.stat-l { color: var(--mist); }
.lineup-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; transition: transform .5s var(--ease), border-color .3s; }
.lineup-card:hover { transform: translateY(-6px); border-color: var(--line2); }
.lineup-img { background: #0e0e10; padding: 0; object-fit: cover; mix-blend-mode: normal; }
.lineup-grid, .lineup { gap: 1.25rem; border: 0; }
.install-card { border-radius: 14px; }
.segment { border-radius: 16px; overflow: hidden; }
.segment-img { transition: transform 1s var(--ease); }
.segment:hover .segment-img { transform: scale(1.05); }
.sec-dark { background: var(--ink2); }
img.prod-img { background: #fff !important; filter: brightness(.955); padding: .75rem; height: auto; }
.prod-grid { gap: 1rem; }
.prod-enq { border-radius: 999px; }

/* overlays */
.modal-desc, #m-desc { color: var(--mist); }
.modal-title, #m-title { color: var(--bone); font-family: var(--serif); }
.modal-img { background: var(--tile); }
#m-img { mix-blend-mode: multiply; background: transparent !important; }
.modal-close, .ss-close { color: var(--mist); }
.ss-head { border-bottom-color: var(--line); }
.ss-head input, .ss-box input { color: var(--bone) !important; background: transparent !important; border: 0; }
.ss-t { color: var(--bone); }
.ss-s, .ss-hint { color: var(--mist); }
.nav-ham span { background: var(--bone); }
.spec-list li, #m-specs li { color: var(--mist); }
#m-img { mix-blend-mode: normal; background: #fff !important; filter: brightness(.955); }
.pp-table td { color: var(--bone); }
.pp-table th, .pp-table td { border-color: var(--line); }
.pp-hero h1, .pp-title { font-family: var(--serif); }
.cat-btn .cnt { color: var(--mist); }
.cat-btn.active .cnt { color: var(--ink); }
.pp-index-group a, .pp-about p, .pp-desc { color: var(--mist); }

/* hero copy must never slide under the nav on short screens (laptops, landscape phones) */
.tfh-hero { height: auto; min-height: max(600px, 100svh); max-height: none; }
.tfh-hero-in { padding-top: calc(var(--nav) + 2.5rem); }
.tfh-h1 { font-size: clamp(2.3rem, min(6.2vw, 9.6vh), 5.6rem); }
@media (max-width: 900px) { .tfh-hero { min-height: max(560px, 92svh); } .tfh-h1 { font-size: clamp(2.2rem, 9.5vw, 3.4rem); } }
