@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Big+Shoulders+Display:wght@400;500;700;800;900&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Crimson+Text:ital,wght@0,400;0,700;1,400&family=DM+Serif+Display:ital@0;1&family=DM+Serif+Text:ital@0;1&family=EB+Garamond:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=GFS+Didot&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400;1,8..60,600&display=swap');

/* =========================================================
   XPO PRESS — The Vogue/Esquire of mineral journalism
   × Neo atomic-age brutalism
   ========================================================= */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* latin-ext */

/* latin */

/* latin-ext */

/* latin */

/* latin-ext */

/* latin */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* latin-ext */

/* latin */

/* latin-ext */

/* latin */

/* latin-ext */

/* latin */

/* latin-ext */

/* latin */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

:root {
  /* White paper theme */
  --paper: #fafafa;
  --paper-deep: #f2f2f2;
  --paper-soft: #ffffff;
  --paper-warm: #f5f5f5;

  /* Ink */
  --ink: #16110c;
  --ink-soft: #2a241d;
  --ink-mute: #555555;
  /* adjusted for white contrast */
  --ink-faint: #777777;
  /* adjusted for white contrast */
  --rule: #16110c;
  --rule-soft: #e0e0e0;
  /* clean light gray divider */

  /* LOGO PALETTE — the six squares.
     Each color comes in two tunings:
       --xp-{c}     : the bright brand color (for backgrounds + large display)
       --xp-{c}-ink : darkened to clear WCAG AA 4.5:1 on cream paper
                      (for small text, kickers, fine lines)
     For backgrounds with light/dark text the contrast still passes
     because we pair the bright color with #f1ead8 cream or #16110c ink. */
  --xp-yellow: #f4c52d;
  --xp-orange: #db8e2e;
  --xp-red: #d8332d;
  --xp-purple: #964199;
  --xp-green: #2da848;
  --xp-navy: #29245c;

  --xp-yellow-ink: #6a5310;
  --xp-orange-ink: #8a4a0a;
  --xp-red-ink: #9b201b;
  --xp-purple-ink: #6e2a78;
  --xp-green-ink: #1a6a2e;
  --xp-navy-ink: #29245c;

  /* Aliases for editorial use */
  --press-red: var(--xp-red);
  --press-red-ink: var(--xp-red-ink);
  --press-blue: var(--xp-navy);
  --press-ochre: var(--xp-orange);

  /* Typography stacks */
  --f-display: 'Marcellus', 'Trajan Pro', 'GFS Didot', Georgia, serif;
  --f-headline: 'Marcellus SC', 'Marcellus', Georgia, serif;
  --f-body: 'Crimson Text', 'Crimson Pro', 'EB Garamond', Georgia, serif;
  --f-sans: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --f-mono: 'JetBrains Mono', 'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;
}

/* ===== Paper ===== */
.xp-paper {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "liga", "kern", "onum";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  width: 100%;
  min-height: 100vh;
}

.xp-paper::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(rgba(60, 50, 30, 0.04) 1px, transparent 1px),
    radial-gradient(rgba(60, 50, 30, 0.03) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
  z-index: 0;
}

.xp-paper>* {
  position: relative;
  z-index: 1;
}

.xp-letterpress {
  text-shadow: 0 1px 0 rgba(255, 250, 235, 0.35), 0 -1px 0 rgba(0, 0, 0, 0.06);
}

/* =========================================================
   LOGO BLOCK — uses the actual asset image
   ========================================================= */
.xp-logo-img {
  display: block;
  height: 38px;
  width: auto;
}

.xp-logo-img.lg {
  height: 56px;
}

.xp-logo-img.sm {
  height: 26px;
}

.xp-logo-img.xs {
  height: 18px;
}

.xp-logo-img.invert {
  filter: invert(1) brightness(1.05);
}

/* Optional treatment: lock to ink black + cream for dark contexts. We expose a
   "cream" variant via a CSS mask trick that doesn't require modifying the PNG. */

