/* TE Technologies Inc. — te-v3
   Monochrome pill-and-band design system: white page, #f8f8f8 rounded bands,
   near-black ink, pill buttons, tight-tracked grotesk headlines. */

:root {
  --ink: #080808;
  --body: #3a3a3a;
  --mut: #6f6f6f;
  --paper: #ffffff;
  --band: #f8f8f8;
  --hair: #e6e6e6;
  --hair-dark: rgba(8, 8, 8, 0.9);
  --r-band: 28px;
  --r-card: 20px;
  --gutter: 16px;
  --pad-x: clamp(20px, 4.5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 16px; line-height: 1.5;
  color: var(--body); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1290px; margin: 0 auto; padding: 0 var(--pad-x); }

/* ---------- type ---------- */
h1, h2, h3 { color: var(--ink); font-weight: 600; letter-spacing: -0.045em; text-wrap: balance; }
.h-display { font-size: clamp(42px, 6.6vw, 84px); line-height: 1.04; }
.h-sec { font-size: clamp(36px, 5.4vw, 68px); line-height: 1.06; }
.h-card { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.03em; }
.eyebrow {
  display: block; font-size: 14px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 22px;
}
.eyebrow.on-dark { color: #fff; }
.lede { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 300px; padding: 14px 26px;
  font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn svg { width: 17px; height: 17px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-1px); }
.btn-dark  { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #2b2b2b; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: #ededed; border-color: #ededed; }
.btn-ghost-dark  { background: transparent; color: var(--ink); border-color: var(--hair-dark); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.pill-sm { padding: 11px 22px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- bands ---------- */
.band {
  background: var(--band); border-radius: var(--r-band);
  margin: 0 var(--gutter);
}
.sec { padding: clamp(80px, 10vw, 140px) 0; }
.sec-head { max-width: 820px; margin: 0 auto clamp(48px, 6vw, 84px); }

/* ---------- nav ---------- */
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  padding: 22px 0;
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; }
.brand .glyph {
  width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-size: 15px; font-weight: 700; letter-spacing: 0;
}
.nav-links { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.92); font-weight: 500; }
.nav-links a { padding: 6px 8px; border-radius: 8px; transition: color .2s ease; }
.nav-links a:hover { color: #fff; }
.nav-links .sep { color: rgba(255,255,255,.45); font-weight: 400; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-mail { color: rgba(255,255,255,.85); font-weight: 500; transition: color .2s ease; }
.nav-mail:hover { color: #fff; }
.nav-burger { display: none; }

/* mobile menu */
.menu-overlay {
  position: fixed; inset: 0; z-index: 50; background: var(--ink); color: #fff;
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
}
.menu-overlay.open { display: flex; }
.menu-overlay a { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; padding: 10px 18px; }
.menu-close {
  position: absolute; top: 20px; right: 20px; background: none; border: 1px solid rgba(255,255,255,.4);
  color: #fff; border-radius: 300px; padding: 10px 20px; font-family: inherit; font-size: 14px; cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  position: relative; border-radius: 0 0 var(--r-band) var(--r-band); overflow: hidden;
  background: var(--ink); color: #fff;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,.62) 0%, rgba(8,8,8,.38) 45%, rgba(8,8,8,.72) 100%);
}
.hero-in { position: relative; z-index: 2; padding-top: clamp(150px, 18vw, 210px); padding-bottom: clamp(64px, 7vw, 96px); }
.hero h1 { color: #fff; max-width: 13ch; }
.hero .lede { color: rgba(255,255,255,.85); max-width: 56ch; margin: 26px 0 34px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  margin-top: clamp(64px, 8vw, 110px);
}
.stat .stat-label { font-size: 15px; color: rgba(255,255,255,.82); margin-bottom: 6px; }
.stat .stat-num {
  font-size: clamp(44px, 5.2vw, 74px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; color: #fff;
  font-variant-numeric: tabular-nums; display: flex; align-items: baseline;
}
/* odometer digits */
.odo { display: inline-block; overflow: hidden; height: 1.05em; }
.odo-col { display: flex; flex-direction: column; transform: translateY(0); transition: transform 1.6s cubic-bezier(.16,1,.3,1); }
.odo-col span { height: 1.05em; line-height: 1.05; }

/* ---------- statement ---------- */
.statement { max-width: 980px; margin: 0 auto; }
.statement .h-sec { margin-bottom: 40px; }

/* ---------- hub diagram ---------- */
.hub { position: relative; max-width: 860px; margin: 0 auto; padding: clamp(12px, 2vw, 24px) 0; }
.hub-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 300px; padding: 16px 26px;
  font-weight: 600; font-size: clamp(14px, 1.6vw, 17px); color: var(--ink);
  box-shadow: 0 18px 34px -18px rgba(8,8,8,.28), 0 2px 6px rgba(8,8,8,.05);
  white-space: nowrap;
}
.hub-pill small { font-weight: 500; color: var(--mut); font-size: .82em; }
.hub-top { display: flex; justify-content: center; }
.hub-mid { display: flex; justify-content: center; padding: 10px 0; }
.hub-core {
  width: clamp(150px, 22vw, 210px); height: clamp(150px, 22vw, 210px);
  border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center;
  border: clamp(10px, 1.6vw, 16px) solid #ececec;
  box-shadow: 0 30px 60px -30px rgba(8,8,8,.35);
}
.hub-core span { font-size: clamp(34px, 5vw, 52px); font-weight: 700; letter-spacing: -0.03em; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hub-top, .hub-mid, .hub-bot { position: relative; z-index: 1; }
.hub-bot { display: flex; justify-content: center; gap: clamp(10px, 2vw, 22px); flex-wrap: wrap; }

/* ---------- brand rows ---------- */
.brand-row {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 84px);
  align-items: center; padding: clamp(48px, 6vw, 80px) 0;
}
.brand-row + .brand-row { border-top: 1px solid var(--hair); }
.brand-row.flip .brand-copy { order: 2; }
.brand-no { font-size: 15px; font-weight: 600; color: var(--mut); letter-spacing: .02em; margin-bottom: 14px; }
.brand-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--hair-dark); border-radius: 300px; padding: 7px 16px;
  font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 22px;
}
.brand-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.brand-copy h3 { margin-bottom: 16px; }
.brand-copy p { font-size: 17px; line-height: 1.6; max-width: 46ch; }
.feature-list { margin-top: 28px; border-top: 1px solid var(--ink); }
.feature-list li {
  list-style: none; padding: 14px 2px; border-bottom: 1px solid var(--ink);
  font-size: 17px; font-weight: 500; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.feature-list li svg { width: 15px; height: 15px; flex: none; }
.brand-visual { position: relative; }
.brand-visual > img {
  border-radius: var(--r-card); width: 100%; height: clamp(320px, 34vw, 460px); object-fit: cover;
}
.float-card {
  position: absolute; left: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px);
  background: #fff; border-radius: 14px; padding: 16px 20px;
  box-shadow: 0 24px 48px -20px rgba(8,8,8,.35);
}
.float-card b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.float-card span { font-size: 12.5px; color: var(--mut); }

/* ---------- pillars ---------- */
.pillar-head { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-top: clamp(48px, 6vw, 72px);
}
.pillar {
  background: #fff; border-radius: var(--r-card); padding: clamp(28px, 3.4vw, 44px);
}
.pillar h3 { font-size: clamp(20px, 2vw, 25px); letter-spacing: -0.025em; margin: 26px 0 10px; }
.pillar p { font-size: 15.5px; line-height: 1.6; max-width: 44ch; }
.pillar-art {
  height: 150px; background: var(--band); border-radius: 14px;
  display: grid; place-items: center; overflow: hidden; position: relative;
}
.mini-card {
  background: #fff; border-radius: 12px; padding: 14px 18px;
  box-shadow: 0 16px 30px -14px rgba(8,8,8,.25);
  font-weight: 600; color: var(--ink); font-size: 13px;
}
.mini-card b { display: block; font-size: 26px; letter-spacing: -0.03em; }
.mini-card small { font-weight: 500; color: var(--mut); font-size: 11.5px; }
.stack-art { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stack-art i {
  display: block; height: 22px; border-radius: 8px; background: #fff;
  box-shadow: 0 10px 20px -10px rgba(8,8,8,.25);
}
.stack-art i:nth-child(1) { width: 74px; }
.stack-art i:nth-child(2) { width: 110px; }
.stack-art i:nth-child(3) { width: 146px; }

/* ---------- quote ---------- */
.quote { max-width: 900px; margin: 0 auto; }
.quote blockquote {
  font-size: clamp(26px, 3.6vw, 44px); font-weight: 600; letter-spacing: -0.035em;
  line-height: 1.18; color: var(--ink); text-wrap: balance;
}
.quote figcaption { margin-top: 30px; font-size: 16px; color: var(--body); }
.quote figcaption .sep { color: var(--mut); margin: 0 10px; }
.quote figcaption b { color: var(--ink); font-weight: 600; }

/* ---------- roadmap accordion ---------- */
.acc { border-top: 1px solid var(--ink); max-width: 1000px; margin: 0 auto; }
.acc-item { border-bottom: 1px solid var(--ink); }
.acc-btn {
  width: 100%; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px);
  padding: clamp(22px, 3vw, 32px) 2px; background: none; border: none; cursor: pointer;
  font-family: inherit; text-align: left; color: var(--ink);
}
.acc-no { font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; color: var(--mut); flex: none; }
.acc-title { flex: 1; font-size: clamp(19px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.025em; }
.acc-title small { display: block; font-size: .62em; font-weight: 500; color: var(--mut); letter-spacing: 0; margin-top: 3px; }
.acc-icon {
  flex: none; width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; transition: transform .35s ease, background-color .25s ease, color .25s ease;
}
.acc-icon svg { width: 16px; height: 16px; }
.acc-item.open .acc-icon { transform: rotate(90deg); background: var(--ink); color: #fff; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.16,1,.3,1); }
.acc-body p { padding: 0 2px clamp(24px, 3vw, 34px) calc(clamp(17px, 1.8vw, 21px) + clamp(14px, 2.4vw, 34px)); max-width: 68ch; font-size: 16.5px; line-height: 1.6; }

/* ---------- cta band ---------- */
.cta {
  position: relative; border-radius: var(--r-band); overflow: hidden; margin: 0 var(--gutter);
  color: #fff; background: var(--ink);
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: rgba(8,8,8,.68); }
.cta-in { position: relative; z-index: 2; padding: clamp(80px, 10vw, 130px) var(--pad-x); text-align: center; }
.cta h2 { color: #fff; max-width: 16ch; margin: 0 auto; }
.cta .lede { color: rgba(255,255,255,.82); max-width: 58ch; margin: 24px auto 38px; }
.cta-pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 6vw, 100px); align-items: start; }
.contact-copy .lede { margin-bottom: 36px; max-width: 46ch; }
.facts { border-top: 1px solid var(--ink); }
.fact { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 15px 2px; border-bottom: 1px solid var(--hair); font-size: 15.5px; }
.fact b { color: var(--ink); font-weight: 600; }
.lead-form label {
  display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--mut); margin: 30px 0 4px;
}
.lead-form label:first-of-type { margin-top: 6px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; border: none; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent;
  font-family: inherit; font-size: 18px; color: var(--ink); padding: 10px 0 12px;
}
.lead-form select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23080808' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
.lead-form textarea { min-height: 96px; resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-bottom-width: 2px; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #9a9a9a; }
.lead-form .btn { margin-top: 36px; }
.form-msg { margin-top: 16px; font-size: 15px; min-height: 22px; }
.form-msg.ok { color: var(--ink); font-weight: 600; }
.form-msg.err { color: #b3261e; font-weight: 600; }

/* ---------- footer ---------- */
.footer { background: var(--band); border-radius: var(--r-band); margin: 24px var(--gutter) var(--gutter); }
.footer-in { padding: clamp(56px, 7vw, 96px) var(--pad-x) 0; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; font-size: 20px; }
.footer-brand .glyph { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.footer-blurb { max-width: 44ch; margin-top: 18px; font-size: 16px; line-height: 1.6; }
.footer-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-mail {
  display: block; font-size: clamp(26px, 4.6vw, 58px); font-weight: 600; letter-spacing: -0.04em; color: var(--ink);
  margin: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); word-break: break-all;
}
.footer-mail:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(140px, 1fr)); gap: 32px; padding: 36px 0; border-top: 1px solid var(--ink); }
.footer-links h4 { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.footer-links a, .footer-links span { display: block; padding: 5px 0; font-size: 15.5px; color: var(--body); }
.footer-links a:hover { color: var(--ink); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--hair); padding: 22px var(--pad-x) 28px; font-size: 14px; color: var(--mut);
}

/* ---------- reveals ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .odo-col { transition: none; }
  .btn, .btn svg, .acc-icon, .acc-body { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-mail { display: none; }
  .nav-burger {
    display: inline-flex; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
    color: #fff; border-radius: 300px; padding: 11px 20px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .brand-row { grid-template-columns: 1fr; }
  .brand-row.flip .brand-copy { order: 0; }
  .pillars { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-right .btn-light { display: none; }
  .brand { font-size: 17px; }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .fact { grid-template-columns: 1fr; gap: 2px; }
  .acc-icon { width: 40px; height: 40px; }
}
