/* Mariefindsjobs — design system
   Palette: paper #FBF7F0, ink #1B1A17, green #1F3D2F, clay #C4643B, muted #5F594F, hairline #E2D9C9
   Derived (for contrast only): --clay-ink #9A4421 (clay for small text, 6.1:1 on paper),
   --paper-2 #F4EDE0 (a slightly deeper paper for cards and placeholders).
   Clay #C4643B itself is 3.8:1 on paper, so it is used only for large text, rules and marks. */

:root {
  --paper: #FBF7F0;
  --paper-2: #F4EDE0;
  --ink: #1B1A17;
  --green: #1F3D2F;
  --clay: #C4643B;
  --clay-ink: #9A4421;
  --muted: #5F594F; /* 6.5:1 on paper, 6.0:1 on paper-2 */
  --rule: 1px solid var(--hair);
  --hair: #E2D9C9;
  --on-green-soft: #D9D2C3;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter Tight", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --space-section: clamp(56px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.8vw, 4.25rem); line-height: 1.04; letter-spacing: -0.022em; font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(1.85rem, 3.4vw, 3rem); line-height: 1.1; letter-spacing: -0.018em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.2; letter-spacing: -0.01em; }
em { font-style: italic; color: var(--clay); } /* only used inside large display type */
strong { font-weight: 650; }

a { color: var(--green); text-decoration: underline; text-decoration-color: var(--clay); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.on-green :focus-visible, .site-footer :focus-visible { outline-color: var(--ink); }
.on-green :focus-visible { outline-color: var(--paper); }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 18px; min-height: 44px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; outline-color: var(--clay); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.prose p, .prose li { max-width: 62ch; }
.lead { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.55; max-width: 44ch; }
.muted { color: var(--muted); }
.small { font-size: 0.95rem; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Placeholders: visible on purpose. Search the source for data-ph before launch. */
mark.ph {
  background: var(--paper-2);
  color: var(--clay-ink);
  border-bottom: 2px dashed var(--clay);
  padding: 0 0.2em;
  font-weight: 500;
}

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--hair); background: var(--paper); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand img { width: 36px; height: 36px; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.015em; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover { border-bottom-color: var(--clay); }
.site-nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--green); font-weight: 650; }
.nav-toggle {
  display: none; min-height: 44px; min-width: 44px; padding: 0 16px;
  background: transparent; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 4px;
  font: inherit; font-weight: 600; cursor: pointer;
}
.nav-toggle[aria-expanded="true"] { background: var(--ink); color: var(--paper); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--ink);
    padding: 8px var(--gutter) 24px; display: none;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav li { border-top: 1px solid var(--hair); }
  .js .site-nav li:first-child { border-top: 0; }
  .js .site-nav a:not(.btn) { min-height: 52px; padding: 0; width: 100%; border-bottom: 0; font-size: 1.15rem; }
  .js .site-nav li:last-child { padding-top: 14px; }
  .js .site-nav .btn { width: 100%; }
  /* no-JS: nav simply wraps under the brand */
  .header-inner { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 4px;
  font: inherit; font-weight: 650; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1.5px solid var(--green);
  background: var(--green); color: var(--paper);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 0.98rem; }
.btn-on-green { background: var(--paper); color: var(--green); border-color: var(--paper); }
.btn-on-green:hover { background: var(--paper-2); color: var(--ink); border-color: var(--paper-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Sections ---------- */
.section { border-top: var(--rule); padding-block: var(--space-section); }
.section.tight { padding-block: clamp(40px, 6vw, 72px); }
.split { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 88px); }
  .split > .split-head { position: sticky; top: 24px; align-self: start; }
}
.split-head p { color: var(--muted); margin-top: 16px; max-width: 30ch; font-size: 1.05rem; }

/* Page intro (inner pages) */
.page-intro { padding-block: clamp(48px, 8vw, 104px) clamp(40px, 6vw, 72px); }
.page-intro h1 { max-width: 18ch; }
.page-intro .lead { margin-top: 24px; }
.crumb { font-size: 0.95rem; color: var(--muted); margin-bottom: 20px; }

/* Interior-page hero: copy left, typographic meta rail right (stacks below on small screens) */
.intro-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 7fr 4fr; gap: clamp(40px, 6vw, 88px); align-items: end; }
}
.meta-rail { border-top: var(--rule); }
.rail-label { margin: 0; padding: 14px 0 6px; font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.rail-index { list-style: none; }
.rail-index li { border-top: var(--rule); }
.rail-index a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; }
.rail-index a:hover { color: var(--green); }
.rail-index a:hover span:first-child { text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: 0.2em; }
.rail-val { font-family: var(--mono); font-size: 0.95rem; color: var(--clay-ink); white-space: nowrap; }
.rail-facts { margin: 0; }
.rail-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: var(--rule); }
.rail-facts > div:first-child { border-top: 0; }
.rail-facts dt { font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.rail-facts dd { margin: 0; text-align: right; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.3; }
.rail-count { margin: 0; padding-top: 14px; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.1; letter-spacing: -0.018em; }
.rail-note { margin: 6px 0 0; color: var(--muted); }
.rail-link { display: inline-flex; align-items: center; min-height: 44px; }
.pull { margin: 0; padding-top: 18px; }
.pull p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); max-width: 28ch; text-wrap: balance; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(44px, 8vw, 104px) clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; gap: clamp(36px, 6vw, 72px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 3fr 2fr; } }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 28px; max-width: 40ch; }
.hero-note { margin-top: 20px; font-size: 0.98rem; color: var(--muted); }

