/* ==========================================================================
   SCANDINAVIAN MINIMALISM — the hero, rebuilt from the founder's artifact
   (2026-10-01). Loaded after x-scandinavian-minimalism.css on
   a/scandinavian-minimalism.html only. Scope: .snh (tokens scoped here).

   A daylight interior beside the name, the record's defining line and four
   traits; three cards into the record under it. Full width of the page
   column, rising behind the empty top bar. The mock nav is one full-width
   row: the typeset wordmark at the left, this page's sections and one oak
   button at the right, just below the site's action cluster.

   Face: Jost (bundled, variable), standing in for the artifact's Outfit,
   which is not bundled. Weights 300, 400, 500, 600.
   Contrast: ink #2A2622 on ground 13.5 · ink-2 #6E665D 5.1 · ink-3 #716960
   4.8 on ground, 5.4 on card · button text #FFF8EF on oak #8C6A4D 4.7.
   The artifact's lighter ink-3 and oak failed AA at their sizes.
   Breakpoints are container widths (the artifact's viewport widths), so the
   hero lays out by the column it has, not by the window.
   ========================================================================== */
@font-face {
  font-family: "Jost SN";
  src: url("fonts/jost.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

.snh {
  --snh-ground: #F6F2EC;
  --snh-card: #FFFFFF;
  --snh-line: #ECE5DA;
  --snh-disc: #EFE8DE;
  --snh-ink: #2A2622;
  --snh-ink-2: #6E665D;
  --snh-ink-3: #716960;
  --snh-oak: #8C6A4D;
  --snh-oak-hover: #7A5C42;
  --snh-r: 16px;
  --snh-r-sm: 10px;
  --snh-face: "Jost SN", "Helvetica Neue", Arial, sans-serif;

  container: snh / inline-size;
  display: block;
  font-family: var(--snh-face);
  font-synthesis: none;
  color: var(--snh-ink);
  background: radial-gradient(120% 80% at 80% 0%, #FBF8F4 0%, transparent 60%), var(--snh-ground);
  padding: 0 clamp(20px, 3cqi, 52px) clamp(28px, 3cqi, 48px);
  /* Full width of the page column, rising behind the empty top bar. */
  margin: calc(-3rem - var(--s2, 0.5rem)) calc(-1 * var(--s6, 2rem)) 0;
}
@media (max-width: 60rem) {
  .snh { margin-inline: calc(-1 * var(--s4, 1rem)); }
}
.snh *, .snh *::before, .snh *::after { box-sizing: border-box; }
.snh a { color: inherit; text-decoration: none; }
.snh :focus-visible { outline: 2px solid var(--snh-ink); outline-offset: 3px; border-radius: var(--snh-r-sm); }
.snh-wrap { max-width: 1640px; margin: 0 auto; }
.snh h1, .snh h2, .snh p, .snh li { font-family: var(--snh-face); }

/* ---- the mock nav: one row, wordmark left, sections right ---------------- */
.snh-nav { display: flex; align-items: center; gap: 12px 24px; min-height: 84px; }
.snh-logo { margin-right: auto; font-size: 24px; font-weight: 400; letter-spacing: .2em; white-space: nowrap; }
.snh-links { display: flex; gap: clamp(20px, 3.4cqi, 48px); margin: 0; padding: 0; list-style: none; }
.snh-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; white-space: nowrap; }
.snh-links a:hover { text-decoration: underline; text-decoration-color: var(--snh-oak); text-underline-offset: 6px; }
.snh-cta {
  display: inline-flex; align-items: center; height: 48px; padding: 0 32px; margin-left: 8px;
  border-radius: var(--snh-r-sm); background: var(--snh-oak); color: #FFF8EF !important;
  font-size: 16px; white-space: nowrap;
}
.snh-cta:hover { background: var(--snh-oak-hover); }
/* With the rail showing, the fixed action cluster holds the top-right: the
   bar runs just below it. */
@media (min-width: 60.0625rem) {
  .snh-nav { /* nav on top, the action bar in the room under its row (founder, 2026-10-01) */ padding-top: 10px; padding-bottom: calc(3rem + var(--s2, 0.5rem) + 20px); }
}
/* Tablet: no rail, but the cluster still sits across the top of the page. */
@media (min-width: 48.0625rem) and (max-width: 60rem) {
  .snh-nav { padding-top: 24px; }
}

/* ---- the photograph and the copy ----------------------------------------- */
.snh-top {
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(0, 1fr);
  gap: clamp(28px, 3.4cqi, 56px);
  align-items: stretch;
}
.snh-photo { position: relative; margin: 0; min-height: 460px; border-radius: var(--snh-r); overflow: hidden; background: #E9DFD0; }
.snh-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.snh-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 36px 0 6px; }

.snh-eyebrow { margin: 0 0 22px; font-size: 13px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--snh-ink-3); }
.snh-copy h1 { margin: 0; font-size: clamp(44px, 4.6cqi, 70px); line-height: 1.08; font-weight: 400; letter-spacing: -0.01em; overflow-wrap: break-word; }
.snh-claim { margin: 26px 0 0; font-size: clamp(22px, 1.9cqi, 28px); line-height: 1.2; font-weight: 400; }
.snh-lede { margin: 16px 0 0; max-width: 40ch; font-size: clamp(17px, 1.35cqi, 20px); line-height: 1.45; font-weight: 300; color: var(--snh-ink-2); }
.snh-btn {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 26px; min-height: 52px; padding: 0 28px;
  border-radius: var(--snh-r-sm); background: var(--snh-oak); color: #FFF8EF !important;
  font-size: 17px; line-height: 1;
}
.snh-btn:hover { background: var(--snh-oak-hover); }

.snh-traits { display: grid; grid-template-columns: repeat(4, 1fr); margin: 32px 0 0; padding: 0; list-style: none; }
.snh-traits li { position: relative; padding: 0 8px; text-align: center; }
.snh-traits li + li::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 6px; width: 1px; background: var(--snh-line); }
.snh-traits__ic { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--snh-disc); }
.snh-traits b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.snh-traits span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--snh-ink-3); }

