:root {
  --ink: #101820;
  --ink-2: #1f2f3a;
  --muted: #5d6a72;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --surface-2: #e9f1f2;
  --teal: #0f7f82;
  --blue: #2563eb;
  --amber: #e3a11a;
  --line: rgba(16, 24, 32, 0.14);
  --shadow: 0 22px 70px rgba(16, 24, 32, 0.16);
  --radius: 8px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 245, 239, 0.94);
  box-shadow: 0 12px 36px rgba(16, 24, 32, 0.09);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  opacity: 0.86;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 7px;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 138px clamp(20px, 5vw, 72px) 42px;
  color: #fff;
  overflow: hidden;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.98) contrast(1.03);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(8, 17, 25, 0.9) 0%, rgba(8, 17, 25, 0.7) 42%, rgba(8, 17, 25, 0.24) 100%),
    linear-gradient(180deg, rgba(8, 17, 25, 0.3) 0%, rgba(8, 17, 25, 0.82) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-bottom: clamp(48px, 10vh, 120px);
}

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

.hero .eyebrow {
  color: #86f2e9;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 9vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 34px rgba(15, 127, 130, 0.3);
}

.button--primary:hover {
  background: #0a696d;
}

.button--quiet {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.signal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  margin-left: auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(9, 21, 30, 0.62);
  backdrop-filter: blur(18px);
}

.signal-panel__label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.signal-panel strong {
  display: block;
  max-width: 220px;
  line-height: 1.25;
}

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

.signal-grid span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 700;
}

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

.section__heading {
  max-width: 880px;
  margin-bottom: 42px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.intro p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.credibility {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(38px, 6vw, 70px) clamp(20px, 5vw, 72px);
  color: #fff;
  background: #172f36;
}

.credibility .eyebrow {
  color: #f0c25b;
}

.credibility h2 {
  max-width: 720px;
  font-size: clamp(1.9rem, 3.8vw, 3.8rem);
}

.credibility__body {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.credibility__body p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.credibility__note {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem !important;
  color: rgba(255, 255, 255, 0.58) !important;
}

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

.service-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.32);
}

.service-card__number {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
}

.service-card p,
.timeline p,
.case-content p,
.contact__copy p {
  color: var(--muted);
}

.method {
  color: #fff;
  background: var(--ink);
}

.method .eyebrow {
  color: #83e9df;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.timeline article {
  min-height: 320px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--ink);
}

.timeline span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 80px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #99f2eb;
  font-weight: 900;
}

.timeline p {
  color: rgba(255, 255, 255, 0.66);
}

.outcome-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}

.metric-stack {
  display: grid;
  gap: 12px;
}

.metric {
  padding: 22px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--ink);
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
}

.metric span {
  color: rgba(255, 255, 255, 0.72);
}

.case-panel {
  min-height: 420px;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.case-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: #f1f5f2;
}

.case-tab {
  flex: 1;
  min-height: 58px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.case-tab:last-child {
  border-right: 0;
}

.case-tab.is-active {
  color: var(--ink);
  background: #fff;
}

.case-content {
  display: grid;
  align-content: center;
  padding: clamp(30px, 5vw, 70px);
  background:
    linear-gradient(135deg, rgba(15, 127, 130, 0.12), transparent 46%),
    linear-gradient(315deg, rgba(37, 99, 235, 0.1), transparent 44%);
}

.case-content__label {
  margin-bottom: 12px;
  color: var(--teal);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.case-content h3 {
  max-width: 620px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.case-content p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.insight {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: clamp(24px, 6vw, 86px);
  color: #fff;
  background: #123b42;
}

.insight .eyebrow {
  color: #f0c25b;
}

blockquote {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 24, 32, 0.18);
  border-radius: 7px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfaf6;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(15, 127, 130, 0.18);
  border-color: var(--teal);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 750;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

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

  .intro,
  .credibility,
  .outcome-layout,
  .insight,
  .contact {
    grid-template-columns: 1fr;
  }

  .signal-panel {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .brand span:last-child {
    max-width: 150px;
    line-height: 1.1;
  }

  .hero {
    min-height: 840px;
    padding: 116px 18px 28px;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(8, 17, 25, 0.82) 0%, rgba(8, 17, 25, 0.68) 55%, rgba(8, 17, 25, 0.9) 100%);
  }

  .hero__content {
    padding-bottom: 32px;
  }

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

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

  .section {
    padding: 64px 18px;
  }

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

  .service-card,
  .timeline article {
    min-height: auto;
  }

  .timeline span {
    margin-bottom: 34px;
  }

  .case-tabs {
    flex-direction: column;
  }

  .case-tab {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}
