/* ============================================================================
   yapp landing — "The Yapp Dispatch" page styles
   Editorial / campus-newspaper art direction. Dark-only. One pink owns chrome;
   the 7-color spectrum is brand art in 3 sanctioned roles (masthead rule,
   scroll-progress spine, app-icon seal).
   ========================================================================== */

/* --- shared icon sizing --------------------------------------------------- */
.ic { width: 19px; height: 19px; flex: none; }
.ic--xs { width: 14px; height: 14px; }
.ic--lg { width: 30px; height: 30px; }
.ic--pink { color: var(--pink); }
.ic--seal { width: 15px; height: 15px; }
.ic--seal-sm { width: 17px; height: 17px; }

/* --- pills & chips (canon: radius 999, Outfit 600, pink primary) ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label); font-weight: 700; font-size: 0.84rem;
  letter-spacing: 0.01em; line-height: 1;
  padding: 13px 20px; border-radius: var(--r-full);
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .18s var(--ease-spring), background .2s, box-shadow .25s;
}
.pill:active { transform: scale(.97); }
.pill--pink { background: var(--pink); color: #fff; box-shadow: 0 6px 24px -10px var(--pink-glow); }
.pill--pink:hover { background: #ff1a7e; box-shadow: 0 10px 30px -8px var(--pink-glow); }
.pill--lg { padding: 16px 26px; font-size: 0.95rem; }
.pill--hue {
  background: color-mix(in srgb, var(--hue) 18%, transparent);
  border-color: color-mix(in srgb, var(--hue) 50%, transparent);
  color: var(--hue);
}

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-label); font-weight: 600; font-size: 0.74rem;
  padding: 6px 11px; border-radius: var(--r-full);
  border: 1px solid var(--hairline); color: var(--ink-soft);
}
.chip--college {
  background: color-mix(in srgb, var(--hue) 15%, transparent);
  border-color: color-mix(in srgb, var(--hue) 40%, transparent);
  color: var(--hue);
}
.chip--pill { padding: 9px 16px; font-size: 0.82rem; cursor: default; }
.chip--pill.is-active { background: var(--pink); border-color: var(--pink); color: #fff; }
.chip--ghost { background: var(--bg); border-color: var(--hairline-faint); color: var(--ink-soft); }

.ghost-link { font-family: var(--font-body); font-size: 0.95rem; color: var(--ink-soft); transition: color .2s; }
.ghost-link span { color: var(--ink); border-bottom: 1px solid var(--hairline); padding-bottom: 1px; }
.ghost-link:hover { color: var(--pink); }
.ghost-link:hover span { color: var(--pink); border-color: var(--pink); }
.ghost-link--btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border: 1px solid var(--hairline); border-radius: var(--r-full);
}
.ghost-link--btn:hover { border-color: var(--pink); }

/* App Store download badge */
.appstore {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 18px; border-radius: 13px; line-height: 1;
  background: #000; border: 1px solid rgba(255, 255, 255, 0.28); color: #fff;
  transition: transform .2s var(--ease-out), border-color .2s, box-shadow .25s;
}
.appstore:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.65); box-shadow: 0 14px 32px -16px rgba(0, 0, 0, 0.95); }
.appstore:active { transform: scale(.98); }
.appstore__logo { width: 23px; height: 27px; flex: none; }
.appstore__txt { display: flex; flex-direction: column; align-items: flex-start; font-family: -apple-system, "Segoe UI", system-ui, sans-serif; }
.appstore__txt small { font-size: 0.62rem; letter-spacing: 0.01em; opacity: 0.92; margin-bottom: 2px; }
.appstore__txt strong { font-size: 1.16rem; font-weight: 600; letter-spacing: -0.01em; }
.appstore--lg { padding: 12px 24px; border-radius: 15px; gap: 13px; }
.appstore--lg .appstore__logo { width: 27px; height: 32px; }
.appstore--lg .appstore__txt small { font-size: 0.68rem; }
.appstore--lg .appstore__txt strong { font-size: 1.34rem; }

/* --- avatars (gradient fallback in the user's accent hue) ----------------- */
.avatar {
  --hue: var(--pink);
  width: 50px; height: 50px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-label); font-weight: 700; font-size: 1.1rem; color: #fff;
  background: linear-gradient(145deg, var(--hue), color-mix(in srgb, var(--hue) 55%, #000));
}
.avatar--sm { width: 38px; height: 38px; font-size: 0.95rem; }
.avatar--xs { width: 28px; height: 28px; font-size: 0.72rem; border: 2px solid var(--bg); }
.avatar--sq { border-radius: 14px; }

/* --- live dot (pink, breathing) ------------------------------------------ */
.live-dot {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-label); font-weight: 600; font-size: 0.66rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink);
}
.live-dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); animation: breathe 1.6s ease-in-out infinite; }
.live-dot--bare i { margin: 0; }
@keyframes breathe { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 var(--pink-glow); } 50% { opacity: .55; box-shadow: 0 0 0 5px transparent; } }
.dot-pink { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); animation: breathe 1.6s ease-in-out infinite; }

/* ==========================================================================
   PROGRESS SPINE — the scroll-linked spectrum (sanctioned spectrum role #2)
   ======================================================================== */
.spine {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 130;
  display: flex; pointer-events: none;
  /* --spine 0..1 set by JS; the line reveals amber -> blue as you scroll */
  clip-path: inset(0 calc((1 - var(--spine, 0)) * 100%) 0 0);
  filter: drop-shadow(0 0 4px rgba(255, 0, 110, 0.35));
}
.spine span { flex: 1 1 0; }
@media (prefers-reduced-motion: reduce) { .spine { clip-path: none; filter: none; } }

/* ==========================================================================
   ANNOUNCEMENT BAR — non-iOS students → unilink.chat (scrolls away above nav)
   ======================================================================== */
.annobar {
  background: var(--pink-wash);
  border-bottom: 1px solid color-mix(in srgb, var(--pink) 22%, transparent);
}
.annobar__in {
  display: flex; align-items: center; justify-content: center;
  gap: 9px; flex-wrap: wrap;
  max-width: var(--maxw); margin: 0 auto;
  padding: 9px var(--gutter);
  font-family: var(--font-label); font-weight: 500;
  font-size: 0.82rem; letter-spacing: 0.01em;
  color: var(--ink-soft); text-align: center;
}
.annobar__dot {
  width: 7px; height: 7px; border-radius: var(--r-full);
  background: var(--pink); box-shadow: 0 0 10px var(--pink-glow);
  flex: none;
}
.annobar__link {
  font-weight: 700; color: var(--pink); white-space: nowrap;
  border-bottom: 1px solid color-mix(in srgb, var(--pink) 45%, transparent);
  padding-bottom: 1px; transition: border-color .2s, opacity .2s;
}
.annobar__link:hover { border-color: var(--pink); opacity: 0.85; }