/* =========================================================
   TOP BAR — brutalist mono ribbon
   ========================================================= */
.xp-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 56px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  border-bottom: 6px solid var(--xp-yellow);
  font-weight: 500;
}

.xp-topbar .l,
.xp-topbar .c,
.xp-topbar .r {
  display: flex;
  gap: 22px;
  align-items: center;
}

.xp-topbar .c {
  justify-content: center;
  color: var(--paper);
}

.xp-topbar .r {
  justify-content: flex-end;
}

.xp-topbar .vol {
  color: var(--xp-yellow);
}

.xp-topbar .pipe {
  width: 1px;
  height: 12px;
  background: var(--paper-deep);
  opacity: 0.4;
}

/* =========================================================
   MASTHEAD — Vogue-scale Didone display
   ========================================================= */
.xp-masthead {
  position: relative;
  padding: 40px 56px 0;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.xp-mast-row {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 18px;
}

.xp-mast-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.9;
  font-weight: 500;
}

.xp-mast-meta.l {
  text-align: left;
}

.xp-mast-meta.r {
  text-align: right;
}

.xp-mast-meta b {
  color: var(--ink);
}

.xp-mast-logo {
  padding: 0 32px;
  display: flex;
  justify-content: center;
}

.xp-mast-logo .xp-logo-img {
  height: 78px;
}

.xp-mast-banner {
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 12px 0 16px;
}

.xp-mast-banner .tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  text-align: center;
  letter-spacing: 0.005em;
}

.xp-mast-banner .lt,
.xp-mast-banner .rt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.xp-mast-banner .lt {
  text-align: left;
}

.xp-mast-banner .rt {
  text-align: right;
}

/* Color-block ribbon under masthead — neo atomic age signature */
.xp-color-ribbon {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 10px;
  margin-left: -56px;
  margin-right: -56px;
}

.xp-color-ribbon i:nth-child(1) {
  background: var(--xp-yellow);
}

.xp-color-ribbon i:nth-child(2) {
  background: var(--xp-orange);
}

.xp-color-ribbon i:nth-child(3) {
  background: var(--xp-red);
}

.xp-color-ribbon i:nth-child(4) {
  background: var(--xp-purple);
}

.xp-color-ribbon i:nth-child(5) {
  background: var(--xp-green);
}

.xp-color-ribbon i:nth-child(6) {
  background: var(--xp-navy);
}

/* =========================================================
   NAV — brutalist column with mono caps
   ========================================================= */
.xp-nav {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
  padding: 0 56px;
  /* Align with header padding */
}

.xp-nav-toggle {
  display: none;
}

.xp-nav a {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 16px 28px;
  text-decoration: none;
  text-align: center;
  border-right: 1px solid var(--ink);
  transition: background .12s, color .12s;
  font-weight: 500;
  display: inline-block;
}

.xp-nav a:first-of-type {
  padding-left: 0;
  /* Align first item text with header content edge */
}

.xp-nav a:last-child {
  border-right: none;
}

.xp-nav a:hover {
  background: var(--ink);
  color: var(--paper);
}

.xp-nav a.active {
  background: var(--xp-yellow);
  color: var(--ink);
}

/* =========================================================
   GRID PRIMITIVES
   ========================================================= */
.xp-wrap {
  padding: 0 56px;
}

.xp-rule {
  height: 1px;
  background: var(--ink);
  border: 0;
  margin: 18px 0;
}

.xp-rule-thin {
  height: 1px;
  background: var(--rule-soft);
  border: 0;
  margin: 18px 0;
}

.xp-rule-double {
  border: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  height: 4px;
  margin: 22px 0;
}

.xp-rule-thick {
  height: 6px;
  background: var(--ink);
  border: 0;
  margin: 18px 0;
}

/* Brutalist grid scaffold — labelled column-counter strip */
.xp-scaffold {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 6px 0;
}

