/*
Theme Name: iotain
Theme URI: https://www.iotain.com/
Author: iotain
Description: iotain AI services website: agentic AI, LLM fine-tuning, LLM security, model training, video annotation, with blog, case studies and careers.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: iotain
*/

/* iotain — layout: left-aligned editorial grid, a single "annotation console" signature
   visual in the hero, then alternating full-bleed bands for each core service. */
:root {
  --bg: #f2f4f3;
  --surface: #ffffff;
  --ink: #0f1c24;
  --muted: #55636b;
  --line: #d5dcdc;
  --accent: #1f47e0;        /* cobalt: actions and links */
  --accent-ink: #ffffff;
  --band: #0f1c24;          /* dark feature band */
  --band-ink: #e9eeee;
  --band-muted: #9aa9ad;
  --band-line: #2a3a44;
  --s-prod: #1f9e74;        /* annotation: productive */
  --s-idle: #e0a43a;        /* annotation: idle */
  --s-non: #e0583f;         /* annotation: non-productive */
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b141a; --surface: #111e26; --ink: #e6ecec; --muted: #94a3a8; --line: #22323b;
    --accent: #6c8bff; --accent-ink: #08101a;
    --band: #16252f; --band-ink: #e9eeee; --band-muted: #9aa9ad; --band-line: #2c3e49;
    --s-prod: #3cc495; --s-idle: #f0b553; --s-non: #f07a62;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b141a; --surface: #111e26; --ink: #e6ecec; --muted: #94a3a8; --line: #22323b;
  --accent: #6c8bff; --accent-ink: #08101a;
  --band: #16252f; --band-ink: #e9eeee; --band-muted: #9aa9ad; --band-line: #2c3e49;
  --s-prod: #3cc495; --s-idle: #f0b553; --s-non: #f07a62;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 650; }
h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font: 500 0.75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted);
  display: inline-flex; align-items: center; gap: 0.6em;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--accent); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }

.btn {
  display: inline-flex; align-items: center; gap: 0.5em; padding: 0.85em 1.3em;
  font: 600 0.95rem/1 var(--f-body); text-decoration: none; border-radius: var(--radius);
  border: 1.5px solid var(--accent); background: var(--accent); color: var(--accent-ink);
  transition: transform .15s ease, background .15s ease; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font: 700 1.3rem/1 var(--f-display); letter-spacing: 0.06em; }
.logo svg { height: 30px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); padding: 8px 10px; font: 500 0.85rem var(--f-mono); cursor: pointer; }
@media (max-width: 1120px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: inline-block; }
  .nav-cta .btn { display: none; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.models { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font: 500 0.8rem var(--f-mono); color: var(--muted); }
.models span:first-child { text-transform: uppercase; letter-spacing: .12em; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }

/* annotation console */
.console { background: var(--band); color: var(--band-ink); border-radius: 10px; padding: 14px; min-width: 0;
  box-shadow: 0 30px 60px -30px rgba(10, 20, 30, .45); }
.console-bar { display: flex; justify-content: space-between; gap: 12px; font: 500 0.72rem var(--f-mono); color: var(--band-muted); padding: 2px 4px 12px; }
.console-bar b { color: var(--band-ink); font-weight: 500; }
.rec { display: inline-flex; align-items: center; gap: 6px; }
.rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--s-non); animation: blink 1.4s infinite; }
.frame { position: relative; aspect-ratio: 16 / 10; width: 100%; border: 1px solid var(--band-line); border-radius: 4px; overflow: hidden; }
.frame svg { display: block; width: 100%; height: 100%; }
.scan { position: absolute; top: 0; bottom: 0; width: 2px; background: color-mix(in srgb, var(--band-ink) 55%, transparent);
  box-shadow: 0 0 18px 4px color-mix(in srgb, var(--accent) 50%, transparent); animation: scan 6s linear infinite; }
