/* LINK Student Network — "quiet noticeboard"
   The feed is the page. Small lowercase type, lots of air, square corners.
   The only loud things are the hand-drawn logo, the posters and the photos.
   Palette is LINK's seven. Studio = Archivo + Instrument Serif, Folio = serif;
   LINK = Instrument Sans + Geist Mono. */

:root {
  --cream: #fff6ed;
  --paper: #f6e8dc;
  --wine: #820018;
  --pink: #ff2d87;
  --ink: #24060b;
  --mid: #7b5b60;
  --soft: #b09a9e;
  --on-wine: #ffc2d6;
  --black: #0d0204;

  --rule: rgba(36, 6, 11, .14);
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --display: var(--sans);

  --gutter: clamp(16px, 3.4vw, 48px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
::selection { background: var(--wine); color: var(--cream); }
:focus-visible { outline: 1.5px solid var(--wine); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.label, .mono { font: 12px/1.4 var(--mono); color: var(--mid); text-transform: lowercase; }
.wine { color: var(--wine); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── header: logo + quiet words ───────── */
.top { position: sticky; top: 0; z-index: 40; background: var(--cream); transition: transform .45s var(--ease); }
.top.hide { transform: translateY(-100%); }
.top .wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo img { height: 28px; width: auto; transition: transform .4s var(--ease); }
.logo:hover img { transform: rotate(-5deg); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a, .join-link { font-size: 14px; color: var(--mid); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.top-end { display: flex; align-items: center; gap: 20px; }
.join-link { color: var(--wine); font-weight: 500; }
.join-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; margin-right: -8px; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: .3s var(--ease); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -5px; } .burger span::after { top: 5px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }
.sheet { position: fixed; inset: 64px 0 0; z-index: 39; background: var(--cream); padding: 24px var(--gutter); display: none; flex-direction: column; gap: 6px; }
.menu-open .sheet { display: flex; }
.sheet a { font-size: 30px; letter-spacing: -.02em; }
.sheet a[aria-current="page"] { color: var(--wine); }
.sheet .join-link { margin-top: 18px; font-size: 30px; }

/* ───────── buttons ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.btn-wine { background: var(--wine); color: var(--cream); }
.btn-wine:hover { background: var(--ink); }
.btn-line { border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--wine); }
.btn-ghost { color: var(--mid); padding: 0 4px; }
.btn-ghost:hover { color: var(--ink); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }

/* ───────── home: intro ───────── */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); }
.hero .wrap { display: grid; grid-template-columns: 1fr minmax(280px, 380px); gap: 48px; align-items: end; }
.hero-line { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 20px; max-width: 14em; font-weight: 400; }
.sentence { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; margin: 0; color: var(--mid); font-weight: 400; }
.word { color: var(--wine); text-decoration: underline dotted; text-underline-offset: 5px; text-decoration-thickness: 1.5px; transition: color .2s; }
.word:hover { color: var(--pink); text-decoration-style: solid; }
.word.flip { animation: flip .4s var(--ease); }
@keyframes flip { 45% { opacity: 0; transform: translateY(-4px); } 55% { opacity: 0; transform: translateY(4px); } }
.word { display: inline-block; }
.hero-hint { font: 12px var(--mono); color: var(--soft); margin: 8px 0 0; }
.opening { font: 12px var(--mono); color: var(--wine); margin: 0 0 18px; }
.index { list-style: none; margin: 0; padding: 0; counter-reset: i; }
.index li { counter-increment: i; border-top: 1px solid var(--rule); }
.index li:last-child { border-bottom: 1px solid var(--rule); }
.index a { display: grid; grid-template-columns: 52px 1fr; padding: 10px 0; font: 12.5px/1.4 var(--mono); color: var(--ink); transition: color .2s; }
.index a::before { content: "[ " counter(i, decimal-leading-zero) " ]"; color: var(--soft); }
.index a:hover { color: var(--wine); }
.index-head { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.index-head i { width: 6px; height: 6px; background: var(--pink); animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.live-text { transition: opacity .35s; }
.live-text.out { opacity: 0; }

/* ───────── feed ───────── */
.feed-sec { padding: 0 0 clamp(56px, 8vw, 104px); }
.feed-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 20px; padding: 14px 0; margin-bottom: 20px; border-top: 1px solid var(--ink); flex-wrap: wrap; }
.feed-note { margin: 0; font-size: 13.5px; color: var(--mid); }
.feed-note b { color: var(--ink); font-weight: 500; }
.chips { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; font: 12.5px var(--mono); color: var(--mid); padding: 2px 0; transition: color .2s; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }

.masonry { display: flex; gap: 20px; align-items: flex-start; }
.m-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.feed-item { animation: rise .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* ───────── cards: image + caption, or a pinned note ───────── */
.card { position: relative; display: block; width: 100%; text-align: left; }
.card .media { position: relative; overflow: hidden; background: var(--paper); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, transform 1s var(--ease); }
.card:hover .media img { opacity: .9; transform: scale(1.02); }
.card .body { padding: 10px 0 0; }
.card h3 { font-size: 15px; font-weight: 500; line-height: 1.3; margin: 2px 0; letter-spacing: -.005em; }
.card:hover h3 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.card p { margin: 0; color: var(--mid); font-size: 13.5px; line-height: 1.45; }
.kind, .sample { position: absolute; top: 8px; z-index: 2; font: 11px/1 var(--mono); padding: 4px 6px; background: var(--cream); color: var(--ink); }
.kind { left: 8px; }
.sample { right: 8px; color: var(--mid); }
.tags { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 8px; }
.tag { font: 11.5px/1.5 var(--mono); color: var(--mid); }
.tag.role { color: var(--wine); }
.match { display: block; margin-top: 8px; font: 11.5px var(--mono); color: var(--pink); }
.follow { font: 11.5px var(--mono); color: var(--mid); text-decoration: underline; text-underline-offset: 3px; flex: none; }
.follow:hover, .follow.on { color: var(--wine); }

.v-card .media { aspect-ratio: 4/3; }
.v-card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.v-card .media .tint { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px; min-height: 0; }
.v-card .media .tint span { font-size: 26px; letter-spacing: -.03em; line-height: 1; }

/* pinned notes: people, opportunities, prompts */
.p-card, .block { background: var(--paper); padding: 16px; }
.p-card .sample { top: 10px; right: 10px; }
.p-card .body { padding: 0; }
.p-top { display: flex; gap: 10px; align-items: center; padding-right: 48px; }
.p-top h3 { margin: 0; }
.avatar { width: 36px; height: 36px; flex: none; display: grid; place-items: center; font-size: 15px; font-weight: 500; color: var(--cream); }
.avatar.lg { width: 72px; height: 72px; font-size: 28px; }
.card p.statement, .d-body p.statement { margin: 12px 0 0; color: var(--ink); font-size: 15px; line-height: 1.35; }
.status { display: block; margin-top: 8px; font: 11.5px var(--mono); color: var(--wine); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 14px; }
.tile { aspect-ratio: 1; overflow: hidden; display: flex; align-items: flex-end; padding: 6px; font-size: 11px; line-height: 1.15; }
.tile img { width: calc(100% + 12px); height: calc(100% + 12px); max-width: none; margin: -6px; object-fit: cover; }
.block { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 180px; }
.block .label { color: inherit; opacity: .7; }
.card.block .big { font-size: 22px; line-height: 1.12; letter-spacing: -.02em; margin: 0; color: var(--ink); }
.block.wine { background: var(--wine); color: var(--cream); }
.card.block.wine .big, .card.block.wine p { color: var(--cream); }
.block.pink { background: var(--pink); color: var(--black); }
.card.block.pink .big, .card.block.pink p { color: var(--black); }
.block.ink { background: var(--ink); color: var(--paper); }
.card.block.ink .big { color: var(--cream); }
.card.block.ink p { color: var(--soft); }
.block:hover .big { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.poster-card .media { aspect-ratio: 2/3; }
figure.poster-card { margin: 0; }

/* ───────── home: lower sections ───────── */
section { padding: clamp(56px, 8vw, 104px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-top: 14px; border-top: 1px solid var(--ink); margin-bottom: 24px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; letter-spacing: -.02em; margin: 0; }
.sec-head p { color: var(--mid); margin: 6px 0 0; max-width: 34em; font-size: 14.5px; }
.more { font-size: 14px; color: var(--wine); }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.posters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.band { background: var(--paper); padding: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.band h2 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; margin: 8px 0 10px; }
.band p { color: var(--mid); margin: 0; max-width: 30em; }
.band .idea { display: flex; border-bottom: 1px solid var(--ink); }
.band .idea input { flex: 1; min-width: 0; border: 0; outline: none; background: none; height: 48px; font-size: 17px; }
.band .idea input::placeholder { color: var(--soft); }
.band .idea button { font-size: 14px; font-weight: 500; color: var(--wine); padding: 0 0 0 12px; white-space: nowrap; }
.band .idea button:hover { text-decoration: underline; text-underline-offset: 4px; }

.statement-big { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.2; letter-spacing: -.02em; max-width: 24em; margin: 0; font-weight: 400; }
.statement-big span { color: var(--soft); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.pillar { padding-top: 14px; border-top: 1px solid var(--rule); }
.pillar h3 { font-size: 17px; font-weight: 500; margin: 8px 0 6px; }
.pillar p { color: var(--mid); margin: 0; font-size: 14.5px; }

/* ───────── list pages ───────── */
.page-head { padding: clamp(40px, 6vw, 80px) 0 24px; }
.page-head h1 { font-size: clamp(32px, 3.8vw, 52px); font-weight: 400; line-height: 1.06; letter-spacing: -.03em; margin: 10px 0 12px; }
.page-head p { color: var(--mid); font-size: 16px; max-width: 34em; margin: 0 0 28px; }
.tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--ink); }
.search { display: flex; align-items: center; gap: 10px; flex: 1 1 280px; }
.search svg { flex: none; width: 16px; color: var(--mid); }
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; height: 36px; font-size: 15px; }
.search input::placeholder { color: var(--soft); }
.toggle { display: inline-flex; align-items: center; gap: 8px; font: 12.5px var(--mono); color: var(--mid); cursor: pointer; flex: none; margin-left: auto; }
.toggle input { appearance: none; width: 30px; height: 16px; background: var(--rule); position: relative; cursor: pointer; transition: .2s; }
.toggle input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; background: var(--cream); transition: .2s var(--ease); }
.toggle input:checked { background: var(--wine); }
.toggle input:checked::after { left: 16px; }
#chips { padding: 14px 0 26px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 20px; align-items: start; }
.empty { padding: 60px 0; color: var(--mid); grid-column: 1 / -1; }
.empty b { display: block; font-size: 20px; font-weight: 400; color: var(--ink); margin-bottom: 4px; }

.o-list { border-top: 1px solid var(--rule); }
.o-row { display: grid; grid-template-columns: 44px 1.4fr 1fr 160px 20px; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); width: 100%; text-align: left; }
.o-row:hover h3 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.o-row h3 { font-size: 17px; font-weight: 500; margin: 0 0 2px; }
.o-row p { margin: 0; color: var(--mid); font-size: 14px; }
.o-mark { width: 40px; height: 40px; display: grid; place-items: center; font-size: 16px; font-weight: 500; color: var(--cream); }
.o-arrow { color: var(--mid); transition: transform .25s var(--ease), color .2s; }
.o-row:hover .o-arrow { color: var(--wine); transform: translateX(4px); }

.e-groups { display: grid; gap: 8px; }
.e-group { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding-top: 14px; border-top: 1px solid var(--rule); }
.e-date { position: sticky; top: 84px; align-self: start; }
.e-date b { display: block; font-size: 17px; font-weight: 500; }
.e-date span { color: var(--mid); font-size: 13.5px; }
.e-row { display: grid; grid-template-columns: 1fr 96px; gap: 20px; align-items: start; padding: 0 0 24px; }
.e-row .poster { width: 96px; aspect-ratio: 1; overflow: hidden; background: var(--paper); }
.e-row .poster img { width: 100%; height: 100%; object-fit: cover; }
.e-row h3 { font-size: 19px; font-weight: 500; margin: 2px 0 4px; letter-spacing: -.01em; }
.e-row .when { font: 12px var(--mono); color: var(--wine); }
.e-row .where { color: var(--mid); font-size: 13.5px; display: flex; gap: 14px; flex-wrap: wrap; }
.e-row .where svg { vertical-align: -2px; }
.going { display: block; margin-top: 8px; font: 11.5px var(--mono); color: var(--mid); }
.going i { display: none; }

/* ───────── drawer ───────── */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(36, 6, 11, .25); opacity: 0; pointer-events: none; transition: opacity .35s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(520px, 100%); background: var(--cream); overflow-y: auto; transform: translateX(100%); transition: transform .5s var(--ease); border-left: 1px solid var(--rule); }
.drawer-open .scrim { opacity: 1; pointer-events: auto; }
.drawer-open .drawer { transform: none; }
.drawer-open { overflow: hidden; }
.d-close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 3; width: 36px; height: 36px; background: var(--cream); display: grid; place-items: center; }
.d-close:hover { color: var(--wine); }
.d-media { aspect-ratio: 16/10; background: var(--paper); margin-top: -48px; }
.d-media img { width: 100%; height: 100%; object-fit: cover; }
.d-media .block { height: 100%; }
.d-media.poster { aspect-ratio: auto; padding: 64px 64px 28px; }
.d-media.poster img { height: auto; }
.d-body { padding: 24px 28px 40px; }
.d-body h2 { font-size: 30px; font-weight: 400; line-height: 1.08; letter-spacing: -.025em; margin: 8px 0 10px; }
.d-body h4 { font: 12px var(--mono); color: var(--mid); margin: 28px 0 10px; font-weight: 400; }
.d-body p { margin: 0 0 12px; }
.d-body .lead { font-size: 17px; }
.d-body .card[style] { background: var(--paper); }
.d-role { border-top: 1px solid var(--rule); padding: 12px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.d-role:last-of-type { border-bottom: 1px solid var(--rule); }
.d-role b { display: block; font-weight: 500; }
.d-role span { font-size: 13.5px; color: var(--mid); }
.d-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.privacy { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--mid); }
.privacy svg { flex: none; margin-top: 1px; color: var(--wine); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); }
.facts .label { display: block; }