.xp-scaffold span {
  padding: 0 6px;
  border-right: 1px solid var(--rule-soft);
}

.xp-scaffold span:last-child {
  border-right: 0;
}

/* =========================================================
   TYPE PRIMITIVES — Vogue scale
   ========================================================= */
.xp-kicker {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--press-red-ink);
  font-weight: 600;
}

.xp-kicker.ink {
  color: var(--ink-mute);
}

.xp-kicker.yellow {
  color: var(--xp-orange-ink);
}

.xp-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.xp-section-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 56px;
  line-height: 0.98;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
}

.xp-section-title em {
  font-style: italic;
  color: var(--press-red);
}

/* Display sizes — true Vogue Didone scale */
.xp-h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 120px;
  line-height: 0.92;
  letter-spacing: -0.022em;
  margin: 0;
}

.xp-h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 76px;
  line-height: 0.94;
  letter-spacing: -0.018em;
  margin: 0;
}

.xp-h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin: 0;
}

.xp-h4 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.1;
  margin: 0;
}

.xp-h5 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
}

/* Italic Didone — high impact */
.xp-h1 .it,
.xp-h2 .it,
.xp-h3 .it {
  font-style: italic;
  font-weight: 400;
}

/* Sans-serif brutalist headlines (atomic-age geometric) */
.xp-sans-h {
  font-family: var(--f-sans);
  font-weight: 700;
  letter-spacing: -0.005em;
}

.xp-sans-uc {
  font-family: var(--f-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.xp-byline {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.xp-byline b {
  color: var(--ink);
  font-weight: 600;
}

.xp-deck {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.42;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 400;
}

.xp-body {
  font-family: var(--f-body);
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--ink);
  hyphens: auto;
  text-align: justify;
  text-wrap: pretty;
}

.xp-body p {
  margin: 0 0 14px;
}

.xp-body p+p {
  text-indent: 1.4em;
}

.xp-dropcap::first-letter {
  font-family: var(--f-display);
  font-weight: 700;
  float: left;
  font-size: 110px;
  line-height: 0.82;
  padding: 8px 12px 0 0;
  margin-top: 6px;
  color: var(--ink);
}

.xp-dropcap.red::first-letter {
  color: var(--press-red);
}

.xp-sc {
  font-variant: small-caps;
  letter-spacing: 0.08em;
}

/* Pull quote — brutalist black slab */
.xp-pullquote {
  background: var(--ink);
  color: var(--paper);
  padding: 32px 36px;
  margin: 24px 0;
  font-family: var(--f-display);
  font-size: 36px;
  line-height: 1.12;
  font-style: italic;
  position: relative;
}

.xp-pullquote .mark {
  color: var(--xp-yellow);
  font-size: 64px;
  line-height: 0;
  vertical-align: -22px;
  font-style: normal;
  font-weight: 700;
}

.xp-pullquote cite {
  display: block;
  margin-top: 18px;
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--xp-yellow);
}

/* Caption */
.xp-caption {
  font-family: var(--f-body);
  font-style: italic;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.xp-caption b {
  font-style: normal;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--press-red-ink);
  display: inline-block;
  margin-right: 8px;
}

/* =========================================================
   ATOMIC ORNAMENTS — drawn as simple SVGs (asterisk/burst/diamond)
   ========================================================= */
.xp-burst {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.18em;
  background: currentColor;
  clip-path: polygon(50% 0%, 56% 38%, 100% 50%, 56% 62%,
      50% 100%, 44% 62%, 0% 50%, 44% 38%);
}

.xp-orn-row {
  text-align: center;
  margin: 18px 0;
  color: var(--xp-red);
  font-family: var(--f-display);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.xp-orn-row .line {
  flex: 0 1 80px;
  height: 1px;
  background: var(--ink);
  opacity: 0.5;
}

/* SVG atomic starburst — used at hero corners */
.xp-atomic-svg {
  display: inline-block;
}

/* =========================================================
   BUTTONS — brutalist blocks
   ========================================================= */
.xp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--ink);
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}