/* ==========================================================================
   TOPBAR — Edition Index (sticky nav)
   ======================================================================== */
.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: var(--sp-lg);
  padding: 11px var(--gutter);
  background: var(--bg); /* fallback if color-mix() is unsupported */
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.topbar__brand { display: inline-flex; align-items: center; gap: 9px; }
.seal { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.seal--sm { width: 34px; height: 34px; }
.topbar__word { font-size: 1.45rem; }
.topbar__index {
  position: relative; display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px);
  margin-inline: auto;
}
.topbar__index a {
  font-family: var(--font-label); font-weight: 600; font-size: 0.86rem;
  color: var(--ink-soft); padding: 6px 2px; transition: color .2s; white-space: nowrap;
}
.topbar__index a i { font-style: normal; color: var(--ink-softer); font-size: 0.7rem; margin-right: 5px; }
.topbar__index a:hover { color: var(--ink); }
.topbar__index a.is-active { color: var(--ink); }
.topbar__index a.is-active i { color: var(--pink); }
.topbar__underline {
  position: absolute; bottom: -1px; left: 0; height: 2px; width: 0;
  background: var(--pink); border-radius: 2px;
  transition: left .32s var(--ease-spring), width .32s var(--ease-spring); opacity: 0;
}
.topbar__cta { padding: 9px 16px; font-size: 0.78rem; margin-left: auto; } /* stays right-aligned when the index hides */

/* ==========================================================================
   HERO — Masthead + Cover
   ======================================================================== */
.hero { padding-bottom: var(--sp-4xl); overflow-x: clip; } /* contain the phone's pink glow halo */

.masthead {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--gutter) 12px;
  font-family: var(--font-label); font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-softer);
}
.masthead__mid { text-align: center; }
.masthead__right { text-align: right; color: var(--ink-soft); }

.masthead-rule { display: flex; height: 2px; margin: 0 var(--gutter); align-items: flex-end; }
.masthead-rule span { flex: 1 1 0; height: 2px; }
.masthead-rule__pink { height: 3px; margin-top: -1px; } /* pink rises out of the rainbow */

.hero__grid {
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 64px);
  align-items: center; padding-top: clamp(40px, 7vw, 84px);
}
.hero__deck { max-width: 38ch; }

.deck {
  font-family: var(--font-wordmark); font-weight: 900; font-style: italic;
  text-transform: lowercase; line-height: 0.9;
  letter-spacing: -0.04em;
  font-size: clamp(3.2rem, 9vw, 7.3rem);
  margin-bottom: var(--sp-lg);
}
.deck__line { display: block; }
.deck__line--accent { color: var(--pink); text-shadow: 0 0 42px rgba(255, 0, 110, 0.30); }
.deck__dot { display: inline-block; transform: scale(1.18); transform-origin: bottom; }

.hero__standfirst { display: flex; align-items: center; gap: 14px; margin-bottom: var(--sp-lg); max-width: 34ch; }
.rule-tick { width: 28px; height: 2px; background: var(--pink); flex: none; }

.hero__cta { display: flex; align-items: center; gap: var(--sp-md); flex-wrap: wrap; }
.hero__altlink { margin-top: var(--sp-md); }
.hero__lock {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: var(--sp-md); font-size: 0.8rem; color: var(--ink-softer);
}
.hero__lock .ic { color: var(--ink-softer); }

/* phone device + app-screen mockup */
.hero__cover { display: grid; place-items: center; }
.phone { position: relative; width: min(330px, 84vw); }
.phone__glow {
  position: absolute; inset: -16% -14%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 0, 110, 0.22), transparent 72%);
  filter: blur(8px);
}
/* device bezel wrapping the app screen */
.phone__frame {
  position: relative; transform: rotate(5deg);
  background: linear-gradient(150deg, #1b1b1f, #0b0b0f);
  border: 1px solid var(--hairline); border-radius: 46px;
  padding: 9px; box-shadow: 0 44px 90px -42px rgba(0,0,0,0.92), inset 0 1px 0 rgba(255,255,255,0.05);
}
.appwin {
  position: relative; display: flex; flex-direction: column;
  width: 100%; aspect-ratio: 9 / 18; overflow: hidden;
  background: var(--bg); border-radius: 37px;
}
/* in-device screen recording — fills the screen, clipped to the appwin's radius */
.appvid {
  position: absolute; inset: 0; display: block;
  width: 100%; height: 100%; object-fit: cover;
  background: var(--bg);
}

/* status bar */
.statusbar { display: flex; align-items: center; justify-content: space-between; padding: 9px 24px 2px; }
.statusbar__time { font-family: var(--font-label); font-weight: 600; font-size: 0.72rem; color: var(--ink); }
.statusbar__island { width: 62px; height: 16px; border-radius: 999px; background: #000; } /* device camera cutout — intentionally pure black */
.statusbar__sys { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); }
.sb-signal { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 9px; }
.sb-signal i { width: 2.5px; background: currentColor; border-radius: 1px; }
.sb-signal i:nth-child(1){height:3px}.sb-signal i:nth-child(2){height:5px}.sb-signal i:nth-child(3){height:7px}.sb-signal i:nth-child(4){height:9px}
.sb-wifi { width: 15px; height: 11px; }
.sb-batt { width: 22px; height: 11px; border-radius: 3px; border: 1px solid currentColor; position: relative; opacity: .9; }
.sb-batt::before { content: ""; position: absolute; inset: 1.5px; right: 5px; background: currentColor; border-radius: 1px; }
.sb-batt::after { content: ""; position: absolute; right: -3px; top: 3.5px; width: 2px; height: 4px; background: currentColor; border-radius: 0 1px 1px 0; }

/* app header — centered wordmark + right-anchored action pill (matches FeedScreen) */
.apphead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 6px 14px 10px; }
.apphead__word { grid-column: 2; justify-self: center; font-size: 1.5rem; color: var(--ink); }
.apphead__actions { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid var(--hairline); }
.apphead__btn { position: relative; display: grid; place-items: center; width: 26px; height: 26px; color: var(--ink-soft); }
.apphead__btn .ic { width: 17px; height: 17px; }
.apphead__btn[data-badge]::after {
  content: attr(data-badge); position: absolute; top: -3px; right: -3px;
  min-width: 13px; height: 13px; padding: 0 3px; border-radius: 999px;
  background: var(--pink); color: #fff; font-family: var(--font-label); font-weight: 700; font-size: 0.5rem;
  display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg);
}

