/* ===================================================================
   Taylor Bentley — Portfolio
   Design language: a clean admin-tool aesthetic — mono labels,
   hairline rules, and dashboard-style structure.
   =================================================================== */

:root {
  /* Color */
  --bg: #11151c;
  --surface: #181e27;
  --surface-2: #1f2731;
  --border: #2b3340;
  --text: #ECE9E1;
  --text-muted: #8C93A1;
  --accent: #E8A33D;       /* "in progress" amber — primary CTA */
  --accent-soft: #E8A33D26;
  --accent-2: #5FB8AE;     /* "resolved" teal — secondary */
  --accent-2-soft: #5FB8AE22;
  --danger: #D9695F;

  /* Type */
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Layout */
  --maxw: 1080px;
  --radius: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; border-radius: var(--radius); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

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

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 21, 28, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  padding: 6px 9px;
  border-radius: var(--radius);
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.nav-links a {
  color: var(--text-muted);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover { color: var(--text); }

.nav-links a.is-active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.nav-toggle { display: none; }

/* ---------- section eyebrow (signature element) ---------- */

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.cat-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}

#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.avatar-link { display: inline-block; margin-bottom: 20px; }

.avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  transition: border-color 0.15s ease;
}

.avatar-link:hover .avatar { border-color: var(--accent-2); }

h1.display {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.05;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.role-line {
  font-family: var(--font-mono);
  color: var(--accent-2);
  font-size: 15px;
  margin: 0 0 22px;
}

.lede {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 56ch;
  margin: 0 0 28px;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 11px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn.primary {
  background: var(--accent);
  color: #1b1306;
  border-color: var(--accent);
}

.btn.primary:hover { background: #f3ad44; }

.btn.ghost {
  color: var(--text);
}

.btn.ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* status / skills panel */

.status-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 8px;
}

.status-panel .panel-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
}

.skill-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.skill-list li:last-child { border-bottom: none; padding-bottom: 0; }

.dot {
  width: 7px;
  height: 7px;
  min-width: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  margin-top: 6px;
}

/* ---------- generic section ---------- */

section.block {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

section.block:last-of-type { border-bottom: none; }

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 34px);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

.col-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.card .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 10px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 0 0 8px;
}

.card p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

p.body-text {
  color: var(--text);
  max-width: 70ch;
  margin: 0 0 18px;
  font-size: 15.5px;
}

/* ---------- project list ---------- */

.queue {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.queue-row {
  display: grid;
  grid-template-columns: 1fr 170px 30px;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
}

.queue-row:last-child { border-bottom: none; }

.queue-row:hover { background: var(--surface); }

.queue-row .cat-pill { justify-self: start; }

.queue-title h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 4px;
}

.queue-title p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 0;
}

.queue-arrow {
  font-family: var(--font-mono);
  color: var(--text-muted);
  justify-self: end;
  transition: color 0.15s ease, transform 0.15s ease;
}

.queue-row:hover .queue-arrow { color: var(--accent); transform: translateX(2px); }

/* ---------- project detail ---------- */

.meta-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.meta-row strong { color: var(--text); display: block; font-family: var(--font-body); font-size: 14px; margin-top: 2px; }

.shot {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 22px 0 30px;
  background: var(--surface);
}

.shot img { display: block; }

.shot.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.shot.split img { height: 100%; object-fit: cover; }

.milestone {
  border-left: 2px solid var(--border);
  padding-left: 18px;
  margin-bottom: 20px;
}

.milestone .label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.milestone h4 { margin: 4px 0 6px; font-family: var(--font-display); font-size: 17px; }
.milestone p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

.link-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 18px 0 0; }

/* ---------- work experience ---------- */

.exp-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.exp-item:first-child { padding-top: 0; }
.exp-item:last-child { border-bottom: none; }

.exp-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2px;
}

.exp-head h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0;
}

.exp-dates {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  white-space: nowrap;
}

.exp-company {
  color: var(--accent-2);
  font-size: 14px;
  margin: 0 0 10px;
}

.exp-item ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.exp-item li { margin-bottom: 4px; }

/* ---------- resume page ---------- */

.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.resume-pdf-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.resume-pdf-card .filename {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ---------- footer ---------- */

footer {
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  font-size: 14px;
}

.footer-grid .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: block;
}

.footer-grid a:hover { color: var(--accent-2); }

.copyright {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

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

@media (max-width: 760px) {
  .nav { height: auto; flex-wrap: wrap; padding: 10px 0; gap: 10px; }
  .nav-left { width: 100%; justify-content: space-between; }
  .nav-links { gap: 14px; font-size: 12px; overflow-x: auto; }
  .hero-grid, .resume-grid, .col-3, .col-2 { grid-template-columns: 1fr; }
  .queue-row { grid-template-columns: 1fr 28px; }
  .queue-row .cat-pill { display: none; }
  .shot.split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .exp-head { flex-direction: column; align-items: flex-start; gap: 2px; }
}
