:root {
  --ink: #101316;
  --ink-2: #171d22;
  --paper: #f7f4ee;
  --paper-2: #ebe7dc;
  --muted: #5e676f;
  --line: rgba(16, 19, 22, 0.14);
  --line-light: rgba(247, 244, 238, 0.18);
  --teal: #0f8a82;
  --teal-dark: #0c5f5d;
  --amber: #c89132;
  --blue: #477a9b;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  display: block;
}

a {
  color: inherit;
}

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

.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 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--paper);
  background: rgba(16, 19, 22, 0.74);
  border-bottom: 1px solid rgba(247, 244, 238, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 720;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid rgba(247, 244, 238, 0.46);
  border-radius: 6px;
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 6px;
  color: rgba(247, 244, 238, 0.84);
  font-size: 0.94rem;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--white);
  background: rgba(247, 244, 238, 0.12);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(247, 244, 238, 0.24);
  border-radius: 6px;
  background: rgba(247, 244, 238, 0.06);
  color: var(--paper);
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 118px clamp(20px, 5vw, 76px) 56px;
  color: var(--paper);
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 19, 22, 0.98) 0%, rgba(16, 19, 22, 0.88) 34%, rgba(16, 19, 22, 0.24) 78%),
    linear-gradient(180deg, rgba(16, 19, 22, 0.22) 0%, rgba(16, 19, 22, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

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

.hero .eyebrow {
  color: #69d6c9;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  margin: 28px 0 0;
  max-width: 690px;
  color: rgba(247, 244, 238, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 760;
  line-height: 1.1;
  font: inherit;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: #08100f;
  background: #6fd8c9;
  border-color: #6fd8c9;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #88eee1;
  border-color: #88eee1;
}

.button-secondary {
  color: var(--paper);
  background: rgba(247, 244, 238, 0.06);
  border-color: rgba(247, 244, 238, 0.3);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(247, 244, 238, 0.14);
}

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

.hero-tags li {
  padding: 8px 11px;
  border: 1px solid rgba(247, 244, 238, 0.18);
  border-radius: 6px;
  background: rgba(247, 244, 238, 0.08);
  color: rgba(247, 244, 238, 0.82);
  font-size: 0.9rem;
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 76px);
}

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

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

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

.section-steel {
  background: #dfe5e3;
}

.section-contact {
  background: var(--ink-2);
  color: var(--paper);
}

.contact-page {
  background: var(--ink);
}

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

.section-heading h2,
.split h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p,
.split p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-ink .section-heading p,
.section-contact p {
  color: rgba(247, 244, 238, 0.76);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.capability-card,
.delivery-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
}

.capability-card h3,
.delivery-grid h3,
.pipeline h3 {
  margin: 18px 0 8px;
  font-size: 1.14rem;
  letter-spacing: 0;
}

.capability-card p,
.delivery-grid p,
.pipeline p,
.problem-list p {
  margin: 0;
  color: var(--muted);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 138, 130, 0.34);
  border-radius: 6px;
  color: var(--teal-dark);
  background: rgba(15, 138, 130, 0.08);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.pipeline {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.pipeline li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-light);
}

.pipeline span {
  color: #70d6c8;
  font-weight: 820;
}

.pipeline h3 {
  margin-top: 0;
}

.pipeline p {
  color: rgba(247, 244, 238, 0.72);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
}

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

.problem-list p {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 16px;
  border-left: 4px solid var(--amber);
  background: rgba(255, 255, 255, 0.54);
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.delivery-grid article {
  background: rgba(255, 255, 255, 0.56);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  align-items: start;
  gap: clamp(28px, 6vw, 72px);
  padding-block: 12px;
}

.contact-panel > div {
  max-width: 620px;
}

.contact-form {
  display: grid;
  gap: 14px;
  width: 100%;
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(247, 244, 238, 0.76);
  font-size: 0.9rem;
  font-weight: 740;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid rgba(247, 244, 238, 0.24);
  border-radius: 6px;
  background: rgba(247, 244, 238, 0.08);
  color: var(--paper);
  font: inherit;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(247, 244, 238, 0.58);
  opacity: 1;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #6fd8c9;
  box-shadow: 0 0 0 3px rgba(111, 216, 201, 0.14);
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.form-actions .button[disabled] {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.contact-status {
  flex: 1 1 220px;
  min-height: 1.4em;
  margin: 0;
  color: rgba(247, 244, 238, 0.68);
  font-size: 0.92rem;
}

.contact-status:empty {
  display: none;
}

.success-banner {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 6px;
  background: rgba(141, 240, 189, 0.12);
  border: 1px solid #8df0bd;
  color: #8df0bd;
  font-weight: 700;
  text-align: center;
}

.contact-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-cta-inner > div {
  max-width: 760px;
}

.contact-cta-inner h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

.contact-cta-inner p {
  color: rgba(247, 244, 238, 0.76);
  font-size: 1.06rem;
}

.contact-hero {
  position: relative;
  min-height: calc(100svh - 64px);
  overflow: hidden;
  padding: 112px clamp(18px, 4vw, 56px) clamp(56px, 7vw, 92px);
  color: var(--paper);
  background: var(--ink);
}

.contact-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.34;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 19, 22, 0.98) 0%, rgba(16, 19, 22, 0.91) 48%, rgba(16, 19, 22, 0.72) 100%),
    linear-gradient(180deg, rgba(16, 19, 22, 0.48) 0%, rgba(16, 19, 22, 0.96) 100%);
}

.contact-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.82fr);
  align-items: start;
  gap: clamp(34px, 7vw, 92px);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.contact-intro {
  padding-top: clamp(8px, 5vw, 58px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 38px;
  color: rgba(247, 244, 238, 0.74);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 720;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--paper);
  outline: none;
}

.back-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-intro h1 {
  max-width: 10.5ch;
  font-size: clamp(3rem, 6.6vw, 6.7rem);
}

.contact-intro > p {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(247, 244, 238, 0.8);
  font-size: clamp(1.04rem, 1.7vw, 1.26rem);
}

.contact-points {
  display: grid;
  gap: 10px;
  max-width: 680px;
  margin-top: 34px;
}

.contact-points article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 13px 0;
  border-top: 1px solid rgba(247, 244, 238, 0.16);
}

.contact-points article:last-child {
  border-bottom: 1px solid rgba(247, 244, 238, 0.16);
}

.contact-points span {
  color: #70d6c8;
  font-weight: 840;
}

.contact-points p {
  margin: 0;
  color: rgba(247, 244, 238, 0.74);
}

.contact-form-panel {
  align-self: start;
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid rgba(247, 244, 238, 0.18);
  border-radius: 8px;
  background: rgba(247, 244, 238, 0.08);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px);
}

.form-heading {
  margin-bottom: 22px;
}

.form-heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.08;
}

.form-heading p {
  margin: 10px 0 0;
  color: rgba(247, 244, 238, 0.68);
}

.contact-form-page {
  gap: 16px;
}

.contact-form-page input,
.contact-form-page textarea {
  background: rgba(247, 244, 238, 0.11);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px clamp(20px, 5vw, 76px);
  background: #0b0e10;
  color: rgba(247, 244, 238, 0.68);
  font-size: 0.92rem;
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid rgba(247, 244, 238, 0.16);
    border-radius: 8px;
    background: rgba(16, 19, 22, 0.96);
    box-shadow: var(--shadow);
  }

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

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

  .hero {
    min-height: 78svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 19, 22, 0.98) 0%, rgba(16, 19, 22, 0.76) 64%, rgba(16, 19, 22, 0.36) 100%),
      linear-gradient(180deg, rgba(16, 19, 22, 0.18) 0%, rgba(16, 19, 22, 0.76) 100%);
  }

  .capability-grid,
  .delivery-grid,
  .approach-layout,
  .split,
  .contact-shell,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .capability-card,
  .delivery-grid article {
    min-height: auto;
  }

  .contact-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .brand span:last-child {
    max-width: 210px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 76svh;
    padding: 104px 18px 42px;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(2.7rem, 15vw, 4.7rem);
  }

  .hero-copy {
    margin-top: 22px;
  }

  .hero-actions,
  .hero-tags {
    gap: 9px;
  }

  .button {
    width: 100%;
  }

  .hero-tags li {
    flex: 1 1 calc(50% - 9px);
    text-align: center;
  }

  .section {
    padding-inline: 18px;
  }

  .contact-hero {
    padding: 96px 18px 42px;
  }

  .contact-intro h1 {
    max-width: 9ch;
    font-size: clamp(2.8rem, 14vw, 4.9rem);
  }

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

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

  .pipeline li {
    grid-template-columns: 46px 1fr;
  }

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

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

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