/* assetbash.com landing v1 (12/05/2026). Loaded only by the home page; tokens come from site.css.
   v1b: no hero demo; each area has its own tone (lime, teal, blue, amber, pink) on hairlines, no card kit,
   sentence-case labels, mono only for real data (parameter values, metres, dates, file fields). */

.home { --display: "Instrument Sans", system-ui, sans-serif; }

/* ---------- hero */
.h-hero { border-bottom: 1px solid var(--line); }
.h-hero { position: relative; overflow: hidden; }
.h-hero::before { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(103, 150, 191, .22), transparent 70%),
              radial-gradient(closest-side at 70% 60%, rgba(91, 179, 160, .16), transparent 70%); }
.h-hero-in { position: relative; padding-top: clamp(64px, 10vw, 136px); padding-bottom: clamp(64px, 9vw, 120px); }
.h-pill { display: inline-block; font-family: var(--mono); font-size: 13px; color: var(--text-2); border: 1px solid var(--line-2);
  border-radius: 999px; padding: 5px 13px; margin: 0 0 28px; }
.h-display { font-family: var(--display); font-stretch: 75%; font-weight: 700; font-size: clamp(52px, 9vw, 128px);
  line-height: 0.9; letter-spacing: -0.025em; margin: 0 0 28px; max-width: 14ch; }
.h-lede { font-size: clamp(18px, 1.45vw, 21px); color: var(--text-2); max-width: 52ch; margin: 0 0 32px; }
.h-cred { color: var(--text-3); font-size: 15px; margin: 22px 0 0; }
.h-cred a { margin-left: 6px; white-space: nowrap; }

/* join form (hero + closing) */
.h-join { max-width: 520px; }
.h-join label { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 8px; }
.h-join-row { display: flex; gap: 10px; flex-wrap: wrap; }
.h-join-row > * { max-width: 100%; }
.h-join input { flex: 1 1 240px; min-width: 0; font: inherit; font-size: 16px; color: var(--text); background: var(--s1);
  border: 1px solid var(--line-2); border-radius: 8px; padding: 11px 14px; }
.h-join input::placeholder { color: var(--text-3); }
.h-join input:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 1px; border-color: transparent; }
.h-join .btn { flex: 0 0 auto; }
.h-join-note { font-size: 14px; color: var(--text-3); margin: 10px 0 0; }
.h-join-msg { font-size: 14px; color: var(--accent-text); margin: 8px 0 0; min-height: 1.4em; }
.h-join-msg.err { color: #ff8a8a; }

/* ---------- sections */
.h-section { padding: clamp(64px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); }
.h-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.h-head h2 { font-family: var(--display); font-stretch: 80%; font-size: clamp(32px, 3.6vw, 48px); line-height: 1; }
.h-head p { color: var(--text-2); margin: 0; max-width: 60ch; }
.h-sub { font-size: 18px; color: var(--text-2); margin: 10px 0 20px; }
.h-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.h-split h2 { font-family: var(--display); font-stretch: 80%; font-size: clamp(32px, 3.6vw, 48px); line-height: 1; }
.h-split p { color: var(--text-2); max-width: 56ch; }

/* tool sets: three columns divided by hairlines, not boxed cards */
.h-sets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.h-set { padding: 28px clamp(16px, 2vw, 28px) 8px; }
.h-set + .h-set { border-left: 1px solid var(--line); }
.h-set:first-child { padding-left: 0; }
.h-set h3 { font-size: 21px; margin-bottom: 8px; }
.h-set > p { color: var(--text-2); font-size: 15.5px; min-height: 4.8em; }
.h-icons { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.h-icons li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.h-icons img { width: 32px; height: 32px; flex: none; border-radius: 6px; }
.h-more { margin: 40px 0 0; color: var(--text-2); }
.h-more a { margin-left: 6px; }

/* claims: a 2x2 definition list */
.h-claims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.h-claims > div { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.h-claims > div:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.h-claims dt { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.h-claims dd { margin: 0; color: var(--text-2); max-width: 46ch; }

/* lunaris: the real screenshot from the GitHub README */
.h-split-wide { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); align-items: center; }
.h-shot { margin: 0; }
.h-shot img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--tone) 55%, transparent); }
.h-shot figcaption { font-size: 13px; color: var(--text-3); margin-top: 10px; }

/* archive: the fields every file lists, as an inspector */
.h-filecard { margin: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--s1); }
.h-filecard > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 22px; }
.h-filecard > div + div { border-top: 1px solid var(--line); }
.h-filecard dt { font-family: var(--mono); font-size: 13px; color: var(--text-3); padding-top: 2px; }
.h-filecard dd { margin: 0; color: var(--text); }

/* what's new: dated entries (this one really is a sequence) */
.h-log { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.h-log li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.h-log time { font-family: var(--mono); font-size: 13px; color: var(--text-3); padding-top: 4px; }
.h-log h3 { font-size: 19px; margin-bottom: 4px; }
.h-log p { margin: 0; color: var(--text-2); max-width: 64ch; }

/* closing signup */
.h-close { padding: clamp(72px, 10vw, 128px) 0; }
.h-close h2 { font-family: var(--display); font-stretch: 75%; font-weight: 700; font-size: clamp(38px, 5vw, 68px); line-height: 0.96; margin-bottom: 14px; }
.h-close > .wrap > p { color: var(--text-2); margin-bottom: 28px; }

/* ---------- responsive */
@media (max-width: 980px) {
  .h-split, .h-split-wide, .h-head { grid-template-columns: minmax(0, 1fr); }
  .h-sets { grid-template-columns: minmax(0, 1fr); }
  .h-set, .h-set:first-child { padding-left: 0; padding-right: 0; }
  .h-set + .h-set { border-left: 0; border-top: 1px solid var(--line); }
  .h-set > p { min-height: 0; }
}
@media (max-width: 640px) {
  .h-claims { grid-template-columns: minmax(0, 1fr); }
  .h-claims > div, .h-claims > div:nth-child(even) { padding: 22px 0; border-left: 0; }
  .h-log li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .h-filecard > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}


/* ---------- section tones: one colour per area, from the site's secondary palette (site.css --c1..c8) */
.t-lime  { --tone: var(--c1); }
.t-teal  { --tone: var(--c2); }
.t-blue  { --tone: var(--c5); }
.t-amber { --tone: var(--c8); }
.t-pink  { --tone: var(--c6); }
.h-section { position: relative; }
.h-section::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px;
  background: linear-gradient(90deg, var(--tone) 0 120px, transparent 120px); }
.h-section .wrap { position: relative; }
.h-band { background: color-mix(in srgb, var(--tone) 7%, var(--bg)); }
.h-head h2::before, .h-split h2::before { content: ""; display: block; width: 14px; height: 14px; background: var(--tone); margin-bottom: 18px; }
.h-claims dt::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--tone); margin-right: 10px; vertical-align: 3px; }
.h-filecard { background: color-mix(in srgb, var(--tone) 6%, var(--s1)); border-color: color-mix(in srgb, var(--tone) 30%, var(--line)); }
.h-filecard > div + div { border-top-color: color-mix(in srgb, var(--tone) 18%, var(--line)); }
.h-log time { color: var(--tone); }
.h-set h3 { display: flex; align-items: center; gap: 10px; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .h-log time { color: var(--text-3); } }
:root[data-theme="light"] .h-log time { color: var(--text-3); }