/* ---- three cards into the record ----------------------------------------- */
.snh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 3cqi, 40px); }
.snh-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px;
  padding: 12px 12px 12px 30px;
  background: var(--snh-card); border: 1px solid var(--snh-line); border-radius: var(--snh-r);
  box-shadow: 0 1px 2px rgba(80, 60, 40, .04);
}
.snh-card:hover { border-color: #D9CDBD; }
.snh-card__text { display: flex; flex-direction: column; padding: 18px 0 10px; }
.snh-card__kind { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--snh-ink-3); }
.snh-card h2 { margin: 12px 0 0; font-size: clamp(19px, 1.6cqi, 22px); line-height: 1.2; font-weight: 400; }
.snh-card p:not(.snh-card__kind) { margin: 12px 0 0; font-size: 15px; line-height: 1.45; font-weight: 300; color: var(--snh-ink-2); }
.snh-card__go { margin-top: auto; padding-top: 18px; }
.snh-card__img { position: relative; min-height: 184px; border-radius: 12px; overflow: hidden; background: #E9DFD0; }
.snh-card__img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---- the column narrows --------------------------------------------------- */
@container snh (max-width: 1280px) {
  .snh-top { grid-template-columns: 1fr 1fr; }
  .snh-card { grid-template-columns: 1fr; padding: 12px; }
  .snh-card__text { padding: 10px 14px 6px; }
  .snh-card__img { order: -1; min-height: 160px; }
}
/* Links tighten before the row would wrap. */
@container snh (max-width: 900px) {
  .snh-links { gap: 20px; }
  .snh-cta { padding: 0 22px; }
  .snh-top, .snh-cards { grid-template-columns: 1fr; }
  .snh-photo { min-height: 0; aspect-ratio: 966 / 566; }
  .snh-copy { padding-top: 0; }
  .snh-card { grid-template-columns: 1fr 1fr; padding: 12px 12px 12px 22px; }
  .snh-card__img { order: 0; }
}
/* Phone: the wordmark and the button on the first line, the sections under. */
@container snh (max-width: 640px) {
  .snh-nav { flex-wrap: wrap; min-height: 0; padding-top: 16px; padding-bottom: 16px; }
  .snh-logo { font-size: 19px; }
  .snh-cta { order: 2; height: 44px; padding: 0 18px; margin-left: 0; font-size: 15px; }
  .snh-nav nav { order: 3; flex-basis: 100%; }
  .snh-links { justify-content: space-between; gap: 8px; }
  .snh-links a { font-size: 15px; }
}
@container snh (max-width: 520px) {
  .snh-traits { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .snh-traits li:nth-child(3)::before { display: none; }
  .snh-card { grid-template-columns: 1fr; padding: 12px; }
  .snh-card__img { order: -1; }
}

/* The images were generated (founder, 2026-10-01); the hero says so. */
.snh { position: relative; }
.snh__gen { position: absolute; z-index: 5; right: 12px; bottom: 8px; margin: 0; padding: 2px 6px; background: rgba(250,247,242,.8); color: #5b524a; font: 500 11px/1.3 var(--ui, system-ui), sans-serif; letter-spacing: .01em; }
@media (max-width: 760px) { .snh__gen { position: static; display: block; width: max-content; margin: 6px 12px 0 auto; } }
