/* Novalis design tokens: the one source for brand colour, type, spacing and motion.
   Brand identity: navy #263450, gold #ba8d40, white #ffffff. Every other tone is a tint of navy.
   Contrast rules (WCAG AA):
   - Text under 24px uses navy (or --nv-muted) on white, and white on navy.
   - Gold is for large type (24px and up), accents, rules, icons and borders: it measures
     3.0:1 on white and 4.1:1 on navy, too low for small text.
   Loaded after the Webflow stylesheet and before the Novalis section stylesheets. */
:root {
  /* Brand */
  --nv-navy: #263450;
  --nv-gold: #ba8d40;
  --nv-white: #ffffff;

  /* Navy tints */
  --nv-navy-raised: #31415e;            /* hover / raised surface on navy */
  --nv-muted: #5c677c;                  /* secondary text on white, 5.7:1 */
  --nv-ink: rgba(38, 52, 80, 0.75);     /* body copy on white, 5.7:1 */
  --nv-line: rgba(38, 52, 80, 0.14);    /* hairlines on white */
  --nv-stone: #f4f5f6;                  /* image placeholders, quiet panels */
  --nv-on-navy-muted: rgba(255, 255, 255, 0.72); /* secondary text on navy, 6.9:1 */
  --nv-on-navy-line: rgba(255, 255, 255, 0.16);

  /* Type */
  --nv-font-display: Luxia, Georgia, serif;
  --nv-font-text: Sohne, Arial, sans-serif;
  --nv-text-xs: 0.75rem;
  --nv-text-sm: 0.875rem;
  --nv-text-base: 1rem;
  --nv-text-lg: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  --nv-display-sm: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
  --nv-display-md: clamp(2.25rem, 1.6rem + 2.2vw, 3.5rem);
  --nv-display-lg: clamp(2.75rem, 1.8rem + 3.4vw, 4.75rem);
  --nv-label-tracking: 0.2em;

  /* Space and shape */
  --nv-space-section: clamp(4.5rem, 9vw, 8.5rem);
  --nv-radius: 0;

  /* Motion */
  --nv-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --nv-duration: 0.35s;

  /* Webflow template palette, mapped onto the brand (the template's ivory, rose and sand). */
  --pink: #ba8d40;
  --rose: #ba8d40;
  --lightpink: #ffffff;
  --lightgreen: #ffffff;
  --lightbrown: #5c677c;
  --brown: #263450;
}

::selection {
  background: var(--nv-gold);
  color: var(--nv-navy);
}

/* One keyboard focus ring for every page (replaces the template's blue #4d65ff). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--nv-gold);
  outline-offset: 3px;
}

/* Skip link: hidden until focused by keyboard. */
.nv-skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10001;
  padding: 0.75rem 1.25rem;
  background: var(--nv-white);
  color: var(--nv-navy);
  font-family: var(--nv-font-text);
  font-size: var(--nv-text-sm);
  text-decoration: none;
  transform: translateY(-200%);
  border-bottom: 2px solid var(--nv-gold);
  box-shadow: 0 12px 30px rgba(20, 28, 44, 0.16);
}

.nv-skip-link:focus-visible {
  transform: none;
}

/* The skip-link target takes focus without drawing a ring around the whole page. */
#main:focus {
  outline: none;
}

/* Headings: the first letter of every word is a capital ("One Range, Many Horizons").
   :where() keeps this at zero specificity, so headings styled in all caps stay in all caps. */
:where(h1, h2, h3, h4, h5, h6) {
  text-transform: capitalize;
}

/* Webflow heroes get their all caps from a wrapper; let those headings keep inheriting it. */
.text-style-allcaps :where(h1, h2, h3, h4, h5, h6) {
  text-transform: inherit;
}

/* Tile sizes keep their lower-case unit ("600 × 600 mm", not "Mm"). */
.nv-packing__format-head :where(h3) {
  text-transform: none;
}