.xp-btn:hover {
  background: var(--xp-red);
  border-color: var(--xp-red);
}

.xp-btn.ghost {
  background: transparent;
  color: var(--ink);
}

.xp-btn.ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.xp-btn.yellow {
  background: var(--xp-yellow);
  border-color: var(--ink);
  color: var(--ink);
}

.xp-btn.yellow:hover {
  background: var(--ink);
  color: var(--xp-yellow);
}

.xp-btn .arr {
  font-family: var(--f-body);
  font-size: 14px;
  letter-spacing: 0;
}

/* Tag chip */
.xp-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  background: transparent;
  font-weight: 600;
}

.xp-tag.red {
  color: var(--paper);
  border-color: var(--xp-red);
  background: var(--xp-red);
}

.xp-tag.yellow {
  color: var(--ink);
  border-color: var(--xp-yellow);
  background: var(--xp-yellow);
}

.xp-tag.navy {
  color: var(--paper);
  border-color: var(--xp-navy);
  background: var(--xp-navy);
}

.xp-tag.green {
  color: var(--paper);
  border-color: var(--xp-green);
  background: var(--xp-green);
}

.xp-tag.solid {
  background: var(--ink);
  color: var(--paper);
}

/* =========================================================
   IMAGE WELLS — labelled photo placeholders, brutalist
   ========================================================= */
.xp-imgwell {
  background:
    repeating-linear-gradient(135deg,
      rgba(22, 17, 12, 0.08) 0 1px,
      transparent 1px 12px),
    linear-gradient(180deg, #d9cdb0, #c3b694);
  color: var(--ink-soft);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
}

.xp-imgwell::before {
  /* plate corner mark */
  content: "+";
  position: absolute;
  top: 6px;
  left: 8px;
  font-family: var(--f-mono);
  font-size: 16px;
  color: var(--ink);
  opacity: 0.7;
}

.xp-imgwell::after {
  content: attr(data-label);
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink);
  opacity: 0.8;
  font-weight: 500;
}

.xp-imgwell.noborder {
  border: 0;
}

.xp-imgwell.dark {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, #2b2620, #16110c);
  color: var(--paper-deep);
}

.xp-imgwell.dark::before,
.xp-imgwell.dark::after {
  color: var(--paper-deep);
  opacity: 0.55;
}

/* Specimen tints */
.xp-imgwell.malachite {
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.06) 0 1px, transparent 1px 12px),
    radial-gradient(circle at 30% 40%, #2e6f4a 0%, #1d4d33 60%, #0e2a1d 100%);
}

.xp-imgwell.amethyst {
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.06) 0 1px, transparent 1px 12px),
    radial-gradient(circle at 60% 30%, #7a5aa8 0%, #4d3676 60%, #261735 100%);
}

.xp-imgwell.opal {
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 12px),
    linear-gradient(115deg, #c2d6cd 0%, #a4c1d0 30%, #d6c2a4 60%, #c0a4c2 100%);
}

.xp-imgwell.ochre {
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, #c89b4f, #8b6429);
}

.xp-imgwell.slate {
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.06) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, #5b6878, #2f3a48);
}

.xp-imgwell.crystal {
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, #e8eef0 0%, #b9c8cf 50%, #6b7c87 100%);
}

.xp-imgwell.ruby {
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.06) 0 1px, transparent 1px 12px),
    radial-gradient(circle at 50% 50%, #c4322e 0%, #7e1612 70%, #2e0b08 100%);
  color: #f3d8d6;
}

.xp-imgwell.lapis {
  background:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.06) 0 1px, transparent 1px 12px),
    radial-gradient(circle at 50% 50%, #2b3a85 0%, #1a2455 70%, #0a0e2c 100%);
  color: #c9d2f1;
}

