/* Trailhead Productions — shared styles */
:root {
  --brown: #7E3200;
  --brown-deep: #4A1D00;
  --orange: #F05A2A;
  --orange-strong: #C4421A;
  --bg: #FBF7F2;
  --bg-alt: #F3EAE0;
  --surface: #FFFFFF;
  --ink: #2A1608;
  --ink-soft: #6B5546;
  --line: #E6D9CB;
  --focus: #F05A2A;
  --shadow: 0 1px 2px rgba(74,29,0,.06), 0 8px 24px rgba(74,29,0,.08);
  --radius: 14px;
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brown: #E08A55; --brown-deep: #F2B48A; --orange: #FF7347; --orange-strong: #E25428;
    --bg: #17100B; --bg-alt: #201710; --surface: #261B13; --ink: #F6EEE4; --ink-soft: #C2AE9D;
    --line: #3A2B20; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brown: #E08A55; --brown-deep: #F2B48A; --orange: #FF7347; --orange-strong: #E25428;
  --bg: #17100B; --bg-alt: #201710; --surface: #261B13; --ink: #F6EEE4; --ink-soft: #C2AE9D;
  --line: #3A2B20; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Eyebrow + signature orange bar (from the logo) */
.eyebrow { font: 700 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--orange-strong); }
.bar { display: block; width: 56px; height: 8px; background: var(--orange); margin: 18px 0 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  font: 700 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange-strong); color: #fff; }
.btn-primary:hover { background: var(--brown); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand img { height: 46px; width: auto; }
.brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand .logo-light-bg { display: none; } :root:not([data-theme="light"]) .brand .logo-dark { display: block; } }
:root[data-theme="dark"] .brand .logo-light-bg { display: none; } :root[data-theme="dark"] .brand .logo-dark { display: block; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font: 600 14px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft); }
.nav a:not(.btn):hover { color: var(--orange-strong); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 13px; }
@media (max-width: 820px) { .nav a:not(.btn) { display: none; } .brand img { height: 34px; } }

/* Footer */
.site-footer { background: #2A1608; color: #E9DCCD; padding: 56px 0 32px; }
.site-footer .wrap { display: grid; gap: 32px; grid-template-columns: 1.3fr 1fr 1fr; }
.site-footer img { height: 48px; width: auto; margin-bottom: 16px; }
.site-footer h4 { font: 700 12px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: #FF8A60; margin: 6px 0 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p, .site-footer li { color: #CDBBA9; font-size: 15px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid #4A3424; padding-top: 20px; font-size: 13px; color: #9C8775; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }
