:root {
  color-scheme: light;
  --ink: #111716;
  --muted: #66716d;
  --paper: #f6f4ee;
  --panel: #ffffff;
  --line: rgba(17, 23, 22, 0.12);
  --charcoal: #101416;
  --steel: #263235;
  --moss: #596f4f;
  --copper: #bf7b45;
  --sand: #d8c9aa;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(12, 18, 16, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(16, 20, 22, 0.94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

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

.brand > span {
  display: none;
}

.brand-logo {
  width: clamp(210px, 20vw, 310px);
  height: auto;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
  border-radius: 4px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}

.brand-logo--mobile {
  display: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.96rem;
  line-height: 1.1;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  margin-top: 2px;
}

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

.nav a {
  color: rgba(255, 255, 255, 0.82);
}

.nav a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
}

.hero > picture,
.hero > picture img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > picture img {
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 20, 22, 0.88), rgba(16, 20, 22, 0.55) 35%, rgba(16, 20, 22, 0.08) 72%),
    linear-gradient(0deg, rgba(16, 20, 22, 0.45), rgba(16, 20, 22, 0.02) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 155px clamp(20px, 5vw, 70px) 76px;
  color: #fff;
}

.hero-logo {
  width: clamp(260px, 31vw, 390px);
  height: auto;
  margin: 0 0 24px;
  border-radius: 4px;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.34));
}

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

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.75rem, 8vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
}

.button.primary {
  background: var(--copper);
  color: #fff;
}

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

.section {
  padding: clamp(64px, 8vw, 116px) clamp(20px, 5vw, 70px);
}

.section-grid,
.feature-band,
.founder-panel,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.section h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro-copy p,
.feature-content p,
.founder-panel p,
.contact-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.03rem;
}

.solutions,
.process,
.specs {
  background: #fff;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: clamp(28px, 5vw, 56px);
}

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

.solution-grid article {
  min-height: 320px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.solution-grid span,
.timeline span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 999px;
  background: rgba(89, 111, 79, 0.12);
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 900;
}

.solution-grid h3,
.timeline h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  line-height: 1.15;
}

.solution-grid p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.feature-band {
  background: var(--charcoal);
  color: #fff;
}

.feature-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 24px;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.feature-list span {
  color: rgba(255, 255, 255, 0.68);
}

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

.timeline div {
  min-height: 270px;
  padding: clamp(22px, 3vw, 32px);
  background: #fff;
}

.founder {
  background: linear-gradient(180deg, #f6f4ee, #ece6d9);
}

.founder-panel {
  padding: clamp(28px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(17, 23, 22, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.spec-grid div {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius);
  background: #f3f0e8;
  border: 1px solid var(--line);
  font-weight: 750;
}

.contact {
  background: var(--steel);
  color: #fff;
}

.contact h2 {
  color: #fff;
}

.contact-logo {
  width: min(360px, 100%);
  height: auto;
  margin: 0 0 28px;
  border-radius: 4px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.2));
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-lines a,
.contact-lines span,
.contact-lines address {
  color: #fff;
  font-weight: 800;
}

.contact-lines address {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-weight: 650;
  line-height: 1.45;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
}

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

label {
  display: grid;
  gap: 8px;
  color: #3f4945;
  font-size: 0.84rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 23, 22, 0.16);
  border-radius: 6px;
  padding: 13px 12px;
  background: #f8f7f3;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

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

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 70px);
  background: #0b0e0f;
  color: rgba(255, 255, 255, 0.7);
}

.footer strong,
.footer span {
  display: block;
}

.footer strong,
.footer a {
  color: #fff;
}

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

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: rgba(16, 20, 22, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
  }

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

  .nav a {
    padding: 14px;
  }

  .brand small {
    display: none;
  }

  .brand-logo--desktop {
    display: none;
  }

  .brand-logo--mobile {
    display: block;
    width: 52px;
    max-width: 52px;
    height: 52px;
    max-height: 52px;
    object-fit: contain;
  }

  .hero {
    min-height: 88vh;
  }

  .hero > picture img {
    object-position: 66% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 20, 22, 0.9), rgba(16, 20, 22, 0.5)),
      linear-gradient(0deg, rgba(16, 20, 22, 0.72), rgba(16, 20, 22, 0.1));
  }

  .hero-content {
    padding-bottom: 52px;
  }

  .hero-logo {
    width: min(300px, 82vw);
    margin-bottom: 20px;
  }

  .section-grid,
  .feature-band,
  .founder-panel,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

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

  .solution-grid article,
  .timeline div {
    min-height: auto;
  }

  .solution-grid span,
  .timeline span {
    margin-bottom: 22px;
  }

  .footer {
    display: grid;
  }
}

@media (max-width: 430px) {
  .brand strong {
    max-width: 160px;
  }

  .brand-logo--mobile {
    width: 48px;
    max-width: 48px;
    height: 48px;
    max-height: 48px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

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