:root {
  --obsidian: #0d1f2d;
  --navy: #1a3347;
  --slate-green: #3b6e63;
  --sage: #5a9080;
  --forest: #2d4f47;
  --mist: #dde6e3;
  --parchment: #f7f6f2;
  --slate: #4a5968;
  --stone: #8a9ba8;

  --radius-card: 12px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--parchment);
  color: var(--slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--slate-green);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  color: #fff;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 31, 45, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(221, 230, 227, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
  color: #fff;
}

.wordmark {
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 1.1rem;
}

.wordmark-small {
  font-size: 0.95rem;
}

.descriptor {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.descriptor-small .descriptor-rule {
  width: 18px;
}

.descriptor-rule {
  width: 22px;
  height: 2px;
  background-color: var(--slate-green);
}

.descriptor-text {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(221, 230, 227, 0.92);
}

.site-nav a:hover,
.site-nav a:focus {
  color: #fff;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background-color: #fff;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle-open span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  background: radial-gradient(circle at top left, var(--navy), var(--obsidian));
  color: #fff;
  padding: 4.5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 3rem;
  align-items: flex-start;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3vw + 1.5rem, 3.2rem);
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
  letter-spacing: 0.02em;
}

.hero-body {
  font-size: 1.02rem;
  color: var(--mist);
  max-width: 34rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.75rem 0 1rem;
}

.hero-meta {
  font-size: 0.9rem;
  color: var(--stone);
}

.hero-panel {
  background: linear-gradient(145deg, rgba(26, 51, 71, 0.96), rgba(61, 111, 99, 0.16));
  border-radius: 16px;
  padding: 1.75rem 1.6rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(221, 230, 227, 0.14);
}

.hero-panel h2 {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.hero-panel p {
  font-size: 0.95rem;
  color: rgba(240, 245, 243, 0.94);
}

.hero-panel-foot {
  margin-top: 1.25rem;
  font-weight: 500;
  color: var(--mist);
}

.page-hero {
  background: radial-gradient(circle at top left, var(--navy), var(--obsidian));
  color: #fff;
  padding: 4.2rem 0 3.2rem;
}

.page-hero-light {
  background: linear-gradient(180deg, rgba(221, 230, 227, 0.9), rgba(247, 246, 242, 1));
  color: var(--obsidian);
  border-bottom: 1px solid rgba(74, 89, 104, 0.08);
}

.page-hero-inner h1 {
  font-size: clamp(2.1rem, 2.5vw + 1.2rem, 2.8rem);
  line-height: 1.12;
  margin: 0.4rem 0 0.9rem;
  letter-spacing: 0.01em;
}

.page-hero-light .page-hero-inner h1 {
  color: var(--obsidian);
}

.page-hero-body {
  margin: 0;
  max-width: 54rem;
  font-size: 1rem;
  color: var(--mist);
}

.page-hero-light .page-hero-body {
  color: var(--slate);
}

.section {
  padding: 4rem 0 3.5rem;
}

.section-light {
  background-color: var(--parchment);
}

.section-tint {
  background-color: var(--mist);
}

.section-obsidian {
  background-color: var(--obsidian);
  color: #fff;
}

.section-header {
  max-width: 44rem;
  margin-bottom: 2.2rem;
}

.section-header-on-dark p {
  color: var(--stone);
}

.section-header h2 {
  font-size: 1.7rem;
  margin: 0 0 0.8rem;
  color: var(--obsidian);
}

.section-obsidian .section-header h2 {
  color: #fff;
}

.section-header p {
  margin: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--slate-green);
  margin: 0 0 0.9rem;
}

.eyebrow-on-dark {
  color: var(--sage);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
}

.services-grid {
  margin-bottom: 2.6rem;
}

.card {
  background-color: #fff;
  border-radius: var(--radius-card);
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(74, 89, 104, 0.08);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  color: var(--obsidian);
}

.card p {
  margin-top: 0;
  font-size: 0.92rem;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
}

.card-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.25rem;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--slate-green);
}

