/* ==========================================================================
   Novadell HOA Community Portal — "Warm Earthy & Natural" Theme
   500 Novadell Way, Hopkinsville, KY 42240
   ========================================================================== */

:root {
  /* Option 3: Timber & Limestone Architectural Palette */
  --bg-sand: #F1EDE4;
  --bg-cream: #FAF7F0;
  --bg-stone: #E5DFD2;
  --bg-card: #FFFFFF;

  --sage-900: #121F18;
  --sage-800: #1A2E23;
  --sage-700: #264334;
  --sage-600: #355846;
  --sage-500: #557A66;
  --sage-200: #D3DCD5;
  --sage-100: #E7EEE9;

  --wood-700: #7D532B;
  --wood-600: #9C6B3B;
  --wood-500: #C99156;
  --wood-200: #E7D5BF;
  --wood-100: #F6EFE6;

  --text-main: #1A221D;
  --text-muted: #4D5750;
  --text-light: #717B74;

  --border-subtle: #D5CEBF;
  --border-strong: #BFB6A4;

  --amber-bg: #FEF6E6;
  --amber-border: #E5BA6B;
  --amber-text: #7D5310;

  --danger-bg: #FDF0EE;
  --danger-border: #E6A89E;
  --danger-text: #9E2F20;

  --info-bg: #EEF4F8;
  --info-border: #B3CEE2;
  --info-text: #285473;

  --shadow-sm: 0 2px 6px rgba(18, 31, 24, 0.05);
  --shadow-md: 0 8px 24px rgba(18, 31, 24, 0.09);
  --shadow-lg: 0 18px 40px rgba(18, 31, 24, 0.16);

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;

  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ui: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-sand);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, .serif {
  font-family: var(--font-serif);
  color: var(--sage-900);
  line-height: 1.25;
  font-weight: 600;
}

a {
  color: var(--sage-700);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--wood-700);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
}

/* ==========================================================================
   Demo Mode Switcher Bar (Top Pitch Bar for the Board Presentation)
   ========================================================================== */
.demo-pitch-bar {
  background: var(--sage-900);
  color: #EAE6DF;
  font-size: 0.82rem;
  padding: 0.5rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.demo-pitch-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.demo-pitch-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.demo-pill {
  background: var(--wood-600);
  color: #fff;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
}

.demo-pitch-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.demo-switch-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #F6F3EC;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.demo-switch-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.demo-switch-btn.active {
  background: var(--wood-500);
  color: #fff;
  border-color: var(--wood-500);
  font-weight: 600;
}

/* ==========================================================================
   Site Alert Banner
   ========================================================================== */
.community-alert-banner {
  background: var(--amber-bg);
  border-bottom: 1px solid var(--amber-border);
  color: var(--amber-text);
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
}

.community-alert-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ==========================================================================
   Main Header & Navigation
   ========================================================================== */
.site-header {
  background: rgba(253, 251, 247, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  text-decoration: none;
}

.brand-crest {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--sage-800), var(--sage-700));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(42, 68, 50, 0.22);
  border: 1.5px solid var(--wood-500);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sage-900);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wood-700);
  font-weight: 600;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
}

.nav-btn:hover {
  color: var(--sage-900);
  background: var(--bg-stone);
}

.nav-btn.active {
  color: var(--sage-900);
  background: var(--sage-100);
  font-weight: 600;
}

.nav-divider {
  width: 1px;
  height: 22px;
  background: var(--border-subtle);
  margin: 0 0.35rem;
}

.header-auth {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.62rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--sage-800);
  color: #fff;
  box-shadow: 0 2px 8px rgba(42, 68, 50, 0.2);
}

.btn-primary:hover {
  background: var(--sage-900);
  color: #fff;
  transform: translateY(-1px);
}

.btn-wood {
  background: var(--wood-600);
  color: #fff;
}

.btn-wood:hover {
  background: var(--wood-700);
  color: #fff;
}

.btn-outline {
  background: var(--bg-cream);
  color: var(--sage-800);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background: var(--bg-stone);
  border-color: var(--sage-700);
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.83rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-sage {
  background: var(--sage-100);
  color: var(--sage-800);
  border: 1px solid var(--sage-200);
}

.badge-wood {
  background: var(--wood-100);
  color: var(--wood-700);
  border: 1px solid var(--wood-200);
}

.badge-amber {
  background: var(--amber-bg);
  color: var(--amber-text);
  border: 1px solid var(--amber-border);
}

.badge-danger {
  background: var(--danger-bg);
  color: var(--danger-text);
  border: 1px solid var(--danger-border);
}

.badge-info {
  background: var(--info-bg);
  color: var(--info-text);
  border: 1px solid var(--info-border);
}

/* ==========================================================================
   Layout & Containers
   ========================================================================== */
.main-container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
  flex: 1;
}

