/* Hallmark · genre: editorial (Carnival register) · macrostructure: Photographic · theme: Carnival (drop: Pressroom)
 * nav: N9 edge-aligned minimal · footer: Ft2 inline single line · enrichment: user photograph (H6 fold, poster-treated) · H6 knobs: area=viewport-capped crop, caption=lower-left plate
 * contrast: pass (40–41) · slop: pass (42–45) · honest: pass (46) · chrome: pass (47) · tokens: pass (48) · responsive: pass (49) · mobile: pass (34, 49, 50–57) */
/* Hallmark · pre-emit critique: P5 H4 E4 S5 R5 V5 */

* { box-sizing: border-box; }
html { overflow-x: clip; }
body { overflow-x: clip; margin: 0; background: var(--color-paper); color: var(--color-ink);
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.5; }

.page { max-width: var(--page-max); margin-inline: auto; padding-inline: var(--page-gutter); }

h1, h2, h3 { font-style: normal; overflow-wrap: anywhere; min-width: 0;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-variation-settings: "wdth" 110; }

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---- nav · N9 edge-aligned ---- */
.nav { display: flex; align-items: center; justify-content: space-between;
  padding-block: var(--space-md); }
.nav__mark { font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-variation-settings: "wdth" 110; font-size: var(--text-lg); line-height: 1; text-decoration: none; }
.nav__cta { display: inline-flex; align-items: center; min-height: 44px; padding: var(--space-xs) var(--space-md);
  border: var(--rule-bold) solid var(--color-ink); box-shadow: var(--shadow-hard);
  background: var(--color-accent); color: var(--color-accent-ink);
  font-weight: 700; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.02em;
  text-decoration: none; white-space: nowrap; line-height: 1;
  transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }
.nav__cta:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--color-ink); }
.nav__cta:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--color-ink); }

/* ---- photographic fold · H6 ---- */
.fold { position: relative; margin-block-end: var(--space-2xl); }
.fold img { display: block; width: 100%; height: min(72svh, 40rem); object-fit: cover; object-position: 50% 22%;
  border: var(--rule-bold) solid var(--color-ink); box-shadow: var(--shadow-hard);
  filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; }
.fold figcaption { position: absolute; left: 0; bottom: var(--space-lg); max-width: min(34rem, 88%);
  background: var(--color-accent); color: var(--color-accent-ink);
  border: var(--rule-bold) solid var(--color-ink); box-shadow: var(--shadow-hard);
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-variation-settings: "wdth" 110; font-size: var(--text-xl); line-height: 1.04; letter-spacing: 0.02em;
  overflow-wrap: anywhere; min-width: 0; }
.fold figcaption .orn { color: var(--color-accent-2); }

/* ---- story ---- */
.story { padding-block-end: var(--space-2xl); }
.story h1 { margin: 0 0 var(--space-md); font-size: var(--text-display); line-height: 1.02; letter-spacing: -0.005em; max-width: 14ch; }
.story p { margin: 0 0 var(--space-lg); font-size: var(--text-md); max-width: 48ch; }
.story .ctas { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: var(--space-sm) var(--space-lg);
  font-weight: 700; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.02em;
  text-decoration: none; white-space: nowrap; line-height: 1;
  border: var(--rule-bold) solid var(--color-ink); box-shadow: var(--shadow-hard);
  transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }
.btn--fill { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--line { background: var(--color-paper); color: var(--color-ink); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--color-ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--color-ink); }

/* ---- slate band: tools ---- */
.band { background: var(--color-accent-2); color: var(--color-paper);
  border-block: var(--rule-bold) solid var(--color-ink); }
.band .desk { padding-block: var(--space-2xl); }
.band h2 .orn { color: var(--color-accent); }
.band a:focus-visible { outline-color: var(--color-accent); }
.roster { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--space-2xl); }
.roster li { display: flex; gap: var(--space-sm); align-items: baseline;
  border-bottom: var(--rule-bold) solid oklch(from var(--color-paper) l c h / 0.25); padding-block: var(--space-sm); }
.roster .orn { color: var(--color-accent); flex-shrink: 0; }
.roster a { font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap;
  text-decoration-thickness: 2px; text-underline-offset: 4px; }
.roster a:hover { color: var(--color-accent); }
.roster a:active { opacity: 0.7; }
.roster span.desc { font-size: var(--text-sm); }

/* ---- paper desk: typed ruby ---- */
.desk { padding-block: var(--space-2xl); }
.desk h2 { margin: 0 0 var(--space-xl); font-size: var(--text-xl); line-height: 1.04; letter-spacing: 0.02em; }
.desk h2 .orn { color: var(--color-accent-2); }
.typed { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); max-width: 62ch; }
.typed li { display: flex; gap: var(--space-sm); align-items: baseline; }
.typed .orn { color: var(--color-accent-2); flex-shrink: 0; }
.typed a { font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap;
  text-decoration-thickness: 2px; text-underline-offset: 4px; }
.typed a:hover { color: var(--color-accent-2); }
.typed a:active { color: var(--color-muted); }
.typed span { font-size: var(--text-sm); }

/* ---- about strip ---- */
.about { border-top: var(--rule-bold) solid var(--color-accent-2); padding-block: var(--space-xl) var(--space-2xl); }
.about h2 { margin: 0 0 var(--space-md); font-size: var(--text-xl); line-height: 1.04; letter-spacing: 0.02em; }
.about h2 .orn { color: var(--color-accent-2); }
.about p { margin: 0 0 var(--space-lg); max-width: 52ch; }
.about .links { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.about .links a { font-weight: 700; text-transform: uppercase; font-size: var(--text-sm); white-space: nowrap;
  text-decoration-thickness: 2px; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.about .links a:hover { color: var(--color-accent-2); }
.about .links a:active { color: var(--color-muted); }

/* ---- footer · Ft2 inline ---- */
.foot { border-top: var(--rule-bold) solid var(--color-ink); padding-block: var(--space-md) var(--space-xl); }
.foot .page { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md);
  font-size: var(--text-sm); align-items: center; }
.foot a { white-space: nowrap; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.foot a:hover { color: var(--color-accent-2); }
.foot a:active { color: var(--color-muted); }
.foot .orn { color: var(--color-accent-2); }

@media (max-width: 60rem) {
  .roster { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .fold figcaption { position: static; margin-top: calc(-1 * var(--rule-bold)); max-width: 100%;
    box-shadow: none; font-size: var(--text-lg); }
  .fold img { height: 60svh; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 150ms !important; }
  .btn:hover, .nav__cta:hover { transform: none; }
}
