/* Plus Jakarta Sans, served from this site (fonts/, SIL Open Font License), so no visitor's address goes to Google. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Shared by every page: the header, with its menu on phones, and the footer.
   Everything between them is styled in the page itself. Raise the ?v= on the link to this file
   in each page when it changes. */
:root {
  --bg: #FCFBF8; --card: #ffffff; --ink: #1D1B18; --muted: #574F45; --line: #E9E2D4;
  --blue: #855F12; --teal: #805C14;
  --brand: linear-gradient(135deg, #E9CC83 0%, #C9A253 48%, #A8802E 100%);
  --foot: #151311; --foot-ink: #F4EFE6; --foot-muted: #B9B0A2; --foot-line: rgba(255, 255, 255, .12);
}
/* Light is the default, whatever the phone or computer is set to: it reads best in a bright room.
   The button in the header switches to the dark palette; the choice is kept in localStorage
   and put on <html data-theme="dark"> by a line in each page's <head>, before anything is drawn. */
:root { color-scheme: light; }
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141210; --card: #221F1B; --ink: #F4EFE6; --muted: #B4AB9D; --line: #36312A;
  --blue: #E0BE6E; --teal: #D4AF61;
  --foot: #0C0B0A;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-bar { max-width: 1120px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; gap: 12px; }
.site-brand {
  display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: var(--ink);
  font-weight: 800; font-size: 20px; letter-spacing: -.02em;
}
/* The crest sits on a charcoal tile, the brand's own background, so it reads on the light header and the dark one. */
.site-brand picture {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: radial-gradient(85% 85% at 42% 36%, #3A3530 0%, #25221F 50%, #121110 100%);
}
.site-brand img { display: block; width: 27px; height: 30px; }
.site-links { display: flex; align-items: center; gap: 26px; margin-right: 14px; font-size: 15px; font-weight: 600; }
.site-links a { text-decoration: none; color: var(--muted); }
.site-links a:hover, .site-links a[aria-current] { color: var(--ink); }
.site-cta {
  display: inline-flex; align-items: center; justify-content: center; padding: 9px 18px; border-radius: 999px;
  background: var(--brand); color: #1D1B18; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 24px -12px rgba(138, 100, 24, .6);
  transition: filter .15s ease;
}

/* Light or dark: a sun or a moon, whichever the button switches to. */
.site-theme {
  flex: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0;
}
.site-theme:hover { border-color: var(--teal); }

.site-theme svg { display: block; }
.site-theme .site-sun, html[data-theme="dark"] .site-theme .site-moon { display: none; }
html[data-theme="dark"] .site-theme .site-sun { display: block; }

/* The menu on phones: three bars that open the same links, one to a line. */
.site-menu { display: none; }
.site-menu summary {
  list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); display: grid; place-items: center;
}
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary span, .site-menu summary span::before, .site-menu summary span::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .18s ease, opacity .18s ease;
}
.site-menu summary span { position: relative; }
.site-menu summary span::before, .site-menu summary span::after { content: ""; position: absolute; left: 0; }
.site-menu summary span::before { top: -6px; }
.site-menu summary span::after { top: 6px; }
.site-menu[open] summary span { background: transparent; }
.site-menu[open] summary span::before { transform: translateY(6px) rotate(45deg); }
.site-menu[open] summary span::after { transform: translateY(-6px) rotate(-45deg); }
.site-menu nav {
  position: absolute; left: 0; right: 0; top: 100%; padding: 8px 20px 22px; background: var(--bg);
  border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(29, 27, 24, .35);
  max-height: calc(100vh - 64px); overflow-y: auto;
}
.site-menu nav a {
  display: block; padding: 15px 2px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  font-size: 17px; font-weight: 700;
}
.site-menu nav a small { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--muted); }
.site-menu nav a.site-cta { margin-top: 18px; padding: 14px 18px; border: 0; color: #1D1B18; font-size: 16px; text-align: center; }
.site-cta:hover { filter: brightness(1.06); }

@media (max-width: 900px) {
  .site-links { display: none; }
  .site-menu { display: block; }
}
@media (max-width: 560px) {
  .site-bar { gap: 8px; }
  .site-bar > .site-cta { display: none; }  /* it is in the menu too, and first on every page */
}

/* Footer */
.site-footer { background: var(--foot); color: var(--foot-muted); font-size: 15px; line-height: 1.6; }
.site-foot {
  max-width: 1120px; margin: 0 auto; padding: 56px 20px 40px; display: grid; gap: 40px 32px;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr;
}
.site-footer .site-brand { color: var(--foot-ink); margin: 0 0 14px; }
/* The footer is dark, so it carries the full logo, crest and wordmark, with no tile. */
.site-footer .site-brand picture { width: auto; height: auto; border-radius: 0; background: none; display: block; }
.site-footer .site-brand img { width: 150px; height: auto; }
.site-footer p { margin: 0 0 10px; color: var(--foot-muted); font-size: 15px; max-width: 300px; }
.site-footer .site-foot-title {
  margin: 0 0 14px; color: var(--foot-ink); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.site-footer a { color: var(--foot-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-foot nav a, .site-foot-contact a { display: block; padding: 5px 0; }
.site-foot-contact a { color: var(--foot-ink); font-weight: 600; word-break: break-word; }
.site-foot-contact span { display: block; margin: 0 0 12px; font-size: 13px; }
.site-made { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.site-made i { width: 18px; height: 12px; border-radius: 2px; background: linear-gradient(#ff9933 33.3%, #fff 0 66.6%, #138808 0); }
.site-legal {
  max-width: 1120px; margin: 0 auto; padding: 20px 20px 28px; border-top: 1px solid var(--foot-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px;
}

@media (max-width: 900px) {
  .site-foot { grid-template-columns: 1fr 1fr; padding-top: 44px; }
  .site-foot-about, .site-foot-contact { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .site-menu summary span, .site-menu summary span::before, .site-menu summary span::after { transition: none; }
}

/* The footer's "Upcoming" products */
.site-footer .site-foot-next { margin-top: 22px; }
.site-soon {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; vertical-align: 1px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #1D1B18; background: linear-gradient(135deg, #E9CC83 0%, #C9A253 48%, #A8802E 100%);
}

/* Moving between pages fades instead of flashing (browsers that support it), and a link to a section stops
   below the sticky header rather than under it. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
.site-header { view-transition-name: site-header; }
section[id] { scroll-margin-top: 72px; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
