/* Landing page. The poster, alive: watercolor shapes drifting behind the people from the Canva artwork.
   Uses the site's tokens (site.css): --paper, --paper-raised, --ink, --ink-soft, --rule, --serif, --sans. */
.is-landing main { overflow-x: clip; }
.is-landing .site-footer { margin-top: 0; }
.lp { --hl: rgba(246, 226, 122, .8); --mint: #BFE6CF; --peach: #F7C6A3; --wrap: 1180px; }
.lp-wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.lp section { position: relative; }
.lp-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.02; letter-spacing: -.015em; margin: 0 0 18px; text-wrap: balance; }
.lp-p { font-size: 1.2rem; line-height: 1.55; color: var(--ink-soft); max-width: 34ch; margin: 0 0 24px; }
.blob { position: absolute; pointer-events: none; user-select: none; height: auto; }

/* ---------------------------------------------------------------- buttons */
.lp-btn { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 500;
  font-size: 1.1rem; padding: 16px 30px; transition: transform .2s ease, background .2s ease; }
.lp-btn:hover { transform: translateY(-2px); background: #0A3A78; }
.lp-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.lp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.lp-cta-note { color: var(--ink-soft); font-size: .95rem; }
.lp-cta-note a { color: var(--ink); }

/* ---------------------------------------------------------------- hero: the room */
.lp-hero { padding: clamp(28px, 6vw, 72px) 0 clamp(56px, 8vw, 110px); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.lp-kicker { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 18px; }
.lp-title { font-family: var(--serif); font-weight: 400; font-size: clamp(3.3rem, 8.2vw, 7.2rem); line-height: .92; letter-spacing: -.03em; margin: 0; }
.lp-title em { font-style: normal; background: linear-gradient(transparent 58%, var(--hl) 58%, var(--hl) 88%, transparent 88%); padding: 0 .04em; }
.lp-lede { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; color: var(--ink-soft); max-width: 30ch; margin: 26px 0 0; }

.lp-room { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 640px; justify-self: end; }
.b-yellow { width: 46%; left: -4%; top: 2%; animation: drift 19s ease-in-out infinite alternate; }
.b-pink { width: 40%; right: -2%; top: -4%; animation: drift 23s ease-in-out -6s infinite alternate-reverse; }
.b-mint { width: 62%; left: 20%; top: 24%; animation: drift 27s ease-in-out -3s infinite alternate; }
.b-orange { width: 30%; left: 2%; bottom: 4%; animation: drift 21s ease-in-out -9s infinite alternate-reverse; }
.b-heart { width: 13%; right: 8%; bottom: 10%; animation: bob 6s ease-in-out infinite; }
.b-square { width: 24%; right: 2%; bottom: 2%; transform: rotate(-8deg); opacity: .75; animation: drift 25s ease-in-out -4s infinite alternate; }
.b-pink2 { width: 26%; left: 0; bottom: 0; opacity: .7; animation: drift 20s ease-in-out -11s infinite alternate-reverse; }
.b-tri { width: 17%; right: 30%; top: 2%; animation: spin 40s linear infinite; opacity: .85; }
@keyframes drift { from { transform: translate(0, 0) rotate(0deg) scale(1); } to { transform: translate(4%, 5%) rotate(8deg) scale(1.06); } }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-6deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

.who { position: absolute; margin: 0; outline: none; animation: arrive .9s cubic-bezier(.2, .7, .2, 1) both; }
.who img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; transition: transform .35s ease; }
.who:hover img, .who:focus-visible img, .who.say img { transform: translateY(-6px) rotate(-1deg); }
.w1 { width: 33%; left: 3%; top: 6%; animation-delay: .1s; }
.w2 { width: 25%; right: 3%; top: 4%; animation-delay: .25s; }
.w3 { width: 52%; left: 25%; top: 34%; animation-delay: .4s; }
.w4 { width: 24%; left: 2%; bottom: 3%; animation-delay: .55s; }
.w5 { width: 22%; right: 4%; bottom: 6%; animation-delay: .7s; }
@keyframes arrive { from { opacity: 0; transform: translateY(26px) scale(.96); } }
.who figcaption { position: absolute; left: 50%; bottom: 96%; transform: translate(-50%, 8px) rotate(-2deg); white-space: nowrap;
  background: var(--paper-raised); border: 1px solid var(--ink); color: var(--ink); font-size: .9rem; padding: 7px 12px;
  opacity: 0; transition: opacity .25s ease, transform .25s ease; pointer-events: none; z-index: 3; }
.who figcaption::after { content: ""; position: absolute; left: 50%; top: 100%; width: 10px; height: 10px; background: var(--paper-raised);
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: translate(-50%, -5px) rotate(45deg); }
.who:hover figcaption, .who:focus-visible figcaption, .who.say figcaption { opacity: 1; transform: translate(-50%, 0) rotate(-2deg); }
.w2 figcaption, .w5 figcaption { left: auto; right: 0; transform: translate(0, 8px) rotate(2deg); }
.w2:hover figcaption, .w2.say figcaption, .w5:hover figcaption, .w5.say figcaption, .w2:focus-visible figcaption, .w5:focus-visible figcaption { transform: translate(0, 0) rotate(2deg); }
.w2 figcaption::after, .w5 figcaption::after { left: 70%; }
.w1 figcaption, .w4 figcaption { left: 0; transform: translate(0, 8px) rotate(-2deg); }
.w1:hover figcaption, .w1.say figcaption, .w4:hover figcaption, .w4.say figcaption, .w1:focus-visible figcaption, .w4:focus-visible figcaption { transform: translate(0, 0) rotate(-2deg); }
.w1 figcaption::after, .w4 figcaption::after { left: 30%; }

/* ---------------------------------------------------------------- build yourself */
.lp-build { padding: clamp(64px, 9vw, 120px) 0; background: linear-gradient(180deg, transparent, rgba(191, 230, 207, .22) 30%, rgba(191, 230, 207, .22) 70%, transparent); }
.lp-build-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.lp-tags { display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; }
.lp-tag { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper-raised); border: 1px solid var(--ink); padding: 10px 14px;
  cursor: pointer; text-align: left; transition: background .18s ease, color .18s ease, transform .18s ease; }
