/* Official Fox & Turtle brand kit (supplied 2026-10-20), the site default since 2026-10-20.
   Every page carries html.palette-official; ?palette=current shows the previous kit for the visit (and
   ?palette=official turns it back). Every rule is scoped to
   html.palette-official, so removing that class from the pages restores the previous kit in full.

   Navy #010C39 (primary): text, the dark fields (footer, drawer, bar), dietary badges.
   Olive #2A3B19 (supporting): no longer used; the owner did not want green bands (2026-11-20), they are navy now.
   Warm Ivory #ECE7E1 (background): the page ground.
   Copper #B88250 (accent): the main button fill, the crest, laurel marks and rules. Copper is 2.7:1 on ivory,
   so small copper text on light grounds uses copper deep #7D5028 (5.0:1 or better), like gold deep today.
   Tints are mixes of the four (surface = ivory toward white, panels = ivory toward olive, soft text = navy toward ivory). */

html.palette-official {
  --paper: #ece7e1;
  --menu: #dedbd3;
  --ink: #010c39;
  --ink-soft: #3e4565;
  --slate: #010c39;
  --slate-2: #1d264d;
  --gold: #b88250;
  --gold-deep: #7d5028;
  --green: #2a3b19;
  --navy: #010c39;
  --surface: #f5f2ee;
  --line: rgb(1 12 57 / 0.16);
  --line-strong: rgb(1 12 57 / 0.42);
  --shadow: 1 12 57;
}
@media (prefers-color-scheme: dark) {
  html.palette-official:not([data-theme="light"]) {
    --bg: #010c39; --bg-2: #0f1943; --surface: var(--slate-2);
    --fg: #ece7e1; --fg-soft: #aab0cc;
    --line: rgb(236 231 225 / 0.14); --line-strong: rgb(236 231 225 / 0.38);
    --mark: var(--gold); --shadow: 0 0 0;
  }
}
html.palette-official[data-theme="dark"] {
  --bg: #010c39; --bg-2: #0f1943; --surface: var(--slate-2);
  --fg: #ece7e1; --fg-soft: #aab0cc;
  --line: rgb(236 231 225 / 0.14); --line-strong: rgb(236 231 225 / 0.38);
  --mark: var(--gold); --shadow: 0 0 0;
}
.palette-official .slate {
  --fg: #ece7e1; --fg-soft: #aab0cc;
  --line: rgb(236 231 225 / 0.14); --line-strong: rgb(236 231 225 / 0.4);
}
/* The secondary dark bands (menus, drinks, enquiry, find-us) are navy like the footer, not olive:
   the owner did not want the green (2026-11-20). A hairline marks where a band meets the footer. */
