/* The Dojo's flame supplies the pink, violet, and cyan. Will's portrait adds navy and gold. */
:root {
  --bg: #f8f7fc;
  --surface: #fff;
  --text: #1a233b;
  --muted: #68728b;
  --line: #e3e4ef;
  --purple: #7440d0;
  --purple-dark: #602bbd;
  --soft: #eee7fc;
  --rose: #b12a91;
  --teal: #147f94;
  --header: rgba(248,247,252,.94);
  --panel: #f0eafa;
  --gold: #a47715;
  --flame-pink: #ec39cb;
  --flame-cyan: #11c8ef;
  --shadow: 0 16px 50px #28356012;
}
[data-theme=dark] {
  --bg: #0c1220;
  --surface: #131d2f;
  --text: #f5f3fc;
  --muted: #a4b0c8;
  --line: #26324a;
  --purple: #b59aff;
  --purple-dark: #9e7de9;
  --soft: #25233f;
  --rose: #f486dc;
  --teal: #6bd7ed;
  --header: rgba(12,18,32,.94);
  --panel: #11192c;
  --gold: #eac47b;
  --shadow: 0 20px 50px #00000030;
}
body { background-image: radial-gradient(ellipse 65% 480px at 85% 240px, #9b2bdf09, transparent); }
[data-theme=dark] body { background-image: radial-gradient(ellipse 60% 550px at 85% 230px, #7924b51a, transparent); }
.site-header { border-top: 2px solid transparent; border-image: linear-gradient(90deg,#ea26c8,#a24ae8 45%,#00cdf4) 1; border-bottom: 1px solid var(--line); }
.brand { gap: 11px; }
.brand-icon img { width: 41px; height: 43px; object-fit: contain; display: block; }
[data-theme=dark] .brand-icon img { filter: drop-shadow(0 0 8px #bd23ec30); }
.brand-period { color: var(--flame-cyan); }
.hero .eyebrow { color: var(--gold); font-size: 9px; letter-spacing: 2px; }
.status-dot { background: var(--flame-cyan); box-shadow: 0 0 9px #11c8ef35; }
.hero h1 em { color: #b12a91; background: linear-gradient(105deg,#cc2aa9 2%,#8f44ce 56%,#098fa9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
[data-theme=dark] .hero h1 em { background-image: linear-gradient(105deg,#f780dc 2%,#ba93ff 53%,#67daf0); }
.title-spark { color: var(--gold); }
.primary, [data-theme=dark] .primary { background: linear-gradient(110deg,#ad20a9,#7642d2 85%); color: #fff; box-shadow: 0 5px 22px #a922c11c; }
.primary:hover, [data-theme=dark] .primary:hover { background: linear-gradient(110deg,#951791,#6531c0 85%); box-shadow: 0 7px 24px #a922c130; }
.nav-cta { border-color: var(--line); background: var(--surface); }
.nav-cta svg { color: var(--teal); }
.mini-avatar { width: 43px; height: 43px; background: transparent; }
.mini-avatar img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mini-avatar>span { width: 10px; height: 10px; background: var(--flame-cyan); right: -1px; }
.maker-note p { font-size: 11px; }
.maker-note p span { font-size: 10px; }
.branded-hero { color: var(--text); }
.portrait-halo { position: absolute; width: 415px; height: 415px; left: 50%; top: 35px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at 25% 22%,#e732cb1c,transparent 58%),radial-gradient(ellipse at 78% 75%,#00c9ef21,transparent 60%); box-shadow: inset 0 0 70px #a961e809; border: 1px solid #a16cdb1c; }
.portrait-orbit { position: absolute; width: 466px; height: 466px; left: 50%; top: 10px; transform: translateX(-50%); border: 1px dashed #8e72c32b; border-radius: 50%; }
.hero-portrait { position: absolute; left: 50%; top: 65px; width: 330px; height: 330px; transform: translateX(-50%) rotate(3deg); filter: drop-shadow(0 22px 30px #00101f38); z-index: 1; }
.branded-hero .floating-label { top: 10px; left: 44px; transform: rotate(-4deg); font-size: 7px; color: var(--gold); border-color: #b68b3830; z-index: 3; }
.hero-app-chip { position: absolute; display: flex; align-items: center; gap: 11px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; z-index: 3; box-shadow: 0 15px 38px #1422401a; }
[data-theme=dark] .hero-app-chip { background: #172138; box-shadow: 0 18px 40px #00000030; }
.hero-app-chip b { display: block; font-size: 12px; line-height: 1.5; font-weight: 600; }
.hero-app-chip div>span { display: block; font-size: 9px; color: var(--muted); }
.hero-app-chip .app-icon { width: 35px; height: 35px; border-radius: 10px; }
.hero-app-chip .app-icon svg { width: 20px; height: 20px; }
.chip-spiral { top: 49px; right: -5px; transform: rotate(7deg); width: 230px; }
.chip-star { font-size: 25px; line-height: 1; color: var(--gold); margin-left: auto; }
.chip-hearth { bottom: 92px; left: -7px; transform: rotate(-6deg); width: 250px; align-items: flex-start; }
.chip-hearth .app-icon { margin-top: 2px; }
.hero-app-chip .chip-people { display: flex; align-items: center; margin-top: 10px; }
.chip-people i { display: grid; place-items: center; width: 18px; height: 18px; margin-left: -4px; border: 2px solid var(--surface); border-radius: 50%; font-size: 6px; font-style: normal; background: #d8b9f2; color: #563478; }
.chip-people i:first-child { margin-left: 0; background: #e6c47d; color: #68450f; }
.chip-people i:last-of-type { background: #81d4e4; color: #225971; }
.chip-people small { font-size: 6px; margin-left: 6px; color: var(--muted); }
.chip-pocket { bottom: 38px; right: -5px; width: 255px; transform: rotate(5deg); }
.chip-pocket .small-check { background: #0cbedb16; color: var(--teal); }
.branded-hero .art-spark { left: 11px; top: 105px; color: var(--flame-pink); fill: #dd3cd318; width: 31px; height: 31px; }
.branded-hero .art-caption { bottom: -10px; left: 25px; color: var(--gold); font-size: 19px; }
.portrait-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--flame-cyan); right: 1px; top: 210px; box-shadow: 0 0 18px #00cdf455; }
.values-strip svg { color: var(--gold); }
.section-kicker { color: var(--teal); }
.project-card { border-color: var(--line); }
.projects { border-top: 1px solid var(--line); }
.project-link svg,.note-read svg { color: var(--teal); }
.project-card:hover { border-color: #9f5eca66; }
.filter.active { color: var(--text); }
[data-theme=dark] .purple-icon { background: #a354ec21; color: #c598ff; }
[data-theme=dark] .rose-icon { background: #e32dbc1e; color: #fa8bdf; }
[data-theme=dark] .teal-icon { background: #0cc6ef1c; color: #6ddff4; }
[data-theme=dark] .blue-icon { background: #f2c26618; color: #e9c57f; }
/* Keep the sample interfaces legible while bringing their frames into the brand. */
[data-theme=dark] .hearth-preview { background: #28213f; }
[data-theme=dark] .spiral-preview { background: #362038; }
[data-theme=dark] .pocket-preview { background: #102e3c; }
[data-theme=dark] .atlas-preview { background: #202c46; }
[data-theme=dark] .project-preview { border-bottom-color: var(--line); }
[data-theme=dark] .preview-label { color: #d1c8e4; opacity: .9; }
[data-theme=dark] .pocket-quote { color: #ebf8fc; }
[data-theme=dark] .pocket-quote em { color: #76d9ee; }
[data-theme=dark] .pocket-orbit { border-color: #2b637444; box-shadow: 0 0 0 25px #12435933,0 0 0 50px #12435922; }
.playground { background-image: radial-gradient(ellipse at 12% 80%,#b83dc510,transparent 55%),radial-gradient(ellipse at 95% 10%,#18c3e809,transparent 50%); }
.playground h2 em { color: var(--teal); }
.playground-doodle { color: var(--gold); }
.capture-heading svg { color: var(--teal); }
.about { background-image: radial-gradient(ellipse at 10% 40%,#984dc013,transparent 55%); }
.about-art { min-height: 280px; }
.about-portrait { width: 220px; height: 220px; object-fit: contain; transform: rotate(-6deg); filter: drop-shadow(0 15px 24px #05142a25); }
.about-flame { position: absolute; width: 65px; height: 65px; right: 15px; bottom: 35px; object-fit: contain; transform: rotate(10deg); filter: drop-shadow(0 5px 12px #ae34cd30); }
.about-scribble { color: var(--gold); left: -8px; bottom: -6px; }
.site-footer .brand-icon img { width: 35px; height: 38px; }
.about-art.about-full-body { display: flex; flex-direction: column; align-items: center; gap: 18px; min-height: 0; }
.about-portrait.about-standing { display: block; width: min(100%, 260px); height: auto; aspect-ratio: 2 / 3; border-radius: 18px; transform: rotate(-3deg); border: 1px solid #cda95355; box-shadow: 0 16px 34px #05142a30; }
.about-full-body .about-scribble { position: static; align-self: flex-start; margin-left: 10px; font-size: 20px; }
.about-full-body .about-flame { width: 52px; height: 52px; right: -8px; bottom: 78px; }
.back-top span { color: var(--teal); }
@media(max-width:1120px) {
  .branded-hero { margin-left: -20px; }
  .chip-spiral { right: -13px; }
  .chip-hearth { left: -10px; }
  .chip-pocket { right: -12px; }
  .about-portrait { width: 195px; height: 195px; }
  .about-flame { right: -8px; }
}
@media(max-width:850px) {
  .branded-hero { margin-inline: auto; }
  .chip-spiral { right: 0; }
  .chip-hearth { left: 0; }
  .chip-pocket { right: 0; }
  .about-art { min-height: 245px; }
  .about-portrait { width: 165px; height: 165px; }
  .about-flame { width: 50px; height: 50px; right: -5px; bottom: 35px; }
}
@media(max-width:600px) {
  .site-header { border-top-width: 2px; }
  .brand { gap: 9px; font-size: 20px; }
  .brand-icon img { width: 32px; height: 35px; }
  .hero .eyebrow { font-size: 7px; letter-spacing: 1.5px; }
  .maker-note p { font-size: 10px; }
  .maker-note p span { font-size: 9px; }
  .mini-avatar { width: 38px; height: 38px; }
  .branded-hero { height: 385px; width: 100%; margin-top: 28px; margin-inline: 0; }
  .hero-portrait { top: 62px; width: 235px; height: 235px; }
  .portrait-halo { width: 290px; height: 290px; top: 35px; }
  .portrait-orbit { width: 320px; height: 320px; top: 18px; }
  .branded-hero .floating-label { font-size: 5px; top: 2px; left: 10px; padding: 6px 8px; }
  .hero-app-chip { padding: 11px; gap: 8px; border-radius: 10px; }
  .hero-app-chip .app-icon { width: 28px; height: 28px; border-radius: 8px; }
  .hero-app-chip .app-icon svg { width: 16px; height: 16px; }
  .hero-app-chip b { font-size: 10px; }
  .hero-app-chip div>span { font-size: 7px; }
  .chip-spiral { width: 185px; top: 35px; right: 0; }
  .chip-star { font-size: 20px; }
  .chip-hearth { width: 200px; left: 0; bottom: 83px; }
  .hero-app-chip .chip-people { margin-top: 7px; }
  .chip-people i { width: 16px; height: 16px; }
  .chip-people small { font-size: 5px; margin-left: 4px; }
  .chip-pocket { width: 210px; bottom: 24px; right: 0; }
  .branded-hero .art-spark { width: 23px; top: 68px; left: 2px; }
  .branded-hero .art-caption { font-size: 14px; bottom: -10px; left: 4px; max-width: none; }
  .portrait-dot { width: 6px; height: 6px; top: 170px; right: 4px; }
  .about-art { min-height: 215px; }
  .about-portrait { width: 180px; height: 180px; }
  .about-flame { right: 0; bottom: 31px; }
  .about-scribble { left: -8px; bottom: -4px; font-size: 17px; }
}
@media(max-width:360px) {
  .portrait-orbit { width: 280px; height: 280px; top: 38px; }
  .portrait-halo { width: 255px; height: 255px; top: 48px; }
  .hero-portrait { width: 215px; height: 215px; top: 78px; }
  .chip-spiral { width: 170px; }
}

/* Readable copy, explicit project availability, and a direct path to contact. */
body { font-size: 16px; }
.hero { grid-template-columns: 1.08fr 1fr; gap: 36px; }
.hero h1 { font-size: clamp(44px, 4.7vw, 66px); letter-spacing: -2.5px; }
.hero .eyebrow, .section-kicker { font-size: 11px; line-height: 1.6; letter-spacing: 1.4px; }
.hero-description { font-size: 18px; max-width: 470px; line-height: 1.75; }
.hero-actions { flex-wrap: wrap; gap: 18px 24px; }
.hero-actions .button, .hero-actions .text-link { font-size: 15px; }
.button, .text-link, .nav-cta { font-size: 15px; min-height: 44px; }
.icon-button { width: 44px; height: 44px; }
nav { gap: 22px; font-size: 14px; }
.nav-wrap { gap: 22px; }
.nav-actions { gap: 14px; }
.maker-note p { font-size: 14px; }
.maker-note p span { font-size: 12px; }
.values-strip { flex-wrap: wrap; gap: 16px 24px; }
.values-strip>span { font-size: 11px; }
.values-strip p { font-size: 14px; }
.section-heading { align-items: flex-start; flex-wrap: wrap; }
.section-heading p:not(.eyebrow) { font-size: 16px; max-width: 650px; line-height: 1.7; }
.filter { min-height: 44px; padding: 9px 14px; font-size: 13px; }
.project-card { display: flex; flex-direction: column; }
.project-info { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.project-name { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 5px 12px; }
.project-name .app-icon { grid-row: 1 / 3; }
.project-name h3 { font-size: 24px; }
.project-name>div>span { display: block; font-size: 14px; margin-top: 4px; }
.project-type { grid-column: 2; margin: 0; text-align: left; font-size: 10px; letter-spacing: 1.1px; }
.project-info>p { font-size: 16px; line-height: 1.75; max-width: none; }
.project-availability { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 20px; margin-bottom: 8px; }
.project-availability>span:last-child { font-size: 12px; color: var(--muted); }
.availability-badge { display: inline-flex; align-items: center; padding: 4px 10px; font-size: 12px; font-weight: 600; line-height: 1.6; border-radius: 30px; background: var(--soft); color: var(--text); }
.demo-available { color: var(--teal); background: #12a6bd16; }
.project-actions { margin-top: auto; padding-top: 12px; }
.project-link { font-size: 15px; margin-top: 0; min-height: 44px; }
.project-demo-link { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; color: var(--teal); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.collection-footnote { font-size: 14px; line-height: 1.7; text-align: center; align-items: flex-start; }
.playground-copy>p:not(.eyebrow) { font-size: 16px; line-height: 1.8; max-width: 430px; }
.local-note { font-size: 13px; line-height: 1.7; align-items: flex-start; }
.local-note .status-dot { margin-top: 8px; }
.capture-heading>span:first-child { font-size: 16px; }
.capture-heading>span:last-child { font-size: 12px; }
#thought-input { font-size: 16px; line-height: 1.7; }
.capture-controls { flex-wrap: wrap; gap: 10px; }
.capture-controls>span { font-size: 12px; }
.capture-controls .button { font-size: 14px; }
.empty-thoughts p, .thought-item p { font-size: 15px; }
.empty-thoughts small, .capture-status { font-size: 13px; }
.thought-item button { min-width: 44px; min-height: 44px; }
.note-card h3 { font-size: 26px; line-height: 1.35; text-wrap: pretty; }
.note-card p { font-size: 16px; line-height: 1.75; max-width: none; }
.note-meta, .note-meta>span { font-size: 11px; }
.note-read { font-size: 14px; min-height: 44px; }
.notes-aside { font-size: 13px; }
.about { grid-template-columns: minmax(200px,.7fr) minmax(0,1.3fr); grid-template-areas: "art heading" "art copy"; column-gap: 64px; row-gap: 0; padding: 52px 64px; align-items: start; margin-bottom: 64px; }
.about-heading { grid-area: heading; align-self: end; padding-top: 10px; }
.about-heading h2 { font-size: 44px; }
.about-art.about-full-body { grid-area: art; align-self: center; gap: 14px; }
.about-portrait.about-standing { width: min(100%, 240px); }
.about-full-body .about-scribble { font-size: 20px; text-align: center; align-self: center; margin: 0; max-width: 250px; }
.about-copy { grid-area: copy; }
.about-copy>p:not(.eyebrow) { font-size: 16px; line-height: 1.8; margin-top: 18px; }
.about-copy .text-link { font-size: 15px; margin-top: 18px; }
.contact { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 40px; padding-block: 12px 72px; }
.contact h2 { font-size: 40px; }
.contact p:not(.eyebrow) { font-size: 16px; color: var(--muted); line-height: 1.8; margin-top: 18px; max-width: 630px; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.contact-actions .button { min-width: 180px; }
.contact-address { font-size: 15px; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: flex; align-items: center; overflow-wrap: anywhere; }
.footer-top p, .back-top { font-size: 14px; }
.footer-bottom { font-size: 12px; gap: 20px; }
dialog { width: min(720px,calc(100% - 32px)); }
.dialog-body p { font-size: 16px; }
.dialog-kicker { font-size: 11px; padding-right: 28px; }
.dialog-availability { background: var(--panel); padding: 16px; border-radius: 10px; }
.dialog-availability p { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.dialog-facts span, .dialog-preview-note { font-size: 13px; }
.walkthrough-heading { font-size: 20px; margin-top: 28px; }
.walkthrough-steps { padding-left: 24px; margin-top: 14px; }
.walkthrough-steps li { padding: 0 0 18px 8px; font-size: 16px; }
.walkthrough-steps li::marker { color: var(--teal); font-weight: 600; }
.walkthrough-steps strong { font-weight: 600; }
.walkthrough-steps p { color: var(--muted); margin-top: 4px; line-height: 1.7; }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.dialog-actions button.text-link { background: transparent; padding: 0; text-align: left; }
.dialog-title:focus { outline: none; }
@media(max-width:1120px) {
  .nav-wrap { gap: 18px; }
  nav { gap: 16px; }
  .nav-cta { display: none; }
  .hero { gap: 24px; }
  .about { column-gap: 36px; padding: 42px; }
}
@media(max-width:850px) {
  .hero { grid-template-columns: 1fr; }
  .hero-description { max-width: 560px; margin-inline: auto; }
  .hero h1 { font-size: 64px; }
  .about { grid-template-columns: minmax(180px,.65fr) minmax(0,1fr); column-gap: 28px; padding: 32px; }
  .contact { grid-template-columns: 1fr; gap: 24px; }
  .contact-actions { align-items: flex-start; }
}
@media(max-width:600px) {
  .hero { padding-top: 40px; gap: 16px; }
  .hero h1 { font-size: clamp(36px,9.8vw,52px); letter-spacing: -1.8px; line-height: 1.12; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .hero-description { font-size: 17px; }
  .hero-actions { gap: 10px; }
  .maker-note { margin-top: 25px; }
  .maker-note p { font-size: 13px; text-align: left; }
  .maker-note p span { font-size: 12px; }
  .branded-hero { height: 340px; margin-top: 8px; }
  .hero-portrait { width: 215px; height: 215px; top: 55px; }
  .portrait-halo { width: 260px; height: 260px; top: 35px; }
  .portrait-orbit { width: min(290px,100%); height: 290px; top: 18px; }
  .branded-hero .floating-label { font-size: 8px; letter-spacing: .7px; }
  .hero-app-chip b { font-size: 12px; }
  .hero-app-chip div>span, .hero-app-chip .chip-people { display: none; }
  .chip-spiral { width: 150px; top: 38px; }
  .chip-hearth { width: 145px; bottom: 75px; align-items: center; }
  .chip-pocket { width: 210px; bottom: 15px; }
  .branded-hero .art-caption { bottom: -16px; font-size: 17px; }
  .values-strip { justify-content: flex-start; gap: 12px 20px; }
  .values-strip>span { width: 100%; }
  .values-strip p { font-size: 13px; }
  .section { padding-block: 58px; }
  .section-heading { gap: 24px; }
  .filter-group { max-width: 100%; }
  .filter { padding-inline: 10px; font-size: 12px; }
  .project-info { padding: 24px; }
  .project-name h3 { font-size: 24px; }
  .project-name>div>span { font-size: 13px; }
  .project-info>p { font-size: 16px; }
  .collection-footnote { justify-content: flex-start; text-align: left; font-size: 13px; }
  .playground-doodle { display: none; }
  .playground h2 { font-size: 44px; }
  .capture-panel { padding: 20px; }
  .capture-heading { gap: 12px; }
  .capture-heading>span:first-child { font-size: 15px; }
  .capture-controls .button { width: 100%; }
  .capture-controls>span { display: block; }
  .note-card h3 { font-size: 26px; }
  .about { grid-template-columns: 1fr; grid-template-areas: "heading" "art" "copy"; padding: 28px 24px; gap: 24px; margin-bottom: 48px; }
  .about-heading { padding-top: 0; }
  .about-heading h2 { font-size: 38px; }
  .about-heading .section-kicker { font-size: 10px; }
  .about-art.about-full-body { max-width: none; min-height: 0; }
  .about-portrait.about-standing { width: 180px; }
  .about-full-body .about-scribble { font-size: 18px; }
  .about-copy>p:not(.eyebrow):first-child { margin-top: 0; }
  .contact { padding-bottom: 48px; }
  .contact h2 { font-size: 34px; }
  .footer-top { gap: 20px; }
  .footer-bottom { font-size: 12px; }
  dialog { padding: 48px 24px 28px; }
  .dialog-body p { font-size: 16px; }
  .dialog-actions { align-items: stretch; flex-direction: column; }
}
/* Actual app artwork, shared across cards, hero chips, previews, and dialogs. */
.app-icon.app-logo { background: transparent; border-radius: 0; }
.app-logo .project-app-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.preview-sidebar > .project-app-logo { display: block; width: 30px; height: 30px; object-fit: contain; margin-bottom: 14px; }
.server-square:has(> .project-app-logo) { background: transparent; }
.server-square > .project-app-logo { display: block; width: 30px; height: 30px; object-fit: contain; }
.capture-heading .project-app-logo { display: block; width: 25px; height: 25px; object-fit: contain; }