.hero-banner {
  background: linear-gradient(135deg, rgba(30, 49, 36, 0.92), rgba(58, 90, 68, 0.85)),
              radial-gradient(circle at 80% 20%, rgba(184, 137, 92, 0.35), transparent 60%);
  color: var(--bg-cream);
  border-radius: var(--radius-xl);
  padding: 3.25rem 2.75rem;
  margin-bottom: 2.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(184, 137, 92, 0.35);
}

.hero-banner::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 137, 92, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--wood-200);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.hero-banner h1 {
  color: #FFFFFF;
  font-size: clamp(2rem, 4vw, 2.9rem);
  max-width: 720px;
  margin-bottom: 0.9rem;
}

.hero-banner p {
  color: rgba(246, 243, 236, 0.9);
  font-size: 1.08rem;
  max-width: 650px;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Grids & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.15rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card-interactive:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--wood-500);
}

.card-cream {
  background: var(--bg-cream);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
  flex-wrap: wrap;
}

.section-header h2 {
  font-size: 1.65rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-top: 0.25rem;
}

/* ==========================================================================
   Resident Portal Sub-Navigation Layout
   ========================================================================== */
.portal-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.portal-sidebar {
  background: var(--bg-cream);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem;
  position: sticky;
  top: 86px;
}

.portal-mobile-nav {
  display: none;
}

@media (max-width: 900px) {
  .portal-shell {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .portal-sidebar {
    position: static;
    padding: 0.75rem 1rem;
  }

  .portal-user-card,
  .portal-menu {
    display: none !important;
  }

  .portal-mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
}

.portal-user-card {
  padding: 0.75rem 0.65rem 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.85rem;
}

.portal-user-name {
  font-weight: 700;
  color: var(--sage-900);
  font-size: 1rem;
}

.portal-user-lot {
  font-size: 0.83rem;
  color: var(--wood-700);
  font-weight: 600;
  margin-top: 2px;
}

.portal-menu {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.portal-tab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 0.68rem 0.85rem;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.portal-tab-btn:hover {
  background: var(--bg-stone);
  color: var(--sage-900);
}

.portal-tab-btn.active {
  background: var(--sage-800);
  color: #fff;
  font-weight: 600;
}

.portal-tab-btn-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* ==========================================================================
   Forms, Inputs & Tables
   ========================================================================== */
.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--sage-900);
  margin-bottom: 0.38rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-main);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--sage-700);
  box-shadow: 0 0 0 3px rgba(58, 90, 68, 0.14);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.3rem;
}

/* Directory & Document Rows */
.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-cream);
  margin-bottom: 0.75rem;
}

.doc-item:hover {
  border-color: var(--wood-500);
  background: #fff;
}

.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #fff;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  background: var(--bg-stone);
  color: var(--sage-900);
  text-align: left;
  padding: 0.8rem 1rem;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table td {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.data-table tr:hover td {
  background: var(--bg-cream);
}

/* Map Frame */
.map-frame-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-stone);
  height: 360px;
  position: relative;
}

.map-frame-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 34, 26, 0.62);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 200;
}

