/* =========================================================================
   Soobeezo — site stylesheet
   Ported from the Soobeezo.dc.html design canvas.
   ========================================================================= */

/* ---------------------------------------------------------------- tokens */
:root {
  /* brand */
  --cream:  #FAF4EB;
  --ink:    #262827;
  --maroon: #661D18;
  --ochre:  #B26926;
  --forest: #2F3F35;
  --gold:   #B0925E;
  --white:  #FFFFFF;

  /* derived ink tints */
  --ink-88: rgba(38, 40, 39, 0.88);
  --ink-78: rgba(38, 40, 39, 0.78);
  --ink-74: rgba(38, 40, 39, 0.74);
  --ink-70: rgba(38, 40, 39, 0.70);
  --ink-66: rgba(38, 40, 39, 0.66);
  --ink-50: rgba(38, 40, 39, 0.50);
  --rule:   rgba(38, 40, 39, 0.14);
  --rule-soft: rgba(38, 40, 39, 0.10);

  /* derived cream tints (on dark) */
  --cream-74: rgba(250, 244, 235, 0.74);
  --cream-72: rgba(250, 244, 235, 0.72);
  --cream-66: rgba(250, 244, 235, 0.66);
  --cream-50: rgba(250, 244, 235, 0.50);
  --rule-dark: rgba(250, 244, 235, 0.16);

  /* type */
  --font-display: "Jost", "Futura", "Century Gothic", sans-serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 40px);
  --bar-h: 80px;
  --bar-h-scrolled: 62px;

  /* fluid type scale */
  --fs-hero:    clamp(42px, 8.2vw, 104px);
  --fs-page:    clamp(36px, 6.6vw, 76px);
  --fs-contact: clamp(34px, 6.0vw, 70px);
  --fs-h2-lg:   clamp(32px, 4.6vw, 52px);
  --fs-h2:      clamp(30px, 4.3vw, 48px);
  --fs-h2-sm:   clamp(28px, 4.0vw, 44px);
  --fs-h2-xs:   clamp(27px, 3.8vw, 42px);
  --fs-thesis:  clamp(27px, 3.9vw, 44px);
  --fs-panel:   clamp(25px, 3.0vw, 34px);
  --fs-lead:    clamp(17px, 1.5vw, 19px);

  /* motion */
  --ease-out: cubic-bezier(0.16, 0.84, 0.24, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-rise: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body[data-nav-open] { overflow: hidden; }

a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--ochre); }

/* keep jump targets clear of the fixed header */
[id] { scroll-margin-top: calc(var(--bar-h) + 16px); }

img { max-width: 100%; display: block; }

::selection { background: var(--maroon); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--maroon);
  color: var(--cream);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus {
  left: var(--gutter);
  top: 12px;
  color: var(--cream);
}

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

