/* aluminiumframes.co.uk skin (skins/AluminiumFrames/skin.php): the Aluminium Frames palette
   ("Midnight and amber"). The header, phone menu, footer and pages are the small sites' shared
   layout, skins/FloaterFrames/css/ffsite.css, loaded before this file; page content uses the main
   site's floaterframes.css. The token list is documented at the top of skins/Flex/css/floaterframes.css.
   Amber (#e0a052) is for marks and accents on the navy band (6.9:1); text, links and buttons use the
   bronze (#9a5b12), which keeps 4.8:1 on the page and 5.4:1 under white button text. */

/* Declared on body for anything outside .ff-page (modals, header, footer), and again on
   .ff-page / .ff-mini because those re-declare the base tokens for themselves. */
body.ff-site-aluminium,
.ff-site-aluminium .ff-page,
.ff-site-aluminium .ff-mini {
  --band: #16243a;
  --on-band: #f4efe6;
  --on-band-2: #b7c0cc;
  --on-band-3: #98a5b6;
  --band-line: #2e4160;
  --paper: #f6f2ea;
  --card: #ffffff;
  --cream: #ece6da;
  --stage: #e6e1d6;
  --stage-2: #dbd5c8;
  --stage-3: #f0ece3;
  --ink: #16243a;
  --ink-2: #4a5566;
  --ink-body: #2c3a50;
  --muted: #5a6576;
  --placeholder: #8a93a1;
  --line: #ddd5c6;
  --line-soft: #e6e0d4;
  --line-strong: #c6bdab;
  --line-dark: #7f8796;
  --line-dashed: #b0a995;
  --gold: #9a5b12;
  --gold-2: #e0a052;
  --action: #9a5b12;
  --action-hover: #7d490d;
  --on-action: #ffffff;
  --good: #2d6a4f;
  --good-ink: #24573f;
  --good-bg: #e3efe8;
  --warn: #8f5418;
  --warn-ink: #6e3f10;
  --warn-bg: #f7ead9;
  --bad: #a3252a;
  --bad-bg: #f6e6e6;
  --link-hover: #9a5b12;
  --row-hover: #fbf9f4;
  --ink-rgb: 22 36 58;
  --on-band-rgb: 244 239 230;
  --cream-rgb: 236 230 218;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* The main skin's own palette (skins/Flex/css/styles.css, :root --ef-*), used by the
   category title band, cookie banner, buttons, basket, checkout and account pages. */
body.ff-site-aluminium {
  --ef-ivory: #ece6da;
  --ef-lightivory: #fbf9f4;
  --ef-walnut: #16243a;
  --ef-oak: #4a5566;
  --ef-green: #9a5b12;
  --ef-brass: #e0a052;
  --ef-rust: #9a5b12;
  --ef-rust-light: #e0a052;
}

body.ff-site-aluminium { background: var(--paper); color: var(--ink); font-family: var(--body); }

/* Literal main-site colours in styles.css that the tokens above can't reach. */
.ff-site-aluminium .show-title { border-image: linear-gradient(to right, var(--ef-brass), #f0c48a, rgb(224 160 82 / .3)) 1; }
.ff-site-aluminium .cookie-banner .btn-success { background: var(--card); color: var(--ink); border-color: var(--card); }

/* Bootstrap's "primary" (navy on the main site: styles.css :root) as midnight, with bronze links:
   the older account pages and the checkout sign-in panel use bg-primary / text-primary. */
body.ff-site-aluminium {
  --bs-primary: #16243a;
  --bs-primary-rgb: 22, 36, 58;
  --bs-link-color: #9a5b12;
  --bs-link-color-rgb: 154, 91, 18;
  --bs-link-hover-color: #16243a;
}

/* Frame photos on a white ground (home page cards) */
.ff-site-aluminium .ffs-cards-white .ffs-cardpic { background: #ffffff; border-bottom: 1px solid var(--line); }
