:root {
  --ink: #10212c;
  --ink-soft: #53646f;
  --navy: #0b1720;
  --navy-2: #102632;
  --paper: #f4f5f0;
  --white: #ffffff;
  --line: rgba(16, 33, 44, 0.13);
  --teal: #7fd4c7;
  --teal-deep: #2e8177;
  --sand: #d9c59b;
  --card: #fbfcf9;
  --shadow: 0 24px 70px rgba(10, 27, 37, 0.12);
  --radius: 22px;
  --container: 1180px;
}

* {
  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;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--white);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
  background: rgba(11, 23, 32, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(11, 23, 32, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 1.16rem;
  letter-spacing: 0.01em;
}

.brand small {
  margin-top: 4px;
  color: var(--teal);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav > a:not(.button) {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
  font-weight: 600;
}

.primary-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--teal);
  transition: right 0.2s ease;
}

.primary-nav > a:not(.button):hover {
  color: var(--white);
}

.primary-nav > a:not(.button):hover::after,
.primary-nav > a:not(.button).active::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  color: var(--navy);
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #96e1d6;
  box-shadow: 0 16px 32px rgba(65, 178, 162, 0.22);
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(127, 212, 199, 0.55);
  outline-offset: 3px;
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.9rem;
}

.button-full {
  width: 100%;
}

.section {
  padding: 112px 0;
}

.section-dark {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero {
  padding: 152px 0 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero-glow-one {
  width: 640px;
  height: 640px;
  top: -280px;
  right: -160px;
  background: radial-gradient(circle, rgba(127, 212, 199, 0.13), transparent 66%);
}

.hero-glow-two {
  width: 480px;
  height: 480px;
  bottom: -280px;
  left: -200px;
  background: radial-gradient(circle, rgba(217, 197, 155, 0.1), transparent 65%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(460px, 0.97fr);
  align-items: center;
  gap: 76px;
  min-height: 610px;
  padding-bottom: 74px;
}

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

.eyebrow.dark {
  color: var(--teal-deep);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 500;
  line-height: 0.95;
}

h1 span {
  color: var(--teal);
}

h2 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 4.6vw, 4.4rem);
  font-weight: 500;
  line-height: 1.03;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 38px;
}

.text-link {
  color: var(--white);
  font-weight: 700;
}

.text-link span {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--sand);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 13% 8% -8% 12%;
  background: rgba(127, 212, 199, 0.08);
  border-radius: 50%;
  filter: blur(40px);
}

.hero-visual > img {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.34));
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 3px;
  min-width: 148px;
  padding: 14px 17px;
  color: var(--white);
  background: rgba(16, 38, 50, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.floating-card span {
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.73rem;
}

.floating-card strong {
  color: var(--teal);
  font-size: 1.08rem;
}

.floating-card-one {
  top: 13%;
  right: -3%;
}

.floating-card-two {
  bottom: 8%;
  left: -2%;
}

.capability-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.capability-strip span {
  padding: 25px 16px;
  color: rgba(255, 255, 255, 0.52);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.capability-strip span:last-child {
  border-right: 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 100px;
}

.section-intro h2 {
  position: sticky;
  top: 120px;
  max-width: 600px;
}

.problem-list {
  display: grid;
}

.problem-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.problem-list article:first-child {
  padding-top: 0;
}

.problem-list article > span,
.fit-items span,
.step-card > span {
  color: var(--teal-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.problem-list h3 {
  margin-bottom: 8px;
  font-size: 1.33rem;
}

.problem-list p,
.section-heading > p,
.service-card p,
.fit-items p,
.about-copy > p,
.about-pillars p {
  color: var(--ink-soft);
}

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

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.55fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 56px;
}

.section-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 10px;
  font-size: 1.02rem;
}

.section-heading.light > p {
  color: rgba(255, 255, 255, 0.62);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 390px;
  padding: 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 129, 119, 0.35);
  box-shadow: 0 22px 55px rgba(17, 42, 53, 0.1);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 48px;
  color: var(--navy);
  background: rgba(127, 212, 199, 0.52);
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.service-card ul {
  display: grid;
  gap: 7px;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 17px;
  color: #41545f;
  font-size: 0.9rem;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--teal-deep);
  border-radius: 50%;
}

.section-fit {
  background: #e9ece6;
}

.fit-grid {
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  align-items: center;
  gap: 92px;
}

.fit-visual {
  position: relative;
  padding: 30px;
}

.fit-visual::before {
  content: "";
  position: absolute;
  inset: 15% 12%;
  background: rgba(46, 129, 119, 0.1);
  border-radius: 50%;
  filter: blur(30px);
}

.fit-visual img {
  position: relative;
  filter: drop-shadow(0 28px 50px rgba(20, 47, 57, 0.16));
}

.fit-copy h2 {
  max-width: 650px;
}

.fit-items {
  display: grid;
  gap: 0;
  margin-top: 32px;
}

.fit-items > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.fit-items p {
  margin: 0;
}

.fit-items strong {
  color: var(--ink);
}

.section-approach {
  padding-bottom: 124px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  min-height: 250px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
}

.step-card > span {
  display: inline-block;
  margin-bottom: 62px;
  color: var(--teal);
}

.step-card h3 {
  margin-bottom: 12px;
  color: var(--white);
}

.step-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.section-about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: 90px;
}

