:root {
  --yellow: #ffc928;
  --yellow-soft: #ffd84c;
  --ink: #070707;
  --panel: #111111;
  --panel-soft: #1a1a1a;
  --muted: #66604d;
  --line: rgba(0, 0, 0, 0.12);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 80px;
  padding: 0 7vw;
  background: rgba(255, 201, 40, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  line-height: 1;
}

.brand strong {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: 0;
}

.brand span {
  margin-top: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 600;
}

.nav a {
  position: relative;
  padding: 30px 0 24px;
}

.nav a.active::after,
.nav a:hover::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 4px;
  content: "";
  background: var(--ink);
  border-radius: 99px;
}

.talk-button,
.primary-action,
.secondary-action,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.talk-button {
  justify-self: end;
  color: var(--white);
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(360px, 1.16fr);
  gap: 64px;
  min-height: 640px;
  padding: 80px 7vw 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 32%, rgba(255, 255, 255, 0.22), transparent 25%),
    linear-gradient(120deg, var(--yellow-soft), var(--yellow) 56%, #f2ad09);
}

.hero::after {
  position: absolute;
  right: -90px;
  bottom: 12px;
  width: 360px;
  height: 360px;
  content: "";
  border: 42px solid rgba(0, 0, 0, 0.045);
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 540px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  text-transform: none;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  font-weight: 900;
}

.lead {
  max-width: 455px;
  margin: 26px 0 34px;
  color: #221f14;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
}

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

.primary-action {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.secondary-action {
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.device-wrap {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
}

.laptop {
  max-width: 720px;
  margin: 0 auto;
  filter: drop-shadow(0 36px 46px rgba(0, 0, 0, 0.36));
}

.screen {
  aspect-ratio: 16 / 10;
  padding: 34px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 38%, rgba(255, 201, 40, 0.18), transparent 26%),
    linear-gradient(135deg, #101010, #050505);
  border: 16px solid #050505;
  border-radius: 22px 22px 8px 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mini-header {
  display: grid;
  grid-template-columns: auto 1fr repeat(3, auto) auto;
  align-items: center;
  gap: 20px;
  font-size: 11px;
}

.mini-header button {
  padding: 9px 14px;
  color: var(--ink);
  font-weight: 800;
  background: var(--yellow);
  border: 0;
  border-radius: 7px;
}

.screen-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
  min-height: 330px;
}

.screen-content p {
  margin: 0 0 12px;
  color: #bfbfbf;
  font-size: 13px;
  font-weight: 700;
}

.screen-content h2 {
  max-width: 330px;
  margin: 0;
  font-size: clamp(28px, 3.1vw, 45px);
  line-height: 1.07;
}

.screen-content h2::first-line {
  color: var(--white);
}

.screen-content a {
  display: inline-flex;
  margin-top: 30px;
  padding: 12px 18px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  background: var(--yellow);
  border-radius: 7px;
}

.art-stack {
  position: relative;
  min-height: 270px;
}

.shape {
  position: absolute;
  display: block;
}

.ball {
  top: 26px;
  right: 86px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at 34% 26%, #303030, #020202 68%);
  border-radius: 50%;
}

.cube {
  right: 190px;
  bottom: 40px;
  width: 135px;
  height: 135px;
  background: linear-gradient(135deg, #bbb, #4e4e4e);
  transform: skewY(-8deg);
}

.block {
  right: 36px;
  bottom: 28px;
  width: 170px;
  height: 82px;
  background: linear-gradient(135deg, #ffdd4f, #d89400);
  transform: skewY(-8deg);
}

.keyboard {
  height: 28px;
  margin: 0 38px;
  background: linear-gradient(#1d1d1d, #080808);
  border-radius: 0 0 44px 44px;
}

.projects-section {
  padding: 64px 7vw 84px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 201, 40, 0.1), transparent 24%),
    #0b0b0b;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.section-kicker {
  color: var(--yellow);
  letter-spacing: 0.8px;
}

.section-head h2,
.services-section h2,
.about-section h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

.section-head p,
.services-section p,
.about-section p {
  max-width: 650px;
  margin: 14px 0 0;
  color: #b9b9b9;
  font-size: 17px;
  line-height: 1.7;
}

.outline-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  overflow: hidden;
  background: linear-gradient(180deg, #1b1b1b, #151515);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.project-preview {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  min-height: 220px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
}

.project-preview::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.58)),
    radial-gradient(circle at 80% 16%, rgba(255, 201, 40, 0.22), transparent 32%);
}

.project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.01);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.project-card:hover .project-preview img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.055);
}

.project-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 10px 13px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--yellow);
  border-radius: 7px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.project-info {
  padding: 22px 24px 24px;
}

.project-info h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.project-info p {
  margin: 0;
  color: #a9a9a9;
  font-size: 15px;
}

.services-section,
.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 1.15fr);
  gap: 44px;
  padding: 72px 7vw;
  color: var(--white);
  background: #101010;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: center;
}

.service-list span {
  min-height: 58px;
  padding: 19px 18px;
  color: #f5f5f5;
  font-weight: 800;
  background: #191919;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
}

.about-section {
  grid-template-columns: 1fr;
  background: var(--yellow);
  color: var(--ink);
}

.about-section .section-kicker,
.about-section p {
  color: #463b16;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 7vw;
  color: var(--white);
  background: #050505;
}

.footer div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer strong {
  font-size: 30px;
  font-weight: 500;
}

.footer span {
  color: #a8a8a8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy {
    max-width: 760px;
  }

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

@media (max-width: 720px) {
  .topbar {
    min-height: 72px;
    padding: 0 20px;
  }

  .brand strong {
    font-size: 27px;
  }

  .brand span {
    font-size: 8px;
  }

  .talk-button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 54px 20px 44px;
  }

  .hero h1 {
    font-size: 47px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action,
  .outline-button {
    width: 100%;
  }

  .screen {
    padding: 20px;
    border-width: 10px;
  }

  .mini-header small,
  .mini-header button {
    display: none;
  }

  .screen-content {
    grid-template-columns: 1fr;
    min-height: 280px;
  }

  .art-stack {
    display: none;
  }

  .projects-section,
  .services-section,
  .about-section {
    padding: 48px 20px;
  }

  .section-head,
  .services-section {
    display: block;
  }

  .outline-button {
    margin-top: 22px;
  }

  .projects-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    align-items: stretch;
    padding: 30px 20px;
  }
}