.palette-official .band.slate, .palette-official .enquire.slate, .palette-official .find.slate { --mark: #c9945f; }
.palette-official :is(.band, .enquire, .find).slate + .footer, .palette-official main:has(> :is(.band, .enquire, .find).slate:last-child) + .footer { border-top: 1px solid rgb(236 231 225 / 0.14); }

/* Logo and crest, re-coloured from the client's own masks */
.palette-official .logo-banner { background-image: url("../img/brand/official/banner-navy-600.webp"); background-image: image-set(url("../img/brand/official/banner-navy-600.webp") 1x, url("../img/brand/official/banner-navy-1200.webp") 2x); }
.palette-official[data-theme="dark"] .logo-banner, .palette-official .slate .logo-banner, .palette-official .hero .logo-banner { background-image: url("../img/brand/official/banner-ivory-600.webp"); background-image: image-set(url("../img/brand/official/banner-ivory-600.webp") 1x, url("../img/brand/official/banner-ivory-1200.webp") 2x); }
@media (prefers-color-scheme: dark) { .palette-official:not([data-theme="light"]) .logo-banner { background-image: url("../img/brand/official/banner-ivory-600.webp"); background-image: image-set(url("../img/brand/official/banner-ivory-600.webp") 1x, url("../img/brand/official/banner-ivory-1200.webp") 2x); } }
.palette-official .crest { background-image: url("../img/brand/official/crest-copper.webp"); }

/* The few fixed colours outside the tokens: copper metal on the main button, copper glows, navy photo scrims */
.palette-official .btn--gold { box-shadow: inset 0 1px 0 rgb(255 236 214 / 0.34), inset 0 -1px 0 rgb(84 48 18 / 0.24); }
.palette-official .btn--gold:focus-visible { --b-bg: color-mix(in srgb, var(--gold) 86%, #ffecd6); }
@media (hover: hover) { .palette-official .btn--gold:hover { --b-bg: color-mix(in srgb, var(--gold) 86%, #ffecd6); } }
.palette-official .slate .btn--gold, .palette-official[data-theme="dark"] .btn--gold { --b-frame: #ece7e1; }
.palette-official .status.is-open .status__lamp { box-shadow: 0 0 0 4px rgb(184 130 80 / 0.24); }
.palette-official .field input:focus, .palette-official .field select:focus, .palette-official .field textarea:focus { box-shadow: 0 0 0 3px rgb(184 130 80 / 0.32); }
.palette-official ::selection { background: var(--gold); color: var(--ink); }
.palette-official .hero { color: #ece7e1; }
.palette-official .hero__title, .palette-official .doors__text .h2, .palette-official .bento__cell figcaption { color: #f3efe9; }
.palette-official .hero__media::after { background: linear-gradient(0deg, rgb(1 12 57 / 0.88) 0%, rgb(1 12 57 / 0.48) 34%, transparent 62%), linear-gradient(90deg, rgb(1 12 57 / 0.6) 0%, transparent 56%); }
.palette-official .hero__logo { filter: drop-shadow(0 2px 14px rgb(1 12 57 / 0.5)); }
.palette-official .doors__room::after { background: linear-gradient(90deg, rgb(1 12 57 / 0.88) 0%, rgb(1 12 57 / 0.58) 38%, rgb(1 12 57 / 0.12) 72%); }
@media (max-width: 900px) { .palette-official .doors__room::after { background: linear-gradient(0deg, rgb(1 12 57 / 0.92) 0%, rgb(1 12 57 / 0.6) 55%, rgb(1 12 57 / 0.2) 100%); } }
.palette-official .bento__cell::after { background: linear-gradient(0deg, rgb(1 12 57 / 0.8), transparent); }
.palette-official .notice::backdrop { background: rgb(1 12 57 / 0.66); }

/* ---------- Official type: Fraunces for display and editorial headlines, Gordita for everything else ----------
   Both self-hosted under the SIL Open Font License, except Gordita, a licensed face: Figtree, its closest open
   equivalent, stands in, and the stack names Gordita first so a licensed web font can be dropped in. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-latin-wght.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("../fonts/figtree-latin-wght.woff2") format("woff2"); }
html.palette-official { --f-sans: "Gordita", "Figtree", "Helvetica Neue", Arial, sans-serif; --f-display: "Fraunces", Georgia, "Times New Roman", serif; }
.palette-official .h1, .palette-official .h2, .palette-official .hero__title, .palette-official .notice__title {
  font-family: var(--f-display); font-weight: 600; text-transform: none; letter-spacing: -0.012em; line-height: 1.04;
  font-variation-settings: normal;
}
.palette-official .h1 { font-size: clamp(2.5rem, 5.6vw, 5.2rem); }
.palette-official .h2 { font-size: clamp(2rem, 3.9vw, 3.5rem); }
.palette-official .notice__title { font-size: clamp(1.7rem, 2.9vw, 2.4rem); }
@media (max-width: 520px) { .palette-official .h1 { font-size: 2.3rem; } .palette-official .hero__title { font-size: 2.25rem; } .palette-official .h2 { font-size: 1.9rem; } }

/* Copper section labels and accent lines */
.palette-official .label, .palette-official .card__title { color: var(--mark); }
.palette-official .rule { color: var(--gold); }

/* The bar follows the theme (owner, 2026-10-20): ivory with navy type and the navy banner by day, navy with
   ivory type at night. It takes the page tokens, so no bar-specific colours are needed. */

/* Form errors inside the navy enquiry band (lighter salmon, kept from the olive version) */
.palette-official .enquire.slate .field .error { color: #f5b8a9; }
.palette-official .enquire.slate .field.is-invalid input, .palette-official .enquire.slate .field.is-invalid textarea, .palette-official .enquire.slate .field.is-invalid select { border-color: #f5b8a9; }
/* Copy over photos: ivory rather than the old warm greys */
.palette-official .hero__lede, .palette-official .doors__text p, .palette-official .bento__line { color: #e6e2de; }
