/* Ignivara iQ — site styles (Oct 2026 redesign, v3)
   One bold element: the hero's compiled specification.
   Everything else is quiet: no cards, type and spacing carry the structure. */

:root {
  --paper: #FAF9F6;
  --paper-2: #F2EFE9;
  --ink: #3E2E2F;
  --ink-2: #554849;
  --muted: #776A6B;
  --rule: #E3DED6;
  --night: #2A1F20;
  --night-2: #33282A;
  --on-night: #E4DFD8;
  --on-night-muted: #ADA59E;
  --lime: #C9E265;
  --lime-deep: #89D957;

  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --wrap: 1120px;
  --gutter: 40px;
  --band-y: 60px;
}
@media (max-width: 960px) { :root { --gutter: 32px; --band-y: 52px; } }
@media (max-width: 600px) { :root { --gutter: 20px; --band-y: 44px; } }

/* ---------- Base ---------- */
*, *::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(--font); font-size: 16.5px; line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote, pre { margin: 0; }
h1, h2, h3 { line-height: 1.22; letter-spacing: -0.012em; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s ease;
}
.btn--paper { background: #F6F4EF; color: var(--night); }
.btn--paper:hover { background: #fff; }
.btn--outline { color: var(--on-night); box-shadow: inset 0 0 0 1px rgba(228, 223, 216, 0.45); }
.btn--outline:hover { background: rgba(228, 223, 216, 0.08); }
.btn--ink { background: var(--night); color: var(--on-night); border: 0; cursor: pointer; font-family: inherit; }
.btn--ink:hover { background: var(--ink); }

.text-link {
  display: inline-block; font-size: 15px; font-weight: 500; text-decoration: none;
  background-image: linear-gradient(var(--lime-deep), var(--lime-deep));
  background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 3px;
}
.text-link:hover { background-image: linear-gradient(rgba(201, 226, 101, 0.5), rgba(201, 226, 101, 0.5)); background-size: 100% 100%; }

/* ---------- Header ---------- */
.site-header { background: var(--night); border-bottom: 1px solid rgba(228, 223, 216, 0.07); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.site-header__logo img { height: 32px; width: auto; filter: brightness(0) invert(96%) sepia(5%); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--on-night); text-decoration: none; font-size: 15px; }
.nav-link:hover { color: #fff; }
.nav-link[aria-current="page"] { background-image: linear-gradient(var(--lime), var(--lime)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 3px; }
.nav-button { color: var(--night); background: #F6F4EF; text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 18px; border-radius: 999px; white-space: nowrap; }
.nav-button:hover { background: #fff; }
@media (max-width: 760px) {
  .nav-link--wide { display: none; }
}
@media (max-width: 600px) {
  .site-header__inner { height: 62px; }
  .site-header__logo img { height: 28px; }
  .site-nav { gap: 18px; }
  .nav-button { padding: 7px 14px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero {
  background-color: var(--night);
  background-image: radial-gradient(rgba(228, 223, 216, 0.07) 1px, transparent 1.3px);
  background-size: 24px 24px;
  color: var(--on-night);
  padding: 64px 0 68px;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: center; }

.status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--on-night); padding: 6px 14px 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(201, 226, 101, 0.45); }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(201, 226, 101, 0.18); }

.hero h1 { font-size: 50px; font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: #F8F6F1; margin-top: 22px; }
.hero__lead { font-size: 17.5px; line-height: 1.62; margin-top: 20px; max-width: 33em; }
.hero__terms { font-size: 14.5px; color: var(--on-night-muted); margin-top: 14px; max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Compiled specification panel */
.code { min-width: 0; }
.code pre {
  background: var(--night-2);
  border: 1px solid rgba(228, 223, 216, 0.12);
  border-top: 2px solid var(--lime-deep);
  border-radius: 10px;
  padding: 22px 24px;
  overflow-x: auto;
  font-family: var(--mono); font-size: 13.5px; line-height: 1.72;
  color: #F3F0EA; tab-size: 2;
}
.code .k { color: var(--on-night-muted); }
.code .id { color: var(--lime); }
.code .s { color: #F3F0EA; font-style: italic; }
.code figcaption { margin-top: 10px; font-size: 13px; color: var(--on-night-muted); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .code { max-width: 560px; }
}
@media (max-width: 600px) {
  .hero { padding: 40px 0 48px; }
  .hero h1 { font-size: 35px; }
  .br-wide { display: none; }
  .hero__lead { font-size: 16.5px; }
  .code pre { font-size: 11.5px; padding: 18px 16px; }
}

/* ---------- Bands ---------- */
.band { padding: var(--band-y) 0; }
.band--tint { background: var(--paper-2); }
.band--about { padding-top: 0; }
.band__heading { font-size: 26px; font-weight: 500; margin-bottom: 22px; }
.lede { font-size: 18.5px; line-height: 1.55; color: var(--ink); max-width: 30em; }
.small { font-size: 14px; line-height: 1.65; color: var(--muted); }
h3 { font-size: 17px; font-weight: 600; color: var(--ink); }
@media (max-width: 600px) { .band__heading { font-size: 23px; margin-bottom: 18px; } .lede { font-size: 17px; } }

/* What I offer: three open columns */
.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.col { border-top: 2px solid var(--ink); padding-top: 16px; }
.col p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 860px) { .columns { grid-template-columns: minmax(0, 1fr); gap: 26px; } }

/* Two-column split used by contracting, outcomes, about */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.split--outcomes { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
.split--about { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding-top: var(--band-y); border-top: 1px solid var(--rule); }
.split--about .band__heading { margin-bottom: 0; }
@media (max-width: 960px) {
  .split, .split--outcomes, .split--about { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .split--about { gap: 16px; }
}

/* Contracting */
.routes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin: 26px 0; }
.routes p { margin-top: 6px; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 600px) { .routes { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

.assets__title { font-size: 14px; font-weight: 600; color: var(--muted); padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.assets li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.assets__name { font-size: 17px; font-weight: 600; color: var(--ink); }
.assets__name::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--lime-deep); margin-right: 10px; transform: translateY(-2px); }
.assets li p:not(.assets__name) { margin-top: 4px; font-size: 15px; color: var(--ink-2); padding-left: 18px; }

/* Outcomes grouped by client */
.result + .result { margin-top: 20px; }
.result__where { font-size: 14px; font-weight: 600; color: var(--muted); }
.result ul { margin-top: 4px; }
.result li { position: relative; padding-left: 22px; font-size: 16px; color: var(--ink); }
.result li + li { margin-top: 4px; }
.result li::before { content: ""; position: absolute; left: 0; top: 0.82em; width: 10px; height: 2px; background: var(--lime-deep); }
.split--outcomes .text-link { margin-top: 24px; }

/* Pull quote */
.pullquote blockquote p { font-size: 24px; line-height: 1.4; font-weight: 500; letter-spacing: -0.012em; color: var(--ink); }
.pullquote blockquote p::before { content: "\201C"; color: var(--lime-deep); }
.pullquote blockquote p::after { content: "\201D"; color: var(--lime-deep); }
.pullquote figcaption { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.pullquote--placeholder blockquote p { color: var(--muted); }
@media (max-width: 600px) { .pullquote blockquote p { font-size: 20px; } }

/* About */
.prose p { color: var(--ink-2); max-width: 40em; }
.prose p:first-child { color: var(--ink); font-size: 18px; line-height: 1.58; }
.prose p + p { margin-top: 12px; }

/* ---------- Closing call to action ---------- */
.closing {
  background-color: var(--night);
  background-image: radial-gradient(rgba(228, 223, 216, 0.07) 1px, transparent 1.3px);
  background-size: 24px 24px;
  color: var(--on-night); padding: 52px 0;
}
.closing__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.closing h2 { font-size: 28px; font-weight: 500; color: #F8F6F1; max-width: 18em; }
.closing p { margin-top: 8px; color: var(--on-night-muted); font-size: 15px; }
.closing__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex-shrink: 0; }
.closing__mail { font-size: 15px; color: var(--on-night); }
@media (max-width: 960px) {
  .closing__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .closing__actions { align-items: flex-start; }
}
@media (max-width: 600px) { .closing { padding: 44px 0; } .closing h2 { font-size: 23px; } }

/* ---------- Footer ---------- */
.site-footer { padding: 28px 0 38px; }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 14px 48px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.site-footer a { color: var(--ink-2); }
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: minmax(0, 1fr); } }

/* ======================================================================
   Inner pages: Work, Contact, Privacy
   ====================================================================== */

/* Page heading (paper, under the dark site header) */
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: 42px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.page-head__lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin-top: 16px; max-width: 38em; }
.band--first { padding-top: 40px; }
@media (max-width: 600px) {
  .page-head { padding: 40px 0 4px; }
  .page-head h1 { font-size: 32px; }
  .page-head__lead { font-size: 16.5px; }
  .band--first { padding-top: 32px; }
}

/* Case studies */
.case { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; border-top: 2px solid var(--ink); padding: 22px 0 34px; }
.case + .case { margin-top: 8px; }
.case__tag { font-size: 14px; font-weight: 600; color: var(--muted); }
.case__meta h3 { font-size: 21px; font-weight: 600; margin-top: 6px; }
.case__body div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 20px; padding: 10px 0; }
.case__body div + div { border-top: 1px solid var(--rule); }
.case__body dt { font-size: 14px; font-weight: 600; color: var(--ink); padding-top: 2px; }
.case__body dd { font-size: 16px; color: var(--ink-2); }
@media (max-width: 960px) { .case { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
@media (max-width: 600px) { .case__body div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Recognition */
.honours li { padding: 14px 0; border-top: 1px solid var(--rule); }
.honours li:first-child { border-top: 2px solid var(--ink); }
.honours__name { font-size: 16.5px; font-weight: 600; color: var(--ink); }
.honours li p:not(.honours__name) { margin-top: 4px; font-size: 15px; color: var(--ink-2); }

/* References */
.references { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
@media (max-width: 860px) { .references { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* Contact */
.split--contact { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; }
.side-heading { font-size: 14px; font-weight: 600; color: var(--muted); padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.side-heading + * { margin-top: 12px; }
.direct li + li { margin-top: 4px; }
.direct a { font-size: 17px; font-weight: 500; text-decoration: none; background-image: linear-gradient(var(--lime-deep), var(--lime-deep)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; }
.direct + .side-heading { margin-top: 36px; }
.steps { padding-left: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 8px 0 8px 34px; font-size: 15.5px; color: var(--ink-2); }
.steps li + li { border-top: 1px solid var(--rule); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
@media (max-width: 960px) { .split--contact { grid-template-columns: minmax(0, 1fr); gap: 40px; } .contact-form { order: -1; } }

.enquiry-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid #D5D0C7; border-radius: 8px; padding: 11px 14px;
}
.form-field textarea { resize: vertical; min-height: 150px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(137, 217, 87, 0.35); }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-submit .btn { min-width: 140px; }
.btn-submit:disabled { opacity: 0.6; cursor: progress; }
.form-note { font-size: 13.5px; color: var(--muted); }
.form-status { margin-top: 4px; padding: 14px 0 14px 16px; border-left: 3px solid var(--lime-deep); font-size: 16px; color: var(--ink); }
.form-status--error { border-left-color: #B4513E; }
@media (max-width: 600px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

/* Privacy notice */
.legal { max-width: 44em; }
.legal h2 { font-size: 20px; font-weight: 600; margin-top: 34px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal p { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-top: 10px; }
.legal li + li { margin-top: 6px; }
.case__note { margin-top: 14px; padding-left: 16px; border-left: 3px solid var(--lime-deep); font-size: 16px; line-height: 1.6; color: var(--ink); }
.case__body dd ul { margin-top: 8px; }
.case__body dd li { position: relative; padding-left: 20px; }
.case__body dd li + li { margin-top: 3px; }
.case__body dd li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 9px; height: 2px; background: var(--lime-deep); }
.references--single { grid-template-columns: minmax(0, 1fr); max-width: 52em; }
.references--single .pullquote blockquote p { font-size: 21px; line-height: 1.5; }
@media (max-width: 600px) { .references--single .pullquote blockquote p { font-size: 18px; } }