/* Digest card (real content card) */
.card {
  background: var(--paper-2); border: 1px solid var(--ink);
  }
.card-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 16px 20px; border-bottom: 1px solid var(--ink); }
.card-title { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.card-date { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); }
.entries { list-style: none; }
.entry { padding: 18px 20px; border-bottom: 1px solid var(--hair); }
.entry:last-child { border-bottom: 0; }
.entry-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 12px; }
.entry-role { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.25; }
.entry-meta { margin: 6px 0 0; font-size: 0.95rem; color: var(--muted); line-height: 1.5; }
.entry-meta mark.ph { color: var(--clay-ink); }
.tag {
  display: inline-block; font-size: 0.85rem; font-weight: 650; line-height: 1;
  padding: 6px 9px; border: 1.5px solid currentColor; border-radius: 3px; white-space: nowrap;
}
.tag-ok { color: var(--green); }
.tag-drop { color: var(--clay-ink); }
.card-foot { padding: 14px 20px; border-top: 1px solid var(--ink); font-size: 0.92rem; color: var(--muted); line-height: 1.5; }

/* ---------- Proof strip ---------- */
.proof { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hair); }
.proof ul { list-style: none; display: grid; grid-template-columns: 1fr; }
.proof li { padding: 22px 0; border-top: 1px solid var(--hair); }
.proof li:first-child { border-top: 0; }
.proof strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.proof span { display: block; margin-top: 4px; font-size: 0.98rem; color: var(--muted); line-height: 1.45; }
@media (min-width: 760px) {
  .proof ul { grid-template-columns: repeat(4, 1fr); }
  .proof li { padding: 28px 24px 28px 0; border-top: 0; border-left: 1px solid var(--hair); padding-left: 24px; }
  .proof li:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Editorial lists ---------- */
.rows { list-style: none; }
.rows > li { padding: 26px 0; border-top: 1px solid var(--hair); }
.rows > li:first-child { border-top: 0; padding-top: 0; }
.rows h3 { margin-bottom: 8px; }
.rows p { margin: 0; max-width: 56ch; }

.numbered { list-style: none; counter-reset: n; }
.numbered > li { counter-increment: n; display: grid; grid-template-columns: 56px 1fr; gap: 8px 12px; padding: 26px 0; border-top: 1px solid var(--hair); }
.numbered > li:first-child { border-top: 0; padding-top: 0; }
.numbered > li::before { content: counter(n, decimal-leading-zero); font-family: var(--mono); font-size: 0.9rem; color: var(--clay-ink); padding-top: 0.5em; }
.numbered h3 { margin-bottom: 8px; }
.numbered p { margin: 0; max-width: 56ch; }

/* ---------- Statement band ---------- */
.band { background: var(--green) url("assets/rule-pattern.svg"); color: var(--paper); padding-block: clamp(64px, 11vw, 148px); }
.band p { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 4.6vw, 3.9rem); line-height: 1.12; letter-spacing: -0.02em; max-width: 24ch; margin: 0; color: var(--paper); text-wrap: balance; }
.band .band-sub { font-family: var(--sans); font-size: 1.15rem; line-height: 1.6; letter-spacing: 0; color: var(--on-green-soft); max-width: 50ch; margin-top: 28px; }
.band em { color: #E9A583; } /* light clay tint for large text on green, 5.4:1 */

/* ---------- Offer rows (home summary) ---------- */
.offer-list { list-style: none; border-top: 1px solid var(--ink); }
.offer-list > li { display: grid; gap: 10px 32px; grid-template-columns: 1fr; padding: 28px 0; border-bottom: 1px solid var(--hair); align-items: start; }
@media (min-width: 760px) { .offer-list > li { grid-template-columns: 1fr 190px auto; align-items: center; } }
.offer-name { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; line-height: 1.15; }
.offer-list p { margin: 6px 0 0; color: var(--muted); max-width: 46ch; font-size: 1.02rem; line-height: 1.5; }
.price { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; line-height: 1.1; }
.price small { display: block; font-family: var(--sans); font-size: 0.92rem; color: var(--muted); margin-top: 4px; }

/* ---------- Process ---------- */
.steps { list-style: none; counter-reset: s; display: grid; gap: 0; grid-template-columns: 1fr; }
.steps > li { counter-increment: s; padding: 22px 0 26px; border-top: 1px solid var(--ink); }
.steps > li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 0.95rem; color: var(--clay-ink); margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
}