/* ───────── team builder ───────── */
.tb { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; padding-bottom: 40px; }
.tb-panel { position: sticky; top: 84px; background: var(--paper); padding: 22px; }
.tb-panel h3 { font: 12px var(--mono); color: var(--mid); margin: 22px 0 10px; font-weight: 400; }
.tb-panel h3:first-child { margin-top: 0; }
.tb-panel textarea { width: 100%; min-height: 80px; resize: vertical; border: 0; border-bottom: 1px solid var(--ink); padding: 8px 0; background: none; outline: none; font-size: 16px; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { padding: 7px 11px; border: 1px solid var(--rule); font-size: 13.5px; background: var(--cream); transition: .2s; }
.opt:hover { border-color: var(--ink); }
.opt[aria-pressed="true"] { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.tb-out h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 400; letter-spacing: -.025em; line-height: 1.08; margin: 6px 0 10px; }
.tb-out > p { color: var(--mid); margin: 0 0 24px; max-width: 34em; }
.role-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.role-card { background: var(--paper); padding: 18px; animation: rise .5s var(--ease) both; }
.role-card .n { font: 11.5px var(--mono); color: var(--mid); }
.role-card h3 { margin: 8px 0 4px; font-size: 17px; }
.role-card .why { font-size: 13px; color: var(--wine); margin-top: 10px; }
.role-card .pool { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); font: 11.5px var(--mono); color: var(--mid); }
.role-card .pool .avatar { width: 20px; height: 20px; font-size: 10px; }
.role-card.you { background: var(--wine); color: var(--cream); }
.role-card.you p, .role-card.you .n { color: var(--on-wine); }
.tb-empty { border: 1px dashed var(--soft); padding: 56px 28px; color: var(--mid); }
.tb-empty b { display: block; font-size: 22px; font-weight: 400; color: var(--ink); margin-bottom: 6px; }