.lp-tag:hover { transform: translateY(-2px); }
.lp-tag[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.lp-tag:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.lp-hint { min-height: 1.5em; margin: 14px 0 0; color: var(--ink-soft); }
.lp-card-wrap { position: relative; padding: 28px; }
.b-card { width: 70%; right: -6%; top: -10%; animation: drift 24s ease-in-out infinite alternate; }
.lp-card { position: relative; background: var(--paper-raised); border: 1px solid var(--ink); padding: 28px 28px 24px; max-width: 440px; }
.lp-card-top { display: flex; gap: 16px; align-items: center; }
.lp-avatar { flex: none; width: 64px; height: 64px; display: grid; place-items: center; font-family: var(--serif); font-size: 1.05rem;
  background: url("/static/img/shapes/orange.webp") center / cover no-repeat; }
.lp-card-name { font-family: var(--serif); font-size: 1.6rem; margin: 0; line-height: 1.1; }
.lp-card-sub { margin: 2px 0 0; color: var(--ink-soft); }
.lp-meter { height: 4px; background: var(--rule); margin: 20px 0 18px; }
.lp-meter span { display: block; height: 100%; width: 12%; background: var(--ink); transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.lp-card-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 14px 0 6px; }
.lp-card-tags { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; min-height: 3.2em; }
.lp-card-tags li { font-size: 1.05rem; animation: pop .35s cubic-bezier(.2, .7, .2, 1) both; }
.lp-card-tags li::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 10px; background: var(--ink); transform: translateY(-1px) rotate(45deg); }
.lp-card-tags li.soft::before { display: none; }
@keyframes pop { from { opacity: 0; transform: translateX(-8px); } }
.lp-card-line { margin: 0; }
.soft { color: var(--ink-soft); }
.lp-card-cta { display: block; margin-top: 22px; padding: 14px 18px; text-align: center; text-decoration: none; color: var(--paper); background: var(--ink); font-weight: 500;
  transition: opacity .3s ease, transform .3s ease; }
.lp-card-cta.dim { opacity: .35; }

/* ---------------------------------------------------------------- the phone */
.lp-phone-sec { padding: clamp(64px, 9vw, 120px) 0; }
.lp-phone-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 100px); align-items: center; }
.lp-phone-stage { position: relative; justify-self: center; width: min(420px, 92vw); display: grid; place-items: center; padding: 30px 0; }
.b-ph1 { width: 70%; left: -14%; top: 4%; animation: drift 21s ease-in-out infinite alternate; }
.b-ph2 { width: 64%; right: -12%; bottom: 0; animation: drift 25s ease-in-out -7s infinite alternate-reverse; }
.b-ph3 { width: 16%; right: 6%; top: 10%; animation: bob 6s ease-in-out infinite; }
.lp-phone-ok { display: flex; align-items: center; gap: 16px; margin-top: 18px; font-size: .95rem; }
.lp-phone-ok span { background: var(--ink); color: var(--paper); padding: 8px 18px; }
.lp-phone-ok em { font-style: normal; color: var(--ink-soft); text-decoration: underline; }
.lp-phone { justify-self: center; width: min(300px, 76vw); aspect-ratio: 9 / 15; border: 10px solid var(--ink); border-radius: 40px; background: var(--paper);
  position: relative; overflow: hidden; }
