:root {
  --ink: #0e1726;
  --ink-soft: #1d2838;
  --paper: #f7f8fa;
  --mist: #ebeff5;
  --mist-dark: #d6dde8;
  --white: #ffffff;
  --navy: #1a3a6b;
  --navy-deep: #0f2748;
  --navy-light: #9db4d6;
  --muted: #5d6675;
  --line: rgba(14, 23, 38, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --radius: 20px;
  --radius-sm: 10px;
  --max: 1280px;
  --sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Wordmark: Inter 600. Brand spec is -140 tracking; loosened for the header lockup. */
  --wordmark-tracking: -0.07em;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-140%);
}

.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--max));
  min-height: 74px;
  margin: 16px auto 0;
  padding: 10px 11px 10px 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 248, 250, 0.92);
  border-color: var(--line);
  box-shadow: 0 14px 40px rgba(14, 23, 38, 0.08);
}

/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile nav and clip it. */
.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  transition: backdrop-filter 220ms ease;
}

.site-header.is-scrolled::before { backdrop-filter: blur(18px); }

.brand {
  display: inline-flex;
  align-items: baseline; /* wordmark shares the baseline of the "tv." inside the box */
  gap: 13px;
}

/* Logo, set in live type until the final SVG lands.
   .logo-mark is the boxed "tv." monogram; size it with font-size (1em = box width). */
.logo-mark {
  display: inline-flex;
  flex: none;
  align-items: flex-end;
  justify-content: flex-end;
  width: 1em;
  height: 1em;
  padding: 0 0.07em 0.1em 0;
  border: max(1.5px, 0.034em) solid currentColor;
  font-size: 34px;
}

.logo-mark > span {
  font-size: 0.64em;
  font-weight: 600;
  letter-spacing: -0.1em; /* t and v just touch */
  line-height: 0.74;
}

.logo-mark i,
.wordmark i { color: var(--navy); font-style: normal; }


.wordmark {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: var(--wordmark-tracking);
  word-spacing: 0.08em; /* restores the word gap that the tight tracking eats */
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 13px;
  font-weight: 500;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  color: #3f4857;
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--navy);
  transform: translateY(-1px);
}

.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: max(720px, 100svh);
  padding: 150px max(24px, calc((100vw - var(--max)) / 2)) 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}

/* Full-bleed background layer: video when supplied, otherwise the temporary canvas. */
.hero-media {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Slow-drifting light washes (sit under the video/canvas) */
.hero-media::before {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(38% 42% at 78% 30%, rgba(157, 180, 214, 0.55), transparent 70%),
    radial-gradient(34% 40% at 60% 85%, rgba(214, 221, 232, 0.9), transparent 70%),
    radial-gradient(30% 36% at 95% 75%, rgba(196, 210, 232, 0.6), transparent 70%);
  content: "";
  animation: hero-drift 28s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-6%, 4%, 0) scale(1.08); }
}

/* Legibility wash: keeps the headline side calm whatever plays behind it */
.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 248, 250, 0.94) 0%, rgba(247, 248, 250, 0.72) 38%, rgba(247, 248, 250, 0) 72%),
    linear-gradient(0deg, var(--paper) 0%, rgba(247, 248, 250, 0) 22%);
  content: "";
}

.hero-video,
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video:not(.is-playing),
.hero-canvas[hidden] { display: none; }

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 1080px;
  padding-bottom: 40px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 43px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow i {
  width: 3px;
  height: 3px;
  background: var(--navy);
  border-radius: 50%;
}

