:root {
  --bg: #f4efe4;
  --panel: #fffaf0;
  --ink: #1a1a1a;
  --muted: #5c5146;
  --primary: #f26b2c;
  --primary-ink: #fff7ef;
  --line: #dccdb7;
  --accent: #d95a1d;
  --surface-tint: #f7ecda;
  --nav-hover: #fbe2cc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 94%, white);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.brand-text {
  font-size: 1rem;
  white-space: nowrap;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  transition: background-color 140ms ease, color 140ms ease;
}

nav a[aria-current="page"],
nav a:hover {
  color: var(--ink);
  background: var(--nav-hover);
}

.section {
  padding: clamp(2.2rem, 7vw, 5rem) 0;
}

.section-tight-bottom {
  padding-bottom: clamp(1.1rem, 3.5vw, 2rem);
}

.section-tight-top {
  padding-top: clamp(1.1rem, 3.5vw, 2rem);
}

.hero {
  padding-top: clamp(2rem, 6vw, 4.5rem);
}

.hero-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.8fr 1fr;
  align-items: end;
}

.hero-stack {
  max-width: 1020px;
}

.hero-intro {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-intro h1 {
  max-width: 30ch;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  font-size: 0.77rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.lead {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-card,
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(16, 25, 37, 0.05);
}

.hero-card ul {
  padding-left: 1.1rem;
  margin: 0.65rem 0 0;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.btn {
  text-decoration: none;
  border-radius: 10px;
  padding: 0.68rem 1rem;
  font-weight: 700;
  display: inline-block;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

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

.btn-secondary {
  background: color-mix(in srgb, var(--panel) 90%, #ffffff);
  border: 1px solid var(--line);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 90%, #f8e6d1);
}

.metrics {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.metric-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-head {
  margin-bottom: 1.1rem;
}

.section-head.inline {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.cards {
  display: grid;
  gap: 0.9rem;
}

.cards.three-up {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card p {
  color: var(--muted);
  margin-top: 0.55rem;
}

.card.tight {
  padding: 0.9rem;
}

.card {
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(31, 24, 18, 0.09);
}

.alt {
  background: color-mix(in srgb, var(--panel) 75%, #f2dfc9);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
  align-items: start;
}

.split > p {
  max-width: 58ch;
}

.why-now .split {
  align-items: end;
}

.text-link {
  color: #b84b1a;
  font-weight: 700;
  text-underline-offset: 0.18rem;
}

.text-emphasis {
  color: var(--primary);
  font-weight: 700;
}

.news-card .meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-top: 0.55rem;
}

.news-card-seed {
  border-color: color-mix(in srgb, var(--primary) 34%, var(--line));
}

.news-card-seed h3 {
  color: var(--primary);
}

.image-layout {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: 1.4fr 1fr;
  max-width: 740px;
  margin: 0 auto;
}

.image-feature {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  min-height: 180px;
}

.image-feature img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.image-feature figcaption {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  background: color-mix(in srgb, #0f0f0f 68%, transparent);
  color: #fff7ef;
  padding: 0.55rem 0.7rem;
  border-radius: 9px;
  font-size: 0.88rem;
}

.page-hero-image {
  width: 100%;
  height: clamp(185px, 29vw, 300px);
  object-fit: cover;
  object-position: center 36%;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin: 1rem 0 1.25rem;
}

.milestone-block {
  display: grid;
  gap: 0.25rem;
  text-align: center;
}

.milestone-line {
  font-size: clamp(1.4rem, 3.6vw, 2.2rem);
}

.milestone-note {
  color: var(--muted);
}

.milestone-note .text-link {
  margin-left: 0.4rem;
}

.data-room-note {
  margin-top: 0;
  color: var(--muted);
  max-width: 760px;
}

.confidential-note {
  padding: 0.25rem 0 0.25rem 0.8rem;
  max-width: 780px;
  border-left: 3px solid var(--line);
}

.contact-list {
  display: grid;
  gap: 0.9rem;
}

.contact-item {
  padding: 0.4rem 0 0.85rem;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item p {
  color: var(--muted);
  margin-top: 0.5rem;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

select {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 88%, #fff);
  border-radius: 8px;
  padding: 0.5rem;
  color: var(--ink);
}

.job-meta {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.job-details {
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
}

.job-details[hidden] {
  display: none;
}

.job-detail-section h4 {
  margin: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.job-detail-section p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.job-detail-list {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.job-meta-extra {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.role-count {
  color: var(--muted);
  font-weight: 500;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 85%, #fff8ef);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-wrap p {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-logo {
  height: 22px;
  width: auto;
  display: block;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease, transform 400ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .hero-grid,
  .metrics,
  .image-layout,
  .cards.three-up,
  .split {
    grid-template-columns: 1fr;
  }

  .section-head.inline {
    align-items: start;
    flex-direction: column;
  }

  .brand-text {
    display: none;
  }

  .brand-logo {
    height: 30px;
  }

  .page-hero-image {
    height: clamp(175px, 42vw, 250px);
    object-position: center 34%;
  }
}