/* ---------- Pricing detail ---------- */
.offer { border-top: 1px solid var(--hair); padding-block: clamp(48px, 7vw, 88px); scroll-margin-top: 12px; }
.offer:first-of-type { border-top: 1px solid var(--ink); }
.offer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .offer-grid { grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 88px); } }
.offer-side .price-big { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.02em; margin-top: 18px; }
.offer-side .price-alt { margin-top: 8px; color: var(--muted); font-size: 1.02rem; }
.offer-side .btn { margin-top: 24px; }
.spec { margin: 0; }
.spec > div { padding: 20px 0; border-top: 1px solid var(--hair); }
.spec > div:first-child { border-top: 0; padding-top: 0; }
.spec dt { font-weight: 650; font-size: 1rem; color: var(--green); margin-bottom: 6px; }
.spec dd { margin: 0; }
.spec ul { list-style: none; }
.spec li { position: relative; padding-left: 22px; margin-bottom: 6px; max-width: 58ch; }
.spec li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--clay); }
.not-for-you { border-left: 3px solid var(--clay); padding: 4px 0 4px 18px; margin-top: 4px; }
.not-for-you b { color: var(--clay-ink); font-weight: 650; }

.note-block { background: var(--paper-2); border: 1px solid var(--ink); padding: clamp(24px, 4vw, 44px); }
.note-block h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 20px; }
.note-block ul { list-style: none; display: grid; gap: 14px; }
.note-block li { padding-left: 24px; position: relative; max-width: 64ch; }
.note-block li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 12px; height: 2px; background: var(--ink); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: flex-start; align-items: center; gap: 8px;
  max-width: 44rem; min-height: 64px; padding: 14px 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.5rem; color: var(--clay-ink); flex: none; width: 44px; text-align: center; margin-left: auto; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 26px; max-width: 44rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- About ---------- */
.glance { list-style: none; }
.glance li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--hair); }
.glance li:last-child { border-bottom: 0; }
.glance span:first-child { color: var(--muted); font-size: 0.98rem; }
.glance span:last-child { text-align: right; font-weight: 600; }
.wont { list-style: none; }
.wont li { padding: 18px 0 18px 30px; border-top: 1px solid var(--hair); position: relative; max-width: 62ch; }
.wont li:first-child { border-top: 0; }
.wont li::before { content: "\2715"; position: absolute; left: 0; top: 18px; color: var(--clay-ink); font-size: 0.95rem; }
.wont strong { display: block; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; }
.field label, .field legend { display: block; font-weight: 650; margin-bottom: 6px; padding: 0; }
.field .hint { display: block; font-weight: 400; font-size: 0.95rem; color: var(--muted); margin-top: 2px; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: #FFFDF9; border: 1.5px solid var(--muted); border-radius: 4px;
}
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="date"] { min-height: 46px; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: none; padding-right: 40px; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-color: var(--green); }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 24px; height: 24px; margin: 10px 0 0; flex: none; accent-color: var(--green); }
.check label { margin: 0; font-weight: 400; min-height: 44px; display: block; padding-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 16px 18px; border: 1.5px solid var(--green); border-radius: 4px; background: var(--paper-2); }
.form-status[hidden] { display: none; }
.form-status.is-error { border-color: var(--clay-ink); }
.country-hint { color: var(--clay-ink); font-size: 0.98rem; margin-top: 6px; }
.country-hint[hidden] { display: none; }
.aside-box { border-left: 3px solid var(--green); padding: 4px 0 4px 20px; }
.aside-box p { margin-bottom: 0.7em; }
.aside-box:last-child p:last-child { margin-bottom: 0; }
.prefer-email { margin-top: 36px; }

/* ---------- Legal ---------- */
.legal h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 16px; }
.legal h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.2; margin: 32px 0 8px; }
.legal section { padding-block: 40px; border-top: var(--rule); scroll-margin-top: 12px; }
.legal section > * { max-width: 56ch; }
.legal-note, .legal-date { font-size: 1rem; margin: 20px 0 0; max-width: 62ch; }
.legal-date { margin-top: 6px; color: var(--muted); }
.page-intro .legal-note mark.ph { background: none; border: 0; padding: 0; font-weight: 400; color: var(--clay-ink); }

