:root {
    --ink: #1F3B57;        /* matches the resume documents */
    --text: #1B2430;
    --steel: #66788C;
    --paper: #F3F5F7;      /* cool, steel-tinted — not cream */
    --card: #FFFFFF;
    --seam: #D5DBE1;
    --arc: #D07C2C;        /* welding-arc amber, used sparingly */
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "Archivo", system-ui, sans-serif;
    background: var(--paper);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }
  .wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

  /* ---- Hero ---- */
  header { padding: 88px 0 56px; }
  .eyebrow {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--steel); margin-bottom: 20px;
  }
  h1 {
    font-size: clamp(40px, 7vw, 60px);
    font-weight: 800;
    font-stretch: 112%;
    letter-spacing: -0.015em;
    color: var(--ink);
    line-height: 1.02;
  }
  .thesis {
    margin-top: 22px;
    font-size: clamp(18px, 2.6vw, 21px);
    max-width: 34em;
    color: var(--text);
  }
  .thesis strong { color: var(--ink); font-weight: 650; }
  .thesis .arc { color: var(--arc); font-weight: 650; }

  /* weld-seam divider: the page's one decorative signature */
  .seam {
    border: none; height: 0;
    border-top: 2px dashed var(--seam);
    position: relative; margin: 0;
  }
  .seam::after {
    content: ""; position: absolute; left: 0; top: -4px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--arc);
  }

  /* ---- Resume cards ---- */
  section { padding: 48px 0; }
  h2 {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--steel);
    margin-bottom: 24px;
  }
  .cards { display: grid; gap: 14px; }
  .card {
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    background: var(--card);
    border: 1px solid var(--seam);
    border-radius: 10px;
    padding: 20px 22px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease;
  }
  .card:hover, .card:focus-visible { border-color: var(--ink); transform: translateY(-1px); }
  .card:focus-visible { outline: 2px solid var(--arc); outline-offset: 2px; }
  .card h3 { font-size: 17px; font-weight: 650; color: var(--ink); }
  .card p { font-size: 14.5px; color: var(--steel); margin-top: 3px; max-width: 40em; }
  .card .dl {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12.5px; white-space: nowrap;
    color: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 6px;
    padding: 8px 12px;
  }
  .card:hover .dl { background: var(--ink); color: #fff; }

  /* ---- Contact ---- */
  .links { display: flex; flex-wrap: wrap; gap: 12px; }
  .btn {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13.5px; text-decoration: none;
    color: var(--ink); background: var(--card);
    border: 1px solid var(--seam); border-radius: 8px;
    padding: 12px 18px;
    transition: border-color 0.15s ease;
  }
  .btn:hover, .btn:focus-visible { border-color: var(--ink); }
  .btn:focus-visible { outline: 2px solid var(--arc); outline-offset: 2px; }
  .contact-note { margin-top: 14px; font-size: 14px; color: var(--steel); max-width: 42em; }

  footer {
    padding: 40px 0 64px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px; color: var(--steel);
  }

  @media (prefers-reduced-motion: reduce) {
    .card, .btn { transition: none; }
    .card:hover { transform: none; }
  }
  @media (max-width: 520px) {
    header { padding: 60px 0 40px; }
    .card { flex-direction: column; align-items: flex-start; }
  }