:root {
  --ink: #142228;
  --muted: #5d6e72;
  --paper: #f7f9f7;
  --white: #ffffff;
  --line: rgba(20, 34, 40, 0.14);
  --teal: #0d8f8b;
  --teal-dark: #08635f;
  --amber: #d89b31;
  --coral: #d75f4b;
  --shadow: 0 24px 80px rgba(15, 37, 41, 0.16);
}

* {
  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.5;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 249, 247, 0.94);
  box-shadow: 0 12px 40px rgba(21, 35, 40, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: currentColor;
}

.brand-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0;
}

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

.site-nav a {
  opacity: 0.88;
}

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

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

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 24, 28, 0.9) 0%, rgba(10, 24, 28, 0.72) 38%, rgba(10, 24, 28, 0.22) 75%),
    linear-gradient(180deg, rgba(10, 24, 28, 0.16), rgba(10, 24, 28, 0.42));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 72px;
}

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

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.45rem, 6vw, 5.6rem);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

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

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

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

.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.54);
  background: rgba(255, 255, 255, 0.1);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.intro,
.services,
.process {
  background: var(--paper);
}

.split,
.section-heading,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.split p,
.section-heading p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(20, 34, 40, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(13, 143, 139, 0.36);
  box-shadow: 0 24px 64px rgba(20, 34, 40, 0.13);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.icon-badge,
.process-track span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal-dark);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.service-card:hover .icon-badge {
  transform: translateY(-2px);
}

.service-card:nth-child(2) .icon-badge,
.process-track article:nth-child(2) span {
  background: var(--amber);
}

.service-card:nth-child(2)::before {
  background: var(--amber);
}

.service-card:nth-child(3) .icon-badge,
.process-track article:nth-child(3) span {
  background: var(--coral);
}

.service-card:nth-child(3)::before {
  background: var(--coral);
}

.service-card:nth-child(5) .icon-badge {
  background: var(--amber);
}

.service-card:nth-child(5)::before {
  background: var(--amber);
}

.service-card:nth-child(6) .icon-badge {
  background: var(--coral);
}

.service-card:nth-child(6)::before {
  background: var(--coral);
}

.service-card:nth-child(8) .icon-badge {
  background: var(--amber);
}

.service-card:nth-child(8)::before {
  background: var(--amber);
}

.service-card h3,
.process-track h3 {
  margin: 28px 0 10px;
  font-size: 1.25rem;
}

.service-card p,
.process-track p {
  margin: 0;
  color: var(--muted);
}

.solutions {
  background:
    linear-gradient(135deg, rgba(13, 143, 139, 0.14), transparent 34%),
    var(--white);
}

.solutions-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
  margin-bottom: 42px;
}

.solutions-lead p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.solution-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.solution-column {
  position: relative;
  display: grid;
  min-height: 360px;
  grid-template-rows: auto auto auto 1fr;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--white);
  transition: transform 180ms ease, background 180ms ease;
}

.solution-column:hover {
  background: #fbfdfc;
  transform: translateY(-4px);
}

.solution-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal-dark);
  font-weight: 900;
  transition: transform 180ms ease;
}

.solution-column:hover .solution-icon {
  transform: rotate(-4deg) scale(1.04);
}

.solution-column:nth-child(2) .solution-icon {
  background: var(--amber);
}

.solution-column:nth-child(3) .solution-icon {
  background: var(--coral);
}

.solution-column h3 {
  margin: 4px 0 0;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.04;
}

.solution-column p {
  margin: 0;
  color: var(--muted);
}

.solution-column ul {
  display: grid;
  align-content: end;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.solution-column li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-weight: 800;
}

.solution-column li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
  background: #101b20;
  color: var(--white);
}

.case-copy p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.case-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.case-metric {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.case-metric span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-metric strong {
  max-width: 220px;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.12;
}

.case-metric p {
  margin: auto 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.case-gallery {
  background: var(--paper);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
  align-items: stretch;
}

.screen-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(20, 34, 40, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.screen-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(20, 34, 40, 0.15);
}

.screen-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  border-bottom: 1px solid var(--line);
  background: #eef4f3;
  transition: transform 220ms ease;
}

.screen-card:hover img {
  transform: scale(1.018);
}

.screen-card-large img {
  aspect-ratio: 16 / 8.8;
}

.screen-card div {
  display: grid;
  gap: 7px;
  padding: 20px;
  margin-top: auto;
}

.screen-card span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-card strong {
  font-size: 1.12rem;
  line-height: 1.24;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.process-track article {
  min-height: 230px;
  padding: 24px;
  border-top: 1px solid var(--line);
  transition: transform 180ms ease, border-color 180ms ease;
}

.process-track article:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
}

.contact {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(216, 155, 49, 0.2), transparent 28%),
    #142228;
}

.contact .section-kicker,
.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.form-honey {
  display: none;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(13, 143, 139, 0.82);
  outline-offset: 2px;
}

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

.form-status {
  min-height: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.form-status[data-state="success"] {
  color: #9ff0d0;
}

.form-status[data-state="error"] {
  color: #ffb4a8;
}

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

@media (max-width: 980px) {
  .trust-strip,
  .process-track {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .split,
  .section-heading,
  .solutions-lead,
  .case-study,
  .contact {
    grid-template-columns: 1fr;
  }

  .solution-flow {
    grid-template-columns: 1fr;
  }

  .solution-column {
    min-height: auto;
  }
}

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

  .brand-name {
    font-size: 1rem;
  }

  .brand-symbol {
    width: 38px;
    height: 38px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 20px 60px rgba(20, 34, 40, 0.16);
  }

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

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

  .hero {
    min-height: 86vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 24, 28, 0.9), rgba(10, 24, 28, 0.62)),
      linear-gradient(180deg, rgba(10, 24, 28, 0.24), rgba(10, 24, 28, 0.5));
  }

  .hero-content {
    margin-inline: 18px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-strip,
  .service-grid,
  .process-track,
  .case-panel,
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    min-height: 58px;
  }
}
