:root {
  --navy: #0f2044;
  --navy-deep: #0b1830;
  --gold: #c9a84c;
  --gold-dark: #ab8d34;
  --ink: #1a2235;
  --muted: #5b6577;
  --line: #e2e6ee;
  --bg: #f6f7fb;
  --white: #ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.15; color: var(--navy); }
a { color: inherit; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; max-width: 1080px; margin: 0 auto;
}
.brand { font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.15rem; color: var(--navy); text-decoration: none; }
.brand span { color: var(--gold); }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover { color: var(--navy); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #eef1f7;
  padding: 84px 0 96px;
}
.hero .eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.2rem); margin: 14px 0 18px; max-width: 16ch; }
.hero p { color: #c4ccdb; font-size: 1.08rem; max-width: 52ch; }
.hero .meta { margin-top: 28px; display: flex; gap: 28px; flex-wrap: wrap; font-size: 0.95rem; color: #aeb8cc; }
.hero .meta strong { color: #fff; font-weight: 600; }

/* Form section */
.intake { padding: 64px 0 80px; background: var(--bg); }
.intake-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.intake h2 { font-size: 1.9rem; margin-bottom: 14px; }
.intake .lede { color: var(--muted); margin-bottom: 26px; }
.points { list-style: none; }
.points li { padding: 10px 0 10px 26px; position: relative; color: var(--ink); border-bottom: 1px solid var(--line); }
.points li:last-child { border-bottom: 0; }
.points li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 32px; box-shadow: 0 8px 28px rgba(15,32,68,0.06); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
input, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px;
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: #fbfcfe;
}
input:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.18); }
textarea { resize: vertical; min-height: 110px; }
.btn {
  display: inline-block; background: var(--navy); color: #fff; border: 0; cursor: pointer;
  padding: 13px 26px; border-radius: 9px; font-size: 0.98rem; font-weight: 600; font-family: inherit;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--navy-deep); }
.btn.gold { background: var(--gold); color: var(--navy-deep); }
.btn.gold:hover { background: var(--gold-dark); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn.small { padding: 7px 14px; font-size: 0.85rem; }
.btn.ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }

.note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
.msg { margin-top: 16px; padding: 12px 14px; border-radius: 9px; font-size: 0.9rem; display: none; }
.msg.ok { display: block; background: #eaf6ee; color: #1f6b3a; border: 1px solid #bfe3cb; }
.msg.err { display: block; background: #fdeced; color: #9b2330; border: 1px solid #f3c2c7; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #aab4c8; padding: 36px 0; font-size: 0.88rem; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }

/* Staff */
.staff-wrap { min-height: 100vh; background: var(--bg); }
.login-box { max-width: 380px; margin: 90px auto; }
.login-box h1 { font-size: 1.6rem; margin-bottom: 8px; }
.login-box p { color: var(--muted); margin-bottom: 22px; font-size: 0.92rem; }
.staff-bar { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.staff-bar h1 { font-size: 1.5rem; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 22px rgba(15,32,68,0.06); }
th, td { text-align: left; padding: 13px 16px; font-size: 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: #fff; font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; }
.badge.done { background: #eaf6ee; color: #1f6b3a; }
.badge.pending { background: #f1f3f8; color: var(--muted); }
.empty { padding: 50px; text-align: center; color: var(--muted); }

@media (max-width: 820px) {
  .intake-grid { grid-template-columns: 1fr; gap: 36px; }
  .field-row { grid-template-columns: 1fr; }
  .table-scroll { overflow-x: auto; }
  table { min-width: 760px; }
}