.modal-card {
  background: var(--bg-cream);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.65rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toast {
  background: var(--sage-900);
  color: #fff;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--wood-500);
  font-size: 0.9rem;
  max-width: 360px;
}

/* Footer */
.site-footer {
  background: var(--sage-900);
  color: rgba(246, 243, 236, 0.78);
  padding: 2.75rem 1.25rem;
  margin-top: auto;
  font-size: 0.88rem;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   V2 PHASE 1-3: C21 LISTINGS, DRAFT WATERMARK, COMMUNITY PAGE, ROLE UI
   ========================================================================== */
.unpublished-draft-watermark {
  position: relative;
  border: 3px dashed #b45309;
  background: #fffbeb;
  border-radius: 14px;
  padding: 1.5rem;
  overflow: hidden;
}

.unpublished-draft-watermark::before {
  content: "UNPUBLISHED EDIT • DRAFT PREVIEW";
  position: fixed;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-24deg);
  font-size: clamp(2rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(180, 83, 9, 0.13);
  pointer-events: none;
  z-index: 900;
  white-space: nowrap;
  text-transform: uppercase;
}

.draft-banner-sticky {
  position: sticky;
  top: 72px;
  z-index: 80;
  background: #fef3c7;
  border: 2px solid #d97706;
  color: #78350f;
  padding: 0.85rem 1.15rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  box-shadow: 0 6px 18px rgba(180, 83, 9, 0.14);
}

.c21-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.c21-card {
  background: #ffffff;
  border: 1px solid #d8d3c8;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 10px rgba(24, 34, 28, 0.06);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.c21-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(24, 34, 28, 0.1);
}

.c21-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #e8e4da;
}

.c21-card-body {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.c21-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.c21-price {
  font-size: 1.22rem;
  font-weight: 700;
  color: #244032;
}

.community-feed {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 1rem;
}

.post-card {
  background: #ffffff;
  border: 1px solid #d8d3c8;
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 2px 8px rgba(20, 32, 24, 0.05);
}

.post-card-pinned {
  border-color: #8b5e3c;
  background: #fdfaf5;
}

.post-photo {
  max-width: 100%;
  max-height: 460px;
  border-radius: 10px;
  margin-top: 0.75rem;
  object-fit: contain;
  border: 1px solid #e5e0d5;
  background: #f8f6f1;
}

.comment-item {
  background: #f7f4ed;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  margin-top: 0.5rem;
  border-left: 3px solid #cbd5ce;
}

.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #c9c3b6;
  background: #ffffff;
  color: #244032;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.like-btn.liked {
  background: #e6f2eb;
  border-color: #2f6b47;
  color: #1f4d32;
}

.role-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.role-chip {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  background: #edf2ee;
  color: #244032;
  border: 1px solid #cbd9cf;
}

.role-chip.master {
  background: #fef3c7;
  color: #78350f;
  border-color: #f59e0b;
}

.role-chip.mod {
  background: #ede9fe;
  color: #5b21b6;
  border-color: #c4b5fd;
}

.role-chip.arb {
  background: #e0f2fe;
  color: #075985;
  border-color: #7dd3fc;
}

.ext-verify-box {
  background: #fffbeb;
  border: 2px solid #d97706;
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1rem;
}

/* ==========================================================================
   OPTION 3 ARCHITECTURE THEME + COMING SOON GATE + MOBILE NAV DRAWER
   ========================================================================== */
body.gate-loading #site-header,
body.gate-loading #site-footer,
body.gate-loading #community-alert-container,
body.gate-locked #site-header,
body.gate-locked #site-footer,
body.gate-locked #community-alert-container {
  display: none !important;
}

body.gate-locked .main-container {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

/* Dark Forest Header with Responsive Mobile Nav Drawer */
.site-header {
  background: #121F18;
  border-bottom: 1px solid rgba(241, 237, 228, 0.14);
  backdrop-filter: none;
  position: sticky;
  top: 0;
  z-index: 60;
}

.site-header .header-inner {
  padding: 0.72rem 1.25rem;
  gap: 0.85rem;
  flex-wrap: nowrap;
}

.site-header .brand-logo {
  flex-shrink: 0;
  gap: 0.7rem;
}

.site-header .brand-logo img {
  background: #FAF7F0;
  padding: 4px 9px;
  border-radius: 4px;
  height: 38px !important;
}

.site-header .brand-title {
  color: #F6F2E9;
}

.site-header .brand-subtitle {
  color: #C99156;
  font-family: var(--font-ui);
  font-size: 0.68rem;
}

.site-header .nav-links {
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-header .nav-btn {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #C7D1CA;
  padding: 0.45rem 0.72rem;
  border-radius: 0;
  border-bottom: 2px solid transparent;
}

.site-header .nav-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.site-header .nav-btn.active {
  color: #FFFFFF;
  background: transparent;
  border-bottom-color: #C99156;
  font-weight: 600;
}

.site-header .nav-divider {
  background: rgba(241, 237, 228, 0.16);
}

.site-header .header-auth {
  flex-shrink: 0;
}

.site-header .header-auth .btn-primary {
  background: #C99156;
  color: #121F18;
  border-color: #C99156;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-header .header-auth .btn-primary:hover {
  background: #DAA56B;
  color: #121F18;
}

.site-header .header-auth .btn-outline {
  background: transparent;
  color: #F6F2E9;
  border-color: rgba(246, 242, 233, 0.35);
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  color: #F6F2E9;
  border: 1px solid rgba(241, 237, 228, 0.24);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-menu-toggle svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.header-mobile-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 960px) {
  .site-header .header-inner {
    padding: 0.6rem 0.9rem;
  }

  .site-header .brand-subtitle {
    display: none;
  }

  .site-header .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #121F18;
    border-top: 1px solid rgba(241, 237, 228, 0.14);
    border-bottom: 2px solid #C99156;
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem 1rem 1rem;
    gap: 0.2rem;
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.38);
    z-index: 65;
  }

  .site-header.mobile-nav-open .nav-links {
    display: flex;
  }

  .site-header .nav-links .nav-divider {
    display: none;
  }

  .site-header .nav-links .nav-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 0.85rem 0.75rem;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .main-container {
    padding: 1.25rem 0.95rem 3rem;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .site-header .header-auth .badge {
    display: none;
  }

  .site-header .header-auth .btn-sm {
    padding: 0.42rem 0.7rem;
    font-size: 0.78rem;
  }
}

/* Desktop Dark-Forest Portal Sidebar */
@media (min-width: 901px) {
  .portal-sidebar {
    background: #121F18;
    border-color: #1A2E23;
    color: #EAE4D7;
    border-radius: 6px;
  }

  .portal-user-card {
    border-bottom-color: rgba(241, 237, 228, 0.14);
  }

  .portal-user-name {
    color: #FAF7F0;
  }

  .portal-user-lot {
    color: #C99156;
  }

  .portal-tab-btn {
    color: #C7D1CA;
    border-radius: 4px;
  }

  .portal-tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
  }

  .portal-tab-btn.active {
    background: rgba(201, 145, 86, 0.2);
    color: #FFFFFF;
    border-left: 3px solid #C99156;
  }
}

