:root {
  --ink: #10201d;
  --ink-soft: #263a36;
  --muted: #68746f;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #dbe2dc;
  --teal: #31b8a4;
  --teal-dark: #147b70;
  --coral: #f06f4f;
  --gold: #d8a84d;
  --shadow: 0 22px 70px rgba(16, 32, 29, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(251, 250, 246, 0.94);
  box-shadow: 0 1px 0 rgba(16, 32, 29, 0.08);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 32px rgba(16, 32, 29, 0.08);
}

.nav-shell {
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

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

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-mark-bg {
  fill: var(--ink);
  stroke: rgba(49, 184, 164, 0.42);
  stroke-width: 2;
}

.brand-mark-text {
  fill: var(--paper);
  font-family: Inter, Arial, sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
  text-anchor: middle;
}

.brand-mark-rule {
  fill: none;
  stroke: var(--teal);
  stroke-width: 3;
  stroke-linecap: round;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-menu a {
  padding: 10px 13px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  background: rgba(49, 184, 164, 0.13);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px 0 64px;
  color: var(--paper);
}

.hero picture,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture {
  display: block;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 19, 17, 0.92) 0%, rgba(7, 19, 17, 0.76) 42%, rgba(7, 19, 17, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 19, 17, 0.35), rgba(7, 19, 17, 0.1));
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  max-width: 760px;
  justify-self: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.06;
  max-width: 720px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(251, 250, 246, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--teal);
  color: #061513;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #5ad2c1;
}

.button-ghost {
  border-color: rgba(251, 250, 246, 0.36);
  color: var(--paper);
  background: rgba(251, 250, 246, 0.08);
}

.hero-response {
  margin: 18px 0 0;
  color: rgba(251, 250, 246, 0.78);
  font-size: 0.95rem;
  font-weight: 800;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2 {
  margin: 0;
  letter-spacing: 0;
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  line-height: 1.08;
}

.section h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
}

.section p {
  color: var(--muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.audience-copy {
  display: grid;
  gap: 20px;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.audience-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 800;
}

.audience-list strong {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 34px;
  flex: 0 0 42px;
  border-radius: 6px;
  background: rgba(49, 184, 164, 0.14);
  color: var(--teal-dark);
  font-size: 0.78rem;
}

.audience-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.1vw, 1.4rem);
}

.service-grid,
.proof-grid,
.project-grid {
  display: grid;
  gap: 16px;
}

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

.service-card,
.project-card,
.proof article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 32, 29, 0.05);
}

.service-card {
  min-height: 310px;
  padding: 24px;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 34px;
  margin-bottom: 44px;
  border-radius: 6px;
  background: rgba(49, 184, 164, 0.14);
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.workbench {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 38px;
  align-items: start;
}

.workbench .section-heading {
  margin-bottom: 0;
}

.workbench-layout {
  min-width: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0 13px;
  font-weight: 800;
}

.filter-button.is-active,
.filter-button:hover,
.filter-button:focus-visible {
  background: var(--ink);
  color: var(--paper);
  outline: none;
}

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

.project-card {
  padding: 24px;
}

.project-card[hidden] {
  display: none;
}

.project-card strong {
  display: block;
  margin-bottom: 26px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - var(--max)) / 2));
  background: #eef5ef;
}

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

.proof article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.76);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 48px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
}

.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.pricing-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.pricing-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pricing-table th,
.pricing-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.pricing-table th:first-child {
  text-align: left;
}

.pricing-table thead th {
  background: #f3f6f1;
  color: var(--ink);
}

.pricing-table thead th:not(:first-child) {
  width: 21%;
}

.pricing-table thead span,
.pricing-table thead strong,
.pricing-table thead small {
  display: block;
}

.pricing-table thead span {
  font-size: 1rem;
  font-weight: 800;
}

.pricing-table thead strong {
  margin-top: 8px;
  color: var(--teal-dark);
  font-size: 1.9rem;
  line-height: 1;
}

.pricing-table thead small {
  max-width: 190px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.pricing-table .featured-tier {
  background: rgba(49, 184, 164, 0.14);
  box-shadow: inset 0 4px 0 var(--teal);
}

.pricing-table .custom-tier {
  background: rgba(240, 111, 79, 0.12);
  box-shadow: inset 0 4px 0 var(--coral);
}

.pricing-table .custom-tier strong {
  color: var(--coral);
  font-size: 1.24rem;
  line-height: 1.12;
}

.pricing-table tbody th {
  color: var(--ink-soft);
  font-weight: 800;
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.check,
.not-included {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 800;
}

.check {
  background: rgba(49, 184, 164, 0.16);
  color: var(--teal-dark);
}

.not-included {
  color: #9aa5a0;
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 42px;
  align-items: start;
}

.contact-copy {
  max-width: 560px;
}

.contact-meta {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(49, 184, 164, 0.18);
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 800;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 34px max(16px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--paper);
}

.footer .brand small,
.footer p {
  color: rgba(251, 250, 246, 0.7);
}

.footer p {
  margin: 0;
}

@media (max-width: 960px) {
  .service-grid,
  .proof-grid,
  .timeline,
  .workbench,
  .contact,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-menu {
    position: fixed;
    inset: 76px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(251, 250, 246, 0.98);
    box-shadow: var(--shadow);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    padding: 14px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-content {
    align-self: end;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.6rem);
  }

  .project-grid,
  .audience-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
