/* genuinasterisk — site styles */

@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/instrument-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --ink: #16233B;
  --ink-deep: #0F1A2D;
  --ink-line: #3A4762;
  --accent: #E0572B;
  --muted: #5B6576;
  --muted-on-ink: #AEB8C8;
  --soft-on-ink: #C9D1DD;
  --line: #E3E6EB;
  --line-strong: #D5DAE1;
  --field: #8A93A3;
  --paper: #FFFFFF;
  --mist: #F3F4F6;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

a { color: var(--ink); }
a:hover { color: var(--ink-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, p, ul, ol { margin: 0; }
ul.plain, ol.plain { list-style: none; padding: 0; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; color: #fff; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 112px; padding-bottom: 112px; }
@media (max-width: 640px) { .section { padding-top: 72px; padding-bottom: 72px; } }

/* Logo */
.asterisk line { stroke-width: 11; stroke-linecap: round; fill: none; }
.wordmark { line-height: 1; letter-spacing: -0.035em; white-space: nowrap; }
.wordmark .a { font-weight: 400; }
.wordmark .b { font-weight: 700; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding-top: 18px; padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand .wordmark { font-size: 25px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.nav a { font-size: 16px; font-weight: 500; text-decoration: none; padding: 10px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 15px 26px; border-radius: var(--radius);
  font: inherit; font-size: 17px; font-weight: 600; text-decoration: none;
  border: 1.5px solid var(--ink); cursor: pointer;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-deep); color: #fff; }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-ghost:hover { background: var(--mist); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 16px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Shared type */
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.eyebrow-rule { display: flex; align-items: center; gap: 12px; }
.eyebrow-rule::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); }
.h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; }
.lead { font-size: 20px; color: var(--muted); }
.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; }
.gap-14 { gap: 14px; } .gap-20 { gap: 20px; } .gap-28 { gap: 28px; } .gap-56 { gap: 56px; }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 104px; padding-bottom: 112px; }
@media (max-width: 640px) { .hero .wrap { padding-top: 64px; padding-bottom: 72px; } }
.hero-text { flex: 999 1 600px; min-width: 0; }
.hero-mark { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }
.hero-mark svg { width: 100%; max-width: 380px; height: auto; }
.hero h1 { font-size: clamp(42px, 6vw, 82px); line-height: 1.02; font-weight: 600; letter-spacing: -0.04em; }
.hero h1 .hl { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.07em; text-underline-offset: 0.12em; }
.hero .lead { max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* IT * OT band */
.band { background: var(--ink); color: #fff; overflow: hidden; }
.band .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 36px; }
.band .band-type {
  margin: 0; max-width: none; text-align: left; color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0 clamp(16px, 3vw, 40px);
  font-size: clamp(88px, 15vw, 210px); line-height: 0.9; font-weight: 700; letter-spacing: -0.05em;
}
.band .band-type svg { width: clamp(76px, 12vw, 170px); height: auto; }
.band p { margin: 0 auto; max-width: 720px; text-align: center; font-size: 21px; line-height: 1.5; color: var(--soft-on-ink); }
.band p strong { color: #fff; font-weight: 600; }

/* Section heads */
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; }
.head > p { max-width: 460px; }

/* Services */
.services {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
@media (max-width: 380px) { .services { grid-template-columns: 1fr; } }
.service { background: var(--paper); padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; }
.service h3 { font-size: 23px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.service p { color: var(--muted); }
.service svg { width: 52px; height: 52px; }
.service svg line { stroke: var(--line-strong); }
.service svg line.on { stroke: var(--accent); }

/* Standards */
.standards { background: var(--mist); }
.standards .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px; padding-top: 88px; padding-bottom: 88px; }
.standards .intro { flex: 1 1 320px; min-width: 0; }
.standards h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.chips { flex: 2 1 520px; min-width: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { font-size: 18px; font-weight: 600; padding: 12px 20px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 999px; }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px 32px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step-num { display: flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 600; line-height: 1; }
.step-num::after { content: ""; flex: 1; height: 2px; background: currentColor; }
.step-num.accent { color: var(--accent); }
.step h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.step p { color: var(--muted); }

/* Clients */
.clients { border-top: 1px solid var(--line); }
.split { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.split > * { flex: 1 1 400px; min-width: 0; }
.rows li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows .k { font-size: 20px; font-weight: 600; }
.rows .v { color: var(--muted); }

/* Contact */
.contact { background: var(--ink); color: #fff; }
.contact a { color: #fff; }
.contact .eyebrow { color: var(--muted-on-ink); }
.contact .lead { color: var(--soft-on-ink); font-size: 19px; }
.facts > div { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-top: 1px solid var(--ink-line); }
.facts > div:last-child { border-bottom: 1px solid var(--ink-line); }
.facts .label { font-size: 14px; color: var(--muted-on-ink); }
.facts .value { font-size: 20px; font-weight: 600; }

.form {
  background: var(--paper); color: var(--ink); border-radius: 10px; padding: 36px;
  display: flex; flex-direction: column; gap: 20px;
}
@media (max-width: 480px) { .form { padding: 24px; } }
.form a { color: var(--ink); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--field); border-radius: var(--radius); padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(224, 87, 43, 0.35); outline-offset: 0; }
.consent { display: flex; align-items: flex-start; gap: 12px; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.consent label { font-size: 15px; line-height: 1.5; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 16px; font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: #1B6B3A; }
.form-status.err { color: #B3261E; }

/* Footer */
.site-footer { background: var(--ink-deep); color: #fff; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.footer-top .brand { color: #fff; }
.footer-top .brand .wordmark { font-size: 28px; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.footer-top nav a { color: #fff; text-decoration: none; padding: 10px 0; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-top: 24px; border-top: 1px solid #2B3852; font-size: 14px; color: var(--muted-on-ink);
}
.footer-bottom a { color: var(--muted-on-ink); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Legal / simple pages */
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 12px; }
.page h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin: 40px 0 10px; }
.page p, .page ul { margin-bottom: 14px; }
.page ul { padding-left: 22px; }
.page .meta { color: var(--muted); margin-bottom: 32px; }

/* Utilities */
.lead-sm { font-size: 19px; }
.pt-12 { padding-top: 12px; }
.self-start { align-self: flex-start; }