/* lane tabs */
.applanes { display: flex; justify-content: center; gap: 30px; padding-top: 2px; }
.applanes__tab { position: relative; font-family: var(--font-label); font-weight: 600; font-size: 0.92rem; color: var(--ink-softer); padding-bottom: 9px; }
.applanes__tab.is-active { color: var(--ink); }
.applanes__tab.is-active::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 20px; height: 3px; border-radius: 2px; background: var(--pink); }

/* audience chips */
.appchips { display: flex; gap: 8px; padding: 11px 16px; border-top: 1px solid var(--hairline); }
.appchips .chip--pill { padding: 6px 14px; font-size: 0.72rem; cursor: default; }

/* feed */
.appfeed { flex: 1; min-height: 0; overflow: hidden; padding: 0 16px;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, #000 80%, transparent); }
.yaprow { display: grid; grid-template-columns: auto 1fr; gap: 11px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.yaprow .avatar { width: 46px; height: 46px; font-size: 1rem; }
.yaprow__main { min-width: 0; }
.yaprow__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.yaprow__id { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.yaprow__line { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.yaprow__name { font-family: var(--font-body); font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.yaprow__meta { font-size: 0.8rem; color: var(--ink-soft); }
.yaprow__id .chip { align-self: flex-start; }
.yaprow__more { color: var(--ink-softer); font-size: 1rem; line-height: 0.6; letter-spacing: 1.5px; }
.yaprow__body { font-size: 0.9rem; line-height: 1.45; color: var(--ink); margin: 8px 0; }
.yaprow__photo { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--hairline); }
.yaprow__photo img { width: 100%; height: auto; }
.yaprow__actions { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.yaprow__actions .act { font-size: 0.78rem; gap: 5px; }
.yaprow__actions .ic { width: 16px; height: 16px; }
.yaprow--peek { border-bottom: none; }

/* bottom tab bar */
.apptab { display: flex; align-items: center; justify-content: space-around; padding: 9px 16px 12px; border-top: 1px solid var(--hairline); background: var(--bg); }
.apptab__item { display: grid; place-items: center; width: 40px; height: 34px; color: var(--ink-softer); }
.apptab__item.is-active { color: var(--ink); }
.apptab__item .ic { width: 24px; height: 24px; }
.apptab__avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-label); font-weight: 700; font-size: 0.64rem; color: #fff; background: linear-gradient(145deg, var(--hue), color-mix(in srgb, var(--hue) 55%, #000)); }
.apptab__cam { display: grid; place-items: center; width: 50px; height: 50px; margin-top: -22px; border-radius: 50%; background: #fff; color: #0a0a0f; box-shadow: 0 0 0 4px var(--bg), 0 8px 20px -6px rgba(0,0,0,0.55); }
.apptab__cam .ic { width: 26px; height: 26px; }

/* shared bits (reused by the hero feed + other sections) */
.tag { color: var(--pink); font-weight: 500; }
.act { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink-soft); font-size: 0.82rem; font-family: var(--font-label); font-weight: 600; transition: color .18s; }
.vote { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.vote__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; color: var(--ink-soft); font-size: 0.8rem; line-height: 1; }
.vote__btn--up { color: var(--pink); }
.vote__score { font-family: var(--font-label); font-weight: 600; font-size: 0.84rem; color: var(--ink); min-width: 1.6em; text-align: center; }
.vote--mini { gap: 6px; }
.vote--mini .vote__btn, .vote--mini .vote__score { font-size: 0.78rem; }
/* interactive vote control (Yaps section): grey by default, pink up / blue down when cast */
.vote--live .vote__btn { background: none; border: none; padding: 2px 3px; cursor: pointer; color: var(--ink-soft); transition: color .15s var(--ease-out), transform .15s var(--ease-out); }
.vote--live .vote__btn:hover { color: var(--ink); }
.vote--live .vote__btn--up.is-active { color: var(--pink); }
.vote--live .vote__btn--down.is-active { color: #0095f6; }
.vote--live.is-up .vote__score { color: var(--pink); }
.vote--live.is-down .vote__score { color: #0095f6; }

/* double-p sticker */
.sticker {
  position: absolute; right: -10px; bottom: 21%;
  background: var(--pink); color: #fff; font-family: var(--font-label); font-weight: 600;
  font-size: 0.72rem; padding: 7px 11px; border-radius: 12px; white-space: nowrap;
  box-shadow: 0 10px 24px -10px var(--pink-glow); transform-origin: bottom right;
  animation: wiggle 0.6s var(--ease-spring) 0.6s both;
}
.sticker__tail { position: absolute; left: 16px; bottom: -5px; width: 12px; height: 12px; background: var(--pink); transform: rotate(45deg); border-radius: 2px; }
@keyframes wiggle {
  0% { transform: scale(0.6) rotate(-10deg); opacity: 0; }
  60% { transform: scale(1.04) rotate(6deg); opacity: 1; }
  100% { transform: scale(1) rotate(-4deg); opacity: 1; }
}

/* ==========================================================================
   SECTION scaffolding
   ======================================================================== */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section__kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.section__title { font-size: clamp(2rem, 5vw, 3.3rem); max-width: 16ch; margin-bottom: var(--sp-xl); }
.section + .section { border-top: 1px solid var(--hairline-faint); }

.lede { font-size: 1.08rem; line-height: 1.65; color: var(--ink-soft); max-width: 46ch; }
.lede strong { color: var(--ink); font-weight: 600; }
.lede--center { max-width: 52ch; margin: var(--sp-xl) auto 0; text-align: center; }
.muted { color: var(--ink-softer); }

.pullquote {
  font-family: var(--font-wordmark); font-weight: 900; font-style: italic; text-transform: lowercase;
  font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; color: var(--ink);
  margin-top: var(--sp-xl); padding-left: 18px; border-left: 3px solid var(--pink); max-width: 22ch;
}

/* feature (copy + cards split) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature--reverse .feature__copy { order: 2; }
.feature__title { font-size: clamp(1.9rem, 4vw, 3rem); margin: 12px 0 var(--sp-lg); }
.scope-chips { display: flex; gap: 10px; margin-top: var(--sp-lg); }

.feature__cards { display: flex; flex-direction: column; gap: 14px; }
/* Yaps-section cards reuse the canonical yap card (.yaprow) at full size */
.yap { background: linear-gradient(155deg, var(--bg-soft), var(--bg-soft-2)); border: 1px solid var(--hairline); border-radius: var(--r-tile); padding: 16px 18px; transition: transform .35s var(--ease-out), border-color .35s var(--ease-out); }
.yap:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--pink) 24%, var(--hairline)); }
.yap .yaprow { padding: 0; border-bottom: none; }
.yap .yaprow__name { font-size: 0.97rem; }
.yap .yaprow__meta { font-size: 0.86rem; }
.yap .yaprow__body { font-size: 0.97rem; line-height: 1.5; margin: 9px 0 12px; }
.yap .yaprow__actions { gap: clamp(12px, 3.2vw, 22px); }
.yap .yaprow__actions .act { font-size: 0.82rem; }
.yap .yaprow__actions .ic { width: 18px; height: 18px; }

.ticks { display: flex; flex-direction: column; gap: 12px; margin-top: var(--sp-lg); }
.ticks li { display: flex; align-items: center; gap: 11px; color: var(--ink-soft); font-size: 0.98rem; }

/* ==========================================================================
   BENTO — surfaces grid
   ======================================================================== */
.section--bento { padding-top: clamp(48px, 7vw, 96px); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: var(--sp-xl); }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  min-width: 0; height: 236px; padding: 18px;
  background: linear-gradient(155deg, var(--bg-soft), var(--bg-soft-2));
  border: 1px solid var(--hairline); border-radius: var(--r-tile);
  transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s;
}
.tile--wide { grid-column: span 2; }
.tile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--pink) 30%, var(--hairline)); box-shadow: 0 24px 48px -30px var(--pink-glow); }
.tile__txt .kicker { color: var(--ink); font-size: 0.84rem; letter-spacing: 0.1em; }
.tile__txt p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 5px; line-height: 1.4; }
.tile__demo { position: relative; flex: 1; min-width: 0; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--hairline-faint); display: grid; place-items: center; overflow: hidden; min-height: 116px; }

