:root {
  --ink: #0b0b0a;
  --paper: #f5f3ee;
  --muted: #70716c;
  --line: rgba(11, 11, 10, .12);
  --dark: #090909;
  --white: #f7f7f4;
  --soft: #e9e6de;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4, .quote, .hero h1, .display {
  font-family: "Space Grotesk", sans-serif;
  text-wrap: balance;
  letter-spacing: -0.04em;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  padding: 0 4.8vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 243, 238, .78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(11, 11, 10, .08);
}

.logo {
  font: 600 24px/1 "Space Grotesk";
  letter-spacing: -.04em;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}

.nav a {
  opacity: .65;
  transition: opacity .25s;
}

.nav a:hover,
.nav a.active {
  opacity: 1;
}

.nav .pill {
  background: #111;
  color: #fff;
  padding: 11px 18px;
  border-radius: 999px;
  opacity: 1;
  font-weight: 500;
}

.menu {
  display: none;
  border: 0;
  background: none;
  font-size: 24px;
}

.page {
  padding-top: 78px;
}

.hero {
  min-height: 76svh;
  display: flex;
  align-items: flex-end;
  padding: 8vw 7vw 6vw;
}

.hero h1 {
  font-size: clamp(56px, 9.5vw, 140px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin: 0;
  max-width: 1200px;
}

.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.lead {
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.55;
  color: #5d5e5a;
  max-width: 720px;
}

.wrap {
  width: min(1220px, 88vw);
  margin: auto;
}

.section {
  padding: 8vw 0;
}

.dark {
  background: var(--dark);
  color: var(--white);
}

.dark .lead,
.dark .muted {
  color: #9c9d99;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  align-items: center;
}

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

.visual {
  border-radius: 24px;
  overflow: hidden;
}

.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rule {
  border-top: 1px solid var(--line);
}

.stat {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.stat b {
  font: 500 15px "Space Grotesk";
}

.quote {
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0;
}

.btn {
  display: inline-flex;
  padding: 13px 22px;
  border: 1px solid #111;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-top: 24px;
  transition: transform .3s var(--ease), background .3s, color .3s;
}

.btn:hover {
  background: #111;
  color: #fff;
  transform: translateY(-2px);
}

.dark .btn {
  border-color: #fff;
}

.dark .btn:hover {
  background: #fff;
  color: #111;
}

.category-section {
  background: #f7f5ef;
  padding: 7vw 0 8vw;
}

.category-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
  margin-bottom: 40px;
}

.category-head h2 {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0;
}

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

.category-card {
  min-height: 285px;
  border-radius: 20px;
  padding: 38px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .05);
}

.category-card h3 {
  font: 600 28px/1.1 "Space Grotesk";
  margin: 0;
  letter-spacing: -0.035em;
}

.category-card p {
  margin: 0;
  max-width: 320px;
  color: #5f605c;
  line-height: 1.5;
  font-size: 14px;
}

.c1 { background: #6f4e36; color: #fff; }
.c1 p { color: #eed; }
.c2 { background: #cfd8ee; }
.c3 { background: #e8e878; }
.c4 { background: #f5b467; }
.c5 { background: #aab99e; }
.c6 { background: #ece4d7; }

.category-foot {
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #777;
}

footer {
  background: #0b0b0b;
  color: #fff;
  padding: 70px 7vw 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}

.footer-brand {
  font: 600 26px "Space Grotesk";
  letter-spacing: -0.04em;
}

.footer-title {
  font: 600 11px "Space Grotesk";
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 18px;
}

.footer-links {
  display: grid;
  gap: 12px;
  font-size: 13px;
  color: #aaa;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 55px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #666;
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.cursor {
  position: fixed;
  z-index: 999;
  pointer-events: none;
  width: 30px;
  height: 30px;
  border: 1px solid #fff;
  background: #fff;
  border-radius: 50%;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%) scale(.7);
  opacity: 0;
}

.cursor:after {
  content: "✦";
  color: #000;
  font-size: 9px;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.cursor.big {
  transform: translate(-50%, -50%) scale(1.45);
}

@media (max-width: 800px) {
  .site-header {
    height: 68px;
    padding: 0 5vw;
  }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(245, 243, 238, .98);
    padding: 22px 5vw;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open {
    display: flex;
  }
  .menu {
    display: block;
  }
  .page {
    padding-top: 68px;
  }
  .hero {
    min-height: 62svh;
    padding: 16vw 6vw 10vw;
  }
  .hero h1 {
    font-size: clamp(48px, 14vw, 84px);
    line-height: 1.02;
    letter-spacing: -0.04em;
  }
  .wrap {
    width: 88vw;
  }
  .section {
    padding: 14vw 0;
  }
  .grid2, .grid3, .category-grid {
    grid-template-columns: 1fr;
  }
  .category-head {
    display: block;
  }
  .category-head .lead {
    margin-top: 18px;
  }
  .category-card {
    min-height: 210px;
    padding: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom span {
    display: block;
    margin-top: 8px;
  }
  .cursor {
    display: none;
  }
}
