:root {
  --yellow: oklch(0.87 0.17 95);
  --ink: oklch(0.21 0.05 305);
  --coral: oklch(0.68 0.2 35);
  --coral-deep: oklch(0.52 0.2 30);
  --cream: oklch(0.94 0.04 95);

  --font: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.25rem, 4vw, 3.5rem);

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, p {
  margin: 0;
}

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

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: var(--pad);
  padding-top: clamp(1rem, 2.5vw, 2rem);
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  font-stretch: 75%;
  letter-spacing: -0.03em;
}

.logo span {
  font-weight: 300;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px var(--ink);
  font-weight: 600;
  line-height: 1.2;
}

.status__dot {
  position: relative;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--coral);
}

.status__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--coral);
  animation: ping 2s var(--ease) infinite;
}

.hero__body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(1.5rem, 4vh, 3rem);
}

.title {
  font-size: clamp(4.25rem, min(16vw, 24svh), 15rem);
  font-weight: 800;
  font-stretch: 88%;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.line {
  display: block;
  padding-block: 0.04em;
  overflow: hidden;
}

.line > span {
  display: block;
  animation: rise 1.1s var(--ease) both;
  animation-delay: calc(var(--i) * 110ms + 150ms);
}

.line--2 { margin-left: clamp(1.25rem, 8vw, 9rem); }
.line--3 { margin-left: clamp(2.5rem, 16vw, 18rem); }

.title i {
  color: var(--coral);
  font-style: normal;
}

.stamp {
  position: absolute;
  right: clamp(0rem, 3vw, 4rem);
  bottom: clamp(0.5rem, 6vh, 4rem);
  width: clamp(8.5rem, 20vw, 17rem);
  color: var(--coral);
  transform: rotate(-10deg);
  animation: pop 1s var(--ease) 0.7s both;
}

.stamp text {
  fill: currentColor;
  font-family: var(--font);
  font-weight: 800;
}

.stamp__ring {
  transform-origin: 120px 120px;
  animation: spin 40s linear infinite;
}

.stamp__ring text {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.stamp__mark {
  font-size: 104px;
  font-stretch: 75%;
}

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 36rem) auto;
  justify-content: space-between;
  align-items: end;
  gap: 1.75rem 3rem;
  animation: fade 1s var(--ease) 0.6s both;
}

.lede {
  max-width: 34ch;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.45;
  font-weight: 500;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.35s var(--ease);
}

.btn span {
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover span {
  transform: translateY(3px);
}

/* ---------- Peek: the secret memo ---------- */

.peek {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
}

.peek__intro,
.peek__memo {
  padding: clamp(3rem, 8vw, 7rem) var(--pad);
}

.peek__intro {
  background: var(--ink);
  color: var(--cream);
}

.peek__intro h2 {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 800;
  font-stretch: 88%;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--yellow);
}

.peek__intro p {
  max-width: 32ch;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.45;
}

.peek__memo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--coral);
}

.memo {
  position: relative;
  width: 100%;
  max-width: 34rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--cream);
  box-shadow: 0.6rem 0.6rem 0 var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 2;
  transform: rotate(-1.5deg);
}

.memo p + p {
  margin-top: 0.5rem;
}

.memo .memo__head {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--ink);
  font-size: 0.8em;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.memo__stamp {
  position: absolute;
  top: -1.25rem;
  right: clamp(-1rem, -2vw, -0.5rem);
  padding: 0.15em 0.7em;
  border: 3px solid var(--coral-deep);
  border-radius: 6px;
  background: var(--cream);
  color: var(--coral-deep);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(9deg);
}

.redact {
  position: relative;
  display: inline-block;
  width: calc(var(--w) * 0.55em);
  height: 0.85em;
  border-radius: 3px;
  background: var(--ink);
  vertical-align: -0.1em;
  cursor: not-allowed;
}

.redact::after {
  content: attr(data-hint);
  position: absolute;
  bottom: calc(100% + 0.3em);
  left: 50%;
  padding: 0.1em 0.7em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  font-size: 0.6em;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.4em);
  transition: opacity 0.2s, transform 0.4s var(--ease);
}

.redact:hover {
  animation: nope 0.35s var(--ease);
}

.redact:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Footer ---------- */

.foot {
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--pad) 0;
  overflow: hidden;
}

.foot__note {
  font-weight: 600;
}

.foot__mark {
  margin-top: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: -0.14em;
  font-size: 29vw;
  font-weight: 800;
  font-stretch: 88%;
  line-height: 0.8;
  letter-spacing: -0.03em;
  white-space: nowrap;
  user-select: none;
}

/* ---------- Motion ---------- */

@keyframes rise {
  from { transform: translateY(105%); }
}

@keyframes fade {
  from { opacity: 0; transform: translateY(1rem); }
}

@keyframes pop {
  from { opacity: 0; transform: rotate(-40deg) scale(0.6); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes ping {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 0; transform: scale(3); }
}

@keyframes nope {
  25% { translate: -3px 0; }
  75% { translate: 3px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- Small screens ---------- */

@media (max-width: 720px) {
  .title {
    font-size: min(22vw, 24svh);
  }

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

  .cta .btn {
    width: 100%;
    justify-content: center;
  }
}
