:root {
  --bg: #0e0e0f;
  --surface: #17171a;
  --line: #2a2a2f;
  --text: #f2f0eb;
  --muted: #a3a19b;
  --accent: #ff5a1f;
  --accent-2: #ffb21f;
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, .brand { font-family: "Space Grotesk", Inter, sans-serif; letter-spacing: -0.02em; }

.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto; padding: 18px 20px;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 500; }
.brand b { color: var(--accent); font-weight: 700; }
.mark { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; }
.nav nav { display: flex; gap: 26px; align-items: center; font-size: 15px; color: var(--muted); }
.nav nav a:hover { color: var(--text); }
.nav-cta { color: var(--text) !important; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; }

main { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.hero { padding: 110px 0 120px; }
.eyebrow { color: var(--accent); font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(54px, 11vw, 132px); line-height: 0.95; font-weight: 700; }
.hero h1 span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { max-width: 560px; margin-top: 28px; font-size: 19px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  background: var(--accent); color: #111; font-weight: 500;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--accent-2); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--surface); }
.btn.big { font-size: clamp(18px, 3.4vw, 26px); padding: 18px 30px; margin-top: 26px; word-break: break-all; }

.section { padding: 90px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; margin-bottom: 40px; }

.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.card .num { color: var(--accent); font-family: "Space Grotesk", sans-serif; font-size: 14px; }
.card h3 { font-size: 24px; margin: 14px 0 10px; }
.card p { color: var(--muted); }

.work {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: flex; align-items: flex-end;
}
.work.w1 { background: radial-gradient(circle at 30% 30%, #ff5a1f 0, #3a1406 70%); }
.work.w2 { background: radial-gradient(circle at 70% 40%, #ffb21f 0, #3a2a06 70%); }
.work.w3 { background: radial-gradient(circle at 40% 70%, #6b7cff 0, #12163a 70%); }
.work.w4 { background: radial-gradient(circle at 60% 30%, #2fd6a0 0, #06302a 70%); }
.work figcaption {
  width: 100%; padding: 18px 22px; display: flex; justify-content: space-between; gap: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
}
.work figcaption span { color: #d8d6d0; font-size: 14px; }

.about p { max-width: 720px; font-size: 21px; color: var(--muted); }
.contact { text-align: center; }
.contact p { color: var(--muted); font-size: 19px; }

.footer {
  max-width: var(--max); margin: 0 auto; padding: 30px 20px 40px;
  display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 14px;
  border-top: 1px solid var(--line);
}
.footer a:hover { color: var(--text); }

@media (max-width: 820px) {
  .grid.three, .grid.two { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 80px; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .footer { flex-direction: column; }
}
