/* =========================================================
   PRP — Homepage
   Brand: Foundation Navy / Soft Ivory / Warm Sand
   Headlines: Castoro · Body: Hanken Grotesk
   ========================================================= */

:root {
  --ink: #083a4f;
  --ink-soft: #21536a;
  --ink-deep: #062f40;
  --paper: #f7f5f2;
  --paper-deep: #efebe5;
  --sand: #e2d6c2;
  --sand-page: #f3f0e9;
  --brass: #ccb697;
  --brass-soft: #e6dbc9;
  --stone: #bfc7c8;
  --muted: #4c6b78;
  --card: #ffffff;
  --radius: 2px;
  --font-display: "Castoro", Georgia, serif;
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1280px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; line-height: 1.65; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.18;
}

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

.skip-link {
  position: absolute;
  left: 16px; top: -48px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; line-height: 1.65; }
.lead { font-size: 1.02rem; line-height: 1.7; color: var(--ink-soft); }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.is-hidden { display: none !important; }

.eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(8, 58, 79, 0.52);
}

.rule-line {
  height: 1px;
  margin: 16px 0;
  background: linear-gradient(to right, rgba(8, 58, 79, 0.22), transparent);
}
.rule-lg { margin: 28px 0; }

.h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
.h3 { font-size: 1.2rem; }
.h3-lg { font-size: 1.45rem; font-family: var(--font-display); }
.h4 { font-size: 1.25rem; }
.h5 { font-size: 1.05rem; font-family: var(--font-display); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.4s var(--ease);
}
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: #d8c6a8; transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-soft); }
.btn-outline-ink { border-color: rgba(8, 58, 79, 0.32); color: var(--ink); background: transparent; }
.btn-outline-ink:hover { background: var(--ink); color: var(--paper); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.45); color: var(--paper); background: transparent; }
.btn-outline-light:hover { background: var(--paper); color: var(--ink); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.text-link:hover { color: var(--ink-soft); }

.link-underline { position: relative; }
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- icons ---------- */
[class^="i-"] { display: inline-block; flex: none; }
.i-arrow {
  width: 8px; height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.i-search {
  width: 13px; height: 13px; position: relative;
  border: 1.5px solid currentColor; border-radius: 50%;
  color: var(--muted);
}
.i-search::after {
  content: ""; position: absolute; right: -4px; bottom: -3px;
  width: 6px; height: 1.5px; background: currentColor; transform: rotate(45deg);
}
.i-pin {
  width: 11px; height: 11px; border: 1.5px solid currentColor;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); color: var(--muted);
}
.i-case {
  width: 13px; height: 10px; border: 1.5px solid currentColor;
  border-radius: 1px; position: relative; color: var(--muted);
}
.i-case::before {
  content: ""; position: absolute; left: 3px; top: -4px;
  width: 5px; height: 3px; border: 1.5px solid currentColor; border-bottom: 0;
}
.i-quote {
  display: block;
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 0.55;
  opacity: 0.32;
}
.i-quote::before { content: "\201C"; }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes slow-zoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-img { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid rgba(8, 58, 79, 0.06);
}
.site-header.is-scrolled {
  box-shadow: 0 8px 24px -18px rgba(8, 58, 79, 0.45);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.logo { height: 34px; width: auto; }
.logo-on-dark { display: none; }
.logo-footer { height: 40px; }
.site-nav {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.nav-list a { color: var(--ink); opacity: 0.86; }
.nav-list a:hover,
.nav-list a.is-current { opacity: 1; }
.nav-list a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
}
.nav-toggle-bar {
  display: block;
  width: 20px; height: 1.5px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(4) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-deep);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: slow-zoom 28s ease-in-out infinite alternate;
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 58, 79, 0.22) 0%, rgba(8, 58, 79, 0.38) 42%, rgba(8, 58, 79, 0.7) 100%);
}
.hero-inner {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding-top: 56px;
  padding-bottom: 36px;
}
.hero-title {
  max-width: none;
  margin: 0 auto;
  color: #fff;
  text-align: center;
  font-size: clamp(1.85rem, 4.6vw, 3.35rem);
  line-height: 1.18;
}
.hero-cards {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}
.hero-card {
  height: 100%;
  background: rgba(8, 58, 79, 0.92);
  padding: 28px 26px 30px;
  color: var(--paper);
}
.card-eyebrow {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.62;
}
.card-title { margin-top: 14px; font-size: 1.45rem; line-height: 1.25; }
.card-body { margin-top: 12px; max-width: 28rem; font-size: 0.88rem; opacity: 0.72; }
.hero-card .btn { margin-top: 26px; }

