/* @section: design-system */
:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --off: #f7f7f5;
  --line: #e2e2df;
  --gray: #6b6b6b;
  --gray-light: #c8c8c5;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --r-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--white); }
body { background: var(--white); color: var(--black); font-family: var(--sans); -webkit-font-smoothing: antialiased; line-height: 1.6; }

/* @section: document-transition */
/* Keep native document links unanimated for direct, reliable page loads. */
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
sup { font-size: .45em; vertical-align: top; margin-left: 1px; }

/* @section: header */
.sh-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.97);
  position: sticky;
  top: 0;
  z-index: 20;
}
.sh-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--black);
}
.sh-logo-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--black);
  border-radius: 50%;
  background: var(--white);
}
.sh-logo-mark img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  object-position: center;
}
.sh-wordmark {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: var(--black);
}
.sh-contact-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--mono);
  border: 1px solid var(--black);
  padding: 9px 20px;
  border-radius: var(--r-pill);
  transition: background .2s, color .2s;
}
.sh-contact-btn:hover { background: var(--black); color: var(--white); }
.sh-header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sh-team-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 600 10px/1 var(--mono);
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid var(--black);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--black);
  transition: background .2s, color .2s;
}
.sh-team-link:hover,
.sh-team-link:focus-visible {
  background: var(--black);
  color: var(--white);
  outline: none;
}

/* @section: hero-strip */
.hero-strip {
  padding: clamp(40px, 6vw, 72px) clamp(22px, 5vw, 80px) clamp(36px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
  max-width: 900px;
}
.hero-label {
  font: 10px/1 var(--mono);
  letter-spacing: .1em;
  color: var(--gray);
  margin-bottom: 20px;
}
.hero-strip h1 {
  font-size: clamp(38px, 5.5vw, 74px);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.055em;
  margin-bottom: 18px;
}
.hero-strip h1 em { font-family: var(--serif); font-weight: 400; }
.hero-sub {
  font-size: 15px;
  color: var(--gray);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 28px;
}
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--black);
  padding-bottom: 6px;
  transition: gap .2s;
}
.cta-link:hover { gap: 16px; }

/* @section: card-section */
.card-section {
  padding: clamp(60px, 8vw, 110px) clamp(22px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
}
.section-label {
  font: 10px/1 var(--mono);
  letter-spacing: .1em;
  color: var(--gray);
  margin-bottom: clamp(36px, 5vw, 60px);
}

/* @section: card-row */
.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card-row--services {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* @section: pill-card */
.pill-card {
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 36px 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
}
.pill-card--link {
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.pill-card--link:hover,
.pill-card--link:focus-visible {
  border-color: var(--black);
  box-shadow: 0 12px 40px rgba(0,0,0,.09);
  transform: translateY(-4px);
  outline: none;
}
.pill-card--link:active {
  transform: translateY(-1px);
}
.pill-card--static {
  cursor: default;
  transition: none;
}

/* pill logo */
.pill-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 26px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
}
.pill-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.pill-logo--mono {
  background: var(--white);
  border-color: var(--line);
}
.pill-logo--mono img {
  object-position: center 60%;
}
.pill-logo--text {
  background: var(--black);
  border: none;
}
.pill-logo--text span {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.04em;
  font-family: var(--sans);
}
.pill-logo--svc {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-color: var(--line);
}

.pill-body { display: flex; flex-direction: column; flex: 1; }
.pill-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
  margin-bottom: 8px;
}
.pill-tagline {
  font: 10px/1.2 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 18px;
}
.pill-desc {
  font-size: 13px;
  color: #4a4a4a;
  line-height: 1.68;
  flex: 1;
  margin-bottom: 26px;
}
.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 10px/1 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 5px;
  margin-top: auto;
  width: fit-content;
  transition: gap .2s;
}
.pill-link:hover { gap: 12px; }
.pill-coming {
  display: inline-block;
  font: 700 9px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 6px 12px;
  margin-top: auto;
  width: fit-content;
}

/* @section: contact-strip */
.contact-strip {
  background: var(--black);
  color: var(--white);
  padding: clamp(70px, 10vw, 130px) clamp(22px, 5vw, 80px);
}
.contact-strip-label {
  font: 10px/1 var(--mono);
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  margin-bottom: 28px;
}
.contact-strip h2 {
  font-size: clamp(36px, 5.5vw, 76px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .97;
  margin-bottom: 40px;
  max-width: 650px;
}
.contact-strip h2 em { font-family: var(--serif); font-weight: 400; }
.contact-strip-desc {
  max-width: 620px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.65;
  margin: -16px 0 32px;
}
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  color: var(--black);
  font: 700 11px/1 var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  border: 1px solid var(--white);
  transition: background .2s, color .2s;
}
.btn-dark:hover { background: transparent; color: var(--white); }