/* ───────── join ───────── */
.join { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 64px); }
.join-art { background: var(--wine); color: var(--cream); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow: hidden; }
.join-art h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 400; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 12px; max-width: 12em; }
.join-art p { color: var(--on-wine); max-width: 26em; margin: 0; }
.join-art .stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 520px; }
.join-art .stack img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.logo-cream { display: block; width: 69px; height: 34px; background: var(--cream); -webkit-mask: url(../img/logo.png) left center / contain no-repeat; mask: url(../img/logo.png) left center / contain no-repeat; }
.join-form { padding: clamp(28px, 4vw, 64px); max-width: 620px; }
.steps { display: flex; gap: 4px; margin-bottom: 32px; }
.steps span { height: 2px; flex: 1; background: var(--rule); transition: background .4s; }
.steps span.on { background: var(--wine); }
.step { display: none; animation: rise .5s var(--ease) both; }
.step.on { display: block; }
.step h1 { font-size: clamp(28px, 3vw, 40px); font-weight: 400; line-height: 1.08; letter-spacing: -.025em; margin: 8px 0; }
.step > p { color: var(--mid); margin: 0 0 24px; }
.field { margin-bottom: 20px; }
.field label { display: block; font: 12px var(--mono); color: var(--mid); margin-bottom: 6px; }
.field input { width: 100%; height: 46px; border: 0; border-bottom: 1px solid var(--ink); background: none; outline: none; font-size: 17px; }
.field input:focus { border-color: var(--wine); }
.field small { display: block; color: var(--mid); margin-top: 8px; font-size: 13px; }
.choice { display: grid; gap: 8px; }
.choice button { text-align: left; padding: 14px 16px; border: 1px solid var(--rule); background: var(--cream); transition: .2s; }
.choice button b { display: block; font-weight: 500; }
.choice button span { font-size: 13.5px; color: var(--mid); }
.choice button:hover { border-color: var(--ink); }
.choice button[aria-pressed="true"] { border-color: var(--wine); background: var(--paper); box-shadow: inset 3px 0 0 var(--wine); }
.step-nav { display: flex; justify-content: space-between; margin-top: 30px; gap: 10px; }
.found { display: grid; border-top: 1px solid var(--rule); }
.found .card { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.found .thumb { width: 56px; height: 56px; overflow: hidden; flex: none; background: var(--paper); display: grid; place-items: center; }
.found .thumb img { width: 100%; height: 100%; object-fit: cover; }
.found .thumb .avatar, .found .thumb .o-mark { width: 100%; height: 100%; }
.found h3 { margin: 0; }

/* join: two fields side by side */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field input[type=file] { border: 0; height: auto; padding: 8px 0; font-size: 14px; }

/* join: save your spot */
.save, .done { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--ink); }
.save > p, .done > p { margin: 8px 0 18px; }
.fine { font-size: 12.5px; color: var(--mid); }
.fine a { text-decoration: underline; text-underline-offset: 3px; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ───────── plain pages (privacy, terms, 404) ───────── */
.plain { max-width: 680px; padding: clamp(40px, 6vw, 80px) 0 80px; }
.plain h1 { font-size: clamp(32px, 3.8vw, 52px); font-weight: 400; line-height: 1.06; letter-spacing: -.03em; margin: 10px 0 12px; }
.plain h2 { font-size: 17px; font-weight: 500; margin: 36px 0 8px; padding-top: 14px; border-top: 1px solid var(--rule); }
.plain p, .plain li { color: var(--ink); font-size: 15.5px; line-height: 1.6; }
.plain ul { padding-left: 18px; }
.plain a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }

/* guardian consent checkbox */
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 14px; font-size: 15px; cursor: pointer; }
.consent input { margin-top: 4px; accent-color: var(--wine); }
[data-state][hidden] { display: none !important; }

/* ───────── footer: same skeleton as studio + folio, quiet like the rest ───────── */
.foot { background: var(--paper); color: var(--ink); overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 32ch; }
.foot-tag { margin: 0; font-size: 15px; line-height: 1.45; }
.foot-cta { font-size: 14px; font-weight: 500; color: var(--wine); }
.foot-cta:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-pillars { font: 12px var(--mono); color: var(--mid); }
.foot h4 { font: 12px var(--mono); color: var(--mid); margin: 0 0 12px; font-weight: 400; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 6px; font-size: 14px; color: var(--mid); }
.foot ul a { color: var(--ink); }
.foot ul a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.fam-list li { margin-bottom: 10px; }
.fam-list small { display: block; font: 11.5px var(--mono); color: var(--mid); margin-top: 1px; }
.foot-base { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--mid); }
.foot-base p { margin: 0; }
.foot-base .legal { flex: 1; min-width: 240px; }
.to-top { font: 12px var(--mono); white-space: nowrap; color: var(--ink); }
.to-top span { display: inline-block; transition: transform .4s var(--ease); }
.to-top:hover span { transform: translateY(-3px); }
.foot-giant { margin: 0; padding: 0 var(--gutter); font-size: 10.8vw; line-height: .78; letter-spacing: -.045em; color: var(--wine); white-space: nowrap; transform: translateY(.12em); user-select: none; }

/* ───────── classic header + homepage hero (from LINK's earlier site, 30 Nov 2026) ─────────
   Bebas Neue headline, DM Sans small caps, square buttons, wine rule, pink accents. */
