/* Jo + Marisol, Brooklyn roof. Risograph zine one-pager. Edit :root to restyle. */
:root {
  --pink: #FF48B0;
  --blue: #0078BF;
  --paper: #F4F1EA;
  --paper-2: #FFFFFF;
  --ink: #1B2A4E;
  --violet: #5B3F9E;

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --hand: "Gaegu", "Comic Sans MS", cursive;
  --gutter: clamp(1rem, 4.5vw, 3.5rem);
  --ease: cubic-bezier(.3, 1.3, .5, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.55 var(--display); font-variation-settings: "wdth" 100; color: var(--ink); background: var(--paper); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body::after { content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); mix-blend-mode: multiply; opacity: .5; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
a { color: inherit; }
.defs { position: absolute; }
main { overflow-x: clip; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

/* ---------- Riso photo: one spot ink, screened ---------- */
.riso { --ink-c: var(--blue); position: relative; margin: 0; overflow: hidden; background: var(--ink-c); isolation: isolate; }
.riso img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.35) brightness(1.12); mix-blend-mode: screen; }
.riso::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, transparent 1.15px, rgba(255,255,255,.34) 1.7px) 0 0 / 4px 4px; pointer-events: none; }
.riso--pink { --ink-c: var(--pink); }

/* ---------- Top ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: .8rem var(--gutter); pointer-events: none; }
.top > * { pointer-events: auto; }
.top__logo { font: 800 1.3rem/1 var(--display); text-decoration: none; background: var(--blue); color: var(--paper-2); padding: .45rem .7rem; border-radius: 99px; transform: rotate(-4deg); }
.top__nav { display: flex; gap: .4rem; background: var(--paper-2); padding: .3rem; border-radius: 99px; box-shadow: 3px 3px 0 var(--pink); border: 2px solid var(--ink); }
.top__nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: .35rem .8rem; border-radius: 99px; }
.top__nav a:hover { background: var(--paper); }
.top__rsvp { background: var(--pink); color: var(--paper-2); }
.top__rsvp:hover { background: var(--blue) !important; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 6rem var(--gutter) 2.5rem; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto 1fr; align-items: start; overflow: hidden; }
.hero__type { grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 1; font: 800 clamp(5rem, 14.5vw, 15rem)/.8 var(--display); font-variation-settings: "wdth" 75, "opsz" 96; letter-spacing: -.02em; }
.ink { display: block; mix-blend-mode: multiply; }
.ink--pink { color: var(--pink); }
.ink--blue { position: absolute; inset: 0; color: var(--blue); transform: translate(.045em, .03em); }
.hero__photo { grid-column: 6 / 13; grid-row: 1 / 4; z-index: 2; margin-top: clamp(4rem, 10vw, 9rem); aspect-ratio: 3 / 2; transform: rotate(2deg); mix-blend-mode: multiply; box-shadow: -14px 14px 0 var(--pink); }
.hero__lede { grid-column: 1 / 6; grid-row: 2; z-index: 3; margin: 2rem 0 0; font: 700 clamp(1.4rem, 2.6vw, 2.2rem)/1.08 var(--display); font-variation-settings: "wdth" 85; color: var(--ink); max-width: 16ch; }
.hero .sticker { z-index: 4; }

.sticker { position: absolute; display: grid; place-items: center; text-align: center; text-decoration: none; font-family: var(--display); }
.sticker--date { left: 37%; top: clamp(16rem, 31vw, 27rem); width: clamp(110px, 11vw, 160px); aspect-ratio: 1; border-radius: 50%; background: var(--pink); color: var(--paper-2); font: 800 clamp(1.6rem, 2.5vw, 2.4rem)/.9 var(--display); transform: rotate(-12deg); box-shadow: 5px 5px 0 var(--blue); align-content: center; }
.sticker--date b { font-size: .5em; }
.sticker--date small { font-size: .42em; font-weight: 600; }
.sticker--star { right: clamp(.5rem, 4vw, 3rem); bottom: clamp(1rem, 6vw, 4rem); width: clamp(120px, 13vw, 190px); aspect-ratio: 1; transform: rotate(10deg); }
.sticker--star svg { position: absolute; inset: 0; fill: var(--blue); }
.sticker--star em { position: relative; font: 700 clamp(1.1rem, 1.7vw, 1.6rem)/1 var(--hand); font-style: normal; color: var(--paper-2); }
.sticker--rsvp { position: relative; grid-column: 1 / 6; grid-row: 3; justify-self: start; margin-top: 1.8rem; padding: .8rem 1.3rem; border-radius: 12px; background: var(--paper-2); border: 3px solid var(--ink); font-weight: 800; font-size: 1.15rem; transform: rotate(-6deg); box-shadow: 4px 4px 0 var(--pink); transition: transform .4s var(--ease); }
.sticker--rsvp:hover { transform: rotate(0) scale(1.06); }

.tape { display: flex; gap: 2.5rem; white-space: nowrap; overflow: hidden; background: var(--blue); color: var(--paper-2); font: 800 clamp(1.1rem, 2vw, 1.6rem)/1 var(--display); font-variation-settings: "wdth" 80; padding: .9rem 0; transform: rotate(-1.5deg); margin: 0 -2rem; box-shadow: 0 6px 0 var(--pink); }
.tape span::after { content: "✺"; color: var(--pink); margin-left: 2.5rem; }

/* ---------- Big headings (misregistered) ---------- */
.big { font: 800 clamp(3.4rem, 9vw, 8rem)/.85 var(--display); font-variation-settings: "wdth" 75, "opsz" 96; letter-spacing: -.02em; color: var(--pink); }
.big span { display: inline-block; text-shadow: .04em .03em 0 rgba(0,120,191,.85); }
.big--blue { color: var(--blue); }
.big--blue span { text-shadow: .04em .03em 0 rgba(255,72,176,.85); }

