/* Onyx home: only what the Status page does not already have. Everything else (masthead, banner, rows, bars, popups, notes, icons) is the Status frontend, unchanged. */

@keyframes home-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

.hero { padding: 36px 0 64px; animation: home-in .8s var(--ease) both; }
.hero h1 { margin: 0 0 0 -.045em; font-size: clamp(60px, 13vw, 120px); line-height: .9; letter-spacing: -.055em; font-weight: 700; color: var(--ds-gray-1000); }
.hero p { margin: 22px 0 0; max-width: 470px; font-size: 18px; line-height: 28px; font-weight: 500; color: var(--ds-gray-900); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* Buttons are the Contact button's language. */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border: 1px solid var(--ds-gray-400); border-radius: 6px; background: var(--ds-background-100); color: var(--ds-gray-1000); font-size: 14px; font-weight: 500; line-height: 1.4; text-decoration: none; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.btn:hover { background: color-mix(in oklab, var(--ds-gray-1000) 7%, var(--ds-background-100)); border-color: var(--ds-gray-500); }
.btn:active { background: color-mix(in oklab, var(--ds-gray-1000) 3%, var(--ds-background-100)); }
.btn .gi { width: 14px; height: 14px; vertical-align: 0; color: var(--ds-gray-900); }
.btn.primary { background: var(--ds-gray-1000); border-color: var(--ds-gray-1000); color: var(--ds-background-100); }
.btn.primary:hover { background: color-mix(in oklab, var(--ds-gray-1000) 88%, var(--ds-background-100)); border-color: transparent; }

.home-h { margin: 0 0 4px; }
.home-h#status { margin-top: 64px; }

/* Project rows reuse the Status row frame (padding and hairline come from the theme). */
.components-section.static { animation: home-in .8s var(--ease) .12s both; }
.project { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; color: inherit; text-decoration: none; }
.project .p-name { grid-column: 1; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ds-gray-1000); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .25s var(--ease); }
.project .p-blurb { grid-column: 1; font-size: 14px; line-height: 20px; color: var(--ds-gray-900); }
.project .gi { grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; vertical-align: 0; color: var(--ds-gray-700); transition: color .25s var(--ease); }
.project:hover .p-name, .project:focus-visible .p-name { text-decoration-color: var(--ds-gray-500); }
.project:hover .gi, .project:focus-visible .gi { color: var(--ds-gray-1000); }
.project:focus-visible { outline: 1px solid var(--ds-gray-500); outline-offset: 6px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) { .hero, .components-section.static { animation: none; } .components-section.static { opacity: 1; } }