/* @section: footer */
.sh-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 22px clamp(22px, 5vw, 80px);
  border-top: 1px solid var(--line);
  background: var(--white);
}
.footer-left { display: flex; align-items: baseline; gap: 18px; }
.footer-wordmark { font-size: 13px; font-weight: 400; letter-spacing: -.01em; color: var(--black); }
.footer-copy { font: 10px/1 var(--mono); color: var(--gray-light); letter-spacing: .04em; }
.footer-nav { display: flex; gap: 28px; }
.footer-nav a { font: 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gray); transition: color .2s; }
.footer-nav a:hover { color: var(--black); }

/* @section: contact-page */
.contact-page {
  min-height: calc(100vh - 72px - 66px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 10vw, 130px) clamp(22px, 5vw, 80px);
}
.contact-page h1 {
  font-size: clamp(46px, 6.5vw, 90px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .94;
  margin-bottom: 52px;
}
.contact-page h1 em { font-family: var(--serif); font-weight: 400; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(40px, 7vw, 90px);
  border-top: 1px solid var(--line);
  padding-top: 40px;
  width: fit-content;
}
.contact-col h3 {
  font: 700 9px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}
.contact-col a, .contact-col p {
  display: block;
  font-size: 13px;
  color: var(--black);
  line-height: 2;
  transition: opacity .2s;
}
.contact-col a:hover { opacity: .5; }

/* @section: team-page */
.team-page {
  padding: clamp(54px, 8vw, 104px) clamp(22px, 5vw, 80px) clamp(76px, 10vw, 132px);
}
.team-intro {
  max-width: 840px;
  margin-bottom: clamp(52px, 7vw, 88px);
}
.team-intro h1 {
  font-size: clamp(46px, 6.5vw, 90px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .94;
  margin-bottom: 24px;
}
.team-intro > p:last-child {
  max-width: 720px;
  color: var(--gray);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
}

/* @section: leadership-team */
.team-list {
  border-top: 1px solid var(--black);
}
.team-member {
  display: grid;
  grid-template-columns: clamp(112px, 11vw, 148px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  min-height: clamp(178px, 18vw, 226px);
  padding: clamp(24px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--line);
}
.team-avatar {
  width: clamp(112px, 11vw, 148px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  overflow: hidden;
  background: var(--off);
  flex-shrink: 0;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.team-avatar--placeholder {
  position: relative;
  display: grid;
  place-items: center;
  background: #f1f1ef;
}
.avatar-head,
.avatar-body {
  position: absolute;
  display: block;
  background: #c3c3c0;
}
.avatar-head {
  width: 34%;
  aspect-ratio: 1;
  top: 21%;
  left: 33%;
  border-radius: 50%;
}
.avatar-body {
  width: 68%;
  height: 38%;
  left: 16%;
  bottom: 9%;
  border-radius: 50% 50% 30% 30% / 72% 72% 28% 28%;
}
.team-member-copy {
  min-width: 0;
  max-width: 860px;
}
.team-member-copy h2 {
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.team-member-copy p {
  color: var(--gray);
  font-size: clamp(12px, 1.15vw, 15px);
  line-height: 1.75;
}
.team-member-copy p span {
  color: var(--gray-light);
  padding-inline: .32em;
}

/* @section: engineering-team */
.engineering-note {
  width: min(100%, 590px);
  margin: clamp(42px, 6vw, 74px) 0 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--black);
  text-align: right;
}
.engineering-note-label {
  font: 700 9px/1 var(--mono);
  letter-spacing: .1em;
  color: var(--gray);
  margin-bottom: 14px;
}
.engineering-note > p:last-child {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.7;
}

/* @section: responsive */
@media (max-width: 900px) {
  .card-row, .card-row--services { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .sh-header { padding-inline: 16px; }
  .sh-brand { gap: 8px; }
  .sh-logo-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .sh-wordmark { display: none; }
  .sh-header-nav { gap: 7px; }
  .sh-team-link { font-size: 9px; padding: 8px 11px; }
  .sh-contact-btn { font-size: 9px; padding: 8px 11px; }
  .card-row, .card-row--services { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .team-page { padding-top: 48px; }
  .team-intro { margin-bottom: 46px; }
  .team-intro h1 { margin-bottom: 18px; }
  .team-member {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    min-height: 132px;
    padding-block: 24px;
  }
  .team-avatar { width: 82px; }
  .team-member-copy h2 { font-size: 23px; margin-bottom: 8px; }
  .team-member-copy p { font-size: 11px; line-height: 1.6; }
  .team-member-copy p span { padding-inline: .16em; }
  .engineering-note { margin-top: 44px; text-align: left; }
  .engineering-note > p:last-child { font-size: 13px; }
  .sh-footer { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-nav { gap: 20px; }
}
@media (max-width: 370px) {
  .sh-header { padding-inline: 12px; }
  .sh-logo-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .sh-wordmark { font-size: 13px; }
  .sh-header-nav { gap: 7px; }
  .sh-team-link { font-size: 8px; padding: 7px 9px; }
  .sh-contact-btn { font-size: 8px; padding: 7px 9px; }
  .team-member { grid-template-columns: 72px minmax(0, 1fr); gap: 15px; }
  .team-avatar { width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
