/* 1. Homepage tokens and shared interaction feedback. */
.home-document {
  background: #f7f9f6;
  scrollbar-width: thin;
  scrollbar-color: #3f7160 #eef3ee;
  scroll-padding-top: 92px;
}
.home-document::-webkit-scrollbar { width: 9px; }
.home-document::-webkit-scrollbar-track { background: #eef3ee; }
.home-document::-webkit-scrollbar-thumb {
  border: 2px solid #eef3ee;
  border-radius: 20px;
  background: #3f7160;
}
.home-page {
  --paper: #f7f9f6;
  --surface: #fff;
  --ink: #31453c;
  --ink-strong: #213d31;
  --muted: #758279;
  --teal: #315f49;
  --teal-deep: #254e3b;
  --line: #e2e9e2;
  --home-shadow: 0 8px 22px -8px rgb(38 71 49 / 15%);
  --ease: cubic-bezier(.2, .7, .3, 1);
  background: var(--paper);
}
.home-page *, .home-page *::before, .home-page *::after { letter-spacing: 0; }
.home-page .site-main { overflow: clip; }
.home-container, .home-page .section-inner { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.home-page :is(button, a, input) { -webkit-tap-highlight-color: transparent; }
.home-page :is(button, a) {
  transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.home-page :is(button, a):focus-visible { outline: 2px solid #46785d; outline-offset: 5px; }
.home-page :is(button, .button):active { transform: scale(.97); }
.home-page .button { min-height: 43px; gap: 9px; border-radius: 10px; padding: 0 18px; font-size: 12px; }
.home-page .button.primary { background: var(--teal); border-color: var(--teal); box-shadow: 0 5px 12px rgb(38 71 49 / 12%); }
.home-page .button.primary:hover { background: #3c6d53; transform: translateY(-2px); box-shadow: 0 8px 18px rgb(38 71 49 / 20%); }
.home-page .button.primary:active { transform: translateY(0) scale(.97); }
.home-page .skip-link { position: fixed; top: 8px; left: 12px; z-index: 100; padding: 10px 16px; background: #fff; transform: translateY(-160%); }
.home-page .skip-link:focus { transform: translateY(0); }

/* 2. Navigation, including the compact search and menu. */
.home-page .site-header {
  position: sticky;
  top: 0;
  height: 72px;
  gap: 36px;
  padding: 0 max(40px, calc((100% - 1280px) / 2));
  background: rgb(247 249 246 / 93%);
  border: 0;
  backdrop-filter: blur(16px);
  transition: background-color .2s, box-shadow .2s;
}
.home-page .site-header.is-scrolled { background: rgb(255 255 255 / 91%); box-shadow: 0 4px 22px rgb(38 71 49 / 7%); }
.home-page .brand { font-size: 19px; gap: 9px; }
.home-page .brand-mark { background: var(--teal); }
.home-page .brand em { color: #8c9890; font-size: 9px; letter-spacing: 0; }
.home-page .site-nav { gap: 24px; }
.home-page .site-nav a { font-size: 12px; }
.home-page .site-nav a::after { content: ''; position: absolute; bottom: 15px; left: 0; right: 0; height: 3px; background: #81a58a; border-radius: 2px; transform: scaleX(0); transition: transform .2s; }
.home-page .site-nav a.active::after, .home-page .site-nav a:hover::after { transform: scaleX(1); }
.home-page .header-tools { gap: 7px; }
.home-page .search-box { width: 190px; height: 35px; border: 1px solid var(--line); border-radius: 30px; background: rgb(255 255 255 / 75%); }
.home-page .search-box input { font-size: 11px; }
.home-page .search-box input::placeholder { color: #98a198; }
.home-page .auth-button { height: 35px; border-radius: 8px; }
.home-page .auth-button.primary { background: #315f49; color: #fff; box-shadow: none; }
.home-page .auth-button.primary:hover { background: #457558; transform: translateY(-2px); }
.home-page .account-chip { max-width: 140px; }
.home-page [data-account-name] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-page .header-icon { width: 34px; height: 36px; display: none; place-items: center; border-radius: 8px; flex-shrink: 0; }
.home-page .header-icon:hover { background: #e8f0e8; }

/* 3. A compact, full-width studio surface with real bead artwork. */
.studio-intro { position: relative; isolation: isolate; min-height: 340px; background: #f2f5f0; overflow: hidden; }
.studio-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -1; }
.intro-inner { position: relative; min-height: 340px; display: flex; align-items: center; }
.intro-copy { padding: 32px 0 42px; }
.intro-eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 18px; color: #839384; font: 10px/1.4 MiSans, sans-serif; }
.studio-intro h1 { margin: 0; color: var(--ink-strong); font-size: 46px; font-weight: 600; line-height: 1.3; }
.studio-intro h1 span { display: inline-block; margin-left: 19px; font-size: 19px; font-weight: 400; vertical-align: middle; color: #586e5c; }
.intro-description { margin: 12px 0 23px; color: #748477; font-size: 15px; }
.intro-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.intro-editor { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #5c7262; }
.intro-editor:hover { color: var(--teal); transform: translateY(-2px); }
.intro-art-link { position: absolute; right: 40px; bottom: 19px; display: flex; align-items: center; gap: 7px; color: #586959; font-size: 10px; }
.intro-art-link svg { width: 13px; }
.status-dot { width: 5px; height: 5px; background: #71916d; }
.pixel-bean { display: inline-block; width: 23px; height: 27px; flex-shrink: 0; background: #74997c; clip-path: polygon(30% 0, 80% 0, 80% 15%, 100% 15%, 100% 65%, 80% 65%, 80% 85%, 60% 85%, 60% 100%, 15% 100%, 15% 85%, 0 85%, 0 35%, 15% 35%, 15% 15%, 30% 15%); position: relative; }
.pixel-bean::after { content: ''; position: absolute; width: 5px; height: 6px; top: 7px; left: 9px; background: #dce9d9; box-shadow: -4px 5px #dce9d9; }
.intro-eyebrow .pixel-bean { width: 15px; height: 18px; }
.intro-eyebrow .pixel-bean::after { width: 3px; height: 4px; top: 4px; left: 6px; box-shadow: -2px 4px #dce9d9; }

/* 4. Entry cards. The final four-column rule below supersedes the legacy 2 + 2 draft. */
.tool-section { padding: 29px 0 67px; }
.tool-section-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 18px; }
.home-page .section-eyebrow { margin: 0; font-size: 10px; font-weight: 400; color: #87978b; letter-spacing: 0; }
.pixel-line { width: 4px; height: 4px; margin-right: 40px; background: #d4a0a3; box-shadow: 8px 0 #d4a0a3, 16px 0 #d4a0a3, 24px 0 #a5b89e, 32px 0 #a5b89e, 40px 0 #d4c995; }
.home-page .tool-strip { display: grid; grid-template-columns: 1.06fr 1fr; gap: 18px 26px; padding: 0; border: 0; background: none; }
.tool-slot { min-width: 0; }
.tool-slot:nth-child(2) { margin-top: 20px; margin-bottom: -20px; }
.tool-slot:nth-child(3) { width: 90%; margin-left: 5%; }
.tool-slot:nth-child(4) { width: 91%; margin-top: 20px; margin-bottom: -20px; margin-left: 2%; }
.home-page .tool-link { position: relative; min-height: 100px; height: 100%; gap: 19px; padding: 24px 28px; border: 0; border-radius: 20px; background: #fff; box-shadow: var(--home-shadow); }
.home-page .tool-link:hover { transform: translateY(-3px); background: #fefffc; box-shadow: 0 14px 27px -7px rgb(38 71 49 / 22%); }
.home-page .tool-link:active { transform: translateY(-1px) scale(.98); }
.home-page .tool-link > svg { width: 19px; height: 19px; color: #819587; transition: transform .2s, color .2s; flex-shrink: 0; }
.home-page .tool-link:hover > svg { transform: translateX(5px); color: var(--teal); }
.home-page .tool-icon { width: 48px; height: 48px; border-radius: 13px; position: relative; }
.home-page .tool-icon svg { width: 23px; height: 23px; stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; shape-rendering: crispEdges; }
.home-page .tool-icon::after { content: ''; position: absolute; right: 5px; bottom: 5px; width: 4px; height: 4px; background: currentColor; opacity: .35; box-shadow: -6px 0 currentColor, 0 -6px currentColor; }
.home-page .tool-icon.teal { background: #e5efe4; color: #5b8669; }
.home-page .tool-icon.rose { background: #f9e7e8; color: #bf8994; }
.home-page .tool-icon.lilac { background: #ece8f6; color: #9584b0; }
.home-page .tool-icon.ochre { background: #f7f0d8; color: #b49c56; }
.tool-copy { min-width: 0; }
.home-page .tool-link strong { margin-bottom: 4px; font-size: 16px; }
.home-page .tool-link small { font-size: 11px; color: #8b968e; line-height: 1.6; }
.tool-index { position: absolute; right: 26px; top: 12px; color: #a7b4a8; font: 9px/1.2 monospace; }

/* 5. Community band, separated sorting and category pills. */
.home-page .community-section { max-width: none; position: relative; isolation: isolate; padding: 62px 0 67px; border: 0; background: #edf3ed; scroll-margin-top: 72px; }
.home-page .community-section::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .44; background-image: conic-gradient(at 2px 2px, transparent 75%, #bfd1c0 0); background-size: 22px 22px; }
.home-page .section-head { align-items: flex-end; gap: 30px; margin-bottom: 32px; }
.home-page .section-head .section-eyebrow { margin: 0 0 12px; color: #8c9f8f; font-size: 10px; }
.home-page .section-head h2 { display: flex; align-items: center; gap: 17px; margin: 0; font-size: 34px; line-height: 1.4; }
.home-page .section-head h2::before { content: ''; width: 26px; height: 4px; background: #7c9b7f; border-radius: 2px; }
.home-page .section-head h2 span { font-size: 19px; color: #59715e; font-weight: 400; }
.home-page .section-head > p { margin: 0 8px -6px 0; color: #809284; font-size: 11px; line-height: 1.85; }
.home-page .community-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: start; gap: 38px; }
.community-feed { min-width: 0; }
.home-page .feed-toolbar { gap: 8px; margin-bottom: 15px; }
.home-page .feed-tab, .home-page .tag { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid transparent; border-radius: 50px; background: #e3ece3; color: #708471; font-weight: 400; white-space: nowrap; }
.home-page .feed-tab { height: 35px; padding: 0 17px; font-size: 12px; }
.home-page .feed-tab svg { width: 13px; height: 13px; }
.home-page .tag { min-width: 48px; height: 29px; padding: 0 13px; font-size: 11px; background: rgb(255 255 255 / 65%); }
.home-page .feed-tab:hover, .home-page .tag:hover { background: #fff; color: var(--teal); transform: translateY(-2px); }
.home-page .feed-tab.active, .home-page .tag.active { color: #fff; background: var(--teal); box-shadow: 0 4px 9px rgb(38 71 49 / 14%); transform: translateY(-1px); }
.home-page .feed-tab:active, .home-page .tag:active { transform: translateY(0) scale(.96); }
.home-page .tag-row { gap: 7px; margin-bottom: 26px; }
.feed-count { margin-left: auto; color: #839487; font-size: 10px; white-space: nowrap; }

/* 6. Native CSS masonry. Frame variation never stretches or crops the pattern. */
.home-page .work-grid { display: block; columns: 3; column-gap: 20px; min-height: 220px; }
.home-page .work-grid.is-compact { columns: 2; }
.home-page .work-card { display: block; break-inside: avoid; margin: 0 0 22px; padding: 0; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
.home-page .work-card:hover { transform: none; box-shadow: none; }
.home-page .work-card-link { display: block; overflow: hidden; border: 1px solid rgb(255 255 255 / 85%); border-radius: 21px; background: #fff; box-shadow: 0 9px 17px -8px rgb(37 68 46 / 16%); }
.home-page .work-card-link:hover, .home-page .work-card-link:focus-visible { transform: translateY(-3px) scale(1.012); box-shadow: 0 18px 30px -8px rgb(37 68 46 / 25%); }
.home-page .work-card-link:active { transform: scale(.985); }
.home-page .work-art { position: relative; display: grid; place-items: center; padding: 24px; aspect-ratio: var(--art-frame, 1); background: var(--art-ground, #e8eee7); }
.home-page .work-art canvas { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: none; image-rendering: pixelated; }
.work-badge { position: absolute; top: 13px; left: 14px; padding: 4px 8px; border-radius: 6px; background: rgb(255 255 255 / 83%); color: #6c7c70; font-size: 9px; }
.work-card-detail { position: absolute; bottom: 12px; left: 14px; right: 14px; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 7px 10px; border-radius: 8px; color: #526b58; background: rgb(255 255 255 / 88%); backdrop-filter: blur(8px); font-size: 10px; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.work-card-detail span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-card-detail svg { width: 13px; height: 13px; flex-shrink: 0; }
.work-card-link:hover .work-card-detail, .work-card-link:focus-visible .work-card-detail { opacity: 1; transform: translateY(0); }
.home-page .work-card-body { padding: 16px 19px 17px; background: #fff; }
.home-page .work-card-title { margin: 0 0 10px; font-size: 14px; line-height: 1.6; white-space: normal; overflow-wrap: anywhere; }
.home-page .work-card-meta { gap: 8px; font-size: 10px; color: #8b988e; }
.home-page .work-card-creator { gap: 7px; }
.home-page .work-card-creator .avatar { width: 21px; height: 21px; background: #e8e6f0; color: #9589a2; font-style: normal; }
.home-page .work-card-stats { gap: 10px; color: #859487; flex-shrink: 0; }
.home-page .work-card-stats svg { width: 12px; height: 12px; }
.home-page .empty-results { column-span: all; border: 0; padding: 55px 20px; border-radius: 0; background: none; }
.empty-results svg { display: block; margin: 0 auto 14px; width: 30px; height: 30px; color: #91a78d; }
.empty-results p { margin: 9px 0 18px; font-size: 12px; }
.feed-more { display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; margin: 16px auto 0; padding: 10px 3px; font-size: 12px; color: #6c826e; }
.feed-more svg { width: 15px; transition: transform .2s; }
.feed-more:hover { color: var(--teal); }
.feed-more:hover svg { transform: translateX(4px); }

/* 7. The glass sidebar starts lower than the feed and remains in normal flow. */
.home-page .rank-panel { position: sticky; top: 99px; margin-top: 57px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.home-page .rank-block { position: relative; padding: 24px 21px 16px; border: 1px solid rgb(255 255 255 / 85%); border-radius: 22px; background: rgb(255 255 255 / 68%); box-shadow: 0 12px 30px -10px rgb(53 80 53 / 12%); backdrop-filter: blur(14px); }
.home-page .popular-rank-block { margin-left: 12px; margin-right: -12px; background: rgb(251 247 250 / 72%); }
.rank-eyebrow { margin: 0 0 7px; color: #99a596; font-size: 9px; }
.home-page .rank-block h3 { margin: 0 0 16px; font-size: 16px; }
.home-page .rank-block h3 svg { color: #86a381; width: 17px; }
.rank-bean { position: absolute; top: -13px; right: 24px; transform: rotate(12deg); background: #91af8a; }
.home-page .rank-item { min-height: 64px; gap: 9px; border: 0; }
.home-page .rank-item .avatar { width: 31px; height: 31px; font-style: normal; background: #e2ece0; color: #6e8a67; }
.home-page .rank-number { width: 15px; color: #a9b69f; font-size: 11px; }
.home-page .rank-info strong { font-size: 11px; }
.home-page .rank-info small { margin-top: 4px; color: #95a093; font-size: 10px; }
.home-page .rank-score { font-size: 10px; color: #839579; }
.rank-work-thumb { width: 42px; height: 48px; flex-shrink: 0; padding: 4px; background: #f0ecef; border-radius: 7px; image-rendering: pixelated; object-fit: contain; }
.home-page .rank-work-link { border-radius: 8px; }
.home-page .rank-work-link:hover { background: rgb(255 255 255 / 70%); transform: translateX(3px); }
.rank-action { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 14px; padding-top: 13px; border-top: 1px solid #e4ebe1; color: #6b8466; font-size: 11px; }
.rank-action:hover { color: var(--teal); }
.rank-action svg { width: 14px; }
.rank-empty { margin: 17px 0 23px; color: #889781; font-size: 12px; line-height: 1.9; }
.rank-empty strong { display: block; margin-bottom: 6px; color: #657c60; font-size: 13px; font-weight: 500; }

/* 8. Unframed closing band, footer, and pixel-style back-to-top. */
.create-outro { display: flex; align-items: center; gap: 23px; padding-block: 56px; }
.create-outro > .pixel-bean { width: 33px; height: 39px; background: #d4a0a3; transform: rotate(-9deg); }
.create-outro > .pixel-bean::after { background: #f8dadd; box-shadow: -4px 5px #f8dadd; top: 12px; left: 13px; }
.create-outro h2 { margin: 7px 0 0; font-size: 22px; font-weight: 500; }
.create-outro > .button { margin-left: auto; }
.home-page .site-footer { padding: 29px max(40px, calc((100% - 1200px) / 2)); background: #f0f4ef; border-top: 1px solid #e2e9df; gap: 23px; color: #7e8e7d; font-size: 10px; }
.home-page .footer-brand strong { color: #3f6147; }
.home-page .footer-links { color: #778e74; gap: 15px; }
.home-page .footer-links a:hover { color: #35573c; }
.home-page .footer-right { color: #94a08f; flex-direction: column; align-items: flex-end; gap: 3px; }
.home-page .back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #456d51; border-radius: 10px; color: #fff; background: #315f49; box-shadow: 3px 3px 0 #b6c6ae, 0 6px 17px rgb(36 73 44 / 15%); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px); transition: opacity .2s, transform .2s, background-color .2s, visibility .2s; }
.home-page .back-to-top svg { width: 20px; height: 20px; stroke-linecap: square; stroke-linejoin: miter; shape-rendering: crispEdges; }
.home-page .back-to-top::after { content: ''; position: absolute; right: 6px; bottom: 6px; width: 3px; height: 3px; background: #e2cb88; box-shadow: -5px 0 #deaaaa; }
.home-page .back-to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.home-page .back-to-top:hover { background: #467854; transform: translateY(-3px); }
.home-page .back-to-top:active { transform: translateY(0) scale(.95); }
.home-page .toast { bottom: 82px; }
.home-page .auth-modal { border-radius: 20px; background: #fff; }
.home-page .auth-modal [hidden] { display: none; }
.home-page.modal-open { overflow: hidden; }

/* 9. Reveal wrappers keep entrance transforms independent of card hover. */
.home-page .reveal-on-scroll { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease) var(--reveal-delay, 0ms), transform .65s var(--ease) var(--reveal-delay, 0ms); }
.home-page .reveal-on-scroll.is-revealed { opacity: 1; transform: translateY(0); }

/* 10. Breakpoints for the legacy composition. The final four-column pass below resets its offsets. */
@media (min-width: 1600px) {
  .studio-art { object-fit: contain; }
}
@media (max-width: 1150px) {
  .home-page .site-header { gap: 24px; padding-inline: 30px; }
  .home-page .brand em { display: none; }
  .home-page .site-nav { gap: 19px; }
  .home-page .search-box { width: 160px; }
  .home-page .community-layout { grid-template-columns: minmax(0, 1fr) 237px; gap: 27px; }
  .home-page .work-grid { columns: 2; }
  .home-page .tool-link { padding-inline: 22px; }
  .home-page .work-card-stats > span:last-child { display: none; }
  .home-page .site-footer { grid-template-columns: 1fr auto; }
  .home-page .footer-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
}
@media (max-width: 900px) {
  .home-container, .home-page .section-inner { width: calc(100% - 48px); }
  .home-page .site-header { height: 64px; padding-inline: 24px; gap: 12px; }
  .home-page .menu-toggle { display: grid; }
  .home-page .site-nav { display: none; position: absolute; top: 64px; left: 16px; right: 16px; height: auto; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--home-shadow); }
  .home-page .site-nav.is-open { display: flex; flex-wrap: wrap; gap: 5px; }
  .home-page .site-nav a { padding: 12px; height: auto; border-radius: 8px; }
  .home-page .site-nav a.active { background: #edf3e9; }
  .home-page .site-nav a::after { display: none; }
  .home-page .search-box { width: 180px; }
  .studio-intro h1 { font-size: 40px; }
  .studio-intro h1 span { display: block; margin: 6px 0 0; font-size: 17px; }
  .studio-art { object-position: 58%; }
  .intro-inner, .studio-intro { min-height: 328px; }
  .intro-art-link { right: 0; }
  .intro-description { font-size: 13px; }
  .intro-actions { gap: 14px; }
  .tool-section { padding-bottom: 57px; }
  .home-page .tool-strip { gap: 16px 18px; }
  .home-page .tool-link { gap: 14px; padding: 24px 19px; }
  .home-page .tool-link strong { font-size: 14px; }
  .home-page .tool-link small { font-size: 10px; }
  .home-page .tool-icon { width: 42px; height: 44px; }
  .home-page .section-head > p { max-width: 240px; font-size: 10px; }
  .home-page .section-head h2 { font-size: 30px; gap: 12px; }
  .home-page .section-head h2 span { font-size: 16px; }
  .home-page .community-layout { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .home-page .rank-panel { position: static; display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; gap: 22px; }
  .home-page .popular-rank-block { margin: 18px 0 -18px; }
  .home-page .work-card-stats > span:last-child { display: inline-flex; }
  .home-page .community-section { padding-block: 47px 62px; }
  .create-outro { padding-block: 43px; gap: 16px; }
  .create-outro h2 { font-size: 19px; }
  .create-outro > .pixel-bean { display: none; }
}
@media (max-width: 600px) {
  .home-container, .home-page .section-inner { width: calc(100% - 36px); }
  .home-page .site-header { padding-inline: 18px; height: 60px; }
  .home-page .brand { font-size: 17px; gap: 7px; }
  .home-page .brand-mark { width: 29px; height: 29px; }
  .home-page .header-tools { gap: 3px; }
  .home-page .auth-button { display: inline-flex; align-items: center; padding-inline: 8px; font-size: 11px; }
  .home-page .search-toggle { display: grid; }
  .home-page .search-box { display: none; position: absolute; top: 65px; right: 16px; width: calc(100% - 32px); height: 43px; padding-inline: 14px; background: #fff; box-shadow: var(--home-shadow); }
  .home-page .search-box.is-open { display: flex; }
  .home-page .search-box input { display: block; }
  .home-page .site-nav { top: 65px; }
  .home-page .account-chip { max-width: 95px; }
  .studio-intro, .intro-inner { min-height: 368px; }
  .intro-inner { align-items: flex-start; }
  .intro-copy { padding-top: 23px; width: 100%; }
  .intro-eyebrow { margin-bottom: 10px; font-size: 8px; }
  .studio-intro h1 { font-size: 34px; }
  .studio-intro h1 span { display: inline; margin-left: 13px; font-size: 15px; }
  .intro-description { margin-block: 9px 16px; font-size: 12px; }
  .intro-actions { gap: 15px; }
  .intro-actions .button { min-height: 38px; padding-inline: 12px; font-size: 11px; }
  .intro-editor { font-size: 10px; }
  .intro-editor svg { width: 12px; }
  .studio-art { top: auto; bottom: -1px; left: auto; right: -2px; width: 660px; max-width: none; height: 220px; object-fit: fill; }
  .intro-art-link { bottom: 10px; right: 5px; font-size: 9px; }
  .tool-section { padding-top: 23px; padding-bottom: 46px; }
  .tool-section-heading { padding-bottom: 14px; }
  .home-page .section-eyebrow { font-size: 8px; }
  .home-page .tool-strip { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .tool-slot:nth-child(2), .tool-slot:nth-child(4) { margin-top: 15px; margin-bottom: -15px; }
  .tool-slot:nth-child(3) { width: 94%; margin-left: 3%; }
  .tool-slot:nth-child(4) { width: 95%; margin-left: 2%; }
  .home-page .tool-link { display: flex; flex-wrap: wrap; align-content: flex-start; min-height: 145px; padding: 16px; gap: 12px 8px; border-radius: 17px; }
  .home-page .tool-icon { width: 37px; height: 37px; border-radius: 10px; }
  .home-page .tool-icon svg { width: 19px; height: 19px; }
  .tool-copy { width: 100%; }
  .home-page .tool-link strong { font-size: 13px; }
  .home-page .tool-link small { font-size: 9px; }
  .home-page .tool-link > svg { display: block; position: absolute; top: 28px; right: 16px; width: 15px; }
  .tool-index { display: none; }
  .home-page .community-section { padding-top: 36px; }
  .home-page .section-head { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 23px; }
  .home-page .section-head .section-eyebrow { margin-bottom: 8px; font-size: 9px; }
  .home-page .section-head h2 { font-size: 28px; gap: 11px; }
  .home-page .section-head h2::before { width: 19px; height: 3px; }
  .home-page .section-head h2 span { font-size: 15px; }
  .home-page .section-head > p { max-width: none; margin: 0; font-size: 10px; }
  .home-page .section-head > p br { display: none; }
  .home-page .feed-toolbar { gap: 6px; margin-bottom: 12px; }
  .home-page .feed-tab { height: 33px; padding: 0 12px; font-size: 11px; }
  .feed-count { display: block; width: 100%; margin: 3px 0 0; font-size: 9px; }
  .home-page .tag-row { gap: 6px; margin-bottom: 21px; }
  .home-page .tag { min-width: 42px; padding-inline: 10px; font-size: 10px; height: 28px; }
  .home-page .work-grid, .home-page .work-grid.is-compact { columns: 2; column-gap: 12px; }
  .home-page .work-card { margin-bottom: 14px; }
  .home-page .work-card-link { border-radius: 15px; }
  .home-page .work-art { padding: 14px; }
  .work-badge { top: 8px; left: 8px; font-size: 8px; padding: 3px 5px; }
  .home-page .work-card-body { padding: 12px 11px; }
  .home-page .work-card-title { font-size: 12px; margin-bottom: 7px; }
  .home-page .work-card-meta { flex-wrap: wrap; gap: 6px; font-size: 9px; }
  .home-page .work-card-creator { gap: 5px; }
  .home-page .work-card-creator .avatar { width: 17px; height: 17px; font-size: 8px; }
  .home-page .work-card-stats { margin-left: auto; gap: 7px; }
  .home-page .work-card-stats > span:last-child { display: none; }
  .work-card-detail { left: 6px; right: 6px; bottom: 6px; padding: 5px 6px; font-size: 8px; }
  .home-page .rank-panel { grid-template-columns: 1fr; gap: 18px; }
  .home-page .rank-block { padding: 23px 21px 18px; border-radius: 18px; }
  .home-page .popular-rank-block { margin: 0 0 0 14px; }
  .create-outro { flex-wrap: wrap; gap: 20px; padding-block: 37px; }
  .create-outro > .button { margin-left: 0; }
  .create-outro h2 { font-size: 19px; }
  .home-page .site-footer { display: flex; flex-wrap: wrap; gap: 18px; padding: 25px 18px; }
  .home-page .footer-links { margin: 0; gap: 16px; }
  .home-page .footer-right { margin: 0; width: 100%; flex-direction: column; align-items: flex-start; gap: 5px; font-size: 9px; }
  .home-page .back-to-top { width: 41px; height: 41px; right: 17px; bottom: 20px; }
}
@media (hover: none) {
  .work-card-detail { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-document { scroll-behavior: auto; }
  .home-page *, .home-page *::before, .home-page *::after { transition: none !important; scroll-behavior: auto !important; }
  .home-page .reveal-on-scroll { opacity: 1; transform: none; }
}

/* 2026-09-23 visual direction: a warmer paper field and a looser editorial rhythm. */
.home-document {
  background: #f7f0e5;
  scrollbar-color: #356149 #eee5d8;
}
.home-document::-webkit-scrollbar-track { background: #eee5d8; }
.home-document::-webkit-scrollbar-thumb { border-color: #eee5d8; background: #356149; }
.home-page {
  --paper: #f7f0e5;
  --surface: #fffaf2;
  --ink: #304539;
  --ink-strong: #1f3b2d;
  --muted: #7d8375;
  --line: #e5dccd;
  --home-shadow: 0 16px 30px -17px rgb(73 64 42 / 32%);
  background: var(--paper);
}
.home-page::before,
.home-page::after {
  content: '';
  position: fixed;
  z-index: 1;
  width: 4px;
  height: 4px;
  pointer-events: none;
  opacity: .56;
  image-rendering: pixelated;
}
.home-page::before {
  top: 26vh;
  left: 2.3vw;
  background: #c98f91;
  box-shadow: 7px 0 #d8b963, 0 7px #87a889, 14px 7px #87a889;
}
.home-page::after {
  right: 3.5vw;
  bottom: 18vh;
  background: #83a082;
  box-shadow: 7px 0 #d6a4a3, 0 7px #d6a4a3, 14px 7px #ddc277;
}
.home-page .site-header {
  background: rgb(247 240 229 / 91%);
  border-bottom-color: transparent;
}
.home-page .site-header.is-scrolled {
  background: rgb(255 250 242 / 90%);
  box-shadow: 0 5px 24px rgb(77 66 45 / 10%);
}
.home-page .brand-mark { background: #2b5a40; }
.home-page .auth-button.primary { background: #2e6045; }
.home-page .auth-button.primary:hover { background: #3d7354; }

/* The artwork breathes into the paper field instead of sitting in a boxed hero. */
.studio-intro {
  min-height: 414px;
  background: #f7f0e5;
  overflow: hidden;
}
.studio-intro::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 80px;
  right: 8.8%;
  width: 5px;
  height: 5px;
  background: #b9c4a2;
  box-shadow: 8px 0 #d8b864, 0 8px #d19b9a, 16px 8px #d19b9a, 24px 8px #9daf91;
  opacity: .72;
}
.studio-art {
  opacity: .8;
  mix-blend-mode: multiply;
  filter: saturate(.82) contrast(.92);
}
.intro-inner { min-height: 414px; }
.intro-copy { position: relative; z-index: 2; transform: translateY(-8px); }
.studio-intro h1 { color: #203e2f; }
.studio-intro h1 span { color: #63735d; }
.intro-description { color: #7d806f; }
.intro-art-link { z-index: 3; color: #66745f; }

/* The entry row reads like four found objects laid across the page. */
.tool-section {
  position: relative;
  padding-top: 43px;
  padding-bottom: 94px;
}
.tool-section::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  width: min(780px, 72%);
  height: 1px;
  background: #dfd4c4;
  transform: translateX(-50%);
  opacity: .72;
}
.tool-section-heading { position: relative; z-index: 1; padding-bottom: 21px; }
.home-page .tool-strip { grid-template-columns: 1.1fr .91fr; gap: 24px 40px; }
.tool-slot:nth-child(1) { transform: rotate(-.55deg); }
.tool-slot:nth-child(2) { transform: rotate(.7deg); }
.tool-slot:nth-child(3) { transform: rotate(.45deg); }
.tool-slot:nth-child(4) { transform: rotate(-.65deg); }
.home-page .tool-link {
  min-height: 108px;
  border: 1px solid rgb(219 205 184 / 58%);
  border-radius: 25px 14px 25px 17px;
  background: #fffaf2;
  box-shadow: 0 16px 26px -17px rgb(75 62 38 / 34%);
}
.home-page .tool-link::before {
  content: '';
  position: absolute;
  right: 52px;
  bottom: 14px;
  width: 4px;
  height: 4px;
  background: #d5a3a2;
  box-shadow: 7px 0 #d9c06b, 14px 0 #92a98a;
  opacity: .6;
}
.home-page .tool-link:hover {
  background: #fffdf8;
  box-shadow: 0 21px 31px -16px rgb(75 62 38 / 42%);
}
.home-page .tool-link:focus-visible { background: #fffdf8; }
.home-page .tool-icon.teal { background: #e0ecdf; }
.home-page .tool-icon.rose { background: #f8e1e0; }
.home-page .tool-icon.lilac { background: #e8e2f0; }
.home-page .tool-icon.ochre { background: #f5ecd0; }
.home-page .tool-link small { color: #918f80; }

/* A soft sage field replaces hard section borders; the top edge is rounded like paper. */
.home-page .community-section {
  margin-top: 8px;
  padding-top: 87px;
  padding-bottom: 104px;
  border-radius: 54px 54px 0 0;
  background: #eef0e5;
}
.home-page .community-section::before {
  opacity: .28;
  background-image: radial-gradient(circle, #9cae93 .75px, transparent .9px);
  background-size: 21px 21px;
}
.home-page .community-section::after {
  content: '';
  position: absolute;
  top: 32px;
  left: 8.7%;
  width: 6px;
  height: 6px;
  background: #cf9b9d;
  box-shadow: 10px 0 #e1c873, 0 10px #86a486, 20px 10px #86a486;
  opacity: .6;
}
.home-page .section-head { margin-bottom: 38px; }
.home-page .section-head h2 { color: #234332; }
.home-page .section-head h2::before { background: #668d6b; }
.home-page .section-head h2 span { color: #687965; }
.home-page .section-head > p { color: #858b7d; }
.home-page .feed-toolbar { transform: translateX(5px); }
.home-page .tag-row { transform: translateX(13px); }

/* Slightly irregular frames make the masonry feel hand-arranged rather than tabular. */
.home-page .work-grid { column-gap: 28px; }
.home-page .work-card-link { border-color: rgb(255 255 255 / 65%); background: #fffaf2; box-shadow: 0 14px 23px -15px rgb(74 66 47 / 35%); }
.home-page .work-card:nth-child(1) .work-card-link { border-radius: 26px 15px 27px 17px; transform: rotate(-.45deg); }
.home-page .work-card:nth-child(2) .work-card-link { border-radius: 15px 29px 17px 27px; transform: rotate(.6deg); }
.home-page .work-card:nth-child(3) .work-card-link { border-radius: 18px 25px 16px 28px; transform: rotate(.32deg); }
.home-page .work-card:nth-child(4) .work-card-link { border-radius: 28px 16px 26px 15px; transform: rotate(-.65deg); }
.home-page .work-card:nth-child(1) .work-card-link:hover,
.home-page .work-card:nth-child(1) .work-card-link:focus-visible { transform: translateY(-3px) scale(1.012) rotate(-.45deg); }
.home-page .work-card:nth-child(2) .work-card-link:hover,
.home-page .work-card:nth-child(2) .work-card-link:focus-visible { transform: translateY(-3px) scale(1.012) rotate(.6deg); }
.home-page .work-card:nth-child(3) .work-card-link:hover,
.home-page .work-card:nth-child(3) .work-card-link:focus-visible { transform: translateY(-3px) scale(1.012) rotate(.32deg); }
.home-page .work-card:nth-child(4) .work-card-link:hover,
.home-page .work-card:nth-child(4) .work-card-link:focus-visible { transform: translateY(-3px) scale(1.012) rotate(-.65deg); }
.home-page .work-card-body { background: #fffaf2; }
.home-page .work-art { background: var(--art-ground, #eee7d9); }
.home-page .rank-panel { margin-top: 78px; }
.home-page .rank-block { border-color: rgb(255 255 255 / 68%); background: rgb(255 250 242 / 72%); box-shadow: 0 17px 30px -18px rgb(70 65 48 / 33%); }
.home-page .popular-rank-block { background: rgb(250 244 239 / 74%); }
.home-page .feed-more { color: #70836c; }

/* The closing note floats between the community field and the footer. */
.create-outro {
  position: relative;
  padding-top: 79px;
  padding-bottom: 86px;
}
.create-outro::before {
  content: '';
  position: absolute;
  top: 31px;
  left: 12%;
  width: 46px;
  height: 1px;
  background: #d9cbbb;
  box-shadow: 16px 0 #d9cbbb, 32px 0 #d9cbbb;
}
.create-outro h2 { color: #294834; }
.home-page .site-footer { background: #f1eadd; border-top-color: #e4dacb; }
.home-page .footer-brand strong { color: #355a40; }

@media (max-width: 900px) {
  .studio-intro, .intro-inner { min-height: 390px; }
  .home-page .community-section { padding-top: 68px; padding-bottom: 88px; border-radius: 40px 40px 0 0; }
  .home-page .rank-panel { margin-top: 31px; }
}
@media (max-width: 600px) {
  .home-page::before { left: 4vw; top: 22vh; }
  .home-page::after { right: 5vw; bottom: 13vh; }
  .studio-intro, .intro-inner { min-height: 378px; }
  .studio-intro::before { top: 104px; right: 14%; transform: scale(.8); }
  .studio-art { opacity: .72; }
  .tool-section { padding-top: 34px; padding-bottom: 69px; }
  .tool-section::before { top: 10px; width: 58%; }
  .home-page .tool-strip { gap: 17px 13px; }
  .tool-slot:nth-child(1), .tool-slot:nth-child(2), .tool-slot:nth-child(3), .tool-slot:nth-child(4) { transform: none; }
  .home-page .tool-link { border-radius: 19px 12px 18px 14px; }
  .home-page .community-section { margin-top: 3px; padding-top: 52px; padding-bottom: 71px; border-radius: 28px 28px 0 0; }
  .home-page .community-section::after { top: 22px; left: 8%; transform: scale(.75); transform-origin: left top; }
  .home-page .feed-toolbar, .home-page .tag-row { transform: none; }
  .home-page .work-grid { column-gap: 15px; }
  .home-page .work-card:nth-child(1) .work-card-link,
  .home-page .work-card:nth-child(2) .work-card-link,
  .home-page .work-card:nth-child(3) .work-card-link,
  .home-page .work-card:nth-child(4) .work-card-link { transform: none; }
  .home-page .work-card:nth-child(1) .work-card-link:hover,
  .home-page .work-card:nth-child(1) .work-card-link:focus-visible,
  .home-page .work-card:nth-child(2) .work-card-link:hover,
  .home-page .work-card:nth-child(2) .work-card-link:focus-visible,
  .home-page .work-card:nth-child(3) .work-card-link:hover,
  .home-page .work-card:nth-child(3) .work-card-link:focus-visible,
  .home-page .work-card:nth-child(4) .work-card-link:hover,
  .home-page .work-card:nth-child(4) .work-card-link:focus-visible { transform: translateY(-3px) scale(1.012); }
  .home-page .rank-panel { margin-top: 24px; }
  .create-outro { padding-top: 66px; padding-bottom: 66px; }
  .create-outro::before { top: 25px; left: 8%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { transition: none !important; animation: none !important; }
}

/* 2026-09-23 core principles: soft depth without restoring rigid panels. */
.home-page {
  background: linear-gradient(135deg, #f7f0e5 0%, #f8f2e8 51%, #f3ede2 100%);
}
.studio-intro {
  background: linear-gradient(120deg, #faf4e9 0%, #f5eee1 64%, #f1eadc 100%);
}
.studio-intro::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(250 244 233 / 60%) 0%, rgb(250 244 233 / 17%) 48%, rgb(231 223 205 / 20%) 100%);
}
.home-page .tool-section {
  background: linear-gradient(180deg, rgb(255 250 242 / 0%) 0%, rgb(255 250 242 / 24%) 50%, rgb(247 240 229 / 0%) 100%);
}
.home-page .tool-link {
  background: linear-gradient(145deg, #fffdf8 0%, #fff8ef 100%);
}
.home-page .tool-link:hover,
.home-page .tool-link:focus-visible {
  background: linear-gradient(145deg, #fffefb 0%, #fffaf3 100%);
}
.home-page .community-section {
  background: linear-gradient(135deg, #f0f3e9 0%, #edf1e5 53%, #e8eee2 100%);
}
.home-page .work-card-link {
  background: linear-gradient(145deg, #fffdf9 0%, #fff7ed 100%);
}
.home-page .work-card-body {
  background: linear-gradient(145deg, #fffdf9 0%, #fff8ef 100%);
}
.home-page .rank-block {
  background: linear-gradient(145deg, rgb(255 252 246 / 84%) 0%, rgb(249 244 236 / 63%) 100%);
}
.home-page .popular-rank-block {
  background: linear-gradient(145deg, rgb(252 247 242 / 82%) 0%, rgb(247 239 232 / 65%) 100%);
}
.home-page .site-footer {
  background: linear-gradient(135deg, #f3ecdf 0%, #efe7d9 100%);
}

/* 2026-09-23 navigation refinement: a lighter floating bar with clearer focus states. */
.home-page .site-header {
  height: 68px;
  gap: 36px;
  padding-inline: max(52px, calc((100% - 1240px) / 2));
  background: rgb(247 240 229 / 22%);
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: blur(11px) saturate(105%);
}
.home-page .site-header.is-scrolled {
  background: rgb(255 253 249 / 94%);
  border-bottom-color: transparent;
  box-shadow: 0 7px 24px rgb(73 64 42 / 11%);
}
.home-page .site-nav a {
  color: #7b8177;
  transition: color .2s ease;
}
.home-page .site-nav a:hover,
.home-page .site-nav a.active {
  color: #274a37;
}
.home-page .site-nav a::after {
  bottom: 13px;
  height: 2px;
  border-radius: 0;
  background: #5c8968;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}
.home-page .site-nav a.active::after,
.home-page .site-nav a:hover::after {
  transform: scaleX(1);
}
.home-page .search-box {
  width: 194px;
  height: 36px;
  border-color: rgb(204 194 174 / 43%);
  border-radius: 999px;
  background: rgb(255 252 246 / 63%);
  box-shadow: 0 2px 8px rgb(83 69 44 / 3%);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease;
}
.home-page .search-box:hover {
  border-color: rgb(151 166 142 / 58%);
}
.home-page .search-box:focus-within {
  border-color: #8aa78d;
  background: rgb(255 253 249 / 94%);
  box-shadow: 0 7px 19px rgb(66 77 54 / 14%), 0 0 0 3px rgb(147 177 150 / 15%);
  transform: scale(1.025);
}
.home-page .search-box input::placeholder {
  color: #b2ad9f;
}
.home-page .auth-button {
  height: 34px;
  border-radius: 999px;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.home-page .auth-button:not(.primary) {
  color: #52705d;
}
.home-page .auth-button:not(.primary):hover {
  color: #294b37;
  background: rgb(224 236 222 / 62%);
  transform: translateY(-2px);
}
.home-page .auth-button.primary {
  border: 1px solid rgb(39 84 58 / 35%);
  background: linear-gradient(135deg, #3b7051 0%, #2b593f 100%);
  box-shadow: 0 3px 0 #1f4731, 0 8px 15px rgb(43 89 63 / 18%);
}
.home-page .auth-button.primary:hover {
  background: linear-gradient(135deg, #47815d 0%, #316a49 100%);
  box-shadow: 0 4px 0 #1f4731, 0 11px 20px rgb(43 89 63 / 25%);
  transform: translateY(-2px);
}
.home-page .auth-button.primary:active {
  box-shadow: 0 1px 0 #1f4731, 0 4px 9px rgb(43 89 63 / 17%);
  transform: translateY(1px) scale(.97);
}

@media (max-width: 1150px) {
  .home-page .site-header { padding-inline: 34px; }
}
@media (max-width: 900px) {
  .home-page .site-header { height: 62px; padding-inline: 24px; }
  .home-page .site-nav { top: 62px; }
}
@media (max-width: 600px) {
  .home-page .site-header { height: 58px; padding-inline: 18px; }
  .home-page .site-nav { top: 59px; }
  .home-page .search-box { top: 59px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .site-nav a,
  .home-page .site-nav a::after,
  .home-page .search-box,
  .home-page .auth-button { transition: none !important; }
  .home-page .search-box:focus-within,
  .home-page .auth-button:hover,
  .home-page .auth-button.primary:hover,
  .home-page .auth-button.primary:active { transform: none !important; }
}

/* 2026-09-23 hero refinement: lift the copy and let the artwork hover as a small object. */
.studio-intro {
  min-height: 428px;
}
.studio-art-card {
  position: absolute;
  z-index: 1;
  top: 50px;
  right: max(4%, calc((100% - 1200px) / 2));
  width: min(57%, 760px);
  height: calc(100% - 84px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 29px 21px 31px 24px;
  background: #f7f0e4;
  box-shadow: 0 19px 28px -16px rgb(66 57 38 / 36%), 0 34px 45px -25px rgb(91 76 47 / 24%), inset 0 1px 0 rgb(255 255 255 / 78%);
  transform: translateY(18px) rotate(1deg);
}
.studio-art-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .2;
  background-image: radial-gradient(circle, #819c83 .7px, transparent .85px);
  background-size: 15px 15px;
  mix-blend-mode: multiply;
}
.studio-art-card::after {
  content: '';
  position: absolute;
  inset: 9px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 22px 15px 24px 17px;
}
.studio-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76% center;
  opacity: .86;
  mix-blend-mode: multiply;
  filter: saturate(.82) contrast(.92);
}
.studio-art-size {
  position: absolute;
  z-index: 3;
  top: 15px;
  left: 17px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 999px;
  color: #718171;
  background: rgb(255 252 244 / 76%);
  backdrop-filter: blur(7px);
  font-size: 9px;
  letter-spacing: .04em;
}
.studio-art-size svg { width: 12px; height: 12px; color: #7b9a7d; }
.intro-copy {
  transform: translateY(-18px);
}
.studio-intro h1 {
  font-weight: 600;
  letter-spacing: 0;
}
.studio-intro h1 > .title-pixel-bean {
  display: inline-block;
  width: 17px;
  height: 20px;
  margin: 0 12px 0 0;
  vertical-align: 8px;
  background: #709b78;
  clip-path: polygon(30% 0, 80% 0, 80% 15%, 100% 15%, 100% 65%, 80% 65%, 80% 85%, 60% 85%, 60% 100%, 15% 100%, 15% 85%, 0 85%, 0 35%, 15% 35%, 15% 15%, 30% 15%);
  filter: drop-shadow(2px 2px 0 rgb(185 202 167 / 65%));
}
.studio-intro h1 > .title-pixel-bean::after {
  content: '';
  display: block;
  width: 4px;
  height: 5px;
  margin: 5px 0 0 7px;
  background: #dce9d9;
  box-shadow: -3px 5px #dce9d9;
}
.intro-description {
  max-width: 340px;
  margin-top: 15px;
  color: #82897b;
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
}
.intro-actions .button.primary {
  background: linear-gradient(135deg, #3c7252 0%, #2b5b40 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), inset 0 -2px 0 rgb(22 66 41 / 32%), 0 7px 14px rgb(43 89 63 / 18%);
}
.intro-actions .button.primary:hover {
  background: linear-gradient(135deg, #4a805e 0%, #326c4a 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%), inset 0 -2px 0 rgb(22 66 41 / 25%), 0 11px 20px rgb(43 89 63 / 25%);
  transform: translateY(-2px);
}
.intro-actions .button.primary:active {
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), inset 0 -1px 0 rgb(22 66 41 / 26%), 0 3px 7px rgb(43 89 63 / 17%);
  transform: translateY(1px) scale(.97);
}
.intro-editor {
  padding: 9px 13px;
  border: 1px solid rgb(97 137 105 / 46%);
  border-radius: 999px;
  background: rgb(255 252 244 / 24%);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.intro-editor:hover {
  color: #2f6545;
  border-color: rgb(97 137 105 / 68%);
  background: #e3efe2;
  transform: translateY(-2px);
}
.intro-benefits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 9px;
  max-width: 500px;
  margin-top: 24px;
  transform: translateX(8px);
}
.intro-benefit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgb(212 205 184 / 58%);
  border-radius: 999px;
  color: #7b8476;
  background: rgb(255 252 245 / 65%);
  box-shadow: 0 5px 12px rgb(87 73 45 / 6%);
  font-size: 10px;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.intro-benefit:nth-child(2) { transform: translateY(5px); }
.intro-benefit:nth-child(3) { transform: translate(7px, -2px); }
.intro-benefit:hover {
  color: #356247;
  border-color: rgb(123 155 125 / 60%);
  background: #f4f6e9;
  box-shadow: 0 8px 14px rgb(87 73 45 / 10%);
  transform: translateY(-2px);
}
.intro-benefit:nth-child(2):hover { transform: translateY(3px); }
.intro-benefit:nth-child(3):hover { transform: translate(7px, -4px); }
.intro-benefit svg { width: 13px; height: 13px; color: #77977b; }
.intro-art-link {
  right: max(5%, calc((100% - 1200px) / 2));
  bottom: 18px;
  padding: 6px 10px;
  border: 1px solid rgb(255 255 255 / 52%);
  border-radius: 999px;
  background: rgb(255 252 244 / 68%);
  backdrop-filter: blur(7px);
  box-shadow: 0 7px 14px rgb(81 69 44 / 8%);
}

@media (max-width: 900px) {
  .studio-art-card { right: 5%; width: 56%; top: 56px; height: calc(100% - 101px); }
  .intro-copy { transform: translateY(-13px); }
  .intro-benefits { max-width: 420px; margin-top: 18px; }
  .intro-art-link { right: 5%; }
}
@media (max-width: 600px) {
  .studio-intro, .intro-inner { min-height: 470px; }
  .intro-copy { transform: none; }
  .studio-art-card {
    top: 222px;
    right: 17px;
    width: calc(100% - 34px);
    height: 218px;
    transform: translateY(8px) rotate(.7deg);
    border-radius: 23px 16px 25px 18px;
  }
  .studio-art { object-position: 75% center; }
  .studio-art-size { top: 11px; left: 12px; font-size: 8px; }
  .studio-intro h1 > .title-pixel-bean { width: 14px; height: 17px; margin-right: 8px; vertical-align: 5px; }
  .studio-intro h1 > .title-pixel-bean::after { width: 3px; height: 4px; margin: 4px 0 0 6px; box-shadow: -2px 4px #dce9d9; }
  .intro-description { max-width: 260px; margin-top: 10px; font-size: 12px; line-height: 1.9; }
  .intro-actions { gap: 10px; }
  .intro-editor { padding: 8px 10px; }
  .intro-benefits { position: relative; z-index: 3; gap: 6px; margin-top: 13px; transform: none; }
  .intro-benefit { padding: 5px 8px; font-size: 9px; }
  .intro-benefit:nth-child(2), .intro-benefit:nth-child(3) { transform: none; }
  .intro-benefit:hover, .intro-benefit:nth-child(2):hover, .intro-benefit:nth-child(3):hover { transform: translateY(-2px); }
  .intro-art-link { right: 21px; bottom: 10px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .studio-art-card,
  .intro-editor,
  .intro-benefit,
  .intro-actions .button.primary { transition: none !important; }
  .studio-art-card { transform: translateY(18px) rotate(1deg); }
  .intro-actions .button.primary:hover,
  .intro-actions .button.primary:active,
  .intro-editor:hover,
  .intro-benefit:hover,
  .intro-benefit:nth-child(2):hover,
  .intro-benefit:nth-child(3):hover { transform: none !important; }
}

/* 2026-09-23 navigation palette: a cool mist layer separates the header from the warm page. */
.home-page .site-header {
  color: #405d66;
  background: linear-gradient(112deg, rgb(221 235 237 / 94%) 0%, rgb(231 238 236 / 91%) 54%, rgb(239 235 225 / 89%) 100%);
  box-shadow: inset 0 -1px 0 rgb(255 255 255 / 42%), 0 4px 16px rgb(67 89 91 / 7%);
  backdrop-filter: blur(15px) saturate(112%);
}
.home-page .site-header.is-scrolled {
  background: linear-gradient(112deg, rgb(246 251 251 / 97%) 0%, rgb(240 247 244 / 96%) 58%, rgb(250 247 239 / 96%) 100%);
  box-shadow: 0 8px 25px rgb(61 84 84 / 14%), inset 0 -1px 0 rgb(255 255 255 / 72%);
}
.home-page .brand {
  color: #294950;
}
.home-page .brand-mark {
  background: linear-gradient(135deg, #2f6a58 0%, #315767 100%);
  box-shadow: 0 3px 8px rgb(48 83 83 / 17%);
}
.home-page .brand em {
  color: #879a9b;
}
.home-page .site-nav a {
  color: #60767b;
}
.home-page .site-nav a:hover,
.home-page .site-nav a.active {
  color: #294f59;
}
.home-page .site-nav a::after {
  background: #c78778;
  box-shadow: 0 1px 0 rgb(255 255 255 / 45%);
}
.home-page .search-box {
  border-color: rgb(155 184 187 / 52%);
  background: rgb(248 252 251 / 76%);
  box-shadow: 0 3px 11px rgb(64 88 91 / 7%);
}
.home-page .search-box:hover {
  border-color: rgb(116 157 161 / 68%);
  background: rgb(251 253 251 / 91%);
}
.home-page .search-box:focus-within {
  border-color: #719da1;
  background: #fcfefd;
  box-shadow: 0 8px 21px rgb(54 86 88 / 16%), 0 0 0 3px rgb(113 157 161 / 18%);
}
.home-page .search-box input::placeholder {
  color: #a9babc;
}
.home-page .auth-button:not(.primary) {
  color: #456872;
}
.home-page .auth-button:not(.primary):hover {
  color: #2d5660;
  background: rgb(211 231 230 / 72%);
}
.home-page .auth-button.primary {
  background: linear-gradient(135deg, #3b7051 0%, #2b593f 100%);
}
.home-page .header-icon {
  color: #456872;
}
.home-page .header-icon:hover {
  background: rgb(211 231 230 / 78%);
}

@media (max-width: 900px) {
  .home-page .site-nav {
    border-color: rgb(154 183 185 / 48%);
    background: linear-gradient(135deg, rgb(239 247 246 / 98%) 0%, rgb(247 243 235 / 98%) 100%);
    box-shadow: 0 16px 28px rgb(61 84 84 / 17%);
  }
  .home-page .site-nav a.active {
    color: #2e5962;
    background: #dceceb;
  }
}

@media (max-width: 600px) {
  .home-page .search-box {
    border-color: rgb(154 183 185 / 55%);
    background: #f8fcfb;
    box-shadow: 0 12px 24px rgb(61 84 84 / 15%);
  }
}

/* 2026-09-23 v25: authoritative styles for navigation and the four-entry row.
   Scoped to these two regions so the Hero, feed and existing interactions stay intact. */
.home-page .site-header,
.home-page .tool-section {
  font-family: MiSans, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-style: normal;
  letter-spacing: 0;
}

/* Navigation: readable type on a continuous, warm-white floating surface. */
.home-page .site-header {
  /* Complete Unicode subsets use a header-only alias; other regions retain their typography. */
  font-family: "MiSans Navigation", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-synthesis: none;
  height: 68px;
  gap: 28px;
  padding-inline: max(40px, calc((100% - 1240px) / 2));
  color: #2f4f44;
  background: rgb(255 253 249 / 92%);
  border: 0;
  box-shadow: 0 3px 16px rgb(47 79 68 / 6%);
  backdrop-filter: blur(16px) saturate(105%);
  transition: background-color .2s ease, box-shadow .2s ease;
}
.home-page .site-header.is-scrolled {
  background: rgb(255 255 253 / 97%);
  box-shadow: 0 5px 20px rgb(47 79 68 / 11%);
}
.home-page .site-header :is(a, em, input, button) { font-family: inherit; font-style: normal; }
.home-page .brand { color: #2f4f44; font-size: 24px; font-weight: 600; gap: 9px; }
.home-page .brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #2f4f44;
  box-shadow: 0 3px 8px rgb(47 79 68 / 12%);
}
.home-page .brand em { color: #8a978f; font-size: 10px; font-weight: 500; }
.home-page .site-nav { gap: 22px; font-size: 18px; font-weight: 500; }
.home-page .site-nav a {
  color: #60736a;
  font-size: 18px;
  line-height: 1.4;
  transition: color .2s ease, background-color .2s ease;
}
.home-page .site-nav a:hover,
.home-page .site-nav a:focus-visible,
.home-page .site-nav a.active { color: #2f4f44; }
.home-page .site-nav a[aria-current="page"] { color: #2f4f44; font-weight: 600; }
.home-page .site-nav a::after {
  left: 0;
  right: auto;
  bottom: 12px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #2f4f44;
  box-shadow: none;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}
.home-page .site-nav a.active::after,
.home-page .site-nav a:hover::after,
.home-page .site-nav a:focus-visible::after { transform: scaleX(1); }
.home-page .header-tools { min-width: 0; gap: 8px; }
.home-page .search-box {
  width: 190px;
  height: 38px;
  min-width: 0;
  padding-inline: 11px;
  border: 1px solid #e1e5dc;
  border-radius: 12px;
  background: rgb(255 255 253 / 85%);
  color: #7c8d82;
  box-shadow: 0 2px 7px rgb(47 79 68 / 3%);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.home-page .search-box:hover { border-color: #b8c9b9; background: #fff; }
.home-page .search-box:focus-within {
  border-color: #91b29b;
  background: #fff;
  box-shadow: 0 4px 12px rgb(47 79 68 / 8%), 0 0 0 3px rgb(145 178 155 / 16%);
  transform: none;
}
.home-page .search-box input { min-width: 0; font-size: 14px; font-weight: 400; }
.home-page .search-box input::placeholder { color: #9da99f; }
.home-page .search-box svg { width: 16px; height: 16px; }
.home-page .auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 38px;
  padding-inline: 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.home-page .auth-button:not(.primary) {
  color: #2f4f44;
  border: 1px solid #d1dbd1;
  background: #fbfdf9;
}
.home-page .auth-button:not(.primary):hover {
  color: #2f4f44;
  border-color: #b1c8b6;
  background: #eff5ed;
  box-shadow: 0 5px 12px rgb(47 79 68 / 8%);
  transform: translateY(-2px);
}
.home-page .auth-button.primary {
  color: #fff;
  border: 1px solid #2f4f44;
  background: linear-gradient(135deg, #406453, #2f4f44);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 2px 0 #233f35, 0 4px 10px rgb(47 79 68 / 12%);
}
.home-page .auth-button.primary:hover {
  background: linear-gradient(135deg, #4b725e, #365a4b);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 16%), 0 2px 0 #233f35, 0 7px 16px rgb(47 79 68 / 20%);
  transform: translateY(-2px);
}
.home-page .auth-button:active,
.home-page .auth-button.primary:active { transform: translateY(1px) scale(.97); }
.home-page .header-icon { color: #2f4f44; border-radius: 10px; }
.home-page .header-icon:hover { background: #edf4ec; }
.home-page .account-chip { border-radius: 12px; font-size: 14px; }

/* Four equal tracks at every width; card motion never changes the row geometry. */
.home-page .tool-section { padding-top: 24px; padding-bottom: 32px; background: none; }
.home-page .tool-section::before { content: none; }
.home-page .tool-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
}
.home-page .tool-slot:nth-child(n) { width: auto; min-width: 0; margin: 0; transform: none; }
.home-page .tool-slot.reveal-on-scroll { transform: translateY(18px); }
.home-page .tool-slot.is-revealed { transform: none; }
.home-page .tool-link {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 16px;
  align-items: center;
  align-content: center;
  gap: 12px;
  min-height: 72px;
  height: 100%;
  padding: 12px 16px;
  border: 1px solid rgb(47 79 68 / 9%);
  border-radius: 14px;
  background: #fffdfa;
  box-shadow: 0 5px 12px -6px rgb(47 79 68 / 16%);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.home-page .tool-link::before { content: none; }
.home-page .tool-link:hover,
.home-page .tool-link:focus-visible {
  background: #fff;
  box-shadow: 0 10px 22px -8px rgb(47 79 68 / 25%);
  transform: translateY(-3px);
}
.home-page .tool-link:active { transform: translateY(0) scale(.985); }
.home-page .tool-icon { width: 36px; height: 36px; border-radius: 11px; }
.home-page .tool-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: auto;
}
.home-page .tool-icon::after {
  right: 3px;
  bottom: 3px;
  width: 3px;
  height: 3px;
  opacity: .25;
  box-shadow: -4px 0 currentColor, 0 -4px currentColor;
}
.home-page .tool-icon.teal { background: #e5eee4; color: #567a63; }
.home-page .tool-icon.rose { background: #f8e4df; color: #af756c; }
.home-page .tool-icon.lilac { background: #ede7f4; color: #8b739e; }
.home-page .tool-icon.ochre { background: #faeed6; color: #a17d39; }
.home-page .tool-copy { min-width: 0; width: auto; }
.home-page .tool-link strong {
  margin: 0 0 3px;
  color: #2f4f44;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.home-page .tool-link small {
  color: #7b877d;
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-page .tool-link > svg {
  display: block;
  position: static;
  width: 16px;
  height: 16px;
  margin: 0;
  color: #92a398;
  transition: color .2s ease, transform .2s ease;
}
.home-page .tool-link:hover > svg,
.home-page .tool-link:focus-visible > svg { color: #2f4f44; transform: translateX(3px); }

@media (max-width: 1150px) {
  .home-page .site-header { gap: 20px; padding-inline: 30px; }
  .home-page .site-nav { gap: 18px; }
  .home-page .search-box { width: 170px; }
  .home-page .tool-link { grid-template-columns: 32px minmax(0, 1fr) 14px; gap: 9px; padding-inline: 12px; }
  .home-page .tool-icon { width: 32px; height: 32px; border-radius: 10px; }
  .home-page .tool-icon svg { width: 18px; height: 18px; }
  .home-page .tool-link strong { font-size: 14px; }
  .home-page .tool-link > svg { width: 14px; height: 14px; }
}
@media (max-width: 900px) {
  .home-page .site-header { height: 64px; gap: 12px; padding-inline: 24px; }
  .home-page .site-nav {
    top: calc(100% + 8px);
    left: 24px;
    right: 24px;
    padding: 8px;
    border: 1px solid rgb(47 79 68 / 8%);
    border-radius: 14px;
    background: rgb(255 255 253 / 98%);
    box-shadow: 0 9px 24px rgb(47 79 68 / 12%);
  }
  .home-page .site-nav.is-open { gap: 4px; }
  .home-page .site-nav a { padding: 10px 12px; border-radius: 10px; font-size: 16px; }
  .home-page .site-nav a.active { color: #2f4f44; background: #edf4ec; }
  .home-page .search-box { width: 190px; }
  .home-page .tool-strip { gap: 10px; }
}
@media (max-width: 700px) {
  .home-page .tool-link { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; padding-inline: 10px; }
  .home-page .tool-icon { width: 28px; height: 28px; border-radius: 9px; }
  .home-page .tool-icon svg { width: 16px; height: 16px; }
  .home-page .tool-link strong { margin: 0; font-size: 13px; }
  .home-page .tool-link small,
  .home-page .tool-link > svg { display: none; }
}
@media (max-width: 600px) {
  .home-page .site-header { height: 62px; gap: 8px; padding-inline: 16px; }
  .home-page .brand { gap: 7px; font-size: 20px; }
  .home-page .brand-mark { width: 29px; height: 29px; }
  .home-page .header-tools { gap: 6px; }
  .home-page .auth-button { height: 34px; padding-inline: 9px; font-size: 12px; }
  .home-page .search-box {
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    width: auto;
    height: 44px;
    padding-inline: 14px;
    background: #fffdfa;
    box-shadow: 0 9px 24px rgb(47 79 68 / 12%);
  }
  .home-page .search-box input { font-size: 14px; }
  .home-page .site-nav { left: 16px; right: 16px; }
  .home-page .account-chip { font-size: 12px; }
  .home-page .tool-section { padding-top: 20px; padding-bottom: 28px; }
}

/* Phones keep a single row of four; stack contents inside each card, never shrink labels below 12px. */
@media (max-width: 540px) {
  .home-page .tool-strip { gap: 8px; }
  .home-page .tool-link {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 6px;
    min-height: 76px;
    padding: 10px 4px;
    border-radius: 12px;
    text-align: center;
  }
  .home-page .tool-icon { width: 26px; height: 26px; }
  .home-page .tool-icon svg { width: 15px; height: 15px; }
  .home-page .tool-link strong { font-size: 12px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .site-header,
  .home-page .site-nav a,
  .home-page .site-nav a::after,
  .home-page .search-box,
  .home-page .auth-button,
  .home-page .tool-link,
  .home-page .tool-link > svg { transition: none !important; }
  .home-page .tool-slot.reveal-on-scroll,
  .home-page .tool-link:hover,
  .home-page .tool-link:focus-visible,
  .home-page .tool-link:active,
  .home-page .tool-link:hover > svg,
  .home-page .tool-link:focus-visible > svg,
  .home-page .auth-button:hover,
  .home-page .auth-button.primary:hover,
  .home-page .auth-button:active,
  .home-page .auth-button.primary:active { transform: none !important; }
}
