/* AADIOMBIZ LLP — site styles. Tokens first; light and dark themes. */
:root {
  --ink: #1b2540;          /* navy ink: headings, nav */
  --text: #2b3347;         /* body text */
  --muted: #5b6578;        /* secondary text */
  --paper: #f6f7f9;        /* page background (cool, not cream) */
  --surface: #ffffff;      /* panels */
  --line: #dde1e8;         /* rules and borders */
  --marigold: #e39b12;     /* brand accent */
  --marigold-ink: #8a5a00; /* accent text on light */
  --teal: #1d6b5f;         /* "working" bars, success */
  --teal-soft: #d8ece8;
  --focus: #2f6fed;
  --danger: #b42318;
  --radius-s: 6px;
  --radius-l: 14px;
  --max: 1160px;
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef1f7; --text: #d5dae4; --muted: #9aa3b5; --paper: #10172a; --surface: #172038;
    --line: #2a3554; --marigold: #f0ad2c; --marigold-ink: #f5c35e; --teal: #4fb3a2; --teal-soft: #173a37;
    --focus: #7aa5ff; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #eef1f7; --text: #d5dae4; --muted: #9aa3b5; --paper: #10172a; --surface: #172038;
  --line: #2a3554; --marigold: #f0ad2c; --marigold-ink: #f5c35e; --teal: #4fb3a2; --teal-soft: #173a37;
  --focus: #7aa5ff; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--marigold-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 16px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; font-stretch: 90%; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.small { font-size: .9rem; color: var(--muted); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; }
.brand-mark { width: 30px; height: 30px; }
.nav-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius-s); padding: 8px 12px; font: inherit; cursor: pointer; }
.primary-nav { display: none; }
.primary-nav.open { display: block; position: absolute; left: 0; right: 0; top: 68px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: block; padding: 10px 4px; text-decoration: none; color: var(--ink); font-weight: 500; }
.primary-nav a[aria-current="page"] { color: var(--marigold-ink); }
.primary-nav .btn { margin-top: 8px; }
@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .primary-nav, .primary-nav.open { display: block; position: static; padding: 0; border: 0; background: none; }
  .primary-nav ul { display: flex; align-items: center; gap: 22px; }
  .primary-nav a { padding: 6px 0; font-size: .97rem; }
  .primary-nav .btn { margin-top: 0; padding: 10px 16px; }
}

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; border-radius: var(--radius-s); padding: 13px 20px; border: 2px solid transparent; line-height: 1.2; cursor: pointer; font-family: var(--font-body); font-size: 1rem; }
.btn-primary { background: var(--marigold); color: #1b1300; }
.btn-primary:hover { background: #cf8a07; color: #1b1300; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.primary-nav a.btn-primary { color: #1b1300; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Sections */
section { padding: 56px 0; }
@media (min-width: 900px) { section { padding: 84px 0; } }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ink-band { background: var(--ink); color: var(--paper); }
.ink-band h2, .ink-band h3 { color: var(--paper); }
.ink-band .lead, .ink-band p { color: color-mix(in srgb, var(--paper) 82%, transparent); }
:root[data-theme="dark"] .ink-band, .ink-band { --btn-ink: var(--paper); }
.ink-band .btn-ghost { border-color: var(--paper); color: var(--paper); }
.ink-band .btn-ghost:hover { background: var(--paper); color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ink-band { background: #0a1020; } }
:root[data-theme="dark"] .ink-band { background: #0a1020; }

/* Hero */
.hero { padding: 48px 0 56px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 80px 0 88px; } .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; } .shift { padding: 28px 28px 22px; } }
.hero h1 { max-width: 18ch; }

/* Shift chart (the signature element) */
.shift { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px 20px 18px; }
.shift h2 { font-size: 1.05rem; margin-bottom: 4px; }
.shift .small { margin-bottom: 18px; }
.shift-row { display: grid; grid-template-columns: 118px 1fr; gap: 12px; align-items: center; margin-bottom: 14px; }
.shift-label { font-weight: 600; color: var(--ink); font-size: .92rem; line-height: 1.25; }
.shift-label span { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.track { position: relative; height: 38px; background-color: var(--paper); background: repeating-linear-gradient(90deg, transparent 0 calc(100%/4 - 1px), var(--line) calc(100%/4 - 1px) calc(100%/4)); border-radius: 4px; border: 1px solid var(--line); overflow: hidden; }
.bar { position: absolute; top: 4px; bottom: 4px; border-radius: 3px; display: flex; align-items: center; padding: 0 8px; font-size: .78rem; font-weight: 600; white-space: nowrap; overflow: hidden; }
.bar.work-in { background: var(--teal); color: #fff; }
.bar.work-us { background: var(--marigold); color: #1b1300; }
.bar.overlap { background: transparent; border: 2px dashed var(--ink); color: var(--ink); }
.axis { display: grid; grid-template-columns: 118px 1fr; gap: 12px; font-size: .75rem; color: var(--muted); }
.axis-ticks { display: flex; justify-content: space-between; }
.axis-note { margin: 4px 0 0 130px; font-size: .75rem; }
.shift-note { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .bar { transform-origin: left center; animation: grow .9s cubic-bezier(.2,.7,.2,1) both; }
  .bar.work-us { animation-delay: .35s; }
  .bar.overlap { animation-delay: .7s; }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Grids & panels */
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 24px; }
.panel h3 a { text-decoration: none; }
.panel h3 a:hover { text-decoration: underline; }
.panel.feature { border-top: 4px solid var(--marigold); }
.roles { list-style: none; padding: 0; margin: 0 0 12px; }
.roles li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.roles li:last-child { border-bottom: 0; }
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.3fr; gap: 64px; } }

/* Steps (real sequence) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--marigold-ink); line-height: 1.2; }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; }

/* Price table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 560px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-head); color: var(--ink); font-weight: 700; background: color-mix(in srgb, var(--paper) 70%, var(--surface)); }
tr:last-child td { border-bottom: 0; }
td.price { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* Checklist */
.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding: 6px 0 6px 30px; }
.check li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.05rem; }
details p { margin: 10px 0 0; }

/* Page head */
.page-head { padding: 48px 0 32px; border-bottom: 1px solid var(--line); background: var(--surface); }
@media (min-width: 900px) { .page-head { padding: 72px 0 48px; } }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; max-width: 68ch; }
.prose li { margin-bottom: .4em; }
.note { border-left: 4px solid var(--marigold); background: var(--surface); padding: 14px 18px; margin: 20px 0; border-radius: 0 var(--radius-s) var(--radius-s) 0; }

/* Forms */
form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 720px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.req { color: var(--danger); }
input, select, textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid #9aa3b5; border-radius: var(--radius-s); padding: 11px 12px; width: 100%; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.hint { font-size: .85rem; color: var(--muted); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 400; }
.consent input { width: 18px; height: 18px; margin-top: 4px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: var(--radius-s); display: none; }
.form-status.ok { display: block; background: var(--teal-soft); color: var(--ink); }
.form-status.err { display: block; background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--ink); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; }
@media (min-width: 720px) { .form-card { padding: 36px; } }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--marigold-ink); text-decoration: underline; }
.legal-line { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; color: var(--muted); font-size: .85rem; }
.theme-btn { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: var(--radius-s); padding: 6px 10px; font: inherit; font-size: .85rem; cursor: pointer; }

