/* =========================================================
   Staffonova — site stylesheet
   Palette: indigo night, nova violet, flare gold, cool paper
   ========================================================= */

@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-italic.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #1e1a4d;
  --ink-2: #2b2666;
  --violet: #5b3df5;
  --violet-deep: #4a2fd9;
  --violet-soft: #8f7bff;
  --gold: #ffc23d;
  --paper: #f7f7fb;
  --mist: #e8e6f5;
  --line: #d9d6ea;
  --text: #26233f;
  --muted: #5e5a7a;
  --white: #fff;

  --display: "Bricolage", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* type scale (≈ 1.25, classic) */
  --s-1: 0.875rem;
  --s0: 1.0625rem;
  --s1: 1.25rem;
  --s2: 1.5625rem;
  --s3: clamp(1.75rem, 1.4rem + 1.6vw, 2.4rem);
  --s4: clamp(2.2rem, 1.6rem + 2.8vw, 3.6rem);
  --s5: clamp(2.6rem, 1.7rem + 4.4vw, 5.2rem);

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-lg: 28px;
  --radius: 14px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--s0);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--violet-deep); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-optical-sizing: auto;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--s5); font-weight: 750; letter-spacing: -0.035em; }
h2 { font-size: var(--s4); }
h3 { font-size: var(--s2); letter-spacing: -0.01em; }
h4 { font-size: var(--s1); letter-spacing: 0; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--gold); color: var(--ink); padding: 0.6rem 1rem; font-weight: 600; }
.skip:focus { left: 1rem; top: 1rem; }