/* Plate number — oversized brutalist */
.xp-plate-no {
  position: absolute;
  top: 8px;
  right: 12px;
  font-family: var(--f-display);
  font-size: 48px;
  font-weight: 400;
  color: var(--paper-soft);
  opacity: 0.85;
  line-height: 1;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* =========================================================
   CARD (used in indexes)
   ========================================================= */
.xp-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.xp-card .img {
  aspect-ratio: 4/3;
}

.xp-card .ttl {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.xp-card .ttl em {
  font-style: italic;
}

.xp-card .ttl:hover {
  color: var(--xp-red);
}

.xp-card .by {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.xp-card .num {
  position: absolute;
  top: -6px;
  left: -6px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink);
  background: var(--xp-yellow);
  padding: 4px 9px;
  letter-spacing: 0.16em;
  z-index: 2;
  font-weight: 600;
}

/* =========================================================
   VENDOR REGISTRY GRID
   ========================================================= */
.xp-vendor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 2px solid var(--ink);
}

.xp-vendor-grid-item {
  background: var(--paper-soft);
}

.xp-vendor-grid-empty {
  grid-column: span 3;
  padding: 48px;
  text-align: center;
  font-family: var(--f-display);
  font-size: 24px;
  color: var(--ink-soft);
  background: var(--paper-soft);
}

/* =========================================================
   FOOTER
   ========================================================= */
.xp-footer {
  border-top: 8px solid var(--ink);
  padding: 48px 56px 28px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-deep);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  background: var(--ink);
  font-weight: 500;
}

.xp-footer h6 {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--xp-yellow);
  margin: 0 0 16px;
  font-weight: 700;
}

.xp-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2.1;
}

.xp-footer ul a {
  color: var(--paper-deep);
  text-decoration: none;
}

.xp-footer ul a:hover {
  color: var(--xp-yellow);
}

.xp-footer .colophon {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--paper);
  line-height: 1.5;
  margin-top: 16px;
}

.xp-footer .xp-logo-img {
  filter: invert(1) brightness(1.05);
}

/* =========================================================
   FORMS
   ========================================================= */
.xp-input-row {
  display: flex;
  align-items: stretch;
  border-bottom: 2px solid var(--ink);
}

.xp-input-row input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  padding: 12px 0;
  color: var(--ink);
  outline: none;
}

.xp-input-row input::placeholder {
  color: var(--ink-faint);
}

.xp-input-row button {
  border: 0;
  background: transparent;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  padding: 0 16px;
}

.xp-input-row button:hover {
  color: var(--xp-red);
}

/* =========================================================
   FAUX MAP
   ========================================================= */
.xp-map {
  background: var(--paper-warm);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
}

.xp-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 49.5%, rgba(22, 17, 12, 0.08) 49.5%, rgba(22, 17, 12, 0.08) 50.5%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(22, 17, 12, 0.08) 49.5%, rgba(22, 17, 12, 0.08) 50.5%, transparent 50.5%);
  background-size: 60px 60px;
}

.xp-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.xp-map .pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  background: var(--xp-red);
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 0 0 2px var(--paper), 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Links */
.xp-link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 1px;
}

.xp-link:hover {
  color: var(--xp-red);
  border-color: var(--xp-red);
}

.xp-link.red {
  color: var(--xp-red);
  border-color: var(--xp-red);
}

/* =========================================================
   BRUTALIST COLOR-BLOCK STRIP — the signature element
   ========================================================= */
