:root {
  --coral: #ff6b6b;
  --hot: #fa2e63;
  --peach: #ffab91;
  --amber: #ffb74d;
  --ink: #171417;
  --wall: #e8e2d8;
  --note: #fff6e8;
  --note-2: #ffe8dc;
  --note-3: #fff0c8;
  --muted: #5a534c;
  --line: #2a2420;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --hand: "Caveat", cursive;
  --body: "IBM Plex Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background: var(--wall);
  line-height: 1.45;
  overflow-x: hidden;
}

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

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

/* —— top bar —— */
.bar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 2px solid var(--line);
  background: rgba(232, 226, 216, 0.92);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.mark img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1.5px solid var(--line);
}

.bar nav {
  display: flex;
  gap: 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.bar nav a {
  border-bottom: 2px solid transparent;
}

.bar nav a:hover {
  border-bottom-color: var(--hot);
  color: var(--hot);
}

/* —— confession wall hero —— */
.wall {
  position: relative;
  min-height: min(92vh, 820px);
  padding: clamp(1.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  border-bottom: 2px solid var(--line);
  overflow: hidden;
}

.wall-grain {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 47px,
      rgba(42, 36, 32, 0.035) 47px,
      rgba(42, 36, 32, 0.035) 48px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 47px,
      rgba(42, 36, 32, 0.035) 47px,
      rgba(42, 36, 32, 0.035) 48px
    ),
    radial-gradient(ellipse at 20% 10%, rgba(250, 46, 99, 0.12), transparent 45%),
    radial-gradient(ellipse at 90% 80%, rgba(255, 183, 77, 0.16), transparent 40%);
  pointer-events: none;
}

.stamp {
  position: absolute;
  top: 1.4rem;
  right: clamp(1rem, 4vw, 2.5rem);
  width: 92px;
  height: 92px;
  border: 3px solid var(--hot);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  transform: rotate(12deg);
  color: var(--hot);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  line-height: 1.15;
  background: rgba(232, 226, 216, 0.55);
  z-index: 2;
}

.stamp img {
  position: absolute;
  width: 34px;
  height: 34px;
  top: 12px;
  border-radius: 50%;
  opacity: 0.95;
}

.stamp span {
  margin-top: 28px;
}

.mast {
  position: relative;
  z-index: 2;
  max-width: 34rem;
}

.kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.mast h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.6rem, 11vw, 7rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.mast h1 em {
  font-style: normal;
  color: var(--hot);
  -webkit-text-stroke: 0;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.08em;
  text-decoration-color: var(--amber);
}

.pitch {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--muted);
}

.cta {
  display: inline-block;
  margin-top: 1.6rem;
  padding: 0.85rem 1.15rem;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--hot);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--hot);
}

/* —— collage —— */
.collage {
  position: relative;
  z-index: 2;
  height: min(58vh, 480px);
  min-height: 340px;
}

.note {
  position: absolute;
  width: min(54%, 220px);
  padding: 1.1rem 1rem 0.85rem;
  background: var(--note);
  border: 1.5px solid rgba(42, 36, 32, 0.2);
  box-shadow: 4px 8px 0 rgba(42, 36, 32, 0.12);
}

.note p {
  margin: 0;
  font-family: var(--hand);
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 700;
}

