:root {
  --paper: #faf8ef;
  --ink: #243d33;
  --body: #566357;
  --orange: #d54c2c;
  --yellow: #f5cb62;
  --line: #d9dfd1;
  --sports: #e6edcf;
  --stories: #f6e3c8;
  --social: #e5def0;
  --tech: #dceae4;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 'DM Sans', sans-serif; }
h1,h2,h3,h4,p,blockquote { margin: 0; }
h1,h2,h3,h4,.logo,.button { font-family: 'Outfit', sans-serif; }
button,input { font: inherit; }
a { color: inherit; text-decoration: none; }
button,a,input { -webkit-tap-highlight-color: transparent; }
button,a { touch-action: manipulation; }
button { cursor: pointer; }
a:focus-visible,button:focus-visible,input:focus-visible,[tabindex]:focus-visible { outline: 3px solid #386cbd; outline-offset: 4px; }
::selection { background: var(--yellow); color: var(--ink); }
svg { display: block; }
.wrap { width: min(100% - 80px, 1160px); margin-inline: auto; }
.header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { display: block; width: 190px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 600; }
.nav a { padding-block: 9px; }
.nav a:hover { color: var(--orange); }
.nav .nav-cta { display: inline-flex; gap: 18px; align-items: center; padding: 11px 17px; border: 1px solid var(--ink); border-radius: 8px; }
.nav .nav-cta:hover { background: var(--ink); color: var(--paper); }
.menu { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); width: 44px; height: 44px; font-size: 21px; }
.hero { padding-block: 64px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--orange); }
h1 { font-size: clamp(56px,5.3vw,74px); line-height: 1.04; font-weight: 600; letter-spacing: -2.8px; margin-top: 22px; }
h1 .move { color: var(--orange); white-space: nowrap; }
.hero-copy > p { max-width: 390px; margin-top: 25px; color: var(--body); font-size: 16px; line-height: 1.8; }
.hero-copy > p strong { color: var(--ink); font-weight: 600; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 8px; background: var(--orange); color: #fff; font-size: 14px; font-weight: 500; }
.button:hover { background: #b33d22; }
.text-link { font-size: 13px; font-weight: 600; text-underline-offset: 5px; text-decoration: underline; text-decoration-color: #9eaa98; }
.text-link:hover { color: var(--orange); }
.little-note { margin-top: 21px; display: flex; align-items: flex-start; gap: 9px; color: var(--body); font-size: 11px; line-height: 1.6; }
.little-note svg { width: 17px; height: 17px; flex: 0 0 17px; }
.hero-art { min-width: 0; }
.hero-worlds { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.world-tile { padding: 22px 12px; min-height: 216px; border: 1px solid #243d3310; border-radius: 16px; display: flex; align-items: center; flex-direction: column; justify-content: center; }
.world-tile svg { width: 118px; height: 118px; }
.world-tile strong { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 550; letter-spacing: -.4px; line-height: 1.35; margin-top: 7px; }
.world-tile > span { font-size: 12px; color: var(--body); margin-top: 3px; }
.sports { background: var(--sports); }
.stories { background: var(--stories); }
.social { background: var(--social); }
.tech { background: var(--tech); }
.art-label { margin-top: 16px; text-align: center; font-size: 12px; color: var(--body); }
.ticker { border-block: 1px solid #dfb84f; background: var(--yellow); }
.ticker-inner { width: min(100% - 80px,1160px); margin: auto; padding-block: 18px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; text-align: center; font-size: 12px; font-weight: 600; }
.ticker-inner span + span { border-left: 1px solid #243d3333; }
.section { padding-block: 80px; }
.section-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.65fr); gap: 64px; align-items: end; margin-bottom: 36px; }
h2 { margin-top: 14px; font-size: 42px; line-height: 1.16; letter-spacing: -1.4px; font-weight: 550; }
.section-head > p { max-width: 340px; color: var(--body); font-size: 15px; line-height: 1.8; justify-self: end; }
.paths { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.path { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fffdf6; min-width: 0; }
.path-art { display: grid; place-items: center; height: 168px; flex: 0 0 168px; }
.path-art svg { width: 116px; height: 116px; }
.path-text { display: flex; flex-direction: column; flex: 1; padding: 22px 20px 18px; }
.path-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--body); font-size: 9px; line-height: 1.5; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.path h3 { font-size: 25px; letter-spacing: -.5px; font-weight: 550; line-height: 1.3; margin-top: 10px; }
.path p { color: var(--body); font-size: 13px; line-height: 1.8; margin-top: 10px; margin-bottom: 22px; }
.path-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; margin-top: auto; width: 100%; min-height: 44px; padding: 13px 0 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); font-size: 11px; font-weight: 600; }
.path-button:hover { color: var(--orange); }
.path-button span { flex-shrink: 0; font-size: 17px; }
.philosophy { border-top: 1px solid var(--line); padding-block: 72px 80px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; align-items: center; }
.philosophy h2 { font-size: 42px; }
.philosophy h2 em { color: var(--orange); font-style: normal; }
.philosophy > div > p { margin-top: 20px; max-width: 440px; color: var(--body); font-size: 15px; line-height: 1.8; }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 30px; }
.step > span { display: block; font-size: 11px; font-weight: 600; color: var(--orange); margin-bottom: 8px; }
.step strong { font-size: 14px; font-weight: 600; }
.step p { margin-top: 6px; font-size: 12px; line-height: 1.7; color: var(--body); }
.note-card { background: #e8edda; border-radius: 16px; padding: 40px; border: 1px solid #dce3cc; }
.note-card .eyebrow { font-size: 10px; }
.note-card blockquote { font: 500 30px/1.35 'Outfit',sans-serif; letter-spacing: -.6px; margin-top: 24px; max-width: 365px; }
.note-card p { font-size: 14px; line-height: 1.8; color: var(--body); margin-top: 20px; }
.expect { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.expect li { font-size: 14px; line-height: 1.7; color: var(--body); padding-left: 20px; position: relative; }
.expect li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.expect strong { display: block; font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 600; letter-spacing: -.3px; color: var(--ink); }
.app-section { background: #e9eddf; border-block: 1px solid var(--line); }
.app-section .section { padding-block: 72px; }
.app-shell { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); border: 1px solid #d0d8c4; border-radius: 16px; overflow: hidden; background: var(--paper); }
.app-copy { padding: 40px; }
.soon { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; background: #fbefca; border: 1px solid #ddcd92; border-radius: 6px; font-size: 10px; font-weight: 700; color: #6d5920; text-transform: uppercase; letter-spacing: 1px; }
.soon:before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #a38222; }
.app-copy h3 { font-size: 39px; line-height: 1.15; letter-spacing: -1px; font-weight: 550; margin-top: 22px; }
.app-copy > p { font-size: 15px; color: var(--body); line-height: 1.8; margin-top: 20px; max-width: 385px; }
.app-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.app-tags span { font-size: 11px; background: #ecefe3; border-radius: 5px; padding: 5px 9px; }
.app-copy > .app-note { font-size: 12px; margin-top: 24px; }
.keyboard-area { min-width: 0; padding: 32px; display: grid; place-items: center; background: #eee8f4; border-left: 1px solid #ded5e7; }
.typing-preview { min-width: 0; width: 100%; max-width: 376px; }
.type-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 12px; font-weight: 700; }
.preview-label { font-size: 10px; font-weight: 400; color: #675d74; }
.type-line { min-height: 92px; padding-block: 24px; display: flex; align-items: center; justify-content: center; color: #84758e; font: 500 34px/1.3 'Outfit',sans-serif; white-space: pre; }
.type-line > span { display: inline-block; min-width: .22em; text-align: center; border-radius: 4px; }
.type-line > .typed { color: var(--ink); }
.type-line > .cursor-key { background: var(--yellow); color: var(--ink); }
.keyboard { display: flex; flex-direction: column; gap: 7px; }
.key-row { display: flex; justify-content: center; gap: 5px; }
.key { min-width: 0; width: 30px; flex: 0 1 30px; height: 36px; display: flex; align-items: center; justify-content: center; padding: 0; color: var(--ink); font-size: 13px; background: #fffcf5; border: 1px solid #d1c7db; border-bottom-width: 3px; border-radius: 5px; }
.key:hover { background: #fff; border-color: #a59ab0; }
.key.active { background: var(--yellow); border-color: #d6ae48; }
.key.space { width: 142px; flex-basis: 142px; }
.key.reset { width: 64px; flex-basis: 64px; font-size: 11px; }
.typing-caption { color: #675d74; font-size: 11px; line-height: 1.6; text-align: center; margin-top: 20px; min-height: 35px; }
.type-input { display: block; width: 100%; margin: 10px auto 0; border: 1px solid #c9bdd4; border-radius: 6px; background: #faf7fd; padding: 10px 12px; color: var(--ink); font-size: 13px; text-align: center; }
.try-section { text-align: center; padding-block: 80px; }
.try-section > p { max-width: 490px; margin: 20px auto 0; color: var(--body); font-size: 15px; line-height: 1.8; }
.idea-selector { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.idea-tab { border: 1px solid #c8d2bd; background: transparent; color: var(--ink); min-height: 44px; padding: 8px 20px; border-radius: 24px; font-size: 13px; }
.idea-tab:hover { background: #e7ecdc; }
.idea-tab[aria-selected=true] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.activity-box { max-width: 740px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px; align-items: center; text-align: left; margin: 24px auto 0; padding: 30px; min-height: 216px; border: 1px solid #ccd4c1; border-radius: 12px; background: #f0f1e6; }
.activity-meta { display: block; color: var(--body); font-size: 10px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 10px; }
.activity-box h3 { font-size: 25px; font-weight: 550; line-height: 1.25; letter-spacing: -.4px; }
.activity-box p { font-size: 14px; line-height: 1.8; color: var(--body); margin-top: 12px; }
.shuffle { width: 44px; height: 44px; display: grid; place-items: center; font-size: 25px; line-height: 1; color: var(--ink); background: var(--paper); border: 1px solid #b9c4ac; border-radius: 50%; }
.shuffle:hover { background: var(--yellow); }
.closing { background: var(--orange); color: #fffaf0; }
.closing-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 40px; padding-block: 48px; }
.closing h2 { margin: 0; font-size: 39px; }
.closing p { margin-top: 14px; font-size: 14px; }
.closing .button { background: var(--paper); color: var(--ink); }
.closing .button:hover { background: var(--yellow); }
.footer { min-height: 116px; padding-block: 28px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.footer .logo img { width: 164px; }
.footer p,.footer > a:last-child { color: var(--body); font-size: 11px; }
.skip { position: absolute; left: 12px; top: -80px; padding: 12px; background: #fff; z-index: 100; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media(min-width:1500px) { .hero { padding-block: 80px; } }
@media(max-width:1080px) {
  .wrap,.ticker-inner { width: calc(100% - 64px); }
  .nav { gap: 18px; font-size: 12px; }
  .hero { gap: 40px; }
  h1 { font-size: 63px; }
  .world-tile { min-height: 200px; padding-block: 18px; }
  .world-tile svg { width: 105px; height: 105px; }
  .paths { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .path-text { padding: 24px; }
  .path-art { height: 176px; flex-basis: 176px; }
  .path-button { font-size: 12px; }
  .philosophy { gap: 40px; }
  .note-card,.app-copy { padding: 32px; }
  .keyboard-area { padding: 24px; }
  .section-head { gap: 40px; }
  .footer { flex-wrap: wrap; }
}
@media(max-width:820px) {
  .header { min-height: 84px; position: relative; }
  .menu { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; z-index: 10; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 24px #243d3312; font-size: 14px; }
  .nav.open { display: flex; align-items: stretch; flex-direction: column; gap: 10px; }
  .nav .nav-cta { justify-content: space-between; }
  .hero { gap: 32px; padding-block: 44px; }
  h1 { font-size: 55px; letter-spacing: -2px; }
  .hero-copy > p { font-size: 14px; }
  .world-tile { min-height: 178px; padding: 16px 8px; }
  .world-tile svg { width: 90px; height: 90px; }
  .world-tile strong { font-size: 18px; }
  .world-tile > span { font-size: 11px; }
  .hero-worlds { gap: 12px; }
  .eyebrow { font-size: 10px; letter-spacing: 1.1px; }
  .hero-actions { gap: 16px; }
  .text-link { font-size: 12px; }
  .little-note { font-size: 10px; }
  .ticker-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 16px; font-size: 11px; }
  .ticker-inner span:nth-child(3) { border: 0; }
  h2,.philosophy h2 { font-size: 36px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-head > p { justify-self: start; max-width: 480px; }
  .philosophy { grid-template-columns: 1fr; gap: 32px; }
  .philosophy > div > p { max-width: 560px; }
  .note-card blockquote { max-width: 480px; }
  .steps { max-width: 560px; }
  .app-shell { grid-template-columns: 1fr; }
  .app-copy > p { max-width: 100%; }
  .app-copy > .app-note { max-width: 100%; }
  .keyboard-area { border-left: 0; border-top: 1px solid #ded5e7; padding: 36px; }
  .typing-preview { max-width: 380px; }
  .closing-inner { grid-template-columns: 1fr; gap: 24px; }
  .closing .button { justify-self: start; }
  .closing h2 { font-size: 34px; }
}
@media(max-width:600px) {
  html { scroll-padding-top: 24px; }
  .wrap,.ticker-inner { width: calc(100% - 40px); }
  .header { min-height: 80px; }
  .logo img { width: 172px; }
  .hero { grid-template-columns: minmax(0,1fr); padding-block: 36px 40px; gap: 36px; }
  h1 { font-size: 64px; letter-spacing: -2.5px; margin-top: 18px; }
  .hero-copy > p { font-size: 15px; max-width: 360px; margin-top: 22px; }
  .hero-actions { margin-top: 24px; gap: 18px 20px; }
  .button { padding-inline: 18px; font-size: 13px; gap: 18px; }
  .text-link { font-size: 12px; }
  .little-note { font-size: 11px; margin-top: 20px; }
  .hero-worlds { gap: 12px; }
  .world-tile { min-height: 184px; padding: 18px 10px; border-radius: 12px; }
  .world-tile svg { width: 96px; height: 96px; }
  .world-tile strong { font-size: 19px; }
  .world-tile > span { font-size: 11px; }
  .art-label { font-size: 11px; margin-top: 14px; }
  .ticker-inner { padding-block: 16px; gap: 12px 8px; font-size: 10px; }
  .section,.app-section .section { padding-block: 52px; }
  .section-head { margin-bottom: 28px; gap: 18px; }
  h2,.philosophy h2 { font-size: 34px; letter-spacing: -1px; }
  .section-head > p { font-size: 14px; }
  .paths { gap: 16px; }
  .path-art { height: 132px; flex-basis: 132px; }
  .path-art svg { width: 96px; height: 96px; }
  .path-text { padding: 18px 16px 14px; }
  .path-meta { font-size: 8px; letter-spacing: .5px; }
  .path h3 { font-size: 22px; }
  .path p { font-size: 12px; margin-bottom: 18px; }
  .path-button { font-size: 10px; gap: 5px; line-height: 1.5; }
  .philosophy { padding-block: 48px 52px; }
  .philosophy > div > p { font-size: 14px; }
  .steps { gap: 16px; }
  .step strong { font-size: 12px; }
  .step p { font-size: 11px; }
  .note-card { padding: 28px; border-radius: 12px; }
  .note-card blockquote { font-size: 27px; }
  .note-card p { font-size: 13px; }
  .app-copy { padding: 28px; }
  .app-copy h3 { font-size: 35px; }
  .app-copy > p { font-size: 14px; }
  .app-copy > .app-note { font-size: 11px; }
  .keyboard-area { padding: 28px 18px; }
  .key { height: 34px; }
  .type-top { font-size: 11px; }
  .preview-label { font-size: 9px; }
  .type-line { font-size: 32px; }
  .try-section { padding-block: 52px; }
  .try-section > p { font-size: 14px; }
  .idea-selector { gap: 7px; }
  .idea-tab { padding-inline: 15px; font-size: 12px; }
  .activity-box { padding: 24px; gap: 16px; min-height: 290px; }
  .activity-box h3 { font-size: 23px; }
  .activity-box p { font-size: 13px; }
  .activity-meta { font-size: 9px; }
  .closing-inner { padding-block: 36px; }
  .closing h2 { font-size: 31px; }
  .closing p { font-size: 13px; }
  .footer { padding-block: 28px; gap: 22px; }
  .footer p { order: 3; width: 100%; }
  .footer > a:last-child { max-width: 135px; text-align: right; font-size: 10px; }
}
@media(max-width:370px) {
  .hero h1 { font-size: 57px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .paths { grid-template-columns: minmax(0,1fr); }
  .path-art { height: 152px; flex-basis: 152px; }
  .path-text { padding: 22px; }
  .path p { font-size: 13px; }
  .path-button { font-size: 12px; }
  .world-tile { min-height: 170px; }
  .world-tile svg { width: 84px; height: 84px; }
  .world-tile strong { font-size: 17px; }
  .world-tile > span { font-size: 10px; }
  .app-copy { padding: 24px; }
  .app-copy h3 { font-size: 31px; }
  .keyboard-area { padding-inline: 14px; }
  .key-row { gap: 3px; }
  .key { font-size: 11px; }
  .activity-box { grid-template-columns: minmax(0,1fr); }
  .shuffle { justify-self: end; }
  .steps { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .step p br { display: none; }
  .step strong { font-size: 14px; }
  .step p { font-size: 12px; }
}

/* The typing app is now available. */
.soon.live{background:#e2edd7;border-color:#b9cda7;color:#35572e}
.soon.live:before{background:#588045}
.app-launch{margin-top:28px}
.app-copy > .app-note{margin-top:14px}
@media(max-width:600px){.app-copy h3{font-size:31px}.type-top .preview-label{max-width:100%;font-size:9px}}

.type-top a.preview-label{text-decoration:underline;text-underline-offset:3px;color:var(--ink);font-size:11px}

/* Motion. Everything below is off for visitors who prefer reduced motion.
   Scroll reveals only hide content once the page script has added .anim. */
@media (prefers-reduced-motion: no-preference) {
  .anim .hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) backwards; }
  .anim .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .anim .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .anim .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .anim .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .anim .world-tile { animation: pop .6s cubic-bezier(.3,1.4,.5,1) backwards; }
  .anim .world-tile:nth-child(1) { animation-delay: .3s; }
  .anim .world-tile:nth-child(2) { animation-delay: .4s; }
  .anim .world-tile:nth-child(3) { animation-delay: .5s; }
  .anim .world-tile:nth-child(4) { animation-delay: .6s; }
  .anim .art-label { animation: rise .7s .8s backwards; }
  h1 .move { display: inline-block; animation: nudge 1s 1s cubic-bezier(.3,1.6,.5,1) backwards; }

  .world-tile { transition: transform .25s ease, box-shadow .25s ease; }
  .world-tile:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 14px 28px #243d3318; }
  .world-tile svg { animation: bob 4.5s ease-in-out infinite; }
  .world-tile:nth-child(2) svg { animation-delay: -1.1s; }
  .world-tile:nth-child(3) svg { animation-delay: -2.2s; }
  .world-tile:nth-child(4) svg { animation-delay: -3.3s; }
  .path:hover .path-art svg { animation: wiggle .6s ease; }

  .anim [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .anim [data-reveal].in { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(14px); } }
@keyframes nudge { 0% { transform: none; } 35% { transform: translateX(8px) rotate(-4deg); } 70% { transform: translateX(-2px) rotate(1deg); } 100% { transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes wiggle { 0%, 100% { transform: none; } 25% { transform: rotate(-6deg); } 75% { transform: rotate(5deg); } }

/* Typing Garden glimpse: a seed grows for every correct key in the warm-up. */
.typing-preview { position: relative; }
.garden-row { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 6px; height: 30px; margin: -10px 0 16px; }
.plot { flex: 0 1 22px; height: 24px; display: grid; place-items: end center; border-bottom: 3px solid #cdb98f; border-radius: 0 0 6px 6px; font-size: 16px; line-height: 1; }
.plot span { display: block; transform: scale(0); transform-origin: 50% 100%; }
.plot.grown span { transform: none; }
.hopper { position: absolute; left: 0; bottom: 6px; font-size: 18px; line-height: 1; opacity: 0; pointer-events: none; }
.seed-pop { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); padding: 2px 9px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 10px; line-height: 1.6; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; }
.seed-pop.show { opacity: 1; }
.key.pressed { background: var(--yellow); border-color: #d6ae48; border-bottom-width: 1px; transform: translateY(2px); }
@media (prefers-reduced-motion: no-preference) {
  .plot span { transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
  .key { transition: transform .08s ease, border-bottom-width .08s ease, background .15s ease; }
  .garden-row.hop .hopper { animation: hop-across 1.8s ease-in-out forwards; }
  .seed-pop.show { animation: seed-pop 2.2s ease forwards; }
}
@keyframes hop-across {
  0% { left: 0; opacity: 0; transform: none; }
  8% { opacity: 1; }
  15% { transform: translateY(-14px); } 25% { transform: none; }
  40% { transform: translateY(-14px); } 50% { transform: none; }
  65% { transform: translateY(-14px); } 75% { transform: none; }
  92% { opacity: 1; }
  100% { left: calc(100% - 18px); opacity: 0; transform: none; }
}
@keyframes seed-pop { 0% { opacity: 0; transform: translate(-50%, 8px) scale(.8); } 15%, 75% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -10px); } }

/* Header sign-in. Log in moves into the menu on small screens; Sign up stays visible. */
.nav { margin-left: auto; }
.nav .nav-login { display: none; }
.auth { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.auth-login { font-size: 13px; font-weight: 600; padding-block: 9px; }
.auth-login:hover { color: var(--orange); }
.auth .button { min-height: 42px; padding: 10px 18px; font-size: 13px; font-weight: 600; }
@media (max-width: 820px) {
  .header { gap: 12px; }
  .auth { margin-left: auto; order: 2; }
  .menu { order: 3; }
  .auth-login { display: none; }
  .nav .nav-login { display: block; }
}
@media (max-width: 370px) {
  .header .logo img { width: 140px; }
  .auth .button { min-height: 38px; padding: 8px 12px; font-size: 12px; }
}

/* ---- Skill vision: badges, open-ended skills, journey, competitions ---- */

/* Badge "patch": a stitched, embroidered-looking disc. Set --c for its colour. */
.patch { --c: var(--orange); position: relative; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; line-height: 1; background: radial-gradient(circle, #fffaf0 0 62%, var(--c) 63%); box-shadow: 0 0 0 4px #fffaf0, 0 0 0 6px var(--c), 0 10px 20px #243d331f; }
.patch::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px dashed #ffffffa6; }
.patch.more { background: transparent; box-shadow: none; border: 2px dashed #9eaa98; color: var(--body); font: 500 30px/1 'Outfit', sans-serif; }
.patch.more::after { display: none; }

.badge-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 12px; padding: 34px 20px; background: #e8edda; border: 1px solid #dce3cc; border-radius: 20px; }
.hb { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hb strong { font: 550 15px/1.2 'Outfit', sans-serif; letter-spacing: -.2px; text-align: center; }

/* Open-ended skills. Static and wrapped by default; scrolls when motion is allowed. */
.marquee { display: grid; gap: 12px; }
.marquee-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fffdf6; font-size: 14px; font-weight: 600; white-space: nowrap; }
.chip.dup { display: none; }

/* Skill journey */
.journey-section { background: #e9eddf; border-block: 1px solid var(--line); }
.journey { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 8px 0 0; padding: 0; list-style: none; }
.journey::before { content: ""; position: absolute; top: 38px; left: 12.5%; right: 12.5%; border-top: 2px dashed #9eaa98; transform-origin: left; }
.journey-step { position: relative; text-align: center; }
.j-icon { position: relative; z-index: 1; width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 32px; background: var(--paper); border: 2px solid var(--ink); }
.journey-step:nth-child(3) .j-icon { background: var(--yellow); }
.j-num { display: block; margin-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; color: var(--orange); }
.journey-step h3 { margin-top: 6px; font-size: 22px; font-weight: 550; letter-spacing: -.4px; }
.journey-step p { margin: 8px auto 0; max-width: 240px; font-size: 14px; line-height: 1.7; color: var(--body); }
.journey-loop { margin-top: 36px; text-align: center; font-size: 14px; font-weight: 600; color: var(--body); }
.journey-loop span { color: var(--orange); font-size: 18px; margin-right: 4px; }

/* Badges they can hold */
.badges { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding-block: 80px; }
.badges h2 em { color: var(--orange); font-style: normal; }
.badges-copy > p { margin-top: 20px; max-width: 460px; color: var(--body); font-size: 15px; line-height: 1.8; }
.badge-types { display: grid; gap: 14px; margin-top: 28px; max-width: 460px; }
.btype { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fffdf6; }
.btype-icon { flex: 0 0 auto; font-size: 26px; line-height: 1; margin-top: 2px; }
.btype strong { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 600 17px/1.3 'Outfit', sans-serif; }
.btype p { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--body); }
.badge-wall { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 16px; justify-items: center; padding: 44px 28px 36px; background: #f1e4c8; border: 1px solid #e2cfa6; border-radius: 20px; box-shadow: inset 0 0 0 10px #ecdcb9; }
.badge-wall .patch { width: 84px; height: 84px; font-size: 36px; }
.badge-wall .patch:nth-child(odd) { transform: rotate(-6deg); }
.badge-wall .patch:nth-child(even) { transform: rotate(5deg); }
.wall-ribbon { grid-column: 1 / -1; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700; }

/* Competitions */
.comp-section { border-top: 1px solid var(--line); }
.comp-section .section-head .soon { margin-left: 4px; vertical-align: middle; }
.comps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.comp { display: block; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fffdf6; }
.comp-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 28px; background: #fbe9dd; }
.comp h3 { margin-top: 18px; font-size: 22px; font-weight: 550; letter-spacing: -.4px; }
.comp p { margin-top: 6px; font-size: 14px; line-height: 1.7; color: var(--body); }
.comp-more { border-style: dashed; background: transparent; }
.comp-more .comp-icon { background: #e8edda; }
.comp-more:hover h3 { color: var(--orange); }

@media (max-width: 1080px) {
  .badges { gap: 40px; }
  .patch { width: 64px; height: 64px; font-size: 27px; }
}
@media (max-width: 820px) {
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .journey::before { display: none; }
  .badges { grid-template-columns: minmax(0, 1fr); padding-block: 56px; }
  .comps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .badge-board { gap: 22px 8px; padding: 26px 12px; }
  .patch { width: 58px; height: 58px; font-size: 24px; }
  .hb strong { font-size: 13px; }
  .journey { gap: 32px 14px; }
  .j-icon { width: 62px; height: 62px; font-size: 26px; }
  .journey-step h3 { font-size: 19px; }
  .journey-step p { font-size: 13px; }
  .badge-wall { gap: 26px 10px; padding: 32px 16px 28px; }
  .badge-wall .patch { width: 66px; height: 66px; font-size: 28px; }
  .comps { grid-template-columns: minmax(0, 1fr); }
  .chip { font-size: 13px; padding: 8px 14px; }
}

@media (prefers-reduced-motion: no-preference) {
  .anim .hb { animation: pop .6s cubic-bezier(.3,1.4,.5,1) backwards; }
  .anim .hb:nth-child(1) { animation-delay: .3s; } .anim .hb:nth-child(2) { animation-delay: .37s; } .anim .hb:nth-child(3) { animation-delay: .44s; }
  .anim .hb:nth-child(4) { animation-delay: .51s; } .anim .hb:nth-child(5) { animation-delay: .58s; } .anim .hb:nth-child(6) { animation-delay: .65s; }
  .anim .hb:nth-child(7) { animation-delay: .72s; } .anim .hb:nth-child(8) { animation-delay: .79s; } .anim .hb:nth-child(9) { animation-delay: .86s; }
  .hb { transition: transform .25s ease; }
  .hb:hover { transform: translateY(-4px) scale(1.06); }
  .hb .patch { animation: bob 4.5s ease-in-out infinite; }
  .hb:nth-child(3n+2) .patch { animation-delay: -1.5s; }
  .hb:nth-child(3n) .patch { animation-delay: -3s; }

  .marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
  .marquee-row { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: slide 60s linear infinite; }
  .marquee-row.rev { animation-direction: reverse; animation-duration: 70s; }
  .marquee:hover .marquee-row { animation-play-state: paused; }
  .chip.dup { display: inline-flex; }

  .journey::before { transition: transform 1.4s cubic-bezier(.4,0,.2,1) .2s; }
  .anim .journey-track:not(.live) .journey::before { transform: scaleX(0); }
  .journey-step:nth-child(3) .j-icon { animation: glow 2.6s ease-in-out infinite; }

  .anim .badge-wall:not(.live) .patch { opacity: 0; }
  .badge-wall.live .patch { animation: stitch .5s cubic-bezier(.3,1.5,.5,1) backwards; }
  .badge-wall.live .patch:nth-child(2) { animation-delay: .1s; } .badge-wall.live .patch:nth-child(3) { animation-delay: .2s; }
  .badge-wall.live .patch:nth-child(4) { animation-delay: .3s; } .badge-wall.live .patch:nth-child(5) { animation-delay: .4s; }
  .badge-wall.live .patch.new { animation: drop-in .9s cubic-bezier(.3,1.5,.5,1) 1s backwards; }
  .anim .badge-wall:not(.live) .wall-ribbon { opacity: 0; }
  .badge-wall.live .wall-ribbon { animation: rise .6s ease 1.7s backwards; }

  .comp { transition: transform .25s ease, box-shadow .25s ease; }
  .comp:hover { transform: translateY(-4px); box-shadow: 0 14px 28px #243d3314; }
  .comp:hover .comp-icon { animation: wiggle .6s ease; }
}
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 #f5cb6200; } 50% { box-shadow: 0 0 0 10px #f5cb6255; } }
@keyframes stitch { from { opacity: 0; transform: scale(.6) rotate(-20deg); } }
@keyframes drop-in { 0% { opacity: 0; transform: translateY(-60px) rotate(-30deg) scale(1.2); } 60% { opacity: 1; } }

/* Inline SVG icons sized like the emoji around them. */
.ico { display: inline-block; width: 1em; height: 1em; vertical-align: -.15em; }

/* How it works: the Harrik mark travels from step to step, lighting each one up.
   The traveller and the orange progress line need the wide, one-row layout. */
.journey-track { position: relative; }
.traveller, .journey-fill, .j-pop, .j-spark { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .journey-track.live .j-icon { animation: j-on 8s ease infinite backwards; }
  .journey-track.live .journey-step:nth-child(2) .j-icon { animation-delay: 2s; }
  .journey-track.live .journey-step:nth-child(3) .j-icon { animation-delay: 4s; }
  .journey-track.live .journey-step:nth-child(4) .j-icon { animation-delay: 6s; }

  .j-pop { display: block; position: absolute; top: 12px; left: calc(50% + 36px); padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; }
  .journey-track.live .j-pop { animation: j-pop 8s ease 4s infinite backwards; }

  .j-spark { display: block; position: absolute; color: var(--orange); font-size: 16px; line-height: 1; opacity: 0; pointer-events: none; }
  .j-spark:nth-child(2) { top: -6px; left: calc(50% - 54px); }
  .j-spark:nth-child(3) { top: 4px; left: calc(50% + 40px); font-size: 12px; }
  .j-spark:nth-child(4) { top: 56px; left: calc(50% + 44px); }
  .journey-track.live .j-spark { animation: j-spark 8s ease 6s infinite backwards; }
  .journey-track.live .j-spark:nth-child(3) { animation-delay: 6.15s; }
  .journey-track.live .j-spark:nth-child(4) { animation-delay: 6.3s; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 821px) {
  .anim .journey-track { padding-top: 52px; }
  .anim .traveller { display: block; position: absolute; top: 0; left: 12.5%; width: 44px; height: 44px; margin-left: -22px; opacity: 0; pointer-events: none; }
  .traveller img { display: block; width: 44px; height: 44px; }
  .journey-track.live .traveller { animation: travel 8s cubic-bezier(.5,0,.3,1) infinite; }
  .journey-track.live .traveller img { animation: hop-step 2s ease-in-out infinite; }
  .anim .journey-fill { display: block; position: absolute; top: 89px; left: 12.5%; width: 75%; height: 3px; border-radius: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; }
  .journey-track.live .journey-fill { animation: fill 8s cubic-bezier(.5,0,.3,1) infinite; }
}
@keyframes travel {
  0% { left: 12.5%; opacity: 0; } 4% { opacity: 1; }
  17% { left: 12.5%; } 25% { left: 37.5%; } 42% { left: 37.5%; } 50% { left: 62.5%; }
  67% { left: 62.5%; } 75% { left: 87.5%; } 90% { left: 87.5%; opacity: 1; } 97%, 100% { left: 87.5%; opacity: 0; }
}
@keyframes fill {
  0%, 17% { transform: scaleX(0); opacity: 1; } 25%, 42% { transform: scaleX(.3333); } 50%, 67% { transform: scaleX(.6667); }
  75%, 90% { transform: scaleX(1); opacity: 1; } 97%, 100% { transform: scaleX(1); opacity: 0; }
}
@keyframes hop-step { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-12px) rotate(-6deg); } }
@keyframes j-on {
  0% { transform: none; background: var(--paper); box-shadow: 0 0 0 0 #f5cb6200; }
  4%, 17% { transform: scale(1.12); background: var(--yellow); box-shadow: 0 0 0 10px #f5cb6255; }
  25%, 100% { transform: none; background: var(--paper); box-shadow: 0 0 0 0 #f5cb6200; }
}
@keyframes j-pop {
  0% { opacity: 0; transform: translateY(10px) scale(.6); } 5% { opacity: 1; transform: translateY(-6px) scale(1); }
  16% { opacity: 1; transform: translateY(-12px); } 22%, 100% { opacity: 0; transform: translateY(-18px); }
}
@keyframes j-spark { 0% { opacity: 0; transform: scale(.3) rotate(0); } 5% { opacity: 1; transform: scale(1.25) rotate(45deg); } 15%, 100% { opacity: 0; transform: scale(.6) rotate(90deg); } }
.patch .ico { width: 1.25em; height: 1.25em; vertical-align: 0; }
.chip .ico { width: 1.4em; height: 1.4em; margin-right: .4em; vertical-align: -.4em; }
.j-icon .ico, .comp-icon .ico, .btype-icon .ico { width: 1.25em; height: 1.25em; vertical-align: 0; }
.clubs i .ico { width: 1.25em; height: 1.25em; }

/* Badge levels, like belts in karate: light colours for first steps, deep colours for deep skill. */
.lvl-1 { --c: #ddcfa6; --st: #243d3359; }
.lvl-2 { --c: #f5cb62; }
.lvl-3 { --c: #ed5936; }
.lvl-4 { --c: #4e7b57; }
.lvl-5 { --c: #243d33; }
.patch::after { border-color: var(--st, #ffffffa6); }
.belt { display: flex; gap: 3px; margin-top: -6px; }
.belt i { width: 11px; height: 5px; border-radius: 3px; background: #243d331a; }
.belt i.on:nth-child(1) { background: #ddcfa6; } .belt i.on:nth-child(2) { background: #f5cb62; }
.belt i.on:nth-child(3) { background: #ed5936; } .belt i.on:nth-child(4) { background: #4e7b57; }
.belt i.on:nth-child(5) { background: #243d33; }

.levels { grid-column: 1 / -1; padding-top: 8px; }
.levels-title { text-align: center; font: 600 13px/1.5 'DM Sans', sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: var(--body); }
.level-row { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.level-row::before { content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #ddcfa6, #f5cb62, #ed5936, #4e7b57, #243d33); }
.level { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.level .patch { width: 68px; height: 68px; font-size: 28px; margin-bottom: 12px; }
.level strong { font: 550 18px/1.2 'Outfit', sans-serif; letter-spacing: -.3px; }
.level .lv-n { font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--orange); }
.level .lv-d { font-size: 12px; line-height: 1.5; color: var(--body); max-width: 150px; }
@media (max-width: 600px) {
  .level-row { gap: 4px; }
  .level-row::before { top: 25px; height: 4px; }
  .level .patch { width: 50px; height: 50px; font-size: 20px; margin-bottom: 8px; box-shadow: 0 0 0 3px #fffaf0, 0 0 0 4px var(--c); }
  .level strong { font-size: 13px; }
  .level .lv-n { font-size: 9px; letter-spacing: .4px; }
  .level .lv-d { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .level .patch { transition: transform .25s ease; }
  .level:hover .patch { transform: translateY(-4px) scale(1.06); }
}

/* Hero board: six badges that flip, one at a time, to show other skills. */
.badge-board { perspective: 700px; }
@media (prefers-reduced-motion: no-preference) {
  .anim .hb.swapped { animation: none; }
  .hb.flip-out { animation: flip-out .28s ease-in forwards !important; }
  .hb.flip-in { animation: flip-in .4s cubic-bezier(.3,1.4,.5,1) !important; }
}
@keyframes flip-out { to { transform: rotateY(90deg) scale(.92); opacity: .3; } }
@keyframes flip-in { from { transform: rotateY(-90deg) scale(.92); opacity: .3; } }

/* Language badges use a single real letter instead of a drawn icon. */
.ico-letter { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; font: 700 1.05em/1 'Outfit', sans-serif; color: var(--ink); }
.ico-letter[lang="ar"] { font-family: 'Noto Sans Arabic', sans-serif; font-size: 1.1em; line-height: 1.3; transform: translate(-.045em, -.27em); } /* the glyph's ink sits low and right in its line box */
.ico-letter[lang="bn"] { font-family: 'Hind Siliguri', sans-serif; font-size: 1.05em; line-height: 1.2; }
.chip .ico-letter { width: 1.4em; height: 1.4em; margin-right: .4em; vertical-align: -.35em; font-size: 1em; color: var(--orange); }
