/* Bascara Hospitality — shared styles
   Palette: deep teal #12312E, antique gold #9A7B4F, cream #F6F2E9
   Type: Georgia (headings), Calibri (body) — matches house style */

:root {
  --teal-950: #0b201d;
  --teal-900: #12312e;
  --teal-800: #1a413c;
  --teal-700: #24564e;
  --gold-600: #9a7b4f;
  --gold-500: #b08f5f;
  --gold-300: #d3b788;
  --gold-100: #eee1cb;
  --cream-100: #f6f2e9;
  --cream-50: #fbf9f4;
  --ink-900: #1c2420;
  --ink-600: #4a5450;
  --ink-400: #78827d;
  --white: #ffffff;
  --line: #e2dbca;
  --ok-600: #3f7a53;
  --ok-100: #e4f0e6;
  --warn-600: #a3722c;
  --warn-100: #f6ead4;
  --danger-600: #a1403a;
  --danger-100: #f5e1df;
  --info-600: #3b6a8c;
  --info-100: #dfeaf2;

  --font-head: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-body: Calibri, Candara, "Segoe UI", Optima, Arial, sans-serif;
  /* Display serif for the largest editorial moments only (hero, section
     leads) — Cormorant Garamond is already part of Okki's premium
     typography toolkit elsewhere, so this ties back to established
     material rather than introducing an unrelated face. Georgia stays
     the everyday heading font per house style. */
  --font-display: "Cormorant Garamond", Georgia, "Iowan Old Style", serif;

  --shadow-sm: 0 1px 2px rgba(18, 49, 46, 0.08);
  --shadow-md: 0 6px 24px rgba(18, 49, 46, 0.12);
  --shadow-lg: 0 16px 48px rgba(18, 49, 46, 0.18);
  --shadow-gold: 0 8px 28px rgba(154, 123, 79, 0.28);
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 0.75em;
  display: block;
}
.rule {
  width: 48px;
  height: 2px;
  background: var(--gold-500);
  border: none;
  margin: 1.25em 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85em 1.6em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  line-height: 1.1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold-600); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-500); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--cream-100); border-color: rgba(246, 242, 233, 0.4); }
.btn-outline:hover { background: rgba(246, 242, 233, 0.12); border-color: var(--cream-100); }
.btn-ghost { background: transparent; color: var(--teal-900); border-color: var(--line); }
.btn-ghost:hover { background: var(--cream-100); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-sm { padding: 0.5em 1em; font-size: 0.82rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: rgba(18, 49, 46, 0.96);
  backdrop-filter: blur(6px);
  color: var(--cream-100);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  text-decoration: none;
  color: var(--cream-100);
}
.brand-mark {
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--cream-100);
  opacity: 0.85;
}
.nav-links a:hover { opacity: 1; }
.nav-cta { display: none; }
@media (min-width: 760px) { .nav-cta { display: inline-flex; } }
.nav-toggle {
  display: inline-flex;
  background: none;
  border: 1px solid rgba(246,242,233,0.35);
  color: var(--cream-100);
  border-radius: var(--radius);
  padding: 0.5em 0.8em;
  font-size: 0.85rem;
  cursor: pointer;
}
@media (min-width: 760px) { .nav-toggle { display: none; } }
.nav-links { display: none; }
@media (min-width: 760px) { .nav-links { display: flex; } }
.nav-links.open { display: flex; }
@media (max-width: 759px) {
  .nav-links.open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--teal-900);
    padding: 16px 24px 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 480px at 85% -10%, rgba(154, 123, 79, 0.35), transparent 60%),
    linear-gradient(160deg, var(--teal-950), var(--teal-900) 55%, var(--teal-800));
  color: var(--cream-100);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246,242,233,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,242,233,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 75% 20%, black, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 680px; }
