/* dusk-site — shared foundation styles (brief 00). Light theme only. No box shadows.
   Token NAMES are frozen (spec 8); values may be tuned. Slice files (home.css, checkout.css) load after this. */
:root {
  --c-twilight: #171B26;
  --c-sand: #F4F0E8;
  --c-oak: #C9A878;
  --c-amber: #F3B968;
  --c-ink: #1E1A16;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 6px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--c-sand);
  color: var(--c-ink);
  font: 400 16px/1.5 var(--font-body);
}
main { flex: 1 0 auto; padding-top: 24px; padding-bottom: 48px; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, .price { font-family: var(--font-display); font-weight: 400; }
h1 { font-size: 2rem; line-height: 1.15; margin: 0 0 8px; }
h2 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin: 0 0 8px; }
p { margin: 0 0 12px; }
.price { font-size: 1.5rem; margin: 0 0 16px; }
a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 2px; }
hr { border: 0; border-top: 1px solid var(--c-oak); margin: 24px 0; }
button, select { font: inherit; color: inherit; }
select {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--c-oak);
  border-radius: var(--radius);
  background: #fff;
}
label { font-weight: 600; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--c-ink);
  outline-offset: 2px;
}

/* Layout */
.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
  .grid-2 > .sticky { position: sticky; top: 72px; }
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--c-sand);
  border-bottom: 1px solid var(--c-oak);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}
/* Logo only, left (amended 2026-11-27: the header Buy link is gone). The <img> is 28 px tall; no underline. */
.logo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.logo img { height: 28px; width: auto; }

/* Footer */
.site-footer {
  background: var(--c-twilight);
  color: var(--c-sand);
  padding: 32px 0 40px;
  font-size: 0.9375rem;
}
.site-footer a { color: var(--c-sand); }
.site-footer nav { margin-bottom: 16px; }
.site-footer p { margin: 0 0 8px; }

/* Buttons */
.btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--c-ink);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.btn-primary { background: var(--c-amber); color: var(--c-ink); }
.btn-primary:hover { background: #EFAE52; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: default; }
@media (min-width: 900px) {
  .btn { display: inline-flex; width: auto; min-width: 220px; }
}

/* Fold-outs */
details.fold { border-top: 1px solid var(--c-oak); }
details.fold:last-of-type { border-bottom: 1px solid var(--c-oak); }
details.fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 0;
  list-style: none;
  font-weight: 600;
  cursor: pointer;
}
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after { content: "\25B8"; margin-left: 12px; font-size: 0.875rem; }
details.fold[open] > summary::after { content: "\25BE"; }
details.fold > :not(summary) { padding-bottom: 16px; }

/* Motion: only the orb moves (home.css). Reduced motion switches everything instantly. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