/* Print: company profile */
@media print {
  .site-header, .site-footer, .no-print, .skip { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  section { padding: 12pt 0; }
  .band, .panel, .page-head { background: #fff; border-color: #ccc; }
  a { text-decoration: none; }
}

/* Shift chart on small screens: labels above tracks, fewer ticks */
.axis-ticks span { white-space: nowrap; }
@media (max-width: 600px) {
  .shift-row { grid-template-columns: 1fr; gap: 6px; }
  .axis { grid-template-columns: 1fr; }
  .axis > span:first-child { display: none; }
  .axis-ticks span:nth-child(2), .axis-ticks span:nth-child(4) { visibility: hidden; }
  .axis-note { margin-left: 0; }
}

/* Sample shortlist card (home hero signature) */
.sample { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px 22px 18px; margin: 0; }
@media (min-width: 960px) { .sample { padding: 28px 28px 22px; } }
.sample-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sample h2 { font-size: 1.05rem; margin: 0; }
.sample-tag { font-size: .78rem; color: var(--marigold-ink); border: 1px solid var(--marigold); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.sample > .small { margin: 6px 0 16px; }
.sample-card { margin: 0; border-left: 4px solid var(--teal); background: var(--paper); border-radius: 0 var(--radius-s) var(--radius-s) 0; padding: 6px 16px; }
.sample-card > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sample-card > div:last-child { border-bottom: 0; }
.sample-card dt { font-size: .82rem; color: var(--muted); font-weight: 500; }
.sample-card dd { margin: 0; font-size: .95rem; color: var(--text); }
.sample-role dd { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.score { display: block; height: 6px; background: var(--line); border-radius: 3px; margin: 6px 0 8px; overflow: hidden; max-width: 220px; }
.score span { display: block; height: 100%; background: var(--teal); border-radius: 3px; }
.sample figcaption { margin-top: 14px; }
@media (max-width: 600px) { .sample-card > div { grid-template-columns: 1fr; gap: 2px; } }
@media (prefers-reduced-motion: no-preference) {
  .score span { transform-origin: left; animation: grow 1s .3s cubic-bezier(.2,.7,.2,1) both; }
}

/* Two hiring paths */
.path { display: flex; flex-direction: column; }
.path .btn { align-self: flex-start; margin-top: auto; }
.path .check { margin-bottom: 20px; }
.path h3 { font-size: 1.35rem; }