/* YAPS — a real yap card (matches the app feed) */
/* YAPS tile — auto-scrolling feed of yaps */
.tile__demo--feed { display: block; padding: 0; }
.feedscroll { height: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); }
.feedscroll__col { display: flex; flex-direction: column; animation: loopUp 17s linear infinite; }
.tile:hover .feedscroll__col { animation-play-state: paused; }
.myap { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px; padding: 11px 15px; border-bottom: 1px solid var(--hairline-faint); }
.myap__b { min-width: 0; }
.myap__h { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.myap__h b { color: var(--ink); font-weight: 700; font-size: 0.84rem; }
.myap .ic--seal { width: 13px; height: 13px; }
.myap__hand { font-size: 0.74rem; color: var(--ink-soft); }
.myap__t { font-size: 0.83rem; line-height: 1.35; color: var(--ink); margin: 3px 0 7px; }
.myap__a { display: flex; align-items: center; gap: 16px; }
.myap__a .act { font-size: 0.74rem; gap: 5px; }
.myap__a .ic { width: 15px; height: 15px; }
.myap__a .vote { gap: 5px; margin-left: 0; }
.myap__a .vote__btn { font-size: 0.74rem; min-width: 15px; }
.myap__a .vote__score { font-size: 0.74rem; }
@keyframes loopUp { to { transform: translateY(-50%); } }
@keyframes loopRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* WRAPS — the CAMPUS WRAPS story rail (matches the app) */
.tile__demo--wraps { display: flex; align-items: center; padding-left: 14px; overflow: hidden; }
.wrap-rail { display: flex; width: max-content; animation: loopRight 22s linear infinite; }
.tile:hover .wrap-rail { animation-play-state: paused; }
.wrap-sq { position: relative; flex: none; width: 56px; margin-right: 9px; aspect-ratio: 0.82; border-radius: 13px; overflow: hidden; border: 2px solid var(--hue, var(--hairline)); box-shadow: 0 0 0 2px var(--bg); }
.wrap-sq img { width: 100%; height: 100%; object-fit: cover; }
.wrap-sq i { position: absolute; left: 1px; right: 1px; bottom: 3px; font-style: normal; text-align: center; font-family: var(--font-label); font-weight: 600; font-size: 0.5rem; letter-spacing: .02em; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.95); }
.wrap-sq--add { border-color: var(--hairline); background: var(--bg-soft); display: grid; place-items: center; box-shadow: none; }
.wrap-add { display: grid; place-items: center; width: 22px; height: 22px; margin-bottom: 8px; border-radius: 50%; background: var(--pink); color: #fff; }
.wrap-add .ic { width: 13px; height: 13px; }
.wrap-sq--add i { color: var(--ink-soft); text-shadow: none; }

/* MOMENTS — BeReal dual capture, gated */
.tile__demo--moments { padding: 0; }
.moments-main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.7) saturate(.92); }
.moments-inset { position: absolute; top: 9px; left: 9px; width: 40px; height: 52px; object-fit: cover; border-radius: 8px; border: 2px solid rgba(255,255,255,0.9); box-shadow: 0 5px 13px rgba(0,0,0,.55); z-index: 2; }
.tile__demo--moments .tape { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%) rotate(-3deg); z-index: 2; }
.tape { font-family: var(--font-label); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: #0a0a0f; background: var(--spec-amber); padding: 5px 12px; transform: rotate(-3deg); box-shadow: 0 6px 16px -8px rgba(255,190,11,.5); }

/* LIVE — mini video room */
.tile__demo--video { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; padding: 0; }
.vtile { position: relative; display: grid; align-content: end; padding: 5px 6px; border-radius: 6px; overflow: hidden; background: linear-gradient(150deg, var(--hue, #333), color-mix(in srgb, var(--hue, #333) 42%, #000)); }
.vtile b { font-family: var(--font-label); font-weight: 600; font-size: 0.62rem; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.65); }
.vtile--speaking { box-shadow: inset 0 0 0 2px var(--pink); }
.vtile--more { place-content: center; background: var(--bg-soft); color: var(--ink-soft); font-family: var(--font-label); font-weight: 600; font-size: 0.82rem; }
.tile__livepill { position: absolute; top: 7px; left: 7px; z-index: 3; background: rgba(0,0,0,0.55); padding: 2px 8px 2px 7px; border-radius: 999px; }
.tile__cap { position: absolute; top: 7px; right: 7px; z-index: 3; font-family: var(--font-label); font-weight: 600; font-size: 0.6rem; color: #fff; background: rgba(0,0,0,0.55); padding: 2px 7px; border-radius: 999px; }

/* TALK — mini audio room */
.tile__demo--audio { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; }
.spk-row { display: flex; gap: 14px; }
.spk-row .spk { position: relative; display: grid; place-items: center; }
.spk-row .avatar--xs { width: 34px; height: 34px; font-size: 0.78rem; border: none; }
.spk-row .spk i { position: absolute; bottom: -13px; font-style: normal; font-family: var(--font-label); font-weight: 600; font-size: 0.5rem; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); }
.audio-cap { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-label); font-weight: 600; font-size: 0.72rem; color: var(--ink-soft); }
.wave { display: inline-flex; align-items: center; gap: 4px; height: 26px; }
.wave i { width: 3px; background: var(--pink); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.wave i:nth-child(1){height:8px;animation-delay:0s}.wave i:nth-child(2){height:18px;animation-delay:.1s}.wave i:nth-child(3){height:12px;animation-delay:.2s}.wave i:nth-child(4){height:24px;animation-delay:.3s}.wave i:nth-child(5){height:10px;animation-delay:.15s}.wave i:nth-child(6){height:20px;animation-delay:.25s}.wave i:nth-child(7){height:7px;animation-delay:.05s}
@keyframes eq { 0%,100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }

/* DMS — mini chat thread */
/* DMS tile — messages scrolling back and forth */
.tile__demo--dms { display: block; padding: 0; position: relative; }
.dmscroll { height: 100%; overflow: hidden; padding: 0 15px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); }
.dmscroll__col { display: flex; flex-direction: column; animation: loopUp 16s linear infinite; }
.dmscroll__col .bubble { margin-bottom: 9px; }
.tile:hover .dmscroll__col { animation-play-state: paused; }
.dm-thread { display: flex; flex-direction: column; gap: 7px; }
.bubble { font-size: 0.84rem; padding: 8px 12px; border-radius: 16px; max-width: 78%; line-height: 1.3; width: fit-content; }
.bubble--in { background: var(--bg-soft); border: 1px solid var(--hairline-faint); align-self: flex-start; border-bottom-left-radius: 5px; }
.bubble--out { background: var(--pink); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.dm-eph { align-self: center; margin-top: 4px; }

/* ==========================================================================
   WRAPS — squircle story rail + interactive wrap-card carousel (app shape)
   ======================================================================== */
.storyrail { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; }
.storyrail::-webkit-scrollbar { display: none; }
.story { position: relative; flex: none; width: 70px; aspect-ratio: 0.84; border-radius: 17px; overflow: hidden; border: 2.5px solid var(--hue, var(--hairline)); box-shadow: 0 0 0 2px var(--bg); transition: transform .3s var(--ease-out); cursor: pointer; }
.story img { width: 100%; height: 100%; object-fit: cover; }
.story i { position: absolute; left: 2px; right: 2px; bottom: 4px; font-style: normal; text-align: center; font-family: var(--font-label); font-weight: 600; font-size: 0.56rem; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.95); }
.story:hover { transform: translateY(-4px); }
.story--add { border-color: var(--hairline); background: var(--bg-soft); display: grid; place-items: center; box-shadow: none; }
.story__add { display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 11px; border-radius: 50%; background: var(--pink); color: #fff; }
.story__add .ic { width: 15px; height: 15px; }
.story--add i { color: var(--ink-soft); text-shadow: none; }

/* swipeable wrap-card carousel (app-style photo posts) */
.wrapmarquee { overflow: hidden; padding: 18px 0 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.wrapmarquee__track { display: flex; width: max-content; animation: loopRight 60s linear infinite; }
.wrapmarquee:hover .wrapmarquee__track { animation-play-state: paused; }
.wrapcard {
  flex: 0 0 min(360px, 84vw); margin-right: 18px;
  background: linear-gradient(155deg, var(--bg-soft), var(--bg-soft-2));
  border: 1px solid var(--hairline); border-radius: 20px; overflow: hidden;
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out);
}
.wrapcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--hue) 40%, var(--hairline)); }
.wrapcard__byline { display: flex; align-items: center; gap: 11px; padding: 13px 15px; }
.wrapcard__id { min-width: 0; flex: 1; }
.wrapcard__id b { font-weight: 700; font-size: 0.95rem; display: block; }
.wrapcard__id span { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8rem; color: var(--ink-soft); }
.wrapcard__id span .ic { color: var(--hue); }
.wrapcard__more { color: var(--ink-softer); font-size: 1.05rem; line-height: 0.6; letter-spacing: 1.5px; align-self: flex-start; }
.wrapcard__photo { position: relative; overflow: hidden; cursor: pointer; user-select: none; }
.wrapcard__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform .55s var(--ease-out); }
.wrapcard__photo:hover img { transform: scale(1.045); }
.heart-burst { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; opacity: 0; }
.heart-burst .ic { width: 100px; height: 100px; color: #fff; filter: drop-shadow(0 8px 20px rgba(0,0,0,.5)); }
.heart-burst.go { animation: heartburst 0.85s var(--ease-out); }
@keyframes heartburst {
  0% { opacity: 0; transform: scale(.3); }
  22% { opacity: .95; transform: scale(1.12); }
  40% { transform: scale(.92); }
  56% { transform: scale(1.02); opacity: .95; }
  100% { opacity: 0; transform: scale(1.02); }
}
.wrapcard__actions { display: flex; align-items: center; gap: 18px; padding: 13px 15px 2px; }
.wraplike { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font-family: var(--font-label); font-weight: 600; font-size: 0.84rem; transition: color .2s; }
.wraplike .ic { width: 21px; height: 21px; }
.wraplike:hover { color: var(--ink); }
.wraplike.is-liked, .wraplike.is-liked .ic { color: var(--pink); }
.wrapcard__actions .act { font-size: 0.84rem; }
.wrapcard__actions .act .ic { width: 20px; height: 20px; }
.wrapcard__caption { margin: 9px 15px 16px; padding-left: 11px; font-size: 0.9rem; line-height: 1.45; color: var(--ink); border-left: 3px solid var(--hue); }
.wrapcard__caption b { font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .heart-burst.go { animation: none; }
  .wrapcard__photo img, .story, .wrapcard { transition: none; }
}

/* attached photo inside the hero PostCard */

/* field report — featured campus photo with an editorial cutline */
.field-report {
  display: grid; grid-template-columns: 0.82fr 1fr; gap: clamp(22px, 4vw, 52px);
  align-items: center; margin-top: var(--sp-3xl);
  padding-top: var(--sp-xl); border-top: 1px solid var(--hairline-faint);
}
.field-report__photo { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--hairline); aspect-ratio: 4 / 5; }
.field-report__photo img { width: 100%; height: 100%; object-fit: cover; }
.field-report__tag { position: absolute; top: 12px; left: 12px; }
.field-report__cap p.field-report__quote {
  font-family: var(--font-wordmark); font-weight: 900; font-style: italic; text-transform: lowercase;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.05; margin: 14px 0 16px;
  color: var(--ink); /* beat .field-report__cap p (the quote is a <p>) */
}
.field-report__quote em { color: var(--pink); font-style: italic; }
.field-report__cap p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; max-width: 42ch; }
.field-report__by { margin-top: 16px; font-family: var(--font-label); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink-softer); }
@media (max-width: 760px) { .field-report { grid-template-columns: 1fr; gap: 22px; } }

