:root {
  color-scheme: light;
  --ink: #141414;
  --ink-soft: #3f3f3b;
  --paper: #f6f1e7;
  --paper-clean: #fffaf0;
  --steel: #d6d0c3;
  --line: rgba(20, 20, 20, 0.16);
  --line-strong: rgba(20, 20, 20, 0.32);
  --signal: #c43725;
  --signal-dark: #8d2018;
  --shadow: 0 18px 55px rgba(26, 22, 16, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(20, 20, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 20, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  color: var(--ink);
  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;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 52px);
  color: var(--paper-clean);
  background: transparent;
  border-bottom: 2px solid transparent;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    padding 220ms ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(196, 55, 37, 0.08), transparent 58%),
    rgba(255, 250, 240, 0.96);
  border-bottom-color: var(--ink);
  box-shadow: 0 12px 34px rgba(26, 22, 16, 0.14);
  backdrop-filter: blur(10px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-grid;
  grid-template-columns: 10px 18px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 34px;
  border: 2px solid currentColor;
  font-weight: 900;
}

.brand-letter {
  font-size: 0.9rem;
  line-height: 1;
}

.brand-paw {
  width: 19px;
  height: 19px;
  margin-left: -2px;
  fill: currentColor;
}

.nav-links {
  gap: clamp(14px, 3vw, 30px);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-demo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 2px solid var(--signal);
  background: var(--signal);
  color: #fff;
  font-size: 0.78rem;
}

.nav-demo:hover {
  background: var(--signal-dark);
  border-color: var(--signal-dark);
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  background: #10100e;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% 52%;
  filter: contrast(1.05);
  opacity: 0.92;
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.88) 0%, rgba(8, 8, 7, 0.72) 35%, rgba(8, 8, 7, 0.16) 72%),
    linear-gradient(0deg, rgba(8, 8, 7, 0.42) 0%, transparent 34%);
  z-index: -1;
}

.hero-content {
  width: min(720px, calc(100% - 36px));
  padding: clamp(112px, 18vh, 190px) 0 80px;
  margin-left: clamp(18px, 7vw, 92px);
  color: var(--paper-clean);
}

.eyebrow,
.section-kicker {
  margin: 0 0 13px;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffcf62;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(3.35rem, 8.4vw, 8.1rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  max-width: 930px;
  font-size: clamp(2rem, 4.2vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 250, 240, 0.88);
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid currentColor;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.button.primary:hover {
  background: var(--signal-dark);
  border-color: var(--signal-dark);
}

.button.secondary {
  color: currentColor;
  background: rgba(255, 255, 255, 0.08);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--paper-clean);
}

.signal-strip div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  min-height: 92px;
  padding: 18px;
  border-right: 2px solid var(--ink);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 0.9;
}

.signal-strip span {
  max-width: 150px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) 0;
}

.section-heading p,
.proof-copy p,
.thesis p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

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

.fleet-card {
  position: relative;
  min-height: 590px;
  padding: 22px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: var(--shadow);
}

.fleet-card > * {
  position: relative;
  z-index: 1;
}

.fleet-card::before,
.fleet-card::after {
  z-index: 0;
  pointer-events: none;
}

.fleet-card::after {
  position: absolute;
  inset: auto 18px 18px auto;
  width: 72px;
  height: 72px;
  border: 2px solid var(--line-strong);
  content: "";
  transform: rotate(12deg);
}

.fleet-card.leia,
.fleet-card.cub {
  background:
    linear-gradient(145deg, rgba(196, 55, 37, 0.1), transparent 48%),
    repeating-linear-gradient(0deg, rgba(20, 20, 20, 0.05) 0 1px, transparent 1px 13px),
    var(--paper-clean);
}

.fleet-card.leia::before,
.fleet-card.cub::before {
  position: absolute;
  right: -36px;
  bottom: 26px;
  width: 160px;
  height: 86px;
  border: 4px solid var(--ink);
  content: "";
  opacity: 0.11;
}

.fleet-card.cub::before {
  width: 132px;
  height: 118px;
  background:
    linear-gradient(90deg, transparent 31%, var(--ink) 32%, var(--ink) 35%, transparent 36%),
    linear-gradient(90deg, transparent 64%, var(--ink) 65%, var(--ink) 68%, transparent 69%),
    linear-gradient(0deg, transparent 48%, var(--ink) 49%, var(--ink) 52%, transparent 53%);
}