/* ---------- CTA close ---------- */
.cta-close h2 { max-width: 16ch; }
.cta-close p { margin-top: 18px; max-width: 46ch; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--ink); padding-block: clamp(44px, 6vw, 72px) 28px; margin-top: 0; background: var(--paper); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; gap: 64px; } }
.site-footer h2 { font-family: var(--sans); font-size: 1rem; font-weight: 650; letter-spacing: 0; margin-bottom: 10px; }
.site-footer ul { list-style: none; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.site-footer p { font-size: 1rem; max-width: 40ch; }
.footer-brand .brand-name { font-size: 1.5rem; }
.footer-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--hair); font-size: 0.95rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-base p { margin: 0; max-width: none; }

/* ---------- Motion (subtle, opt-in) ---------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Hit areas ---------- */
/* Links in running text and breadcrumbs get a 44px target through padding (inline padding does not change line layout) */
main p a:not(.btn):not(.rail-link), main li a:not(.btn), main dd a:not(.btn) { padding-block: 13px; }
main p.crumb a:not(.btn):not(.rail-link) { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
  .numbered > li { grid-template-columns: 36px 1fr; }
}
@media (max-width: 480px) {
  /* button pairs: one full-width column, equal height */
  .btn-row { display: grid; grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 12px; }
  .btn-row .btn { width: 100%; }

  /* form controls: never below 16px (stops iOS zoom-on-focus) */
  .field input[type="text"], .field input[type="email"], .field select, .field textarea { font-size: max(16px, 1rem); }

  /* digest card */
  .tag { font-size: 14px; }
  .card-date { font-size: 1rem; color: var(--ink); }

  main p.crumb { margin-bottom: 8px; }
}
@media (max-width: 399px) {
  .entry-top { flex-direction: column; align-items: flex-start; }
}

/* ---- Live leads board ---- */
.board { padding: var(--space-section) 0 0; }
.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; }
.board-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 2rem); }

.job-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0; }
.job-card { border-bottom: var(--rule); padding: 26px 0; display: grid; gap: 10px; align-content: start; }
.job-card:nth-child(odd) { padding-right: clamp(0px, 3vw, 34px); }
.job-skeleton { min-height: 132px; background: linear-gradient(90deg, rgba(0,0,0,.035), rgba(0,0,0,.01)); }
.job-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: var(--sans); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.job-meta .job-cat { color: var(--clay-ink); }
.job-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.job-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.12rem, 1.6vw, 1.35rem); line-height: 1.25; }
.job-title a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--clay); padding-bottom: 2px; transition: border-color .15s ease, color .15s ease; }
.job-title a:hover, .job-title a:focus-visible { color: var(--clay-ink); border-bottom-width: 2px; border-color: var(--clay-ink); }
.job-title a:focus-visible { outline: 2px solid var(--clay-ink); outline-offset: 4px; }
.job-foot { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; font-size: .92rem; color: var(--muted); }
.job-pay { color: var(--ink); font-variant-numeric: tabular-nums; }
.job-board { margin-left: auto; font-size: .82rem; letter-spacing: .04em; }
.job-board a { color: var(--muted); border-bottom: 1px solid var(--hair); text-decoration: none; padding-bottom: 1px; min-height: 44px; display: inline-flex; align-items: center; }
.job-board a:hover, .job-board a:focus-visible { color: var(--clay-ink); border-color: var(--clay); }
.board-foot { margin-top: 22px; max-width: 60ch; }
.apply-strip { margin-top: var(--space-section); border-top: 1px solid var(--ink); background: var(--paper); }
.strip-inner { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; padding: clamp(28px, 5vw, 46px) 0; }
.strip-inner h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.7rem); }
@media (max-width: 640px) {
  .job-card { padding: 22px 0; }
  .job-board { margin-left: 0; }
}

/* honeypot field is visible by design and still needs a real tap target */
.hp { display: grid; gap: 6px; }
.hp label { font-weight: 650; font-size: .95rem; }
.hp input { width: 100%; min-height: 44px; padding: 10px 14px; font: inherit; color: var(--ink); background: #FFFDF9; border: 1.5px solid var(--muted); border-radius: 4px; }

/* role carried over from the live leads board */
.role-panel { border: 1px solid var(--ink); border-left-width: 3px; border-left-color: var(--clay); padding: 20px 22px; margin-bottom: 26px; display: grid; gap: 8px; }
.role-panel h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.role-panel .job-board { margin-left: 0; }
.role-panel a { color: var(--clay-ink); }

/* board timer: the only visible trace of rotation */
.board-timer { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-family: var(--mono); font-size: .82rem; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.timer-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); animation: timerPulse 3s ease-in-out infinite; }
@keyframes timerPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .timer-dot { animation: none; opacity: .8; } }
@media (max-width: 640px) { .board-timer { font-size: .78rem; } }
