:root {
  --bg: #0c0c0d;
  --bg-soft: #141416;
  --ink: #f4f4f3;
  --ink-soft: #a8a8a6;
  --ink-faint: #6b6b69;
  --line: #2a2a2c;
  --grey: #8a8a88;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .nav, .footer { position: relative; z-index: 1; }

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

/* ---------- Brand mark: a half-filled circle (black/white = grey) ---------- */
.brand__mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: linear-gradient(90deg, var(--ink) 0 50%, transparent 50% 100%);
  display: inline-block;
}
.brand__mark--sm { width: 16px; height: 16px; border-width: 1.2px; }

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 32px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 18px;
}
.nav__links { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.nav__links a { color: var(--ink-soft); transition: color 0.25s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--ink) !important;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav__cta:hover { background: var(--ink); color: var(--bg) !important; border-color: var(--ink); }

/* ---------- Layout sections ---------- */
section { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 48px;
}
.section-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}
.section-head h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
}

/* ---------- Hero ---------- */
.hero { padding-top: 90px; padding-bottom: 120px; }
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 28px;
}
.hero__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(42px, 8.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}
.bw {
  position: relative;
  background: linear-gradient(90deg, #ffffff, #8a8a88);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grey { color: var(--grey); }
.hero__lead {
  max-width: 600px;
  font-size: clamp(17px, 2vw, 21px);
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scale {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  height: 6px;
  margin-top: 96px;
  border-radius: 999px;
  overflow: hidden;
}
.hero__scale span { display: block; }
.hero__scale span:nth-child(1) { background: #050505; }
.hero__scale span:nth-child(2) { background: #1c1c1d; }
.hero__scale span:nth-child(3) { background: #303032; }
.hero__scale span:nth-child(4) { background: #454547; }
.hero__scale span:nth-child(5) { background: #5c5c5d; }
.hero__scale span:nth-child(6) { background: #757574; }
.hero__scale span:nth-child(7) { background: #8f8f8d; }
.hero__scale span:nth-child(8) { background: #aeaeac; }
.hero__scale span:nth-child(9) { background: #d2d2d0; }
.hero__scale span:nth-child(10) { background: #f4f4f3; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: #ffffff; }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

/* ---------- Approach ---------- */
.approach { padding: 100px 32px; }
.approach__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.approach__quote {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.approach__body p { color: var(--ink-soft); font-size: 18px; margin-bottom: 20px; }
.approach__body p:last-child { margin-bottom: 0; }

/* ---------- Work / cards ---------- */
.work { padding: 100px 32px; }
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.card {
  background: var(--bg);
  padding: 44px 40px;
  transition: background 0.3s var(--ease);
}
.card:hover { background: var(--bg-soft); }
.card--wide { grid-column: 1 / -1; }
.card__index {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}
.card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 16px 0 12px;
}
.card p { color: var(--ink-soft); font-size: 16px; max-width: 36ch; }

/* ---------- Manifesto strip ---------- */
.manifesto {
  max-width: var(--max);
  margin: 60px auto;
  padding: 80px 32px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.manifesto p {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 4vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* ---------- Contact ---------- */
.contact { padding: 100px 32px 120px; text-align: center; }
.contact .section-head { justify-content: center; }
.contact__lead { color: var(--ink-soft); font-size: 20px; margin-bottom: 32px; }
.contact__mail {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 5vw, 56px);
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ffffff, #8a8a88);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 40px;
  transition: opacity 0.25s var(--ease);
}
.contact__mail:hover { opacity: 0.75; }
.contact__actions { display: flex; justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 32px 56px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 14px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav { padding: 22px 22px; }
  .nav__links { gap: 18px; font-size: 14px; }
  .nav__links a:not(.nav__cta) { display: none; }
  section { padding-left: 22px; padding-right: 22px; }
  .approach, .work, .contact, .manifesto { padding-left: 22px; padding-right: 22px; }
  .approach__grid { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; padding-bottom: 80px; }
  .hero__scale { margin-top: 64px; }
}
