/* Hallmark · shape: Marquee Hero · genre: modern-minimal · theme: Dusk, warmed (deal 2/3, seed slick-minimal-agency-road-7806·e7be7eaf·2026-11-16·r0) · job: hire · draw: e4c801
 * hero: Ledge, the one question set large over a full-bleed 8-bit road (by request) · nav: edge-aligned · footer: one quiet row · imagery: none but the Sweeflow app icon (user dropped the photograph) · signature: the question at full size · dusk: no photograph, turquoise, slate warmed to umber by request
 * axes: dark/grotesk-sans/warm · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V4 · weakest: P, a thin brief; the place and the one question carry it, the metaphor kept to the headline and the detours */
/* waive: sections, user asked for exactly hero, who we are, projects (named Detours) */
/* waive: 77 thin sections, user asked for minimal */
/* waive: 80 drawn pixel art, the user asked for an 8-bit road animation */
@import url("./tokens.css");
@import url("./base.css");

body { font-size: 1.0625rem; font-size-adjust: from-font; }
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: 1.04; }
h1 { font-size: clamp(3rem, 5vw + 1rem, 6.5rem); max-width: 12ch; }
h2 { font-size: clamp(2rem, 1.6vw + 1.25rem, 2.75rem); }
h3 { font-size: var(--text-xl); line-height: 1.2; }

.skip { position: absolute; left: var(--space-md); top: var(--space-md); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); translate: 0 -200%; }
.skip:focus-visible { translate: 0 0; }

a { color: inherit; text-decoration-color: color-mix(in oklab, currentColor 40%, transparent); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 600 0.9375rem/1 var(--font-body); text-decoration: none; scale: 1; transition: background-color var(--dur-short) var(--ease-out), scale var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-hi); }
.btn:active { scale: 0.97; }
.btn--sm { min-height: 40px; padding: 0 var(--space-md); }

/* nav */
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-lg); }
.wordmark { font: 500 1.5rem/1 var(--font-display); letter-spacing: var(--tracking-display); text-decoration: none; }
.nav ul { display: flex; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; font-weight: 500; font-size: var(--text-sm); color: var(--color-ink-2); }
.nav ul a { text-decoration: none; }
.nav ul a:hover { text-decoration: underline; }

/* hero: the question, set large */
.hero { min-height: min(calc(100svh - 88px), 60rem); display: grid; grid-template-columns: minmax(0, 1fr); align-content: end; gap: var(--space-2xl); padding-top: var(--space-2xl); }
.hero__copy { display: grid; justify-items: start; gap: var(--space-lg); }

/* the 8-bit road, full-bleed under the question */
.road { overflow: clip; line-height: 0; content-visibility: auto; contain-intrinsic-size: auto none auto 192px; }
.road canvas { display: block; image-rendering: pixelated; }
.who { border-top: var(--rule-hair) solid var(--color-rule); }
.hero h1 { font-size: clamp(3.25rem, 7.5vw + 0.5rem, 9rem); max-width: 11ch; line-height: 0.98; letter-spacing: -0.035em; }
.hero .lead { color: var(--color-muted); max-width: 34ch; }
.hero .btn { margin-top: var(--space-sm); }

/* sections */
.who, .detours { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); padding-block: var(--section-gap-s); align-items: baseline; }
.who__body { font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); max-width: 46ch; }
.detours { border-top: var(--rule-hair) solid var(--color-rule); align-items: start; }
.rows { margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule); }
.rows li { display: grid; grid-template-columns: 64px minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-lg); align-items: baseline; padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows p { color: var(--color-muted); }
.rows .project { align-items: center; }
.project__icon { width: 64px; height: 64px; }
.detours__close { margin-top: var(--space-2xl); font-size: var(--text-lead); color: var(--color-muted); }

/* footer */
.footer { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-xl); align-items: baseline; padding-block: var(--space-xl) var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
.footer > a { color: var(--color-ink); font-size: var(--text-md); }
.footer__note { margin-inline-start: auto; }

@media (max-width: 60rem) {
  .who, .detours { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
}
@media (max-width: 40rem) {
  .nav ul { display: none; }
  .hero { min-height: 0; padding-top: var(--space-3xl); }
  .road { contain-intrinsic-size: auto none auto 144px; }
  .rows li { grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-xs) var(--space-md); }
  .project__icon { width: 48px; height: 48px; }
  .rows li p { grid-column: 1 / -1; }
  .footer__note { margin-inline-start: 0; }
}