/* ==========================================================================
   LIVE & TALK — room cards
   ======================================================================== */
.lt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.roomcard {
  position: relative; padding: 18px;
  background: linear-gradient(155deg, color-mix(in srgb, var(--hue) 10%, var(--bg-soft)), var(--bg-soft-2));
  border: 1px solid color-mix(in srgb, var(--hue) 35%, var(--hairline)); border-radius: var(--r-tile);
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out);
}
.roomcard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--hue) 60%, var(--hairline)); }
.roomcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cap { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-label); font-weight: 600; font-size: 0.74rem; color: var(--ink-soft); }
.roomcard__title { font-family: var(--font-label); font-weight: 600; font-size: 1.12rem; line-height: 1.2; margin-bottom: 16px; }
.roomcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.avstack { display: inline-flex; align-items: center; }
.avstack .avatar { margin-right: -10px; }
.avstack__more { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); border: 2px solid var(--bg); font-family: var(--font-label); font-weight: 600; font-size: 0.66rem; color: var(--ink-soft); }
.roomcard__speakers { display: flex; gap: 12px; margin-bottom: 16px; }
.spk { position: relative; display: grid; place-items: center; }
.spk i { font-style: normal; position: absolute; bottom: -14px; font-size: 0.6rem; font-family: var(--font-label); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }
.spk--raise { width: 28px; height: 28px; border-radius: 50%; background: var(--bg); border: 1px dashed var(--hairline); color: var(--ink-soft); }
.roomcard__type { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.76rem; color: var(--ink-softer); font-family: var(--font-label); font-weight: 600; letter-spacing: .04em; }

