:root {
  --blue: #2b46e8;
  --blue-deep: #1d33b8;
  --paper: #fffdf4;
  --ink: #101013;
  --yellow: #ffd21e;
  --pink: #ff2d90;
  --muted: #5c5c66;
  --line: 3px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  --display: "Bricolage Grotesque", "Archivo", sans-serif;
  --body: "Archivo", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --dictionary: "Newsreader", Georgia, serif;
  --page: min(1200px, calc(100vw - 44px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--blue);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}

::selection { color: var(--ink); background: var(--yellow); }
a { color: inherit; }
img { max-width: 100%; }
button { font: inherit; }

:focus-visible {
  outline: 4px solid var(--pink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-250%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  padding: 13px max(22px, calc((100vw - 1200px) / 2));
  display: flex;
  align-items: center;
  gap: 30px;
  background: rgba(255, 253, 244, 0.97);
  border-bottom: var(--line);
}

.wordmark {
  width: max-content;
  padding: 2px 11px 2px 3px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  transition: color 120ms ease, background 120ms ease, transform 120ms ease;
}

.wordmark img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

.wordmark:hover,
.wordmark:focus-visible {
  color: var(--ink);
  background: var(--yellow);
  transform: rotate(-1deg);
}

.button {
  position: relative;
  width: max-content;
  min-height: 50px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--ink);
  background: var(--paper);
  border: var(--line);
  border-radius: 0;
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, color 120ms ease, background 120ms ease;
}

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

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

.button-small { min-height: 42px; padding: 10px 15px; font-size: 13px; }
.button-ink { color: var(--paper); background: var(--ink); }
.button-ink:hover, .button-ink:focus-visible { color: var(--ink); background: var(--yellow); }
.header-cta { margin-left: auto; }

.section-pad {
  width: var(--page);
  margin: 0 auto;
  padding: 108px 0;
}

.hero {
  min-height: 650px;
  padding-block: clamp(64px, 7vw, 86px) clamp(76px, 8vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 6vw, 84px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero h1 {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(72px, 8.2vw, 112px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.82;
  text-transform: uppercase;
}

.hero h1 span { display: block; }

.hero h1 span:first-child {
  position: relative;
  z-index: 1;
  text-shadow: 5px 5px 0 var(--ink);
}

.hero h1 span:nth-child(2) {
  width: max-content;
  margin: 0.12em 0 0 0.38em;
  color: var(--pink);
  text-shadow: 5px 5px 0 var(--ink);
}

.hero h1 span:last-child {
  width: max-content;
  margin-top: 0.12em;
  padding: 0.04em 0.12em 0.08em 0.07em;
  color: var(--ink);
  background: var(--yellow);
  border: var(--line);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(-1deg);
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button-yellow { background: var(--yellow); }

.definition-stage {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.definition-stage::before {
  content: "";
  position: absolute;
  top: -8%;
  right: -8%;
  z-index: 0;
  width: 70%;
  aspect-ratio: 1;
  background: var(--yellow);
  border: var(--line);
  border-radius: 50%;
  box-shadow: 8px 8px 0 var(--ink);
}

.definition-stage::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -3%;
  z-index: 1;
  width: 132px;
  height: 132px;
  background: var(--pink);
  border: var(--line);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(12deg);
}

.definition-card {
  position: relative;
  z-index: 2;
  width: min(100%, 490px);
  padding: clamp(27px, 3.2vw, 38px);
  background: var(--paper);
  border: var(--line);
  box-shadow: 11px 11px 0 var(--ink);
  transform: rotate(2deg);
  transition: transform 160ms ease;
}

.definition-card:hover { transform: rotate(0deg); }

.definition-word {
  padding-bottom: 20px;
  border-bottom: var(--line);
}

.definition-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.definition-word h2 {
  margin: 0;
  font-family: var(--dictionary);
  font-size: clamp(63px, 6.3vw, 84px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.definition-heading span {
  color: var(--pink);
  font-family: var(--dictionary);
  font-size: 20px;
  font-style: italic;
}

.definition-word p {
  margin: 18px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}

.definition-card ol {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: definition;
}

.definition-card li {
  position: relative;
  padding-left: 39px;
  counter-increment: definition;
  font-family: var(--dictionary);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.22;
}

.definition-card li::before {
  content: counter(definition) ".";
  position: absolute;
  top: 0.52em;
  left: 0;
  color: var(--pink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.definition-card li + li {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.definition-card li + li::before { top: calc(18px + 0.52em); }

.signal-divider {
  position: relative;
  width: 100%;
  height: 64px;
  overflow: hidden;
  background: transparent;
}

.signal-wave {
  width: 100%;
  height: 100%;
  padding: 6px 0;
  display: grid;
  grid-template-columns: repeat(120, minmax(1px, 1fr));
  align-items: center;
  gap: clamp(1px, 0.16vw, 3px);
}

.signal-wave span {
  width: 100%;
  height: var(--wave-height);
  display: block;
  background: var(--yellow);
  border-radius: 999px;
  transform-origin: center;
  animation: signal-bar-a var(--wave-speed) ease-in-out var(--wave-delay) infinite alternate;
  will-change: transform;
}

.signal-wave span:nth-child(3n + 2) { animation-name: signal-bar-b; }
.signal-wave span:nth-child(3n + 3) { animation-name: signal-bar-c; }

@keyframes signal-bar-a {
  0% { transform: scaleY(var(--wave-floor)); }
  34% { transform: scaleY(0.94); }
  61% { transform: scaleY(0.38); }
  100% { transform: scaleY(0.78); }
}

@keyframes signal-bar-b {
  0% { transform: scaleY(0.72); }
  29% { transform: scaleY(var(--wave-floor)); }
  68% { transform: scaleY(1); }
  100% { transform: scaleY(0.46); }
}

@keyframes signal-bar-c {
  0% { transform: scaleY(0.42); }
  23% { transform: scaleY(0.86); }
  52% { transform: scaleY(var(--wave-floor)); }
  77% { transform: scaleY(1); }
  100% { transform: scaleY(0.58); }
}

.method-heading,
.wall-heading { margin-bottom: 50px; }

.method h2,
.wall h2,
.badge-section h2 {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.wall-heading-simple h2 { white-space: nowrap; }

.method-heading-simple h2 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 0.2em;
}

.ydlc-expander {
  max-width: 100%;
  padding: 0;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: left;
}

.ydlc-word {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  transition: margin-right 260ms ease;
}

.ydlc-tail {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 360ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 180ms ease;
}

.ydlc-expander:hover .ydlc-word,
.ydlc-expander:focus-visible .ydlc-word,
.ydlc-expander[aria-expanded="true"] .ydlc-word {
  margin-right: 0.22em;
}

.ydlc-expander:hover .ydlc-word:last-child,
.ydlc-expander:focus-visible .ydlc-word:last-child,
.ydlc-expander[aria-expanded="true"] .ydlc-word:last-child {
  margin-right: 0;
}

.ydlc-expander:hover .ydlc-tail,
.ydlc-expander:focus-visible .ydlc-tail,
.ydlc-expander[aria-expanded="true"] .ydlc-tail {
  max-width: 10em;
  opacity: 1;
}

.method-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.method-step {
  min-height: 0;
  padding: 18px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  background: var(--paper);
  border: var(--line);
  box-shadow: var(--shadow);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.method-step:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--ink);
}

.method-arrow {
  position: absolute;
  top: 33%;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: var(--line);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
}

.method-arrow-1 {
  left: calc((100% - 48px) / 3 + 12px);
  transform: translate(-50%, -50%) rotate(-6deg);
}

.method-arrow-2 {
  left: calc((100% - 48px) / 3 * 2 + 36px);
  transform: translate(-50%, -50%) rotate(5deg);
}

.step-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: var(--line);
}

.step-num {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 8px;
  background: var(--paper);
  border: var(--line);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.step-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.step-copy {
  min-height: 144px;
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border: var(--line);
  text-align: center;
}

.step-yap .step-copy { background: var(--pink); }
.step-shape .step-copy { background: var(--yellow); }
.step-ship .step-copy { color: var(--paper); background: var(--ink); }

.step-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.82;
  text-transform: uppercase;
}

.step-copy p {
  margin: 15px 0 0;
  color: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.wall { padding-top: 118px; }

.project-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 26px;
}

.project-card {
  position: relative;
  min-height: 560px;
  border: var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.project-live,
.project-open { transition: transform 140ms ease, box-shadow 140ms ease; }

.project-live:hover,
.project-open:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--ink);
}

.project-live {
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr;
  gap: 18px;
  background: var(--paper);
}

.project-meta {
  grid-column: 1;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.project-mark {
  width: 240px;
  height: 240px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border: var(--line);
  border-radius: 50%;
  box-shadow: 7px 7px 0 var(--ink);
  transform: rotate(-7deg);
}

.project-mark img {
  width: 96%;
  height: 96%;
  display: block;
  object-fit: contain;
}

.project-stats {
  position: absolute;
  top: 76px;
  right: 28px;
  width: 238px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-stats li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 2px dotted var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-stats li span:last-child { color: var(--pink); }

.project-copy { align-self: end; padding-bottom: 18px; }

.project-copy h3,
.project-open h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.project-copy > p {
  max-width: 450px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 17px;
}

.project-link {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-underline-offset: 6px;
  text-transform: uppercase;
}

.project-link:hover { color: var(--blue); }

.project-tape {
  position: absolute;
  right: -52px;
  bottom: 33px;
  width: 250px;
  padding: 9px;
  background: var(--blue);
  color: var(--paper);
  border-block: var(--line);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  transform: rotate(-40deg);
}

.project-open {
  padding: 42px;
  display: flex;
  align-items: flex-end;
  background: var(--pink);
}

.project-open::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(var(--ink) 1px, transparent 1px), linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 28px 28px;
}

.open-cross {
  position: absolute;
  top: 2px;
  right: 24px;
  font-size: 170px;
  font-weight: 400;
  line-height: 0.8;
}

.open-copy { position: relative; z-index: 1; }

.open-copy > span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.open-copy h3 { max-width: 460px; margin-top: 15px; }
.open-copy p { max-width: 470px; margin: 20px 0 27px; font-size: 18px; font-weight: 700; }

.project-ghost {
  min-height: 190px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  color: var(--paper);
  background: transparent;
  border: 3px dashed rgba(255, 253, 244, 0.55);
  box-shadow: none;
}

.project-ghost span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.project-ghost p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
  opacity: 0.55;
}

.badge-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) 1.18fr;
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
}

.badge-preview {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  background: var(--pink);
  border: var(--line);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.badge-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(var(--ink) 1px, transparent 1px), linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 28px 28px;
}

.badge-card {
  position: relative;
  z-index: 1;
  padding: 34px 30px;
  background: var(--paper);
  border: var(--line);
  box-shadow: 7px 7px 0 var(--ink);
  transform: rotate(1deg);
}

.badge-card img { display: block; }

.badge-copy > p:not(.copy-status) {
  max-width: 540px;
  margin: 22px 0 26px;
  color: var(--paper);
  font-size: 20px;
  font-weight: 700;
}

.copy-toggle {
  display: flex;
}

.copy-format-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.copy-toggle label {
  padding: 9px 15px 8px;
  color: var(--ink);
  background: var(--paper);
  border: var(--line);
  border-bottom: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.copy-toggle label + .copy-format-input + label { border-left: 0; }

.copy-toggle label:hover { background: var(--pink); }
.copy-format-input:focus-visible + label {
  outline: 4px solid var(--pink);
  outline-offset: 4px;
}
.copy-format-input:checked + label { background: var(--yellow); }

.copy-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  background: var(--paper);
  border: var(--line);
  box-shadow: 5px 5px 0 var(--ink);
}

.copy-box code {
  padding: 16px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-snippet-markdown { display: none; }
.badge-copy:has(#badge-format-markdown:checked) .copy-snippet-html { display: none; }
.badge-copy:has(#badge-format-markdown:checked) .copy-snippet-markdown { display: block; }

.copy-box button {
  min-width: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--ink);
  background: var(--yellow);
  border: 0;
  border-left: var(--line);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.copy-box button:hover,
.copy-box button:focus-visible { background: var(--pink); }

.copy-status {
  min-height: 19px;
  margin: 10px 0 0;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.closing {
  min-height: 620px;
  padding: 90px max(22px, calc((100vw - 1200px) / 2));
  display: grid;
  grid-template-columns: 1fr 0.52fr;
  align-items: center;
  gap: 60px;
  color: var(--paper);
  background: var(--ink);
  border-top: var(--line);
  overflow: hidden;
}

.closing-copy { position: relative; z-index: 1; }

.closing h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(72px, 10vw, 142px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.8;
  text-transform: uppercase;
}

.closing h2 span { display: block; }

.closing h2 span:first-child {
  width: max-content;
  text-shadow: 5px 5px 0 var(--pink);
}

.closing h2 span:last-child {
  width: max-content;
  margin-top: 0.12em;
  padding: 0.04em 0.12em 0.08em 0.07em;
  color: var(--ink);
  background: var(--yellow);
  border: 4px solid var(--paper);
  box-shadow: 9px 9px 0 var(--pink);
  transform: rotate(-1deg);
}

.closing-cta {
  margin-top: 52px;
  min-height: 58px;
  padding: 17px 26px;
  border-color: var(--paper);
  box-shadow: 7px 7px 0 var(--pink);
  font-size: 16px;
}

.closing-cta:hover,
.closing-cta:focus-visible { box-shadow: 9px 9px 0 var(--pink); }
.closing-cta:active { box-shadow: 2px 2px 0 var(--pink); }

.closing-mark {
  position: relative;
  width: min(31vw, 380px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border: 5px solid var(--paper);
  border-radius: 50%;
  box-shadow: 13px 13px 0 var(--pink);
  transform: rotate(5deg);
}

.closing-mark img {
  width: 88%;
  height: 88%;
  display: block;
  object-fit: contain;
}

.site-footer {
  padding: 22px max(22px, calc((100vw - 1200px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  color: var(--paper);
  background: var(--ink);
  border-top: 1px solid rgba(255, 253, 244, 0.25);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wordmark-footer { font-size: 15px; }
.wordmark-footer img { width: 28px; height: 28px; }
.site-footer p { margin: 0; text-align: center; }

.footer-middle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-badge { display: block; transition: transform 140ms ease; }
.footer-badge img { display: block; }
.footer-badge:hover,
.footer-badge:focus-visible { transform: rotate(-2deg) scale(1.04); }

.site-footer > div:last-child { display: flex; justify-content: flex-end; gap: 24px; }
.site-footer a:not(.wordmark) { text-underline-offset: 4px; }
.site-footer a:not(.wordmark):hover { color: var(--yellow); }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.js [data-reveal-delay="1"] { transition-delay: 90ms; }
.js [data-reveal-delay="2"] { transition-delay: 180ms; }

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

@media (max-width: 1000px) {
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 66px;
  }

  .hero-copy { width: min(760px, 100%); }
  .definition-stage { min-height: 480px; }
  .definition-card { width: min(620px, calc(100% - 80px)); }
  .definition-stage::before { top: -7%; width: 360px; right: max(-3%, calc(50% - 390px)); }
  .definition-stage::after { right: max(-2%, calc(50% - 400px)); width: 112px; height: 112px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-arrow { display: none; }

  .method-step {
    min-height: 0;
    grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
    grid-template-rows: 1fr;
    gap: 24px;
  }

  .step-art { grid-column: 1; grid-row: 1; }
  .step-copy { grid-column: 2; grid-row: 1; min-height: 100%; }

  .project-grid { grid-template-columns: 1fr; }
  .badge-section { grid-template-columns: 1fr; }
  .badge-preview { max-width: 620px; width: 100%; }
}

@media (max-width: 720px) {
  :root {
    --page: min(100% - 28px, 1200px);
    --shadow: 6px 6px 0 var(--ink);
  }

  html { scroll-padding-top: 74px; }
  body { font-size: 16px; }

  .site-header {
    min-height: 66px;
    padding: 11px 14px;
    gap: 12px;
  }

  .wordmark { gap: 5px; padding-right: 8px; font-size: 15px; }
  .wordmark img { width: 29px; height: 29px; }
  .header-cta { min-height: 40px; padding: 9px 11px; gap: 8px; font-size: 11px; }
  .section-pad { padding: 72px 0; }

  .hero {
    padding-block: 52px 64px;
    gap: 38px;
  }

  .hero h1 { font-size: clamp(53px, 15vw, 72px); }
  .hero h1 span:nth-child(2) { margin-left: 0.24em; }
  .hero-actions { margin-top: 38px; gap: 12px; }

  .definition-stage {
    min-height: 370px;
    place-items: start center;
  }

  .definition-stage::before {
    top: -38px;
    right: -24px;
    width: 230px;
  }

  .definition-stage::after {
    right: -20px;
    bottom: -22px;
    width: 88px;
    height: 88px;
  }

  .definition-card {
    width: calc(100% - 18px);
    padding: 22px 20px 24px;
    box-shadow: 7px 7px 0 var(--ink);
    transform: rotate(1deg);
  }

  .definition-word { padding-bottom: 15px; }
  .definition-word h2 { font-size: clamp(52px, 14.5vw, 68px); }
  .definition-heading span { font-size: 17px; }
  .definition-word p { margin-top: 13px; }
  .definition-card ol { margin-top: 18px; }
  .definition-card li { padding-left: 31px; font-size: clamp(17px, 4.8vw, 20px); }
  .definition-card li + li { margin-top: 14px; padding-top: 14px; }
  .definition-card li + li::before { top: calc(14px + 0.52em); }
  .method h2,
  .wall h2,
  .badge-section h2 { font-size: clamp(40px, 13vw, 66px); }

  .method-heading-simple h2 { gap: 0 0.14em; }
  .ydlc-expander { row-gap: 0.02em; }
  .ydlc-expander:hover .ydlc-word,
  .ydlc-expander:focus-visible .ydlc-word,
  .ydlc-expander[aria-expanded="true"] .ydlc-word { margin-right: 0.16em; }

  .wall-heading-simple h2 { white-space: normal; }

  .method-grid { gap: 18px; }

  .method-step {
    padding: 18px 18px 23px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
  }

  .step-art,
  .step-copy { grid-column: 1; grid-row: auto; }

  .step-copy { min-height: 132px; }
  .step-copy h3 { font-size: clamp(58px, 18vw, 72px); }

  .project-card { min-height: 510px; }
  .project-ghost { min-height: 150px; }

  .project-live {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto 1fr;
    gap: 28px;
  }

  .project-meta { grid-column: 1; }

  .project-stats {
    position: static;
    width: 100%;
  }

  .project-mark {
    width: 180px;
    height: 180px;
  }

  .project-copy { padding-right: 20px; }
  .project-copy h3, .project-open h3 { font-size: clamp(38px, 13vw, 58px); }
  .project-open { padding: 28px 24px; }
  .open-cross { top: 3px; right: 17px; font-size: 132px; }

  .badge-preview { min-height: 300px; }
  .badge-card { padding: 27px 22px; }
  .copy-box { grid-template-columns: 1fr; }
  .copy-box button { min-height: 48px; border-top: var(--line); border-left: 0; }

  .closing {
    min-height: 580px;
    padding: 72px 22px 84px;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .closing h2 { font-size: clamp(60px, 18vw, 92px); }
  .closing-cta { margin-top: 40px; }
  .closing-mark { width: min(70vw, 310px); justify-self: center; }
  .site-footer {
    grid-template-columns: 1fr auto;
    padding: 22px;
  }

  .footer-middle {
    grid-column: 1 / -1;
    grid-row: 2;
    align-items: flex-start;
  }

  .site-footer p { text-align: left; }
  .site-footer > div:last-child { gap: 13px; }
}

@media (max-width: 420px) {
  .header-cta span { display: none; }
  .definition-card { padding-inline: 19px; }
  .project-tape { right: -69px; }
  .site-footer { display: flex; flex-wrap: wrap; }
  .footer-middle { width: 100%; order: 3; }
  .site-footer > div:last-child { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .signal-wave span {
    animation: none;
    transform: none;
  }

  .button,
  .wordmark,
  .definition-card,
  .method-step,
  .project-live,
  .project-open,
  .footer-badge,
  .js [data-reveal] { transition: none; }

  .js [data-reveal] { opacity: 1; transform: none; }
}
