:root {
  --orange: #f45b2a;
  --charcoal: #252a2c;
  --gray: #737373;
  --ink: #111315;
  --paper: #f4f1ec;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.14);
  --dark-line: rgba(17, 19, 21, 0.12);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 58px);
  color: #fff;
  background: rgba(17, 19, 21, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 5px;
}

nav {
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
}

nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
  gap: clamp(28px, 5vw, 80px);
  min-height: calc(100vh - 76px);
  padding: clamp(52px, 7vw, 104px) clamp(18px, 4vw, 58px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(244, 91, 42, 0.16), transparent 36%),
    radial-gradient(circle at 85% 18%, rgba(244, 91, 42, 0.34), transparent 26%),
    var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
  pointer-events: none;
}

.hero-mark {
  position: absolute;
  right: -8vw;
  bottom: -18vw;
  width: min(48vw, 760px);
  opacity: 0.08;
  filter: grayscale(1);
}

.hero-copy,
.command-room {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(52px, 7.8vw, 108px);
  line-height: 0.89;
  letter-spacing: -0.03em;
}

h2 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 900;
}

.hero-actions a:first-child {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 18px 42px rgba(244, 91, 42, 0.26);
}

.hero-actions a:last-child {
  color: #fff;
  border: 1px solid var(--line);
}

.command-room {
  align-self: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.room-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.room-top span,
.story-copy span,
.case-files span,
.system-grid span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.room-top button {
  min-height: 34px;
  padding: 7px 12px;
  color: #fff;
  background: var(--orange);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.room-screen {
  padding: 16px;
  background: #0a0c0e;
}

.room-screen img {
  width: 100%;
  height: 390px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}

.room-caption {
  padding: 24px;
}

.room-caption h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 46px);
}

.room-caption p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.55;
}

.system,
.proof-stage,
.cases {
  padding: clamp(62px, 8vw, 112px) clamp(18px, 4vw, 58px);
}

.section-title {
  max-width: 1160px;
  margin: 0 auto 34px;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1160px;
  margin: 0 auto;
  background: var(--dark-line);
  border: 1px solid var(--dark-line);
}

.system-grid article {
  min-height: 280px;
  padding: 28px;
  background: #fff;
}

.system-grid p,
.story-copy p,
.case-files p,
.brief p {
  color: #5f6366;
  line-height: 1.62;
}

.proof-stage {
  color: #fff;
  background: var(--charcoal);
}

.proof-stage .section-title h2 {
  color: #fff;
}

.story-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
}

.story-card {
  overflow: hidden;
  min-height: 520px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.story-wide {
  grid-column: span 7;
}

.cover-story {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f7f4ef;
}

.story-card:nth-child(3),
.revenue-card {
  grid-column: span 6;
}

.story-card > img {
  width: 100%;
  height: 330px;
  object-fit: contain;
  padding: 18px;
  background: #0d1012;
}

.story-copy {
  padding: 26px;
}

.book-stack {
  position: relative;
  min-height: 340px;
  margin: 24px 18px 0;
}

.book-stack img {
  position: absolute;
  width: 52%;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.18));
}

.book-stack img:nth-child(1) {
  left: 28%;
  top: 0;
  z-index: 3;
}

.book-stack img:nth-child(2) {
  left: 3%;
  top: 35px;
  transform: rotate(-7deg);
  z-index: 2;
}

.book-stack img:nth-child(3) {
  right: 0;
  top: 54px;
  transform: rotate(8deg);
  z-index: 1;
}

.revenue-card {
  position: relative;
}

.revenue-card > img {
  background: #fff;
}

.metric-ribbon {
  position: absolute;
  right: 18px;
  top: 18px;
  width: min(260px, calc(100% - 36px));
  padding: 16px;
  color: #fff;
  background: rgba(17, 19, 21, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.metric-ribbon b,
.metric-ribbon small {
  display: block;
}

.metric-ribbon b {
  margin-bottom: 8px;
  color: var(--orange);
}

.metric-ribbon small {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.cases {
  background: var(--paper);
}

.case-files {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
}

.case-files article {
  min-height: 420px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(17, 19, 21, 0.08);
}

.case-files strong {
  color: var(--ink);
}

.brief {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.45fr);
  align-items: center;
  gap: 24px;
  padding: clamp(62px, 8vw, 108px) clamp(18px, 4vw, 58px);
  color: #fff;
  background: var(--ink);
}

.brief h2 {
  color: #fff;
}

.brief p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.brief img {
  max-height: 300px;
  margin-inline: auto;
  padding: 22px;
  background: #fff;
  border-radius: 8px;
}

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

  .system-grid,
  .story-board,
  .case-files {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-wide,
  .cover-story,
  .story-card:nth-child(3),
  .revenue-card {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 48px;
  }

  .room-screen img {
    height: 260px;
  }

  .system-grid,
  .story-board,
  .case-files {
    grid-template-columns: 1fr;
  }

  .story-wide,
  .cover-story,
  .story-card:nth-child(3),
  .revenue-card {
    grid-column: span 1;
  }

  .story-card {
    min-height: auto;
  }
}
