/* Rare & Right — approved brand system, 16 October 2026. */
@font-face {
  font-family: 'Instrument Sans';
  src: url('assets/fonts/instrument-sans-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root, [data-palette=claire] {
  --rr-navy: #1E3557;
  --rr-terracotta: #C06A47;
  --rr-terracotta-light: #E08E6B;
  --rr-terracotta-deep: #A4532F;
  --rr-ivory: #F7F3EC;
  --rr-stone: #EDE8DF;
  --rr-slate: #3D4A5C;
  --blue: var(--rr-navy);
  --blue-hover: var(--rr-slate);
  --orange: var(--rr-terracotta);
  --ink: var(--rr-navy);
  --paper: var(--rr-ivory);
  --white: var(--rr-ivory);
  --pale: var(--rr-stone);
  --muted: var(--rr-slate);
  --slate: var(--rr-slate);
  --rust: var(--rr-terracotta-deep);
  --line: color-mix(in srgb, var(--rr-navy) 18%, var(--rr-ivory));
  --on-dark-accent: var(--rr-terracotta-light);
  --on-dark-muted: color-mix(in srgb, var(--rr-ivory) 88%, var(--rr-navy));
  --cta-text: var(--rr-navy);
  --button-primary: var(--rr-terracotta-deep);
  --button-primary-hover: var(--rr-navy);
  --font-display: 'Instrument Sans', Arial, sans-serif;
  --font-body: 'Instrument Sans', Arial, sans-serif;
  --heading-weight: 500;
  --shadow: 0 20px 60px -34px #1E355736;
}

body { font-family: var(--font-body); font-weight: 400; color: var(--rr-slate); background: var(--rr-ivory); }
button, input, select, textarea { font-family: var(--font-body); }
strong, b { font-weight: 600; }
[data-direction=current] :is(h1,h2,h3,h4,h5,h6) {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  text-transform: none;
  color: var(--rr-navy);
}
[data-direction=current] .proposition-hero h1 { font-weight: 500; }
[data-direction=current] :is(h1,h2,h3,h4,h5,h6) em,
[data-direction=current] .proposition-hero h1 em {
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
  color: var(--rr-terracotta-deep);
}
[data-direction=current] .ink :is(h1,h2,h3,h4,h5,h6),
[data-direction=current] .blue :is(h1,h2,h3,h4,h5,h6) { color: var(--rr-ivory); }
[data-direction=current] .ink :is(h1,h2,h3,h4,h5,h6) em,
[data-direction=current] .blue :is(h1,h2,h3,h4,h5,h6) em { color: var(--rr-terracotta-light); }
[data-direction=current] :is(h1,h2,h3,h4,h5,h6):is(.eyebrow,.nav-caption) { font-weight: 500; }
[data-direction=current] :is(.conversation-choice strong,.feature-block strong,.tier-tabs strong,.ai-path-node strong,.stackplan-journey strong,.showcase-caption strong,.partnership-nav strong,.use-example h4) {
  font-family: var(--font-body);
  font-weight: 500;
}
[data-palette=claire] .button, button, .nav-item, .nav-toggle, .mobile-close { font-weight: 600; }
[data-direction=current] .site-footer-nav h2 { font-family: var(--font-body); font-weight: 500; }
.eyebrow, .nav-caption, .role-area, .demo-label, .map-caption, .specialist-role-photo figcaption {
  font-weight: 500;
  text-transform: none;
  letter-spacing: .04em;
}
.named-team-grid .team-role { font-weight: 500; }
.specialist-role-photo figcaption { color: var(--rr-slate); }
.lead, .muted, .bodycopy, .pagehead-summary .lead { font-weight: 400; }
.storyquote, .story-num, .experience-number { font-family: var(--font-body); font-weight: 500; }
:is(.ink,.blue) :is(.story-num,.experience-number>span,.quote-mark), .evidence-note dt { color: var(--rr-terracotta-light); }
:is(.ink,.blue) .eyebrow::before { background: var(--rr-terracotta-light); }

/* The supplied outlines preserve Instrument Sans Medium and the circular dot. */
.logo { color: var(--rr-navy); font-family: var(--font-body); font-weight: 500; letter-spacing: -.025em; }
.logo img { display: block; height: auto; }
.logo .dot { display: inline-block; width: .22em; height: .22em; margin-left: .05em; border-radius: 50%; background: var(--rr-terracotta); }
:is(.ink,.blue) .logo, .logo[data-logo-tone=dark] { color: var(--rr-ivory); }
:is(.ink,.blue) .logo .dot, .logo[data-logo-tone=dark] .dot { background: var(--rr-terracotta-light); }

/* Warm surfaces and readable text follow the same palette on every route. */
.header, .header.scrolled { background: #F7F3ECF7; }
.conversation-top, .conversation-dialog, .mobile-menu, .site-footer { background: var(--rr-ivory); }
.reply-example figcaption { background: var(--rr-ivory); }
.reply-draft { background: var(--rr-ivory); border-color: var(--rr-terracotta); }
.feature-block, .project-art, .project:nth-child(even) .project-art { background: var(--rr-stone); }
.role-area { color: var(--rr-terracotta-deep); }
.form input, .form textarea, .form select, .finder-question select { color: var(--rr-navy); border-color: color-mix(in srgb, var(--rr-slate) 65%, var(--rr-ivory)); }
.form input::placeholder, .form textarea::placeholder { color: var(--rr-slate); }
.site-footer-brand p, .site-footer-nav a, .site-footer-bottom { color: var(--rr-slate); }
.site-footer a:hover { color: var(--rr-terracotta-deep); }
.mobile-brand-dot { background: var(--rr-terracotta); }

@media (hover:hover) and (pointer:fine) {
  .task-stage:hover { background: var(--rr-stone); border-color: var(--rr-terracotta); }
  [data-direction=current] #main .review-deliverables li:is(:hover,:focus-within) { background: var(--rr-stone); border-color: var(--rr-terracotta); }
  [data-direction=current] #main .model.featured:is(:hover,:focus-within) { background: var(--rr-terracotta-light); border-color: var(--rr-terracotta-light); }
  [data-direction=current] #main .project:is(:hover,:focus-visible) .project-art { background: var(--rr-terracotta-light); }
}

@media print {
  body { color: var(--rr-navy); }
  [data-direction=current] :is(.ink,.blue) :is(h1,h2,h3,h4,h5,h6) { color: var(--rr-navy); }
}