.card-on-dark {
  background-color: #122231;
  border: 1px solid rgba(221, 230, 227, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.card-grid-on-dark .card h3 {
  color: #fff;
}

.card-grid-on-dark .card p {
  color: var(--mist);
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
}

.filter-tab {
  appearance: none;
  border: 1px solid rgba(59, 110, 99, 0.55);
  background: rgba(221, 230, 227, 0.6);
  color: var(--obsidian);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease, transform 0.08s ease, box-shadow 0.12s ease;
}

.filter-tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.filter-tab:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 110, 99, 0.22);
}

.filter-tab-active {
  background: var(--slate-green);
  border-color: var(--slate-green);
  color: #fff;
  box-shadow: 0 10px 25px rgba(59, 110, 99, 0.32);
}

.inline-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-note {
  margin-top: 1.8rem;
  padding: 1.1rem 1.1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(74, 89, 104, 0.14);
  background: rgba(221, 230, 227, 0.6);
}

.contact-note h3 {
  margin: 0 0 0.45rem;
  color: var(--obsidian);
  font-size: 1rem;
}

.contact-note p {
  margin: 0;
  font-size: 0.92rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.9rem;
  margin-bottom: 2.6rem;
}

.case-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--stone);
  margin-bottom: 0.4rem;
}

.section-cta {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(138, 155, 168, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
}

.section-cta p {
  margin: 0;
  max-width: 34rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease,
    transform 0.08s ease;
}

.btn-primary {
  background-color: var(--slate-green);
  color: #fff;
  box-shadow: 0 10px 25px rgba(59, 110, 99, 0.4);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--forest);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(45, 79, 71, 0.6);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #fff;
  color: var(--obsidian);
  border-color: rgba(13, 31, 45, 0.12);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--parchment);
  text-decoration: none;
  border-color: rgba(13, 31, 45, 0.4);
}

.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
}

.process-steps li {
  background-color: #fff;
  border-radius: var(--radius-card);
  padding: 1.4rem 1.3rem 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(74, 89, 104, 0.08);
}

.process-steps h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1rem;
  color: var(--obsidian);
}

.process-steps p {
  margin: 0;
  font-size: 0.9rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr);
  gap: 2.5rem;
}

.about-copy h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.about-copy p {
  color: var(--mist);
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.about-stat h4 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

.about-stat p {
  margin: 0;
  color: var(--stone);
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 2.5rem;
}

.contact-meta {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
}

.contact-meta li {
  margin-bottom: 0.5rem;
}

.contact-form {
  background-color: #fff;
  border-radius: 16px;
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(74, 89, 104, 0.1);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--obsidian);
}

.form-row input,
.form-row textarea {
  border-radius: 999px;
  border: 1px solid rgba(138, 155, 168, 0.8);
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.form-row textarea {
  border-radius: 12px;
  resize: vertical;
  min-height: 120px;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--slate-green);
  box-shadow: 0 0 0 3px rgba(59, 110, 99, 0.18);
  background-color: #fff;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--stone);
  margin-top: 0;
  margin-bottom: 1rem;
}

.site-footer {
  background-color: var(--obsidian);
  color: #fff;
  padding: 1.8rem 0 1.7rem;
  border-top: 1px solid rgba(221, 230, 227, 0.18);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.85rem;
}

.footer-nav a {
  color: rgba(221, 230, 227, 0.9);
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-meta {
  font-size: 0.78rem;
  text-align: right;
  color: var(--stone);
}

.footer-meta p {
  margin: 0;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr);
    gap: 2rem;
  }

  .card-grid,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    background: rgba(13, 31, 45, 0.98);
    display: none;
    flex-direction: column;
    padding: 0.75rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(221, 230, 227, 0.16);
  }

  .site-nav-open {
    display: flex;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .page-hero {
    padding-top: 3.3rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    margin-top: 0.5rem;
  }

  .section {
    padding: 3rem 0 2.7rem;
  }

  .card-grid,
  .work-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    align-items: flex-start;
  }

  .footer-meta {
    text-align: left;
  }
}

