/* arthurvinberg.com — "Blueprint": engineered grid, cool neutrals, scanning motion */

:root {
  --bg: #eceef0;
  --panel: #fbfcfc;
  --ink: #14171a;
  --body: #3b4247;
  --muted: #5d666e;
  --line: #d4d9dd;
  --grid: #e3e7ea;
  --accent: oklch(0.72 0.11 232);
  --accent-wash: oklch(0.72 0.11 232 / .12);
  --live: oklch(0.68 0.14 148);

  --sans: 'Space Grotesk', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --pad: 56px;      /* horizontal page padding */
  --label-col: 220px; /* width of the numbered section labels */
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--panel);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
  transition: top .16s;
}
.skip:focus { top: 12px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px var(--pad) 60px;
  background-color: var(--panel);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  border-bottom: 1px solid var(--line);
}

.hero__sweep {
  position: absolute;
  inset: 0 0 auto;
  height: 120px;
  background: linear-gradient(180deg, transparent, oklch(0.72 0.11 232 / .16), transparent);
  animation: sweep 7s linear infinite;
  pointer-events: none;
}

@keyframes sweep {
  from { transform: translateY(-100%); }
  to   { transform: translateY(300%); }
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.status__dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--live);
}

h1 {
  max-width: 820px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.hero__lede {
  max-width: 640px;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.65;
  color: var(--body);
  text-wrap: pretty;
}

/* ---------- contact strip ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 26px;
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition: background .16s;
}
.fact:last-child { border-right: 0; }
a.fact:hover { background: var(--accent-wash); }

.fact__key {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact__val {
  font-size: 15px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

/* ---------- numbered sections ---------- */

.band {
  display: grid;
  grid-template-columns: var(--label-col) 1fr;
  gap: 40px;
  padding: 56px var(--pad);
}
.band + .band { padding-top: 0; }

.band__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform .2s, border-color .2s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}
.card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 700;
}
.card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.roles { display: flex; flex-direction: column; }

.role {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.role:last-child { border-bottom: 1px solid var(--line); }

.role__when {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.role__what {
  font-size: 17px;
  font-weight: 500;
}

/* ---------- closing CTA ---------- */

.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 52px var(--pad);
  background: var(--ink);
  color: var(--bg);
}

.cta__line {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 500;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.cta__btn {
  padding: 15px 28px;
  background: var(--accent);
  color: #0b0e10;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1);
}
.cta__btn:hover { transform: translateY(-4px); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  :root { --pad: 32px; }

  .hero { padding-top: 56px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .band {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 560px) {
  :root { --pad: 22px; }

  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }

  .cards { grid-template-columns: 1fr; }

  .role {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ---------- motion / contrast preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  .hero__sweep { animation: none; opacity: 0; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1113;
    --panel: #14181b;
    --ink: #e8ebed;
    --body: #b3bcc2;
    --muted: #8b959c;
    --line: #262c30;
    --grid: #1b2024;
    --accent: oklch(0.74 0.11 232);
    --accent-wash: oklch(0.72 0.11 232 / .16);
  }
  .cta {
    background: var(--panel);
    border-top: 1px solid var(--line);
    color: var(--ink);
  }
  .skip { background: var(--accent); color: #0b0e10; }
}
