:root {
  --bg: #fafaf8;
  --fg: #0a0a0a;
  --muted: #5c5c58;
  --border: #e8e8e4;
  --accent: #0a0a0a;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  font-size: 1rem;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-height: 100dvh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--fg);
  text-decoration: none;
  line-height: 1;
}

.logo img {
  display: block;
  width: auto;
  height: clamp(16px, 2vw, 21px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--fg);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:visited,
.nav a:active {
  color: var(--fg);
}

.nav a:hover {
  opacity: 0.65;
}

.nav-cta {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--fg);
  border-radius: 999px;
  color: var(--fg);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--fg);
  -webkit-tap-highlight-color: transparent;
}

main {
  flex: 1 0 auto;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 4rem;
}

.tagline-above-video {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--border);
  will-change: opacity, transform;
}

.tagline-above-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.hero-tagline-row {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hero-tagline-row::-webkit-scrollbar {
  display: none;
}

.hero-tagline-inline {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(0.95rem, 3.4vw, 2.05rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: var(--fg);
  white-space: nowrap;
  display: inline-block;
  min-width: min-content;
}

.tagline-above-sub {
  margin: 0.85rem 0 0;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.02em;
}

.video-section {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  border: none;
  position: relative;
  height: auto;
  min-height: 0;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-video {
  width: min(78vw, 920px);
  max-height: 72vh;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
  margin: 0;
  pointer-events: none;
}

.demo-video::-webkit-media-controls {
  display: none !important;
}

.demo-video::-webkit-media-controls-enclosure {
  display: none !important;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 1rem;
}

.about {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.about-headline {
  margin: 0 0 2rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.about-headline .muted {
  color: var(--muted);
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem 2.5rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.about-columns p {
  margin: 0;
}

.investors {
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid var(--border);
}

.investors-title {
  margin: 0 0 2rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.investor-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.investor-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
}

.investor-tile img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 40px;
  object-fit: contain;
  display: block;
}

.investor-tile:hover {
  border-color: #333;
}

.careers-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 4rem;
}

.careers-page-intro {
  padding: clamp(2rem, 6vw, 3.5rem) 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.careers-page-title {
  margin: 0.5rem 0 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
}

.careers-footnote {
  margin: 2.5rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.careers-footnote a {
  color: var(--fg);
  font-weight: 500;
}

.nav a[aria-current="page"] {
  font-weight: 600;
}

.careers-lead {
  margin: 0 0 2rem;
  max-width: 52rem;
  color: var(--muted);
  font-size: 1rem;
}

.job-list {
  display: grid;
  gap: 1.25rem;
}

.job-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.job-teaser:hover {
  border-color: #c8c8c0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.job-teaser-main {
  flex: 1;
  min-width: 0;
}

.job-teaser .job-title {
  margin: 0 0 0.35rem;
}

.job-teaser .job-meta {
  display: block;
}

.job-teaser-cta {
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.job-teaser:hover .job-teaser-cta {
  color: var(--fg);
}

.job-back {
  margin: 0 0 1.25rem;
  padding-top: clamp(1rem, 3vw, 1.5rem);
  font-size: 0.9rem;
}

.job-back a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.job-back a:hover {
  color: var(--fg);
}

.job-title-page {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
}

.job-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.25rem;
  background: #fff;
}

.job-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.job-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.job-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.job-body {
  font-size: 0.95rem;
  color: var(--fg);
}

.job-sub {
  margin: 1rem 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.job-sub:first-of-type {
  margin-top: 0;
}

.job-body ul {
  margin: 0 0 0.25rem;
  padding-left: 1.25rem;
}

.job-body li {
  margin: 0.35rem 0;
  color: var(--muted);
}

.job-blurb {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.job-detail-page {
  max-width: 960px;
  padding-top: clamp(1rem, 3vw, 1.75rem);
}

.job-detail-page .job-card {
  border-radius: 0;
  border-left: none;
  border-right: none;
  background: transparent;
  padding: clamp(1.25rem, 3vw, 2rem) 0 0.75rem;
}

.job-detail-page .job-card-header {
  align-items: flex-end;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
}

.job-detail-page .job-title-page {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.job-detail-page .job-meta {
  font-size: 0.92rem;
}

.job-detail-page .job-body {
  font-size: 1rem;
  line-height: 1.75;
}

.job-detail-page .job-body p {
  margin: 0 0 1.15rem;
  color: var(--muted);
}

.job-detail-page .job-sub {
  margin: 1.5rem 0 0.6rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.job-detail-page .job-body li {
  font-size: 1rem;
  line-height: 1.7;
}

.cta {
  text-align: center;
  padding: 3rem 0 2rem;
}

.cta-text {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--fg);
  color: var(--bg);
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-ghost {
  border-color: var(--fg);
  color: var(--fg);
}

.btn-ghost:hover {
  background: var(--fg);
  color: var(--bg);
}

.contact {
  border-top: 1px solid var(--border);
  background: #f0f0ec;
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
  text-align: center;
}

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
}

.contact-title {
  margin: 0 0 0.5rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.contact-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1rem;
}

.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--fg);
  font-weight: 500;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
 
.social-link:hover {
  border-color: var(--fg);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.social-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.social-dock {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.social-dock-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

.social-dock-link:hover {
  border-color: var(--fg);
  opacity: 0.75;
}

.social-dock-link .social-icon {
  width: 16px;
  height: 16px;
}

@media (min-width: 721px) {
  .social-dock {
    gap: 0.65rem;
  }

  .social-dock-link {
    width: 42px;
    height: 42px;
  }

  .social-dock-link .social-icon {
    width: 20px;
    height: 20px;
  }
}

.site-footer {
  flex-shrink: 0;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
    color: var(--fg);
  }

  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 3.75rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
    display: none;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav a,
  .nav a:visited,
  .nav a:active {
    color: var(--fg);
    -webkit-tap-highlight-color: transparent;
  }

  .nav-cta {
    text-align: center;
    color: var(--fg);
    background: transparent;
  }

  .site-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .social-dock {
    justify-content: center;
  }
}

/* Careers lab redesign */
.careers-lab {
  max-width: none;
  padding: 0;
}

.careers-lab > section {
  padding-left: clamp(1.5rem, 6vw, 6rem);
  padding-right: clamp(1.5rem, 6vw, 6rem);
}

.careers-lab > section > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.careers-hero {
  position: relative;
  min-height: clamp(480px, 64vh, 620px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.careers-hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 940px;
  margin-top: -4vh;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.careers-hero h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(2rem, 5.5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
}

.careers-hero-lead {
  margin: clamp(1.1rem, 2.8vw, 1.8rem) 0 0;
  width: 100%;
  max-width: 760px;
  text-align: center;
  font-size: clamp(1.1rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.careers-hero-sub {
  margin: 0.85rem 0 0;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.6;
}

.careers-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
  justify-content: center;
}

.careers-hero-mark {
  position: absolute;
  right: clamp(-8rem, -8vw, -2rem);
  bottom: clamp(2rem, 8vw, 7rem);
  width: clamp(260px, 36vw, 560px);
  aspect-ratio: 0.72;
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: 48% 48% 18% 18%;
  opacity: 0.55;
}

.careers-hero-mark::before,
.careers-hero-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(10, 10, 10, 0.055);
}

.careers-hero-mark::before {
  top: 14%;
  left: 28%;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.careers-hero-mark::after {
  left: 12%;
  right: 12%;
  bottom: 20%;
  height: 32%;
  border-radius: 999px 999px 22px 22px;
}

.careers-statement {
  display: flex;
  align-items: center;
  padding-top: clamp(3.5rem, 7vw, 5.75rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.75rem);
  border-top: 1px solid var(--border);
}

.careers-statement .careers-statement-inner,
.open-roles .open-roles-inner {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2.5rem, 8vw, 6.875rem);
  align-items: start;
}

@media (min-width: 1025px) {
  .open-roles-inner h2 {
    margin-top: 0;
    padding-top: calc(1px + clamp(1.25rem, 2.5vw, 1.875rem) + -1.0rem);
  }
}

.careers-statement-title {
  margin: 0.2rem 0 0;
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  line-height: 1.2;
  letter-spacing: -0.055em;
  font-weight: 600;
  text-align: left;
}

.careers-statement-title .line {
  display: block;
}

.careers-statement-title .line:nth-child(n + 2) {
  font-size: 1.0em;
}

.careers-statement-copy {
  padding-top: 0.35rem;
  max-width: 36rem;
}

.careers-statement-copy p {
  margin: 0 0 1.5rem;
  font-size: clamp(1.12rem, 1.65vw, 1.35rem);
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.careers-statement-copy p:last-child {
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.6;
  color: var(--muted);
}

.manifesto-section {
  padding-top: clamp(4rem, 8vw, 6.5rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.manifesto-section p {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.2rem, 2.4vw, 2.05rem);
  line-height: 1.55;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.values-section,
.team-statement,
.why-now,
.open-roles {
  padding-top: clamp(3.5rem, 7vw, 5.75rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.75rem);
  border-top: 1px solid var(--border);
}

.values-section,
.why-now,
.open-roles {
  text-align: center;
}

.open-roles {
  text-align: initial;
}

.values-section h2,
.why-now h2 {
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 7vw, 8rem);
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}

.values-grid article {
  max-width: 420px;
  text-align: center;
}

.values-grid h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.values-grid p,
.team-statement p,
.why-now p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.75;
}

.team-statement h2 {
  max-width: 760px;
  margin: 0 auto 1.6rem;
  font-size: clamp(1.85rem, 4.2vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.team-statement p,
.why-now p {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.why-now p + p {
  margin-top: 1.2rem;
  color: var(--fg);
}

.open-roles-inner h2 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-align: left;
}

.role-list {
  width: 100%;
  max-width: 100%;
  border-top: 1px solid var(--border);
  text-align: left;
}

.role-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.25rem, 2.5vw, 1.875rem) 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  text-decoration: none;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 600;
  transition: transform 0.22s ease, color 0.22s ease;
}

.role-list a span {
  flex-shrink: 0;
  font-size: 0.8em;
  color: var(--muted);
  transition: transform 0.22s ease;
}

.role-list a:hover {
  transform: translateX(6px);
  color: var(--muted);
}

.role-list a:hover span {
  transform: translateX(4px);
}

.careers-ending {
  margin-top: clamp(3rem, 8vw, 7rem);
  padding-top: clamp(4.5rem, 10vw, 7rem);
  padding-bottom: clamp(4.5rem, 10vw, 7rem);
  background: transparent;
  color: var(--fg);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.careers-ending h2 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
  text-align: center;
}

.careers-ending p {
  margin: 1.5rem auto 2rem;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  text-align: center;
}

.btn-on-dark {
  background: var(--fg);
  color: var(--bg);
}

.role-detail-main {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3rem) clamp(5rem, 10vw, 8rem);
}

.role-detail {
  padding-top: clamp(3rem, 8vw, 7rem);
}

.role-hero {
  max-width: 880px;
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.role-kicker {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.role-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
  font-weight: 600;
}

.role-hero p:not(.role-kicker) {
  max-width: 620px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.role-section {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--border);
}

.role-section h2 {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.role-section p,
.role-section li {
  color: var(--fg);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.72;
  letter-spacing: -0.025em;
}

.role-section p {
  margin: 0;
  max-width: 680px;
}

.role-section ul {
  margin: 0;
  padding-left: 1.1rem;
  max-width: 700px;
}

.role-section li + li {
  margin-top: 0.85rem;
}

.role-apply {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

main.blog-main {
  box-sizing: border-box;
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem);
}

main.blog-article-main {
  box-sizing: border-box;
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(1.25rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3rem) clamp(5rem, 10vw, 8rem);
}

/* Blog — list & article layout: main.blog-main / main.blog-article-main above */

.blog-page-header {
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.blog-page-header h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.blog-page-header p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.blog-list {
  border-top: 1px solid var(--border);
}

.blog-card {
  display: block;
  padding: clamp(1.5rem, 3vw, 2rem) 0;
  border-bottom: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.blog-card:hover {
  opacity: 0.72;
}

.blog-card-with-thumb {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 1.75rem);
}

.blog-card-text {
  flex: 1;
  min-width: 0;
}

.blog-card-thumb {
  flex-shrink: 0;
  width: clamp(112px, 20vw, 172px);
  height: auto;
  margin: 0.15rem 0 0;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.88;
  border: 1px solid var(--border);
}

.blog-card time {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.blog-card h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.blog-card-excerpt {
  margin: 0 0 0.85rem;
  max-width: none;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.blog-card-cta {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
}

.blog-back {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
}

.blog-back a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.blog-back a:hover {
  color: var(--fg);
}

.blog-article-header {
  padding-bottom: clamp(2rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--border);
  margin-bottom: clamp(2rem, 4vw, 2.5rem);
}

.blog-article-header time {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.blog-article-header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.blog-article--featured .blog-article-header {
  padding-bottom: clamp(1rem, 2.5vw, 1.5rem);
  border-bottom: none;
  margin-bottom: 0;
}

.blog-article-hero {
  padding: 0 0 clamp(2rem, 4vw, 2.75rem);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--border);
}

.blog-article-hero-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 600;
}

.blog-article-hero-title {
  margin: 0 0 1.35rem;
  max-width: 28em;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.blog-article-hero-lead {
  margin: 0 0 1.1rem;
  font-size: clamp(1.08rem, 2.1vw, 1.28rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.blog-article-hero-copy {
  margin: 0 0 1rem;
  max-width: 40em;
  font-size: clamp(1rem, 1.8vw, 1.06rem);
  line-height: 1.72;
  color: var(--muted);
}

.blog-article-hero-highlight {
  margin: 1.35rem 0 0;
  padding-left: 1rem;
  max-width: 38em;
  border-left: 2px solid var(--fg);
  font-size: clamp(1.02rem, 1.9vw, 1.14rem);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.blog-article-cover {
  margin: 0 0 clamp(2rem, 4vw, 2.5rem);
}

.blog-article-cover img,
.blog-article-cover iframe {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  border: 0;
}

.blog-article-cover img {
  object-fit: cover;
}

.blog-video-fallback {
  margin: -1.25rem 0 clamp(2rem, 4vw, 2.5rem);
  font-size: 0.9rem;
  text-align: center;
}

.blog-video-fallback a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.blog-video-fallback a:hover {
  color: var(--fg);
}

.blog-article-body p {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--fg);
}

.blog-article-body h2 {
  margin: 2.25rem 0 1rem;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.blog-article-body h2:first-of-type {
  margin-top: 0.5rem;
}

.blog-article-body h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.blog-article-points {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.15rem;
  max-width: 42em;
}

.blog-article-points li {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
}

.blog-article-points li:last-child {
  margin-bottom: 0;
}

.blog-article-points li strong {
  color: var(--fg);
  font-weight: 600;
  letter-spacing: -0.01em;
}

@media (max-width: 1024px) {
  .careers-statement .careers-statement-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .careers-statement-title {
    width: 100%;
    margin: 0;
    text-align: center;
  }

  .careers-statement-title .line {
    display: inline;
  }

  .careers-statement-title .line + .line::before {
    content: " ";
  }

  .careers-statement-copy {
    width: 100%;
    max-width: none;
    padding-top: 0;
  }

  .open-roles .open-roles-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .open-roles-inner h2 {
    text-align: center;
  }
}

@media (max-width: 720px) {
  .careers-hero {
    min-height: 640px;
  }

  .careers-hero-copy {
    overflow-x: visible;
  }

  .careers-hero h1 {
    font-size: clamp(2.15rem, 9.5vw, 3.35rem);
    white-space: normal;
    display: block;
    line-height: 1.08;
    max-width: 18em;
  }

  .careers-hero-lead {
    font-size: clamp(1.25rem, 4.5vw, 1.5rem);
    line-height: 1.45;
  }

  .careers-hero-mark {
    right: -10rem;
    bottom: 4rem;
  }

  .values-grid,
  .role-section {
    grid-template-columns: 1fr;
  }

  .careers-statement-title {
    font-size: clamp(1.7rem, 7.5vw, 2.25rem);
  }

  .role-list a {
    padding: 1.5rem 0;
  }

  .blog-card-with-thumb {
    align-items: center;
  }

  .blog-card-with-thumb .blog-card-thumb {
    width: clamp(112px, 20vw, 172px);
    margin-top: 0.75rem;
    align-self: center;
  }
}
