/* Trevane Precision — page compositions built from the Ferlo DNA (tokens only, prefix tp-) */

/* hero-d recomposed: photo 7fr left with a material tag, RFQ card right (H1 inside), facts rule spanning both */
.tp-hero .v-hero-d__grid { grid-template-columns: minmax(0, 13fr) minmax(0, 11fr); }
.tp-hero .v-hero-d__media { min-height: 680px; }
.tp-hero .v-hero-d__media img { object-position: 45% 50%; }
.tp-hero .v-hero-d__card { padding: 40px; gap: 40px; }
.tp-hero h1 { font-size: 52px; max-width: 560px; }
.tp-hero__tag { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 72px 24px 22px; font-size: 16px; color: var(--text);
  background: linear-gradient(180deg, rgba(10, 10, 11, 0) 0%, rgba(10, 10, 11, .72) 100%); }
.tp-hero__tag span { font-family: var(--mono); font-size: 12px; letter-spacing: .6px; font-stretch: 87.5%; text-transform: uppercase; color: var(--muted); }
.tp-hero__facts { margin-top: 24px; }
.tp-hero__facts ul { padding-bottom: 0; }

/* parts ledger: four square part photos, each with an inspection-style spec table */
.tp-parts .head-row { align-items: flex-end; }
.tp-parts .head { max-width: 640px; }
.tp-parts__note { max-width: 360px; color: var(--muted); font-size: 16px; }
.tp-parts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.tp-part { display: grid; gap: 20px; align-content: start; }
.tp-part__img { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1 / 1; background: var(--surface); }
.tp-part__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tp-part:hover .tp-part__img img { transform: scale(1.04); }
.tp-spec { margin: 0; border-bottom: 1px solid var(--line); }
.tp-spec div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.tp-spec dt { font-family: var(--mono); font-size: 12px; letter-spacing: .6px; font-stretch: 87.5%; text-transform: uppercase; color: var(--muted); }
.tp-spec dd { margin: 0; font-size: 14px; color: var(--text); font-variant-numeric: tabular-nums; }

/* measured band: full-bleed indicator photo, shade only under the copy (bottom-left) */
.tp-measure { position: relative; min-height: 820px; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.tp-measure > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.tp-measure::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 11, 0) 45%, rgba(10, 10, 11, .55) 75%, rgba(10, 10, 11, .9) 100%); }
.tp-measure__in { padding-bottom: 56px; display: grid; gap: 48px; }
.tp-measure h2 { font-size: 64px; max-width: 760px; }
.tp-measure__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.tp-measure__facts li { font-family: var(--mono); font-size: 12px; letter-spacing: .6px; font-stretch: 87.5%; text-transform: uppercase; color: var(--muted); }
.tp-measure__facts b { color: var(--text); font-weight: 400; }

/* case chip as text */
.tp-chip { font-family: var(--mono); font-size: 12px; letter-spacing: .6px; font-stretch: 87.5%; text-transform: uppercase; color: var(--ink); }