.hero-motif {
  position: absolute;
  top: -40px;
  right: -60px;
  width: 420px;
  height: 420px;
  color: var(--gold-500);
  opacity: 0.16;
  pointer-events: none;
}
@media (max-width: 900px) { .hero-motif { width: 280px; height: 280px; right: -80px; } }
.hero-eyebrow-row { display: flex; align-items: center; gap: 12px; margin-bottom: 1.1em; }
.hero-eyebrow-row .eyebrow { margin-bottom: 0; }
.hero-eyebrow-row .hr-line { flex: none; width: 32px; height: 1px; background: var(--gold-500); opacity: 0.6; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 0.32em;
}
.hero .tagline-id {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-300);
  font-size: 1.2rem;
  margin-bottom: 1.5em;
  position: relative;
  padding-left: 20px;
}
.hero .tagline-id::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 1px;
  background: var(--gold-300);
}
.hero p.lede {
  font-size: 1.1rem;
  color: rgba(246, 242, 233, 0.88);
  max-width: 56ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2em; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 64px;
  max-width: 720px;
}
.hero-stat { border-top: 1px solid rgba(246,242,233,0.25); padding-top: 12px; }
.hero-stat .num { font-family: var(--font-head); font-size: 1.7rem; color: var(--gold-300); }
.hero-stat .label { font-size: 0.78rem; color: rgba(246,242,233,0.7); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-cream { background: var(--cream-100); }
.section-teal { background: var(--teal-900); color: var(--cream-100); }
.section-teal h2 { color: var(--white); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .ornament {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.section-head .ornament::before,
.section-head .ornament::after {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--gold-500);
  opacity: 0.7;
}
.section-head .ornament .diamond {
  width: 5px; height: 5px;
  background: var(--gold-500);
  transform: rotate(45deg);
  flex: none;
}
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  color: var(--teal-900);
}
.lede { font-size: 1.05rem; color: var(--ink-600); }
.section-teal .lede { color: rgba(246,242,233,0.85); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.value-card .mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  color: var(--gold-600);
  font-size: 1.8rem;
  margin-bottom: 0.3em;
}
.value-card h3 { font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.4em; }
.value-card p { font-size: 0.92rem; color: var(--ink-600); margin: 0; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.portfolio-card.flagship { border-color: var(--gold-300); }
.portfolio-card .swatch {
  height: 132px;
  background:
    radial-gradient(140px 140px at 82% 18%, rgba(154,123,79,0.35), transparent 70%),
    linear-gradient(135deg, var(--teal-800), var(--teal-950));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-card .swatch::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(246,242,233,0.06) 1px, transparent 1px);
  background-size: 100% 22px;
  opacity: 0.5;
}
.portfolio-card .swatch svg {
  position: relative;
  width: 52px;
  height: 52px;
  color: var(--gold-300);
  stroke-width: 1.3;
}
.portfolio-card .featured-flag {
  position: absolute;
  top: 14px;
  left: 0;
  z-index: 2;
  background: var(--gold-600);
  color: var(--white);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35em 0.9em 0.35em 0.7em;
  border-radius: 0 4px 4px 0;
  box-shadow: var(--shadow-sm);
}
.portfolio-card .body { padding: 22px 22px 26px; }
.portfolio-card .tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
}
.portfolio-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; margin: 0.25em 0 0.2em; color: var(--teal-900); }
.portfolio-card .loc { font-size: 0.82rem; color: var(--ink-400); margin-bottom: 0.7em; }
.portfolio-card p.desc { font-size: 0.9rem; color: var(--ink-600); margin-bottom: 0.9em; }
.portfolio-card .award-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* ---------- Award badges (custom line-art, not any brand's own logo) ---------- */
.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal-900);
  background: linear-gradient(180deg, var(--gold-100), #f7ecd9);
  border: 1px solid var(--gold-300);
  border-radius: 999px;
  padding: 0.32em 0.8em 0.32em 0.55em;
}
.award-badge.plain {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-600);
  font-weight: 500;
}
.award-badge svg { width: 15px; height: 15px; color: var(--gold-600); flex: none; }
.award-badge.michelin {
  box-shadow: var(--shadow-gold);
  border-color: var(--gold-500);
}
.pill {
  display: inline-block;
  font-size: 0.68rem;
  padding: 0.25em 0.7em;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-600);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pill-outline {
  background: transparent;
  border: 1px solid rgba(246,242,233,0.4);
  color: var(--cream-100);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.service-card {
  padding: 24px 22px;
  border-radius: 8px;
  background: rgba(246,242,233,0.05);
  border: 1px solid rgba(246,242,233,0.15);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-3px); background: rgba(246,242,233,0.09); border-color: rgba(211,183,136,0.4); }
.service-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--gold-300); margin-bottom: 0.35em; }
.service-card p { font-size: 0.9rem; color: rgba(246,242,233,0.8); margin: 0; }

