:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #0d0d0f;
  --panel-soft: #151518;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f6f3eb;
  --muted: #a6a29a;
  --muted-2: #74706a;
  --accent: #d7b46a;
  --accent-strong: #f0c96f;
  --shadow: rgba(0, 0, 0, 0.5);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(215, 180, 106, 0.12), transparent 34rem),
    linear-gradient(180deg, #080808 0%, var(--bg) 42%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(215, 180, 106, 0.45);
  border-radius: 8px;
  background: rgba(215, 180, 106, 0.12);
  color: var(--accent-strong);
}

.nav {
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

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

.nav a:hover,
.footer a:hover {
  color: var(--text);
}

.header-action {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.header-action:hover {
  border-color: rgba(215, 180, 106, 0.55);
  background: rgba(215, 180, 106, 0.09);
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  align-items: center;
  gap: 64px;
  min-height: calc(100svh - 120px);
  padding-top: 48px;
}

.hero-content {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 28px;
  font-size: clamp(36px, 4.7vw, 68px);
  line-height: 1;
  font-weight: 780;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 1;
  font-weight: 760;
}

h3 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.16;
}

.hero-text,
.deep-copy p,
.final-cta > div > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.58;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #12100b;
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 520px;
}

.hero-screen,
.hero-phone,
.project-card,
.approach-card,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 28px 90px var(--shadow);
}

.hero-screen {
  overflow: hidden;
  min-height: 410px;
}

.screen-top {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.screen-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.screen-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 26px;
  padding: 34px;
}

.screen-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.line,
.pill {
  display: block;
  border-radius: 8px;
}

.line {
  height: 22px;
  background: rgba(255, 255, 255, 0.18);
}

.line.wide {
  width: 100%;
  height: 58px;
  background: rgba(246, 243, 235, 0.9);
}

.line.short {
  width: 62%;
}

.pill {
  width: 150px;
  height: 44px;
  margin-top: 18px;
  background: var(--accent);
}

.screen-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.screen-panel span {
  display: grid;
  place-items: center;
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent-strong);
  font-weight: 800;
}

.hero-phone {
  position: absolute;
  right: 20px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 172px;
  height: 310px;
  padding: 20px;
  background: #080808;
}

.hero-phone span {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 54px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
}

.hero-phone strong {
  color: var(--accent-strong);
  font-size: 42px;
  line-height: 1;
}

.hero-phone small {
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 44px;
}

.projects-grid {
  display: grid;
  gap: 22px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 28px;
  padding: 22px;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.project-card:hover {
  border-color: rgba(215, 180, 106, 0.48);
  transform: translateY(-3px);
}

.project-preview {
  position: relative;
  min-height: 360px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--project-rgb), 0.36), transparent 62%),
    #0a0a0b;
}

.desktop-mock {
  position: absolute;
  left: 18px;
  top: 26px;
  width: 78%;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #111114;
}

.mock-nav {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.mock-hero {
  padding: 28px 22px;
}

.mock-tag {
  color: rgb(var(--project-rgb));
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.mock-title {
  display: block;
  max-width: 82%;
  margin: 14px 0 18px;
  color: #fff;
  font-size: 25px;
  line-height: 1.06;
  font-weight: 800;
}

.mock-lines {
  display: grid;
  gap: 8px;
  max-width: 64%;
}

.mock-lines span {
  height: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
}

.mock-cta {
  width: 108px;
  height: 34px;
  margin-top: 20px;
  border-radius: 8px;
  background: rgb(var(--project-rgb));
}

.phone-mock {
  position: absolute;
  right: 18px;
  bottom: 20px;
  width: 132px;
  height: 248px;
  border: 6px solid #050505;
  border-radius: 28px;
  background: #151518;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.44);
  overflow: hidden;
}

.phone-mock::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 38px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.26);
  transform: translateX(-50%);
}

.phone-inner {
  display: grid;
  align-content: end;
  height: 100%;
  padding: 18px 12px;
  background: linear-gradient(160deg, rgba(var(--project-rgb), 0.32), transparent 70%);
}

.phone-inner strong {
  font-size: 16px;
  line-height: 1.08;
}

.phone-inner span {
  width: 70px;
  height: 28px;
  margin-top: 14px;
  border-radius: 8px;
  background: rgb(var(--project-rgb));
}

.project-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 8px 0;
}

.project-description {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.project-facts {
  display: grid;
  gap: 16px;
  margin: 20px 0 24px;
}

.fact {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.fact span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.fact p {
  margin: 0;
  color: var(--text);
  line-height: 1.45;
}

.project-link {
  align-self: flex-start;
  margin-top: auto;
  color: var(--accent-strong);
  font-weight: 800;
}

.deep-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: end;
}

.deep-metrics {
  display: grid;
  gap: 12px;
}

.deep-metrics div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.deep-metrics strong {
  color: var(--accent-strong);
}

.deep-metrics span {
  color: var(--muted);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.approach-card {
  min-height: 250px;
  padding: 24px;
  box-shadow: none;
}

.approach-card span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent-strong);
  font-weight: 800;
}

.approach-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 44px;
  align-items: start;
}

.cta-panel {
  padding: 28px;
}

.cta-panel ul {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.cta-panel li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  color: var(--text);
}

.consultation {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.footer {
  justify-content: space-between;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

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

  .hero,
  .project-card,
  .deep-section,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 40px;
    min-height: auto;
    padding-top: 64px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(366px, calc(100% - 24px));
    gap: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-action {
    padding: 10px 12px;
    font-size: 13px;
  }

  .section {
    width: min(366px, calc(100% - 24px));
    padding: 72px 0;
  }

  h1 {
    font-size: 34px;
    line-height: 1.06;
  }

  h2 {
    font-size: 34px;
  }

  .hero-text,
  .deep-copy p,
  .final-cta > div > p {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    overflow: hidden;
    min-height: 390px;
  }

  .screen-grid {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .screen-panel {
    display: none;
  }

  .hero-phone {
    right: 8px;
    width: 142px;
    height: 250px;
  }

  .project-card {
    padding: 14px;
  }

  .project-preview {
    min-height: 310px;
  }

  .desktop-mock {
    left: 10px;
    top: 18px;
    width: 82%;
    min-height: 230px;
  }

  .mock-title {
    font-size: 21px;
  }

  .phone-mock {
    right: 10px;
    width: 112px;
    height: 216px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

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

  .footer {
    width: min(366px, calc(100% - 24px));
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