/* title-block footer: four ruled fields like a drawing's title block */
.tp-foot { gap: 48px; padding-top: 30px; }
.tp-foot__block { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-sm); }
.tp-foot__cell { display: grid; gap: 12px; align-content: start; padding: 28px; border-left: 1px solid var(--line); }
.tp-foot__cell:first-child { border-left: 0; }
.tp-foot__brand p { font-size: 14px; color: var(--muted); max-width: 300px; }
.tp-foot__k { font-family: var(--mono); font-size: 12px; letter-spacing: .6px; font-stretch: 87.5%; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.tp-foot__big { font-size: 20px; line-height: 1.4; }
.tp-foot__cell a, .tp-foot__cell address, .tp-foot__cell p:not([class]) { font-size: 14px; font-style: normal; color: var(--muted); }
.tp-foot__cell a.tp-foot__big { color: var(--text); font-size: 20px; }
.tp-foot__cell a:hover { color: var(--text); }
.tp-foot__certs { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 1200px) {
  .tp-foot__block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-foot__cell:nth-child(3) { border-left: 0; }
  .tp-foot__cell:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 1024px) {
  .tp-hero .v-hero-d__grid { grid-template-columns: minmax(0, 1fr); }
  .tp-hero .v-hero-d__media { min-height: 0; aspect-ratio: 16 / 10; }
  .tp-parts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .tp-parts .head-row { flex-direction: column; align-items: flex-start; }
  .tp-measure h2 { font-size: 52px; }
}
@media (max-width: 600px) {
  .tp-hero h1 { font-size: 40px; }
  .tp-hero .v-hero-d__media { aspect-ratio: 4 / 3; }
  .tp-hero .v-hero-d__card { padding: 24px; }
  .tp-hero__facts ul { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .tp-parts__grid { grid-template-columns: minmax(0, 1fr); }
  .tp-measure { min-height: 640px; }
  .tp-measure h2 { font-size: 40px; }
  .tp-measure__facts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tp-foot__block { grid-template-columns: minmax(0, 1fr); }
  .tp-foot__cell { border-left: 0; padding: 20px; }
  .tp-foot__cell + .tp-foot__cell { border-top: 1px solid var(--line); }
}
.tp-measure .head { max-width: 900px; }
.cta .head .label { font-size: 11px; }
.tp-hero h1 { letter-spacing: -0.035em; }
.tp-measure::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 11, .62) 0%, rgba(10, 10, 11, 0) 55%); }
@media (max-width: 600px) {
  .tp-measure > img { object-position: 70% 0%; height: 62%; }
  .tp-measure::after { background: linear-gradient(180deg, rgba(10, 10, 11, 0) 30%, rgba(10, 10, 11, .9) 52%, var(--bg) 64%); }
  .tp-measure::before { display: none; }
}
.foot__legal a { transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
/* spec keys in the body face: fewer mono caps on the page */
.tp-spec dt { font-family: var(--font); font-size: 14px; letter-spacing: 0; font-stretch: 100%; text-transform: none; color: var(--muted); }
/* review fixes: parts ledger 3-up, values in mono, even padding */
.tp-parts { padding-bottom: 72px; }
.tp-parts .head-row { align-items: flex-end; }
.tp-parts__note { padding-bottom: 6px; }
.tp-parts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tp-spec dd { font-family: var(--mono); font-size: 13px; font-stretch: 87.5%; letter-spacing: .2px; }
.tp-measure__facts { max-width: 980px; }
.tp-measure__facts li { font-size: 13px; }
/* case: wide photo + lead-time bars */
.tp-case__photo { position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1524 / 600; }
.tp-case__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.tp-case__photo .chip { position: absolute; left: 24px; top: 24px; }
.tp-case__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 8vw, 128px); margin-top: 48px; align-items: end; }
.tp-bars { display: grid; gap: 28px; }
.tp-bar p { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; font-size: 16px; color: var(--muted); }
.tp-bar p b { font-family: var(--font-display); font-weight: 300; font-size: 24px; letter-spacing: -.5px; color: var(--text); }
.tp-bar i { display: block; height: 6px; width: var(--w); border-radius: 3px; background: var(--dim); }
.tp-bar--us p span { color: var(--text); }
.tp-bar--us i { background: var(--accent); }
.tp-case__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-top: 24px; border-top: 1px solid var(--line); align-items: start; }
.tp-case__stats .btn { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 1024px) { .tp-parts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tp-case__body { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .tp-parts__grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .tp-case__photo { aspect-ratio: 4 / 3; }
  .tp-case__photo .chip { left: 16px; top: 16px; }
}
/* round-2: case as a split — photo left, the comparison is the hero of the section */
.tp-case { padding-top: 0; }
.tp-case__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: stretch; }
.tp-case__photo { aspect-ratio: auto; min-height: 560px; }
.tp-case__photo img { position: absolute; inset: 0; object-position: 50% 50%; }
.tp-case__body { display: flex; flex-direction: column; justify-content: space-between; gap: 56px; margin-top: 0; grid-template-columns: none; padding-block: 8px; }
.tp-bars { gap: 40px; }
.tp-bar p { align-items: baseline; margin-bottom: 16px; font-size: 18px; }
.tp-bar p b { font-size: 48px; letter-spacing: -2px; line-height: 1; }
.tp-bar i { height: 8px; border-radius: 4px; }
.tp-measure h2 { font-size: 88px; max-width: 1000px; }
.tp-measure__facts li { font-size: 14px; }
@media (max-width: 1024px) { .tp-case__grid { grid-template-columns: minmax(0, 1fr); } .tp-case__photo { min-height: 0; aspect-ratio: 16 / 10; } .tp-measure h2 { font-size: 64px; } }
@media (max-width: 600px) { .tp-bar p b { font-size: 34px; letter-spacing: -1px; } .tp-measure h2 { font-size: 42px; } .tp-case__photo { aspect-ratio: 4 / 3; } }
.tp-case__body { align-items: stretch; } .tp-case__photo { min-height: 520px; }
@media (max-width: 1024px) { .tp-case__photo { min-height: 0; } }
/* round-3: case band padded like every band; results sit under the bars; measured band clears the indicator */
.tp-case { padding-top: var(--section); }
.tp-case__body { justify-content: center; gap: 64px; }
.tp-measure > img { object-position: 50% 50%; }
.tp-parts__note { font-size: 16px; }
@media (max-width: 1024px) { .tp-case { padding-top: 104px; } }
@media (max-width: 600px) { .tp-case { padding-top: 88px; } }
/* round-4: bright CMM photo — shade only behind the copy; facts on one line each */
.tp-measure > img { object-position: 50% 50%; height: 100%; }
.tp-measure::before { background: linear-gradient(90deg, rgba(10, 10, 11, .78) 0%, rgba(10, 10, 11, .35) 45%, rgba(10, 10, 11, 0) 65%); }
.tp-measure::after { background: linear-gradient(180deg, rgba(10, 10, 11, 0) 40%, rgba(10, 10, 11, .6) 72%, rgba(10, 10, 11, .92) 100%); }
.tp-measure__facts { max-width: none; grid-template-columns: repeat(3, max-content); column-gap: 64px; }
.tp-measure__facts li { white-space: nowrap; }
.tp-spec dd { font-size: 14px; }
@media (max-width: 1024px) { .tp-measure__facts { grid-template-columns: minmax(0, 1fr); row-gap: 12px; } .tp-measure__facts li { white-space: normal; } }
@media (max-width: 600px) {
  .tp-measure > img { object-position: 82% 0%; height: 62%; }
  .tp-measure::before { display: none; }
}
@media (max-width: 600px) {
  .tp-measure { min-height: 700px; }
  .tp-measure > img { height: 46%; object-position: 80% 30%; }
  .tp-measure::after { background: linear-gradient(180deg, rgba(10, 10, 11, 0) 30%, var(--bg) 46%); }
}
/* final review: right column on the photo's top and bottom lines; the comparison leads */
.tp-case__body { justify-content: space-between; padding-block: 0; gap: 48px; }
.tp-bar p b { font-size: 64px; letter-spacing: -2.5px; }
.tp-bar i { height: 12px; border-radius: 6px; }
.tp-case__stats .stat b { font-size: 32px; letter-spacing: -1px; }
.tp-case__stats { padding-top: 28px; }
@media (max-width: 600px) { .tp-bar p b { font-size: 40px; letter-spacing: -1.5px; } }

