:root {
  --ink: #0d0d0d;
  --paper: #f7f6f3;
  --stone: #cbc7bd;
  --stone-dark: #8f8b81;
  --line: rgba(13, 13, 13, 0.12);
  --cut: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  --cut-r: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
  --ease: cubic-bezier(0.22, 0.9, 0.32, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Space Grotesk",
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.display {
  font-family: "Anton", "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.92;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
ul {
  list-style: none;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

/* focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* ---------- NAV ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  transition:
    padding 0.35s var(--ease),
    background 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
header.scrolled {
  padding: 14px 32px;
  background: rgba(247, 246, 243, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark img {
  width: 34px;
  height: 34px;
  border-radius: 3px;
}
.brand-mark span {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 0.04em;
}

nav ul {
  display: flex;
  gap: 40px;
}
nav a {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 4px;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--ink);
  transition: width 0.3s var(--ease);
}
nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 32px 180px;
  clip-path: var(--cut);
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--stone);
}
.hero h1 {
  font-size: clamp(56px, 11vw, 168px);
  display: flex;
  flex-direction: column;
}
.hero h1 .line2 {
  padding-left: clamp(20px, 6vw, 90px);
  color: transparent;
  -webkit-text-stroke: 2px var(--paper);
}
.hero-sub {
  max-width: 520px;
  margin-top: 34px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--stone);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 34px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  clip-path: var(--cut);
  border: none;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease);
}
.btn:hover {
  transform: translateY(-3px);
}
.btn-ghost {
  background: transparent;
  color: var(--paper);
  padding: 0;
  clip-path: none;
  border-bottom: 1px solid var(--stone-dark);
  padding-bottom: 4px;
}
.btn-ghost:hover {
  border-color: var(--paper);
}

.hero-stamp {
  position: absolute;
  right: clamp(16px, 6vw, 90px);
  top: 150px;
  width: clamp(78px, 9vw, 128px);
  transform: rotate(9deg);
}
.hero-stamp img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.scroll-cue {
  position: absolute;
  bottom: 56px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone-dark);
}
.scroll-cue .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--paper);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------- MANIFESTO ---------- */
.manifesto {
  padding: 150px 32px 120px;
  background: var(--paper);
}
.manifesto .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.manifesto-label {
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--stone-dark);
  position: sticky;
  top: 120px;
}
.manifesto p {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.18;
  letter-spacing: 0.01em;
}
.manifesto p em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- CATEGORIES ---------- */
.categories {
  padding: 60px 32px 140px;
}
.cat-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 24px;
  flex-wrap: wrap;
}
.cat-head h2 {
  font-size: clamp(34px, 5vw, 60px);
}
.cat-head p {
  max-width: 320px;
  color: var(--stone-dark);
  font-size: 15px;
  line-height: 1.6;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--ink);
  border: 2px solid var(--ink);
}
.cat-card {
  background: var(--paper);
  padding: 44px 32px 36px;
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 0.45s var(--ease);
}
.cat-card:hover {
  background: var(--ink);
}
.cat-card:hover .cat-title,
.cat-card:hover .cat-desc {
  color: var(--paper);
}
.cat-card:hover .shirt path,
.cat-card:hover .shirt rect {
  stroke: var(--paper);
}
.cat-card:hover .shirt .fill {
  fill: var(--paper);
  opacity: 0.08;
}

.cat-index {
  position: absolute;
  top: 28px;
  left: 32px;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--stone-dark);
}
.shirt {
  position: absolute;
  top: 40px;
  right: -10px;
  width: 62%;
  height: auto;
  opacity: 0.9;
}
.shirt path {
  stroke: var(--ink);
  stroke-width: 2;
  fill: none;
  transition: stroke 0.45s var(--ease);
}
.shirt .fill {
  fill: var(--ink);
  opacity: 0.04;
  transition:
    fill 0.45s var(--ease),
    opacity 0.45s var(--ease);
}

.cat-title {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  font-size: 30px;
  margin-bottom: 10px;
  transition: color 0.45s var(--ease);
}
.cat-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--stone-dark);
  max-width: 280px;
  transition: color 0.45s var(--ease);
}
.cat-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid currentColor;
  clip-path: var(--cut-r);
  width: fit-content;
}

/* ---------- FEATURE / FABRIC ---------- */
.feature {
  background: var(--ink);
  color: var(--paper);
  padding: 140px 32px;
  position: relative;
  clip-path: var(--cut-r);
}
.feature .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-visual {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-visual img {
  width: 78%;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}
.feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--stone-dark);
  clip-path: var(--cut);
  opacity: 0.5;
}
.feature-text h2 {
  font-size: clamp(32px, 4.5vw, 54px);
  margin-bottom: 28px;
}
.feature-text > p {
  color: var(--stone);
  font-size: 16px;
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 44px;
}
.spec-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(247, 246, 243, 0.15);
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(247, 246, 243, 0.15);
  font-size: 14px;
}
.spec-list .k {
  color: var(--stone-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

/* ---------- CTA / NEWSLETTER ---------- */
.cta {
  padding: 150px 32px;
  text-align: center;
}
.cta h2 {
  font-size: clamp(38px, 7vw, 92px);
  max-width: 900px;
  margin: 0 auto 20px;
}
.cta > p {
  color: var(--stone-dark);
  max-width: 440px;
  margin: 0 auto 48px;
  font-size: 16px;
}
.cta-form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 14px;
}
.cta-form input {
  flex: 1;
  border: none;
  background: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  padding: 8px 4px;
  color: var(--ink);
}
.cta-form input::placeholder {
  color: var(--stone-dark);
}
.cta-form input:focus {
  outline: none;
}
.cta-form button {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.cta-form button:hover {
  text-decoration: underline;
}
.cta-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--stone-dark);
  letter-spacing: 0.04em;
  min-height: 16px;
}
.cta-note.success {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 32px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 70px;
  border-bottom: 1px solid rgba(247, 246, 243, 0.15);
}
.footer-brand img {
  width: 52px;
  margin-bottom: 20px;
  border-radius: 6px;
}
.footer-brand p {
  color: var(--stone-dark);
  font-size: 14px;
  max-width: 260px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col a {
  font-size: 14px;
  transition: opacity 0.25s;
}
.footer-col a:hover {
  opacity: 0.6;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 12px;
  color: var(--stone-dark);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .manifesto .wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .manifesto-label {
    position: static;
  }
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .feature .wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: 76%;
    max-width: 320px;
    background: var(--ink);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    padding: 100px 36px;
    z-index: 99;
  }
  nav.open {
    transform: translateX(0);
  }
  nav ul {
    flex-direction: column;
    gap: 28px;
  }
  nav a {
    color: var(--paper);
    font-size: 18px;
  }
  .nav-toggle {
    display: flex;
    z-index: 101;
  }
  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .hero-stamp {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cta-form {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    border-bottom: none;
  }
  .cta-form input {
    border-bottom: 2px solid var(--ink);
    padding-bottom: 14px;
  }
}
