:root {
  /* Theme derived from the dudeistguy logo palette */
  --bg-0: #070a0c;          /* near-black (logo base) */
  --bg-1: #0c1014;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.09);
  --frost: rgba(255, 255, 255, 0.03);
  --accent: #eb8f35;        /* orange (logo primary) */
  --accent-soft: #f0a45a;
  --accent-glow: rgba(235, 143, 53, 0.28);
  --accent2: #3d6e83;       /* teal (logo secondary) */
  --accent2-glow: rgba(61, 110, 131, 0.25);
  --text: #fcfbfc;          /* white (logo) */
  --text-dim: #c6cdd3;
  --text-faint: #8a939b;
  --danger: #f87171;
  --ok: #34d399;
  --radius: 16px;
  --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 650px at 12% -10%, rgba(235, 143, 53, 0.10), transparent 55%),
    radial-gradient(900px 550px at 92% 110%, rgba(61, 110, 131, 0.10), transparent 55%),
    var(--bg-0);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 4px);
  pointer-events: none;
  z-index: 0;
}

.glass {
  background: var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

/* ---------- Header / logo ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 18px;
  color: var(--text);
}
.brand img.logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  filter: drop-shadow(0 0 12px var(--accent-glow));
}
.brand .dot { color: var(--accent); text-shadow: 0 0 14px var(--accent-glow); }
.topbar nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  margin-left: 20px;
  transition: color 0.2s;
}
.topbar nav a:hover { color: var(--accent); }

/* ---------- Hero / headings ---------- */
h1 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 12px;
}
h1 .accent {
  background: linear-gradient(120deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 32px;
}
h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent2);
  font-weight: 700;
  margin-bottom: 18px;
}

/* ---------- Cards / grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.card { padding: 22px; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(235, 143, 53, 0.35);
  box-shadow: 0 12px 36px rgba(0,0,0,0.5), 0 0 0 1px rgba(235,143,53,0.1);
}
.card .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.card .value { font-size: 15px; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #d97c24);
  color: #1a0e02;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 18px var(--accent-glow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 26px var(--accent-glow); }
.btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(235, 143, 53, 0.5);
  box-shadow: none;
}
.btn.danger {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  box-shadow: 0 4px 18px rgba(239,68,68,0.25);
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- Forms ---------- */
label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 6px; }
input, textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  color: var(--text);
  padding: 11px 13px;
  font-size: 15px;
  font-family: var(--font);
  margin-bottom: 16px;
  transition: border 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
textarea { min-height: 90px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--text-faint); margin-top: -8px; margin-bottom: 16px; }

/* ---------- Status / message ---------- */
.msg { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; display: none; }
.msg.show { display: block; }
.msg.error { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.35); color: var(--danger); }
.msg.ok { background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.35); color: var(--ok); }

/* ---------- Admin rows ---------- */
.req { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 20px; margin-bottom: 12px; }
.req .meta { flex: 1; }
.req .meta .who { font-weight: 700; margin-bottom: 2px; }
.req .meta .sub { font-size: 13px; color: var(--text-dim); }
.req .meta .creds { font-size: 13px; color: var(--text-faint); margin-top: 6px; }
.req .meta a { color: var(--accent); text-decoration: none; }
.req .meta a:hover { text-decoration: underline; }
.req .actions { display: flex; gap: 8px; flex-shrink: 0; }
.req .actions .btn { padding: 8px 14px; font-size: 13px; }

/* ---------- Footer ---------- */
.footer { margin-top: 56px; text-align: center; font-size: 12.5px; color: var(--text-faint); }

/* ---------- Resume typography ---------- */
.resume h3 { font-size: 20px; margin: 28px 0 4px; }
.resume .role { color: var(--accent); font-weight: 600; }
.resume .dates { color: var(--text-faint); font-size: 13px; }
.resume p { color: var(--text-dim); margin: 6px 0; }
.resume ul { padding-left: 20px; margin: 6px 0; }
.resume li { color: var(--text-dim); margin: 4px 0; }
.resume .sec { margin-bottom: 8px; }
.resume .chip {
  display: inline-block;
  background: rgba(235, 143, 53, 0.08);
  border: 1px solid rgba(235, 143, 53, 0.2);
  color: var(--accent);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12.5px;
  margin: 3px 4px 3px 0;
}

@media (max-width: 640px) {
  .wrap { padding: 28px 16px 56px; }
  h1 { font-size: 30px; }
  .req { flex-direction: column; }
  .brand img.logo { width: 34px; height: 34px; }
}