/* ---------- Plan ---------- */
.plan { padding: clamp(5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.plan .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0 clamp(2rem, 6vw, 6rem); }
.plan .big, .plan__intro { grid-column: 1 / -1; }
.plan__intro { max-width: 46ch; font-size: 1.2rem; margin: 1.5rem 0 3rem; }
.plan__list { list-style: none; margin: 0; padding: 0; grid-column: 1; grid-row: 3 / 5; }
.plan__list li { display: grid; grid-template-columns: clamp(6.5rem, 12vw, 10rem) 1fr; gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-top: 3px dotted var(--blue); }
.plan__list time { font: 800 clamp(2.4rem, 4.6vw, 3.8rem)/1 var(--display); font-variation-settings: "wdth" 75; color: var(--pink); }
.plan__list h3 { font: 800 1.45rem/1.15 var(--display); color: var(--blue); margin-bottom: .25rem; }
.plan__list p { margin: 0; max-width: 40ch; }
.plan__photo { grid-column: 2; grid-row: 3; aspect-ratio: 4 / 5; transform: rotate(-2.5deg); box-shadow: 12px 12px 0 var(--blue); mix-blend-mode: multiply; align-self: start; }
.plan__wear { grid-column: 2; grid-row: 4; margin-top: 2.5rem; padding: 1.2rem 1.4rem; background: var(--paper-2); border: 3px solid var(--ink); border-radius: 14px; transform: rotate(1.5deg); font: 700 1.5rem/1.2 var(--hand); align-self: start; }

/* ---------- Map ---------- */
.map { padding: clamp(4rem, 9vw, 8rem) 0; background: var(--paper-2); border-block: 3px solid var(--ink); }
.map__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.map__addr { font: 700 1.5rem/1.25 var(--display); margin: 1.5rem 0; }
.map__addr b { color: var(--pink); }
.map__how { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .8rem; }
.map__how li { display: flex; gap: .8rem; align-items: center; }
.pill { flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--blue); color: var(--paper-2); font-weight: 800; }
.pill--l { background: var(--ink); }
.pill--f { background: var(--pink); }
.pill--c { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); }
.map__note { font: 700 1.4rem/1.2 var(--hand); color: var(--blue); transform: rotate(-1.5deg); }
.map__art { margin: 0; transform: rotate(1.5deg); box-shadow: -12px 12px 0 var(--pink); border: 3px solid var(--ink); }
.map__art svg { display: block; width: 100%; height: auto; }
.m-bg { fill: var(--paper); }
.m-river { fill: var(--blue); opacity: .9; }
.m-streets path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .55; }
.m-park { fill: var(--pink); opacity: .35; }
.m-lbl { font: 700 22px var(--hand); fill: var(--ink); }
.m-lbl--river { fill: var(--paper-2); font-size: 26px; }
.m-route { fill: none; stroke: var(--pink); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1 12; }
.m-stop circle { fill: var(--blue); }
.m-stop--l circle { fill: var(--ink); }
.m-stop--f circle { fill: var(--pink); }
.m-stop text { font: 800 15px var(--display); fill: #fff; }
.m-pin circle { fill: var(--pink); stroke: var(--ink); stroke-width: 3; }
.m-pin text { font: 800 13px var(--display); fill: #fff; }

/* ---------- Setlist wall ---------- */
.setlist { padding: clamp(5rem, 10vw, 9rem) 0; }
.setlist__head { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.setlist__head p { font-size: 1.2rem; max-width: 38ch; margin: 0; }
.stick { grid-column: 1 / -1; display: flex; gap: .6rem; max-width: 620px; }
.stick input { flex: 1; min-width: 0; font: 600 1.1rem/1 var(--display); padding: .95rem 1.1rem; border: 3px solid var(--ink); border-radius: 99px; background: var(--paper-2); color: var(--ink); }
.stick input:focus { outline: none; box-shadow: 4px 4px 0 var(--pink); }
.stick button, .go { flex: none; font: 800 1.05rem/1 var(--display); padding: 1rem 1.4rem; border: 3px solid var(--ink); border-radius: 99px; background: var(--pink); color: var(--paper-2); cursor: pointer; box-shadow: 4px 4px 0 var(--blue); transition: transform .3s var(--ease), box-shadow .3s; }
.stick button:hover, .go:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--blue); }
.wall { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.4rem 1.2rem; justify-content: center; }
.s { --r: -3deg; display: inline-grid; gap: .1rem; padding: 1rem 1.4rem 1.1rem; border-radius: 18px; background: var(--pink); color: var(--paper-2); text-align: center; transform: rotate(var(--r)); box-shadow: 4px 5px 0 rgba(27,42,78,.9); transition: transform .45s var(--ease); max-width: 280px; }
.s b { font: 800 1.35rem/1.05 var(--display); font-variation-settings: "wdth" 85; }
.s span { font-weight: 600; font-size: .95rem; opacity: .95; }
.s i { font: 700 1.1rem/1 var(--hand); font-style: normal; opacity: .9; margin-top: .25rem; }
.s:hover { transform: rotate(0) scale(1.06); }
.s2, .s5, .s9 { background: var(--blue); }
.s3 { --r: 4deg; border-radius: 50% / 38%; padding: 1.6rem 2rem; background: var(--paper-2); color: var(--ink); border: 3px solid var(--blue); }
.s4 { --r: 2deg; }
.s6 { --r: -6deg; background: var(--paper-2); color: var(--blue); border: 3px dashed var(--pink); }
.s7 { --r: 5deg; border-radius: 99px; padding: 1.1rem 2rem; }
.s8 { --r: -2deg; background: var(--violet); }
.s9 { --r: 7deg; border-radius: 50%; aspect-ratio: 1; place-content: center; padding: 1.4rem; }
.s1 { --r: -4deg; }
.s5 { --r: -1deg; clip-path: polygon(0 0, 100% 0, 100% 78%, 88% 100%, 0 100%); }
.s-new { animation: slap .7s var(--ease) both; background: var(--pink); outline: 3px solid var(--ink); }
@keyframes slap { from { transform: scale(1.8) rotate(-20deg); opacity: 0; } to { transform: rotate(var(--r)); opacity: 1; } }

/* ---------- RSVP ---------- */
.rsvp { padding: clamp(4.5rem, 10vw, 8rem) 0; background: var(--pink); }
.rsvp .big { color: var(--paper-2); }
.rsvp .big span { text-shadow: .04em .03em 0 var(--blue); }
.rsvp__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.rsvp__side > p { color: var(--paper-2); font-weight: 700; font-size: 1.3rem; margin: 1rem 0 2rem; }
.rsvp__photo { aspect-ratio: 2 / 3; max-width: 380px; transform: rotate(-3deg); box-shadow: 10px 10px 0 var(--ink); }
.form { background: var(--paper-2); border: 3px solid var(--ink); border-radius: 22px; padding: clamp(1.4rem, 4vw, 2.6rem); display: grid; gap: 1.2rem; box-shadow: 10px 10px 0 var(--blue); }
.f { display: grid; gap: .35rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.f > span, .f legend { font-weight: 800; font-size: 1rem; padding: 0; }
.f input, .f select, .f textarea { width: 100%; font: 500 1.05rem/1.3 var(--display); color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; padding: .75rem .9rem; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--pink); box-shadow: 3px 3px 0 var(--pink); }
.f--yes { display: flex; flex-wrap: wrap; gap: .6rem; }
.f--yes legend { width: 100%; margin-bottom: .4rem; }
.f--yes label { position: relative; }
.f--yes input { position: absolute; opacity: 0; }
.f--yes span { display: inline-block; padding: .65rem 1.1rem; border: 2px solid var(--ink); border-radius: 99px; font-weight: 700; cursor: pointer; }
.f--yes input:checked + span { background: var(--blue); color: var(--paper-2); }
.f--yes input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.f-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f--song > span { color: var(--pink); font-size: 1.15rem; }
.preview { display: flex; justify-content: flex-start; padding: .3rem 0 .6rem .4rem; }
.s-live { --r: -3deg; background: var(--blue); }
.go { justify-self: start; }
.form__status { margin: 0; font: 700 1.4rem/1.2 var(--hand); color: var(--blue); min-height: 1.3em; }

/* ---------- Footer ---------- */
.foot { background: var(--blue); color: var(--paper-2); padding: 3.5rem var(--gutter) 2.5rem; text-align: center; }
.foot p { margin: 0 0 .4rem; }
.foot__big { font: 800 clamp(3rem, 12vw, 10rem)/.85 var(--display); font-variation-settings: "wdth" 75; color: var(--pink); text-shadow: .03em .03em 0 var(--paper-2); margin-bottom: 1.2rem !important; }
.foot__credit { font-size: .85rem; opacity: .8; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .plan .wrap, .map__grid, .rsvp__grid, .setlist__head { grid-template-columns: 1fr; }
  .plan__list, .plan__photo, .plan__wear { grid-column: 1; grid-row: auto; }
  .plan__photo { margin-top: 2.5rem; max-width: 480px; }
  .rsvp__photo { max-width: 260px; }
}
@media (max-width: 640px) {
  .top__nav a:not(.top__rsvp) { display: none; }
  .hero { display: flex; flex-direction: column; padding-top: 5.5rem; min-height: auto; }
  .hero__type { font-size: 23vw; }
  .hero__photo { margin: -2.2rem 0 0 8%; width: 92%; }
  .hero__lede { margin-top: 2rem; max-width: 12ch; font-size: 1.9rem; }
  .sticker--date { left: auto; right: 1rem; top: auto; bottom: 7.5rem; width: 104px; }
  .sticker--star { right: auto; left: 52%; bottom: 1rem; width: 120px; }
  .sticker--rsvp { position: relative; right: auto; bottom: auto; margin-top: 1.5rem; align-self: flex-start; }
  .stick { flex-direction: column; }
  .stick button { align-self: flex-start; }
  .f-two { grid-template-columns: 1fr; }
  .plan__list li { grid-template-columns: 5.4rem 1fr; }
  .s b { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