.fleet-card .role {
  margin-bottom: 18px;
  color: var(--signal-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fleet-card p:last-child {
  position: relative;
  z-index: 1;
  color: var(--ink-soft);
}

.visual-card {
  background: var(--paper-clean);
}

.bot-carousel {
  margin: -22px -22px 22px;
  background: var(--paper-clean);
}

.carousel-stage {
  position: relative;
  height: 334px;
  overflow: hidden;
  background: #151512;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(16px);
  transition:
    opacity 300ms ease,
    transform 340ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}

.visual-card.leia .carousel-slide img {
  object-position: 50% 52%;
}

.visual-card.cub .carousel-slide img {
  object-position: 50% 52%;
}

.visual-card.grizzly .carousel-slide img {
  object-position: 57% 54%;
}

.visual-card.polar .carousel-slide img {
  object-fit: cover;
  object-position: center;
  background: var(--paper-clean);
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 12px;
  background: var(--paper-clean);
}

.carousel-controls button {
  display: grid;
  width: 40px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.carousel-controls button:hover,
.carousel-controls button:focus-visible {
  background: var(--ink);
  color: var(--paper-clean);
}

.proof {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.proof-image {
  border: 2px solid var(--ink);
  background: var(--paper-clean);
  box-shadow: var(--shadow);
}

.proof-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 13px 0 13px 36px;
  border-top: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-weight: 750;
}

.check-list li::before {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0 12px 0 -36px;
  border: 2px solid var(--signal);
  background: var(--signal);
  content: "";
  vertical-align: -3px;
}

.thesis {
  max-width: 1120px;
}

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

.thesis-grid article {
  min-height: 260px;
  padding: 24px;
  border: 2px solid var(--ink);
  background: var(--paper-clean);
}

.mission-action {
  margin-top: clamp(72px, 8vw, 104px);
  padding-bottom: clamp(16px, 3vw, 32px);
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  border: 2px solid var(--ink);
  background:
    linear-gradient(145deg, rgba(196, 55, 37, 0.08), transparent 52%),
    var(--paper-clean);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    padding 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.form-heading {
  grid-column: 1 / -1;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
}

.form-heading h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.form-heading,
.inquiry-form label,
.inquiry-form .button {
  max-height: 150px;
  transition:
    opacity 220ms ease,
    transform 260ms ease,
    max-height 300ms ease,
    margin 260ms ease;
}

.inquiry-form span {
  color: var(--signal-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 46px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: rgba(255, 250, 240, 0.86);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  padding: 10px 12px;
}

.inquiry-form textarea {
  min-height: 82px;
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  outline: 3px solid rgba(196, 55, 37, 0.28);
  outline-offset: 1px;
}

.inquiry-form .wide-field {
  grid-column: 1 / 4;
}

.inquiry-form .button {
  min-width: 170px;
}

.inquiry-form .button:disabled {
  cursor: wait;
  filter: saturate(0.82);
}

.form-status {
  grid-column: 1 / -1;
  max-height: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 900;
  outline: 0;
  transform: translateY(10px);
  transition:
    opacity 260ms ease 120ms,
    transform 300ms ease 120ms,
    max-height 320ms ease,
    margin 260ms ease;
}

.inquiry-form.has-error .form-status {
  max-height: 80px;
  margin-top: 4px;
  opacity: 1;
  color: var(--signal-dark);
  transform: translateY(0);
}

.inquiry-form.is-submitting {
  transform: translateY(-1px);
}

.inquiry-form.is-submitted {
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 8px 8px 0 var(--ink);
}

.inquiry-form.is-submitted .form-heading,
.inquiry-form.is-submitted label,
.inquiry-form.is-submitted .button {
  max-height: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px) scale(0.98);
}

.inquiry-form.is-submitted .form-status {
  max-height: 90px;
  margin: 0;
  opacity: 1;
  transform: translateY(0);
}

.bot-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 52px);
  border-top: 2px solid var(--ink);
  background: var(--paper-clean);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

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

  .inquiry-form .wide-field,
  .inquiry-form .button {
    grid-column: 1 / -1;
  }

  .section-heading,
  .proof {
    grid-template-columns: 1fr;
  }

  .proof {
    width: min(var(--max), calc(100% - 36px));
  }
}

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

  .nav-links {
    gap: 12px;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 84svh;
  }

  .hero-art {
    object-position: 57% 51%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 8, 7, 0.91) 0%, rgba(8, 8, 7, 0.68) 62%, rgba(8, 8, 7, 0.18) 100%),
      linear-gradient(0deg, rgba(8, 8, 7, 0.42) 0%, transparent 36%);
  }

  .hero-content {
    width: min(94%, 620px);
    margin: 0 auto;
    padding-top: 122px;
  }

  h1 {
    font-size: clamp(2.8rem, 11.8vw, 4.6rem);
    line-height: 0.92;
  }

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

  .signal-strip div {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .signal-strip div:last-child {
    border-bottom: 0;
  }

  .fleet-grid,
  .thesis-grid {
    grid-template-columns: 1fr;
  }

  .form-heading {
    display: grid;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .fleet-card {
    min-height: 500px;
  }

  .carousel-stage {
    height: 262px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .brand span:last-child {
    display: none;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 230px;
  }

  .button {
    width: 100%;
  }

  .hero-copy {
    font-size: 1rem;
  }
}