.hero--page .page-hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 360px;
  padding: 80px 0 56px;
}
.page-title {
  max-width: 16ch;
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.15;
}
.hero--page .eyebrow { color: var(--brass); }
.hero--page .lead {
  max-width: 36rem;
  margin-top: 18px;
  color: rgba(247, 245, 242, 0.78);
}
.hero--page .page-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.page-banner {
  background: var(--sand-page);
  padding: 72px 0 48px;
}
.page-banner .h2 { max-width: 18ch; }

/* =========================================================
   STATS
   ========================================================= */
.stats { background: #fff; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 36px;
  padding: 44px 0;
}
.stat { text-align: center; padding: 0 10px; }
.stat-value { font-family: var(--font-display); font-size: 2.35rem; color: var(--ink); }
.stat-label {
  margin: 8px auto 0;
  max-width: 22ch;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--muted);
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 72px 0; }
.section-paper { background: #fff; }
.section-sand { background: var(--sand-page); }

.media-frame { overflow: hidden; }
.zoom-hover { transition: transform 1.6s ease-out; }
.zoom-hover:hover { transform: scale(1.03); }
.wide-img { width: 100%; height: 220px; object-fit: cover; }
.alignment-media { margin-top: 40px; }

.grid-4 { display: grid; gap: 32px; }
.pillars { margin-top: 48px; }

/* ---------- roles ---------- */
.search-wrap { margin-top: 36px; }
.search-form {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: var(--sand-page);
}
.field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px;
  background: #fff;
}
.field input {
  flex: 1; min-width: 0;
  border: 0; outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--ink);
}
.field input::placeholder { color: var(--muted); }
.btn-search { width: 100%; }

