/* ============================================================
   tokens.css — Sons Of Favor Design System
   Design tokens, reset, base styles
   ============================================================ */

/* ROOT TOKENS */
:root {
  --black:      #090909;
  --deep:       #111113;
  --surface:    #18181b;
  --lift:       #232328;
  --border:     rgba(212,175,55,.16);
  --border-md:  rgba(212,175,55,.26);
  --border-hi:  rgba(212,175,55,.42);
  --gold:       #D4AF37;
  --gold-lt:    #e8c84a;
  --bronze:     #B8860B;
  --bronze-dk:  #7a5200;
  --cream:      #F5F0E8;
  --cream-dk:   #E8E0D0;
  --muted:      rgba(245,240,232,.45);
  --muted-lo:   rgba(245,240,232,.28);
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --ease:       cubic-bezier(.19,1,.22,1);
  --g:          1.25rem;
  --max:        1080px;
  --nav:        64px;
  --bot:        68px;
}
@media (min-width: 480px)  { :root { --g: 1.5rem; } }
@media (min-width: 640px)  { :root { --g: 2rem;   --nav: 72px; --bot: 0px; } }
@media (min-width: 1024px) { :root { --g: 3rem; } }

/* RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: var(--bot);
}
a  { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* PAGE SHELL */
.page-shell { animation: pageIn 0.55s cubic-bezier(.19,1,.22,1) forwards; }

/* SKIP LINK */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--black);
  padding: .5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 500;
  font-size: .85rem;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* VISUALLY HIDDEN */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* FOCUS VISIBLE */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