.roadmap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  margin-top: 48px;
  counter-reset: phase;
}
.roadmap-step {
  position: relative;
  padding: 22px 18px 0;
  border-top: 3px solid var(--gold-500);
  transition: border-color 0.25s ease;
}
.roadmap-step:hover { border-top-color: var(--gold-300); }
.roadmap-step .n {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 2rem;
  color: var(--gold-600);
}
.roadmap-step h4 { font-size: 0.92rem; margin: 0.3em 0 0.3em; }
.roadmap-step p { font-size: 0.82rem; color: var(--ink-600); margin: 0; }

.leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.leader-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.leader-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.leader-card .initials {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--teal-900);
  color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  margin-bottom: 12px;
}
.leader-card h4 { font-size: 0.98rem; margin: 0 0 0.15em; }
.leader-card .role { font-size: 0.76rem; color: var(--gold-600); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.5em; }
.leader-card p.bio { font-size: 0.85rem; color: var(--ink-600); margin: 0; }

/* ---------- Recognition strip (below hero) ---------- */
.recognition-strip {
  background: var(--teal-950);
  border-top: 1px solid rgba(246,242,233,0.1);
  border-bottom: 1px solid rgba(246,242,233,0.1);
  padding: 22px 0;
}
.recognition-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 32px;
}
.recognition-strip .label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246,242,233,0.5);
  flex: none;
}
.recognition-strip .badges { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; min-width: 0; }
.recognition-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(246,242,233,0.88);
  max-width: 100%;
}
.recognition-item svg { margin-top: 2px; }
@media (min-width: 900px) {
  .recognition-item { white-space: nowrap; align-items: center; }
  .recognition-item svg { margin-top: 0; }
}
.recognition-item svg { width: 18px; height: 18px; color: var(--gold-300); flex: none; }
.recognition-item strong { color: var(--white); font-weight: 600; white-space: nowrap; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.cta-band {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
  color: var(--teal-950);
  text-align: center;
  padding: 64px 24px;
}
.cta-band h2 { color: var(--teal-950); }
.cta-band p { color: rgba(18,49,46,0.75); max-width: 52ch; margin-left: auto; margin-right: auto; }

.site-footer {
  background: var(--teal-950);
  color: rgba(246,242,233,0.65);
  padding: 48px 0 32px;
  font-size: 0.85rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.site-footer a { color: var(--gold-300); text-decoration: none; }
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(246,242,233,0.12);
  font-size: 0.76rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Forms (onboarding + dashboard share these) ---------- */
.form-page-header {
  background: var(--teal-900);
  color: var(--cream-100);
  padding: 40px 0 28px;
}
.form-shell {
  max-width: 760px;
  margin: -28px auto 80px;
  padding: 0 24px;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 36px 32px 32px;
}
@media (max-width: 600px) { .form-card { padding: 28px 18px 24px; } }

.progress-track {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}
.progress-seg {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}
.progress-seg.done { background: var(--gold-500); }
.progress-label {
  font-size: 0.76rem;
  color: var(--ink-400);
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.6em;
}

.field { margin-bottom: 22px; }
.field label.field-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4em;
  color: var(--teal-900);
}
.field .req { color: var(--danger-600); margin-left: 2px; }
.field input[type=text],
.field input[type=email],
.field input[type=tel],
.field input[type=number],
.field input[type=date],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 0.65em 0.75em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream-50);
  color: var(--ink-900);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold-500);
  outline-offset: 1px;
  border-color: var(--gold-500);
}
.field textarea { min-height: 88px; resize: vertical; }
.field .help { font-size: 0.8rem; color: var(--ink-400); margin-top: 0.35em; }
.field .err { font-size: 0.8rem; color: var(--danger-600); margin-top: 0.35em; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger-600); }

.option-list { display: flex; flex-direction: column; gap: 8px; }
.option-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.6em 0.8em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream-50);
  cursor: pointer;
  font-size: 0.92rem;
}
.option-row:hover { border-color: var(--gold-500); }
.option-row input { margin-top: 3px; }
.option-row.checked { border-color: var(--gold-500); background: var(--gold-100); }

.file-drop {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--cream-50);
  font-size: 0.88rem;
}
.file-drop input[type=file] { font-size: 0.85rem; }
.file-status { margin-top: 8px; font-size: 0.82rem; display: flex; align-items: center; gap: 8px; }
.file-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-400); flex: none; }
.file-status.uploading .dot { background: var(--info-600); }
.file-status.done .dot { background: var(--ok-600); }
.file-status.error .dot { background: var(--danger-600); }

.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.wizard-nav .spacer { flex: 1; }
.autosave-note { font-size: 0.76rem; color: var(--ink-400); text-align: center; margin-top: 14px; }

