:root {
  --ink: #17211f;
  --muted: #5f6865;
  --line: #d9dfdc;
  --paper: #f7f8f5;
  --white: #ffffff;
  --teal: #0f7b73;
  --teal-dark: #075c56;
  --amber: #c8842f;
  --graphite: #101816;
  --shadow: 0 18px 45px rgba(16, 24, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 248, 245, 0.92);
  box-shadow: 0 8px 24px rgba(16, 24, 22, 0.08);
  backdrop-filter: blur(16px);
}

.site-header-static {
  position: sticky;
  padding-inline: clamp(16px, 4vw, 56px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(142px, 16vw, 210px);
  height: 46px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.site-header-static .brand-logo-wrap {
  width: clamp(128px, 12vw, 172px);
  height: 44px;
  padding: 6px 8px;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 110px clamp(20px, 7vw, 96px) 92px;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 13, 12, 0.88) 0%, rgba(8, 13, 12, 0.62) 42%, rgba(8, 13, 12, 0.15) 100%),
    linear-gradient(0deg, rgba(8, 13, 12, 0.48), rgba(8, 13, 12, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

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

.hero .eyebrow {
  color: #8ee5d9;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(2.9rem, 6.2vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  margin: 28px 0 0;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-note span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 780;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
}

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

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 26px;
  width: 30px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: var(--white);
  transform: translateX(-50%);
  animation: cue 1.7s ease-in-out infinite;
}

@keyframes cue {
  0%,
  100% {
    transform: translate(-50%, 0);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, 10px);
    opacity: 1;
  }
}

.section {
  padding: clamp(74px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.fit-section {
  background: var(--white);
}

.fit-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.fit-grid > div:first-child > p:last-child,
.contact-grid p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.fit-grid h2 {
  margin-bottom: 24px;
  max-width: min(100%, 13ch);
}

.fit-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.fit-list article {
  padding: 22px 24px;
  background: var(--white);
}

.fit-list h3 {
  margin-bottom: 8px;
}

.fit-list p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-list article {
  min-height: 164px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.service-list p,
.form-note {
  margin: 0;
  color: var(--muted);
}

.service-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid rgba(15, 123, 115, 0.2);
  border-radius: 8px;
  background: #edf6f3;
}

.service-cta p {
  margin: 0;
  color: var(--ink);
  font-weight: 720;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.trust-section {
  background:
    radial-gradient(circle at 20% 15%, rgba(15, 123, 115, 0.12), transparent 32%),
    linear-gradient(180deg, #f7f8f5 0%, #edf3f0 100%);
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.trust-layout h2 {
  max-width: 14ch;
  margin-bottom: 24px;
}

.trust-layout > div:first-child p:last-child {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.trust-panel {
  display: grid;
  gap: 14px;
}

.trust-panel article {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(15, 123, 115, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 32px rgba(16, 24, 22, 0.07);
}

.trust-panel span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 86px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: #dff0ec;
  font-weight: 850;
  font-size: 0.82rem;
}

.trust-panel h3 {
  margin-bottom: 7px;
}

.trust-panel p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
}

.proof-band {
  color: var(--white);
  background: var(--graphite);
}

.proof-band .eyebrow {
  color: #e5a657;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.project-feature strong {
  display: block;
  margin-bottom: 18px;
  color: #8ee5d9;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
}

.project-feature p {
  margin: 0 0 14px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
}

.project-feature p:last-child {
  margin-bottom: 0;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.project-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(142, 229, 217, 0.26);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(142, 229, 217, 0.09);
  font-size: 0.86rem;
  font-weight: 760;
}

.project-story {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.project-story div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.07);
}

.project-story span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 850;
}

.project-story p {
  font-size: 0.98rem;
}

.contact-section {
  background: var(--white);
}

.contact-links {
  display: grid;
  gap: 8px;
  margin-top: 30px;
  color: var(--muted);
}

.contact-links a {
  width: fit-content;
  color: var(--teal-dark);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 780;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd3d0;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(15, 123, 115, 0.18);
  border-color: var(--teal);
}

textarea {
  resize: vertical;
}

.contact-form .button {
  width: fit-content;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #0b100f;
}

.site-footer span:first-child {
  color: var(--white);
  font-weight: 850;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 720;
}

.site-footer a:hover {
  color: var(--white);
}

.legal-page {
  padding-top: 24px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 112px;
}

.legal-aside h1 {
  max-width: 11ch;
  color: var(--ink);
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.legal-aside p:last-child {
  margin: 22px 0 0;
  max-width: 360px;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-content {
  display: grid;
  gap: 26px;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(16, 24, 22, 0.08);
}

.legal-content section {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.legal-content section:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-content h2 {
  max-width: none;
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.15;
}

.legal-content p {
  margin: 0;
  color: var(--muted);
}

.legal-content p + p {
  margin-top: 12px;
}

.legal-content a {
  color: var(--teal-dark);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.legal-list div {
  display: grid;
  grid-template-columns: minmax(150px, 0.4fr) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 16px;
  background: var(--paper);
}

.legal-list dt {
  color: var(--ink);
  font-weight: 830;
}

.legal-list dd {
  margin: 0;
  color: var(--muted);
}

.legal-note {
  padding: 16px 18px;
  border: 1px solid rgba(200, 132, 47, 0.28);
  border-radius: 8px;
  background: #fff6e8;
  color: #6d4a1e !important;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-feature {
    grid-template-columns: 1fr;
  }

  .fit-grid,
  .contact-grid,
  .trust-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: inherit;
    background: transparent;
  }

  .nav-toggle span {
    width: 16px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(247, 248, 245, 0.97);
    box-shadow: var(--shadow);
  }

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

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

  .hero {
    min-height: 90svh;
    align-items: end;
    padding-top: 96px;
    padding-bottom: 56px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(8, 13, 12, 0.9) 0%, rgba(8, 13, 12, 0.54) 72%, rgba(8, 13, 12, 0.24) 100%),
      linear-gradient(90deg, rgba(8, 13, 12, 0.5), rgba(8, 13, 12, 0.1));
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 11.5vw, 3.5rem);
    line-height: 1.02;
  }

  .scroll-cue {
    display: none;
  }

  .hero-actions,
  .button,
  .contact-form .button {
    width: 100%;
  }

  .button {
    min-height: 52px;
  }

  .brand-logo-wrap {
    width: 138px;
    height: 42px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .trust-panel article {
    grid-template-columns: 1fr;
  }

  .trust-panel p {
    grid-column: auto;
  }

  .legal-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