.xp-blockstrip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.xp-blockstrip>div {
  padding: 28px 22px;
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.xp-blockstrip>div .n {
  font-family: var(--f-display);
  font-size: 56px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.xp-blockstrip>div .t {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.005em;
  text-transform: none;
  line-height: 1.2;
  margin-bottom: 6px;
}

.xp-blockstrip .b-yellow {
  background: var(--xp-yellow);
  color: var(--ink);
}

.xp-blockstrip .b-orange {
  background: var(--xp-orange);
  color: var(--ink);
}

.xp-blockstrip .b-red {
  background: var(--xp-red);
  color: var(--paper);
}

.xp-blockstrip .b-purple {
  background: var(--xp-purple);
  color: var(--paper);
}

.xp-blockstrip .b-green {
  background: var(--xp-green);
  color: var(--paper);
}

.xp-blockstrip .b-navy {
  background: var(--xp-navy);
  color: var(--paper);
}

.xp-blockstrip .b-ink {
  background: var(--ink);
  color: var(--paper);
}

.xp-blockstrip .b-paper {
  background: var(--paper-soft);
  color: var(--ink);
}

/* Section header — brutalist exposed */
.xp-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding: 18px 0 14px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 28px;
}

.xp-section-head .meta {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
}

body {
  font-family: 'Source Serif 4', Georgia, serif;
}

/* Design canvas paint tweaks to feel newsprinty */
#dc-styles+style,
body {
  --dc-paper: var(--paper);
}

/* Views Exposed Filters Form Styling */
.views-exposed-filters-section .views-exposed-form {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 28px;
  align-items: end;
  width: 100%;
}

.views-exposed-filters-section .views-exposed-form .form-item {
  margin: 0;
}

.views-exposed-filters-section .views-exposed-form label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 600;
}

.views-exposed-filters-section .views-exposed-form input.form-text {
  font-family: var(--f-display);
  font-size: 20px;
  border: none;
  border-bottom: 2px solid var(--ink);
  padding: 10px 0;
  background: transparent;
  width: 100%;
  outline: none;
  color: var(--ink);
  border-radius: 0;
  box-sizing: border-box;
}

.views-exposed-filters-section .views-exposed-form input.form-text::placeholder {
  color: var(--ink-mute);
}

.views-exposed-filters-section .views-exposed-form select.form-select {
  font-family: var(--f-display);
  font-size: 20px;
  border: none;
  border-bottom: 2px solid var(--ink);
  padding: 10px 0;
  background: transparent;
  width: 100%;
  outline: none;
  color: var(--ink);
  border-radius: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 20px;
  cursor: pointer;
}

.views-exposed-filters-section .views-exposed-form .form-actions {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.views-exposed-filters-section .views-exposed-form input.form-submit {
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  padding: 14px 28px;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background 0.15s ease, color 0.15s ease;
  border-radius: 0;
}

.views-exposed-filters-section .views-exposed-form input.form-submit:hover {
  background: transparent;
  color: var(--ink);
}

.views-exposed-filters-section .views-exposed-form .form-actions input[id^="edit-reset"] {
  background: transparent;
  color: var(--ink);
}

.views-exposed-filters-section .views-exposed-form .form-actions input[id^="edit-reset"]:hover {
  background: var(--ink);
  color: var(--paper);
}

/* Pagination Styling */
.xp-pager-section nav.pager {
  margin: 24px 0;
  text-align: center;
}

.xp-pager-section ul.pager__items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.xp-pager-section li.pager__item {
  display: inline-block;
  margin: 0;
}

.xp-pager-section li.pager__item a,
.xp-pager-section li.pager__item.is-active span,
.xp-pager-section li.pager__item.pager__item--first a,
.xp-pager-section li.pager__item.pager__item--previous a,
.xp-pager-section li.pager__item.pager__item--next a,
.xp-pager-section li.pager__item.pager__item--last a {
  display: inline-block;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: transparent;
  transition: background 0.15s, color 0.15s;
}

.xp-pager-section li.pager__item a:hover {
  background: var(--ink);
  color: var(--paper);
}

.xp-pager-section li.pager__item.is-active span {
  background: var(--xp-red);
  color: var(--paper);
  border-color: var(--xp-red);
}

/* Vendor Grid Item Wrapper Flex Alignment */
.xp-vendor-row-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  box-sizing: border-box;
  background: var(--paper-soft);
  /* Avoid gray background gap on unequal heights */
}