.jobs {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.job-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 24px 24px;
  background: #fff;
  border: 1px solid rgba(8, 58, 79, 0.1);
}
.job-cat {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.job-card .h4 { margin-top: 10px; }
.grow { flex: 1; margin-top: 12px; }
.job-salary {
  margin-top: 22px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.job-loc { margin-top: 4px; font-size: 0.75rem; color: var(--muted); }
.job-actions { display: flex; gap: 8px; margin-top: 22px; }
.job-actions .btn { flex: 1; }

/* ---------- process ---------- */
.process-panel { margin-top: 44px; background: #fff; }
.tabs { display: grid; grid-template-columns: repeat(2, 1fr); }
.tab {
  padding: 16px;
  border: 0;
  border-bottom: 1px solid rgba(8, 58, 79, 0.1);
  background: var(--sand-page);
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.tab:hover { color: var(--ink); }
.tab.is-active { background: #fff; color: var(--ink); border-bottom-color: var(--brass); }
.process-body { padding: 28px 22px 32px; }
.process-head { display: grid; gap: 18px; }
.steps { margin-top: 36px; }

/* ---------- founder ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.founder-frame { min-height: 320px; }
.founder-img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- testimonials ---------- */
.testi-section { padding-top: 24px; }
.testi-head { display: grid; gap: 16px; }
.testi-grid {
  display: grid;
  gap: 16px;
  margin-top: 40px;
  align-items: stretch;
}
.testi-grid > * {
  min-height: 320px;
  height: 100%;
}
.testi-photo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}
.testi-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.testi-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: inherit;
  margin: 0;
  padding: 28px 26px;
}
.testi-card blockquote {
  margin: 18px 0 0;
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.4;
}
.testi-card figcaption {
  margin-top: 28px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.68;
}
.testi-ink { background: var(--ink); color: var(--paper); }
.testi-sand { background: #e8dcc8; color: var(--ink); }

/* ---------- insights ---------- */
.insights-head {
  display: grid;
  gap: 16px;
  align-items: end;
  margin-top: 14px;
}
.insights-grid { display: grid; gap: 28px; margin-top: 40px; }
.insight-img { width: 100%; height: 240px; object-fit: cover; transition: transform 1.2s ease-out; }
.insight:hover .insight-img { transform: scale(1.04); }
.insight-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 20px;
  margin-top: 18px;
}
.insight-meta h3 {
  flex: 1;
  min-width: 0;
  margin: 0;
  line-height: 1.3;
}
.insight-tag {
  flex: none;
  padding: 0.38rem 0.72rem;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  border-radius: 4px;
  white-space: nowrap;
  color: var(--ink);
}
.insight-tag-sand { background: #e8dcc8; }
.insight-tag-stone { background: #d4dce0; }
.insight-tag-ink { background: #d9e4e8; }
.insight a { display: block; }
.insight-date { margin-top: 10px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- cta ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  padding: 56px 0;
  overflow: hidden;
}
.cta-wood {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: #3d3228;
  background-image: url("../assets/home/CTA-Background.jpg");
  background-size: cover;
  background-position: center;
}
.cta-grid { display: grid; gap: 16px; }
.cta-card {
  height: 100%;
  padding: 32px 28px;
  background: var(--ink);
  color: var(--paper);
}

/* ---------- contact / forms ---------- */
.contact-layout {
  display: grid;
  gap: 48px;
  align-items: start;
}
.form-panel {
  padding: 28px 24px;
  background: var(--sand-page);
}
.form-grid { display: grid; gap: 14px; }
.form-field { min-width: 0; }
.form-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-control {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.92rem;
}
.form-control:focus { outline: 1px solid rgba(8, 58, 79, 0.28); }
select.form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
textarea.form-control { min-height: 150px; resize: vertical; }
.form-note { margin-top: 14px; font-size: 0.78rem; color: var(--muted); }
.form-success {
  display: none;
  padding: 32px 28px;
  background: var(--ink);
  color: var(--paper);
}
.form-success.is-visible { display: block; }
.form-success .h3 { color: #fff; }
.contact-aside .h3 { margin-top: 8px; }
.contact-aside .footer-contact { opacity: 1; color: var(--muted); }
.jobs-empty {
  display: none;
  margin-top: 28px;
  padding: 36px 28px;
  background: var(--sand-page);
  text-align: center;
}
.jobs-empty.is-visible { display: block; }

/* ---------- job detail ---------- */
.job-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 20px;
  color: rgba(247, 245, 242, 0.72);
  font-size: 0.82rem;
}
.job-detail {
  display: grid;
  gap: 40px;
  align-items: start;
}
.job-aside {
  padding: 28px 24px;
  background: var(--sand-page);
}
.job-aside .job-salary { margin-top: 0; }
.article-list { margin-top: 18px; }
.article-list li {
  position: relative;
  padding-left: 1.1em;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}
.article-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 1px;
  background: var(--ink);
}

/* ---------- article / legal ---------- */
.prose { max-width: 42rem; }
.prose h2,
.prose .h3 { margin-top: 2.1em; }
.prose p + p { margin-top: 1.05em; }
.prose ul {
  list-style: disc;
  margin: 1em 0 0 1.15em;
  padding: 0;
}
.prose .article-list {
  list-style: none;
  margin-left: 0;
}
.prose li { margin-top: 8px; color: var(--muted); }
.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 22px;
}
.article-cover { margin-bottom: 40px; }
.article-cover img { width: 100%; height: 380px; object-fit: cover; }

/* ---------- cookies ---------- */
.cookie-list { display: grid; gap: 16px; margin-top: 36px; }
.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(8, 58, 79, 0.1);
}
.cookie-row h3 { font-size: 1.05rem; }
.cookie-row p { margin-top: 6px; max-width: 36rem; }
.switch {
  position: relative;
  flex: none;
  width: 46px;
  height: 26px;
}
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui {
  display: block;
  width: 46px;
  height: 26px;
  border-radius: 99px;
  background: rgba(8, 58, 79, 0.18);
  transition: background 0.25s ease;
}
.switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s var(--ease);
}
.switch input:checked + .switch-ui { background: var(--ink); }
.switch input:checked + .switch-ui::after { transform: translateX(20px); }
.switch input:disabled + .switch-ui { background: var(--brass); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink-deep);
  color: rgba(247, 245, 242, 0.88);
  padding: 64px 0 28px;
}
.footer-top { display: grid; gap: 48px; }
.footer-blurb { margin-top: 16px; max-width: 20rem; font-size: 0.8rem; opacity: 0.62; }
.footer-contact { margin-top: 22px; font-size: 0.8rem; opacity: 0.62; }
.footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.footer-badges img {
  display: block;
  width: auto;
  height: 72px;
}
.footer-cols { display: grid; gap: 32px; }
.footer-col-title {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
}
.footer-cols ul { margin-top: 16px; font-size: 0.84rem; }
.footer-cols li + li { margin-top: 10px; }
.footer-cols a { opacity: 0.78; }
.footer-cols a:hover { opacity: 1; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 48px;
  padding-top: 32px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.7rem;
  opacity: 0.55;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}
.footer-legal a:hover { opacity: 1; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 640px) {
  .container { padding: 0 32px; }
  .logo { height: 38px; }
  .hero-inner { padding-bottom: 44px; }
  .hero-card { padding: 36px 34px 34px; }
  .card-title { font-size: 1.65rem; }
  .section { padding: 96px 0; }
  .stat-value { font-size: 2.7rem; }
  .wide-img { height: 360px; }
  .search-form { grid-template-columns: 1.3fr 1fr 1fr auto; align-items: stretch; }
  .btn-search { width: auto; min-width: 132px; }
  .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-body { padding: 40px 36px 44px; }
  .h3-lg { font-size: 1.75rem; }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .insight-img { height: 280px; }
  .cta-card { padding: 40px 36px; }
  .cta-band { padding: 72px 0; }
  .form-panel { padding: 36px 32px; }
  .form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-cover img { height: 460px; }
}

@media (min-width: 768px) {
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
  .hero-title { max-width: none; }
  .hero-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 52px 0; }
  .stat { padding: 0 18px; }
  .stats-grid .stat + .stat { border-left: 1px solid rgba(8, 58, 79, 0.1); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .wide-img { height: 420px; }
  .jobs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr 1.05fr; gap: 72px; }
  .founder-frame { min-height: 520px; }
  .founder-img { min-height: 520px; }
  .process-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
  .testi-head { grid-template-columns: auto minmax(0, 1fr); align-items: end; }
  .right-md { text-align: right; }
  .testi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .testi-grid > * { min-height: 380px; }
  .insights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insights-head { grid-template-columns: minmax(0, 1fr) auto; }
  .cta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1.15fr 1.7fr; }
  .contact-layout { grid-template-columns: 1.2fr 0.8fr; gap: 64px; }
  .job-detail { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; }
  .job-aside { position: sticky; top: calc(var(--header-h) + 24px); }
  .hero--page .page-hero-inner { min-height: 420px; padding: 96px 0 64px; }
}

