:root {
  --bg: #ece8df;
  --surface: rgba(255, 249, 238, 0.8);
  --surface-strong: #fbf7ee;
  --text: #0e2d2b;
  --muted: #2f4e4c;
  --line: #bea679;
  --brand: #0f3d3a;
  --brand-dark: #0a2b29;
  --accent: #c7a46b;
  --shadow: 0 22px 44px rgba(8, 35, 33, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 7% 12%, #1b5b55 0%, transparent 34%),
    radial-gradient(circle at 88% 20%, #174542 0%, transparent 37%),
    linear-gradient(140deg, #f0ece3 0%, #f6f2e8 50%, #e8e1d3 100%);
}

main,
.topbar,
.footer {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0.8rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.8rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.logo {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 0.3rem;
}

.logo-text {
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 1.2rem;
}

.nav a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  padding: 0.45rem 0.9rem;
}

.hero {
  padding: 6.2rem 0 4.4rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.1;
  margin: 0;
}

h1 {
  max-width: 15ch;
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  margin: 0.2rem 0 1rem;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
}

.hero-copy {
  max-width: 60ch;
  color: var(--muted);
  margin: 0 0 1.7rem;
}

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

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--brand);
  background: #fff8;
}

.section {
  padding: 3.2rem 0;
}

.section-heading {
  margin-bottom: 1.2rem;
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.competency-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: linear-gradient(165deg, #114641, #0b3734);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: var(--shadow);
  color: #f3e7d3;
}

.card h3 {
  font-size: 2rem;
  color: var(--accent);
}

.card p {
  margin-bottom: 0;
  color: #f6efe2;
}

.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.steps {
  margin: 0;
  padding-left: 1.2rem;
}

.steps li {
  margin-bottom: 0.9rem;
}

.about-copy {
  max-width: 68ch;
  color: var(--muted);
}

.stats {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats div {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.9rem;
}

.stats span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  color: var(--brand);
  font-weight: 700;
}

.stats p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.testimonial {
  background: linear-gradient(160deg, #10423f, #0a302d);
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: #f4ead8;
}

.performance-list {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}

.performance-list li {
  margin-bottom: 0.8rem;
}

.contact {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr 1fr;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.contact-direct {
  margin-top: 1rem;
}

.contact-direct a {
  color: var(--brand);
  text-decoration: none;
}

.small-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.small-meta a {
  color: var(--brand);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.68rem 0.8rem;
  font: inherit;
}

.footer {
  padding: 2.2rem 0 3rem;
  color: var(--brand-dark);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .cards,
  .competency-cards,
  .stats,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .topbar {
    border-radius: 1rem;
  }

  .nav {
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.45rem);
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    padding: 0.7rem;
    background: var(--surface-strong);
    min-width: 170px;
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

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