.step-title { font-size: 1.3rem; margin-bottom: 0.2em; }
.step-intro { color: var(--ink-600); font-size: 0.92rem; margin-bottom: 1.6em; }
.step-counter { font-size: 0.76rem; color: var(--gold-600); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: 0.6em; }

.success-panel { text-align: center; padding: 24px 8px; }
.success-panel .mark { font-size: 2.6rem; color: var(--ok-600); margin-bottom: 0.3em; }

/* ---------- Dashboard ---------- */
.lock-screen {
  max-width: 380px;
  margin: 12vh auto;
  padding: 0 24px;
  text-align: center;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.3em 0.7em;
  border-radius: 999px;
}
.status-new { background: var(--info-100); color: var(--info-600); }
.status-review { background: var(--warn-100); color: var(--warn-600); }
.status-docs { background: var(--warn-100); color: var(--warn-600); }
.status-diligence { background: var(--info-100); color: var(--info-600); }
.status-proposal { background: var(--gold-100); color: var(--gold-600); }
.status-onboarded { background: var(--ok-100); color: var(--ok-600); }
.status-declined { background: var(--danger-100); color: var(--danger-600); }
.status-contacted { background: var(--gold-100); color: var(--gold-600); }
.status-archived { background: var(--line); color: var(--ink-400); }

.dash-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.stat-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.stat-tile .num { font-family: var(--font-head); font-size: 1.6rem; color: var(--teal-900); font-variant-numeric: tabular-nums; }
.stat-tile .label { font-size: 0.74rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.03em; }
.stat-tile.accent .num { color: var(--gold-600); }

.submission-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.submission-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
}
.submission-head .grow { flex: 1; min-width: 180px; }
.submission-head h3 { font-size: 1.02rem; margin: 0 0 0.15em; }
.submission-head .meta { font-size: 0.78rem; color: var(--ink-400); }
.submission-body { display: none; padding: 0 18px 20px; border-top: 1px solid var(--line); }
.submission-card.open .submission-body { display: block; }
.submission-card.open .chevron { transform: rotate(90deg); }
.chevron { transition: transform 0.15s ease; color: var(--ink-400); }

.sub-section { margin-top: 18px; }
.sub-section h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold-600); margin-bottom: 0.6em; }
.kv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 20px; }
.kv-grid .kv { font-size: 0.86rem; }
.kv-grid .kv .k { color: var(--ink-400); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.02em; }
.kv-grid .kv .v { white-space: pre-wrap; }
.doc-list { display: flex; flex-direction: column; gap: 6px; }
.doc-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.86rem; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.doc-row:last-child { border-bottom: none; }

.status-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.status-controls select { padding: 0.5em 0.7em; border-radius: var(--radius); border: 1px solid var(--line); font-family: var(--font-body); }
.notes-box { width: 100%; min-height: 64px; margin-top: 10px; font-family: var(--font-body); padding: 0.6em 0.7em; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Inquiry modal ---------- */
.link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.link-btn:hover { color: var(--gold-300); }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 26, 24, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}
.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 32px 28px 28px;
}
@media (max-width: 600px) { .modal-dialog { padding: 26px 20px 22px; } }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--cream-100);
  color: var(--teal-900);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--line); }

/* ---------- Inquiry cards (dashboard) ---------- */
.inquiry-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.inquiry-card .inquiry-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}
.inquiry-card h4 { margin: 0 0 2px; font-size: 1rem; }
.inquiry-card .meta { font-size: 0.82rem; color: var(--ink-400); }
.inquiry-card .msg { margin-top: 10px; font-size: 0.92rem; color: var(--ink-600); white-space: pre-wrap; }
.inquiry-card .inquiry-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.inquiry-card .inquiry-controls select { padding: 0.4em 0.6em; border-radius: var(--radius); border: 1px solid var(--line); font-family: var(--font-body); font-size: 0.85rem; }

.dash-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 40px 0 14px;
}
.dash-section-head:first-of-type { margin-top: 0; }
.dash-section-head h2 { font-size: 1.15rem; margin: 0; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--teal-950);
  color: var(--cream-100);
  padding: 0.7em 1.2em;
  border-radius: var(--radius);
  font-size: 0.86rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

[hidden] { display: none !important; }

@media (max-width: 600px) {
  section { padding: 56px 0; }
  .hero { padding: 72px 0 56px; }
}