/* ==========================================================================
   DMS — thread mock
   ======================================================================== */
.thread { max-width: 380px; margin-inline: auto; background: linear-gradient(180deg, var(--bg-soft), var(--bg)); border: 1px solid var(--hairline); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(0,0,0,.9); }
.thread__head { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--hairline-faint); }
.thread__head b { font-family: var(--font-label); font-weight: 600; font-size: 1.02rem; display: block; }
.thread__status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--ink-soft); }
.thread__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 16px; min-height: 180px; }
.thread__body .bubble { font-size: 0.92rem; }
.wavepill { align-self: center; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-label); font-weight: 600; font-size: 0.76rem; color: var(--pink); background: var(--pink-wash); border: 1px solid color-mix(in srgb, var(--pink) 35%, transparent); padding: 7px 13px; border-radius: var(--r-full); margin-top: 4px; }
.thread__composer { display: flex; align-items: center; gap: 10px; margin: 0 14px 12px; padding: 6px 8px 6px 16px; background: var(--bg-soft); border: 1px solid var(--hairline); border-radius: var(--r-full); }
.composer__input { flex: 1; color: var(--ink-softer); font-size: 0.9rem; }
.composer__send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pink); color: #fff; }
.thread__eph { display: flex; align-items: center; justify-content: center; gap: 6px; padding-bottom: 14px; font-size: 0.72rem; color: var(--ink-softer); }
[data-typed] { transition: opacity .3s, transform .3s; }
[data-typed].pending { opacity: 0; transform: translateY(6px); }

/* ==========================================================================
   MOMENTS — next issue teaser
   ======================================================================== */
.section--moments { position: relative; overflow: hidden; padding: 0; display: grid; place-items: center; min-height: clamp(560px, 82vh, 800px); border-top: 1px solid var(--hairline-faint); }
/* drifting wall of blurred campus photos */
.moments-wall { position: absolute; inset: -9% -2%; display: flex; gap: 14px; filter: blur(16px) brightness(.52) saturate(1); pointer-events: none; }
.mcol { flex: 1 0 0; min-width: 140px; display: flex; flex-direction: column; will-change: transform; animation: mup 42s linear infinite; }
.mcol--down { animation-name: mdown; }
.mcol:nth-child(2) { animation-duration: 54s; } .mcol:nth-child(3) { animation-duration: 46s; }
.mcol:nth-child(4) { animation-duration: 60s; } .mcol:nth-child(5) { animation-duration: 50s; }
.mcol:nth-child(6) { animation-duration: 44s; }
.mcol img { width: 100%; aspect-ratio: 0.78; object-fit: cover; border-radius: 16px; margin-bottom: 14px; }
@keyframes mup   { from { transform: translateY(0); }    to { transform: translateY(-50%); } }
@keyframes mdown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.moments-scrim { position: absolute; inset: 0; background: radial-gradient(ellipse 58% 62% at 50% 50%, rgba(10,10,15,0.93), rgba(10,10,15,0.7) 60%, rgba(10,10,15,0.5)); }
.moments__center { position: relative; z-index: 2; text-align: center; padding: 48px 24px; max-width: 540px; }
.moments__title { font-size: clamp(2.2rem, 6vw, 4rem); margin: 18px 0 14px; line-height: 1; text-shadow: 0 4px 30px rgba(0,0,0,0.6); }
.moments__center .lede { margin-inline: auto; }
.moments__center .ghost-link--btn { margin-top: var(--sp-lg); background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(6px); }
.tape--gold { display: inline-block; }
@media (prefers-reduced-motion: reduce) {
  .mcol, .feedscroll__col, .dmscroll__col, .wrap-rail, .wrapmarquee__track { animation: none; }
}

/* ==========================================================================
   SOCIAL PROOF — ticker + marquee + colophon
   ======================================================================== */
.ticker { display: flex; flex-direction: column; border: 1px solid var(--hairline); border-radius: var(--r-tile); overflow: hidden; background: var(--bg-soft); }
.ticker__row { display: flex; align-items: center; gap: 10px; padding: 15px 18px; font-size: 0.92rem; flex-wrap: wrap; }
.ticker__row + .ticker__row { border-top: 1px solid var(--hairline-faint); }
.ticker__row b { font-weight: 700; }
.avstack--sm .avatar { width: 22px; height: 22px; font-size: 0.6rem; }
.avstack--sm .avstack__more { width: 22px; height: 22px; font-size: 0.58rem; }

