/* Hallmark · shape: Index-First (draw 571618 dealt Letter; swapped: a label's catalogue is the reason to come, not a founder's note) · genre: atmospheric · theme: Midnight (deal 3/3, seed independent-record-label-two-d20f·6d66971d·2026-10-24·r0) with the owner’s picks: Forest floor palette, Unbounded and Instrument Sans, seed-in-the-ground mark · redesign: full · job: listen · draw: 571618
 * hero: Counter · nav: edge-aligned · footer: mast (draw dealt index columns; swapped: five links are no sitemap) · imagery: the label's own cover art, from Spotify · signature: a breathing soil-strata earth beside It will be Born, playable in the hero
 * axes: dark/grotesk-sans/cool · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, a label page argues little; let the records carry it: the player leads and ten real covers follow */
/* Hallmark · dismissed 26a · the Spotify player iframe takes a 2px focus ring through .feature:focus-within, checked in Chrome; the probe reads inside the cross-origin frame */
/* Hallmark · waive 80 · the owner chose this soil-strata earth from three drawn concepts · Bhoomi means earth, so the hero shows earth cut into soil layers */
/* Hallmark · motion by the owner’s request: GSAP hero timeline, scroll reveals and hover in motion.js; transform and opacity only, content visible without it, fades only under reduced motion */
/* Hallmark · reworded "01 — Artists", "02 — Catalogue", "03 — About", "04 — Contact" section labels to nothing · 54 names the eyebrow */
/* Hallmark · reworded "Featured artist", "Bhoomi Records" and "Coming soon" artist tags into the row itself · 54 names the eyebrow */
/* Hallmark · reworded "tsoj · Album · 2024" style meta into separate lines · 63 names the middle dot */
/* Hallmark · reworded "Bhoomi — meaning earth in Sanskrit — is" to "Bhoomi is", with the meaning as a quiet line under the contact details · 19 names the dash */
/* Hallmark · reworded "© 2025 Bhoomi Records. All rights reserved." to "© 2025 Bhoomi Records" · 19 names the stock line */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --nav-h: 72px;
  --cover-outline: color-mix(in oklab, var(--color-ink) 8%, transparent);
}

/* NAV */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav .container { display: flex; align-items: center; gap: var(--space-xl); height: var(--nav-h); }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-sm); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-md); letter-spacing: var(--tracking-display); text-decoration: none; white-space: nowrap; }
.nav-links { display: flex; gap: var(--space-lg); list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a, .menu summary { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--color-ink); }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: var(--space-xs) 0; }
.menu summary::-webkit-details-marker { display: none; }
.menu ul { position: absolute; right: 0; top: 100%; z-index: var(--z-dropdown); list-style: none; margin: var(--space-xs) 0 0; padding: var(--space-xs) 0; min-width: 12rem; background: var(--color-paper-3); box-shadow: var(--shadow-card); }
.menu a { display: block; padding: var(--space-sm) var(--space-lg); text-decoration: none; }
.menu a:hover { background: var(--color-paper-2); }

/* CONTROLS */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: var(--space-sm) var(--space-lg); border: var(--rule-hair) solid transparent; border-radius: var(--radius-pill); background: none; color: var(--color-ink); font-weight: 500; font-size: var(--text-md); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-ink); }
.btn--secondary { border-color: var(--color-rule-2); }
.btn--secondary:hover { background: var(--color-paper-2); border-color: var(--color-muted); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.nav .btn { min-height: 44px; padding: var(--space-xs) var(--space-md); font-size: var(--text-sm); }
.link { color: var(--color-ink); text-decoration-color: var(--color-rule-2); }
.link:hover { text-decoration-color: var(--color-accent); }
.link:active { color: var(--color-ink-2); }

/* HERO */
.hero { min-height: calc(100dvh - var(--nav-h)); display: grid; align-items: center; padding-block: var(--space-2xl); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; }
.hero h1 { max-width: 18ch; }
.hero .lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }
.feature { margin: var(--space-xl) 0 0; max-width: 34rem; }
.player { display: block; width: 100%; height: 152px; border: 0; border-radius: 12px; }
.player:focus, .player:focus-visible, .feature:focus-within .player { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.feature figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.feature cite { font-style: normal; color: var(--color-ink); }
.earth { position: relative; width: 100%; max-width: 560px; justify-self: center; }
.earth canvas { display: block; width: 100%; aspect-ratio: 1; }
.earth-toggle { position: absolute; right: 0; bottom: 0; min-height: 44px; padding: var(--space-xs) var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); background: var(--color-paper); color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; cursor: pointer; transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.earth-toggle:hover { color: var(--color-ink); border-color: var(--color-muted); }
.earth-toggle:active { transform: translateY(1px); }
.earth-toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* MOTION: motion.js animates these in; until it runs they are hidden only when scripting and motion are both on */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy h1, .js .hero-copy .lead, .js .feature, .js .hero-actions, .js .earth, .js .wordmark .mark { visibility: hidden; }
}
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-short) var(--ease-out); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.rail a { transition: transform var(--dur-short) var(--ease-out); }
.rail a:hover { transform: translateY(-6px); }