/* ------------------------------------------------------------- keyframes */
@keyframes soo-rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes soo-draw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes soo-drift {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%  { transform: translate3d(0, -26px, 0) rotate(2deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}
@keyframes soo-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ------------------------------------------------------- scroll reveals */
[data-reveal] {
  transition:
    opacity 1.05s var(--ease-out),
    transform 1.15s var(--ease-out),
    filter 0.9s ease;
}
[data-reveal].soo-armed:not(.soo-in) {
  opacity: 0.001;
  transform: translate3d(0, 34px, 0);
}
[data-reveal="card"].soo-armed:not(.soo-in) {
  transform: translate3d(0, 52px, 0) scale(0.972);
  filter: blur(7px);
}
[data-reveal="panel"].soo-armed:not(.soo-in) {
  transform: translate3d(0, 66px, 0) scale(0.962);
  filter: blur(8px);
}
[data-reveal="row"].soo-armed:not(.soo-in) {
  transform: translate3d(-58px, 0, 0);
}
[data-reveal="slide"].soo-armed:not(.soo-in) {
  transform: translate3d(40px, 0, 0);
}
[data-reveal="mask"] { transition: transform 1.15s var(--ease-out); }
[data-reveal="mask"].soo-armed:not(.soo-in) {
  opacity: 1;
  transform: translate3d(0, 112%, 0) rotate(2.2deg);
}
[data-reveal="draw"] { transition: transform 1.25s var(--ease-out); }
[data-reveal="draw"].soo-armed:not(.soo-in) {
  opacity: 1;
  transform: scaleX(0);
}

[data-reveal].soo-armed:nth-child(2)    { transition-delay: 0.10s; }
[data-reveal].soo-armed:nth-child(3)    { transition-delay: 0.20s; }
[data-reveal].soo-armed:nth-child(4)    { transition-delay: 0.30s; }
[data-reveal].soo-armed:nth-child(5)    { transition-delay: 0.40s; }
[data-reveal].soo-armed:nth-child(n+6)  { transition-delay: 0.48s; }

/* once the entrance has played, swap to a snappy transition so hover
   states don't inherit the 1.15s reveal timing */
[data-reveal].soo-done {
  transition:
    transform 0.45s var(--ease-soft),
    border-color 0.35s ease,
    background-color 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.3s ease;
  transition-delay: 0s;
}

.mask-line { display: block; overflow: hidden; padding-bottom: 3px; }
.mask-line > span { display: block; will-change: transform; }

/* ---------------------------------------------------------------- layout */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
}

.section { padding-block: clamp(64px, 8.5vw, 110px); }
.section--tight { padding-block: clamp(52px, 6.5vw, 90px); }
.section--flush-top { padding-top: 0; }
.section--dark { background: var(--ink); color: var(--cream); }
.section--forest { background: var(--forest); color: var(--cream); }

.section--dark a, .section--forest a { color: var(--cream); }

/* -------------------------------------------------------------- headings */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre);
}
.eyebrow--gold { color: var(--gold); }

.eyebrow-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}
.eyebrow-rule .rule {
  width: 46px;
  height: 1.5px;
  background: var(--maroon);
  transform-origin: left;
  flex: none;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin: 0;
  text-wrap: balance;
}

.page-title {
  font-size: var(--fs-page);
  margin: 24px 0 0;
  opacity: 0;
  animation: soo-rise 0.9s 0.05s var(--ease-rise) forwards;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.66;
  color: var(--ink-78);
  margin: 32px 0 0;
  max-width: 60ch;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2-sm);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn--solid {
  background: var(--maroon);
  color: var(--cream);
}
.btn--solid:hover { background: var(--ink); color: var(--cream); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(38, 40, 39, 0.25);
}
.btn--ghost:hover { border-color: var(--maroon); color: var(--maroon); }

.link-arrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--maroon);
  white-space: nowrap;
  border-bottom: 1.5px solid rgba(102, 29, 24, 0.3);
  padding-bottom: 4px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.link-arrow:hover { border-bottom-color: var(--maroon); color: var(--maroon); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(250, 244, 235, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--rule-soft);
  box-shadow: 0 0 0 0 rgba(38, 40, 39, 0);
  transform: translate3d(0, 0, 0);
  transition: box-shadow 0.5s var(--ease-soft), background-color 0.5s var(--ease-soft);
}
.site-header.is-scrolled {
  box-shadow: 0 10px 32px -18px rgba(38, 40, 39, 0.34);
}

.site-header__wash,
.site-header__bar {
  position: absolute;
  left: 0;
  width: 100%;
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
  transition: transform 0.12s linear;
  pointer-events: none;
}
.site-header__wash {
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(102, 29, 24, 0.10), rgba(178, 105, 38, 0.10));
}
.site-header__bar {
  bottom: -1px;
  height: 2px;
  background: var(--maroon);
}

.site-header__inner {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: height 0.5s var(--ease-soft);
}
.site-header.is-scrolled .site-header__inner { height: var(--bar-h-scrolled); }

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--maroon);
  flex: none;
}
.brand:hover { color: var(--maroon); }

