/* Fire & Seed: calm, spare, warm greige paper. One accent: the silver seam. Never gold. */
/* Fonts are self-hosted (no third-party requests). All SIL Open Font License. */
@font-face { font-family: 'Alfa Slab One'; src: url(/assets/fonts/alfa-slab-one-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url(/assets/fonts/fraunces-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url(/assets/fonts/fraunces-latin-500-italic.woff2) format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url(/assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson Hyperlegible'; src: url(/assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }
:root {
  --paper: #ece7df;      /* warm greige, between warm paper and cool stone */
  --card: #f5f2ec;
  --ink: #22201d;
  --muted: #5e5850;
  --line: #d3ccc0;
  --sage: #6f7d68;       /* secondary, sparing */
  --silver: #9da3a6;     /* gintsugi seam */
  --flame: #9a2c1f;      /* from the mark; used for the one action per page */
  --f-head: 'Fraunces', Georgia, serif;
  --f-body: 'Atkinson Hyperlegible', system-ui, sans-serif;
  --f-mark: 'Alfa Slab One', Georgia, serif;
  --wide: 1040px;
  --read: 640px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.65 var(--f-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--card); padding: 8px 12px; z-index: 5; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2 { font-family: var(--f-head); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(32px, 5vw, 46px); margin: 0 0 18px; }
h2 { font-size: clamp(24px, 3.2vw, 30px); margin: 0 0 14px; }
p { margin: 0 0 14px; max-width: var(--read); }

/* header */
.top { max-width: var(--wide); margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand { display: block; width: 210px; }
.brand svg { width: 100%; height: auto; display: block; }
.top nav { display: flex; gap: 26px; font-size: 17px; }
.top nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.top nav a:hover, .top nav a[aria-current="page"] { border-bottom-color: var(--silver); }

main { max-width: var(--wide); margin: 0 auto; padding: 0 24px; }

/* the silver seam */
.seam { display: block; width: 160px; height: 12px; margin: 0 0 22px; }
.seam path { fill: none; stroke: var(--silver); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* home */
.hero { min-height: 62vh; display: grid; place-content: center; justify-items: center; text-align: center; padding: 40px 0 56px; }
.hero-mark { width: min(520px, 86vw); }
.hero-mark svg { width: 100%; height: auto; display: block; }
.motto { font-family: var(--f-head); font-style: italic; font-weight: 500; font-size: clamp(21px, 2.6vw, 26px); color: var(--muted); margin: 30px auto 0; }

.band { padding: 44px 0; max-width: 760px; }
.band.first { padding-top: 48px; min-height: 50vh; }
.band.end { padding-bottom: 72px; }

.shelf { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.shelf img { border-radius: 50%; }
.shelf-text { display: grid; gap: 8px; }
.shelf-title { font-family: var(--f-head); font-weight: 600; font-size: 26px; }
.more { color: var(--flame); text-decoration: underline; text-underline-offset: 3px; }
.shelf:hover .more { text-decoration-thickness: 2px; }

/* the pointer page */
.product-head { padding: 36px 0 30px; max-width: 760px; }
.eyebrow { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); margin-bottom: 10px; }
.lede { font-size: 21px; }
.button { display: inline-block; background: var(--flame); color: #fff; text-decoration: none; padding: 13px 24px; border-radius: 999px; font-weight: 700; margin-top: 8px; }
.button:hover { background: #7f2318; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 18px 0 26px; }
.photos img { border-radius: 50%; }

.kits { list-style: none; padding: 0; margin: 0 0 12px; border-top: 1px solid var(--line); }
.kits li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.kit-name { font-weight: 700; }
.kit-woods { color: var(--muted); grid-column: 1; }
.kit-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--f-head); font-size: 26px; font-weight: 600; }
.note { color: var(--muted); font-size: 16px; }
.plain { padding-left: 20px; margin: 0 0 12px; }
.plain li { margin: 4px 0; }
.steps { padding-left: 24px; margin: 0; }
.steps li { margin: 8px 0; padding-left: 4px; }

.maker-row { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: center; }
.maker-row img { border-radius: 12px; }

details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 14px 36px 14px 0; font-weight: 700; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 6px; top: 8px; font: 400 28px/1 var(--f-head); color: var(--muted); }
details[open] summary::after { content: '\2212'; }
details p { padding: 0 0 12px; }

/* footer */
.foot { max-width: var(--wide); margin: 40px auto 0; padding: 34px 24px 48px; text-align: center; color: var(--muted); font-size: 16px; }
.foot .seam { margin: 0 auto 22px; }
.foot p { margin: 6px auto; }
.small { font-size: 14px; }

/* reveal one band at a time, gently, only when motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .9s ease-out both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 700px) {
  body { font-size: 17px; }
  .top { padding: 16px; }
  .brand { width: 170px; }
  main { padding: 0 16px; }
  .shelf { grid-template-columns: 1fr; justify-items: start; }
  .shelf img { width: 180px; }
  .photos { grid-template-columns: 1fr 1fr; gap: 16px; }
  .photos img:last-child { grid-column: 1 / -1; width: 70%; justify-self: center; }
  .maker-row { grid-template-columns: 1fr; }
  .maker-row img { width: 200px; }
  .hero { min-height: 52vh; }
}