.marquee { margin-top: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--font-wordmark); font-weight: 900; font-style: italic; font-size: 1.5rem; color: var(--ink-softer); opacity: .5; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

.colophon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: var(--sp-3xl); }
.colophon__step { padding-top: 18px; border-top: 1px solid var(--hairline); }
.colophon__no { font-family: var(--font-label); font-weight: 700; font-size: 0.8rem; color: var(--pink); letter-spacing: 0.1em; }
.colophon__step h3 { font-family: var(--font-label); font-weight: 600; font-size: 1.2rem; margin: 8px 0 8px; }
.colophon__step p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.55; }
.colophon__step strong { color: var(--ink); }

/* ==========================================================================
   THE PASS — conversion card
   ======================================================================== */
.section--pass { border-top: 1px solid var(--hairline-faint); }
.pass { position: relative; text-align: center; max-width: 720px; margin-inline: auto; padding: clamp(36px, 6vw, 64px); border-radius: var(--r-xl); border: 1px solid color-mix(in srgb, var(--pink) 22%, var(--hairline)); background: radial-gradient(120% 130% at 50% -10%, rgba(255,0,110,0.10), transparent 55%), linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.pass__title { font-size: clamp(2.4rem, 7vw, 4.4rem); margin: 14px 0 12px; line-height: 0.95; }
.pass__sub { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: var(--sp-md); }
.pass__download { display: flex; justify-content: center; margin: var(--sp-lg) 0; }
.pass__or { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 var(--sp-md); color: var(--ink-softer); font-family: var(--font-label); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.pass__or::before, .pass__or::after { content: ""; height: 1px; width: clamp(28px, 12%, 60px); background: var(--hairline); }

.passform { max-width: 480px; margin-inline: auto; }
.passform__field { display: flex; gap: 10px; padding: 7px; background: var(--bg-soft); border: 1.5px solid var(--hairline); border-radius: var(--r-full); transition: border-color .2s, background .2s, box-shadow .2s; }
.passform__field:focus-within { border-color: var(--pink); background: var(--pink-wash); box-shadow: 0 0 0 4px rgba(255,0,110,0.08); }
.passform__input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: var(--ink); font-family: var(--font-body); font-size: 1rem; padding: 0 8px 0 16px; }
.passform__input::placeholder { color: var(--ink-softer); }
.passform__btn { flex: none; }
.passform.is-valid .passform__btn { animation: validpulse 0.9s ease-in-out infinite; }
@keyframes validpulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.025); } }

.passform__chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 14px; border-radius: var(--r-full); background: color-mix(in srgb, var(--chiphue, var(--pink)) 16%, transparent); border: 1px solid color-mix(in srgb, var(--chiphue, var(--pink)) 42%, transparent); color: var(--chiphue, var(--pink)); font-family: var(--font-label); font-weight: 600; font-size: 0.84rem; animation: chipin .4s var(--ease-spring); }
.passform__chip[hidden] { display: none; } /* author rule must re-honor the hidden attribute */
@keyframes chipin { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
.passform__note { display: block; margin-top: 14px; font-size: 0.85rem; color: var(--ink-softer); }
.passform__note.is-error { color: var(--danger, #ed4956); }
.passform__note.is-success { color: var(--ink); }

.trustrow { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin-top: var(--sp-xl); }
.trustrow li { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-label); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: lowercase; color: var(--ink-soft); }
.trustrow .ic { color: var(--ink-softer); }

/* ==========================================================================
   FOOTER
   ======================================================================== */
.footer { position: relative; padding-top: clamp(64px, 9vw, 120px); overflow: hidden; border-top: 1px solid var(--hairline-faint); }
.footer__watermark { position: absolute; left: 50%; bottom: -2vw; transform: translateX(-50%); font-size: clamp(7rem, 24vw, 19rem); color: var(--ink); opacity: 0.04; pointer-events: none; user-select: none; white-space: nowrap; }
.footer__inner { position: relative; }
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: var(--sp-3xl); }
.footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 240px; }
.footer__tag { font-family: var(--font-wordmark); font-weight: 900; font-style: italic; text-transform: lowercase; font-size: 1.3rem; line-height: 1.1; color: var(--ink); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 0.92rem; color: var(--ink-soft); transition: color .2s; width: max-content; }
.footer__col a:hover { color: var(--pink); }
.footer__col .kicker { margin-bottom: 4px; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0 36px; border-top: 1px solid var(--hairline-faint); font-size: 0.82rem; color: var(--ink-softer); }
.footer__spine { display: flex; height: 2px; }
.footer__spine span { flex: 1 1 0; }

/* ==========================================================================
   REVEAL animations (IntersectionObserver toggles .in)
   ======================================================================== */
/* clean, modern reveal: a soft rise + fade on a long expo-out curve,
   staggered per group via --reveal-order (set in main.js) */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(var(--reveal-order, 0) * 0.07s);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sticker, .live-dot i, .dot-pink, .wave i, .marquee__track, .passform.is-valid .passform__btn { animation: none !important; }
}

/* ==========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; padding-top: 40px; }
  .hero__deck { max-width: none; }
  .hero__cover { order: 2; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature--reverse .feature__copy { grid-template-columns: 1fr; }
  .feature--reverse .feature__copy { order: 0; }
  .lt-grid { grid-template-columns: 1fr; }
  .colophon { grid-template-columns: 1fr; gap: 0; }
  .colophon__step { padding: 18px 0; }
  .colophon__step + .colophon__step { border-top: 1px solid var(--hairline-faint); }
  .topbar__index { display: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 760px) {
  .masthead__left, .masthead__mid, .masthead__right { display: none; }
  .masthead { grid-template-columns: 1fr; padding-bottom: 8px; }
  .masthead::before { content: "yapp"; font-family: var(--font-wordmark); font-weight: 900; font-style: italic; text-transform: lowercase; font-size: 1.8rem; color: var(--ink); letter-spacing: -0.04em; }
  .phone__frame { transform: none; }
  .sticker { right: 8px; bottom: 8%; }
  .footer__base { flex-direction: column; }
}

@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: span 1; }
  .passform__field { flex-direction: column; border-radius: var(--r-lg); }
  .passform__input { padding: 13px 16px; text-align: center; } /* stacked input needs its own height */
  .passform__btn { width: 100%; justify-content: center; }
  .footer__cols { grid-template-columns: 1fr; }
  .topbar__cta { display: none; }
  .hero__cta { gap: 16px; }
}

