:root {
  --tb-forest: #0f1a14;
  --tb-pine: #1a3028;
  --tb-spruce: #223b31;
  --tb-trail: #4ec9a0;
  --tb-trail-soft: rgba(78, 201, 160, 0.16);
  --tb-gold: #c8a96e;
  --tb-limestone: #f0ede4;
  --tb-text: #e8e4da;
  --tb-muted: #9fb5a8;
  --tb-border: rgba(78, 201, 160, 0.14);
  --tb-shadow: 0 24px 70px rgba(7, 13, 10, 0.35);
  --bs-body-font-family: "Sora", sans-serif;
  --bs-body-bg: var(--tb-forest);
  --bs-body-color: var(--tb-text);
  --bs-primary: var(--tb-trail);
  --bs-primary-rgb: 78, 201, 160;
  --bs-secondary-color: var(--tb-muted);
  --bs-border-color: var(--tb-border);
  --bs-link-color: var(--tb-trail);
  --bs-link-hover-color: #79ddb9;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(78, 201, 160, 0.11), transparent 28%),
    linear-gradient(180deg, #132118 0%, #0f1a14 34%, #132118 100%);
  min-width: 320px;
}

::selection {
  background: rgba(78, 201, 160, 0.28);
  color: var(--tb-limestone);
}

.section-pad {
  padding: 5rem 0;
}

.section-surface {
  background: linear-gradient(180deg, rgba(26, 48, 40, 0.9), rgba(19, 33, 24, 0.92));
  border-top: 1px solid var(--tb-border);
  border-bottom: 1px solid var(--tb-border);
}

.eyebrow {
  color: var(--tb-trail);
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-title {
  color: var(--tb-limestone);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-copy {
  color: var(--tb-muted);
  font-size: 1rem;
  max-width: 42rem;
}

.navbar {
  background: rgba(15, 26, 20, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tb-border);
}

.navbar-brand {
  color: var(--tb-limestone);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.navbar-brand span {
  color: var(--tb-trail);
}

.navbar-toggler {
  border-color: var(--tb-border);
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: invert(1) brightness(1.2);
}

.nav-link {
  color: var(--tb-muted);
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--tb-trail);
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.hero {
  position: relative;
  padding-top: 7rem;
  padding-bottom: 4.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(78, 201, 160, 0.14) 1px, transparent 0);
  background-size: 38px 38px;
  opacity: 0.4;
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-card,
.service-card,
.about-card,
.stat-card,
.contact-card {
  background: rgba(16, 26, 21, 0.84);
  border: 1px solid var(--tb-border);
  box-shadow: var(--tb-shadow);
}

.hero-copy {
  max-width: 40rem;
}

.hero-title {
  color: var(--tb-limestone);
  font-size: clamp(2.6rem, 7vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin-bottom: 1.25rem;
}

.hero-title .accent {
  color: var(--tb-trail);
}

.hero-lead {
  color: var(--tb-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.hero-badges .badge {
  background: rgba(26, 48, 40, 0.95);
  border: 1px solid rgba(78, 201, 160, 0.2);
  color: var(--tb-limestone);
  font-weight: 500;
  padding: 0.7rem 0.95rem;
}

.btn-brand {
  background: var(--tb-trail);
  border-color: var(--tb-trail);
  color: var(--tb-forest);
  font-weight: 600;
}

.btn-brand:hover,
.btn-brand:focus {
  background: #73dfbb;
  border-color: #73dfbb;
  color: var(--tb-forest);
}

.btn-outline-brand {
  border-color: rgba(240, 237, 228, 0.18);
  color: var(--tb-limestone);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  border-color: var(--tb-trail);
  color: var(--tb-trail);
  background: rgba(78, 201, 160, 0.06);
}

.hero-graphic {
  min-height: 100%;
  position: relative;
  border-radius: 1.5rem;
}

.hero-orbit {
  aspect-ratio: 1;
  width: min(100%, 26rem);
  margin-inline: auto;
  border-radius: 2rem;
  background:
    radial-gradient(circle at center, rgba(78, 201, 160, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(26, 48, 40, 0.9), rgba(15, 26, 20, 0.98));
  border: 1px solid var(--tb-border);
  position: relative;
  overflow: hidden;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(78, 201, 160, 0.22);
  inset: 16%;
}

.hero-orbit::after {
  inset: 28%;
  border-color: rgba(200, 169, 110, 0.24);
}

.orbit-node {
  position: absolute;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--tb-trail);
  box-shadow: 0 0 0 0.45rem rgba(78, 201, 160, 0.12);
}

.orbit-node.gold {
  background: var(--tb-gold);
  box-shadow: 0 0 0 0.45rem rgba(200, 169, 110, 0.12);
}

.orbit-node.top { top: 18%; left: 50%; transform: translate(-50%, -50%); }
.orbit-node.left { top: 50%; left: 18%; transform: translate(-50%, -50%); }
.orbit-node.right { top: 50%; right: 18%; transform: translate(50%, -50%); }
.orbit-node.bottom { bottom: 18%; left: 50%; transform: translate(-50%, 50%); }

.orbit-center {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 1.75rem;
  display: grid;
  place-items: center;
  background: rgba(26, 48, 40, 0.94);
  border: 1px solid rgba(78, 201, 160, 0.24);
  color: var(--tb-limestone);
  text-align: center;
  padding: 1rem;
}

.orbit-center strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.service-card {
  border-radius: 1.1rem;
  height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(78, 201, 160, 0.34);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 0.9rem;
  background: var(--tb-trail-soft);
  color: var(--tb-trail);
  font-size: 1.2rem;
}

.service-card p,
.about-copy p,
.contact-note,
.stat-label,
.form-text,
footer,
.list-soft {
  color: var(--tb-muted);
}

.about-card,
.contact-card {
  border-radius: 1.5rem;
}

.profile-placeholder {
  min-height: 100%;
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(34, 59, 49, 0.9), rgba(15, 26, 20, 0.95)),
    var(--tb-pine);
  border: 1px solid rgba(78, 201, 160, 0.16);
}

.profile-placeholder .bi {
  font-size: 3rem;
  color: var(--tb-trail);
}

.profile-placeholder small {
  font-family: "DM Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tb-muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(78, 201, 160, 0.2);
  border-radius: 999px;
  color: var(--tb-limestone);
  background: rgba(78, 201, 160, 0.08);
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
}

.stat-card {
  border-radius: 1.1rem;
}

.stat-value {
  color: var(--tb-trail);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.contact-card .form-control,
.contact-card .form-select {
  background: rgba(26, 48, 40, 0.82);
  border-color: rgba(78, 201, 160, 0.16);
  color: var(--tb-limestone);
  min-height: 3rem;
}

.contact-card .form-control::placeholder {
  color: #8ca195;
}

.contact-card .form-select {
  background-image: linear-gradient(45deg, transparent 50%, var(--tb-trail) 50%), linear-gradient(135deg, var(--tb-trail) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) calc(1.15rem + 1px), calc(100% - 0.85rem) calc(1.15rem + 1px);
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
  background: rgba(26, 48, 40, 0.9);
  color: var(--tb-limestone);
  border-color: var(--tb-trail);
  box-shadow: 0 0 0 0.25rem rgba(78, 201, 160, 0.14);
}

.contact-status {
  min-height: 1.5rem;
  font-size: 0.95rem;
}

.contact-status[data-state="success"] {
  color: #9fe5c8;
}

.contact-status[data-state="error"] {
  color: #f2a6a6;
}

.thank-you-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.thank-you-panel {
  width: 100%;
}

.thank-you-card {
  border-radius: 1.75rem;
}

.thank-you-icon {
  width: 5.5rem;
  height: 5.5rem;
  display: grid;
  place-items: center;
  border-radius: 1.5rem;
  background: rgba(78, 201, 160, 0.12);
  color: var(--tb-trail);
  font-size: 2.8rem;
  box-shadow: inset 0 0 0 1px rgba(78, 201, 160, 0.18);
}

.legal-shell {
  min-height: 100vh;
}

.legal-panel {
  width: 100%;
}

.legal-card {
  border-radius: 1.75rem;
}

.legal-copy {
  color: var(--tb-muted);
  max-width: 52rem;
}

.legal-copy h2 {
  color: var(--tb-limestone);
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-copy p {
  margin-bottom: 1rem;
}

.contact-link {
  color: var(--tb-limestone);
  text-decoration: none;
}

.contact-link:hover,
.contact-link:focus {
  color: var(--tb-trail);
}

footer {
  border-top: 1px solid var(--tb-border);
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--tb-border);
  }

  .hero {
    padding-top: 6.2rem;
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: clamp(2.35rem, 14vw, 3.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}


::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: var(--tb-forest);
  
}
::-webkit-scrollbar-thumb {
  background-color: var(--tb-trail);
  border-radius: 6px;
  border: 3px solid var(--tb-forest);
}