/* Option 3 Wide Banner & Numbered Index Rows */
.opt3-live-hero {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 410px;
  display: flex;
  align-items: center;
  background: #121F18;
  margin-bottom: 1.75rem;
  border: 1px solid #264334;
  box-shadow: var(--shadow-md);
}

.opt3-live-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  z-index: 1;
}

.opt3-live-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(18, 31, 24, 0.94) 0%, rgba(18, 31, 24, 0.78) 46%, rgba(18, 31, 24, 0.2) 100%);
  z-index: 2;
}

.opt3-live-hero-inner {
  position: relative;
  z-index: 3;
  padding: 2.75rem 2.5rem;
  max-width: 660px;
  color: #F6F2E9;
}

.opt3-live-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #E0B27D;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.opt3-live-hero-inner h1 {
  color: #FFFFFF;
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  line-height: 1.08;
  margin-bottom: 0.85rem;
}

.opt3-live-hero-inner p {
  color: rgba(246, 242, 233, 0.9);
  font-size: 1rem;
  line-height: 1.62;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .opt3-live-hero {
    min-height: 360px;
    align-items: flex-end;
  }

  .opt3-live-hero-scrim {
    background: linear-gradient(180deg, rgba(18, 31, 24, 0.35) 0%, rgba(18, 31, 24, 0.78) 45%, rgba(18, 31, 24, 0.94) 100%);
  }

  .opt3-live-hero-inner {
    padding: 1.65rem 1.25rem;
  }
}

.opt3-index-list {
  margin: 1.75rem 0 2rem;
  background: var(--bg-cream);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
}

.opt3-index-item {
  display: grid;
  grid-template-columns: 76px 1.2fr 1.6fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background 0.15s ease;
}

.opt3-index-item:last-child {
  border-bottom: 0;
}

.opt3-index-item:hover {
  background: #FFFFFF;
}

.opt3-index-num {
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--wood-600);
}

@media (max-width: 860px) {
  .opt3-index-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 1.15rem;
  }
}

/* Coming Soon Screen */
.coming-soon-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #F1EDE4;
  color: #1A221D;
}

.cs-top-bar {
  background: #121F18;
  color: #E7E1D5;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid rgba(201, 145, 86, 0.35);
}

.cs-top-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cs-hero-strip {
  position: relative;
  height: 280px;
  background: #121F18;
  overflow: hidden;
}

.cs-hero-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  opacity: 0.62;
}

.cs-hero-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 31, 24, 0.25) 0%, rgba(18, 31, 24, 0.82) 100%);
}

.cs-main {
  max-width: 960px;
  width: 100%;
  margin: -72px auto 2.5rem;
  padding: 0 1.25rem;
  position: relative;
  z-index: 5;
  flex: 1;
}

.cs-card {
  background: #FAF7F0;
  border: 1px solid #C9C0B0;
  border-top: 4px solid #C99156;
  border-radius: 6px;
  padding: 2.25rem 2rem;
  box-shadow: 0 20px 48px rgba(18, 31, 24, 0.14);
}

.cs-footer {
  background: #121F18;
  color: rgba(241, 237, 228, 0.72);
  padding: 1.25rem 1.5rem;
  font-size: 0.82rem;
}

.cs-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cs-stealth-btn {
  background: transparent;
  border: 0;
  color: rgba(241, 237, 228, 0.42);
  font-size: 0.76rem;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  letter-spacing: 0.04em;
  transition: color 0.15s ease;
}

.cs-stealth-btn:hover {
  color: rgba(241, 237, 228, 0.8);
}


