:root {
  --void: #02050c;
  --blue: #2f7dff;
  --blue-soft: #79b4ff;
  --orange: #ff6a14;
  --orange-hot: #ff9a4a;
  --ice: #f3f7ff;
  --muted: #b7c7e4;
  --line: rgba(243, 247, 255, 0.14);
  --display: "Syne", system-ui, sans-serif;
  --body: "Karla", system-ui, sans-serif;
  --max: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ice);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  background: var(--void);
  overflow-x: hidden;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── Top bar ── */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem clamp(1.1rem, 4vw, 2.2rem);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.topbar.is-solid {
  background: rgba(2, 5, 12, 0.86);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.topbar-brand img {
  width: min(156px, 40vw);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
}

.topbar-link {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a0b03;
  padding: 0.6rem 1.1rem;
  border-radius: 10px;
  background: linear-gradient(120deg, var(--orange), var(--orange-hot));
  box-shadow: 0 10px 28px rgba(255, 106, 20, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topbar-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 106, 20, 0.45);
}

/* ── Hero: full-bleed brand plane ── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 1.25rem 4.5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.02);
  animation: hero- ken 12s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 5, 12, 0.35) 0%, transparent 28%, transparent 48%, rgba(2, 5, 12, 0.72) 72%, rgba(2, 5, 12, 0.96) 100%);
}

.hero-content {
  width: min(640px, 100%);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.15rem;
  animation: fade-up 0.9s ease 0.15s both;
}

.hero-line {
  margin: 0;
  max-width: 28ch;
  color: var(--ice);
  font-size: clamp(1.2rem, 2.7vw, 1.5rem);
  font-weight: 500;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  border: none;
  color: #1a0b03;
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-hot) 55%, #ffc28a 100%);
  background-size: 160% 100%;
  box-shadow: 0 16px 40px rgba(255, 106, 20, 0.42);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
}

.btn-secondary {
  border: 1px solid rgba(243, 247, 255, 0.45);
  color: var(--ice);
  background: rgba(2, 5, 12, 0.35);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--blue-soft);
  background: rgba(47, 125, 255, 0.22);
}

/* ── Ticker ── */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 106, 20, 0.08), rgba(47, 125, 255, 0.1), rgba(255, 106, 20, 0.08));
  padding: 0.95rem 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: ticker 28s linear infinite;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.ticker-track span::after {
  content: "↗";
  margin-left: 2.5rem;
  color: var(--orange);
}

/* ── Services ── */
.services {
  width: min(var(--max), calc(100% - 2.2rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 7rem) 0 1.5rem;
}

.section-intro {
  max-width: 14ch;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.section-intro h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.runway {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.runway-item {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 1rem 1.4rem;
  align-items: center;
  padding: clamp(1.45rem, 3vw, 2.1rem) 0.2rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--i) * 70ms);
}

.runway-item.is-in {
  opacity: 1;
  transform: none;
}

.runway-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 106, 20, 0.16), rgba(47, 125, 255, 0.08), transparent 72%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}

.runway-item:hover::before {
  transform: scaleX(1);
}

.runway-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-soft);
  letter-spacing: 0.08em;
}

.runway-copy h3 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.5vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.runway-copy p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
}

.runway-icon {
  width: 52px;
  height: 52px;
  color: var(--orange);
  opacity: 0.85;
  transition: transform 0.3s ease, color 0.3s ease;
}

.runway-item:hover .runway-icon {
  transform: translate(4px, -4px);
  color: var(--blue-soft);
}

/* ── Proof ── */
.proof {
  width: min(var(--max), calc(100% - 2.2rem));
  margin: 0 auto;
  padding: 2rem 0 clamp(4rem, 8vw, 5.5rem);
}

.proof-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(22, 42, 84, 0.75), rgba(8, 14, 28, 0.95));
}

.proof-step {
  display: grid;
  gap: 0.25rem;
  padding: 1.35rem 1.15rem;
  border-right: 1px solid var(--line);
}

.proof-step:last-child {
  border-right: none;
}

.proof-step strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
}

.proof-step span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Contact ── */
.contact {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background:
    radial-gradient(ellipse 55% 70% at 100% 30%, rgba(255, 106, 20, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 80%, rgba(47, 125, 255, 0.18), transparent 50%);
  border-top: 1px solid var(--line);
}

.contact-grid {
  width: min(var(--max), calc(100% - 2.2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-lede {
  margin: 1rem 0 1.4rem;
  color: var(--muted);
  max-width: 28ch;
}

.mail-link {
  font-family: var(--display);
  font-weight: 700;
  color: var(--blue-soft);
  border-bottom: 1px solid rgba(121, 180, 255, 0.5);
}

.mail-link:hover {
  color: var(--orange-hot);
  border-color: rgba(255, 154, 74, 0.65);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(121, 180, 255, 0.28);
  background: linear-gradient(165deg, rgba(18, 36, 72, 0.72), rgba(6, 12, 24, 0.92));
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form label span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.span-2 {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 0.95rem;
  border-radius: 11px;
  border: 1px solid rgba(243, 247, 255, 0.16);
  background: rgba(2, 5, 12, 0.72);
  color: var(--ice);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 20, 0.2);
}

.contact-form .btn-primary {
  width: 100%;
  margin-top: 0.15rem;
}

.contact-form .btn-primary:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.form-status {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 11px;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-status.is-success {
  background: rgba(47, 125, 255, 0.18);
  border: 1px solid rgba(121, 180, 255, 0.45);
  color: var(--ice);
}

.form-status.is-error {
  background: rgba(255, 106, 20, 0.14);
  border: 1px solid rgba(255, 106, 20, 0.45);
  color: var(--orange-hot);
}

.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 2.4rem 1.2rem 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer img {
  width: 128px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes hero-ken {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(0, -1.5%, 0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

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

  .proof-rail {
    grid-template-columns: 1fr 1fr;
  }

  .proof-step:nth-child(2) {
    border-right: none;
  }

  .proof-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 700px) {
  .hero {
    padding-bottom: 3.5rem;
  }

  .runway-item {
    grid-template-columns: 3rem 1fr;
  }

  .runway-icon {
    display: none;
  }

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

  .proof-rail {
    grid-template-columns: 1fr;
  }

  .proof-step {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .proof-step:last-child {
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-content,
  .ticker-track,
  .runway-item {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