/* The official Soobeezo monogram — assets/brand/monogram.svg */
.brand__mark {
  height: 27px;
  width: auto;
  flex: none;
  transition: height 0.5s var(--ease-soft);
}
.site-header.is-scrolled .brand__mark { height: 23px; }

.brand__word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(19px, 2.2vw, 23px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: nowrap;
}
.site-nav__link {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
  white-space: nowrap;
  color: var(--ink-70);
  border-bottom: 1.5px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.site-nav__link:hover { color: var(--maroon); }
.site-nav__link[aria-current="page"] {
  color: var(--maroon);
  border-bottom-color: var(--maroon);
}
.site-nav__cta {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--cream);
  background: var(--maroon);
  padding: 11px 20px;
  border-radius: 2px;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}
.site-nav__cta:hover { background: var(--ink); color: var(--cream); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 8px;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-soft), opacity 0.2s ease;
}
body[data-nav-open] .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body[data-nav-open] .nav-toggle span:nth-child(2) { opacity: 0; }
body[data-nav-open] .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --------------------------------------------------------------- content */
.site-main { padding-top: var(--bar-h); }

/* ============================================================ HOME: hero */
.hero {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0 clamp(70px, 8.5vw, 110px);
  overflow: hidden;
}
.hero__deco {
  position: absolute;
  pointer-events: none;
}
/* the monogram, drawn large and bled off the top-right corner */
.hero__deco--mark {
  top: -108px; right: -104px;
  width: 560px; height: auto;
  opacity: 0.11;
  will-change: transform;
}
.hero__inner { position: relative; }

.hero__eyebrow {
  opacity: 0;
  animation: soo-fade 0.8s 0.1s ease forwards;
}
.hero__eyebrow .rule {
  animation: soo-draw 0.9s 0.2s var(--ease-rise) both;
}

.hero__title {
  font-size: var(--fs-hero);
  line-height: 0.96;
  margin: 30px 0 0;
  max-width: 14ch;
  color: var(--ink);
}
.hero__title span {
  display: block;
  opacity: 0;
  animation: soo-rise 1s var(--ease-rise) forwards;
}
.hero__title span:nth-child(1) { animation-delay: 0.15s; }
.hero__title span:nth-child(2) { animation-delay: 0.3s; }

.hero__lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.62;
  max-width: 57ch;
  margin: 34px 0 0;
  color: var(--ink-78);
  opacity: 0;
  animation: soo-rise 1s 0.5s var(--ease-rise) forwards;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
  opacity: 0;
  animation: soo-rise 1s 0.66s var(--ease-rise) forwards;
}

/* ========================================================== HOME: thesis */
.thesis {
  border-top: 1px solid var(--rule-soft);
  padding-block: clamp(64px, 7.5vw, 96px);
}
.thesis__statement {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-thesis);
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: 24ch;
  margin: 26px 0 0;
  color: var(--cream);
  display: flex;
  flex-direction: column;
}
.thesis__statement em { font-style: normal; color: var(--ochre); }
.thesis__body {
  font-size: 17px;
  line-height: 1.68;
  max-width: 52ch;
  margin: 26px 0 0;
  color: var(--cream-72);
}

/* ======================================================= HOME: divisions */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}
.section-head__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2-lg);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 16ch;
  display: flex;
  flex-direction: column;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.division-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-top: 3px solid var(--tint, var(--maroon));
  padding: 38px 34px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 290px;
}
.division-card:hover {
  border-color: rgba(102, 29, 24, 0.4);
  border-top-color: var(--tint, var(--maroon));
  transform: translateY(-4px);
}
.division-card__num {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--tint, var(--maroon));
  letter-spacing: 0.12em;
}
.division-card__title {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 6px 0 0;
}
.division-card__body {
  font-size: 15.5px;
  line-height: 1.66;
  color: var(--ink-74);
  margin: 0;
}

