@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500;600&display=swap");

:root {
  --navy: #0c1a26;
  --navy-2: #142a3b;
  --steel: #7c93a3;
  --amber: #f2ac1e;
  --amber-2: #ffcf6b;
  --white: #f6f8f9;
  --line: rgba(246, 248, 249, 0.14);
  --line-dark: rgba(12, 26, 38, 0.14);
  --radius: 2px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  line-height: 1.5;
}

a {
  color: inherit;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.wrap {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

/* ---- ticker ---- */
.ticker-wrap {
  overflow: hidden;
  background: var(--navy);
  border-bottom: 2px solid var(--amber);
}

.ticker {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 8px 0;
  animation: ticker-move 24s linear infinite;
  color: var(--amber-2);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ticker span::before {
  content: "// ";
  color: var(--steel);
}

@keyframes ticker-move {
  to {
    transform: translateX(-50%);
  }
}

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  background: var(--navy);
  color: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--white);
}

.brand .bolt {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--amber);
  color: var(--navy);
  clip-path: polygon(60% 0, 100% 0, 40% 60%, 70% 60%, 20% 100%, 30% 45%, 0 45%);
}

.main-nav {
  display: flex;
  gap: 30px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav a {
  text-decoration: none;
  color: var(--steel);
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.main-nav a:hover {
  color: var(--white);
  border-color: var(--amber);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--amber);
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.btn:hover {
  background: transparent;
  color: var(--amber);
}

.btn.line {
  background: transparent;
  color: var(--white);
  border-color: rgba(246, 248, 249, 0.4);
}

.btn.line:hover {
  background: var(--white);
  color: var(--navy);
}

/* ---- hero ---- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero-copy {
  padding: 90px 40px 90px 32px;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.06;
  max-width: 560px;
}

.hero .lede {
  max-width: 460px;
  margin: 22px 0 0;
  color: var(--steel);
  font-size: 16.5px;
  line-height: 1.6;
}

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

.hero-image {
  position: relative;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 26, 38, 0.1), rgba(12, 26, 38, 0.55));
}

/* ---- spec strip ---- */
.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy-2);
  color: var(--white);
}

.spec {
  padding: 26px 28px;
  border-left: 1px solid var(--line);
}

.spec:first-child {
  border-left: none;
}

.spec strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--amber);
}

.spec span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--steel);
  line-height: 1.4;
}

/* ---- section scaffolding ---- */
.section {
  padding: 100px 0;
}

.section.tight {
  padding: 66px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 46px;
}

.section-head .tag {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 42px);
  max-width: 620px;
  line-height: 1.1;
}

.section-head p {
  max-width: 360px;
  margin: 0;
  color: #46545e;
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---- spec sheet services ---- */
.spec-sheet {
  border-top: 1px solid var(--line-dark);
}

.spec-row {
  display: grid;
  grid-template-columns: 60px 1.4fr 1fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}

.spec-row .idx {
  font-family: var(--font-mono);
  color: var(--amber);
  font-size: 15px;
}

.spec-row h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 19px;
}

.spec-row p {
  margin: 0;
  color: #46545e;
  font-size: 13.5px;
}

.spec-row .col-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8b98a1;
  display: block;
  margin-bottom: 4px;
}

.spec-row .col-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14.5px;
}

/* ---- estimator ---- */
.estimator-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.feature-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: #33404a;
  line-height: 1.5;
}

.feature-list li::before {
  content: "▸";
  color: var(--amber);
  font-weight: 700;
}

.terminal {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(12, 26, 38, 0.28);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--navy-2);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
}

.terminal-bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--steel);
}

.terminal-body {
  padding: 24px;
}

.term-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

.term-field {
  display: grid;
  gap: 6px;
}

.term-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}

.term-field select,
.term-field input {
  background: rgba(246, 248, 249, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  color: var(--white);
  outline: none;
  font-family: var(--font-mono);
  font-size: 13.5px;
}

.term-field select option {
  color: var(--navy);
}

.term-output {
  border-top: 1px dashed var(--line);
  padding-top: 18px;
  display: grid;
  gap: 6px;
}

.term-output .readout {
  font-family: var(--font-mono);
  font-size: 34px;
  color: var(--amber);
  font-weight: 600;
}

.term-output span {
  font-size: 13px;
  color: var(--steel);
}

/* ---- timeline ---- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--line-dark);
}

.step {
  position: relative;
  padding: 0 18px;
}

.step .num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber);
  font-family: var(--font-mono);
  font-weight: 600;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
}

.step p {
  margin: 0;
  color: #46545e;
  font-size: 13.5px;
  line-height: 1.5;
}

/* ---- booking + ops ---- */
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 30px;
}

.form-card h3 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 21px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6e7c86;
}

.field input,
.field select,
.field textarea {
  padding: 11px 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  outline: none;
  font-size: 14.5px;
}

.field textarea {
  resize: vertical;
  min-height: 80px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--amber);
}

.status-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: #46545e;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.status-note.in {
  opacity: 1;
  transform: none;
}

.ops-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px;
}

.ops-panel h3 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: 21px;
}

.dash-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  font-size: 13.5px;
  color: var(--steel);
  margin-bottom: 8px;
}

.dash-row strong {
  color: var(--white);
  font-family: var(--font-mono);
}

.bar {
  height: 7px;
  background: rgba(246, 248, 249, 0.1);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 18px;
}

.bar span {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--amber);
}

/* ---- reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---- footer ---- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 70px 0 26px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-top h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  max-width: 560px;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-image {
    clip-path: none;
    order: -1;
  }

  .hero-image img {
    min-height: 320px;
  }

  .main-nav {
    display: none;
  }

  .spec-strip,
  .grid-two,
  .estimator-block,
  .timeline,
  .form-grid,
  .term-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    display: none;
  }

  .spec-row {
    grid-template-columns: 40px 1fr;
  }

  .spec-row .col-label,
  .spec-row .col-value {
    grid-column: 2;
  }

  .section {
    padding: 66px 0;
  }

  .section-head,
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .wrap {
    width: min(100% - 40px, 640px);
  }
}
