:root {
  --ink: #16130f;
  --paper: #fff6e8;
  --cream: #f4dfbf;
  --acid: #dfff35;
  --flame: #ff4a24;
  --blue: #2148ff;
  --rose: #ff9ab8;
  --muted: #6d6254;
  --line: rgba(22, 19, 15, 0.16);
  --shadow: 0 24px 70px rgba(22, 19, 15, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 74, 36, 0.22), transparent 20rem),
    radial-gradient(circle at 14% 24%, rgba(33, 72, 255, 0.13), transparent 22rem),
    linear-gradient(135deg, #fff6e8 0%, #f1d7b2 100%);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(rgba(22, 19, 15, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 19, 15, 0.05) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 86%);
}

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

.soft-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
}

.background-words {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.background-words span {
  position: absolute;
  color: rgba(22, 19, 15, 0.07);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(5rem, 14vw, 14rem);
  letter-spacing: -0.1em;
  text-transform: uppercase;
}

.background-words span:nth-child(1) {
  top: 9%;
  right: -6%;
}

.background-words span:nth-child(2) {
  top: 42%;
  left: -7%;
}

.background-words span:nth-child(3) {
  right: 2%;
  bottom: 18%;
}

.background-words span:nth-child(4) {
  left: 14%;
  bottom: -5%;
}

.site-header,
.section-shell,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 246, 232, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.studio-points,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 0.8rem;
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: clamp(76px, 12vw, 140px) 0 clamp(70px, 10vw, 120px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
blockquote {
  font-family: "Archivo Black", sans-serif;
  line-height: 0.96;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(3.6rem, 8.4vw, 8rem);
}

.hero-text,
.section-intro,
.studio-body p,
.contact-card p {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  font-weight: 600;
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.ghost,
.button.inverse {
  background: var(--acid);
  color: var(--ink);
}

.hero-signal {
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 32px;
  background: rgba(255, 246, 232, 0.86);
  box-shadow: var(--shadow);
}

.signal-kicker {
  margin-bottom: 24px;
  color: var(--flame);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-signal ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-signal li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-signal li:last-child {
  border-bottom: 0;
}

.method-section,
.studio-section,
.formation-section,
.manifesto-section,
.contact-section {
  padding: clamp(76px, 10vw, 132px) 0;
}

.section-heading {
  max-width: 920px;
}

.section-heading h2,
.studio-copy h2,
.contact-card h2 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5.7vw, 5.2rem);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 54px;
}

.method-card {
  min-height: 320px;
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 30px;
  background: rgba(255, 246, 232, 0.84);
  box-shadow: var(--shadow);
}

.method-card:nth-child(1) {
  background: var(--acid);
}

.method-card:nth-child(2) {
  background: var(--rose);
}

.method-card:nth-child(3) {
  background: var(--ink);
  color: var(--paper);
}

.method-card span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 52px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.method-card h3 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.method-card p {
  margin-bottom: 0;
  color: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
  opacity: 0.82;
}

.studio-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
}

.studio-body {
  padding-top: 12px;
}

.studio-points {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.studio-points span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 246, 232, 0.72);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}

.formation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.formation-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 246, 232, 0.72);
}

.formation-card h3 {
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
}

.formation-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
}

blockquote {
  max-width: 1050px;
  margin: 0;
  padding: clamp(30px, 6vw, 64px);
  border: 2px solid var(--ink);
  border-radius: 36px;
  background: var(--blue);
  color: var(--paper);
  font-size: clamp(2.2rem, 6vw, 6rem);
  box-shadow: var(--shadow);
}

.contact-card {
  padding: clamp(34px, 6vw, 72px);
  border: 2px solid var(--ink);
  border-radius: 36px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.contact-card p {
  color: rgba(255, 246, 232, 0.78);
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0 46px;
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.94rem;
}

.reveal {
  transform: translateY(22px);
  opacity: 0;
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 960px) {
  .hero,
  .studio-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-signal {
    max-width: 620px;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .formation-grid {
    grid-template-columns: 1fr;
  }

  .method-card {
    min-height: auto;
  }

  .method-card span {
    margin-bottom: 40px;
  }
}

@media (max-width: 680px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    border-radius: 28px;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: clamp(3.1rem, 14vw, 5rem);
  }

  .hero {
    padding-top: 64px;
  }

  .button {
    width: 100%;
  }

  .hero-signal,
  .method-card,
  .contact-card,
  blockquote {
    border-radius: 26px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .nav-links {
    flex-wrap: wrap;
  }

  .nav-links a {
    padding: 9px 10px;
  }

  .background-words span {
    opacity: 0.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