@media (min-width: 1024px) {
  .hero-inner { min-height: 780px; padding-bottom: 44px; }
}

/* =========================================================
   MOBILE LAYOUT  (matches homepage mobile frame)
   ========================================================= */
@media (max-width: 767px) {
  html, body { overflow-x: hidden; }
  .container { padding: 0 20px; }

  .hero-inner {
    padding-top: 40px;
    padding-bottom: 24px;
    gap: 32px;
  }
  .hero-title {
    max-width: 16rem;
    font-size: 1.85rem;
  }
  .hero-cards { margin-top: 0; gap: 12px; }
  .hero-card { padding: 24px 22px 26px; }
  .card-title { font-size: 1.35rem; }
  .hero-card .btn { width: 100%; }

  .stats-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
    padding: 8px 0;
  }
  .stat {
    padding: 26px 8px;
    border-bottom: 1px solid rgba(8, 58, 79, 0.1);
  }
  .stat:last-child { border-bottom: 0; }
  .stat-value { font-size: 2.5rem; }

  .section { padding: 56px 0; }
  .h2 { font-size: 1.7rem; }

  .alignment-media,
  .founder-frame,
  .testi-photo,
  .insight .media-frame {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
  .search-form,
  .jobs,
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .wide-img { height: 210px; }
  .alignment-media { margin-top: 28px; }

  .pillars { margin-top: 36px; gap: 28px; }
  .pillars .rule-line { margin-top: 0; }

  .search-form { padding: 14px; gap: 8px; }
  .btn-search { width: 100%; }
  .jobs { gap: 14px; }
  .job-actions { flex-direction: column; }
  .job-actions .btn { width: 100%; }

  .process-panel { margin-top: 32px; }
  .process-body { padding: 24px 18px 28px; }
  .process-head .btn { width: 100%; }
  .steps { margin-top: 28px; gap: 28px; }

  .founder-frame { min-height: 0; }
  .founder-img {
    width: 100%;
    height: 420px;
    min-height: 0;
    object-fit: cover;
    object-position: top center;
  }
  .split { gap: 28px; }

  .testi-section { padding-top: 56px; }
  .testi-head { gap: 10px; }
  .testi-grid { gap: 12px; margin-top: 28px; }
  .testi-grid > * { min-height: 300px; }
  .testi-card { padding: 26px 22px; }

  .insights-head { margin-top: 8px; }
  .insights-grid { gap: 32px; margin-top: 28px; }
  .insight-img { height: 210px; }

  .cta-band { padding: 28px 0; }
  .cta-grid { gap: 12px; }
  .cta-card { padding: 28px 22px; }
  .cta-card .btn { width: 100%; }

  .hero--page .page-hero-inner {
    min-height: 280px;
    padding: 56px 0 40px;
  }
  .page-title { max-width: none; font-size: 1.85rem; }
  .page-hero-actions .btn,
  .form-panel .btn,
  .job-aside .btn { width: 100%; }
  .article-cover img { height: 220px; }
  .cookie-row { flex-direction: column; align-items: flex-start; }

  .site-footer { padding: 48px 0 24px; }
  .footer-cols { gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    padding: 8px 20px 28px;
    background: #fff;
    border-bottom: 1px solid rgba(8, 58, 79, 0.08);
    box-shadow: 0 18px 30px -20px rgba(8, 58, 79, 0.35);
  }
  .site-nav.is-open .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    padding: 12px 0 20px;
  }
  .site-nav.is-open .btn { width: 100%; }
}
