/* Generation ReMix intake. One file on purpose, so a designer can restyle it in one go.
   Tokens come from the questionnaire (remix_questionnaire.html): white page, Silver Surfers
   logo colours. Fonts: Fraunces (headings), Nunito (body), Caveat (the friendly hand). */

:root {
  --paper: #ffffff;
  --ink: #23252b;
  --soft: #5b606b;
  --blue: #2f5fd0;
  --blue-dark: #2149a8;
  --sky: #12a4ec;
  --skysoft: #eaf7fe;
  --sun: #ffd23f;
  --sunsoft: #fff7d1;
  --red: #c42a20;
  --redsoft: #fdecea;
  --line: #e7e9ef;
  --line-strong: #c9cedb;
  --radius: 16px;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-head: "Fraunces", Georgia, serif;
  --font-hand: "Caveat", "Segoe Script", cursive;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.6 var(--font-body);
  overflow-wrap: break-word;
}
img { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 .9em; }
strong { font-weight: 800; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: .6em 1em; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* Header and footer */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; max-width: 760px; margin: 0 auto; padding: 14px 16px 0; }
.top nav a { font-weight: 700; text-decoration: none; padding: 10px 4px; display: inline-block; }
.brand { text-decoration: none; color: inherit; display: inline-block; padding: 6px 0; }
.page { max-width: 760px; margin: 0 auto; padding: 8px 16px 40px; }
.foot { max-width: 47.5rem; margin: 0 auto; padding: 24px 16px 48px; border-top: 2px dotted #d5d9e2; color: var(--soft); font-size: 1rem; }
.foot p { margin: 0 0 .4em; }

/* Wordmark: GENERATION ReMix, Mix in sky blue with the sun swoosh like the logo */
.word { font-family: var(--font-head); font-weight: 800; line-height: 1; display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 .35em; isolation: isolate; }
.word .gen { font: 800 .38em/1 var(--font-body); letter-spacing: .3em; text-transform: uppercase; color: var(--blue); }
.word .mix { color: var(--sky); font-style: italic; font-weight: 700; position: relative; }
.word .mix::after { content: ""; position: absolute; left: .05em; right: -.05em; bottom: -.08em; height: .14em; background: var(--sun); border-radius: 1em; z-index: -1; transform: rotate(-1.5deg); }
.brand .word { font-size: 1.5rem; }

/* Hero */
.hero { padding: 16px 0 8px; }
.hero.center { text-align: center; }
.eyebrow { font: 800 0.875rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 0 0 10px; }
.title { margin: 0 0 0.375rem; font-size: clamp(2.125rem, 9vw, 3.25rem); }
.title.small { font-size: clamp(1.875rem, 7vw, 2.5rem); font-family: var(--font-head); font-weight: 800; }
.title .word .gen { font-size: .3em; }
.sub1 { font: 600 clamp(1.1875rem, 4.5vw, 1.5rem)/1.3 var(--font-head); margin: 0 0 0.75rem; }
.hello { font: 700 clamp(1.625rem, 6vw, 2rem)/1.15 var(--font-hand); color: var(--blue); margin: 0.875rem 0 0.375rem; }
.lede { font-size: 1.1875rem; max-width: 34em; }
.center .lede { margin-left: auto; margin-right: auto; }
.note { background: var(--skysoft); border-radius: var(--radius); padding: 0.875rem 18px; font-size: 1.0625rem; }
.opt { font: 700 0.8125rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--soft); background: #f1f3f7; border-radius: 99px; padding: 3px 9px; white-space: nowrap; vertical-align: middle; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.center .cta { justify-content: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 28px; border-radius: 99px; font: 800 1.125rem/1 var(--font-body); text-decoration: none; border: 2px solid var(--blue); cursor: pointer; transition: transform .1s, background .15s; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-dark); color: #fff; }
.btn.ghost { background: #fff; color: var(--blue); }
.btn.ghost:hover { background: var(--skysoft); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Form */
.intake { margin-top: 18px; }
.block { margin: 28px 0; }
.part { font-size: 1.5rem; display: flex; flex-direction: column; gap: 4px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 3px solid var(--sun); }
.part span { font: 800 0.8125rem/1 var(--font-body); letter-spacing: .28em; text-transform: uppercase; color: var(--blue); }
.q { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
fieldset.q { border: 0; padding: 0; margin-left: 0; margin-right: 0; }
.ql { display: flex; gap: 0.75rem; align-items: flex-start; font: 600 1.1875rem/1.35 var(--font-head); margin: 0 0 6px; padding: 0; width: 100%; }
.ql.sm { font: 700 1rem/1.3 var(--font-body); margin: 14px 0 6px; }
.num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font: 800 16px/34px var(--font-head); text-align: center; margin-top: -2px; }
.help { color: var(--soft); font-size: 1rem; margin: 0 0 8px; }
.q > .help, fieldset.q > .help { margin-left: 46px; }
.q .in, .q .choices, .q .err, .q .other-wrap, .q .choice.solo { margin-left: 46px; }
.q .in, .other-wrap .in { width: calc(100% - 46px); }
.other-wrap .in { width: 100%; }
.other-wrap { margin-left: 46px; }
.other-wrap[hidden] { display: none; }
.in { display: block; width: 100%; min-height: 3.25rem; padding: 12px 14px; font: 400 1.125rem/1.4 var(--font-body); color: var(--ink); background: #fff; border: 2px solid var(--line-strong); border-radius: 12px; }
.in:focus { border-color: var(--blue); outline: 3px solid rgba(47, 95, 208, .3); outline-offset: 1px; }
.ta { min-height: 110px; resize: vertical; }
.has-err .in { border-color: var(--red); background: var(--redsoft); }
.err { color: var(--red); font-weight: 700; font-size: 1rem; margin: 6px 0 0; display: flex; gap: 8px; }
.err span { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; text-align: center; font: 800 14px/22px var(--font-body); margin-top: 2px; }
.choices { display: grid; gap: 8px; margin-top: 6px; }
.choices.inline { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); }
.choice { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; line-height: 1.35; }
.choice:hover { border-color: var(--sky); }
.choice input { flex: none; width: 24px; height: 24px; accent-color: var(--blue); margin: 0; }
.choice:has(input:checked) { background: var(--skysoft); border-color: var(--sky); }
.choice:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.choice.solo { margin-top: 10px; }
.has-err .choice { border-color: #e9b4af; }
.consent { background: var(--sunsoft); border-radius: var(--radius); padding: 16px; }
.consent .choice { background: transparent; border: 0; padding: 0; align-items: flex-start; margin-left: 0; }
.consent .choice input { margin-top: 3px; width: 28px; height: 28px; }
.consent.has-err { outline: 3px solid var(--red); }
.consent .err { margin-left: 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary { background: var(--redsoft); border: 2px solid var(--red); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 24px; }
.summary h2 { font-size: 1.375rem; color: var(--red); margin-bottom: 6px; }
.summary ul { margin: 0 0 8px; padding-left: 20px; }
.summary li { margin-bottom: 6px; }
.summary a { color: var(--ink); font-weight: 700; }
.small { font-size: 0.9375rem; color: var(--soft); }

.submit-row { margin: 28px 0 10px; }
.submit-row .btn { width: 100%; font-size: 1.25rem; min-height: 60px; }
.thanks { text-align: center; margin: 28px 0 0; padding-top: 18px; border-top: 2px dotted #d5d9e2; color: var(--soft); font-style: italic; }
.thanks .big { font: 700 1.75rem/1.15 var(--font-hand); font-style: normal; color: var(--blue); margin-bottom: 4px; }

/* Photo block, top of the form */
.top-block { background: #fbfcfe; border: 2px solid var(--line); border-radius: 20px; padding: 18px; }
.top-block .q .in, .top-block .q .help, .top-block .q .err { margin-left: 0; }
.top-block .q .in { width: 100%; }
.photo-block { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: start; margin-bottom: 20px; }
.photo-col { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.photo-col .btn { min-height: 2.875rem; padding: 0 16px; font-size: 1rem; text-align: center; line-height: 1.2; }
.photo-text .ql { margin-bottom: 4px; }
.file { width: 100%; max-width: 100%; font: 400 1rem var(--font-body); }
.hint { color: var(--blue-dark); font-weight: 700; font-size: 1rem; min-height: 0; margin: 8px 0 0; }
.hint:empty { display: none; }
.hint.warn { background: var(--sunsoft); border-radius: 10px; padding: 8px 12px; color: var(--ink); }
.photo-block.has-err .avatar { border-color: var(--red); }

.avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--skysoft); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--sky); overflow: hidden; display: flex; align-items: center; justify-content: center; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar .ini { font: 800 2.375rem/1 var(--font-head); color: var(--blue); }
.avatar.big { width: 140px; height: 140px; }
.avatar.big .ini { font-size: 2.875rem; }
.photo-col .avatar { width: 130px; height: 130px; }

/* Profile page */
.welcome { background: var(--sunsoft); border-radius: 20px; padding: 18px 20px; margin: 16px 0 24px; }
.welcome .hello { margin-top: 0; }
.keep { background: #fff; border-radius: 14px; padding: 14px 16px; }
.copy-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.copy-row .in { flex: 1 1 15rem; font-size: 15px; min-width: 0; }
.copy-row .btn { min-height: 52px; }
.profile { margin-top: 12px; }
.p-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.p-head h1 { font-size: clamp(1.75rem, 7vw, 2.375rem); margin: 0 0 0.125rem; }
.role { font: 600 1.25rem/1.3 var(--font-head); margin: 0; }
.yrs { color: var(--soft); margin: 0.125rem 0 0; font-size: 1rem; }
.profile section { margin: 0 0 22px; }
.profile h2, .prose h2 { font: 800 0.875rem/1.2 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin: 0 0 8px; }
.chips { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--skysoft); border-radius: 6.1875rem; padding: 6px 14px; font-size: 1rem; line-height: 1.35; }
.back { margin-top: 28px; }
.back.center { text-align: center; }
.prose { max-width: 36em; }
.prose h1 { font-size: 2.125rem; }
.prose h2 { margin-top: 24px; }

/* Wall */
.wall { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: 22px 18px; border: 2px solid var(--line); border-radius: 20px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--sky); box-shadow: 0 6px 20px rgba(18, 164, 236, .15); color: var(--ink); }
.card h2 { font-size: 1.375rem; margin: 12px 0 2px; }
.card .role { font-size: 1.0625rem; }
.card .intro { color: var(--soft); font-size: 1rem; margin: 10px 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .chips { justify-content: center; margin-top: auto; }
.card .chips li { font-size: 0.875rem; padding: 4px 11px; }
.empty { text-align: center; color: var(--soft); margin: 40px 0; }

@media (max-width: 560px) {
  body { font-size: 1.125rem; }
  .photo-block { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: left; }
  .photo-text { width: 100%; }
  .top-block { padding: 14px; }
  .q .in, .q .choices, .q .err, .q .other-wrap, .q .choice.solo, .q > .help, fieldset.q > .help, .other-wrap { margin-left: 0; }
  .q .in { width: 100%; }
  .num { width: 30px; height: 30px; font-size: 15px; line-height: 30px; }
  .cta .btn { width: 100%; }
}

.logo { display: block; width: 110px; height: auto; float: right; margin: 0 0 8px 12px; }
.center .logo { float: none; margin: 0 auto 10px; width: 130px; }
.hero::after { content: ""; display: block; clear: both; }

.own-link { margin-left: 46px; margin-top: -8px; }
.own-link[hidden] { display: none; }
.own-link .in { margin-left: 0; width: 100%; }
@media (max-width: 560px) { .own-link { margin-left: 0; } }
.choice span { min-width: 0; overflow-wrap: anywhere; }

/* Polish pass, 18 Oct */
.top.no-brand { justify-content: flex-end; }
.eyebrow.after { margin: 6px 0 10px; }
.p-head .lead { font: italic 500 1.1875rem/1.45 var(--font-head); color: var(--ink); margin: 4px 0 10px; }
.card .intro { color: var(--ink); font-style: italic; margin: 8px 0 6px; }
.card .role { color: var(--soft); margin-bottom: 10px; }
.brand-logo { display: inline-block; line-height: 0; }
.brand-logo img { width: 76px; height: auto; }

/* Co-brand lockup: Silver Surfers Club × PoAI */
.cobrand { display: inline-flex; align-items: center; gap: 10px; line-height: 0; }
.cobrand img { height: auto; display: block; }
.cobrand .x { font: 600 1.25rem/1 var(--font-head); color: var(--soft); }
.brand-logo .cobrand img { width: 64px; }
.hero-logos { justify-content: center; margin: 0 auto 12px; }
.hero-logos img { width: 112px; }
.foot .cobrand { margin-bottom: 10px; }
.foot .cobrand img { width: 48px; }
.foot .cobrand .x { font-size: 1rem; }
