/* asufiji.com/rush: the spring rush look, taken from the rush logos. brick red, cream, ink, sunset and
   wave teal, heavy italic lettering with a black outline and a hard offset shadow, on grained paper.
   this page stands alone: none of the main site's styles or scripts load here */
@font-face { font-family: "Archivo"; src: url("../assets/fonts/archivo-italic.woff2") format("woff2"); font-style: italic; font-weight: 800 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../assets/fonts/archivo.woff2") format("woff2"); font-style: normal; font-weight: 800; font-stretch: 62% 125%; font-display: swap; }
:root {
  --red: #b0503a; --cream: #f4ecdb; --paper: #fbf6ea; --ink: #232323; --sun: #d9774a; --teal: #2f6478;
  --type: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --g: max(16px, env(safe-area-inset-left));
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--red); overflow-x: clip; }
body {
  margin: 0; min-height: 100svh; overflow-x: clip; position: relative; color: var(--ink); font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased;
  background-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .05 0 0 0 0 .03 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }

/* a thin strip, no page links */
.bar { display: flex; justify-content: space-between; align-items: center; max-width: 1020px; margin: 0 auto; padding: calc(env(safe-area-inset-top) + 14px) var(--g) 14px; font: italic 900 14px/1 var(--type); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); }
.bar-mark { display: inline-flex; align-items: center; gap: 10px; }
.bar-ig { text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

main { max-width: 1020px; margin: 0 auto; padding: 4px var(--g) 40px; display: grid; gap: clamp(28px, 5vw, 48px); }
.block { position: relative; }
/* the printed sheet everything sits on */
.sheet {
  padding: clamp(12px, 2vw, 22px) clamp(12px, 2vw, 22px) clamp(28px, 4vw, 48px); border-radius: 16px; background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .14 0 0 0 0 .12 0 0 0 0 .1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  box-shadow: 0 0 0 3px var(--ink), 10px 10px 0 3px var(--ink);
}
.sheet > :not(.island) { margin-left: clamp(0px, 3vw, 46px); margin-right: clamp(0px, 3vw, 46px); }

/* the island print at the top, the oval logo set in its empty sky. on load the print forms out of a
   soft cloud (Ghosty reveal's mask, slid up over it); the logo is simply there */
.sheet > .island { margin: 0 auto; }
.island { position: relative; width: min(600px, 100%); border-radius: 12px; overflow: hidden; background: var(--cream); box-shadow: 0 0 0 3px var(--ink); }
.island-art { display: block; width: 100%; height: auto; }
.island-logo { position: absolute; left: 50%; top: 3.5%; width: 68%; height: auto; transform: translateX(-50%) rotate(-3deg); }
.js-reveal .island-art { -webkit-mask-size: 100% 500%; mask-size: 100% 500%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 0 0%; mask-position: 0 0%; }
.js-reveal.is-in .island-art { -webkit-mask-position: 0 100%; mask-position: 0 100%; transition: -webkit-mask-position 1.9s cubic-bezier(0.16, 1, 0.3, 1), mask-position 1.9s cubic-bezier(0.16, 1, 0.3, 1); }

.slab {
  margin: clamp(22px, 3.4vw, 36px) 0 clamp(26px, 4vw, 40px); font: italic 900 min(8.1vw, 78px)/.96 var(--type); font-stretch: 100%; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap;
  color: var(--cream); -webkit-text-stroke: clamp(2px, .3vw, 3px) var(--ink); paint-order: stroke fill;
  text-shadow: clamp(3px, .5vw, 6px) clamp(3px, .5vw, 6px) 0 var(--ink);
}
.block-sub { margin: 12px 0 0; font: italic 900 clamp(13px, 1.4vw, 17px)/1.3 var(--type); letter-spacing: .26em; text-transform: uppercase; color: var(--red); }
.lede { margin: 18px 0 clamp(26px, 4vw, 40px); max-width: 560px; font-size: 18px; line-height: 1.5; }

/* the form */
.form { display: grid; gap: 34px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.set { min-width: 0; margin: 0; padding: 0; border: 0; }
.step { margin-bottom: 16px; padding: 0; font: italic 900 15px/1.3 var(--type); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.step small, .field small { margin-left: 8px; font: 500 14px var(--body); letter-spacing: 0; text-transform: none; color: rgba(35, 35, 35, .58); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gap { margin-top: 20px; }
.wide { grid-column: 1 / -1; }
.field { display: grid; align-content: start; gap: 8px; min-width: 0; }
.field > span, .sub { font: 600 15px/1.25 var(--body); }
.sub { margin: 22px 0 12px; }
.input {
  width: 100%; padding: 14px 15px; border: 0; border-radius: 8px; resize: vertical; font: 500 17px/1.35 var(--body);
  color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); transition: box-shadow .15s ease, transform .15s ease;
}
/* instagram: the @ is part of the box, so everyone types just the handle */
.at { position: relative; display: block; }
.at b { position: absolute; z-index: 1; left: 15px; top: 50%; transform: translateY(-50%); font: 600 17px/1 var(--body); color: var(--ink); pointer-events: none; }
.at .input { padding-left: 33px; }
.at .input:focus { transform: none; }
.input::placeholder { color: rgba(35, 35, 35, .45); }
.input:focus { outline: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--ink), 4px 4px 0 0 var(--teal); transform: translate(-2px, -2px); }
.input.bad { box-shadow: inset 0 0 0 2px var(--red), 4px 4px 0 0 var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips.bad .chip span { box-shadow: inset 0 0 0 2px var(--red); }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 8px; pointer-events: none;
  font: 600 16px/1 var(--body); background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.chip input:checked + span { color: var(--cream); background: var(--red); box-shadow: inset 0 0 0 2px var(--ink), 3px 3px 0 0 var(--ink); transform: translate(-2px, -2px); }
.chip input:checked + span::before { content: "\2713"; }
.chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
@media (hover: hover) { .chip:hover span { background: #fff; } .chip:hover input:checked + span { background: var(--red); } }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.msg { margin: 0; font-weight: 700; color: var(--red); }

/* pressed like a stamp: up on its shadow, down flat */
.stamp {
  display: inline-flex; align-items: center; justify-content: center; min-width: 260px; min-height: 64px; padding: 0 34px; border: 0; border-radius: 10px; cursor: pointer; text-decoration: none;
  font: italic 900 24px/1 var(--type); letter-spacing: .04em; text-transform: uppercase; color: var(--cream);
  background: var(--red); box-shadow: inset 0 0 0 3px var(--ink), 6px 6px 0 0 var(--ink); transition: transform .08s ease, box-shadow .08s ease, background-color .2s ease;
}
.stamp span { -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; text-shadow: 2px 2px 0 var(--ink); }
@media (hover: hover) { .stamp:hover { background: #bf5a42; } }
.stamp:active { transform: translate(6px, 6px); box-shadow: inset 0 0 0 3px var(--ink), 0 0 0 0 var(--ink); }
.stamp:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.stamp:disabled { opacity: .7; }

/* the thank-you, with Spray burst */
.done { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 48px); outline: 0; }
.spray { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--cream); box-shadow: 0 0 0 3px var(--ink), 8px 8px 0 3px var(--ink); }
.spray canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.done-head { margin: 0; font: italic 900 clamp(32px, 4.6vw, 56px)/1 var(--type); text-transform: uppercase; color: var(--cream); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink); }
.done-line { margin: 16px 0 0; font-size: 18px; }

/* questions, on the red */
#faq .slab { margin-top: 8px; margin-bottom: 0; }
.faq { margin-top: 22px; display: grid; gap: 12px; }
.qa { border-radius: 10px; background: var(--cream); box-shadow: 0 0 0 3px var(--ink), 5px 5px 0 3px var(--ink); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font: italic 900 clamp(17px, 2vw, 21px)/1.2 var(--type); text-transform: uppercase; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font-size: 28px; line-height: 1; color: var(--red); transition: transform .2s ease; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0; padding: 0 20px 20px; font-size: 17px; }

.end { display: grid; justify-items: center; gap: 12px; padding: 10px var(--g) calc(env(safe-area-inset-bottom) + 34px); text-align: center; color: var(--cream); font: italic 800 13px/1.4 var(--type); letter-spacing: .12em; text-transform: uppercase; }
.end p { margin: 0; }

/* island details on the red: a striped setting sun behind the top of the sheet, and a wave along its foot */
body::before {
  content: ""; position: absolute; z-index: 0; top: 40px; right: max(-140px, calc(50% - 720px)); width: min(560px, 90vw); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: repeating-linear-gradient(180deg, var(--sun) 0 22px, transparent 22px 34px); opacity: .55;
  -webkit-mask: linear-gradient(180deg, #000 30%, transparent 85%); mask: linear-gradient(180deg, #000 30%, transparent 85%);
}
.bar, main, .end { position: relative; z-index: 1; }
.sheet { overflow: hidden; padding-bottom: calc(clamp(28px, 4vw, 48px) + 46px); }
.sheet::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='46' viewBox='0 0 120 46'%3E%3Cpath d='M0 20 Q15 4 30 20 T60 20 T90 20 T120 20 V46 H0Z' fill='%232f6478'/%3E%3Cpath d='M0 20 Q15 4 30 20 T60 20 T90 20 T120 20' fill='none' stroke='%23232323' stroke-width='3'/%3E%3Cpath d='M0 33 Q15 25 30 33 T60 33 T90 33 T120 33' fill='none' stroke='%23f4ecdb' stroke-width='2' opacity='.55'/%3E%3C/svg%3E") repeat-x bottom / 120px 46px;
}

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .stamp { width: 100%; }
  .done { grid-template-columns: 1fr; }
  .spray { max-width: 240px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
