:root {
  --bg: #080a0d;
  --panel: rgba(18, 22, 27, 0.82);
  --line: rgba(240, 240, 220, 0.15);
  --text: #f6f3ea;
  --muted: rgba(246, 243, 234, 0.68);
  --green: #7ff0b2;
  --amber: #ffc86b;
  --red: #ff6f61;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(8, 10, 13, 0.94), rgba(8, 10, 13, 1)),
    var(--bg);
}

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

button {
  cursor: pointer;
}

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

.hero-stage {
  position: relative;
  min-height: 100vh;
  padding: clamp(1.25rem, 3vw, 2.8rem);
  overflow: hidden;
  display: grid;
  align-items: stretch;
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 13, 0.94) 0%, rgba(8, 10, 13, 0.76) 42%, rgba(8, 10, 13, 0.3) 100%),
    url("../assets/hero-win.jpg") center center / cover no-repeat;
  transform: scale(1.04);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 13, 0.15), rgba(8, 10, 13, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 80px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  min-height: calc(100vh - 2.5rem);
  display: grid;
  grid-template-rows: auto 1fr;
}

.brand-block {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  justify-self: start;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line);
  background: rgba(12, 15, 19, 0.58);
  backdrop-filter: blur(10px);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  color: #07100c;
  background: linear-gradient(135deg, var(--green), var(--amber));
  font-family: "Outfit", sans-serif;
  font-weight: 800;
}

.brand-block strong,
.brand-block span {
  display: block;
}

.brand-block strong {
  font-family: "Outfit", sans-serif;
  letter-spacing: 0;
}

.brand-block div span {
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy {
  align-self: center;
  max-width: 48rem;
  padding-bottom: 5vh;
}

.eyebrow {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Outfit", sans-serif;
  letter-spacing: 0;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.92;
  max-width: 10.6ch;
}

h2 {
  margin-top: 0.9rem;
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
  line-height: 0.98;
  max-width: 11ch;
}

.lead {
  max-width: 39rem;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.hero-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.35rem;
  padding: 0.88rem 1.15rem;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(246, 243, 234, 0.06);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
  will-change: transform;
}

.button.primary {
  color: #07100c;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--amber));
}

.button:hover,
.button:focus-visible {
  transform: translate3d(0, -4px, 0);
}

.button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pipeline-section,
.contact-section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 3vw, 2.8rem);
}

.section-intro,
.stack-list,
.contact-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.stack-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.stack-card {
  position: sticky;
  top: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 0.25fr) minmax(0, 0.85fr) minmax(0, 1.2fr);
  gap: 1rem;
  align-items: center;
  min-height: 12rem;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(246, 243, 234, 0.08), rgba(246, 243, 234, 0.03));
  backdrop-filter: blur(10px);
}

.stack-card:nth-child(2) {
  top: 2.4rem;
}

.stack-card:nth-child(3) {
  top: 3.8rem;
}

.stack-card span {
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stack-card h3 {
  color: var(--text);
  font-size: clamp(1.5rem, 3vw, 3rem);
}

.stack-card p,
.contact-copy p,
label,
.form-note {
  color: var(--muted);
  line-height: 1.75;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.4rem);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(10px);
}

.contact-copy,
.contact-form {
  min-width: 0;
  padding: clamp(1.25rem, 2vw, 2rem);
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
}

.row.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.55rem;
}

label span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 1rem;
  color: var(--text);
  background: rgba(8, 10, 13, 0.72);
  outline: none;
}

textarea {
  min-height: 9.5rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(246, 243, 234, 0.38);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(127, 240, 178, 0.55);
  box-shadow: 0 0 0 4px rgba(127, 240, 178, 0.12);
}

.form-note {
  min-height: 1.5rem;
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 720ms ease, transform 720ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 900px) {
  .hero-inner,
  .contact-panel,
  .row.two,
  .stack-card {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: calc(100svh - 2.5rem);
  }

  .stack-card,
  .stack-card:nth-child(2),
  .stack-card:nth-child(3) {
    position: relative;
    top: auto;
  }
}
