:root {
  --bg: #030303;
  --bg-soft: #080808;
  --panel: #161616;
  --panel-strong: #1c1c1c;
  --line: #2c2c2c;
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f6f6f3;
  --muted: #aeb4bd;
  --dim: #757982;
  --orange: #ffa800;
  --orange-soft: #f2b24e;
  --red-shadow: #30050e;
  --max: 1580px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(var(--bg), var(--bg));
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

body::selection {
  background: var(--orange);
  color: #050505;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 0 clamp(24px, 8.5vw, 180px);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(1.55rem, 2.15vw, 2.45rem);
  line-height: 0.95;
  text-transform: uppercase;
  white-space: nowrap;
  color: #afafaf;
}

.main-nav {
  display: flex;
  gap: clamp(24px, 2.5vw, 44px);
  color: #9d9da3;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav a,
.footer-grid a {
  transition: color 180ms ease;
}

.main-nav a:hover,
.footer-grid a:hover {
  color: var(--orange);
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  background: var(--orange);
  color: #050505;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.nav-cta:hover,
.btn.primary:hover {
  background: #ffc15a;
  transform: translateY(-2px);
}

.section-frame {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-inline: clamp(22px, 8.5vw, 180px);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  border-bottom: 1px solid #111;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(transparent, #030303);
  pointer-events: none;
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 63% 30%, rgba(98, 9, 28, 0.58), transparent 24%),
    radial-gradient(circle at 77% 50%, rgba(19, 0, 35, 0.95), transparent 31%),
    linear-gradient(90deg, #030303 0 25%, rgba(0, 0, 0, 0.35) 55%, #030303 100%);
}

.portrait-shape {
  position: absolute;
  top: -9%;
  right: 4%;
  width: min(53vw, 820px);
  aspect-ratio: 0.7;
  border-radius: 46% 44% 38% 42%;
  background:
    radial-gradient(circle at 34% 38%, #050505 0 11%, transparent 12%),
    radial-gradient(circle at 58% 37%, #060606 0 10%, transparent 11%),
    radial-gradient(circle at 49% 49%, rgba(255, 98, 54, 0.16), transparent 16%),
    linear-gradient(103deg, #080305 0 24%, #2a0710 43%, #15040a 68%, #05020a 100%);
  box-shadow: inset 220px 0 130px #020202, inset -120px 0 120px #030009;
  opacity: 0.84;
}

.portrait-shape::before,
.portrait-shape::after {
  content: "";
  position: absolute;
  top: 35%;
  width: 33%;
  height: 12%;
  border: clamp(10px, 1.2vw, 18px) solid rgba(0, 0, 0, 0.76);
  border-radius: 26px;
  background: rgba(0, 0, 0, 0.28);
}

.portrait-shape::before {
  left: 18%;
}

.portrait-shape::after {
  right: 12%;
}

.scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.28;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  gap: clamp(40px, 5vw, 90px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding-block: 96px;
}

.hero-content {
  max-width: 860px;
}

.tag,
.section-kicker {
  margin: 0;
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  color: #c9c9ce;
}

.tag::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--orange);
}

.hero h1,
.section-heading h2,
.split-heading h2,
.product h2,
.vision h2,
.contact h2 {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  line-height: 0.96;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(3.6rem, 5.9vw, 7.6rem);
  letter-spacing: 0;
}

.hero h1::first-line {
  color: var(--text);
}

.hero h1 {
  color: var(--orange-soft);
}

.hero-copy,
.section-heading > p,
.split-heading p,
.product-panel p,
.contact-copy p,
.footer-grid p,
.services-grid p,
.phase-grid p,
.outcome-grid p,
.workflow-board p {
  color: var(--muted);
  font-size: clamp(0.95rem, 0.92vw, 1.04rem);
  line-height: 1.62;
}

.hero-copy {
  max-width: 760px;
  margin: 34px 0 44px;
  font-size: clamp(1rem, 1.08vw, 1.2rem);
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border 180ms ease, color 180ms ease, transform 180ms ease, background 180ms ease;
}

.btn.primary {
  border-color: var(--orange);
  background: var(--orange);
  color: #050505;
}

.btn.ghost {
  background: rgba(0, 0, 0, 0.34);
}

.btn.ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1px;
  max-width: 720px;
  margin-top: 54px;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-metrics div {
  padding: 22px;
  background: rgba(11, 11, 11, 0.86);
}

.hero-metrics strong {
  display: block;
  color: var(--orange);
  font-family: Anton, Impact, sans-serif;
  font-size: 1.95rem;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console {
  align-self: center;
  border: 1px solid var(--line);
  background: rgba(20, 20, 22, 0.88);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.console-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  color: #9d9da3;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-top i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  background: var(--orange);
}

.script-preview {
  padding: 34px 30px 26px;
  font-family: "IBM Plex Mono", monospace;
}

.script-preview h2 {
  margin: 0 0 22px;
  color: var(--orange-soft);
  font-size: 1rem;
}

.script-preview p {
  margin: 0;
  color: #ececec;
  font-weight: 700;
  line-height: 1.62;
}

.dialogue {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-top: 28px;
  color: #ececec;
  text-align: center;
}

.dialogue em {
  color: #9d9da3;
  font-style: italic;
}

.breakdown {
  margin: 10px 30px 0;
  padding: 24px 0 28px;
  border-top: 1px dashed var(--line);
}

.breakdown h3 {
  margin: 0 0 16px;
  color: #a7a7ad;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 34px;
  margin: 0;
}

dt,
dd {
  display: inline;
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
}

dt {
  color: var(--dim);
}

dd {
  color: #ededed;
  font-weight: 700;
}

dd::before {
  content: ": ";
  color: var(--dim);
  font-weight: 400;
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.shot-row span {
  padding: 16px;
  border-right: 1px solid var(--line);
  color: #aeb4bd;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  text-align: center;
  text-transform: uppercase;
}

.shot-row span:last-child {
  border-right: 0;
}

.outcomes {
  background: #080808;
  border-bottom: 1px solid var(--line);
}

.filmstrip {
  height: 36px;
  border-block: 1px solid #171717;
  background-image: repeating-linear-gradient(90deg, transparent 0 30px, rgba(255, 168, 0, 0.32) 31px 58px, transparent 59px 68px);
  opacity: 0.55;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  padding-block: 0;
}

.outcome-grid article {
  min-height: 190px;
  padding: 34px 30px;
  background: #090909;
}

.outcome-grid span,
.services-grid b {
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
}

.outcome-grid h3 {
  margin: 34px 0 10px;
  font-size: 1.25rem;
}

.outcome-grid p {
  margin: 0;
}

.workflow,
.services,
.product,
.vision,
.contact {
  padding-block: clamp(82px, 9vw, 140px);
}

.split-heading,
.section-heading,
.product-panel,
.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(42px, 6vw, 90px);
  align-items: start;
}

.split-heading {
  margin-top: 24px;
  margin-bottom: 58px;
}

.split-heading h2,
.section-heading h2,
.product h2,
.vision h2,
.contact h2 {
  font-size: clamp(2.75rem, 3.8vw, 5rem);
}

.workflow-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.workflow-board article {
  min-height: 286px;
  padding: 34px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 168, 0, 0.035), transparent 45%),
    #101010;
}

.workflow-board article:last-child {
  border-right: 0;
}

.workflow-board b {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-board h3,
.services-grid h3,
.phase-grid h3,
.product-stack strong {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.workflow-board h3 {
  font-size: 1.42rem;
}

.workflow-board p {
  margin: 18px 0 0;
}

.services {
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 66px;
}

.section-heading .section-kicker {
  margin-bottom: 24px;
}

.section-heading > p {
  margin: 60px 0 0;
  max-width: 620px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.services-grid article,
.phase-grid article {
  position: relative;
  min-height: 238px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.services-grid article:hover,
.phase-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 168, 0, 0.7);
  background: var(--panel-strong);
}

.services-grid article.active,
.phase-grid article.current {
  border-color: var(--orange);
}

.services-grid span {
  position: absolute;
  top: 30px;
  right: 30px;
  color: rgba(255, 168, 0, 0.72);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 800;
}

.services-grid h3 {
  margin-top: 42px;
  font-size: 1.05rem;
}

.services-grid p {
  margin: 18px 0 0;
  font-size: 0.98rem;
}

.product {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-panel {
  padding: clamp(34px, 5vw, 70px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 168, 0, 0.08), transparent 24%),
    linear-gradient(135deg, #111 0%, #080808 100%);
}

.product-panel .section-kicker {
  margin-bottom: 22px;
}

.product-panel p {
  max-width: 650px;
  margin: 28px 0 0;
}

.product-stack {
  display: grid;
  gap: 16px;
}

.product-stack article {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.38);
}

.product-stack span {
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-stack strong {
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.15;
}

.vision {
  text-align: center;
}

.vision .section-kicker {
  margin-bottom: 24px;
}

.vision h2 {
  max-width: 980px;
  margin: 0 auto 70px;
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: left;
}

.phase-grid span {
  display: block;
  margin-bottom: 20px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.phase-grid strong {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font-family: Anton, Impact, sans-serif;
  font-size: 1.65rem;
  font-weight: 400;
}

.phase-grid b {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 7px 13px;
  background: var(--orange);
  color: #050505;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phase-grid h3 {
  font-family: Inter, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.phase-grid p {
  margin: 16px 0 0;
}

blockquote {
  margin: 60px 0 0;
  color: #c5cad1;
  font-size: clamp(1.15rem, 1.45vw, 1.55rem);
  font-style: italic;
}

.contact {
  border-top: 1px solid var(--line);
}

.contact-copy .section-kicker {
  margin-bottom: 24px;
}

.contact-copy p {
  max-width: 570px;
  margin: 28px 0 0;
  font-size: 1.04rem;
}

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

label {
  display: grid;
  gap: 10px;
  color: #bdc6d0;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

em {
  color: var(--orange);
  font-style: normal;
}

input,
textarea,
select {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #121212;
  color: var(--text);
  font: 1rem Inter, Arial, sans-serif;
  padding: 17px 19px;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--orange);
  background: #171717;
}

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

.wide,
.contact-form .btn {
  grid-column: 1 / -1;
}

.contact-form .btn {
  width: max-content;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050505;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: 60px;
  padding: 64px clamp(22px, 8.5vw, 180px);
}

.footer-grid h3 {
  margin: 0 0 18px;
  color: var(--orange);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid a:not(.brand):not(.btn) {
  display: block;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.98rem;
}

.footer-grid .btn {
  min-width: 170px;
  min-height: 46px;
  margin-top: 8px;
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(22px, 8.5vw, 180px) 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-bottom strong {
  color: var(--orange);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 20px;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-bottom: 16px;
  }

  .nav-cta {
    grid-column: 2;
  }

  .hero-grid,
  .split-heading,
  .section-heading,
  .product-panel,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .console {
    max-width: 780px;
  }

  .workflow-board,
  .services-grid,
  .phase-grid,
  .outcome-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: auto;
    padding-block: 18px 0;
  }

  .brand {
    font-size: 1.6rem;
  }

  .main-nav {
    gap: 18px;
    overflow-x: auto;
    font-size: 0.8rem;
  }

  .nav-cta {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 0.72rem;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 74px 80px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 12vw, 4.6rem);
  }

  .tag,
  .section-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
  }

  .hero-metrics,
  .workflow-board,
  .services-grid,
  .phase-grid,
  .outcome-grid,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .workflow-board article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-board article:last-child {
    border-bottom: 0;
  }

  .console {
    display: none;
  }

  .portrait-shape {
    right: -44%;
    width: 120vw;
    opacity: 0.52;
  }

  .btn,
  .contact-form .btn {
    width: 100%;
  }

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