.lead { font-size: var(--s1); line-height: 1.55; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 600 1rem/1 var(--body);
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--violet); color: var(--white); }
.btn-primary:hover { background: var(--violet-deep); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffd36e; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 247, 251, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--ink); }
.brand span { font: 760 1.5rem/1 var(--display); letter-spacing: -0.04em; }
.brand-light { color: var(--white); }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav > ul { display: flex; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 550; font-size: 0.98rem; }
.site-nav > ul > li > a { display: block; padding: 0.55rem 0.7rem; border-radius: 999px; }
.site-nav > ul > li > a:hover, .site-nav a[aria-current] { background: var(--mist); color: var(--ink); }
.has-sub { position: relative; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  list-style: none; margin: 0; padding: 0.5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px -18px rgba(30, 26, 77, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 0.55rem 0.75rem; border-radius: var(--radius-sm); }
.sub a:hover { background: var(--paper); color: var(--violet-deep); }
.menu-btn { display: none; }

@media (max-width: 1020px) {
  .menu-btn {
    display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer;
  }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background-color .2s; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 72px 0 0 0; background: var(--paper);
    flex-direction: column; align-items: stretch; padding: 1.5rem var(--gutter) 3rem; overflow-y: auto;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; }
  .site-nav > ul > li > a { font: 650 1.4rem/1.2 var(--display); padding: 0.7rem 0; border-radius: 0; }
  .site-nav > ul > li > a:hover, .site-nav a[aria-current] { background: none; color: var(--violet); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0.5rem 0.75rem; background: none; min-width: 0; }
  .sub a { padding: 0.35rem 0; color: var(--muted); }
  .nav-cta { margin-top: 1.5rem; align-self: flex-start; }
  body.nav-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.hero::after { /* faint star field */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 68%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 12%, #c9c0ff 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 82%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 40%, #c9c0ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 52% 88%, #fff 50%, transparent 51%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero h1 { color: var(--white); margin-bottom: 1.5rem; max-width: 13ch; }
.hero .lead { color: #cfcbec; }
.hero-points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0.6rem; color: #e4e1fa; }
.hero-points li { display: flex; gap: 0.7rem; align-items: baseline; }
.hero-points .spark { width: 12px; height: 12px; fill: var(--gold); flex: none; transform: translateY(1px); }

.hero-visual { position: relative; }
.hero-photo {
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-nova {
  position: absolute; width: 58%; left: -22%; bottom: 8%;
  fill: var(--violet-soft); filter: drop-shadow(0 10px 30px rgba(91, 61, 245, .55));
  transform-origin: 40% 50%;
}
.hero-flare { position: absolute; width: 16%; right: 6%; top: 4%; fill: var(--gold); }
.hero-tag {
  position: absolute; right: -0.5rem; bottom: 12%;
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: 0.9rem 1.1rem; max-width: 230px; font-size: 0.92rem; line-height: 1.4;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
}
.hero-tag strong { display: block; font: 700 1.05rem/1.2 var(--display); margin-bottom: 0.2rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-nova { animation: nova 1.4s cubic-bezier(.2,.8,.2,1) both .2s; }
  .hero-flare { animation: flare 2.2s ease-out both .9s; }
  @keyframes nova { from { transform: scale(0.15) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes flare { 0% { transform: scale(0); opacity: 0; } 40% { transform: scale(1.35); opacity: 1; } 100% { transform: scale(1); } }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-left: 12%; }
}

/* compact hero for inner pages */
.page-hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; padding-block: clamp(3rem, 7vw, 5.5rem); display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 3rem; align-items: center; }
.page-hero h1 { color: var(--white); font-size: var(--s4); max-width: 18ch; }
.page-hero .lead { color: #cfcbec; }
.page-hero-star { position: absolute; right: -6%; top: 50%; width: min(46vw, 560px); transform: translateY(-50%); fill: var(--ink-2); }
.page-hero-photo { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 160px; overflow: hidden; aspect-ratio: 1; }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero-photo { max-width: 360px; } }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 1rem 0 0; margin: 0; font-size: var(--s-1); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.crumbs a { color: var(--muted); }
main > .wrap:first-child + .page-hero, main > .wrap:first-child { }
/* put breadcrumbs on paper above dark hero */

/* ---------- sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p { color: var(--muted); font-size: var(--s1); }
.bg-white { background: var(--white); }
.bg-mist { background: var(--mist); }

/* audience split (home) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.split-card { border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); display: flex; flex-direction: column; }
.split-card h3 { font-size: var(--s3); }
.split-card ul { padding-left: 1.1rem; margin: 0 0 1.5rem; }
.split-card li { margin-bottom: 0.4rem; }
.split-card .btn { margin-top: auto; align-self: flex-start; }
.split-employer { background: var(--violet); color: var(--white); }
.split-employer h3 { color: var(--white); }
.split-seeker { background: var(--white); border: 1px solid var(--line); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* service rows: a list, not cards */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-list a {
  display: grid; grid-template-columns: minmax(200px, 0.9fr) 1.6fr auto; gap: 2rem; align-items: center;
  padding: 1.75rem 0.5rem; text-decoration: none; color: var(--text);
  transition: background-color .15s;
}
.service-list a:hover { background: var(--white); }
.service-list h3 { margin: 0; font-size: var(--s2); }
.service-list p { margin: 0; color: var(--muted); }
.service-list .go { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--violet); }
.service-list a:hover .go { background: var(--violet); color: var(--white); border-color: var(--violet); }
@media (max-width: 760px) { .service-list a { grid-template-columns: 1fr auto; gap: 0.5rem 1rem; } .service-list p { grid-column: 1; } .service-list .go { grid-row: 1 / span 2; grid-column: 2; } }

/* industry mosaic */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.tile {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 260px;
  display: flex; align-items: flex-end; text-decoration: none; color: var(--white); background: var(--ink-2);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,26,77,0) 35%, rgba(30,26,77,.88)); }
.tile:hover img { transform: scale(1.04); }
.tile-body { position: relative; z-index: 1; padding: 1.4rem 1.5rem; }
.tile h3 { color: var(--white); margin: 0 0 0.2rem; font-size: var(--s2); }
.tile p { margin: 0; color: #dcd8f5; font-size: 0.95rem; }
.tile-1 { grid-column: span 3; min-height: 340px; }
.tile-2 { grid-column: span 3; min-height: 340px; }
.tile-3, .tile-4 { grid-column: span 2; }
.tile-text { grid-column: span 2; background: var(--gold); color: var(--ink); align-items: stretch; }
.tile-text::after { display: none; }
.tile-text .tile-body { display: flex; flex-direction: column; justify-content: space-between; }
.tile-text h3 { color: var(--ink); }
.tile-text p { color: var(--ink); }
@media (max-width: 900px) { .mosaic { grid-template-columns: 1fr 1fr; } .tile-1, .tile-2, .tile-3, .tile-4, .tile-text { grid-column: span 1; min-height: 240px; } }
@media (max-width: 560px) { .mosaic { grid-template-columns: 1fr; } }

/* process steps: real sequence, so numbers */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.steps li { counter-increment: step; position: relative; padding-top: 4.2rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  font: 750 3rem/1 var(--display); color: var(--violet); letter-spacing: -0.04em;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.5rem; left: 3.2rem; right: -1rem; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps h3 { font-size: var(--s1); margin-bottom: 0.4rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* commitments: two-column prose with marks */
.commit { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.commit-list { display: grid; gap: 2rem; }
.commit-item { display: grid; grid-template-columns: 28px 1fr; gap: 1rem; }
.commit-item .spark { width: 22px; height: 22px; fill: var(--violet); margin-top: 0.3rem; }
.commit-item h3 { font-size: var(--s1); margin-bottom: 0.3rem; }
.commit-item p { margin: 0; color: var(--muted); }
.commit-photo { border-radius: var(--radius-lg); overflow: hidden; position: sticky; top: 100px; }
@media (max-width: 860px) { .commit { grid-template-columns: 1fr; } .commit-photo { position: static; } }

/* texas band */
.texas { position: relative; color: var(--white); overflow: hidden; background: var(--ink); }
.texas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.texas .wrap { position: relative; padding-block: clamp(4rem, 9vw, 7rem); }
.texas h2 { color: var(--white); max-width: 16ch; }
.texas p { max-width: 58ch; color: #e7e4fb; font-size: var(--s1); }
.city-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.city-list li { border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.95rem; }

/* generic content */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--s3); margin-top: 2.2em; }
.prose h3 { font-size: var(--s1); margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.45rem; }
.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; position: sticky; top: 100px; }
.aside-card h2, .aside-card h3 { font-size: var(--s2); }
.aside-card ul { padding-left: 1.1rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.6rem; }
.check-list li { padding-left: 1.8rem; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 12px; height: 12px; background: var(--violet); clip-path: path("M6 0 Q6.75 5.25 12 6 Q6.75 6.75 6 12 Q5.25 6.75 0 6 Q5.25 5.25 6 0Z"); }

.role-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.role-cloud li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.95rem; font-size: 0.95rem; }

.fit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.5rem 3rem; }
.fit-grid h3 { font-size: var(--s1); margin-bottom: 0.4rem; }
.fit-grid p { color: var(--muted); margin: 0; }
.fit-grid > div { border-top: 2px solid var(--ink); padding-top: 1.25rem; }

/* comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.98rem; }
th, td { text-align: left; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--display); font-size: 1.05rem; color: var(--ink); background: var(--mist); }
tbody th { font-weight: 600; color: var(--ink); }
tr:last-child td, tr:last-child th { border-bottom: 0; }

/* FAQ */
.faq h2 { font-size: var(--s3); margin-bottom: 1.5rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; font: 650 1.15rem/1.35 var(--display); color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 1.05rem; font: 400 1.6rem/1 var(--body); color: var(--violet); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding-bottom: 1.25rem; color: var(--muted); max-width: 66ch; }

/* CTA band */
.cta-band { background: var(--violet); color: var(--white); position: relative; overflow: hidden; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2rem 3rem; align-items: center; padding-block: clamp(3.5rem, 7vw, 5rem); }
.cta-band h2 { color: var(--white); font-size: var(--s3); max-width: 22ch; }
.cta-band p { color: #e5e0ff; margin: 0; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-star { position: absolute; right: -8%; bottom: -60%; width: 520px; fill: rgba(255,255,255,.08); pointer-events: none; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.75rem); }
.form-card h2 { font-size: var(--s3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 0.8rem 0.95rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); background: var(--white); box-shadow: 0 0 0 4px rgba(91,61,245,.15); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.form-note { font-size: var(--s-1); color: var(--muted); margin-top: 1rem; }
.form-status { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: var(--radius-sm); display: none; }
.form-status.ok { display: block; background: #e7f8ef; color: #15603a; }
.form-status.err { display: block; background: #fdeceb; color: #8a1f17; }

/* ---------- jobs ---------- */
.job-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.job-list a { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; text-decoration: none; color: var(--text); }
.job-list a:hover { border-color: var(--violet); }
.job-list h3 { margin: 0 0 0.3rem; font-size: var(--s1); }
.job-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; color: var(--muted); font-size: 0.95rem; margin: 0 0 0.5rem; padding: 0; list-style: none; }
.empty-state { background: var(--white); border: 1.5px dashed var(--violet-soft); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); text-align: left; }
.empty-state .spark { width: 34px; height: 34px; fill: var(--gold); margin-bottom: 1rem; }

/* ---------- insights ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--text); display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card div { padding: 1.4rem 1.5rem 1.6rem; }
.post-card h3 { font-size: var(--s1); margin-bottom: 0.5rem; }
.post-card p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.post-card:hover h3 { color: var(--violet-deep); }
.post-date { font-size: var(--s-1); color: var(--muted); display: block; margin-bottom: 0.4rem; }
.article-hero img { border-radius: var(--radius-lg); aspect-ratio: 21 / 9; object-fit: cover; width: 100%; margin-top: 2rem; }

/* ---------- about / values ---------- */
.statement { font: 650 var(--s3)/1.25 var(--display); color: var(--ink); max-width: 28ch; letter-spacing: -0.02em; }
.photo-pair { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem; align-items: end; }
.photo-pair img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; }
.photo-pair img:first-child { aspect-ratio: 4 / 3; }
.photo-pair img:last-child { aspect-ratio: 3 / 4; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cfcbec; padding-top: clamp(3.5rem, 7vw, 5rem); font-size: 0.97rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer h2 { font: 650 1.05rem/1.2 var(--display); color: var(--white); margin-bottom: 1rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: #cfcbec; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand p { max-width: 38ch; margin-top: 1rem; }
.socials { display: flex; gap: 1rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.14); padding-block: 1.5rem; font-size: var(--s-1); }
.footer-base p { margin: 0; }
.footer-base a { margin-left: 1.25rem; }
.footer-base a:first-child { margin-left: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* 404 */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 5rem; }
.not-found svg { width: 120px; fill: var(--violet); margin: 0 auto 1.5rem; }

/* fixes */
.site-nav .nav-cta { color: var(--white); }
.site-nav .nav-cta:hover { color: var(--white); }
.post-card img, .commit-photo img, .photo-pair img, .page-hero-photo img, .article-hero img { background: var(--mist); }
.page-hero-photo, .hero-photo { background: var(--ink-2); }
