/* Armature home page. Colors, type and spacing follow the Armature design system. */
@font-face { font-family: "Spectral"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/spectral-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/spectral-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --surface: #f2f3f1;
  --panel: #ffffff;
  --graphite: #2b323c;
  --ink: #14181f;
  --on-ink: #f2f3f1;
  --slate: #5a6270;
  --mist: #a9b0ba;
  --rule: #c9cdd3;
  --bronze: #a8743a;
  --bronze-light: #c8955a;
  --verdigris: #3f6f66;

  --font-display: "Spectral", Georgia, serif;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --radius-sm: 6px;
  --radius-md: 8px;
  --gutter: clamp(16px, 5vw, 56px);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/1.6 var(--font-sans); overflow-x: hidden; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
a { color: var(--verdigris); text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.eyebrow { font: 500 12px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.eyebrow.on-dark { color: var(--mist); }

/* Navigation */
.nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px;
  max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter); }
.lockup { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.lockup .mark { width: 36px; height: 36px; }
.wordmark { font-weight: 600; font-size: 17px; letter-spacing: .14em; }
.nav nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; }
.nav nav a:not(.button) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav nav a:not(.button):hover { color: var(--verdigris); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border-radius: var(--radius-md); background: var(--ink); color: var(--on-ink); font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1.5px solid var(--ink); }
.button:hover { background: var(--graphite); border-color: var(--graphite); }
.button.small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.button.ghost { background: transparent; color: var(--ink); }
.button.ghost:hover { background: var(--panel); }
.button.light { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.button.light:hover { background: #ffffff; }

/* Hero: the cover, at page scale */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 48px;
  max-width: calc(var(--max) + (100vw - var(--max)) / 2); margin: 0 0 0 max(0px, (100vw - var(--max)) / 2);
  padding: 40px 0 72px var(--gutter); min-height: min(640px, 80vh); }
.hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(64px, 11vw, 132px); line-height: .92; letter-spacing: -.01em; }
.tagline { margin-top: 18px; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; }
.lede { margin-top: 14px; max-width: 30em; color: var(--slate); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-art { align-self: stretch; min-height: 360px; }
.hero-art svg { display: block; width: 100%; height: 100%; }
.hero-art .ink { fill: var(--ink); }
.hero-art .graphite { fill: var(--graphite); }
.hero-art .bronze { fill: var(--bronze); }
.hero-art .verdigris { fill: var(--verdigris); }
.hero-art .wire { stroke: var(--bronze-light); stroke-width: 2; fill: none; }
.hero-art .node { fill: var(--bronze-light); }
.hero-art .open { fill: var(--graphite); stroke: var(--bronze-light); stroke-width: 2; }

/* Content bands */
.band { max-width: var(--max); margin: 0 auto; padding: 72px var(--gutter); border-top: 1px solid var(--rule); }
.band h2 { margin-top: 10px; font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4vw, 42px); line-height: 1.15; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; margin-top: 36px; }
.card { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius-md); padding: 32px; }
.card h3 { margin-top: 10px; font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.2; }
.card > p:not(.eyebrow) { margin-top: 14px; }
.facts { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 10px; }
.facts li { position: relative; padding-left: 22px; color: var(--slate); font-size: 15px; }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--bronze); }
.facts li::after { content: ""; position: absolute; left: 10px; top: calc(.62em - 2px); width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); }

.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px; margin-top: 28px; }
.principle { position: relative; padding-top: 28px; border-top: 2px solid var(--bronze); }
.principle .joint { position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--bronze); }
.principle h3 { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.25; }
.principle p { margin-top: 10px; color: var(--slate); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px;
  max-width: var(--max); margin: 24px auto 0; padding: 56px var(--gutter); background: var(--ink); color: var(--on-ink);
  border-radius: var(--radius-md); box-shadow: inset 0 -3px 0 var(--bronze); }
.contact h2 { margin-top: 10px; font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4vw, 40px); line-height: 1.15; }
.contact p:not(.eyebrow) { margin-top: 10px; color: var(--mist); max-width: 34em; }

.foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; max-width: var(--max); margin: 0 auto;
  padding: 32px var(--gutter) 48px; color: var(--slate); font-size: 14px; }
.foot-wire { flex: 1 1 60px; height: 1px; background: var(--rule); }

/* Narrow screens: the blocks move above the name. */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 32px; margin: 0; padding: 8px var(--gutter) 56px; min-height: 0; }
  .hero-art { order: -1; min-height: 0; height: 200px; margin-right: calc(-1 * var(--gutter)); }
  .contact { border-radius: 0; }
}