.timeline { margin-top: 12px; display: grid; gap: 6px; }
.track { position: relative; display: flex; height: 16px; border-radius: 3px; overflow: hidden; }
.track i { display: block; height: 100%; }
.track .p { background: var(--s-prod); } .track .d { background: var(--s-idle); } .track .n { background: var(--s-non); }
.playhead { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--band-ink); animation: play 6s linear infinite; }
.ticks { display: flex; justify-content: space-between; font: 400 0.65rem var(--f-mono); color: var(--band-muted); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 500 0.72rem var(--f-mono); color: var(--band-muted); padding-top: 4px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend span::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--c); }
@keyframes scan { from { left: 0; } to { left: 100%; } }
@keyframes play { from { left: 0; } to { left: calc(100% - 2px); } }
@keyframes blink { 50% { opacity: .2; } }
@keyframes dash { to { stroke-dashoffset: -40; } }

/* ---------- core services ---------- */
.core { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.core article { background: var(--surface); padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 14px; align-content: start; }
.core .tag { font: 500 0.72rem var(--f-mono); color: var(--accent); text-transform: uppercase; letter-spacing: .12em; }
.core p { color: var(--muted); }
.core ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.core li { padding-left: 20px; position: relative; font-size: 0.97rem; }
.core li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 9px; height: 1.5px; background: var(--accent); }
.glyph { width: 44px; height: 44px; color: var(--ink); }
@media (max-width: 760px) { .core { grid-template-columns: 1fr; } }

/* ---------- dark band (video annotation) ---------- */
.band { background: var(--band); color: var(--band-ink); }
.band .eyebrow, .band .lede { color: var(--band-muted); }
.band a { color: var(--band-ink); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.states { display: grid; gap: 14px; margin-top: 28px; }
.state { display: grid; grid-template-columns: 14px 1fr; gap: 14px; align-items: start; }
.state::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border-radius: 3px; background: var(--c); }
.state b { display: block; font-weight: 600; }
.state span { color: var(--band-muted); font-size: 0.95rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--band-line); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; font: 400 0.76rem/1.4 var(--f-mono); font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 10px; white-space: nowrap; border-bottom: 1px solid var(--band-line); }
th { font-weight: 500; color: var(--band-muted); text-transform: uppercase; letter-spacing: .08em; font-size: 0.68rem; }
tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 0.72rem; color: #0b141a; background: var(--c); }
.caption { margin-top: 12px; font: 400 0.75rem var(--f-mono); color: var(--band-muted); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 20px; background: var(--band-line); border: 1px solid var(--band-line); border-radius: 8px; overflow: hidden; }
.kpis div { background: var(--band); padding: 16px; display: grid; gap: 4px; }
.kpis b { font: 600 1.5rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.kpis span { font: 400 0.72rem var(--f-mono); color: var(--band-muted); }

/* ---------- fine-tuning pipeline ---------- */
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.pipeline li { padding: 18px 18px 0 0; display: grid; gap: 8px; align-content: start; position: relative; }
.pipeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--bg); border: 2px solid var(--ink); border-radius: 50%; }
.pipeline .n { font: 500 0.75rem var(--f-mono); color: var(--accent); padding-top: 6px; }
.pipeline p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 920px) {
  .pipeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); gap: 22px; }
  .pipeline li { padding: 0 0 0 24px; }
  .pipeline li::before { top: 4px; left: -7px; }
  .pipeline .n { padding-top: 0; }
}
.sources { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.sources span { font: 500 0.8rem var(--f-mono); padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); }

/* ---------- rubric ---------- */
.rubric { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow-x: auto; }
.rubric table { font-family: var(--f-body); font-size: 0.92rem; }
.rubric th, .rubric td { border-bottom: 1px solid var(--line); white-space: normal; vertical-align: top; min-width: 120px; padding: 12px 14px; }
.rubric th:nth-child(2), .rubric td:nth-child(2) { min-width: 0; }
.rubric th { color: var(--muted); font-family: var(--f-mono); }
.rubric td:first-child { font-weight: 600; min-width: 140px; }
.rubric .w { font: 500 0.78rem var(--f-mono); color: var(--accent); }

