/* ============================================================
   CiviSearch — The Land Development Recruiter
   v4 — grey & navy: soft grey body, navy heroes and bands,
        palette anchored to the brand logo
   ============================================================ */

:root {
  /* Navy — anchored to the logo navy #162640 */
  --navy-950: #0c1524;
  --navy-900: #101b2e;
  --navy-800: #162640;   /* logo navy */
  --navy-700: #1d3050;
  --navy-600: #264066;

  /* Greys — from the logo + soft background tints */
  --grey-logo: #95989e;   /* the "Search" grey */
  --grey-bright: #dfdfe7; /* light logo grey  */
  --paper: #e9ebef;       /* body background  */
  --paper-2: #f2f3f6;     /* raised background */
  --card: #ffffff;
  --line: #d7dae1;
  --line-dark: rgba(223, 223, 231, 0.16);

  --ink: #1a2434;
  --body: #58626f;
  --dim: #7d8694;
  --on-dark: #c3cad6;

  --max-w: 1140px;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(22, 38, 64, 0.07);
  --shadow-md: 0 16px 44px rgba(22, 38, 64, 0.16);
  --font-head: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 26px; }

::selection { background: var(--navy-800); color: var(--grey-bright); }

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy-800);
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.16rem; font-weight: 600; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-logo);
  margin-bottom: 16px;
}

.kicker::before { content: ""; width: 26px; height: 2px; background: var(--grey-logo); }

.lead { font-size: 1.14rem; color: var(--body); max-width: 47em; }

/* Dark bands */
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--grey-bright); }
.on-dark .lead, .on-dark p { color: var(--on-dark); }
.on-dark .kicker { color: var(--grey-logo); }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

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

/* ---------- Header — transparent over navy hero, light grey on scroll ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  margin-bottom: -152px; /* hero rises behind the header */
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(242, 243, 246, 0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 152px;
  transition: height 0.35s ease;
}

.site-header.scrolled .nav-bar { height: 76px; }

/* Logo — big light mark over the hero, navy mark on the light bar.
   Both versions are stacked in the same grid cell and crossfade,
   so the swap never pops mid-shrink. */
.brand-logo { display: grid; align-items: center; }

.brand-logo img {
  grid-area: 1 / 1;
  height: 120px;
  width: auto;
  transition: height 0.35s ease, opacity 0.3s ease;
}

.site-header.scrolled .brand-logo img { height: 46px; }

.site-header .logo-on-light { opacity: 0; }
.site-header.scrolled .logo-on-light { opacity: 1; }
.site-header.scrolled .logo-on-dark { opacity: 0; }

/* Footer logo (light variant on navy) */
.site-footer .brand-logo img { height: 52px; }

/* Nav links — light over hero */
.nav-links { display: flex; gap: 34px; list-style: none; align-items: center; }

.nav-links a {
  position: relative;
  color: var(--grey-bright);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--grey-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}

.nav-links a:hover { color: #ffffff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: #ffffff; }

/* Nav links — navy on the scrolled light bar */
.site-header.scrolled .nav-links a { color: var(--body); }
.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a.active { color: var(--navy-800); }
.site-header.scrolled .nav-links a::after { background: var(--navy-800); }

.nav-cta {
  background: var(--grey-bright);
  color: var(--navy-800) !important;
  font-weight: 600;
  padding: 11px 22px !important;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease !important;
}

.nav-cta::after { display: none; }
.nav-cta:hover { background: #ffffff; transform: translateY(-1px); }

.site-header.scrolled .nav-cta { background: var(--navy-800); color: var(--grey-bright) !important; }
.site-header.scrolled .nav-cta:hover { background: var(--navy-700); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--grey-bright);
  margin: 5px 0;
  transition: background 0.25s ease;
}

.site-header.scrolled .nav-toggle span { background: var(--navy-800); }

/* Mobile dropdown panel is light — links stay navy inside it */
.nav-links.open a { color: var(--body) !important; }
.nav-links.open a:hover, .nav-links.open a.active { color: var(--navy-800) !important; }
.nav-links.open .nav-cta { background: var(--navy-800) !important; color: var(--grey-bright) !important; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 15px 30px;
  border-radius: 9px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--navy-800); color: var(--grey-bright); }
.btn-primary:hover { background: var(--navy-700); box-shadow: 0 12px 28px rgba(22, 38, 64, 0.32); }