.about-stat {
  align-self: start;
  position: sticky;
  top: 120px;
  display: grid;
  padding: 36px;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-stat strong {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  font-weight: 500;
  line-height: 0.95;
}

.about-stat span {
  max-width: 200px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.9rem;
}

.about-copy > p {
  max-width: 770px;
  font-size: 1.08rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.about-pillars > div {
  padding-top: 24px;
  border-top: 2px solid var(--teal-deep);
}

.about-pillars h3 {
  margin-bottom: 11px;
  font-size: 1.05rem;
}

.about-pillars p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.section-cta {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #17323f;
}

.section-cta::before {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  top: -300px;
  right: -240px;
  background: radial-gradient(circle, rgba(127, 212, 199, 0.16), transparent 68%);
  border-radius: 50%;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 90px;
}

.contact-copy {
  padding-top: 24px;
}

.contact-copy h2 {
  max-width: 590px;
}

.contact-copy > p:not(.eyebrow):not(.contact-note) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.03rem;
}

.contact-email {
  display: inline-block;
  margin-top: 20px;
  color: var(--teal);
  font-size: 1.12rem;
  font-weight: 800;
}

.contact-note {
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.83rem;
}

.contact-form {
  padding: 38px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.19);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: #2b424e;
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  background: #f8f9f6;
  border: 1px solid #d7ddd9;
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input,
.contact-form select {
  height: 50px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 130px;
  padding: 13px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal-deep);
  box-shadow: 0 0 0 4px rgba(46, 129, 119, 0.1);
  outline: 0;
}

.form-note {
  margin: 13px 0 0;
  color: #7b898f;
  font-size: 0.72rem;
  text-align: center;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.site-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.62);
  background: #081219;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  justify-self: start;
  color: var(--white);
}

.footer-grid > p {
  margin: 0;
  font-size: 0.8rem;
}

.footer-grid > p:last-child {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 1060px) {
  .primary-nav {
    gap: 18px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.86fr;
    gap: 36px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    gap: 48px;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 86px 0;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: grid;
    gap: 0;
    padding: 20px;
    background: rgba(11, 23, 32, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(-140%);
    transition: transform 0.25s ease;
  }

  .primary-nav.open {
    transform: translateY(0);
  }

  .primary-nav > a:not(.button) {
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .primary-nav .button {
    margin-top: 16px;
  }

  .hero {
    padding-top: 126px;
  }

  .hero-grid,
  .two-column,
  .fit-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
    padding-bottom: 54px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .hero-visual {
    max-width: 650px;
    margin: 0 auto;
  }

  .capability-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-strip span {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .capability-strip span:last-child {
    grid-column: 1 / -1;
  }

  .two-column,
  .fit-grid,
  .about-grid,
  .contact-grid {
    gap: 54px;
  }

  .section-intro h2,
  .about-stat {
    position: static;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .fit-visual {
    order: 2;
    max-width: 620px;
    margin: 0 auto;
  }

  .about-stat {
    max-width: 340px;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

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

  .footer-brand,
  .footer-grid > p:last-child {
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-wrap {
    min-height: 70px;
  }

  .primary-nav {
    inset-block-start: 70px;
  }

  .hero {
    padding-top: 112px;
  }

  h1 {
    font-size: clamp(3.15rem, 16vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

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

  .hero-points {
    display: grid;
    justify-content: start;
    max-width: 310px;
    margin-inline: auto;
    text-align: left;
  }

  .floating-card {
    display: none;
  }

  .capability-strip {
    grid-template-columns: 1fr;
  }

  .capability-strip span,
  .capability-strip span:last-child {
    grid-column: auto;
    border-right: 0;
  }

  .services-grid,
  .steps-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 28px;
  }

  .service-icon {
    margin-bottom: 30px;
  }

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

  .step-card > span {
    margin-bottom: 36px;
  }

  .fit-visual {
    padding: 0;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