/* ========================================================= HOME: engines */
.engines-panel {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  padding: clamp(40px, 5.5vw, 70px) clamp(24px, 4.5vw, 60px);
}
.engines-panel__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 22px 0 50px;
  max-width: 20ch;
  display: flex;
  flex-direction: column;
}
.engines-panel__draw {
  display: block;
  height: 1.5px;
  background: var(--maroon);
  transform-origin: left;
  margin: -30px 0 40px;
}
.engine-row {
  display: grid;
  grid-template-columns: 110px 1fr 1.15fr;
  gap: 36px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid rgba(38, 40, 39, 0.12);
}
.engine-row__num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 300;
  color: rgba(102, 29, 24, 0.28);
  line-height: 1;
}
.engine-row__title {
  font-size: clamp(20px, 2.1vw, 24px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
  color: var(--maroon);
}
.engine-row__body {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(38, 40, 39, 0.76);
  margin: 2px 0 0;
}

/* ========================================================== HOME: promos */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.promo {
  color: var(--cream);
  padding: clamp(36px, 4.5vw, 54px) clamp(26px, 3.8vw, 46px);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.promo:hover { color: var(--cream); transform: translateY(-4px); }
.promo--insights { background: var(--forest); }
.promo--careers { background: var(--maroon); }
.promo__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.9vw, 34px);
  line-height: 1.16;
  margin: 0 0 14px;
  max-width: 18ch;
}
.promo__cue {
  display: block;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.8;
}

/* ================================================ COMPANY: mission/vision */
.hairline-grid {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.hairline-grid--2 { grid-template-columns: 1fr 1fr; }
.hairline-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hairline-grid--4 { grid-template-columns: repeat(4, 1fr); }

.stance {
  color: var(--cream);
  padding: clamp(38px, 4.5vw, 56px) clamp(26px, 3.8vw, 48px) clamp(42px, 4.8vw, 60px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stance--mission { background: var(--maroon); }
.stance--vision  { background: var(--forest); }
.stance__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.stance__label .rule {
  width: 30px;
  height: 1.5px;
  background: var(--gold);
  flex: none;
}
.stance__statement {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-panel);
  line-height: 1.24;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 22ch;
  text-wrap: pretty;
}
.stance__body {
  font-size: 16px;
  line-height: 1.72;
  color: var(--cream-74);
  margin: 0;
  max-width: 46ch;
}

.division-panel {
  background: var(--cream);
  padding: clamp(32px, 3.6vw, 44px) clamp(24px, 3vw, 36px) clamp(36px, 3.9vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.division-panel__rule {
  display: block;
  width: 34px;
  height: 2px;
  background: var(--tint, var(--maroon));
}
.division-panel__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: -0.015em;
  margin: 8px 0 0;
}
.division-panel__body {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--ink-74);
  margin: 0;
}

/* ======================================================= COMPANY: beliefs */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}
.split__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2-sm);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.belief-list {
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.belief {
  border-left: 2px solid var(--ochre);
  padding-left: 26px;
}
.belief__title {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--cream);
}
.belief__body {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(250, 244, 235, 0.7);
  margin: 0;
  max-width: 58ch;
}

/* ========================================================== COMPANY: team */
.section-head__note {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-66);
  max-width: 38ch;
  margin: 0;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.person {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  padding: 30px 26px 32px;
}
.person__avatar {
  height: 96px;
  background: linear-gradient(135deg, rgba(102, 29, 24, 0.10), rgba(176, 146, 94, 0.16));
  margin: -8px -6px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.person__initials {
  font-family: var(--font-display);
  font-size: 30px;
  color: rgba(102, 29, 24, 0.45);
  letter-spacing: 0.08em;
}
.person__name {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
}
.person__role {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-66);
  margin: 0;
}

