/* Liminal Sensing — Shared styles
 * Cream + dark forest palette (LawZero-inspired)
 * Newsreader serif + Inter sans (Andon Labs-style typographic discipline)
 * Single design language across index, technology, pilots, careers
 */

:root {
  --bg: #FCE9D2;
  --bg-soft: #F5DEC2;
  --text: #1F3D2A;
  --muted: #4A6052;
  --line: rgba(31, 61, 42, 0.15);
  --line-strong: rgba(31, 61, 42, 0.35);
  --accent-bg: #1F3D2A;
  --accent-text: #FCE9D2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
}

/* HEADER -------------------------------------------------------------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 24px;
}

.logo {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
}

.logo-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text);
  margin-right: 10px;
}

nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.2s;
}

nav a:hover { opacity: 0.6; }

.nav-cta {
  background: var(--accent-bg);
  color: var(--accent-text) !important;
  padding: 10px 20px;
  border-radius: 100px;
}

.nav-cta:hover { opacity: 0.85; }

/* HERO ---------------------------------------------------------------- */
.hero {
  padding: 100px 0 80px;
}

.hero-image {
  width: 100%;
  height: 62vh;
  max-height: 720px;
  min-height: 480px;
  object-fit: cover;
  display: block;
}

.hero-image-wrap {
  margin: 0;
  padding-top: 48px;
}

.eyebrow {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 28px;
  font-weight: 400;
}

.eyebrow-caps {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
}

h1.hero-title {
  font-family: 'Newsreader', serif;
  font-weight: 400;
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 1100px;
  margin-bottom: 40px;
}

h1.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-lede {
  font-family: 'Newsreader', serif;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.45;
  max-width: 820px;
  color: var(--text);
  font-weight: 400;
}

/* SECTIONS ------------------------------------------------------------ */
section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.section-label {
  font-family: 'Newsreader', serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  position: sticky;
  top: 100px;
}

.section-label-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}

.section-body {
  max-width: 760px;
}

h2 {
  font-family: 'Newsreader', serif;
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

h2 em { font-style: italic; }

h3 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 32px 0 12px;
}

h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 28px 0 8px;
}

p {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.62;
}

p.lede {
  font-family: 'Newsreader', serif;
  font-size: 24px;
  line-height: 1.45;
  margin-bottom: 32px;
  color: var(--text);
}

p.callout {
  font-family: 'Newsreader', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--muted);
  padding: 24px 0 8px;
  line-height: 1.4;
}

ul.bullet-list {
  list-style: none;
  margin-bottom: 24px;
}

ul.bullet-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.55;
}

ul.bullet-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
}

/* IMAGE BANNERS ------------------------------------------------------- */
.image-banner {
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.image-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-banner-tall {
  height: 60vh;
  max-height: 640px;
  min-height: 420px;
}

/* WHY-NOW GRID -------------------------------------------------------- */
.why-grid { margin-top: 24px; }

.why-item {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: baseline;
}

.why-item:last-child { border-bottom: 1px solid var(--line); }

.why-num {
  font-family: 'Newsreader', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--muted);
  font-style: italic;
}

.why-text h3 { margin-top: 0; margin-bottom: 8px; }

.why-text p { margin-bottom: 0; color: var(--muted); }

/* APPROACH GRID ------------------------------------------------------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 16px;
}

.approach-item h3 { margin-top: 0; font-size: 26px; }

/* TEAM ---------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
  margin-top: 16px;
}

.team-member-name {
  font-family: 'Newsreader', serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.team-member-role {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.team-member-bio {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.hiring-note {
  margin-top: 56px;
  padding: 28px 32px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hiring-note-text {
  font-family: 'Newsreader', serif;
  font-size: 19px;
  color: var(--text);
}

.hiring-note-text em { font-style: italic; }

.hiring-link {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.hiring-link:hover { opacity: 0.6; }

/* BACKING ------------------------------------------------------------- */
.backing-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.backing-item {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.backing-item h3 { margin: 0 0 8px; font-size: 19px; }

.backing-item p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }

/* PROCESS / PILOT PATHWAY -------------------------------------------- */
.process-steps { margin-top: 24px; }

.process-step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.process-step:last-child { border-bottom: 1px solid var(--line); }

.process-step-marker {
  font-family: 'Newsreader', serif;
  font-style: italic;
  color: var(--muted);
}

.process-step-marker-num {
  font-size: 28px;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.process-step-marker-week {
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.process-step h3 { margin-top: 0; }

.process-step p { margin-bottom: 0; color: var(--muted); }

/* TWO-COLUMN PROVIDE -------------------------------------------------- */
.provide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}

.provide-col h3 { margin-top: 0; }

/* ROLE / JOB CARD ----------------------------------------------------- */
.role-card {
  margin-top: 24px;
  padding: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg-soft);
}

.role-card-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.role-card h3 {
  font-size: 32px;
  margin: 0 0 8px;
}

.role-card-meta {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}

/* CONTACT ------------------------------------------------------------- */
.contact-section {
  padding: 140px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.contact-section h2 { margin-bottom: 24px; }

.contact-section .contact-lede {
  font-family: 'Newsreader', serif;
  font-size: 22px;
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

.contact-link {
  font-family: 'Newsreader', serif;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 8px;
  display: inline-block;
  transition: opacity 0.2s;
}

.contact-link:hover { opacity: 0.6; }

/* FOOTER -------------------------------------------------------------- */
footer { padding: 48px 0 32px; border-top: 1px solid var(--line); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner .logo { font-size: 17px; }

/* TABLET / SMALL LAPTOP ----------------------------------------------- */
@media (max-width: 900px) {
  .container, .container-narrow { padding: 0 24px; }

  .header-inner { padding-block: 20px; }
  .logo { font-size: 19px; }
  nav ul { gap: 18px; }
  nav a { font-size: 14px; }
  .nav-cta { padding: 8px 16px; white-space: nowrap; }

  .hero { padding: 56px 0 48px; }
  .hero-image-wrap { padding-top: 32px; }
  .hero-image { height: 44vh; min-height: 300px; }

  section { padding: 64px 0; }

  .section-grid { grid-template-columns: 1fr; gap: 32px; }

  .section-label {
    position: static;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }

  .approach-grid, .team-grid, .backing-list, .provide-grid {
    grid-template-columns: 1fr;
  }

  .why-item { grid-template-columns: 60px 1fr; gap: 16px; }

  .process-step { grid-template-columns: 100px 1fr; gap: 16px; }

  .image-banner { height: 320px; }

  .role-card { padding: 32px 24px; }

  .contact-section { padding: 80px 0; }
  .contact-link { word-break: break-word; }
}

/* PHONE --------------------------------------------------------------- */
@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 24px; }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-block: 18px;
  }
  .logo { font-size: 18px; }
  nav { width: 100%; }
  nav ul {
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
  }
  nav a { font-size: 14px; }
  .nav-cta {
    padding: 6px 12px;
    font-size: 12.5px;
    margin-left: auto;
  }

  .hero { padding: 40px 0 36px; }
  .hero-image-wrap { padding-top: 20px; }
  .hero-image { height: 38vh; min-height: 260px; }

  h1.hero-title { font-size: clamp(34px, 9vw, 52px); margin-bottom: 28px; }
  .hero-lede { font-size: 18px; }

  section { padding: 48px 0; }
  h2 { font-size: clamp(28px, 7.5vw, 40px); margin-bottom: 24px; }

  .why-item { grid-template-columns: 44px 1fr; gap: 12px; padding: 24px 0; }
  .why-num { font-size: 26px; }

  .process-step { grid-template-columns: 80px 1fr; gap: 14px; padding: 28px 0; }
  .process-step-marker-num { font-size: 24px; }

  .image-banner { height: 240px; }

  .role-card { padding: 28px 20px; }
  .role-card h3 { font-size: 26px; }

  .hiring-note {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-section { padding: 64px 0; }
  .contact-section .contact-lede { font-size: 18px; }
}
