/* davidajzental.com — dark, Inter-based design system (brunokuntz-inspired)
   Near-black canvas, white headlines, lavender-grey labels, one periwinkle accent. */

@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;
  src:url("../fonts/inter-400.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;
  src:url("../fonts/inter-600.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;
  src:url("../fonts/inter-700.woff2") format("woff2")}

:root{
  /* neutrals — dark canvas */
  --bg:#000008;
  --surface:#0c0c16;
  --ink:#ffffff;
  --prose:#d0d0e0;
  --muted:#8888aa;
  --line:#20202e;
  --hairline:rgba(136,136,170,.14);

  /* signature accent — periwinkle */
  --accent:#4d6bff;
  --accent-btn:#3a57e0;      /* filled-button variant, cleaner AA */
  --accent-ink:#ffffff;
  --accent-tint:#101430;

  /* data-viz + semantic (brightened for dark) */
  --good:#3fb950;
  --bad:#f85149;
  --good-tint:#10231a;
  --bad-tint:#2a1416;
  --hover:#14141f;

  --font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --mono:ui-monospace,"SF Mono","Segoe UI Mono",Menlo,monospace;

  --maxw:680px;
  --unit:8px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:var(--font);
  font-size:16px;
  line-height:1.7;
  color:var(--prose);
  background:linear-gradient(180deg,#0a0a14 0%,#000008 340px) no-repeat, #000008;
  background-color:#000008;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.wrap{max-width:var(--maxw);margin:0 auto;padding:56px 24px 72px}

::selection{background:rgba(77,107,255,.30);color:#fff}

/* ---- typography ---- */
h1,h2,h3{color:var(--ink)}
h1{font-size:32px;line-height:1.15;font-weight:700;letter-spacing:-.02em;margin:0 0 6px}
h2{font-size:22px;line-height:1.3;font-weight:700;letter-spacing:-.01em;margin:44px 0 12px}
h3{font-size:16px;line-height:1.4;font-weight:600;margin:24px 0 8px}
p{margin:0 0 16px}
small,.small{font-size:13px;line-height:1.5}
.muted{color:var(--muted)}
strong{font-weight:600;color:var(--ink)}

/* section label (tracked small-caps) — the signature text style */
.label{
  font-size:13px;font-weight:600;text-transform:uppercase;
  letter-spacing:.14em;color:var(--muted);margin:36px 0 10px;
}

/* section heading — plain bold white on dark (no accent bar) */
h2.sec{border-left:0;padding-left:0}

/* ---- links ---- */
a{color:var(--ink);font-weight:600;text-decoration:none;border-bottom:0}
a:hover{color:var(--accent)}
a:focus-visible,.btn:focus-visible,select:focus-visible{
  outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}
.back{display:inline-block;color:var(--muted);font-weight:400;font-size:13px;margin-bottom:28px}
.back:hover{color:var(--ink)}

/* ---- header / identity ---- */
.masthead{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px;
  padding-bottom:24px;border-bottom:1px solid var(--hairline);margin-bottom:16px}
.tagline{color:var(--muted);font-size:16px;margin:0 0 32px}
.links{font-size:14px}
.links a{color:var(--muted);font-weight:400;margin-left:14px}
.links a:first-child{margin-left:0}
.links a:hover{color:var(--accent)}

/* ---- project list (home) ---- */
.projects{list-style:none;padding:0;margin:12px 0 0}
.projects li{padding:20px 0;border-top:1px solid var(--line)}
.projects li:last-child{border-bottom:1px solid var(--line)}
.projects .date{color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}
.projects .title{color:var(--ink);font-weight:700;font-size:17px;display:block;margin:3px 0 5px;
  transition:color .15s ease}
a.title{border-bottom:0}
.projects li:hover a.title{color:var(--accent)}
.projects .blurb{color:var(--muted);font-size:14px;margin:0;line-height:1.6}

/* ---- chips ---- */
.chips{margin:4px 0 24px}
.chip{
  display:inline-block;background:transparent;color:var(--prose);
  border:1px solid var(--line);border-radius:20px;padding:3px 11px;
  font-size:12px;margin:2px 6px 2px 0;
}

/* ---- primary button ---- */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--accent-btn);color:var(--accent-ink);
  padding:11px 18px;border-radius:8px;font-size:14px;font-weight:600;border:0;
  transition:background .15s ease;
}
.btn:hover{background:#5f79ff}
.btn-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:16px 0 8px}
.btn-secondary{font-size:14px}

/* ---- figure: the dark SVG one-pagers sit flush in the card ---- */
figure{margin:28px 0;background:var(--surface);border:1px solid var(--line);
  border-radius:14px;padding:0;overflow:hidden}
figure img,figure object{
  display:block;width:100%;height:auto;background:transparent;
}
figcaption{font-size:13px;color:var(--muted);margin:10px 14px 14px}

/* ---- callout ---- */
.callout{
  background:var(--accent-tint);border:1px solid rgba(77,107,255,.22);
  border-left:3px solid var(--accent);border-radius:10px;
  padding:16px 18px;margin:24px 0;font-size:15px;color:var(--prose);
}
.callout .label{margin-top:0;color:var(--accent)}

/* ---- meta line ---- */
.meta{color:var(--muted);font-size:13px;margin:0 0 16px}

/* ---- lists in prose ---- */
.wrap ul{padding-left:20px;margin:0 0 16px}
.wrap ul li{margin:8px 0}

/* ---- footer ---- */
footer{margin-top:64px;padding-top:20px;border-top:1px solid var(--line);
  color:var(--muted);font-size:13px}

/* ---- placeholder marker (remove once David fills content) ---- */
.ph{background:rgba(77,107,255,.14);border-bottom:1px dashed var(--accent);
  padding:0 2px;border-radius:2px;color:var(--prose)}

html{scrollbar-color:#2a2a3a #000008}

@media(max-width:520px){
  .wrap{padding:36px 18px 52px}
  h1{font-size:28px}
  .masthead{flex-direction:column}
}