:root { --bebas: "Bebas Neue", Impact, sans-serif; --dm: "DM Sans", system-ui, sans-serif; }
/* "cute" header: a pink pill strip of tiny friendly lines over a clean lowercase nav */
.top { border-bottom: 1px solid var(--rule); }
.top-strip { display: flex; align-items: center; justify-content: center; gap: 14px; height: 32px; background: var(--pink); color: var(--cream); font: 500 12.5px/1 var(--sans); letter-spacing: .01em; flex-wrap: wrap; padding: 0 var(--gutter); }
.top-strip span { white-space: nowrap; }
.top-strip span:nth-child(even) { opacity: .7; font-size: 10px; }
.top .top-row { height: 68px; display: flex; align-items: center; gap: 28px; }
.logo img { height: 42px; width: auto; transition: transform .35s var(--ease); }
.logo:hover img { transform: rotate(-6deg) scale(1.03); }
.nav { gap: 26px; margin-left: 12px; }
.nav a { position: relative; font: 500 15px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); text-decoration: none !important; padding: 6px 2px; }
.nav a::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 0; height: 6px; background: var(--squiggle-pink, linear-gradient(var(--pink), var(--pink))); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--wine); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--pink); color: var(--cream); border: 0; padding: 10px 18px; font: 600 14px/1 var(--sans); letter-spacing: 0; text-transform: none; white-space: nowrap; border-radius: 999px; transition: transform .2s var(--ease), background .2s; box-shadow: 0 2px 0 var(--wine); }
.nav-cta span { font-family: var(--sans); font-size: 15px; letter-spacing: 0; }
.nav-cta:hover { background: var(--wine); transform: translateY(-1px); box-shadow: 0 3px 0 var(--ink); }
.sheet { inset: 100px 0 0; }
.menu-open .top-strip { display: none; }
.menu-open .top .top-row { position: sticky; top: 0; }
@media (max-width: 900px) {
  .top-strip { height: 26px; font-size: 11.5px; gap: 8px; }
  .top-strip > span:not(.rotator):not(:first-child) { display: none; }
  .top-strip .rotator { min-width: 18ch; }
  .top .top-row { height: 60px; }
  .logo img { height: 36px; }
  .sheet { inset: 86px 0 0; }
}
@media (max-width: 560px) {
  .nav-cta { padding: 8px 14px; font-size: 13.5px; }
  .nav-cta span { font-size: 14px; }
}

.hero-classic { padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); }
.hero-classic .wrap { display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 700 11px/1 var(--dm); letter-spacing: .24em; text-transform: uppercase; color: var(--wine); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--pink); flex-shrink: 0; }
.hc-h1 { margin: 0; font: 400 clamp(80px, 10.5vw, 150px)/.86 var(--bebas); letter-spacing: .005em; text-transform: uppercase; color: var(--wine); }
.hc-h1 span { display: block; text-shadow: 3px 3px 0 rgba(255, 45, 135, .22); }
.hc-h1 .pink { color: var(--pink); text-shadow: 3px 3px 0 rgba(130, 0, 24, .14); }
.hc-sub { max-width: 30em; margin: 26px 0 0; font: 400 17px/1.55 var(--dm); color: var(--ink); }
.hc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-c { display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px; border: 2px solid var(--wine); color: var(--wine); background: transparent; font: 700 11.5px/1 var(--dm); letter-spacing: .16em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn-c .arr { font: 400 19px/1 var(--bebas); letter-spacing: 0; }
.btn-c:hover { background: var(--wine); color: var(--cream); transform: translateY(-2px); }
.btn-c-pink { background: var(--pink); border-color: var(--pink); color: var(--cream); }
.btn-c-pink:hover { background: var(--wine); border-color: var(--wine); }
.hc-card { position: relative; background: var(--cream); border: 2px solid var(--wine); padding: 26px 22px 22px; box-shadow: 14px 14px 0 var(--pink); }
.hc-spark { position: absolute; top: 10px; right: 12px; color: var(--pink); font-size: 22px; line-height: 1; }
.hc-card-label { margin: 0 0 16px; font: 700 11px/1 var(--dm); letter-spacing: .24em; text-transform: uppercase; color: var(--pink); }
.hc-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; margin-top: 10px; border: 2px solid var(--wine); font: 700 11px/1 var(--dm); letter-spacing: .18em; text-transform: uppercase; color: var(--wine); transition: background .2s, color .2s, transform .15s; }
.hc-row span { font: 400 18px/1 var(--bebas); color: var(--pink); }
.hc-row:hover { background: var(--wine); color: var(--cream); transform: translateX(3px); }
.hc-row:hover span { color: var(--cream); }
/* the playable sentence sits just under the classic hero now */
.hero-classic + .hero { padding-top: 0; }
.hero-classic + .hero .wrap { border-top: 1px solid var(--rule); padding-top: clamp(24px, 3vw, 36px); }
.hero-classic + .hero .sentence { font-size: clamp(18px, 1.8vw, 24px); color: var(--ink); }
@media (max-width: 900px) {
  .hero-classic .wrap { grid-template-columns: 1fr; }
  .hc-card { max-width: 420px; margin-right: 14px; }
  .nav-cta { padding: 9px 12px; }
}
@media (max-width: 560px) {
  .hc-h1 { font-size: 27vw; }
  .btn-c { padding: 13px 16px; }
  .nav-cta span { display: none; }
  .eyebrow { letter-spacing: .14em; font-size: 10px; }
}

/* ───────── scroll reveal (text never depends on JS) ───────── */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; translate: -50% 16px; opacity: 0; background: var(--ink); color: var(--cream); padding: 11px 16px; font-size: 14px; transition: .35s var(--ease); pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.on { translate: -50% 0; opacity: 1; }