/* ═══ HERO v2 (Farhan 2026-10-12): engineering-drawing hero — headline left, action column right, wide part photo with callouts ═══ */
.tp-hero { padding-top: 168px; }
.tp-hero__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(40px, 6vw, 120px); align-items: end; }
.tp-hero h1 { font-size: 64px; max-width: 880px; letter-spacing: -0.04em; }
.tp-hero__side { display: grid; gap: 28px; justify-items: start; padding-bottom: 6px; }
.tp-hero__side p { color: var(--muted); font-size: 16px; max-width: 420px; }
.tp-hero__band { position: relative; margin-top: 56px; margin-bottom: 0; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 2400 / 1000; }
.tp-hero__band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-hero__band::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: var(--r-sm);
  background: linear-gradient(90deg, rgba(10, 10, 11, .14), rgba(10, 10, 11, 0) 30%); }
/* drawing callouts: a ringed dot on the feature, a hairline leader, a dark mono tag */
.tp-call { position: absolute; left: var(--x); top: var(--y); z-index: 1; display: flex; align-items: center; transform: translateY(-50%); }
.tp-call::before { content: ""; flex: none; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; border: 1.5px solid var(--accent); background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18); }
.tp-call::after { content: ""; order: 1; width: 56px; height: 1px; background: var(--ink); }
.tp-call b, .tp-call em { order: 2; }
.tp-call b { display: grid; gap: 2px; padding: 8px 12px; border-radius: var(--r-xs); background: rgba(10, 10, 11, .86); color: var(--text); font: 400 12px/1.3 var(--mono); font-stretch: 87.5%; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; }
.tp-call em { order: 3; margin-left: -1px; padding: 8px 12px; border-radius: 0 var(--r-xs) var(--r-xs) 0; background: var(--accent); color: var(--on-accent); font: 400 12px/1.3 var(--mono); font-stretch: 87.5%; letter-spacing: .6px; text-transform: uppercase; font-style: normal; white-space: nowrap; }
.tp-call b { border-radius: var(--r-xs) 0 0 var(--r-xs); }
.tp-call--l { flex-direction: row-reverse; transform: translate(-100%, -50%); }
.tp-call--l::before { margin-left: 0; margin-right: -5px; order: 4; }
.tp-call--l::after { order: 3; }
.tp-call--l b { order: 1; } .tp-call--l em { order: 2; }
.tp-call--l { flex-direction: row; }
.tp-hero__facts { margin-top: 0; }
/* RFQ form now lives in the closing band */
.tp-cta__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.tp-cta__copy .btn-row { margin-top: 40px; }
.tp-rfq { background: rgba(10, 10, 11, .9); border-radius: var(--r); padding: 32px; gap: 20px; }
.tp-rfq__h { font-family: var(--mono); font-size: 12px; font-stretch: 87.5%; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1024px) {
  .tp-hero__head { grid-template-columns: minmax(0, 1fr); }
  .tp-hero h1 { font-size: 52px; }
  .tp-hero__band { aspect-ratio: 2400 / 1000; }
  .tp-cta__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .tp-hero { padding-top: 120px; }
  .tp-hero h1 { font-size: 42px; letter-spacing: -0.035em; }
  .tp-hero__band { margin-top: 40px; aspect-ratio: 4 / 3; }
  .tp-call { left: var(--xm, var(--x)); top: var(--ym, var(--y)); }
  .tp-call--desk { display: none; }
  .tp-call:not(.tp-call--l) { flex-direction: row; transform: translate(-100%, -50%); }
  .tp-call:not(.tp-call--l)::before { order: 4; margin-left: 0; margin-right: -5px; }
  .tp-call:not(.tp-call--l)::after { order: 3; }
  .tp-call::after { width: 28px; }
  .tp-call b, .tp-call em { font-size: 12px; padding: 6px 8px; }
  .tp-rfq { padding: 20px; }
}
@media (max-width: 600px) {
  .tp-call b { display: none; }
  .tp-call em { border-radius: var(--r-xs); margin-left: 0; }
}
.tp-call::after { background: rgba(10, 10, 11, .9); }
.tp-call em { background: var(--accent-ink-light); }
.tp-closing::after { background: rgba(10, 10, 11, .66); }
.tp-case__body { justify-content: space-evenly; gap: 40px; padding-block: 0; }
.tp-bars { gap: 48px; }
.tp-case__stats { padding-top: 36px; row-gap: 36px; }

/* full-width header bar: spans the same edges as the hero photo (Farhan 2026-10-12) */
.nav { width: calc(100% - 2 * var(--gutter)); }