/* ======================================================= WORK: engine bays */
.stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.engine-bay {
  padding: clamp(36px, 4.6vw, 56px) clamp(26px, 4.2vw, 52px);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4.5vw, 60px);
  align-items: start;
}
.engine-bay--maroon { background: var(--maroon); color: var(--cream); }
.engine-bay--forest { background: var(--forest); color: var(--cream); }
.engine-bay--light  { background: var(--white); color: var(--ink); }
.engine-bay__num {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.16em;
  opacity: 0.6;
}
.engine-bay__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2-xs);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
  max-width: 14ch;
}
.engine-bay__body {
  font-size: 17px;
  line-height: 1.72;
  margin: 0 0 26px;
  opacity: 0.82;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tag {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border: 1px solid currentColor;
  opacity: 0.6;
  border-radius: 2px;
}

/* ========================================================== WORK: process */
.process-intro {
  font-size: 16px;
  line-height: 1.66;
  color: var(--ink-70);
  max-width: 56ch;
  margin: 0 0 50px;
}
.process-step {
  background: var(--cream);
  padding: 36px 28px 42px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.process-step__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ochre);
}
.process-step__title {
  font-size: 20px;
  font-weight: 600;
  margin: 6px 0 0;
}
.process-step__body {
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-70);
  margin: 0;
}

/* =========================================================== CAREERS: roles */
.role-list { list-style: none; margin: 0; padding: 0; }
.role {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px 4px;
  border-top: 1px solid var(--rule);
  color: var(--ink);
}
.role:hover { background: rgba(102, 29, 24, 0.04); color: var(--ink); }
.role__title {
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.role__meta {
  font-size: 14.5px;
  color: var(--ink-66);
}
.role__apply {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--maroon);
  white-space: nowrap;
}
.role-list__end { border-top: 1px solid var(--rule); }
.role-note {
  font-size: 15.5px;
  line-height: 1.66;
  color: var(--ink-70);
  margin: 36px 0 0;
}

/* =========================================================== CAREERS: perks */
.perk__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 12px;
  color: var(--gold);
}
.perk__body {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--cream-74);
  margin: 0;
}

/* ========================================================== INSIGHTS: posts */
.post-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  padding: 34px 30px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 270px;
}
.post-card:hover {
  border-color: rgba(102, 29, 24, 0.4);
  transform: translateY(-4px);
}
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
}
.post-card__tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tint, var(--maroon));
}
.post-card__date {
  font-size: 12.5px;
  color: var(--ink-50);
}
.post-card__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
}
.post-card__excerpt {
  font-size: 15px;
  line-height: 1.64;
  color: var(--ink-70);
  margin: 0;
}
.post-card__cue {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--maroon);
  margin-top: auto;
}