.hero h1 {
  max-width: 15.5em;
  margin: 0;
  font-size: clamp(52px, 6.3vw, 88px);
  font-weight: 500;
  letter-spacing: -0.048em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero h1 > span {
  display: block;
  color: var(--navy);
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(250px, 0.86fr) 1.14fr;
  gap: 45px;
  align-items: end;
  max-width: 820px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-bottom > p {
  margin: 0;
  color: #4a5363;
  font-size: 16px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }

.button-ink {
  color: var(--paper);
  background: var(--ink);
}

.button-ink:hover,
.button-ink:focus-visible { background: var(--navy); }

.button-light {
  color: var(--ink);
  background: var(--paper);
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--paper);
  background: var(--navy);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translate(2px, -2px); }

.hero-rail {
  position: relative;
  z-index: 2;
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  border-top: 1px solid var(--line);
}

.hero-rail p,
.section-index {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-rail > div {
  display: flex;
  gap: 55px;
}

.hero-rail span {
  position: relative;
  font-size: 12px;
  font-weight: 600;
}

.hero-rail span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -29px;
  width: 3px;
  height: 3px;
  background: var(--navy);
  border-radius: 50%;
  content: "";
}

.section {
  padding: 130px max(24px, calc((100vw - var(--max)) / 2));
}

.statement {
  display: grid;
  grid-template-columns: 0.25fr 0.75fr;
  gap: 70px;
  background: var(--mist);
}

.statement-copy { max-width: 960px; }

.kicker {
  margin: 0 0 23px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.statement h2,
.panel-lead h2,
.approach h2,
.closing h2 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.statement h2 {
  max-width: 940px;
  font-size: clamp(43px, 4.9vw, 70px);
}

.statement h2 em,
.closing h2 em {
  color: var(--navy);
  font-style: normal;
}

.statement-lede {
  max-width: 635px;
  margin: 39px 0 0 auto;
  padding-top: 24px;
  color: #4a5363;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.8;
}

.capabilities { background: var(--paper); }

.section-top {
  display: grid;
  grid-template-columns: 0.5fr 0.5fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 57px;
}

.section-intro {
  max-width: 560px;
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.explorer {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(15, 39, 72, 0.07);
}

.tab-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.tab {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 0 28px;
  color: #7d8797;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  transition: color 180ms ease, background 180ms ease;
}

.tab:last-child { border-right: 0; }
.tab > span { font-size: 11px; font-weight: 700; }
.tab > b { font-size: 16px; font-weight: 500; letter-spacing: -0.025em; }
.tab > i { font-size: 11px; font-style: normal; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

.tab.is-active {
  color: var(--white);
  background: var(--navy-deep);
}

.tab.is-active > span { color: var(--navy-light); }

.tab-panel {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  min-height: 590px;
  background: var(--white);
  animation: panel-in 320ms ease both;
}

.tab-panel[hidden] { display: none; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 56px;
  border-right: 1px solid var(--line);
}

.panel-lead h2 {
  max-width: 500px;
  font-size: clamp(41px, 3.8vw, 57px);
}

.panel-lead > p:not(.kicker) {
  max-width: 460px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.underline-link {
  margin-top: 34px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
}

.service-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 48px 0 50px;
}

.service-list article {
  display: grid;
  grid-template-columns: 42px 1fr 32px;
  gap: 15px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.service-list article:last-child { border-bottom: 0; }
.service-list article > span { padding-top: 4px; color: var(--navy); font-size: 11px; font-weight: 700; }
.service-list h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.03em; }
.service-list p { max-width: 480px; margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.service-list article > i { font-size: 16px; font-style: normal; transition: transform 180ms ease; }
.service-list article:hover > i { transform: translate(3px, -3px); }

.products-panel { grid-template-columns: 0.33fr 0.67fr; }

.product-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.product-item {
  position: relative;
  min-width: 0;
  min-height: 590px;
  padding: 34px;
  overflow: hidden;
  background: var(--white);
}

.product-number { color: var(--navy); font-size: 11px; font-weight: 700; }

.product-copy {
  position: relative;
  z-index: 2;
  max-width: 78%;
  margin-top: 185px;
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status i {
  width: 5px;
  height: 5px;
  background: var(--navy);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(26, 58, 107, 0.12);
}

.product-copy h3 {
  margin: 14px 0 0;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.product-copy p { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.product-copy a, .coming-soon { display: inline-block; margin-top: 16px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 700; }

.product-ui {
  position: absolute;
  top: 33px;
  right: -15px;
  width: 205px;
  min-height: 400px;
  padding: 24px 14px 15px;
  background: #eef1f5;
  border: 4px solid var(--ink);
  border-radius: 29px;
  box-shadow: 0 25px 55px rgba(14, 23, 38, 0.16);
  transform: rotate(5deg);
}

.product-ui::before {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 53px;
  height: 12px;
  background: var(--ink);
  border-radius: 20px;
  content: "";
  transform: translateX(-50%);
}

.ui-top { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 14px; font-size: 7px; }
.ui-top b { font-size: 9px; font-weight: 700; }

.travel-image {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 125px;
  padding: 12px;
  color: white;
  background:
    linear-gradient(180deg, transparent 20%, rgba(37, 32, 24, 0.64)),
    linear-gradient(145deg, #d3b081, #7a9184 60%, #455852);
}

.travel-image span { font-size: 10px; font-weight: 700; }
.travel-image small { margin-top: 3px; font-size: 6px; opacity: 0.85; }

.ui-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding: 9px;
  background: var(--white);
}

.ui-row > i { display: grid; place-items: center; width: 27px; height: 27px; color: var(--white); background: var(--navy); font-size: 8px; font-style: normal; }
.ui-row > span { display: flex; flex-direction: column; gap: 2px; }
.ui-row b { font-size: 7px; }
.ui-row small { color: var(--muted); font-size: 6px; }

.trex-ui { color: #223128; background: #ecebe5; border-color: #18271f; transform: rotate(4deg); }
.trex-ui::before { background: #18271f; }
.trex-ui > small { display: block; margin-top: 28px; color: #6a756e; font-size: 7px; }
.trex-ui > strong { display: block; margin-top: 2px; color: #193226; font-size: 29px; letter-spacing: -0.05em; }
.trex-ui > em { display: block; margin-top: 2px; color: #587062; font-size: 7px; font-style: normal; }

.balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 13px 10px;
  background: var(--white);
}

.balance-row span { display: flex; flex-direction: column; gap: 2px; }
.balance-row b { font-size: 7px; }
.balance-row small { color: #7b827d; font-size: 6px; }
.balance-row > strong { color: #43614e; font-size: 8px; }

.approach {
  color: var(--paper);
  background: var(--navy-deep);
}

.approach-top {
  grid-template-columns: 0.24fr 0.48fr 0.28fr;
  align-items: end;
  margin-bottom: 80px;
}

.approach .section-index { color: #8e9aae; }
.approach h2 { font-size: clamp(52px, 5.7vw, 78px); }
.approach-top > p:last-child { max-width: 350px; margin: 0 0 7px; color: #a9b4c6; font-size: 13px; line-height: 1.75; }

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  list-style: none;
}

.process-list li {
  min-height: 290px;
  padding: 30px 35px 35px 0;
  border-right: 1px solid var(--line-light);
}

.process-list li + li { padding-left: 35px; }
.process-list li:last-child { border-right: 0; }
.process-list li > span { color: var(--navy-light); font-size: 11px; font-weight: 700; }
.process-list h3 { margin: 88px 0 0; font-size: 20px; font-weight: 500; letter-spacing: -0.04em; }
.process-list p { max-width: 310px; margin: 14px 0 0; color: #a9b4c6; font-size: 13px; line-height: 1.7; }

.closing {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(157, 180, 214, 0.28), transparent 65%),
    var(--navy);
}

.closing > .logo-mark {
  position: absolute;
  top: 50%;
  right: max(24px, calc((100vw - var(--max)) / 2));
  font-size: min(40vw, 480px);
  opacity: 0.05;
  transform: translateY(-50%);
}

.closing > .logo-mark i { color: inherit; }

.closing .section-index { color: rgba(255, 255, 255, 0.7); }

.closing-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.7fr 0.3fr;
  gap: 80px;
  align-items: end;
  margin-top: 115px;
}

.closing h2 { max-width: 820px; font-size: clamp(55px, 6.5vw, 88px); }
.closing h2 em { color: var(--navy-light); }
.closing-copy > div { padding-bottom: 8px; }
.closing-copy p { margin: 0 0 28px; color: rgba(255, 255, 255, 0.82); font-size: 13px; line-height: 1.75; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 108px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  color: #8e9aae;
  background: #0a1220;
  font-size: 11px;
}

.footer-brand { color: var(--paper); }
.footer-brand i { color: var(--navy-light); }
.site-footer > p { margin: 0; text-align: center; }
.site-footer > div { display: flex; gap: 19px; white-space: nowrap; }
.site-footer a:hover { color: var(--paper); }

.contact {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 80px;
  background: var(--mist);
}

.contact-copy h1,
.contact-copy h2 {
  margin: 43px 0 0;
  font-size: clamp(41px, 3.8vw, 57px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.contact-copy > p:not(.section-index) {
  max-width: 440px;
  margin: 28px 0 0;
  color: #4a5363;
  font-size: 14px;
  line-height: 1.8;
}

.contact-list {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-list span {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-list a,
.contact-list p { margin: 0; font-size: 13px; line-height: 1.6; }
.contact-list a:hover { color: var(--navy); }

.contact-form {
  padding: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(15, 39, 72, 0.07);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.field label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14px;
  transition: border-color 180ms ease, background 180ms ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.12);
}

.field textarea { min-height: 140px; resize: vertical; }

.field.is-invalid input,
.field.is-invalid textarea { border-color: #a83e29; }

.field-error { min-height: 1em; color: #a83e29; font-size: 12px; }

.form-submit {
  width: 100%;
  justify-content: space-between;
  margin-top: 6px;
  border: 0;
  cursor: pointer;
}

.form-submit:disabled { opacity: 0.6; cursor: progress; transform: none; }

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.6;
}

.form-status.is-success {
  display: block;
  color: #1a3a6b;
  background: rgba(26, 58, 107, 0.1);
  border: 1px solid rgba(26, 58, 107, 0.4);
}

.form-status.is-error {
  display: block;
  color: #a83e29;
  background: rgba(168, 62, 41, 0.07);
  border: 1px solid rgba(168, 62, 41, 0.35);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Careers band (home page) */
.careers { background: var(--mist); }

.careers-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  padding: 64px;
  overflow: hidden;
  background:
    radial-gradient(55% 90% at 100% 0%, rgba(157, 180, 214, 0.35), transparent 70%),
    var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.careers-copy h2 {
  margin: 20px 0 0;
  font-size: clamp(40px, 4.4vw, 62px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.careers-copy > p:not(.hiring-tag) {
  max-width: 560px;
  margin: 20px 0 0;
  color: #4a5363;
  font-size: 15px;
  line-height: 1.7;
}

.hiring-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Pulsing dot: a quiet "we're growing" signal */
.hiring-tag i {
  position: relative;
  width: 7px;
  height: 7px;
  background: var(--navy);
  border-radius: 50%;
}

.hiring-tag i::after {
  position: absolute;
  inset: -5px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  content: "";
  opacity: 0;
  animation: hiring-pulse 2.4s ease-out infinite;
}

@keyframes hiring-pulse {
  from { opacity: 0.6; transform: scale(0.5); }
  to { opacity: 0; transform: scale(1.6); }
}

.careers-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.careers-areas li {
  padding: 7px 14px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* Careers page */
.site-nav > a[aria-current="page"]:not(.nav-cta) { color: var(--ink); }
.site-nav > a[aria-current="page"]::after { transform: scaleX(1); }

.page-hero {
  padding: 190px max(24px, calc((100vw - var(--max)) / 2)) 110px;
  background:
    radial-gradient(45% 70% at 85% 25%, rgba(157, 180, 214, 0.45), transparent 70%),
    radial-gradient(35% 50% at 60% 100%, rgba(214, 221, 232, 0.8), transparent 70%),
    var(--paper);
}

.page-hero h1 {
  max-width: 14em;
  margin: 28px 0 0;
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -0.048em;
  line-height: 1.02;
  text-wrap: balance;
}

.page-hero h1 > span { color: var(--navy); }

.page-hero-lede {
  max-width: 620px;
  margin: 32px 0 40px;
  color: #4a5363;
  font-size: 17px;
  line-height: 1.65;
}

.section-top h2 {
  margin: 20px 0 0;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.principles { background: var(--white); }

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.principle-list li > span { color: var(--navy); font-size: 11px; font-weight: 700; }
.principle-list h3 { margin: 56px 0 0; font-size: 21px; font-weight: 500; letter-spacing: -0.03em; }
.principle-list p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.roles { background: var(--paper); }

.role-list {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.role + .role { border-top: 1px solid var(--line); }

.role summary {
  display: grid;
  grid-template-columns: 170px 1fr auto 28px;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  cursor: pointer;
  list-style: none;
  transition: background 180ms ease;
}

.role summary::-webkit-details-marker { display: none; }
.role summary:hover { background: var(--paper); }
.role summary:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }

.role-team {
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.role-title { font-size: 20px; font-weight: 500; letter-spacing: -0.03em; }
.role-meta { color: var(--muted); font-size: 13px; }

.role summary > i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 18px;
  font-style: normal;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 180ms ease;
}

.role[open] summary > i { transform: rotate(45deg); }

.role-body {
  max-width: 720px;
  padding: 0 32px 34px calc(32px + 170px + 24px);
}

.role-body p { margin: 0; color: #4a5363; font-size: 15px; line-height: 1.7; }

.role-body ul {
  margin: 16px 0 24px;
  padding-left: 18px;
  color: #4a5363;
  font-size: 14px;
  line-height: 1.8;
}

.role-body .underline-link { margin-top: 0; }

.field select {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14px;
}

.field select:focus {
  outline: none;
  background: var(--white);
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.12);
}

/* Contact page */
.contact-page {
  align-items: start;
  padding-top: 180px;
  background:
    radial-gradient(45% 60% at 90% 10%, rgba(157, 180, 214, 0.45), transparent 70%),
    radial-gradient(35% 50% at 10% 100%, rgba(214, 221, 232, 0.8), transparent 70%),
    var(--paper);
}

.expect-list {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.expect-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.expect-list li > span { padding-top: 3px; color: var(--navy); font-size: 11px; font-weight: 700; }
.expect-list b { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.expect-list p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.connect { padding-top: 90px; padding-bottom: 90px; background: var(--white); }

.connect-top { margin-bottom: 0; }
.connect-side .section-intro { margin: 0 0 24px auto; }

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--white);
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-2px);
}

.social-links svg { width: 20px; height: 20px; }

/* Legal pages */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 150px 24px 110px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 42px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.back-link:hover { color: var(--navy); border-color: var(--navy); }

.legal-page h1 {
  margin: 0;
  font-size: clamp(44px, 5.4vw, 68px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.legal-meta {
  margin: 18px 0 44px;
  padding-bottom: 24px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-page h2 { margin: 52px 0 14px; font-size: 24px; font-weight: 500; letter-spacing: -0.04em; }
.legal-page h3 { margin: 30px 0 10px; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.legal-page p,
.legal-page li { color: #3f4857; font-size: 14px; line-height: 1.8; }
.legal-page ul { padding-left: 20px; }
.legal-page li { margin-bottom: 6px; }

.legal-page p a,
.legal-page li a { color: var(--navy); border-bottom: 1px solid currentColor; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal[data-delay="1"] { transition-delay: 100ms; }
.reveal[data-delay="2"] { transition-delay: 180ms; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .tab-panel { grid-template-columns: 0.44fr 0.56fr; }
  .panel-lead { padding-right: 40px; }
  .service-list { padding-left: 35px; }
  .products-panel { grid-template-columns: 0.34fr 0.66fr; }
  .product-item { padding: 25px; }
  .product-ui { right: -45px; }
  .product-copy { max-width: 82%; }
}

@media (max-width: 840px) {
  .site-header {
    width: calc(100% - 28px);
    min-height: 64px;
    margin-top: 12px;
    background: rgba(247, 248, 250, 0.93);
    border-color: var(--line);
  }

  .site-header::before { backdrop-filter: blur(18px); }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: grid;
    place-content: center;
    gap: 5px;
    width: 41px;
    height: 41px;
    padding: 0;
    background: var(--ink);
    border: 0;
  }

  .menu-toggle > span:not(.sr-only) { width: 17px; height: 1px; background: var(--paper); transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 90px 27px 28px;
    color: var(--paper);
    background: var(--navy-deep);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-nav > a:not(.nav-cta) { padding: 18px 0; color: var(--paper); border-bottom: 1px solid var(--line-light); font-size: 25px; letter-spacing: -0.04em; }
  .nav-cta { justify-content: space-between; margin-top: 24px; color: var(--ink); background: var(--paper); }

  .hero { min-height: max(680px, 100svh); padding-top: 130px; }
  .hero h1 { font-size: clamp(48px, 9vw, 76px); }
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(247, 248, 250, 0.9) 0%, rgba(247, 248, 250, 0.55) 60%, var(--paper) 100%);
  }
  .hero-bottom { grid-template-columns: 1fr; gap: 25px; max-width: 620px; }
  .hero-rail { min-height: 100px; }

  .statement { grid-template-columns: 0.2fr 0.8fr; gap: 35px; }
  .section { padding-top: 100px; padding-bottom: 100px; }
  .tab-panel, .products-panel { grid-template-columns: 1fr; }
  .panel-lead { padding: 48px 32px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-list { padding: 10px 32px; }
  .product-list { min-height: 560px; }
  .approach-top { grid-template-columns: 0.25fr 0.75fr; }
  .approach-top > p:last-child { grid-column: 2; }
  .closing-copy { grid-template-columns: 0.68fr 0.32fr; gap: 45px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p { display: none; }
  .contact { grid-template-columns: 1fr; gap: 50px; }
  .careers-card { grid-template-columns: 1fr; gap: 36px; padding: 48px 40px; }
  .contact-page { padding-top: 140px; }
  .careers-card > .button { justify-self: start; }
  .principle-list { grid-template-columns: 1fr; }
  .principle-list h3 { margin-top: 32px; }
  .role summary { grid-template-columns: 1fr 28px; gap: 6px 16px; }
  .role-team { grid-column: 1; }
  .role-title { grid-column: 1; }
  .role-meta { grid-column: 1; }
  .role summary > i { grid-column: 2; grid-row: 1 / span 3; }
  .role-body { padding: 0 32px 32px; }
  .contact-copy > p:not(.section-index) { max-width: 560px; }
}

@media (max-width: 590px) {
  .wordmark { font-size: 18px; }
  .brand .logo-mark { font-size: 30px; }
  .hero { padding: 126px 20px 0; }
  .eyebrow { flex-wrap: wrap; margin-bottom: 28px; }
  .hero h1 { font-size: clamp(42px, 12.5vw, 60px); }
  .hero-bottom { margin-top: 35px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .hero-actions .text-link { justify-content: center; }
  .hero-rail { align-items: flex-start; flex-direction: column; gap: 19px; justify-content: center; }
  .hero-rail > div { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 25px; }
  .hero-rail span::after { display: none; }

  .section { padding: 78px 20px; }
  .statement { grid-template-columns: 1fr; gap: 42px; }
  .statement h2 { font-size: 43px; }
  .statement-lede { margin-top: 32px; }
  .section-top { grid-template-columns: 1fr; gap: 25px; }
  .section-intro { margin-left: 0; }
  .tab-list { grid-template-columns: 1fr; }
  .tab { min-height: 78px; border-right: 0; border-bottom: 1px solid var(--line); }
  .panel-lead h2 { font-size: 42px; }
  .service-list article { grid-template-columns: 32px 1fr 20px; padding: 28px 0; }
  .product-list { grid-template-columns: 1fr; }
  .product-item { min-height: 500px; }
  .product-ui { right: -5px; width: 190px; min-height: 365px; }
  .product-copy { max-width: 59%; margin-top: 190px; }
  .approach-top { grid-template-columns: 1fr; }
  .approach-top > p:last-child { grid-column: auto; }
  .approach h2 { font-size: 54px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li, .process-list li + li { min-height: 220px; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .process-list li:last-child { border-bottom: 0; }
  .process-list h3 { margin-top: 55px; }
  .closing { min-height: 620px; }
  .closing-copy { grid-template-columns: 1fr; gap: 40px; margin-top: 80px; }
  .closing h2 { font-size: 51px; }
  .closing-copy p { max-width: 430px; }
  .closing .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 28px; }
  .site-footer > div { flex-wrap: wrap; gap: 12px 18px; }
  .contact-copy h1,
  .contact-copy h2 { margin-top: 28px; font-size: 42px; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .legal-page { padding: 120px 20px 80px; }
  .careers-card { padding: 34px 22px; }
  .contact-page { padding-top: 120px; }
  .connect-side .section-intro { margin-left: 0; }
  .social-links { justify-content: flex-start; }
  .careers-card > .button { justify-self: stretch; }
  .page-hero { padding: 140px 20px 80px; }
  .page-hero-lede { font-size: 16px; }
  .principle-list li { padding: 26px 22px; }
  .role summary { padding: 22px 20px; }
  .role-body { padding: 0 20px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-media::before { animation: none; }
}
