/* P& group foundations (Register A, ivory) + Nexus Routes lead colour.
   Mirrors src/styles/brand/group-foundations.css and nexus.css in the
   platform repo so the holding page and the product share one system. */

@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }

[data-register="ivory"] {
  --page: #faf8f5; --paper: #faf8f5; --ink: #0d0d0d;
  --soft: rgba(13,13,13,.66); --faint: rgba(13,13,13,.56);
  --hair: rgba(13,13,13,.14); --hair-firm: rgba(13,13,13,.24); --warm: #e6e3dc;
  --action: #f2b705; --on-action: #0d0d0d;
  --accent: #bf0a0a; --on-accent: #faf8f5;
  --d: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --s: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --t-hero: clamp(2.6rem, 6.4vw, 5rem); --t-h2: clamp(1.85rem, 3.6vw, 2.9rem); --t-h3: clamp(1.25rem, 1.9vw, 1.5rem);
  --t-body: 1rem; --t-small: .9rem; --t-label: .72rem;
  --ls-hero: -.021em; --ls-h2: -.014em; --ls-h3: -.016em; --ls-label: .19em;
  --rule: 1.5px; --reveal: 280ms ease;
}
[data-brand="nexus"] {
  --accent: #0f3d3e; --accent-deep: #0a2b2c; --accent-tint: #1e5051;
  --paper-alt: #f3f6f5; --ink-alt: #1d2a2e;
  --on-accent-muted: rgba(250,248,245,.72);
}