/* ---------- more services ---------- */
.more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
.more div { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 1px solid var(--line); }
.more h3 { font-size: 1.05rem; }
.more p { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 920px) { .more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .more { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: s; }
.steps li { background: var(--bg); padding: 28px; display: grid; gap: 10px; align-content: start; counter-increment: s; }
.steps li::before { content: "Step " counter(s); font: 500 0.75rem var(--f-mono); color: var(--accent); text-transform: uppercase; letter-spacing: .1em; }
.steps p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- engagement ---------- */
.models-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.models-grid article { border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: grid; gap: 12px; align-content: start; background: var(--surface); }
.models-grid article.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.models-grid .term { font: 500 0.78rem var(--f-mono); color: var(--muted); }
.models-grid p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .models-grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); }
.contact-grid > * { min-width: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-lines { display: grid; gap: 18px; margin-top: 32px; }
.contact-lines div { display: grid; gap: 2px; }
.contact-lines span { font: 500 0.72rem var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--band-muted); }
.contact-lines a, .contact-lines b { font: 600 1.15rem var(--f-display); color: var(--band-ink); text-decoration: none; word-break: break-word; }
form { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font: 500 0.8rem var(--f-mono); color: var(--band-muted); }
input, select, textarea {
  font: 400 1rem var(--f-body); color: var(--band-ink); background: transparent;
  border: 1px solid var(--band-line); border-radius: var(--radius); padding: 12px 14px; width: 100%;
}
select option { color: #0f1c24; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-note { font: 400 0.85rem var(--f-body); color: var(--band-muted); min-height: 1.4em; }
.form-note.ok { color: var(--s-prod); } .form-note.err { color: var(--s-idle); }

/* ---------- footer ---------- */
.site-footer { padding-block: 40px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* hero scene (svg) */
.sc-bg { fill: color-mix(in srgb, var(--band) 80%, #000); }
.sc-grid { stroke: var(--band-line); stroke-width: .5; fill: none; }
.sc-belt { fill: var(--band-line); }
.sc-roll { fill: var(--band); stroke: var(--band-muted); stroke-width: .6; }
.sc-obj { fill: var(--band-muted); opacity: .55; }
.sc-obj2 { fill: var(--band-ink); opacity: .22; }
.sc-box { fill: none; stroke-width: 1.2; stroke-dasharray: 4 3; animation: dash 3s linear infinite; }
.sc-box.p { stroke: var(--s-prod); } .sc-box.d { stroke: var(--s-idle); } .sc-box.n { stroke: var(--s-non); } .sc-box.a { stroke: var(--accent); }
.sc-lbl { font: 500 6px var(--f-mono); }
.sc-tagbg.p { fill: var(--s-prod); } .sc-tagbg.d { fill: var(--s-idle); } .sc-tagbg.n { fill: var(--s-non); } .sc-tagbg.a { fill: var(--accent); }
.sc-tagtx { fill: #0b141a; } .sc-tagtx.light { fill: #fff; }
.sc-move { animation: belt 6s linear infinite; }
@keyframes belt { from { transform: translateX(-40px); } to { transform: translateX(40px); } }

/* ---------- faq ---------- */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative;
  font: 600 1.1rem/1.35 var(--f-display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.5rem var(--f-mono); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); padding-bottom: 22px; max-width: 70ch; }

/* ---------- blog & case study cards ---------- */
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.list-head .section-head { margin-bottom: 0; }
.link-more { font: 600 0.95rem var(--f-body); text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 920px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card-media { aspect-ratio: 16 / 9; background: var(--band); position: relative; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-art { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 18px; }
.card-art .bars { display: flex; height: 10px; border-radius: 2px; overflow: hidden; }
.card-art .bars i { display: block; height: 100%; }
.card-art .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--band-line) 1px, transparent 1px), linear-gradient(90deg, var(--band-line) 1px, transparent 1px); background-size: 28px 28px; opacity: .6; }
.card-art .box { position: absolute; border: 1.5px dashed var(--accent); }
.card-body { display: grid; gap: 10px; padding: 22px; align-content: start; min-width: 0; }
.card-meta { font: 500 0.72rem var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.card-meta .kind { color: var(--accent); }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.empty { border: 1px dashed var(--line); border-radius: 8px; padding: 28px; color: var(--muted); }

/* ---------- inner pages ---------- */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 44px); }
.page-head .wrap { display: grid; gap: 16px; }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 22ch; }
.article { max-width: 760px; margin-inline: auto; }
.article-hero { margin-bottom: 36px; border-radius: 8px; overflow: hidden; }
.article-hero img { width: 100%; height: auto; display: block; }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose img, .prose figure { max-width: 100%; height: auto; border-radius: 6px; }
.prose figure { margin-inline: 0; }
.prose figcaption { font: 400 0.8rem var(--f-mono); color: var(--muted); margin-top: 8px; }
.prose blockquote { margin-inline: 0; padding-left: 20px; border-left: 3px solid var(--accent); color: var(--muted); }
.prose code { font: 400 0.9em var(--f-mono); background: var(--surface); border: 1px solid var(--line); padding: 1px 5px; border-radius: 4px; }
.prose pre { overflow-x: auto; background: var(--band); color: var(--band-ink); padding: 18px; border-radius: 8px; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose table { font-family: var(--f-body); font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); white-space: normal; }
.prose a { text-underline-offset: 3px; }
.cta-box { margin-top: 56px; padding: clamp(24px, 4vw, 40px); background: var(--band); color: var(--band-ink); border-radius: 10px; display: grid; gap: 14px; justify-items: start; }
.cta-box p { color: var(--band-muted); }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; }
.pager a { font-weight: 600; text-decoration: none; }