/* ───────── responsive ───────── */
@media (max-width: 1080px) {
  .posters { grid-template-columns: repeat(2, 1fr); }
  .tb { grid-template-columns: 1fr; }
  .tb-panel { position: static; }
  .foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .top-end { margin-left: auto; }
  .burger { display: inline-flex; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .band { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 20px; }
  .o-row { grid-template-columns: 40px 1fr 20px; }
  .o-row .o-mid, .o-row .o-when { display: none; }
  .e-group { grid-template-columns: 1fr; gap: 10px; }
  .e-date { position: static; }
  .join { grid-template-columns: 1fr; }
  .join-art .stack { display: none; }
}
@media (max-width: 560px) {
  .masonry { gap: 12px; }
  .m-col { gap: 22px; }
  .card h3 { font-size: 14px; }
  .card p { font-size: 13px; }
  .p-card, .block { padding: 12px; }
  .card p.statement { font-size: 14px; }
  .card.block .big { font-size: 18px; }
  .follow { display: none; }
  .posters { gap: 12px; }
  .e-row { grid-template-columns: 1fr 72px; }
  .e-row .poster { width: 72px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot-top > div:last-child { grid-column: 1 / -1; }
  .d-media.poster { padding: 56px 36px 20px; }
  .d-body { padding: 20px 20px 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
}


/* post-a-venture selects and role drafts */
.sel { width: 100%; height: 46px; border: 0; border-bottom: 1px solid var(--ink); background: none; outline: none; font-size: 17px; }
.toggle { font-size: 13px; color: var(--mid); display: inline-flex; align-items: center; gap: 8px; }
.toggle input { accent-color: var(--wine); }


/* ═════════════════════════════════════════════════════════════════════════
   hand-drawn layer (1 dec 2026): small cute touches — scribble underlines,
   stickers, letter scrap, pins, polaroid tilts. keeps the "quiet noticeboard"
   feel but makes every page feel built by a person, not an AI.
   ═════════════════════════════════════════════════════════════════════════ */

/* floating sparkles — gently drift around the hero and section headings */
.sparkle { position: absolute; width: 14px; height: 14px; color: var(--pink); pointer-events: none; animation: twinkle 3.8s ease-in-out infinite; }
.sparkle.wine { color: var(--wine); }
.sparkle.sm { width: 10px; height: 10px; }
.sparkle.lg { width: 22px; height: 22px; }
.sparkle:nth-child(2n) { animation-delay: -1.4s; animation-duration: 4.6s; }
.sparkle:nth-child(3n) { animation-delay: -2.7s; animation-duration: 5.2s; }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.85) rotate(0deg); } 50% { opacity: 1; transform: scale(1.1) rotate(18deg); } }

/* scribble underline — a hand-drawn squiggle under a word or phrase */
.scribble { position: relative; display: inline-block; }
.scribble::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: -8px; height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 10' preserveAspectRatio='none'><path d='M2 6 C 20 1, 40 9, 60 4 S 100 9, 120 3 S 158 8, 158 4' stroke='%23ff2d87' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
  background-size: 100% 100%; background-repeat: no-repeat; opacity: .9;
}
.scribble.wine::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 10' preserveAspectRatio='none'><path d='M2 6 C 20 1, 40 9, 60 4 S 100 9, 120 3 S 158 8, 158 4' stroke='%23820018' stroke-width='2' fill='none' stroke-linecap='round'/></svg>"); }

/* letter-scrap: a signed note that feels written by a person */
.letter { position: relative; background: var(--cream); border: 1.5px solid var(--ink); padding: 32px 36px 28px; max-width: 540px; margin: 0; box-shadow: 10px 10px 0 var(--pink); font-size: 16.5px; line-height: 1.55; color: var(--ink); rotate: -.7deg; }
.letter::before, .letter::after { content: ""; position: absolute; width: 56px; height: 18px; background: rgba(255, 45, 135, .35); top: -9px; }
.letter::before { left: 22px; rotate: -4deg; }
.letter::after { right: 22px; rotate: 6deg; }
.letter .stamp { display: inline-block; font: 11px var(--mono); color: var(--wine); border: 1px dashed var(--wine); padding: 4px 10px; margin: 0 0 18px; letter-spacing: .08em; text-transform: uppercase; }
.letter p { margin: 0 0 12px; }
.letter p:last-of-type { margin-bottom: 18px; }
.letter .sig { font-family: "Bebas Neue", Impact, sans-serif; font-size: 34px; letter-spacing: .02em; color: var(--wine); line-height: 1; rotate: -4deg; display: inline-block; margin-top: 4px; }
.letter .sig-under { display: block; font: 11.5px var(--mono); color: var(--mid); margin-top: 6px; }
.letter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.letter-row .aside { color: var(--mid); font-size: 15px; line-height: 1.6; max-width: 32em; }
.letter-row .aside h2 { font-size: clamp(26px, 2.6vw, 34px); color: var(--ink); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 14px; }
.letter-row .aside h2 em { font-style: normal; color: var(--wine); }
@media (max-width: 900px) { .letter-row { grid-template-columns: 1fr; gap: 32px; } .letter { rotate: 0deg; } }

/* sticker strip — 7 LINK colours, tiny circles that nudge on hover */
.stickers { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 24px 0 0; }
.stickers .label { margin-right: 4px; }
.stickers .dot { width: 20px; height: 20px; border-radius: 50%; display: inline-block; transition: transform .25s var(--ease); }
.stickers .dot:hover { transform: translateY(-3px) scale(1.15); }