/* ============================================================ CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-title {
  font-size: var(--fs-contact);
  max-width: 13ch;
}
.contact-lead {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.68;
  max-width: 44ch;
  margin: 30px 0 44px;
  color: var(--ink-78);
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-item {
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}
.contact-item__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.contact-item__value {
  font-size: 18px;
  font-weight: 500;
  margin: 8px 0 0;
  color: var(--maroon);
  overflow-wrap: anywhere;
}
.contact-item__value a { color: inherit; }
.contact-item__value a:hover { color: var(--ochre); }

.contact-form {
  background: var(--white);
  border: 1px solid rgba(38, 40, 39, 0.12);
  padding: clamp(30px, 3.6vw, 44px) clamp(24px, 3.2vw, 40px) clamp(32px, 3.8vw, 46px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.field__label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(38, 40, 39, 0.6);
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  padding: 13px 14px;
  border: 1px solid rgba(38, 40, 39, 0.2);
  background: var(--cream);
  outline: none;
  border-radius: 2px;
  width: 100%;
  transition: border-color 0.25s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus { border-color: var(--maroon); }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #A8322B; }
.field__error {
  font-size: 12.5px;
  color: #A8322B;
  min-height: 0;
}
.field__error:empty { display: none; }

.contact-form__submit {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  background: var(--maroon);
  padding: 15px 24px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-body);
  transition: background-color 0.3s ease;
}
.contact-form__submit:hover:not(:disabled) { background: var(--ink); }
.contact-form__submit:disabled { cursor: default; opacity: 0.9; }

.form-status {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-70);
  margin: 0;
}
.form-status:empty { display: none; }

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(56px, 6vw, 76px) 0 44px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  padding-bottom: 52px;
  border-bottom: 1px solid var(--rule-dark);
}
.site-footer__word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.14em;
  color: var(--cream);
  text-transform: uppercase;
}
.site-footer__blurb {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--cream-66);
  max-width: 34ch;
  margin: 18px 0 0;
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer__heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.site-footer__link,
.site-footer__text {
  font-size: 15px;
  color: var(--cream-72);
}
.site-footer__link { transition: color 0.25s ease; }
.site-footer__link:hover { color: var(--ochre); }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer__fine {
  font-size: 13px;
  color: var(--cream-50);
}

/* ============================================================== responsive */
@media (max-width: 1080px) {
  .split { gap: 44px; }
  .engine-row { grid-template-columns: 84px 1fr 1.1fr; gap: 24px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hairline-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --bar-h: 66px; --bar-h-scrolled: 58px; }

  /* horizontal entrances would swing past the viewport edge on a narrow
     screen — rise instead */
  [data-reveal="row"].soo-armed:not(.soo-in),
  [data-reveal="slide"].soo-armed:not(.soo-in) {
    transform: translate3d(0, 34px, 0);
  }

  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--bar-h);
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--bar-h));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 28px;
    background: var(--cream);
    border-bottom: 1px solid var(--rule-soft);
    box-shadow: 0 18px 40px -24px rgba(38, 40, 39, 0.4);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, transform 0.28s var(--ease-soft), visibility 0.28s;
  }
  body[data-nav-open] .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .site-nav__link {
    font-size: 17px;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule-soft);
  }
  .site-nav__link[aria-current="page"] { border-bottom-color: var(--rule-soft); }
  .site-nav__cta {
    margin-top: 20px;
    padding: 15px 20px;
    font-size: 14px;
    text-align: center;
  }

  .grid-3,
  .hairline-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }

  .split { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .engine-bay { grid-template-columns: 1fr; gap: 24px; }
  .engine-bay__title { max-width: 22ch; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
  .section-head__title { max-width: 22ch; }

  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }

  .role { grid-template-columns: 1fr auto; gap: 8px 20px; }
  .role__title { grid-column: 1 / -1; }
  .role__meta:nth-of-type(2)::after { content: " ·"; }
  .role__apply { grid-column: 2; grid-row: 2; }

  /* no clear column beside the text at this width, and no band tall enough to
     hold the mark above the headline — so it becomes a small corner stamp
     instead of a watermark, and never sits behind type */
  .hero__deco--mark {
    width: 50px;          /* must clear the hero's 70px bottom padding */
    top: auto;
    bottom: 12px;
    right: 16px;
    opacity: 0.3;
  }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-4,
  .hairline-grid--2,
  .hairline-grid--3,
  .hairline-grid--4 { grid-template-columns: 1fr; }

  .grid-3 { gap: 20px; }
  .grid-4 { gap: 20px; }
  .stack { gap: 20px; }

  .hero__title { max-width: 18ch; }
  .hero__actions .btn { flex: 1 1 100%; }

  .engine-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 0;
  }
  .engine-row__num { font-size: 30px; }

  .division-card { min-height: 0; }
  .post-card { min-height: 0; }
  .promo { min-height: 0; }

  .site-footer__top { grid-template-columns: 1fr; gap: 34px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  .role { grid-template-columns: 1fr; }
  .role__apply { grid-column: 1; grid-row: auto; }

  .hero__deco--mark { width: 44px; bottom: 10px; right: 14px; }
}

/* --------------------------------------------------- reduced motion */
@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;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero__title span,
  .hero__eyebrow,
  .hero__lead,
  .hero__actions,
  .page-title { opacity: 1 !important; }
}

/* ---------------------------------------------------------------- print */
@media print {
  .site-header, .nav-toggle, .site-nav { display: none !important; }
  .site-main { padding-top: 0; }
  body { background: #fff; }
}