/* ---------- tech stack ---------- */
.stack { display: grid; border-top: 1px solid var(--line); }
.stack-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 12px 32px; padding-block: 18px; border-bottom: 1px solid var(--line); align-items: start; }
.stack-row h3 { font-size: 1rem; padding-top: 6px; }
.stack-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-row li { font: 500 0.82rem var(--f-mono); padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); }
@media (max-width: 720px) { .stack-row { grid-template-columns: 1fr; } }

/* ---------- careers ---------- */
.jobs { display: grid; border-top: 1px solid var(--line); }
.job-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding-block: 22px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.job-row:hover h3 { color: var(--accent); }
.job-row h3 { font-size: 1.25rem; }
.job-row .go { font-weight: 600; color: var(--accent); white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 8px; }
.chips span { font: 500 0.75rem var(--f-mono); padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: var(--surface); }
@media (max-width: 560px) { .job-row { grid-template-columns: 1fr; } }
.apply { background: var(--band); color: var(--band-ink); border-radius: 10px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; margin-top: 48px; }
.apply h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.apply .lede { color: var(--band-muted); font-size: 1rem; }
.apply input[type="file"] { padding: 10px; }
.apply [aria-invalid="true"] { border-color: var(--s-non); }
.consent { display: flex; gap: 10px; align-items: flex-start; font: 400 0.88rem/1.5 var(--f-body); color: var(--band-muted); }
.consent input { width: auto; margin-top: 4px; }
.req { color: var(--s-idle); }
.job-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.job-facts div { flex: 1 1 150px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; display: grid; gap: 2px; align-content: start; }
.job-facts span { font: 500 0.7rem var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.job-facts b { font-weight: 600; }

.apply a { color: var(--band-ink); }

/* WordPress admin bar offset */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.screen-reader-text { position: absolute; left: -9999px; }
.alignwide { max-width: 1000px; }