/* cities row — "built here" pill chips */
.cities { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 18px; }
.cities .pill { font: 500 13px/1 var(--sans); color: var(--wine); background: var(--cream); border: 1.5px solid var(--wine); padding: 7px 14px 8px; border-radius: 999px; transition: .2s; display: inline-flex; align-items: center; gap: 6px; }
.cities .pill:hover { background: var(--wine); color: var(--cream); transform: translateY(-1px); }
.cities .pill.active { background: var(--pink); color: var(--cream); border-color: var(--pink); }
.cities .soon { color: var(--soft); border-color: var(--rule); background: transparent; }
.cities .soon:hover { background: var(--paper); color: var(--mid); border-color: var(--soft); transform: none; }

/* pin motif — little thumbtack above a card */
.pinned { position: relative; }
.pinned::before { content: ""; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--pink); box-shadow: 0 2px 0 rgba(130, 0, 24, .35), inset -2px -2px 3px rgba(130, 0, 24, .4); z-index: 2; }

/* polaroid tilts — LINK nights posters feel pinned to a cork board */
.posters .poster-card:nth-child(1) { rotate: -1.2deg; }
.posters .poster-card:nth-child(2) { rotate: .8deg; }
.posters .poster-card:nth-child(3) { rotate: -.6deg; }
.posters .poster-card:nth-child(4) { rotate: 1.1deg; }
.posters .poster-card { transition: rotate .4s var(--ease), translate .3s var(--ease); }
.posters .poster-card:hover { rotate: 0deg; translate: 0 -4px; }
@media (max-width: 900px) { .posters .poster-card { rotate: 0deg !important; } }

/* cuter empty states — a little drawing, warmer copy */
.empty-cute { padding: 56px 0 72px; text-align: left; color: var(--mid); grid-column: 1 / -1; }
.empty-cute svg { margin: 0 0 18px; }
.empty-cute b { display: block; font-size: 22px; font-weight: 400; color: var(--ink); letter-spacing: -.01em; margin: 0 0 6px; }
.empty-cute p { margin: 0; max-width: 32em; font-size: 15px; line-height: 1.55; }
.empty-cute .doodle { color: var(--pink); }
.empty-cute .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font: 500 14px/1 var(--sans); color: var(--wine); border-bottom: 1.5px solid var(--wine); padding-bottom: 2px; }
.empty-cute .go:hover { color: var(--pink); border-color: var(--pink); }

/* tiny "today on LINK" date stamp */
.today-stamp { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; border: 1.5px dashed var(--wine); color: var(--wine); font: 500 12px/1 var(--mono); text-transform: lowercase; letter-spacing: .04em; margin: 0 0 20px 18px; rotate: -1.2deg; vertical-align: middle; }
.today-stamp .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); animation: blink 1.6s steps(2, start) infinite; }

/* hc-h1 decorations — a little sparkle cluster beside the wine headline */
.hc-copy { position: relative; }
.hc-deco { position: absolute; width: 60px; height: 60px; pointer-events: none; color: var(--pink); }
.hc-deco.one { top: -28px; left: -8px; transform: rotate(-12deg); }
.hc-deco.two { display: none; } /* the single sparkle is enough */

/* promise strip — three handwritten lines above the footer */
.promise { padding: 72px 0; border-top: 1px solid var(--ink); }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.promise li { position: relative; padding-left: 36px; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.promise li::before { content: "✦"; position: absolute; left: 0; top: -2px; font-size: 22px; color: var(--pink); }
.promise li b { font-weight: 500; color: var(--wine); }
@media (max-width: 900px) { .promise ul { grid-template-columns: 1fr; gap: 20px; } }

/* 404: give it a face */
.notfound-art { display: block; margin: 0 0 24px; color: var(--wine); }

/* logo wiggle on click — because why not */
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(6deg); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(2deg); } }
.logo img.wiggle { animation: wiggle .6s var(--ease); }

/* confetti burst — spawned by JS on the join CTA */
.confetti { position: fixed; pointer-events: none; z-index: 100; width: 10px; height: 10px; }
.confetti.c1 { background: var(--pink); }
.confetti.c2 { background: var(--wine); }
.confetti.c3 { background: var(--cream); border: 1px solid var(--wine); }
.confetti.c4 { background: var(--ink); }

/* a cute marquee for the top-strip that gets more lines rotating in, no scrolling */
.top-strip .rotator { display: inline-flex; overflow: hidden; height: 1.1em; vertical-align: -2px; min-width: 14ch; justify-content: center; }
.top-strip .rotator span { display: inline-block; opacity: 0; animation: swap 10s linear infinite; }
.top-strip .rotator span:nth-child(1) { animation-delay: 0s; }
.top-strip .rotator span:nth-child(2) { animation-delay: 2.5s; }
.top-strip .rotator span:nth-child(3) { animation-delay: 5s; }
.top-strip .rotator span:nth-child(4) { animation-delay: 7.5s; }
@keyframes swap { 0%, 22% { opacity: 1; transform: translateY(0); } 25%, 97% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .top-strip .rotator span { opacity: 1; animation: none; } .top-strip .rotator span ~ span { display: none; } }

/* feed items — ever so gentle lift on hover */
.v-card, .p-card { transition: translate .2s var(--ease); }
.v-card:hover, .p-card:hover { translate: 0 -2px; }

/* signed-by-riya tiny tag in the footer */
.foot-signed { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font: 12px var(--mono); color: var(--mid); }
.foot-signed svg { color: var(--pink); }

