/* Hallmark · macrostructure: Index-First · theme: custom (vibe: "quiet studio ledger, navy and teal"
 * · paper oklch(97.5% 0.006 230) · accent oklch(48% 0.10 212) teal · Sora + IBM Plex Sans)
 * · genre: editorial · tone: austere · anchor hue: 212 · nav: N1 wordmark + 2 links · footer: Ft2 inline
 * · enrichment: none (the product marks are the imagery) · theme axes: light / geometric-sans / cool
 * · pre-emit critique: P4 H4 E4 S4 R5 V4 */

@font-face {
  font-family: "Sora"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(/assets/fonts/sora-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-rule) var(--color-paper); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--color-accent); color: var(--color-paper); }

a { color: var(--color-accent); text-decoration-color: var(--color-rule); text-underline-offset: 0.18em; text-decoration-thickness: 1px; transition: text-decoration-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
a:hover { color: var(--color-accent-strong); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; text-wrap: balance; overflow-wrap: anywhere; min-width: 0; }
p { margin: 0; }

.page { max-width: var(--page-max); margin: 0 auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }

/* Header: wordmark and two destinations */
.top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 4.5rem; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: var(--text-md); letter-spacing: -0.01em; color: var(--color-ink); text-decoration: none; }
.wordmark:hover { color: var(--color-ink); }
.top nav { display: flex; gap: var(--space-lg); }
.top nav a { color: var(--color-neutral); text-decoration: none; font-size: var(--text-sm); font-weight: 500; padding-block: var(--space-sm); white-space: nowrap; }
.top nav a:hover { color: var(--color-ink); text-decoration: underline; }

/* Intro: a statement, not a hero */
.intro { padding-block: var(--space-2xl) var(--space-3xl); max-width: var(--measure); }
.intro h1 { font-size: var(--text-xl); font-weight: 600; line-height: 1.15; color: var(--color-ink); }
.intro p { margin-top: var(--space-lg); font-size: var(--text-md); color: var(--color-neutral); max-width: 54ch; }
@media (prefers-reduced-motion: no-preference) {
  .intro > * { animation: rise var(--dur-medium) var(--ease-out) both; }
  .intro p { animation-delay: 80ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } }
}

/* Ledger: one row per product, hairline between rows */
.ledger h2, .contact h2 { font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; color: var(--color-neutral); padding-bottom: var(--space-sm); border-bottom: var(--rule) solid var(--color-ink); }
.row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: var(--space-lg); row-gap: var(--space-md); padding-block: var(--space-xl); border-bottom: var(--rule) solid var(--color-rule); }
.row:last-child { border-bottom: 0; }
.mark { width: 4.5rem; height: 4.5rem; display: grid; place-items: center; background: var(--color-well); border: var(--rule) solid var(--color-well-rule); border-radius: var(--radius-mark); }
.mark img { width: 3rem; height: 3rem; object-fit: contain; display: block; }
.row-body h3 { font-size: var(--text-lg); font-weight: 600; line-height: 1.2; }
.row-body p { margin-top: var(--space-xs); color: var(--color-neutral); max-width: var(--measure); }
.row-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: var(--space-lg); row-gap: 0; grid-column: 2; }
.row-links a { display: inline-block; padding-block: var(--space-sm); font-size: var(--text-sm); font-weight: 500; }

/* Contact: the one call to action */
.contact { padding-block: var(--space-3xl) var(--space-2xl); }
.contact p { margin-top: var(--space-xl); font-size: var(--text-md); color: var(--color-neutral); max-width: var(--measure); }
.mail { display: inline-block; margin-top: var(--space-md); font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1rem + 1.4vw, 1.75rem); letter-spacing: -0.015em; overflow-wrap: anywhere; }

/* Footer: a single line above a hairline */
.foot-line { border-top: var(--rule) solid var(--color-rule); padding-block: var(--space-lg) var(--space-2xl); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg); color: var(--color-neutral); font-size: var(--text-sm); }
.foot-line a { color: var(--color-neutral); white-space: nowrap; }

/* Not-found page */
.lost { min-height: 60vh; display: grid; align-content: center; padding-block: var(--space-2xl); max-width: var(--measure); }
.lost h1 { font-size: var(--text-xl); font-weight: 600; }
.lost p { margin-top: var(--space-md); color: var(--color-neutral); }
.lost a { display: inline-block; margin-top: var(--space-lg); font-weight: 500; }

@media (min-width: 48rem) {
  .row { grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 15rem); }
  .row-links { grid-column: auto; display: block; padding-top: var(--space-2xs); }
  .row-links li + li { margin-top: 0; }
  .row-links a { display: block; padding-block: var(--space-2xs); }
}
