:root {
  --sage-900: #1e2a1d;
  --sage-800: #2f3d2e;
  --sage-700: #3f5240;
  --sage-600: #5a6f55;
  --sage-500: #7a8f72;
  --sage-200: #d5ddd0;
  --sage-100: #e8eee4;
  --sage-50: #f4f6f1;
  --earth-700: #6b4f35;
  --earth-500: #a67c52;
  --earth-300: #c4b48a;
  --sand: #f7f3ea;
  --sun: #d4a574;
  --ink: #1a1f18;
  --muted: #5c6558;
  --danger: #8b3a2a;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(30, 42, 29, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, var(--sand) 0%, var(--sage-50) 40%, #eef2ea 100%);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-700); }
a:hover { color: var(--earth-700); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--sage-800); color: #fff; padding: 0.5rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(244, 246, 241, 0.92);
  border-bottom: 1px solid var(--sage-200);
}
.nav-wrap {
  max-width: 1100px; margin: 0 auto; padding: 0.85rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--sage-800);
  display: grid; place-items: center;
  color: var(--earth-300); font-weight: 700; letter-spacing: 0.02em;
}
.brand-text strong { display: block; font-size: 0.98rem; color: var(--sage-900); }
.brand-text span { display: block; font-size: 0.78rem; color: var(--muted); }

.nav { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; align-items: center; }
.nav a {
  text-decoration: none; color: var(--sage-800); font-size: 0.92rem; font-weight: 600;
  padding: 0.25rem 0.15rem;
}
.nav a:hover { color: var(--earth-700); }
.nav .cta {
  background: var(--sage-800); color: #fff !important;
  padding: 0.45rem 0.85rem; border-radius: 999px;
}
.nav-toggle {
  display: none; border: 1px solid var(--sage-200); background: #fff;
  border-radius: 8px; padding: 0.4rem 0.65rem; font-weight: 600; color: var(--sage-800);
}

.hero {
  max-width: 1100px; margin: 0 auto; padding: 3rem 1.25rem 2rem;
  display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 2rem; align-items: stretch;
}
.hero-card, .panel {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--sage-200);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}
.hero-card { padding: 2rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--earth-700); margin-bottom: 0.75rem;
}
.hero h1 {
  margin: 0 0 0.85rem; font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15; color: var(--sage-900);
}
.lede { font-size: 1.08rem; color: var(--muted); margin: 0 0 1.25rem; max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.btn {
  appearance: none; border: none; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border-radius: 999px; padding: 0.7rem 1.15rem; font-weight: 700; font-size: 0.95rem;
}
.btn-primary { background: var(--sage-800); color: #fff; }
.btn-primary:hover { background: var(--sage-700); }
.btn-secondary { background: #fff; color: var(--sage-800); border: 1px solid var(--sage-500); }
.btn-secondary:hover { background: var(--sage-100); }
.btn-ghost { background: transparent; color: var(--sage-800); border: 1px dashed var(--sage-500); }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; color: var(--muted); font-size: 0.92rem; }
.meta-row strong { color: var(--sage-900); }

.hero-aside {
  padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem;
  background:
    linear-gradient(160deg, rgba(47,61,46,0.95), rgba(63,82,64,0.9)),
    radial-gradient(circle at 20% 20%, rgba(212,165,116,0.35), transparent 45%);
  color: #f4f6f1; border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow);
}
.hero-aside h2 { margin: 0; font-size: 1.2rem; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.stat {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: 0.85rem;
}
.stat b { display: block; font-size: 1.15rem; color: var(--earth-300); }
.stat span { font-size: 0.82rem; opacity: 0.9; }

section {
  max-width: 1100px; margin: 0 auto; padding: 2.25rem 1.25rem;
}
section h2 {
  margin: 0 0 0.5rem; font-size: 1.65rem; color: var(--sage-900);
}
.section-intro { color: var(--muted); max-width: 46rem; margin: 0 0 1.5rem; }

.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem;
}
.card {
  background: #fff; border: 1px solid var(--sage-200); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: 0 4px 16px rgba(30,42,29,0.06);
}
.card h3 { margin: 0 0 0.5rem; color: var(--sage-800); font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card .tag {
  display: inline-block; margin-bottom: 0.65rem; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--earth-700);
  background: var(--sage-100); padding: 0.2rem 0.5rem; border-radius: 999px;
}

.rates-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--sage-200); border-radius: var(--radius); overflow: hidden;
}
.rates-table th, .rates-table td {
  text-align: left; padding: 0.9rem 1rem; border-bottom: 1px solid var(--sage-200);
}
.rates-table th { background: var(--sage-800); color: #fff; font-size: 0.9rem; }
.rates-table tr:last-child td { border-bottom: none; }
.note {
  margin-top: 1rem; padding: 0.9rem 1rem; background: var(--sage-100);
  border-left: 4px solid var(--earth-500); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--sage-900); font-size: 0.92rem;
}