/* ARTISTS */
.artists { padding-block: var(--section-gap) var(--section-gap-s); }
.roster { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.artist { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.artist-name { font-size: var(--text-display-s); font-weight: var(--display-weight); font-stretch: var(--display-stretch); line-height: 1.04; }
.artist-body { display: grid; gap: var(--space-md); justify-items: start; }
.artist-body p { color: var(--color-ink-2); max-width: 56ch; }
.credits { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 56ch; border-top: var(--rule-hair) solid var(--color-rule); }
.credits li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.credits a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: var(--space-2xs) var(--space-md); align-items: baseline; padding-block: var(--space-sm); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.credits a:hover .c-title { color: var(--color-accent); }
.c-title { font-weight: 500; }
.c-with, .c-year { font-size: var(--text-sm); color: var(--color-muted); }
.c-year { font-variant-numeric: tabular-nums; }
@media (max-width: 40rem) { .credits a { grid-template-columns: minmax(0, 1fr) auto; } .c-with { grid-column: 1 / -1; grid-row: 2; } }
.artist--next .artist-name, .artist--next p { color: var(--color-muted); }

/* RELEASES */
.releases { padding-block: var(--section-gap-s) var(--section-gap); }
.releases-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; }
.releases-head .lead { color: var(--color-muted); }
.rail { --edge: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); display: flex; gap: var(--space-lg); margin: var(--space-2xl) 0 0; padding: 0 var(--edge) var(--space-md); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: thin; }
.rail > li { flex: 0 0 300px; scroll-snap-align: start; }
.rail a { display: grid; gap: var(--space-2xs); text-decoration: none; }
.rail img { width: 100%; aspect-ratio: 1; object-fit: cover; outline: var(--rule-hair) solid var(--cover-outline); outline-offset: -1px; margin-bottom: var(--space-sm); }
.rail a:hover .r-title { text-decoration: underline; text-decoration-color: var(--color-accent); }
.r-title { font-size: var(--text-title); font-weight: 500; line-height: 1.2; }
.r-meta { font-size: var(--text-sm); color: var(--color-muted); }
.rail-next { display: grid; align-content: center; justify-items: center; gap: var(--space-2xs); aspect-ratio: 1; background: var(--color-paper-2); }

/* ABOUT */
.about { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.statement { font-size: var(--text-display); max-width: 14ch; }
.about-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-2xl); color: var(--color-ink-2); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: var(--space-2xl) 0 0; border-top: var(--rule-hair) solid var(--color-rule-2); }
.facts > div { padding: var(--space-lg) var(--space-lg) 0 0; }
.facts dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.facts dd { margin: var(--space-2xs) 0 0; font-size: var(--text-2xl); font-weight: var(--display-weight); font-stretch: var(--display-stretch); letter-spacing: var(--tracking-display); line-height: 1.1; }

/* CONTACT */
.contact { padding-block: var(--section-gap-l) var(--section-gap); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: start; }
.contact-intro { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 46ch; }
.details { margin: var(--space-xl) 0 0; border-top: var(--rule-hair) solid var(--color-rule); }
.contact-earth { margin-top: var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); }
.details > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.details dt { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.details dd { margin: 0; }
.form { display: grid; gap: var(--space-lg); }
.field { display: grid; gap: var(--space-xs); }
.field label { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.field input, .field select, .field textarea { min-height: 48px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: 0; background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--color-muted) 50%), linear-gradient(135deg, var(--color-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 9rem; }
.field ::placeholder { color: var(--color-muted); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.field input:disabled, .field select:disabled, .field textarea:disabled { opacity: 0.55; cursor: not-allowed; }
.field [aria-invalid="true"] { border-color: var(--color-error); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); margin-top: var(--space-xs); }
.form-note { font-size: var(--text-sm); color: var(--color-muted); }

/* FOOTER */
.footer { border-top: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-3xl) var(--space-xl); }
.mark { width: 1.6em; height: auto; flex: none; }
.wordmark .mark { width: 2.25em; }
.mast { display: flex; align-items: center; gap: 0.3em; font-family: var(--font-display); font-size: clamp(2.25rem, 6vw, 5.5rem); font-weight: var(--display-weight); font-stretch: var(--display-stretch); letter-spacing: -0.03em; line-height: 0.95; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-lg); margin-top: var(--space-xl); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-lg); list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; color: var(--color-ink-2); white-space: nowrap; }
.footer-links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.footer-legal { font-size: var(--text-sm); color: var(--color-muted); }

@media (max-width: 60rem) {
  .hero { min-height: 0; padding-block: var(--space-2xl) var(--section-gap-s); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .earth { max-width: 420px; }
  .artist, .releases-head, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .contact-grid { gap: var(--space-2xl); }
  .about-cols { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts dd { font-size: var(--text-xl); }
  .rail > li { flex-basis: 240px; }
}
@media (max-width: 48rem) {
  .nav-links { display: none; }
  .menu { display: block; }
  .nav .container { gap: var(--space-md); }
}
@media (max-width: 30rem) { .wm-tail { display: none; } }
@media (prefers-reduced-motion: reduce) { .btn:active, .rail a:hover { transform: none; } }