.lp-phone::before { content: ""; position: absolute; top: 10px; left: 50%; width: 76px; height: 20px; border-radius: 12px; background: var(--ink); transform: translateX(-50%); z-index: 2; }
.lp-phone-screen { position: absolute; inset: 0; padding: 56px 22px 22px; display: flex; flex-direction: column; }
.lp-phone-bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--rule); }
.lp-phone-bar span { display: block; height: 100%; width: 6%; background: var(--ink); transition: width .6s ease; }
.lp-phone-n { margin: 0 0 10px; font-size: .78rem; color: var(--ink-soft); }
.lp-phone-q { font-family: var(--serif); font-size: 1.7rem; line-height: 1.08; margin: 0 0 20px; transition: opacity .3s ease, transform .3s ease; }
.lp-phone-q.out { opacity: 0; transform: translateY(-14px); }
.lp-phone-a { position: relative; border-bottom: 1px solid var(--ink); min-height: 2.4em; padding: 6px 40px 6px 0; font-size: 1.1rem; }
.lp-phone-a[hidden] { display: none; }
.lp-phone-field::after { content: ""; display: inline-block; width: 2px; height: 1.1em; background: var(--ink); margin-left: 2px; vertical-align: -3px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.lp-phone-mic { position: absolute; right: 0; bottom: 6px; width: 30px; height: 30px; border: 1px solid var(--rule);
  background: center / 15px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23032859' stroke-width='1.8'%3E%3Crect x='9' y='3' width='6' height='11' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3'/%3E%3C/svg%3E"); }
.lp-phone-mic.on { border-color: var(--ink); animation: listen 1.2s ease-in-out infinite; }
@keyframes listen { 50% { box-shadow: 0 0 0 6px rgba(3, 40, 89, .14); } }
.lp-phone-choices { display: grid; gap: 8px; }
.lp-phone-choices span { border: 1px solid var(--rule); background: var(--paper-raised); padding: 10px 12px; font-size: .98rem; transition: background .2s, color .2s, border-color .2s; animation: pop .35s both; }
.lp-phone-choices span.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.lp-points { list-style: none; padding: 0; margin: 0 0 30px; max-width: 34em; }
.lp-points li { padding: 16px 0; border-top: 1px solid var(--rule); font-size: 1.12rem; color: var(--ink-soft); }
.lp-points strong { color: var(--ink); font-weight: 500; display: block; font-family: var(--serif); font-size: 1.35rem; margin-bottom: 2px; }

/* ---------------------------------------------------------------- the story */
.lp-story { padding: clamp(64px, 9vw, 120px) 0; background: linear-gradient(180deg, transparent, rgba(247, 198, 163, .2) 35%, rgba(247, 198, 163, .2) 70%, transparent); }
.lp-story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 100px); align-items: center; }
.lp-poster { position: relative; margin: 0; transform: rotate(-2.5deg); max-width: 560px; justify-self: center; }
.lp-poster img { display: block; width: 100%; height: auto; border: 10px solid var(--paper-raised); outline: 1px solid var(--rule); }
.lp-poster::before, .lp-poster::after { content: ""; position: absolute; width: 110px; height: 30px; background: rgba(246, 226, 122, .7); top: -14px; }
.lp-poster::before { left: 14%; transform: rotate(-6deg); } .lp-poster::after { right: 12%; transform: rotate(5deg); }
.lp-time { list-style: none; margin: 8px 0 0; padding: 0; border-left: 1px solid var(--ink); }
.lp-time li { position: relative; padding: 0 0 22px 26px; }
.lp-time li::before { content: ""; position: absolute; left: -6px; top: 7px; width: 11px; height: 11px; background: var(--paper); border: 1px solid var(--ink); border-radius: 50%; }
.lp-time li:first-child::before { background: var(--ink); }
.lp-time span { font-family: var(--serif); font-size: 1.35rem; }
.lp-time p { margin: 2px 0 0; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------------------------------------------------------------- the quote */
.lp-quote { padding: clamp(56px, 8vw, 104px) 0; }
.lp-quote-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.lp-quote-art { width: 100%; height: auto; mix-blend-mode: multiply; }
.lp-quote blockquote { margin: 0; }
.lp-quote blockquote p { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.12; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.lp-quote blockquote p::before { content: "\201C"; display: block; font-size: 4rem; line-height: .6; color: var(--peach); }
.lp-quote footer { margin-top: 20px; color: var(--ink-soft); font-size: 1rem; }

/* ---------------------------------------------------------------- join */
.lp-final { padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.b-final1 { width: min(420px, 50vw); left: -6%; top: 6%; animation: drift 22s ease-in-out infinite alternate; opacity: .8; }
.b-final2 { width: min(360px, 44vw); right: -4%; bottom: 0; animation: drift 26s ease-in-out -8s infinite alternate-reverse; opacity: .8; }
.lp-final-inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 22px; }
.lp-final-art { width: min(560px, 92%); height: auto; mix-blend-mode: multiply; }
.lp-final .lp-h2 { max-width: 16ch; margin: 0; }
.lp-sponsors { width: min(360px, 80%); height: auto; margin-top: 30px; mix-blend-mode: multiply; opacity: .9; }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 860px) {
  .lp-hero-grid, .lp-build-grid, .lp-phone-grid, .lp-story-grid, .lp-quote-grid { grid-template-columns: 1fr; }
  .lp-room { justify-self: center; max-width: 520px; margin-top: 8px; }
  .lp-phone-grid > div:last-child { order: -1; }
  .lp-card-wrap { padding: 12px 4px; }
  .lp-quote-art { max-width: 420px; }
  .who figcaption { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
}