.area-list {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none;
}
.area-list li {
  background: #fff; border: 1px solid var(--sage-200); border-radius: 999px;
  padding: 0.4rem 0.85rem; font-weight: 600; color: var(--sage-800);
}

.research {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem;
}
.research .panel { padding: 1.25rem; }
.research ul { margin: 0.5rem 0 0; padding-left: 1.15rem; color: var(--muted); }
.research code, .mono { font-family: var(--mono); font-size: 0.85em; }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.25rem;
}
.contact-card { padding: 1.25rem; }
.contact-card dl { margin: 0; }
.contact-card dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-top: 0.85rem; }
.contact-card dd { margin: 0.2rem 0 0; font-weight: 600; }
.contact-card a { text-decoration: none; }

form.contact-form {
  display: grid; gap: 0.75rem; padding: 1.25rem;
}
label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.9rem; color: var(--sage-900); }
input, select, textarea {
  font: inherit; padding: 0.65rem 0.75rem; border-radius: 10px;
  border: 1px solid var(--sage-200); background: #fff; color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -10000px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-status { font-size: 0.9rem; min-height: 1.25rem; color: var(--sage-700); }
.form-status.error { color: var(--danger); }

.site-footer {
  margin-top: 2rem; padding: 2rem 1.25rem; background: var(--sage-900); color: var(--sage-100);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 1rem; font-size: 0.9rem;
}
.site-footer a { color: var(--earth-300); }

/* Chat + Voice widget */
.assist-fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 80;
  display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end;
}
.assist-fab .btn { box-shadow: var(--shadow); }
.assist-panel {
  position: fixed; right: 1.1rem; bottom: 4.6rem; z-index: 90;
  width: min(380px, calc(100vw - 1.5rem));
  height: min(560px, calc(100vh - 6rem));
  background: #fff; border: 1px solid var(--sage-200); border-radius: 16px;
  box-shadow: var(--shadow); display: none; flex-direction: column; overflow: hidden;
}
.assist-panel.open { display: flex; }
.assist-head {
  background: var(--sage-800); color: #fff; padding: 0.85rem 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem;
}
.assist-head h3 { margin: 0; font-size: 1rem; }
.assist-head .close {
  background: transparent; border: none; color: #fff; font-size: 1.25rem; cursor: pointer;
}
.assist-tabs { display: flex; border-bottom: 1px solid var(--sage-200); background: var(--sage-50); }
.assist-tabs button {
  flex: 1; border: none; background: transparent; padding: 0.65rem; font-weight: 700;
  color: var(--muted); cursor: pointer;
}
.assist-tabs button.active { color: var(--sage-800); border-bottom: 2px solid var(--sage-800); }
.assist-body { flex: 1; overflow: auto; padding: 0.85rem; background: var(--sand); }
.chat-log { display: flex; flex-direction: column; gap: 0.65rem; }
.bubble {
  max-width: 92%; padding: 0.65rem 0.8rem; border-radius: 12px; font-size: 0.92rem;
  white-space: pre-wrap; word-break: break-word;
}
.bubble.bot { background: #fff; border: 1px solid var(--sage-200); align-self: flex-start; }
.bubble.user { background: var(--sage-800); color: #fff; align-self: flex-end; }
.assist-compose {
  display: flex; gap: 0.4rem; padding: 0.75rem; border-top: 1px solid var(--sage-200); background: #fff;
}
.assist-compose input { flex: 1; }
.assist-compose button { flex-shrink: 0; }

.voice-pane { display: none; flex-direction: column; gap: 0.85rem; height: 100%; }
.voice-pane.active, .chat-pane.active { display: flex; }
.chat-pane { display: none; flex-direction: column; height: 100%; }
.voice-status {
  padding: 0.75rem; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--sage-200); font-size: 0.9rem; color: var(--muted);
}
.voice-status.live { border-color: var(--sage-600); color: var(--sage-800); }
.voice-viz {
  height: 72px; border-radius: var(--radius); background: var(--sage-800);
  display: grid; place-items: center; color: var(--earth-300); font-weight: 700;
}
.voice-viz.pulsing { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(212,165,116,0.2); }
  50% { box-shadow: inset 0 0 0 8px rgba(212,165,116,0.15); }
}
.voice-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.voice-log {
  flex: 1; overflow: auto; background: #fff; border: 1px solid var(--sage-200);
  border-radius: var(--radius); padding: 0.75rem; font-size: 0.85rem; color: var(--muted);
  font-family: var(--mono); white-space: pre-wrap;
}

@media (max-width: 880px) {
  .hero, .cards, .research, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 1.25rem; right: 1.25rem; top: 64px;
    background: #fff; border: 1px solid var(--sage-200); border-radius: var(--radius);
    padding: 0.75rem; flex-direction: column; align-items: stretch; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
}


.preview-banner {
  background: #7a5c2e;
  color: #fff8e7;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}
.preview-banner strong { font-weight: 700; }


.hero-note {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted, #5c6b5a);
  opacity: 0.95;
}
/* rev cleanup-v2 */

/* rev 1789256124 */

/* live 1789256353 */

/* live 1789256372 */
