@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 100%;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --page: #F2EEE5;
  --surface: #E6DFD2;
  --spot: #FCFAF4;
  --fg: #1C1A16;
  --fg2: #585246;
  --line: rgba(28, 26, 22, 0.14);
  --line2: rgba(28, 26, 22, 0.28);
  --accent: #8A6A3F;
  --accent-text: #6B4F2A;
  --on-fg: #F2EEE5;
  --shadow: rgba(70, 52, 22, 0.22);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0F0E0C;
    --surface: #1A1815;
    --spot: #2C2721;
    --fg: #F0EAE0;
    --fg2: #ABA295;
    --line: rgba(240, 234, 224, 0.12);
    --line2: rgba(240, 234, 224, 0.24);
    --accent: #C4A77D;
    --accent-text: #C4A77D;
    --on-fg: #0F0E0C;
    --shadow: rgba(0, 0, 0, 0.6);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--fg);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 480;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-text); text-underline-offset: 0.18em; }
a:hover { color: var(--fg); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; font-stretch: 68%; font-weight: 850; line-height: 1; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 9vw, 4.25rem); line-height: 0.94; }
h2 { font-size: clamp(1.9rem, 6vw, 2.75rem); }
h3 { font-size: 1.3rem; font-stretch: 76%; font-weight: 800; line-height: 1.1; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 70rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 46rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--fg); color: var(--on-fg); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* header and footer */
header.site { border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 0.25rem 0.75rem; min-height: 3.75rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; margin: 0; color: var(--fg); text-decoration: none; font-stretch: 68%; font-weight: 850; font-size: 1.45rem; line-height: 1; }
.brand img { border-radius: 22%; }
header.site nav ul { display: flex; gap: 0.25rem; }
header.site nav a { display: block; padding: 0.7rem 0.45rem; color: var(--fg); text-decoration: none; font-weight: 650; font-size: 0.9rem; }
header.site nav a:hover, header.site nav a[aria-current] { color: var(--accent-text); text-decoration: underline; }

footer.site { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; color: var(--fg2); font-size: 0.95rem; }
footer.site nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 1rem 0 1.5rem; }
footer.site nav a { display: inline-block; padding: 0.35rem 0; }
footer.site .brand { margin-bottom: 0.6rem; }

.fine { color: var(--fg2); font-size: 0.875rem; }
.eyebrow { margin: 0 0 0.9rem; color: var(--accent-text); font-size: 0.8rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.lead { font-size: 1.2rem; line-height: 1.45; margin: 1.1rem 0 1.5rem; }
.sub { color: var(--fg2); font-size: 1.1rem; margin: 0.9rem 0 1.75rem; max-width: 44rem; }

/* buttons */
.stores { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.7rem 1.4rem; border-radius: 999px; background: var(--fg); color: var(--on-fg); font-weight: 750; text-decoration: none; text-align: center; }
.btn:hover { background: var(--accent-text); color: var(--on-fg); }
.more { font-weight: 750; }
.more::after { content: " \2192"; }

/* sections */
.band { padding: 3.5rem 0; }
.band.alt { background: var(--surface); }
.hero { padding: 2.5rem 0 3rem; }
.hero-grid { display: grid; gap: 2.5rem; }
.hero-art { display: flex; justify-content: center; gap: 1rem; }
.hero-art picture { flex: 0 1 250px; }
.hero-art img, .shots img, .feature figure img { border-radius: 1.5rem; box-shadow: 0 18px 40px -18px var(--shadow); border: 1px solid var(--line); }
.hero-art picture:last-child { margin-top: 2.5rem; }
.page-head { padding: 3rem 0 1rem; }

.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); margin-bottom: 1.75rem; }
.cards li { background: var(--spot); border: 1px solid var(--line); border-radius: 1.4rem; padding: 1.35rem 1.35rem 0.6rem; }
.cards h3 { margin-bottom: 0.6rem; }
.cards h3 a { color: var(--fg); text-decoration: none; }
.cards h3 a:hover { color: var(--accent-text); text-decoration: underline; }
.cards p { color: var(--fg2); font-size: 1rem; }

.shots { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; padding: 0.5rem 0.25rem 1.5rem; margin-top: 1.5rem; }
.shots li { flex: 0 0 260px; scroll-snap-align: start; }
figure { margin: 0; }
figcaption { margin-top: 0.8rem; font-weight: 700; font-size: 0.95rem; }

.ticks { margin: 0 0 1.5rem; }
.ticks li { position: relative; padding: 0.55rem 0 0.55rem 1.6rem; border-top: 1px solid var(--line); }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 1.15rem; width: 0.6rem; height: 0.6rem; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }

.plans { display: grid; gap: 1rem; }
.plan { background: var(--page); border: 1px solid var(--line); border-radius: 1.4rem; padding: 1.5rem; }
.plan h3 { margin-bottom: 0.7rem; }
.plan > p { color: var(--fg2); }
.plan ul { margin-bottom: 1rem; }
.plan li { padding: 0.5rem 0; border-top: 1px solid var(--line); }

.qa { padding: 1.4rem 0 0.4rem; border-top: 1px solid var(--line); }
h2 + .qa { margin-top: 1.75rem; }
.qa h3 { margin-bottom: 0.6rem; }
.qa p { color: var(--fg2); }

.cta { text-align: center; }
.cta .stores { justify-content: center; }
.cta .sub { margin-left: auto; margin-right: auto; }

.toc { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.toc a { display: inline-block; padding: 0.5rem 0.9rem; border: 1px solid var(--line2); border-radius: 999px; color: var(--fg); text-decoration: none; font-weight: 650; font-size: 0.95rem; }
.toc a:hover { border-color: var(--accent); color: var(--accent-text); }

.feature-grid { display: grid; gap: 2rem; align-items: center; }
.feature figure { max-width: 280px; margin: 0 auto; }
.feature figcaption { text-align: center; color: var(--fg2); }
section[id] { scroll-margin-top: 1rem; }

.prose h1 { font-size: clamp(2.25rem, 8vw, 3.5rem); margin-bottom: 0.9rem; }
.prose section { margin-top: 2.75rem; }
.prose h2 { font-size: clamp(1.6rem, 5vw, 2.1rem); margin-bottom: 1rem; }
.table-wrap { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--line); border-radius: 1rem; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.8rem 0.9rem; border-top: 1px solid var(--line); }
thead th { border-top: 0; background: var(--surface); font-weight: 750; }

@media (min-width: 800px) {
  .band { padding: 5rem 0; }
  .hero { padding: 4rem 0 5rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
  .plans { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 4rem; }
  header.site nav a { padding: 0.7rem 0.9rem; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