.note small {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.tape {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 62px;
  height: 18px;
  transform: translateX(-50%) rotate(-4deg);
  opacity: 0.85;
}

.t-coral {
  background: rgba(250, 46, 99, 0.55);
}

.t-amber {
  background: rgba(255, 183, 77, 0.75);
}

.t-peach {
  background: rgba(255, 171, 145, 0.75);
}

.n1 {
  top: 6%;
  left: 2%;
  transform: rotate(-7deg);
  background: var(--note);
  z-index: 3;
}

.n2 {
  top: 8%;
  right: 4%;
  transform: rotate(6deg);
  background: var(--note-3);
  width: min(46%, 180px);
  z-index: 2;
}

.n3 {
  bottom: 18%;
  left: 10%;
  transform: rotate(3deg);
  background: var(--note-2);
  z-index: 4;
}

.n4 {
  bottom: 4%;
  right: 8%;
  transform: rotate(-4deg);
  width: min(50%, 200px);
  z-index: 3;
}

.polaroid {
  position: absolute;
  width: 108px;
  padding: 8px 8px 22px;
  background: #fff;
  border: 1.5px solid rgba(42, 36, 32, 0.25);
  box-shadow: 5px 7px 0 rgba(42, 36, 32, 0.14);
  z-index: 5;
}

.polaroid span {
  display: block;
  margin-top: 6px;
  font-family: var(--hand);
  font-size: 1rem;
  text-align: center;
  font-weight: 700;
}

.shot {
  aspect-ratio: 3 / 4;
}

.s-coral {
  background:
    linear-gradient(160deg, var(--hot) 0%, var(--coral) 48%, var(--peach) 100%);
}

.s-ink {
  background:
    linear-gradient(145deg, #2a2420 0%, #5a3a3a 50%, var(--amber) 100%);
}

.p1 {
  top: 38%;
  right: 18%;
  transform: rotate(8deg);
}

.p2 {
  bottom: 28%;
  left: -2%;
  transform: rotate(-11deg);
}

/* —— ticker —— */
.ticker {
  overflow: hidden;
  border-bottom: 2px solid var(--line);
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 0;
}

.ticker-track {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  animation: marquee 28s linear infinite;
}

.ticker-track span:nth-child(odd) {
  color: var(--amber);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* —— feature lanes —— */
.lanes {
  padding: clamp(2rem, 5vw, 3.5rem);
  background: #f3eee6;
  border-bottom: 2px solid var(--line);
}

.lanes-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
}

.lanes-head p {
  margin: 0.4rem 0 1.4rem;
  color: var(--muted);
  font-weight: 500;
}

.lane-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 2px solid var(--line);
}

.lane {
  padding: 1.2rem 1.1rem 1.4rem;
  border-right: 2px solid var(--line);
  background: #faf7f1;
  min-height: 190px;
}

.lane:last-child {
  border-right: 0;
}

.lane b {
  font-family: var(--display);
  font-size: 0.8rem;
  color: var(--hot);
  letter-spacing: 0.06em;
}

.lane h3 {
  margin: 0.55rem 0 0.45rem;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.lane p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.lane-hot {
  background: var(--hot);
  color: #fff;
}

.lane-hot b,
.lane-hot p {
  color: rgba(255, 255, 255, 0.82);
}

/* —— legal —— */
.legal-board {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  background: var(--note-2);
  border-bottom: 2px solid var(--line);
}

.legal-board h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.legal-board p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.legal-board ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 220px;
}

.legal-board a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  border-bottom: 2px solid var(--ink);
  display: inline-block;
  width: fit-content;
}

.legal-board a:hover {
  color: var(--hot);
  border-bottom-color: var(--hot);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding: 1.1rem clamp(1rem, 4vw, 2.5rem) 1.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--wall);
}

/* —— responsive —— */
@media (max-width: 960px) {
  .wall {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .collage {
    height: 360px;
    margin-top: 0.5rem;
  }

  .stamp {
    width: 76px;
    height: 76px;
    font-size: 0.52rem;
  }

  .stamp img {
    width: 26px;
    height: 26px;
  }

  .lane-row {
    grid-template-columns: 1fr 1fr;
  }

  .lane:nth-child(2) {
    border-right: 0;
  }

  .lane:nth-child(1),
  .lane:nth-child(2) {
    border-bottom: 2px solid var(--line);
  }
}

@media (max-width: 560px) {
  .bar nav a:first-child {
    display: none;
  }

  .collage {
    height: 320px;
  }

  .note {
    width: 48%;
  }

  .note p {
    font-size: 1.1rem;
  }

  .n2,
  .p2 {
    display: none;
  }

  .lane-row {
    grid-template-columns: 1fr;
  }

  .lane {
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .lane:last-child {
    border-bottom: 0;
  }

  .cta {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}
