:root {
  --bg: #05070c;
  --bg-elevated: #0c121c;
  --navy: #121e2d;
  --navy-mid: #1a2d45;
  --orange: #ff5c3e;
  --orange-soft: #ff7a62;
  --text: #f2f4f7;
  --text-muted: #9aa3b2;
  --line: rgba(242, 244, 247, 0.12);
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  font-weight: 700;
  color: var(--text);
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(5, 7, 12, 0.92), rgba(5, 7, 12, 0.55) 70%, transparent);
  backdrop-filter: blur(8px);
}

.header-brand img {
  width: 7.5rem;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav a:not(.nav-cta) {
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}

.site-nav a:not(.nav-cta):hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 0.35rem;
  background: var(--orange);
  color: #fff;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--orange-soft);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 8vh, 5rem);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80")
      center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-zoom 18s var(--ease) both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.55) 0%, rgba(5, 7, 12, 0.72) 42%, rgba(5, 7, 12, 0.96) 100%),
    linear-gradient(90deg, rgba(18, 30, 45, 0.55), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  animation: rise 1s var(--ease) both;
}

.hero-logo {
  width: min(72vw, 22rem);
  margin-bottom: 1.75rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-lead {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-soft);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(255, 92, 62, 0.55);
  color: var(--orange-soft);
}

/* ——— Sections ——— */
.section {
  padding: clamp(4.5rem, 12vh, 7.5rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 72rem;
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.85rem;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--text-muted);
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

/* Product pillars — not cards: hairline rules */
.product-pillars {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.product-pillars li {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.pillar-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
}

.pillar-text {
  color: var(--text-muted);
}

@media (max-width: 560px) {
  .product-pillars li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* Field split */
.section-field {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background:
    radial-gradient(ellipse 70% 60% at 90% 20%, rgba(255, 92, 62, 0.08), transparent 55%),
    var(--bg-elevated);
}

.section-split {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}

@media (max-width: 840px) {
  .section-split {
    grid-template-columns: 1fr;
  }
}

.feature-list {
  list-style: none;
  counter-reset: feat;
}

.feature-list li {
  counter-increment: feat;
  position: relative;
  padding: 1.25rem 0 1.25rem 3.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}

.feature-list li:first-child {
  border-top: 1px solid var(--line);
}

.feature-list li::before {
  content: counter(feat, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--orange);
}

.feature-list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.0625rem;
}

/* Office — interaction-free layout without card chrome */
.office-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.office-grid > * {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.office-grid > *:nth-child(odd) {
  padding-right: 1.75rem;
  border-right: 1px solid var(--line);
}

.office-grid h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.office-grid p {
  color: var(--text-muted);
  font-size: 0.975rem;
}

@media (max-width: 640px) {
  .office-grid {
    grid-template-columns: 1fr;
  }

  .office-grid > *:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }
}

/* Flow */
.flow-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flow-steps li {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--orange);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--orange);
  letter-spacing: 0.06em;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.25;
}

.step-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .flow-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .flow-steps {
    grid-template-columns: 1fr;
  }
}

/* Contact */
.section-contact {
  text-align: left;
  background:
    linear-gradient(135deg, rgba(255, 92, 62, 0.12), transparent 45%),
    var(--navy);
  max-width: none;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.section-contact .eyebrow,
.section-contact h2,
.section-contact .section-lead {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.section-contact h2 {
  max-width: 16ch;
}

.section-contact .section-lead {
  margin-bottom: 1.75rem;
}

.section-contact .btn {
  margin-left: max(0px, calc((100% - 72rem) / 2));
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer img {
  width: 6.5rem;
  opacity: 0.9;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media,
  .hero-content,
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