/* light button for dark bands */
.btn-light { background: var(--grey-bright); color: var(--navy-800); }
.btn-light:hover { background: #ffffff; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28); }

.btn-outline { border-color: var(--grey-logo); color: var(--navy-800); background: transparent; }
.btn-outline:hover { border-color: var(--navy-800); background: rgba(22, 38, 64, 0.04); }

.btn-ghost { border-color: rgba(223, 223, 231, 0.45); color: var(--grey-bright); background: transparent; }
.btn-ghost:hover { border-color: var(--grey-bright); background: rgba(223, 223, 231, 0.07); }

.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(149, 152, 158, 0.16), transparent 60%),
    linear-gradient(158deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-700) 100%);
  color: var(--grey-bright);
  padding: 250px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(223, 223, 231, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(223, 223, 231, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(900px 600px at 30% 20%, black, transparent 75%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1.5px solid rgba(149, 152, 158, 0.3);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 15.5em; color: var(--grey-bright); }
.hero h1 em { font-style: normal; color: var(--grey-logo); }
.hero .lead { margin-top: 24px; color: var(--on-dark); }
.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 90% -20%, rgba(149, 152, 158, 0.16), transparent 60%),
    linear-gradient(158deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-700) 100%);
  color: var(--grey-bright);
  padding: 216px 0 76px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(223, 223, 231, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(223, 223, 231, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(700px 420px at 25% 30%, black, transparent 75%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--grey-bright); }
.page-hero .lead { margin-top: 18px; color: var(--on-dark); }

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: linear-gradient(158deg, var(--navy-950), var(--navy-800)); }
.section-head { max-width: 48em; margin-bottom: 52px; }
.section-head .lead { margin-top: 14px; }

/* ---------- Stat band ---------- */

.stat-band { background: var(--navy-950); border-top: 1px solid var(--line-dark); padding: 46px 0; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-grid strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--grey-bright);
}

.stat-grid span { color: var(--grey-logo); font-size: 0.92rem; }

/* ---------- Cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s ease;
}

.card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); border-color: var(--grey-logo); }

.card h3 { margin-bottom: 12px; font-size: 1.24rem; }
.card p { color: var(--body); font-size: 0.97rem; }

.card-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--grey-logo);
  display: block;
  margin-bottom: 18px;
}

.card-rule {
  width: 42px;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-800), var(--grey-logo));
  border-radius: 2px;
  margin-bottom: 20px;
}

/* ---------- Split ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: start; }
.split h2 { margin-bottom: 20px; }
.split p { color: var(--body); }
.split p + p { margin-top: 16px; }
.split p strong, .founder-bio p strong { color: var(--ink); }

/* ---------- Checklist ---------- */

.checklist { list-style: none; margin-top: 8px; }

.checklist li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 500;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--navy-800);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--grey-bright);
  border-bottom: 2px solid var(--grey-bright);
  transform: rotate(-45deg);
}

.checklist li small { display: block; font-weight: 400; color: var(--body); }

/* ---------- Mission (navy band) ---------- */

.mission { position: relative; overflow: hidden; }

.mission::after {
  content: "";
  position: absolute;
  left: -220px;
  bottom: -300px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1.5px solid rgba(149, 152, 158, 0.22);
  pointer-events: none;
}

.mission-inner { position: relative; z-index: 1; max-width: 780px; }
.mission-inner p { font-size: 1.12rem; color: var(--on-dark); margin-bottom: 20px; }
.mission-inner p strong { color: var(--grey-bright); font-weight: 600; }

.mission-close {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 600;
  color: var(--grey-bright) !important;
  line-height: 1.4;
  margin-top: 30px;
}

.mission-close span { color: var(--grey-logo); }

/* ---------- Process ---------- */

.process { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 26px; }

.process .step {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s ease;
}

.process .step:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--grey-logo); }

.process .step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--grey-logo);
  margin-bottom: 12px;
}

.process .step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.process .step p { font-size: 0.9rem; color: var(--body); }

/* ---------- Tags ---------- */

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.tag {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--navy-800);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
}

.tag-dark {
  background: rgba(223, 223, 231, 0.07);
  border: 1px solid rgba(223, 223, 231, 0.22);
  color: var(--grey-bright);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- Founder ---------- */

.founder-grid { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }

.founder-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
  box-shadow: var(--shadow-md);
}

.founder-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.founder-fallback {
  display: none;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 800;
  color: rgba(223, 223, 231, 0.35);
}

.founder-photo.no-img img { display: none; }
.founder-photo.no-img .founder-fallback { display: flex; }

.founder-photo .founder-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 24px 18px;
  background: linear-gradient(transparent, rgba(12, 21, 36, 0.94));
  color: var(--grey-bright);
}

