/* Landing page (gayever.com/about). Same system as the app (DESIGN.md): Anton + Space Mono, cream / red / ink / green / gold,
   2px ink outlines, hard offset shadows, square-ish corners, no italics, no pills. Bolder: bigger type, bigger shadows. */
:root { --red: #D7263D; --ink: #1A1414; --cream: #FBF1E3; --green: #0F5C45; --gold: #D4A62A; --gold2: #E8B83A; --display: Anton, Impact, "Arial Narrow", sans-serif; --mono: "Space Mono", ui-monospace, Menlo, monospace; color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 15px/1.6 var(--mono); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.anton { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
i, em { font-style: normal; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.stripes-red { background: repeating-linear-gradient(135deg, rgba(0,0,0,.07) 0 1px, transparent 1px 8px), var(--red); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 24px; border: 2px solid var(--ink); border-radius: 4px; font: 700 14px var(--mono); letter-spacing: .12em; text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s; background: var(--cream); color: var(--ink); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.big { min-height: 64px; font-size: 15px; padding: 0 30px; box-shadow: 6px 6px 0 var(--ink); }
.btn.ghost { background: transparent; color: var(--cream); border-color: var(--cream); box-shadow: 4px 4px 0 var(--ink); }
.btn.red { background: var(--red); color: var(--cream); }

.kick { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.kick.red { color: var(--red); }
.kick.gold { color: var(--gold2); }

/* ---------- hero ---------- */
.hero { position: relative; background: repeating-linear-gradient(135deg, rgba(0,0,0,.07) 0 1px, transparent 1px 8px), var(--red); color: var(--cream); overflow: hidden; border-bottom: 2px solid var(--ink); }
.hero-in { max-width: 1440px; margin: 0 auto; padding: 48px 32px 40px; display: grid; grid-template-columns: minmax(0, 1fr) 418px minmax(0, 1fr); gap: 40px; align-items: center; min-height: 960px; }
.hero h1 { margin: 16px 0 18px; font-size: clamp(64px, 7.4vw, 124px); line-height: .86; text-wrap: balance; }
.hero h1 .gold { color: var(--gold2); }
.hero h1 .ink { color: var(--ink); }
.hero .lead { max-width: 30em; margin: 0 0 26px; font-size: 15px; font-weight: 700; }

.count { margin: 0 0 28px; }
.countlbl { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; margin-bottom: 10px; }
.cells { display: flex; gap: 10px; }
.cell { width: 86px; padding: 10px 0 8px; display: flex; flex-direction: column; align-items: center; background: var(--ink); border: 2px solid var(--ink); border-radius: 4px; box-shadow: 4px 4px 0 var(--gold); }
.cell b { font: 400 50px/1 var(--display); color: var(--cream); font-variant-numeric: tabular-nums; }
.cell i { font-size: 10px; font-weight: 700; letter-spacing: .16em; color: rgba(251,241,227,.7); margin-top: 4px; }
.count.live .cells { display: none; }
.count.live .countlbl { font: 400 44px/1 var(--display); letter-spacing: 0; text-transform: uppercase; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* the phone with the live app */
.hero-phone { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone { position: relative; width: 418px; height: 872px; padding: 14px; background: var(--ink); border-radius: 58px; box-shadow: 14px 14px 0 rgba(26,20,20,.55), inset 0 0 0 2px #3a2f2f; }
.phone iframe { display: block; width: 390px; height: 844px; border: 0; border-radius: 44px; background: var(--red); }
.notch { position: absolute; z-index: 2; top: 24px; left: 50%; width: 112px; height: 30px; margin-left: -56px; background: var(--ink); border-radius: 16px; pointer-events: none; }
.phonetag { font-size: 12px; font-weight: 700; letter-spacing: .14em; }

/* Santa */
.hero-santa { position: relative; display: flex; flex-direction: column; align-items: center; }
.santa { width: 100%; max-width: 520px; height: auto; overflow: visible; filter: drop-shadow(10px 10px 0 rgba(26,20,20,.55)); }
.santatag { margin-top: 12px; text-align: center; font: 400 34px/1 var(--display); text-transform: uppercase; transform: rotate(-3deg); }
.santatag span { color: var(--ink); }
.santa .mistle { transform-origin: 318px 20px; animation: sway 3.2s ease-in-out infinite; }
.santa .bobble { transform-origin: 344px 142px; animation: sway 2.4s ease-in-out infinite; }
.santa .brow { transform-origin: 183px 186px; animation: brow 4s ease-in-out infinite; }
.santa .wink { opacity: 0; animation: wink 4s steps(1) infinite; }
.santa .eyeR { animation: eye 4s steps(1) infinite; }
.santa .list { transform-origin: 90px 560px; animation: listWag 5s ease-in-out infinite; }
.santa .you { animation: blinkTxt 1.2s steps(2) infinite; }
.santa .hearts path { transform-box: fill-box; transform-origin: center; animation: heart 2.6s ease-out infinite; }
.santa .hearts .h2 { animation-delay: 1.3s; }
@keyframes sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes brow { 0%, 60%, 100% { transform: translateY(0) rotate(0); } 70%, 90% { transform: translateY(-7px) rotate(-6deg); } }
@keyframes wink { 0%, 70% { opacity: 0; } 72%, 82% { opacity: 1; } 84% { opacity: 0; } }
@keyframes eye { 0%, 70% { opacity: 1; } 72%, 82% { opacity: 0; } 84% { opacity: 1; } }
@keyframes listIn { 0% { transform: rotate(-40deg) translateY(80px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes listWag { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-3deg); } }
@keyframes blinkTxt { 50% { opacity: .25; } }
@keyframes heart { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-70px) scale(1.1); opacity: 0; } }

.ticker { background: var(--ink); color: var(--cream); border-top: 2px solid var(--ink); overflow: hidden; white-space: nowrap; }
.ticker > div { display: inline-flex; gap: 22px; padding: 14px 0; font: 400 20px/1 var(--display); text-transform: uppercase; animation: tick 30s linear infinite; }
.ticker b { color: var(--red); font-family: var(--mono); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { position: relative; padding: 110px 32px; border-bottom: 2px solid var(--ink); }
.sec-head { max-width: 1180px; margin: 0 auto 56px; }
.sec h2 { margin: 12px 0 18px; font-size: clamp(54px, 7vw, 112px); line-height: .88; }
.sec h2 span { color: var(--red); }
.sec-head p { max-width: 38em; margin: 0; font-size: 16px; font-weight: 700; }
.sec-head.light h2 span { color: var(--gold2); }
.split { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .sec-head { margin: 0; }
.split.rev > :first-child { order: 2; }

/* example message screens: a scaled copy of the message template (DESIGN.md §7.6) */
.examples { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; justify-items: center; }
.ex { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ex { --r: 0deg; --y: 0px; transform: translateY(var(--y)) rotate(var(--r)); }
.ex:nth-child(1) { --r: -3deg; } .ex:nth-child(2) { --y: 40px; } .ex:nth-child(3) { --r: 3deg; }
.ex figcaption { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: rgba(26,20,20,.6); }
.mini { position: relative; width: 300px; height: 649px; border: 3px solid var(--ink); border-radius: 30px; overflow: hidden; color: var(--cream); box-shadow: 10px 10px 0 var(--ink); background: var(--tone); }
.mini::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(0,0,0,.13) 0 1px, transparent 1px 8px); }
.tone-camp { --tone: #8E0E16; --deep: #4E050D; --acc: #E8B83A; }
.tone-sexy { --tone: #5B0E22; --deep: #330510; --acc: #FF2A2A; }
.tone-funny { --tone: #12402F; --deep: #0A2419; --acc: #FF2A2A; }
.mphoto { position: absolute; left: 0; right: 0; top: 0; height: 484px; background: center top / cover no-repeat; }
.mphoto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0, rgba(0,0,0,0) 12%, transparent 44%, var(--tone) 78%, var(--deep) 100%); }
.mphoto.ph { display: flex; align-items: center; justify-content: center; }
.mphoto.ph::before { content: "YOUR PHOTO HERE"; position: relative; z-index: 1; margin-top: -90px; padding: 8px 12px; border: 2px dashed rgba(251,241,227,.6); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: rgba(251,241,227,.8); }
.mtop { position: absolute; z-index: 2; left: 16px; right: 16px; top: 18px; display: flex; justify-content: space-between; align-items: center; }
.mback { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--cream); border-radius: 3px; font-size: 22px; line-height: 1; }
.mday { font-size: 26px; }
.mwords { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 82px; }
.mh { margin: 0 0 8px; font-size: 62px; line-height: .9; }
.mh span { color: var(--acc); }
.ms { margin: 0; font-size: 22px; line-height: 1.05; text-shadow: 0 2px 18px rgba(0,0,0,.3); }
.mbtns { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 20px; display: flex; gap: 9px; }
.mshare { flex: 1; height: 46px; display: flex; align-items: center; justify-content: center; background: var(--cream); color: var(--ink); border: 2px solid var(--ink); border-radius: 4px; box-shadow: 3px 3px 0 var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.msave, .mq { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--cream); border-radius: 4px; font-size: 20px; font-weight: 700; }
.mq { background: var(--red); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: 26px; }

/* personalities */
.persona { background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 1px, transparent 1px 8px), var(--ink); color: var(--cream); }
.pcards { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 220px; gap: 32px; align-items: stretch; }
.pcard { margin: 0; position: relative; overflow: hidden; border: 3px solid var(--cream); border-radius: 6px; background: repeating-linear-gradient(135deg, rgba(0,0,0,.13) 0 1px, transparent 1px 8px), var(--c); box-shadow: 10px 10px 0 var(--gold); display: flex; flex-direction: column; }
.pcard { --r: 0deg; transform: rotate(var(--r)); } .pcard:nth-child(2) { --r: 2deg; }
.pimg { height: 420px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.pimg img { height: 100%; width: auto; object-fit: contain; object-position: bottom; }
.pcard figcaption { padding: 18px 22px 24px; background: linear-gradient(180deg, transparent, var(--deep) 30%); margin-top: -40px; position: relative; }
.pcard b { display: block; font-size: 40px; line-height: .95; color: var(--a); }
.pcard q { display: block; margin-top: 8px; font-weight: 700; font-size: 14px; quotes: "“" "”"; }
.pmore { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border: 3px dashed var(--cream); border-radius: 6px; font-size: 96px; line-height: .85; color: var(--gold2); }
.pmore span { font-size: 30px; color: var(--cream); }

/* trivia */
.quiz { background: repeating-linear-gradient(135deg, rgba(0,0,0,.07) 0 1px, transparent 1px 8px), var(--red); color: var(--cream); }
.quiz .sec-head.light h2 span { color: var(--ink); }
.qmock { display: flex; justify-content: center; }
.qsheet { width: 380px; padding: 22px 22px 26px; background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: 6px; box-shadow: 12px 12px 0 var(--ink); display: flex; flex-direction: column; gap: 12px; transform: rotate(-2deg); }
.qlbl { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.qlbl i { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--ink); border-radius: 2px; background: var(--red); color: var(--cream); font: 400 17px var(--display); }
.qq { margin: 0 0 4px; font-size: 30px; line-height: 1.02; }
.qopt { min-height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 4px; box-shadow: 3px 3px 0 var(--ink); font-weight: 700; font-size: 14px; }
.qopt b { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: 2px solid; border-radius: 2px; font: 400 16px var(--display); }
.qopt.right { background: var(--green); color: var(--cream); }
.qvs { display: flex; gap: 12px; margin-top: 4px; }
.qvs span { flex: 1; display: flex; align-items: baseline; gap: 8px; padding: 10px 12px; background: var(--ink); color: var(--cream); border-radius: 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.qvs b { font: 400 34px/1 var(--display); color: var(--gold2); }

/* card factory */
.cards { background: repeating-linear-gradient(135deg, rgba(0,0,0,.13) 0 1px, transparent 1px 8px), var(--green); color: var(--cream); }
.fan { position: relative; height: 520px; }
.fan img { position: absolute; top: 40px; width: 300px; border: 3px solid var(--ink); border-radius: 6px; box-shadow: 10px 10px 0 var(--ink); }
.fan img:nth-child(1) { left: 0; transform: rotate(-9deg); }
.fan img:nth-child(2) { left: 50%; margin-left: -150px; top: 10px; z-index: 2; }
.fan img:nth-child(3) { right: 0; transform: rotate(9deg); }

/* get it */
.getgrid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr 1fr; gap: 32px; align-items: start; }
.qrcard { padding: 22px; background: #fff8ee; border: 3px solid var(--ink); border-radius: 6px; box-shadow: 8px 8px 0 var(--red); text-align: center; }
.qrcard img { width: 180px; height: 180px; margin: 0 auto 14px; image-rendering: pixelated; }
.qrcard p { margin: 0; font-size: 13px; }
.how { padding: 24px 26px; border: 3px solid var(--ink); border-radius: 6px; box-shadow: 8px 8px 0 var(--ink); background: #fff8ee; }
.how h3 { margin: 0 0 10px; font-size: 40px; line-height: 1; }
.how ol { margin: 0 0 14px; padding-left: 1.3em; font-weight: 700; }
.how li { margin: 6px 0; }

/* faq */
.qa { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
.qa details { border: 2px solid var(--ink); border-radius: 4px; box-shadow: 4px 4px 0 var(--ink); background: #fff8ee; }
.qa summary { cursor: pointer; list-style: none; padding: 18px 20px; font: 400 26px/1 var(--display); text-transform: uppercase; display: flex; justify-content: space-between; gap: 12px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--red); }
.qa details[open] summary::after { content: "–"; }
.qa p { margin: 0; padding: 0 20px 18px; font-weight: 700; }

/* footer: the red band of the share card */
.foot { background: repeating-linear-gradient(135deg, rgba(0,0,0,.07) 0 1px, transparent 1px 8px), var(--red); color: var(--cream); border-top: 6px solid var(--ink); padding: 48px 32px 120px; }
.foot-in { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.fname { margin: 0; font-size: clamp(40px, 5vw, 72px); line-height: .9; }
.fname span { color: var(--ink); }
.flinks { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: 13px; font-weight: 700; }
.otag { display: inline-block; padding: 10px 18px; background: var(--ink); color: var(--cream); text-decoration: none; letter-spacing: .12em; border-radius: 2px; }

.sticky { display: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 1280px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) 418px; min-height: 0; }
  .hero-santa { grid-column: 1 / -1; grid-row: 2; flex-direction: row; justify-content: center; gap: 30px; }
  .santa { max-width: 340px; }
  .santatag { font-size: 44px; text-align: left; }
}
@media (max-width: 899px) {
  /* phones and small tablets: no live phone (they're already on one), Santa first, big open button */
  .hero-in { grid-template-columns: 1fr; padding: 28px 18px 34px; gap: 26px; }
  .hero-phone { display: none; }
  .hero-santa { grid-row: 1; flex-direction: column; gap: 0; }
  .santa { max-width: 300px; }
  .santatag { font-size: 30px; text-align: center; }
  .hero h1 { font-size: 19vw; }
  .cell { width: auto; flex: 1; } .cell b { font-size: 40px; }
  .sec { padding: 72px 18px; }
  .split, .getgrid, .qa { grid-template-columns: 1fr; gap: 32px; }
  .split.rev > :first-child { order: 0; }
  .examples { grid-template-columns: 1fr; gap: 48px; }
  .ex:nth-child(2) { --y: 0px; --r: 2deg; }
  .pcards { grid-template-columns: 1fr; }
  .pmore { padding: 30px 0; flex-direction: row; gap: 16px; font-size: 64px; }
  .qsheet { width: 100%; max-width: 380px; }
  .fan { height: 380px; } .fan img { width: 200px; } .fan img:nth-child(2) { margin-left: -100px; }
  .qrcard { display: none; }
  .flinks { align-items: flex-start; }
  .sticky { display: flex; position: fixed; z-index: 20; left: 16px; right: 16px; bottom: 16px; min-height: 58px; box-shadow: 5px 5px 0 var(--ink); }
}

/* ---------- animation ---------- */
/* hero title builds in beats, like the app's 18+ gate */
.hero h1 .w { display: inline-block; }
.hero h1 .w1 { animation: inL .6s cubic-bezier(.2,.9,.3,1.2) .15s both; }
.hero h1 .w2 { animation: inT .6s cubic-bezier(.2,.9,.3,1.2) .28s both; }
.hero h1 .w5 { animation: gayIn 1.1s cubic-bezier(.2,.9,.3,1.3) .6s both; }
@keyframes inT { 0% { opacity: 0; transform: translateY(-110px) rotate(-6deg); } 100% { opacity: 1; transform: none; } }
.hero h1 .w3 { animation: inB .6s cubic-bezier(.2,.9,.3,1.2) .35s both; }
.hero h1 .w4 { animation: everIn .5s cubic-bezier(.3,1.6,.5,1) 1.45s both; }
.hero h1 { animation: jolt .3s ease 1.85s both; }
@keyframes inL { 0% { opacity: 0; transform: translateX(-120px) skewX(-18deg); } 100% { opacity: 1; transform: none; } }
@keyframes inB { 0% { opacity: 0; transform: translateY(90px) rotate(4deg); } 100% { opacity: 1; transform: none; } }
@keyframes gayIn { 0% { opacity: 0; transform: translateY(-160px) rotate(-8deg); color: var(--gold2); } 55% { opacity: 1; transform: translateY(14px) rotate(2deg); } 75% { transform: translateY(-6px); } 100% { opacity: 1; transform: none; } }
@keyframes everIn { 0% { opacity: 0; transform: scale(3.2) rotate(-14deg); } 100% { opacity: 1; transform: none; } }
@keyframes jolt { 0%, 100% { transform: none; } 40% { transform: translateY(6px); } }
.hero .kick, .hero .lead, .count, .ctas { animation: up .5s ease both; }
.hero .kick { animation-delay: .05s; } .hero .lead { animation-delay: 1.9s; } .count { animation-delay: 2.05s; } .ctas { animation-delay: 2.2s; }
@keyframes up { 0% { opacity: 0; transform: translateY(24px); } 100% { opacity: 1; transform: none; } }

/* the phone rises, Santa pops up and waves, his tag stamps in */
.hero-phone { animation: phoneIn .9s cubic-bezier(.2,.9,.3,1.1) .3s both; }
@keyframes phoneIn { 0% { opacity: 0; transform: translateY(140px) rotate(4deg); } 100% { opacity: 1; transform: none; } }
.hero-santa .santa { animation: santaIn 1s cubic-bezier(.2,.9,.3,1.25) .9s both; transform-origin: 50% 100%; }
@keyframes santaIn { 0% { opacity: 0; transform: translateY(70%) rotate(10deg) scale(.8); } 100% { opacity: 1; transform: none; } }
.santatag { animation: stamp .45s cubic-bezier(.3,1.6,.5,1) 2.1s both; }
@keyframes stamp { 0% { opacity: 0; transform: scale(2.6) rotate(-12deg); } 100% { opacity: 1; transform: rotate(-3deg); } }

/* snow over the hero */
.snow { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-in, .ticker { position: relative; z-index: 1; }
.snow i { position: absolute; top: -12px; border-radius: 50%; background: var(--cream); opacity: .8; animation: fall linear infinite; }
@keyframes fall { 0% { transform: translate(0, 0); } 50% { transform: translate(18px, 50vh); } 100% { transform: translate(-10px, 105vh); } }

/* countdown digits flip when they change; the open button pulses */
.cell b.flip { animation: flip .45s cubic-bezier(.3,1.5,.5,1); }
@keyframes flip { 0% { transform: translateY(-40%) scaleY(.4); opacity: 0; } 100% { transform: none; opacity: 1; } }
.pulse { position: relative; }
.pulse::after { content: ""; position: absolute; inset: -2px; border: 3px solid var(--cream); border-radius: 6px; animation: ring 2.4s ease-out 3s infinite; pointer-events: none; }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.12, 1.4); } }

/* scroll reveals */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.9,.3,1.1); }
.reveal.in { opacity: 1; transform: none; }
.sec h2 { transition: letter-spacing .9s ease; }
.sec-head.reveal:not(.in) h2 { letter-spacing: .08em; }

/* example days drop in one by one, then float */
.examples.reveal, .pcards.reveal, .qmock.reveal, .fan.reveal { opacity: 1; transform: none; }
.examples .ex { opacity: 0; }
.examples.in .ex { animation: exIn .9s cubic-bezier(.2,.9,.3,1.3) both; }
.examples.in .ex:nth-child(2) { animation-delay: .18s; } .examples.in .ex:nth-child(3) { animation-delay: .36s; }
@keyframes exIn { 0% { opacity: 0; transform: translateY(220px) rotate(calc(var(--r) * -4)); } 100% { opacity: 1; transform: translateY(var(--y)) rotate(var(--r)); } }
.examples.in .mini { animation: bob 5s ease-in-out 1.4s infinite; }
.examples.in .ex:nth-child(2) .mini { animation-delay: 2.2s; } .examples.in .ex:nth-child(3) .mini { animation-delay: 3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.mini:hover { animation-play-state: paused; }
.examples.in .mh { animation: up .5s ease .9s both; }

/* personality cards slide in from the sides; hover wiggle */
.pcards .pcard, .pcards .pmore { opacity: 0; }
.pcards.in .pcard:nth-child(1) { animation: fromL .8s cubic-bezier(.2,.9,.3,1.2) both; }
.pcards.in .pcard:nth-child(2) { animation: fromR .8s cubic-bezier(.2,.9,.3,1.2) .15s both; }
.pcards.in .pmore { animation: everIn .5s cubic-bezier(.3,1.6,.5,1) .7s both; }
@keyframes fromL { 0% { opacity: 0; transform: translateX(-140px) rotate(-10deg); } 100% { opacity: 1; transform: rotate(var(--r)); } }
@keyframes fromR { 0% { opacity: 0; transform: translateX(140px) rotate(10deg); } 100% { opacity: 1; transform: rotate(var(--r)); } }
.pcard:hover { animation: wiggle .5s ease !important; opacity: 1; }
@keyframes wiggle { 0%, 100% { transform: rotate(var(--r)); } 25% { transform: rotate(calc(var(--r) - 3deg)); } 75% { transform: rotate(calc(var(--r) + 3deg)); } }
.pcards.in .pimg img { animation: peek 1s cubic-bezier(.2,.9,.3,1.2) .5s both; }
@keyframes peek { 0% { transform: translateY(60%); } 100% { transform: none; } }

/* trivia: the sheet slides up, the options pop in, then the right one lights up */
.qmock .qsheet { opacity: 0; }
.qmock.in .qsheet { animation: sheetIn .7s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes sheetIn { 0% { opacity: 0; transform: translateY(120px) rotate(4deg); } 100% { opacity: 1; transform: rotate(-2deg); } }
.qmock .qopt, .qmock .qvs { opacity: 0; }
.qmock.in .qopt, .qmock.in .qvs { animation: up .4s ease both; }
.qmock.in .qopt:nth-of-type(1) { animation-delay: .5s; } .qmock.in .qopt:nth-of-type(2) { animation-delay: .62s; } .qmock.in .qopt:nth-of-type(3) { animation-delay: .74s; }
.qmock .qopt.right { background: var(--cream); color: var(--ink); }
.qmock.in .qopt.right { animation: up .4s ease .5s both, pick .35s ease 1.5s forwards; }
@keyframes pick { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: none; background: var(--green); color: var(--cream); } }
.qmock.in .qvs { animation-delay: 1.9s; }

/* card factory: the cards fan out */
.fan img { opacity: 0; transition: transform .9s cubic-bezier(.2,.9,.3,1.2), opacity .5s ease; }
.fan:not(.in) img { transform: translateY(80px) rotate(0) scale(.8) !important; }
.fan.in img { opacity: 1; }
.fan.in img:nth-child(2) { transition-delay: .12s; } .fan.in img:nth-child(3) { transition-delay: .24s; }
.fan img:hover { transform: translateY(-14px) rotate(0) scale(1.04) !important; z-index: 3; }

/* get-it cards and FAQ: stagger */
.getgrid.in > *, .qa.in > * { animation: up .5s ease both; }
.getgrid.in > :nth-child(2), .qa.in > :nth-child(2) { animation-delay: .1s; }
.getgrid.in > :nth-child(3), .qa.in > :nth-child(3) { animation-delay: .2s; }
.qa.in > :nth-child(4) { animation-delay: .3s; } .qa.in > :nth-child(5) { animation-delay: .4s; } .qa.in > :nth-child(6) { animation-delay: .5s; }
.qa summary:hover::after { display: inline-block; animation: wiggle .4s ease; --r: 0deg; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .examples .ex, .pcards .pcard, .pcards .pmore, .qmock .qsheet, .qmock .qopt, .qmock .qvs, .fan img { opacity: 1 !important; }
  .snow { display: none; }
}
