/* ============================================================
   ARKDRAFT — Design System (Light Grey baseline)
   Industrial / technical. Blueprint vocabulary on soft grey.
   ============================================================ */

:root {
  --ink: #eeece8;              /* page background - soft warm light grey */
  --surface: #e4e2dd;          /* elevated surfaces */
  --elevated: #dcdad4;
  --line: #cfcdc6;             /* hairlines */
  --line-strong: #b8b5ad;
  --paper: #f7f6f2;
  --paper-dim: #3a3a38;
  --muted: #6a6a66;
  --muted-2: #3a3a38;
  --text: #141413;
  --signal: #A4BAD0;
  --signal-dim: #6a8aa0;
  --blue: #2f5a76;

  --f-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --max: 1440px;
  --gut: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--signal); color: #fff; }

/* ---------- Typography ---------- */
.mono { font-family: var(--f-mono); font-feature-settings: "ss01","zero"; }
.tabular { font-variant-numeric: tabular-nums; }

.kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker .dash { color: var(--signal); margin-right: 8px; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(48px, 6vw, 92px); line-height: 0.96; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.02; letter-spacing: -0.025em; }
h3 { font-size: 22px; line-height: 1.2; }
p { color: var(--muted-2); }
.lead { font-size: 18px; line-height: 1.5; color: var(--muted-2); max-width: 56ch; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.grid12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); }
section { position: relative; }
.rule { height: 1px; background: var(--line); }
.rule-dotted { border-top: 1px dashed var(--line-strong); }

/* ---------- Schematic corners ---------- */
.bracket { position: relative; }
.bracket::before, .bracket::after,
.bracket > .bl, .bracket > .br {
  display: none;
}
.bracket::before { top: 0; left: 0; border-width: 1px 0 0 1px; }
.bracket::after  { top: 0; right: 0; border-width: 1px 1px 0 0; }
.bracket > .bl   { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.bracket > .br   { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238,236,232,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 14px var(--gut);
  display: flex; align-items: center; gap: 32px;
}
.logo-mark { display: flex; align-items: center; gap: 10px; color: var(--text); }
.logo-mark img { height: 26px; width: auto; }
.logo-mark .wm { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.02em; font-size: 17px; }
.nav ul { list-style: none; display: flex; gap: 24px; margin-left: auto; }
.nav a.nlink {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); position: relative;
  padding: 8px 2px;
}
.nav a.nlink:hover, .nav a.nlink.active { color: var(--text); }
.nav a.nlink.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--signal);
}
.nav .cta {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 14px; border: 1px solid var(--text); color: var(--text);
  transition: background 0.15s, color 0.15s;
}
.nav .cta:hover { background: var(--signal); border-color: var(--signal); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 20px;
  border: 1px solid var(--text); color: var(--text);
  transition: all 0.18s ease;
}
.btn .arr { width: 14px; height: 1px; background: currentColor; position: relative; transition: width 0.2s; }
.btn .arr::after { content:""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn:hover .arr { width: 22px; }
.btn.primary { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn.primary:hover { background: var(--text); border-color: var(--text); color: var(--ink); }
.btn.ghost { border-color: var(--line-strong); color: var(--muted-2); }
.btn.ghost:hover { border-color: var(--text); color: var(--text); background: transparent; }

/* ---------- Data label ---------- */
.dlabel {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  padding: 10px 0; border-top: 1px solid var(--line);
}
.dlabel b { color: var(--text); font-weight: 500; }

/* ---------- Section header ---------- */
.sec-head {
  display: grid; grid-template-columns: 1fr 2fr; gap: var(--gut);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.sec-head .meta { display: flex; flex-direction: column; gap: 4px; }
.sec-head h2 { max-width: 14ch; }

/* ---------- Footer ---------- */
.foot {
  background: #181C1D;
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  margin-top: 64px;
  color: var(--text);
}
.foot .wrap > .grid12 { align-items: start; }
.foot h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot a { color: var(--text); font-size: 14px; }
.foot a:hover { color: var(--signal); }
.foot-img { width: 150px; height: 150px; object-fit: cover; border: 1px solid var(--line-strong); margin-top: 24px; display: block; }
.foot .mega {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.88; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong);
  margin: 48px 0 24px;
  user-select: none;
}
.foot .legal {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px;
  padding-top: 20px; border-top: 1px solid var(--line-strong);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------- Page heading ---------- */
.pagehead { padding: 72px 0 60px; border-bottom: 1px solid var(--line); }
.pagehead .crumbs {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 32px;
}
.pagehead .crumbs span { color: var(--signal); margin: 0 8px; }
.pagehead h1 { max-width: 14ch; }
.pagehead .lead { margin-top: 28px; }

/* ---------- utility ---------- */
.hair { height: 1px; background: var(--line); }
.hair-s { height: 1px; background: var(--signal); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid12 { grid-template-columns: repeat(6, 1fr); }
  .sec-head { grid-template-columns: 1fr; }
  .nav ul { display: none; }
}
@media (max-width: 640px) {
  .grid12 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  :root { --gut: 20px; }
}
