:root {
  color-scheme: light;
  --paper: #f5f4ef;
  --surface: #fbfaf6;
  --surface-raised: #f9f8f4;
  --surface-muted: #eef0e9;
  --surface-accent: #e9eddc;
  --ink: #20231f;
  --muted: #777a72;
  --text-soft: #6d7069;
  --text-subtle: #85877f;
  --line: #deded5;
  --line-strong: #d8dacf;
  --accent-ink: #4f6038;
  --lime: #d3f36b;
  --orange: #f28b62;
  --mono: "DM Mono", Consolas, monospace;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #171a16;
  --surface: #20241f;
  --surface-raised: #242923;
  --surface-muted: #2b3029;
  --surface-accent: #2b3325;
  --ink: #e7e9e2;
  --muted: #a4aa9d;
  --text-soft: #b7bcb1;
  --text-subtle: #a0a69a;
  --line: #343a32;
  --line-strong: #424a3e;
  --accent-ink: #dce8c6;
}

:root[data-theme="dark"] .main-nav,
:root[data-theme="dark"] .header-link,
:root[data-theme="dark"] .header-link:hover { color: #b7bcb1; }
:root[data-theme="dark"] .header-link span { color: #b2d867; }
:root[data-theme="dark"] .brand-dot,
:root[data-theme="dark"] h1 span { color: #b2d867; }
:root[data-theme="dark"] .hero-description,
:root[data-theme="dark"] .app-card p,
:root[data-theme="dark"] .dialog-description,
:root[data-theme="dark"] .feature-list,
:root[data-theme="dark"] .request-copy > p:not(.eyebrow) { color: #b7bcb1; }
:root[data-theme="dark"] .hero-note { color: #a0a69a; }
:root[data-theme="dark"] .hero-note strong { color: #d0d4ca; }
:root[data-theme="dark"] .note-avatar { border-color: #41483d; }
:root[data-theme="dark"] .hero-art,
:root[data-theme="dark"] .request-art { background: #252b22; }
:root[data-theme="dark"] .art-caption,
:root[data-theme="dark"] .timer-topline,
:root[data-theme="dark"] .timer-label,
:root[data-theme="dark"] .timer-bottom { color: #a4ac99; }
:root[data-theme="dark"] .timer-card { border-color: #3e453a; background: #20251f; box-shadow: 0 24px 50px #00000035; }
:root[data-theme="dark"] .timer-icon { color: #344127; }
:root[data-theme="dark"] .window-dots,
:root[data-theme="dark"] .timer-time span { color: #70796a; }
:root[data-theme="dark"] .timer-progress { background: #3b4137; }
:root[data-theme="dark"] .art-orbit { border-color: #394137; }
:root[data-theme="dark"] .orbit-two { border-color: #343c32; }
:root[data-theme="dark"] .project-count,
:root[data-theme="dark"] .filter-button,
:root[data-theme="dark"] .sort-control,
:root[data-theme="dark"] .search-icon { color: #a4aa9d; }
:root[data-theme="dark"] .filter-button[aria-pressed="true"] { border-color: #526142; background: #2b3325; color: #dce8c6; }
:root[data-theme="dark"] .filter-button:hover,
:root[data-theme="dark"] .favorite-button:hover { border-color: #424a3e; }
:root[data-theme="dark"] .search input::placeholder,
:root[data-theme="dark"] kbd { color: #92998b; }
:root[data-theme="dark"] kbd { border-color: #424a3e; }
:root[data-theme="dark"] .app-card { border-color: #343a32; background: #20241f; }
:root[data-theme="dark"] .app-card:hover { border-color: #556047; box-shadow: 0 10px 24px #00000026; }
:root[data-theme="dark"] .app-tag { background: #2b3029; color: #c1c6bb; }
:root[data-theme="dark"] .app-tag.is-new { background: #3d3026; color: #f0ad83; }
:root[data-theme="dark"] .favorite-button { color: #b5bba9; }
:root[data-theme="dark"] .favorite-button[aria-pressed="true"] { color: #d3f36b; }
:root[data-theme="dark"] .card-meta,
:root[data-theme="dark"] .card-coming,
:root[data-theme="dark"] .project-screenshot figcaption { color: #a0a69a; }
:root[data-theme="dark"] .button-dark { border-color: #d3f36b; background: #d3f36b; color: #20231f; }
:root[data-theme="dark"] .button-dark:hover { border-color: #c2e359; background: #c2e359; }
:root[data-theme="dark"] .button-dark span { color: #46512f; }
:root[data-theme="dark"] .button-outline { border-color: #485044; color: #d5d9d0; }
:root[data-theme="dark"] .button-outline:hover,
:root[data-theme="dark"] .dialog-close:hover { border-color: #59614e; background: #2d3428; }
:root[data-theme="dark"] .project-dialog,
:root[data-theme="dark"] .request-dialog { border-color: #343a32; background: #1b1f1a; color: #e7e9e2; box-shadow: 0 24px 90px #00000066; }
:root[data-theme="dark"] .project-dialog::backdrop,
:root[data-theme="dark"] .request-dialog::backdrop { background: #000000aa; }
:root[data-theme="dark"] .dialog-close { border-color: #424a3e; color: #c1c6bb; }
:root[data-theme="dark"] .download-info { background: #282d26; color: #c1c6bb; }
:root[data-theme="dark"] .project-screenshot img { border-color: #424a3e; background: #252b22; }
:root[data-theme="dark"] .about { background: #293124; }
:root[data-theme="dark"] .about-icon { border-color: #48533c; }
:root[data-theme="dark"] .about h2 span,
:root[data-theme="dark"] .about-copy,
:root[data-theme="dark"] .request-copy .request-note { color: #b1b8a7; }
:root[data-theme="dark"] .request-section { border-color: #343a32; background: #20241f; }
:root[data-theme="dark"] .button-subtle { border-color: #3c4438; background: #2b3029; color: #e7e9e2; }
:root[data-theme="dark"] .button-subtle:hover { border-color: #59614e; background: #333a30; }
:root[data-theme="dark"] .request-art-orbit { border-color: #46513b; }
:root[data-theme="dark"] .request-art-icon { color: #b2d867; }
:root[data-theme="dark"] .request-art-label { color: #b2b9a7; }
:root[data-theme="dark"] .request-dialog .form-intro,
:root[data-theme="dark"] .form-disclosure { color: #a0a69a; }
:root[data-theme="dark"] .form-status { color: #d8e8c1; }
:root[data-theme="dark"] .form-field { color: #c5cabe; }
:root[data-theme="dark"] .form-field input,
:root[data-theme="dark"] .form-field select,
:root[data-theme="dark"] .form-field textarea { border-color: #424a3e; background: #242923; color: #e7e9e2; }
:root[data-theme="dark"] .form-field input::placeholder,
:root[data-theme="dark"] .form-field textarea::placeholder { color: #92998b; }
:root[data-theme="dark"] .request-privacy,
:root[data-theme="dark"] .site-footer,
:root[data-theme="dark"] .site-footer > a:last-child { color: #a0a69a !important; }
:root[data-theme="dark"] .request-success { border-color: #46553b; background: #293425; color: #d8e8c1 !important; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--paper); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s ease, color .35s ease;
}

.theme-transition * {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease !important;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header, .site-footer {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header { height: 82px; border-bottom: 1px solid var(--line); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.theme-switch { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.theme-button { display: grid; width: 34px; height: 32px; place-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--text-subtle); cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.theme-button:hover { transform: translateY(-1px); color: var(--ink); }
.theme-button[aria-pressed="true"] { background: var(--surface-accent); color: var(--accent-ink); }
.theme-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.theme-button:hover svg { transform: rotate(18deg); }
.theme-button svg { transition: transform .35s ease; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: 17px; font-weight: 800; letter-spacing: -0.8px; }
.brand-dot { color: #8ebd31; }
.brand-mark { display: inline-flex; width: 23px; height: 23px; align-items: flex-end; gap: 3px; }
.brand-mark span { width: 5px; border-radius: 5px; background: var(--ink); }
.brand-mark span:nth-child(1) { height: 12px; }
.brand-mark span:nth-child(2) { height: 19px; }
.brand-mark span:nth-child(3) { height: 15px; }
.main-nav { display: flex; gap: 36px; margin-left: 75px; color: #66695f; font-size: 14px; font-weight: 600; }
.main-nav a:hover, .site-footer a:hover { color: #7eaa27; }
.header-link { color: #676b62; font-size: 13px; font-weight: 600; transition: color .2s ease; }
.header-link:hover { color: #718e3c; }
.header-link span { margin-left: 8px; color: #80a82c; font-size: 16px; }

.hero {
  width: min(1200px, calc(100% - 64px));
  min-height: 570px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 66px 0 74px;
  gap: 32px;
}

.hero-copy { position: relative; z-index: 1; padding-bottom: 10px; animation: appear-up .7s both; }
.eyebrow { margin: 0 0 21px; color: var(--muted); font: 12px var(--mono); letter-spacing: 1.05px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #98c74a; box-shadow: 0 0 0 4px #98c74a22; animation: pulse-dot 2.8s ease-in-out infinite; }
h1 { margin: 0; font-size: clamp(42px, 5.2vw, 67px); line-height: 1.09; letter-spacing: -4px; font-weight: 700; }
h1 span { color: #8bb431; }
.hero-description { max-width: 430px; margin: 23px 0 26px; color: #6d7069; font-size: 16px; line-height: 1.85; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 19px; border-radius: 7px; font-size: 13px; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 37px; color: #898b82; font-size: 11px; line-height: 1.7; }
.hero-note strong { color: #444840; font-weight: 600; }
.note-avatar { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid #d6d7ce; border-radius: 50%; color: #7c9f39; font: 13px var(--mono); }

.hero-art { position: relative; display: grid; min-height: 390px; place-items: center; overflow: hidden; border-radius: 4px; background: #e8ebdd; }
.art-caption { position: absolute; top: 24px; left: 25px; right: 25px; display: flex; justify-content: space-between; color: #92978a; font: 10px var(--mono); letter-spacing: 1px; }
.timer-card { position: relative; z-index: 1; width: min(320px, 76%); padding: 23px 24px 20px; border: 1px solid #ffffff; border-radius: 12px; background: #fbfcf8; box-shadow: 0 24px 50px #3441221a; transform: rotate(-3deg); animation: float-card 7s ease-in-out infinite; }
.timer-topline { display: flex; align-items: center; gap: 8px; color: #777e6f; font: 10px var(--mono); letter-spacing: .8px; }
.timer-icon { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 7px; background: var(--lime); color: #4a592d; font-size: 15px; }
.window-dots { margin-left: auto; color: #bcc1b5; letter-spacing: 2px; }
.timer-label { margin-top: 26px; color: #8b8e84; font-size: 12px; }
.timer-time { margin: 4px 0 15px; font-size: 54px; font-weight: 600; letter-spacing: -4px; }
.timer-time span { color: #adb29f; }
.timer-progress { height: 5px; overflow: hidden; border-radius: 5px; background: #e8eadf; }
.timer-progress span { display: block; width: 62%; height: 100%; border-radius: inherit; background: #a7ce4f; }
.timer-progress span { animation: progress-breathe 3s ease-in-out infinite; transform-origin: left center; }
.timer-bottom { display: flex; justify-content: space-between; margin-top: 15px; color: #8b8e84; font: 10px var(--mono); }
.timer-bottom span:first-child { color: #76943c; }
.art-orbit { position: absolute; border: 1px solid #d0d5c3; border-radius: 50%; }
.orbit-one { width: 365px; height: 365px; }
.orbit-two { width: 445px; height: 445px; border-color: #dce0d4; }
.orbit-one { animation: orbit-turn 28s linear infinite; }
.orbit-two { animation: orbit-turn 38s linear infinite reverse; }
.art-star { position: absolute; z-index: 1; color: #ef9069; }
.star-one { top: 92px; left: 90px; font-size: 22px; }
.star-two { right: 94px; bottom: 87px; font-size: 15px; }
.star-one, .star-two { animation: twinkle 4s ease-in-out infinite; }
.star-two { animation-delay: 1.5s; }

.section-wrap { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
.projects { padding: 60px 0 85px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; }
.section-heading .eyebrow { margin-bottom: 12px; }
h2 { margin: 0; font-size: clamp(27px, 3.2vw, 38px); line-height: 1.2; letter-spacing: -1.6px; }
.project-count { margin: 0 0 5px; color: #83867d; font: 11px/1.7 var(--mono); text-align: right; }
.project-count span { color: var(--ink); font-size: 17px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 30px 0 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { min-height: 36px; padding: 0 13px; border: 1px solid transparent; border-radius: 30px; background: transparent; color: #74776f; cursor: pointer; font-size: 12px; }
.filter-button:hover { border-color: #d7d9ce; }
.filter-button[aria-pressed="true"] { border-color: #cfd7bd; background: #e9eddc; color: #4f6038; }
.favorite-filter span { margin-left: 3px; color: #82945d; }
.toolbar-tools { display: flex; align-items: center; gap: 12px; }
.search { display: flex; min-width: 220px; height: 42px; align-items: center; gap: 9px; padding: 0 10px; border: 1px solid #dfdfd6; border-radius: 6px; background: #f9f8f4; }
.search:focus-within { border-color: #a9b88c; box-shadow: 0 0 0 3px #a9b88c22; }
.search-icon { color: #85897e; font-size: 20px; line-height: 1; transform: rotate(-20deg); }
.search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search input::placeholder { color: #989a92; }
kbd { padding: 2px 5px; border: 1px solid #e1e2d9; border-radius: 3px; color: #95978f; font: 11px var(--mono); }
.sort-control { display: flex; align-items: center; gap: 7px; color: #85877f; font-size: 11px; }
.sort-control select { max-width: 150px; height: 38px; padding: 0 9px; border: 1px solid #dfdfd6; border-radius: 6px; background: #f9f8f4; color: #555950; font-size: 11px; }
.sort-control select:focus-visible, .filter-button:focus-visible, .favorite-button:focus-visible, .button:focus-visible, .dialog-close:focus-visible { outline: 2px solid #91ad59; outline-offset: 3px; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app-card { display: flex; min-height: 280px; flex-direction: column; padding: 19px; border: 1px solid #e2e2da; border-radius: 8px; background: #fbfaf6; animation: appear-up .45s both; animation-delay: calc(var(--card-index, 0) * 70ms); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.app-card:hover { transform: translateY(-3px); border-color: #cfd7bd; box-shadow: 0 10px 24px #242b190d; }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-top-actions { display: flex; align-items: center; gap: 10px; }
.app-icon { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 11px; background: var(--icon-bg, #e6edda); color: var(--icon-color, #6f8f39); font-size: 23px; }
.app-icon { transition: transform .3s ease, box-shadow .3s ease; }
.app-card:hover .app-icon { transform: rotate(-6deg) scale(1.06); box-shadow: 0 5px 13px #20231f18; }
.app-tag { padding: 5px 8px; border-radius: 20px; background: #eef0e9; color: #72766c; font: 10px var(--mono); }
.app-tag.is-new { background: #f8e9df; color: #b46b49; }
.favorite-button { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid transparent; border-radius: 50%; background: transparent; color: #83877b; cursor: pointer; font-size: 20px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.favorite-button:hover { transform: scale(1.08); border-color: #e2e4d9; }
.favorite-button[aria-pressed="true"] { color: #8b9b52; }
.app-card h3 { margin: 19px 0 7px; font-size: 18px; letter-spacing: -.5px; }
.app-card p { margin: 0; color: #777a72; font-size: 12px; line-height: 1.8; }
.card-meta { display: flex; gap: 12px; margin-top: 14px; color: #999c93; font: 10px var(--mono); }
.card-action { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; }
.card-action .button { min-height: 38px; padding: 0 12px; gap: 12px; font-size: 12px; }
.button-dark { border: 1px solid #252922; background: #252922; color: #fff; }
.button-dark:hover { border-color: #3a4036; background: #3a4036; }
.button-dark span { color: #d3f36b; }
.button-outline { border: 1px solid #d8dacf; background: transparent; color: #555a50; }
.button-outline:hover { border-color: #b9c59e; background: #f1f3eb; }
.button-outline span { color: #88966c; }
.card-coming { color: #a4a69e; font-size: 11px; font-weight: 600; }
.empty-state { padding: 38px 0; color: var(--muted); text-align: center; font-size: 14px; }

.project-dialog { width: min(540px, calc(100% - 32px)); max-height: min(780px, calc(100% - 32px)); padding: 30px; overflow-y: auto; border: 1px solid #e2e2da; border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 90px #20231f33; }
.project-dialog[open] { animation: appear-up .22s both; }
.project-dialog::backdrop { background: #20231f66; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 23px; }
.dialog-close { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #deded5; border-radius: 50%; background: transparent; color: #66695f; cursor: pointer; font-size: 23px; transition: background .2s ease; }
.dialog-close:hover { background: #e9eddc; }
.project-dialog .eyebrow { margin-bottom: 8px; }
.project-dialog h2 { font-size: 32px; }
.dialog-description { margin: 15px 0 23px; color: #666a62; font-size: 14px; line-height: 1.8; }
.dialog-subheading { margin: 0 0 10px; font-size: 13px; font-weight: 700; }
.feature-list { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: #666a62; font-size: 13px; line-height: 1.6; }
.dialog-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 15px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); color: #898b82; font: 11px var(--mono); }
.download-info { flex: 1 1 100%; padding: 14px; border-radius: 7px; background: #eeefe8; color: #62665e; font: 12px/1.7 var(--sans); }
.download-info p { margin: 0 0 9px; }
.download-info .button { min-height: 40px; margin-top: 4px; }
.project-status { margin: 0; color: #8a8b83; font: 12px var(--sans); }
.project-screenshot { margin: 22px 0; }
.project-screenshot img { display: block; width: 100%; max-height: 600px; object-fit: contain; border: 1px solid #e0e1d9; border-radius: 7px; background: #e8ebdd; }
.project-screenshot figcaption { margin-top: 8px; color: #85877f; font-size: 11px; }

.about { display: grid; grid-template-columns: 52px 1fr 300px; align-items: center; gap: 23px; padding: 42px 38px; border-radius: 8px; background: #e9eddc; }
.about-icon { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid #cfd8bb; border-radius: 50%; color: #91b344; font-size: 22px; }
.about .eyebrow { margin-bottom: 10px; }
.about h2 { font-size: 22px; letter-spacing: -.9px; }
.about h2 span { color: #858a79; }
.about-copy { margin: 0; color: #72776a; font-size: 12px; line-height: 1.9; }
.request-section { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 230px; align-items: center; gap: 45px; margin-top: 35px; padding: 48px; overflow: hidden; border: 1px solid #e1e2d9; border-radius: 10px; background: #fbfaf6; }
.request-copy { position: relative; z-index: 1; }
.request-copy .eyebrow { margin-bottom: 12px; }
.request-copy h2 { font-size: clamp(26px, 3vw, 35px); }
.request-copy > p:not(.eyebrow) { max-width: 650px; color: #686c63; font-size: 14px; line-height: 1.8; }
.request-copy .request-note { color: #85877f; font-size: 12px; }
.request-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.request-actions .button { min-height: 44px; cursor: pointer; }
.request-actions .button span { transition: transform .2s ease; }
.request-actions .button:hover span { transform: translate(2px, -2px); }
.button-subtle { border: 1px solid transparent; background: #eef0e9; color: #555a50; }
.button-subtle:hover { border-color: #d7d9ce; background: #f2f3ed; }
.request-privacy { margin: 16px 0 0; color: #92948c !important; font-size: 11px !important; }
.request-success { padding: 12px 14px; border: 1px solid #d5dfc2; border-radius: 6px; background: #eef2e7; color: #54663c !important; }
.request-success[hidden] { display: none; }
.request-art { position: relative; display: grid; min-height: 190px; place-items: center; overflow: hidden; border-radius: 8px; background: #e9eddc; }
.request-art-orbit { position: absolute; width: 165px; height: 165px; border: 1px solid #cfd7bd; border-top-color: #a9bd7d; border-radius: 50%; animation: orbit-turn 24s linear infinite; }
.request-art-icon { position: relative; z-index: 1; color: #8cae48; font-size: 58px; animation: float-card 7s ease-in-out infinite; }
.request-art-label { position: absolute; bottom: 18px; color: #777e6f; font: 9px var(--mono); letter-spacing: .8px; }
.request-dialog { width: min(560px, calc(100% - 32px)); max-height: min(820px, calc(100% - 32px)); padding: 30px; overflow-y: auto; border: 1px solid #e2e2da; border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 90px #20231f33; }
.request-dialog[open] { animation: appear-up .22s both; }
.request-dialog::backdrop { background: #20231f66; backdrop-filter: blur(3px); }
.request-dialog .dialog-heading { margin-bottom: 18px; }
.request-dialog .eyebrow { margin-bottom: 8px; }
.request-dialog h2 { font-size: 30px; }
.form-intro { margin: 10px 0 22px; color: #74776f; font-size: 13px; line-height: 1.7; }
.request-form { display: grid; gap: 15px; }
.honeypot-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-field { display: grid; gap: 7px; color: #5f6359; font-size: 12px; font-weight: 600; }
.form-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 42px; padding: 10px 11px; border: 1px solid #deded5; border-radius: 6px; outline: 0; background: #fbfaf6; color: var(--ink); font-size: 13px; font-weight: 400; }
.form-field textarea { min-height: 100px; resize: vertical; line-height: 1.6; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #a9b88c; box-shadow: 0 0 0 3px #a9b88c22; }
.form-disclosure { margin: 0; color: #85877f; font-size: 11px; line-height: 1.7; }
.form-status { margin: 0; color: #58664a; font-size: 12px; line-height: 1.7; }
.form-submit { justify-self: start; min-height: 44px; cursor: pointer; }
.form-submit:disabled { cursor: wait; opacity: .7; }
.signature { position: fixed; z-index: 5; right: max(14px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--text-subtle); font: 10px var(--mono); letter-spacing: .3px; pointer-events: none; opacity: .92; backdrop-filter: blur(8px); animation: appear-up .8s .4s both; }
.reveal-on-scroll { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1); }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.app-card.reveal-on-scroll { transition-delay: calc(var(--card-index, 0) * 55ms); }
.site-footer { min-height: 98px; margin-top: 60px; border-top: 1px solid var(--line); color: #85877f; font-size: 11px; }
.footer-brand { color: var(--ink); font-size: 16px; }
.footer-brand .brand-mark { transform: scale(.8); transform-origin: left center; margin-right: -4px; }
.footer-spark { color: #8ebd31; }
.site-footer > a:last-child { color: #676b62; font-weight: 600; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@keyframes appear-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float-card {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-6px) rotate(-2deg); }
}
@keyframes twinkle {
  0%, 100% { opacity: .7; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px #98c74a20; }
  50% { box-shadow: 0 0 0 6px #98c74a12; }
}
@keyframes orbit-turn { to { rotate: 360deg; } }
@keyframes progress-breathe {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.14); }
}

@media (max-width: 800px) {
  .site-header, .site-footer, .hero, .section-wrap { width: min(100% - 40px, 620px); }
  .main-nav { margin-left: 0; gap: 20px; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 55px; }
  .hero-art { min-height: 370px; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 46px 1fr; padding: 30px; }
  .about-copy { grid-column: 2; }
  .request-section { grid-template-columns: 1fr 150px; gap: 24px; padding: 32px; }
}

@media (max-width: 540px) {
  .site-header, .site-footer, .hero, .section-wrap { width: calc(100% - 36px); }
  .site-header { height: 68px; }
  .main-nav { display: none; }
  .header-actions { gap: 8px; }
  .theme-button { width: 31px; height: 30px; }
  .theme-switch { gap: 1px; }
  .signature { right: max(9px, env(safe-area-inset-right)); bottom: max(8px, env(safe-area-inset-bottom)); font-size: 9px; }
  .header-link { display: none; }
  .hero { min-height: auto; padding: 52px 0 58px; }
  h1 { font-size: 45px; letter-spacing: -2.8px; }
  .hero-description { font-size: 15px; }
  .hero-art { min-height: 330px; }
  .timer-card { padding: 19px; }
  .timer-time { font-size: 46px; }
  .orbit-one { width: 320px; height: 320px; }
  .orbit-two { width: 380px; height: 380px; }
  .projects { padding: 45px 0 58px; }
  .section-heading { align-items: flex-start; }
  .project-count { font-size: 10px; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .toolbar-tools { flex-wrap: wrap; }
  .filters { gap: 4px; }
  .filter-button { padding: 0 10px; }
  .search { min-width: 0; }
  .toolbar-tools .search { flex: 1 1 210px; }
  .sort-control { flex: 1 1 auto; justify-content: space-between; }
  .sort-control select { max-width: none; flex: 1; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { min-height: 250px; }
  .about { grid-template-columns: 1fr; gap: 16px; padding: 25px; }
  .about-copy { grid-column: auto; }
  .request-section { grid-template-columns: 1fr; gap: 22px; padding: 25px; }
  .request-art { min-height: 145px; }
  .request-actions { align-items: stretch; flex-direction: column; }
  .request-actions .button { justify-content: space-between; }
  .request-dialog { padding: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .project-dialog { padding: 22px; }
  .site-footer { min-height: 80px; margin-top: 40px; }
  .site-footer > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .theme-transition * { transition-duration: .01ms !important; }
  .reveal-on-scroll { opacity: 1 !important; transform: none !important; }
}