.founder-photo .founder-name strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.founder-photo .founder-name span { font-size: 0.85rem; color: var(--grey-logo); }

.founder-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.founder-actions .btn { padding: 12px 20px; font-size: 0.9rem; flex: 1; justify-content: center; min-width: 110px; }
.founder-bio p { color: var(--body); margin-bottom: 16px; }

/* ---------- Reviews carousel ---------- */

.carousel-wrap { position: relative; }

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 26px;
  scrollbar-width: none;
  cursor: grab;
}

.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }

.review-card {
  flex: 0 0 min(420px, 86vw);
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s ease;
}

.review-card:hover { box-shadow: var(--shadow-md); border-color: var(--grey-logo); }

.review-stars { color: var(--navy-700); letter-spacing: 3px; font-size: 0.95rem; margin-bottom: 16px; }

.review-card blockquote { font-size: 0.96rem; color: var(--body); flex: 1; line-height: 1.7; }

.review-card footer { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-card footer strong { display: block; font-family: var(--font-head); font-size: 0.98rem; color: var(--navy-800); }
.review-card footer span { font-size: 0.85rem; color: var(--grey-logo); }

.carousel-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 4px; }

.car-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-logo);
  background: var(--card);
  color: var(--navy-800);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.car-btn:hover { background: var(--navy-800); border-color: var(--navy-800); color: var(--grey-bright); transform: translateY(-2px); }

/* ---------- Vacancies ---------- */

.job-list { display: grid; gap: 22px; }

.job {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s ease;
}

.job:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--grey-logo); }

.job h3 { margin-bottom: 6px; font-size: 1.22rem; }

.job .job-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--dim); font-size: 0.88rem; margin-bottom: 10px; }

.job .job-meta span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grey-logo);
  margin-right: 8px;
  vertical-align: middle;
}

.job p { color: var(--body); font-size: 0.95rem; max-width: 56em; }

.empty-state {
  text-align: center;
  border: 1.5px dashed var(--grey-logo);
  border-radius: var(--radius);
  padding: 80px 30px;
  background: var(--card);
}

.empty-state h3 { font-size: 1.4rem; margin-bottom: 12px; }
.empty-state p { color: var(--body); max-width: 36em; margin: 0 auto 26px; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }

.info-row { margin-bottom: 30px; }

.info-row h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--grey-logo);
  margin-bottom: 8px;
}

.info-row p, .info-row a { font-size: 1.1rem; font-weight: 500; color: var(--navy-800); line-height: 1.55; }
.info-row a:hover { color: var(--navy-600); }
.info-row .addr { font-size: 0.98rem; font-weight: 400; color: var(--body); }

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow-md);
}

.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--ink); }

.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--paper-2);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-row input::placeholder, .form-row textarea::placeholder { color: var(--dim); }

.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  background: #ffffff;
}

.form-row textarea { min-height: 140px; resize: vertical; }

/* ---------- Contact band (home, navy) ---------- */

.contact-band {
  background: linear-gradient(158deg, var(--navy-950), var(--navy-700));
  padding: 80px 0;
}

.contact-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact-band h2 { color: var(--grey-bright); }
.contact-band p { color: var(--on-dark); margin-top: 8px; }
.contact-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--grey-bright); border-top: 1px solid var(--line); padding: 72px 0; }

.cta-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.cta-band h2 { color: var(--navy-800); }
.cta-band p { color: var(--body); margin-top: 8px; }

/* ---------- Footer (navy) ---------- */

.site-footer {
  background: var(--navy-950);
  color: var(--grey-logo);
  padding: 64px 0 38px;
  font-size: 0.93rem;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 48px; margin-bottom: 48px; }

.footer-grid h4 {
  color: var(--grey-bright);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 11px; }
.footer-grid a { transition: color 0.2s ease; }
.footer-grid a:hover { color: var(--grey-bright); }
.footer-brand p { max-width: 28em; margin-top: 16px; }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .founder-grid { grid-template-columns: 1fr; gap: 44px; }
  .founder-photo { max-width: 420px; }
}

@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 46px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .site-header { margin-bottom: -110px; }
  .nav-bar { height: 110px; }
  .site-header.scrolled .nav-bar { height: 68px; }
  .brand-logo img { height: 82px; }
  .site-header.scrolled .brand-logo img { height: 40px; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper-2);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 26px 26px;
    display: none;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 13px 0; }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 12px; text-align: center; width: 100%; justify-content: center; }

  .hero { padding: 170px 0 76px; }
  .page-hero { padding: 150px 0 60px; }
  .section { padding: 64px 0; }
  .job { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 30px 24px; }
}