/* make the giant footer wordmark a little livelier with a star suffix */
.foot-giant::after { content: " ✦"; color: var(--pink); font-size: .7em; vertical-align: 1em; }

.pillar-icon { color: var(--wine); margin-bottom: 14px; display: block; }
.pillar { padding-top: 14px; }

/* FAQ — hand-stacked questions, with a wine caret that rotates on open */
.faq { display: grid; gap: 0; margin-top: 8px; }
.faq details { border-top: 1px solid var(--rule); padding: 18px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 400; color: var(--ink); letter-spacing: -.01em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--wine); }
.faq .caret { font: 400 24px/1 var(--mono); color: var(--pink); transition: transform .3s var(--ease); flex: none; }
.faq details[open] .caret { transform: rotate(45deg); color: var(--wine); }
.faq p { margin: 10px 0 0; color: var(--mid); font-size: 15.5px; line-height: 1.6; max-width: 48em; animation: rise .35s var(--ease) both; }

/* join flow — multi-step progress dots */
.pdots { display: flex; gap: 6px; margin: 0 0 22px; }
.pdots span { height: 4px; flex: 1; background: var(--rule); transition: background .25s var(--ease); }
.pdots[data-step="1"] span:nth-child(-n+1) { background: var(--wine); }
.pdots[data-step="2"] span:nth-child(-n+2) { background: var(--wine); }
.pdots[data-step="3"] span:nth-child(-n+3) { background: var(--wine); }
.pdots[data-step="4"] span:nth-child(-n+4) { background: var(--wine); }
.pdots[data-step="5"] span:nth-child(-n+5) { background: var(--wine); }
.pdots[data-step="6"] span:nth-child(-n+6) { background: var(--wine); }
.pdots[data-step="7"] span { background: var(--wine); }

/* password field with show/hide toggle sitting on the baseline */
.field.pw { position: relative; }
.field.pw input { padding-right: 56px; }
.field.pw .pw-toggle { position: absolute; right: 0; bottom: 14px; font: 500 12.5px/1 var(--mono); color: var(--wine); padding: 4px 6px; background: transparent; letter-spacing: .04em; }
.field.pw .pw-toggle:hover { color: var(--pink); }

/* members (admin) tiles and lists */
.m-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.m-nums .m-tile { background: var(--paper); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.m-nums .m-k { font: 11.5px var(--mono); color: var(--mid); text-transform: lowercase; letter-spacing: .04em; }
.m-nums .m-v { font: 500 32px/1 var(--sans); color: var(--wine); letter-spacing: -.02em; }
.m-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.m-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.m-list li b { font-family: var(--mono); font-weight: 500; color: var(--wine); }
@media (max-width: 720px) { .m-nums { grid-template-columns: repeat(2, 1fr); } }

/* member row cards for the staff directory */
.m-row { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.m-row:first-child { border-top: 1px solid var(--rule); }
.m-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.m-chip { display: inline-flex; align-items: center; padding: 3px 8px; background: var(--paper); font: 11.5px var(--mono); color: var(--ink); letter-spacing: .02em; }
.m-skill { display: inline-flex; align-items: center; padding: 3px 8px; border: 1px solid var(--rule); font: 11.5px var(--mono); color: var(--wine); }

/* ───────── global auth state ─────────
   api.js adds `signed-in` or `signed-out` to <html> once the session is known.
   Pages mark anon-only blocks with data-anon and member-only blocks with
   data-auth; CSS hides whichever doesn't apply. `auth-maybe` is a pre-paint
   hint set by the inline bootstrap in head() when a supabase auth-token key
   exists in localStorage — it hides anon CTAs instantly so returning members
   never see the join call to action flash before we confirm the session.*/
[data-auth] { display: none; }
html.signed-in [data-anon],
html.auth-maybe [data-anon] { display: none !important; }
html.signed-in [data-auth] { display: revert; }
/* small signed-in-only avatar chip in the header, far right */
.sig-chip { display: none; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border: 1px solid var(--rule); background: var(--cream); font: 500 13px/1 var(--sans); color: var(--ink); border-radius: 999px; }
html.signed-in .sig-chip { display: inline-flex; }
.sig-chip .sig-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--wine); color: var(--cream); display: grid; place-items: center; font: 500 13px/1 var(--sans); }
.sig-chip:hover { border-color: var(--wine); }

/* founder-side "who might fit this role" suggestions on the account page */
.suggest { margin: 10px 0 18px; }
.suggest .chip { background: var(--paper); padding: 6px 10px; }
.sg-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rule); }
.sg-row { padding: 10px 12px; background: var(--cream); border: 1px solid var(--rule); }

/* sig-chip dropdown — only shows when signed in (parent .sig-chip rule) */
.sig-wrap { position: relative; display: none; }
html.signed-in .sig-wrap { display: inline-flex; }
.sig-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--cream); border: 1px solid var(--rule); box-shadow: 8px 8px 0 var(--pink); min-width: 200px; z-index: 50; padding: 6px; display: flex; flex-direction: column; }
.sig-menu[hidden] { display: none; }
.sig-menu a, .sig-menu button { padding: 10px 14px; font: 500 14px/1 var(--sans); color: var(--ink); text-align: left; background: transparent; border: 0; cursor: pointer; }
.sig-menu a:hover, .sig-menu button:hover { background: var(--paper); color: var(--wine); }
.sig-menu hr { border: 0; border-top: 1px solid var(--rule); margin: 4px 0; }
.sig-menu button[data-signout] { color: var(--wine); }