/* ==========================================================================
   DISCOVER — bento tile demo (find verified students at your school)
   ======================================================================== */
.tile__demo--discover { display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 14px 16px; }
.disc { display: flex; align-items: center; gap: 9px; padding: 5px 7px; border: 1px solid var(--hairline-faint); border-radius: var(--r-full); background: var(--bg-soft); }
.disc .avatar--xs { width: 24px; height: 24px; font-size: 0.6rem; border: none; }
.disc i { flex: 1; font-style: normal; font-family: var(--font-label); font-weight: 600; font-size: 0.78rem; color: var(--ink); }
.disc__add { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--pink); color: #fff; }
.disc__add .ic { width: 11px; height: 11px; }

/* ==========================================================================
   COMPARE — yapp vs Yik Yak / Fizz / Sidechat table
   ======================================================================== */
.cmp-wrap {
  margin-top: var(--sp-xl); overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--hairline); border-radius: var(--r-tile); background: var(--bg-soft);
}
.cmp-table { width: 100%; min-width: 580px; border-collapse: collapse; font-size: 0.92rem; }
.cmp-table th, .cmp-table td { padding: 14px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--hairline-faint); }
.cmp-table thead th { font-family: var(--font-label); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.02em; color: var(--ink-soft); white-space: nowrap; }
.cmp-table tbody th[scope="row"] { font-family: var(--font-body); font-weight: 600; color: var(--ink); }
.cmp-table td { color: var(--ink-soft); }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: none; }
/* the yapp column — pink-washed and brand-forward */
.cmp-table .cmp-table__us { background: var(--pink-wash); color: var(--ink); }
.cmp-table thead th.cmp-table__us {
  font-family: var(--font-wordmark); font-style: italic; text-transform: lowercase;
  font-size: 1.25rem; font-weight: 900; letter-spacing: -0.04em; color: var(--pink);
}
.cmp-yes { color: var(--pink); font-weight: 800; font-size: 1.05rem; }
.cmp-no { color: var(--ink-softer); }
.cmp-note { margin-top: 14px; font-size: 0.8rem; line-height: 1.55; color: var(--ink-softer); max-width: 76ch; }

/* ==========================================================================
   FAQ — crawlable Q&A accordion (mirrors FAQPage JSON-LD)
   ======================================================================== */
.section--faq .faq { max-width: 820px; margin: var(--sp-xl) auto 0; }
.faq__item { border-bottom: 1px solid var(--hairline-faint); }
.faq__item:first-child { border-top: 1px solid var(--hairline-faint); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 4px; cursor: pointer; list-style: none; transition: color .2s;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 { font-family: var(--font-label); font-weight: 600; font-size: clamp(1rem, 2.4vw, 1.12rem); line-height: 1.3; color: var(--ink); transition: color .2s; }
.faq__q:hover h3 { color: var(--pink); }
/* plus -> minus toggle mark */
.faq__mark { position: relative; flex: none; width: 17px; height: 17px; }
.faq__mark::before, .faq__mark::after { content: ""; position: absolute; background: var(--pink); border-radius: 2px; transition: transform .25s var(--ease-out); }
.faq__mark::before { top: 7.5px; left: 0; width: 17px; height: 2px; }
.faq__mark::after { top: 0; left: 7.5px; width: 2px; height: 17px; }
.faq__item[open] .faq__mark::after { transform: scaleY(0); }
.faq__a { padding: 0 4px 22px; }
.faq__a p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.65; max-width: 70ch; }

@media (prefers-reduced-motion: reduce) {
  .faq__mark::before, .faq__mark::after { transition: none; }
}

/* ==========================================================================
   UNILINK — sister-product cross-promo (college Omegle / random video chat)
   ======================================================================== */
.section--unilink {
  border-top: 1px solid var(--hairline-faint);
  background:
    radial-gradient(90% 120% at 88% 0%, rgba(58, 134, 255, 0.07), transparent 55%),
    radial-gradient(80% 120% at 4% 100%, rgba(255, 0, 110, 0.08), transparent 55%);
}
.unilink { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.unilink__kicker { color: var(--pink); }
.unilink__title { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.02; margin: 14px 0 var(--sp-md); }
.unilink__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: var(--sp-xl); }
.unilink__btn { display: inline-flex; align-items: center; gap: 9px; }
.unilink__arrow { width: 20px; height: 20px; transition: transform .25s var(--ease-out); }
.unilink__btn:hover .unilink__arrow { transform: translateX(4px); }
.unilink__meta { font-family: var(--font-label); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: lowercase; color: var(--ink-softer); }

/* the "pairing two students" video-chat visual */
.unilink__visual { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.vchat { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 3vw, 26px); width: 100%; }
.vchat__tile {
  position: relative; flex: 1 1 0; min-width: 0; max-width: 200px; aspect-ratio: 3 / 4;
  border-radius: 18px; overflow: hidden; border: 1px solid var(--hairline);
  background: linear-gradient(160deg, var(--bg-soft), var(--bg));
}
.vchat__tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(82% 72% at 50% 34%, var(--tilehue), transparent 70%); }
.vchat__tile--a { --tilehue: rgba(255, 0, 110, 0.24); }
.vchat__tile--b { --tilehue: rgba(58, 134, 255, 0.24); }
.vchat__live {
  position: absolute; top: 10px; left: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 999px; background: rgba(10, 10, 15, 0.55); backdrop-filter: blur(6px);
  font-family: var(--font-label); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
}
.vchat__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); animation: vlive 1.4s ease-in-out infinite; }
@keyframes vlive { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.vchat__name {
  position: absolute; bottom: 10px; left: 10px; right: 10px; z-index: 1;
  font-family: var(--font-label); font-weight: 600; font-size: 0.74rem; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.vchat__link { display: flex; gap: 6px; flex: none; }
.vchat__link span { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); opacity: .35; animation: vlink 1.2s ease-in-out infinite; }
.vchat__link span:nth-child(2) { animation-delay: .2s; }
.vchat__link span:nth-child(3) { animation-delay: .4s; }
@keyframes vlink { 0%, 100% { opacity: .25; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }
.vchat__caption { font-family: var(--font-label); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.02em; color: var(--ink-softer); text-align: center; }

@media (max-width: 760px) {
  .unilink { grid-template-columns: 1fr; gap: 36px; }
  .unilink__visual { order: -1; }
  .vchat__tile { max-width: 150px; }
}

/* footer brand wordmark (replaces the removed multi-color seal) */
.footer__logo { font-size: 1.9rem; line-height: 1; color: var(--ink); }