.xp-vendor-row-wrapper>a {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  height: 100%;
}

/* =========================================================
   ADVERTISEMENT BANNER — premium brutalist newsprint style
   ========================================================= */
.xp-ad-section {
  padding-top: 24px;
  padding-bottom: 16px;
}

.xp-ad-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px dashed var(--xp-orange);
  background: var(--paper-warm);
  padding: 16px 28px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s, border-color 0.2s;
  box-sizing: border-box;
}

.xp-ad-banner:hover {
  background: var(--paper-soft);
  border-color: var(--xp-red);
}

.xp-ad-badge {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--ink-faint);
  border: 1px solid var(--rule-soft);
  padding: 4px 8px;
  background: var(--paper-soft);
  text-transform: uppercase;
}

.xp-ad-inner {
  flex-grow: 1;
  padding: 0 32px;
}

.xp-ad-brand {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--xp-orange-ink);
  margin-bottom: 4px;
}

.xp-ad-title {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}

.xp-ad-desc {
  font-family: var(--f-body);
  font-style: italic;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.xp-ad-cta {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--paper);
  background: var(--xp-orange-ink);
  padding: 12px 20px;
  text-transform: uppercase;
  transition: background 0.15s;
}

.xp-ad-banner:hover .xp-ad-cta {
  background: var(--xp-red-ink);
}

/* =========================================================
   HOME HERO SECTION — full-width adjustments
   ========================================================= */
.xp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  padding-top: 36px;
  padding-bottom: 48px;
  align-items: center;
}

.xp-hero-image-wrapper img {
  transition: transform 0.3s ease;
}

.xp-hero-image-wrapper:hover img {
  transform: scale(1.02);
}

@media (max-width: 900px) {

  .xp-color-ribbon {
    margin-left: -24px;
    margin-right: -24px;
  }

  /* Standard mobile layout paddings */
  .xp-topbar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 24px;
    text-align: center;
  }

  .xp-topbar .l,
  .xp-topbar .r {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .xp-topbar .c {
    display: none;
  }

  .xp-masthead {
    padding: 24px 24px 0;
  }

  .xp-mast-logo .xp-logo-img {
    height: 48px;
  }

  .xp-mast-banner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
  }

  .xp-mast-banner .lt,
  .xp-mast-banner .rt {
    text-align: center;
  }

  .xp-mast-banner .tagline {
    font-size: 16px;
  }

  .xp-nav {
    padding: 0 24px;
    position: relative;
    display: block;
    border-bottom: 2px solid var(--ink);
  }

  .xp-nav-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 16px 0;
    position: relative;
    z-index: 10;
  }

  .xp-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--ink);
    transition: transform 0.2s, opacity 0.2s;
  }

  .xp-nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .xp-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .xp-nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .xp-nav a {
    display: none;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding: 12px 0;
    border-right: none;
    border-bottom: 1px solid var(--rule-soft);
  }

  .xp-nav a:first-of-type {
    padding-left: 0;
  }

  .xp-nav a:last-child {
    border-bottom: none;
  }

  .xp-nav.xp-nav-open a {
    display: block;
  }

  .xp-wrap {
    padding: 0 24px;
  }

  .xp-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .xp-grid-3 {
    grid-template-columns: 1fr !important;
  }

  .xp-vendor-grid {
    grid-template-columns: 1fr;
  }

  .xp-vendor-grid-empty {
    grid-column: span 1;
  }

  .xp-footer {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 28px;
  }

  .xp-ad-banner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 20px;
  }

  .xp-ad-inner {
    padding: 0;
  }

  .xp-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  #home-vendors-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  #home-vendors-grid {
    grid-template-columns: 1fr !important;
  }
}