@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --cream: #F5F1E8;
  --black: #141414;
  --blue: #1D4ED8;
  --blue-dark: #1739A6;
  --muted: #6B6459;
  --border: rgba(20,20,20,0.15);
  --border-light: rgba(245,241,232,0.2);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--black);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
}

h1, h2, h3, .display {
  font-family: 'Archivo Black', 'Inter', sans-serif;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 2px solid var(--black);
  background: var(--cream);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.oc-mark {
  background: var(--blue); color: var(--cream); font-family: 'Archivo Black', sans-serif;
  font-size: 14px; padding: 6px 8px; display: inline-block;
}
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.site-nav a { text-decoration: none; color: var(--black); }
.site-nav a.active { color: var(--blue); }
.site-nav .btn-help {
  background: var(--black); color: var(--cream); padding: 10px 18px;
  text-decoration: none; font-weight: 700;
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; }
.hero-eyebrow { color: var(--muted); font-size: 13px; letter-spacing: 0.06em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); }
.hero h1 .dot { color: var(--blue); }
.hero p.lede { max-width: 560px; font-size: 18px; margin-top: 22px; color: #2b2b2b; }
.hero p.fine { font-style: italic; color: var(--muted); margin-top: 14px; font-size: 15px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 40px; align-items: stretch; }
.hero-photo { background-size: cover; background-position: center; min-height: 320px; border: 2px solid var(--black); }
.hero-card {
  background: var(--black); color: var(--cream); padding: 32px; display: flex; flex-direction: column; justify-content: center;
}
.hero-card .eyebrow { color: #A8A199; font-size: 13px; letter-spacing: 0.06em; margin-bottom: 12px; }
.hero-card h2 { font-size: 28px; margin-bottom: 14px; }
.hero-card p { color: #C9C4BA; font-size: 15px; margin-bottom: 22px; }
@media (max-width: 800px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Search ---------- */
.search-section { background: var(--black); color: var(--cream); padding: 56px 0; }
.search-section .eyebrow { color: #A8A199; font-size: 13px; letter-spacing: 0.06em; margin-bottom: 14px; }
.search-section h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 32px; }
.search-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; }
.search-field label { display: block; font-size: 12px; letter-spacing: 0.05em; color: #A8A199; margin-bottom: 8px; text-transform: uppercase; }
.search-field select {
  width: 100%; padding: 14px 16px; background: var(--black); color: var(--cream);
  border: 2px solid var(--border-light); font-size: 15px; font-family: inherit;
}
.search-field select:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.btn-search, .btn-primary {
  background: var(--blue); color: #fff; border: none; padding: 15px 28px;
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; text-decoration: none;
  display: inline-block;
}
.btn-search:hover, .btn-primary:hover { background: var(--blue-dark); }
@media (max-width: 700px) { .search-form { grid-template-columns: 1fr; } }

/* ---------- Results ---------- */
.results-section { padding: 40px 0 20px; }
.results-count { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.result-card {
  border: 2px solid var(--black); padding: 20px 22px; margin-bottom: 14px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: #fff;
}
.result-main { flex: 1; min-width: 260px; }
.result-city { font-size: 12px; letter-spacing: 0.05em; color: var(--blue); font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.result-name { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.result-meta { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.result-amount { font-size: 16px; font-weight: 700; color: var(--black); }
.result-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; justify-content: center; }
.result-link { font-size: 13px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--blue); padding-bottom: 2px; text-align: right; max-width: 240px; }
.status-tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 9px; font-weight: 700; }
.status-active { background: #E4EFE0; color: #2C6B1F; }
.status-waitlist { background: #FCEFD6; color: #9A6A0B; }
.status-referral { background: #E3E7F0; color: #33468A; }
.no-results { padding: 40px 0; text-align: center; color: var(--muted); }

/* ---------- Three kinds of help ---------- */
.help-section { padding: 60px 0; border-top: 2px solid var(--black); }
.help-section .eyebrow { color: var(--muted); font-size: 13px; letter-spacing: 0.06em; margin-bottom: 14px; }
.help-section h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 36px; }
.help-row { display: grid; grid-template-columns: 90px 260px 1fr; gap: 24px; padding: 26px 0; border-top: 2px solid var(--black); align-items: start; }
.help-row:last-child { border-bottom: 2px solid var(--black); }
.help-num { font-family: 'Archivo Black', sans-serif; font-size: 34px; color: var(--blue); }
.help-title { font-family: 'Archivo Black', sans-serif; font-size: 20px; line-height: 1.15; }
.help-desc { color: #2b2b2b; font-size: 15px; }
@media (max-width: 700px) { .help-row { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Contact CTA ---------- */
.contact-section { background: var(--blue); color: #fff; padding: 60px 0; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.contact-section .eyebrow { color: rgba(255,255,255,0.75); font-size: 13px; letter-spacing: 0.06em; margin-bottom: 14px; }
.contact-section h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.contact-section p.lede { font-size: 16px; max-width: 480px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea {
  padding: 14px 16px; border: 2px solid #fff; background: transparent; color: #fff;
  font-family: inherit; font-size: 15px;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.65); }
.contact-form button {
  background: var(--black); color: var(--cream); border: none; padding: 15px 24px;
  font-weight: 700; cursor: pointer; font-size: 15px;
}
.contact-form button:hover { opacity: 0.85; }
.form-msg { font-size: 14px; margin-top: 4px; color: #fff; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--cream); padding: 40px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { color: #A8A199; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.footer-grid a { display: block; color: var(--cream); text-decoration: none; margin-bottom: 8px; font-size: 14px; }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border-light); color: #A8A199; font-size: 13px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

.hero-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; margin-bottom: 40px; }
.hero-headline-image { width: 100%; height: auto; object-fit: cover; border: 2px solid var(--black); }
@media (max-width: 800px) { .hero-top { grid-template-columns: 1fr; } }

/* =====================================================
   SIMPLE CONTENT PAGE TEMPLATE (see page-template.php)
   ===================================================== */
.page-hero { padding: 48px 0 20px; border-bottom: 2px solid var(--black); }
.page-hero .eyebrow { color: var(--muted); font-size: 13px; letter-spacing: 0.06em; margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(30px, 5vw, 46px); max-width: 18ch; }
.page-body { padding: 40px 0 60px; max-width: 720px; }
.page-body p { font-size: 17px; line-height: 1.7; color: #2b2b2b; }

/* =====================================================
   ADMIN PANEL
   ===================================================== */
.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--black); }
.login-card { background: var(--cream); padding: 44px 40px; width: 380px; max-width: 90vw; text-align: center; }
.login-mark {
  background: var(--blue); color: #fff; font-family: 'Archivo Black', sans-serif;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 16px;
}
.login-card h1 { font-size: 22px; margin-bottom: 4px; }
.login-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.login-card form { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.login-card label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-top: 12px; }
.login-card input { padding: 12px 14px; border: 2px solid var(--black); font-family: inherit; font-size: 15px; margin-top: 6px; }
.login-card button {
  margin-top: 22px; background: var(--blue); color: #fff; border: none; padding: 14px;
  font-weight: 700; font-size: 15px; cursor: pointer;
}
.login-back { display: block; margin-top: 20px; font-size: 13px; color: var(--muted); text-decoration: none; }
.form-error { color: #B23A2E; font-size: 14px; font-weight: 600; }
.form-error-list { color: #B23A2E; font-size: 14px; padding-left: 18px; }
.form-success { color: #2C6B1F; font-weight: 600; font-size: 14px; }
.form-warning { color: #9A6A0B; font-weight: 600; font-size: 14px; margin-top: 8px; }

.admin-body { background: #F1EFE9; font-family: 'Inter', sans-serif; margin: 0; }
.admin-header { background: var(--black); color: var(--cream); }
.admin-header-inner { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; }
.admin-logo { font-weight: 700; font-size: 15px; letter-spacing: 0.02em; }
.admin-header nav { display: flex; gap: 20px; align-items: center; font-size: 14px; }
.admin-header nav a { color: var(--cream); text-decoration: none; border-bottom: 1px solid transparent; }
.admin-header nav a:hover { border-color: var(--cream); }
.admin-main { max-width: 1200px; margin: 0 auto; padding: 32px 24px 60px; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.admin-filter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-filter-form input, .admin-filter-form select { padding: 9px 12px; border: 1px solid #ccc; font-family: inherit; font-size: 14px; background: #fff; }
.admin-filter-form button, .btn-clear, .btn-add { padding: 9px 16px; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; }
.admin-filter-form button { background: var(--black); color: var(--cream); }
.btn-clear { background: #e2e2e2; color: var(--black); display: inline-flex; align-items: center; }
.btn-add { background: var(--blue); color: #fff; display: inline-flex; align-items: center; }
.admin-count { color: var(--muted); font-size: 13px; margin: 16px 0; }
.admin-table-wrap { overflow-x: auto; background: #fff; border: 1px solid #ddd; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; background: #EDEAE2; padding: 12px 14px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); }
.admin-table td { padding: 12px 14px; border-top: 1px solid #eee; vertical-align: middle; }
.admin-actions { display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.admin-actions a { color: var(--black); font-weight: 600; text-decoration: none; font-size: 13px; }
.btn-delete { background: none; border: none; color: #B23A2E; font-weight: 600; cursor: pointer; font-size: 13px; padding: 0; font-family: inherit; }
.admin-empty { text-align: center; padding: 40px 0; color: var(--muted); }
.status-pill { padding: 3px 9px; font-size: 11px; font-weight: 700; text-transform: uppercase; border-radius: 2px; }
.status-pill.status-active { background: #E4EFE0; color: #2C6B1F; }
.status-pill.status-waitlist { background: #FCEFD6; color: #9A6A0B; }
.status-pill.status-closed { background: #F0DEDD; color: #A32D26; }
.status-pill.status-referral { background: #E3E7F0; color: #33468A; }
.status-pill.status-needs_verification { background: #EFE7F5; color: #6A3D9A; }

.admin-form-main h1 { font-size: 24px; margin-bottom: 20px; }
.admin-form { max-width: 640px; background: #fff; padding: 28px; border: 1px solid #ddd; }
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13px; font-weight: 600; }
.form-row input, .form-row select, .form-row textarea { padding: 10px 12px; border: 1px solid #ccc; font-family: inherit; font-size: 14px; }
.btn-save { background: var(--blue); color: #fff; border: none; padding: 13px 26px; font-weight: 700; font-size: 15px; cursor: pointer; }
