/* Punch Marker — shop bench, paper tags, stitched leather, brushed steel. */

@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --plank: #262422;          /* bark grey, a notch under the header band */
  --leather: #3a3632;
  --stitch: #a39d93;
  --paper: #efeeea;
  --paper-edge: #d9d6cf;
  --ink: #1b1a18;
  --graphite: #57534d;
  --steel: #a7a49e;
  --steel-hi: #eef0f2;
  --steel-mid: #b8bcc1;
  --steel-lo: #84888e;
  --accent: #6b6f75;          /* steel grey for small accents on paper */

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --measure: 62ch;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 400 1.0625rem/1.6 var(--body);
  color: var(--paper);
  background-color: var(--plank);
  /* fine, even grain so the grey reads as a surface, not paint */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}
main { flex: 1; width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 1.25rem 4rem; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--steel-mid); outline-offset: 3px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 9; background: var(--paper); color: var(--ink); padding: .5rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------------- paper tags (main nav) ---------------- */

.tags ul {
  list-style: none;
  margin: 0;
  padding: 2.75rem 1rem 0;
  display: flex;
  justify-content: center;
  gap: clamp(.75rem, 3vw, 2.25rem);
}
.tags li { position: relative; }
/* string from the top edge to the punched hole */
.tags li::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% - 13px);
  width: 1px;
  height: 3rem;
  background: linear-gradient(#0000, #8c857a 40%);
}
.tag {
  --tilt: -2deg;
  position: relative;
  display: block;
  min-width: 6.5rem;
  padding: 1.35rem 1.25rem .55rem;
  text-align: center;
  text-decoration: none;
  font: 700 1.3rem/1 var(--display);
  letter-spacing: .02em;
  color: var(--ink);
  background: var(--paper);
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%, 0 14px);
  transform: rotate(var(--tilt));
  transform-origin: 50% 8px;
  transition: transform .25s ease;
  box-shadow: inset 0 -3px 0 var(--paper-edge);
}
.tags li:nth-child(2n) .tag { --tilt: 1.5deg; }
.tags li:nth-child(3n) .tag { --tilt: -.5deg; }
/* the punched hole */
.tag::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: var(--plank);
  box-shadow: inset 0 1px 2px #000, 0 0 0 2px #d6d2c9;
}
.tag:hover { --tilt: 0deg; }
.tag.is-current { background: var(--ink); color: var(--paper); box-shadow: inset 0 -3px 0 #000; }
.tag.is-current::before { box-shadow: inset 0 1px 2px #000, 0 0 0 2px #4a4640; }

/* ---------------- stitched leather band ---------------- */

.band {
  position: relative;
  margin-top: 1.75rem;
  background:
    radial-gradient(120% 140% at 50% 0%, #46423d 0%, var(--leather) 55%, #2d2a27 100%);
  box-shadow: 0 8px 18px -8px #000, 0 -1px 0 #55504a inset;
}
.band::before, .band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  border-top: 2px dashed var(--stitch);
  opacity: .7;
}
.band::before { top: 7px; }
.band::after { bottom: 7px; }
.band-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.35rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: block; line-height: 0; }
.brand img { height: clamp(52px, 9vw, 78px); width: auto; }
.social { list-style: none; display: flex; gap: .4rem; margin: 0; padding: 0; }
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--paper);
  background: #2a2724;
  box-shadow: inset 0 1px 2px #000, 0 1px 0 #57524b;
}
.social a:hover { color: var(--ink); background: var(--steel-mid); }

/* ---------------- shared paper sheet ---------------- */

.sheet {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 0 #fff inset, 0 18px 40px -18px #000, 0 2px 0 var(--paper-edge);
}

/* brushed steel plate button */
.shop-button {
  display: inline-block;
  padding: .85rem 2.25rem .95rem;
  font: 900 clamp(1.6rem, 4.5vw, 2.25rem)/1 var(--display);
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, rgba(0,0,0,.035) 1px 3px),
    linear-gradient(170deg, var(--steel-hi), var(--steel-mid) 48%, var(--steel-lo));
  border-radius: 3px;
  box-shadow: 0 1px 0 #fff inset, 0 -2px 0 #5f6268 inset, 0 10px 20px -10px #000;
  position: relative;
}
/* two screw heads, because it's a plate */
.shop-button::before, .shop-button::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fbfcfd, #5f6268 70%);
}
.shop-button::before { left: .8rem; }
.shop-button::after { right: .8rem; }
.shop-button:hover { filter: brightness(1.06); }
.shop-button.small { font-size: 1.5rem; padding: .7rem 2rem .8rem; }

/* ---------------- home ---------------- */

.home { text-align: center; padding-top: 2.5rem; }

/* shop button + closed notice */
.shop-row { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.shop-status {
  width: fit-content;
  max-width: min(100%, 34rem);
  padding: .7rem 1.4rem .75rem;
  text-align: center;
  color: var(--paper);
  background: #1c1b19;
  border-left: 4px solid #9a3b2c;
  border-radius: 2px;
  box-shadow: inset 0 1px 0 #3a3632, 0 8px 18px -10px #000;
  font-size: .95rem;
  line-height: 1.4;
}
.shop-status p { margin: 0; }
.status-main { font-weight: 700; }
.status-date { margin-top: .35rem !important; }
.status-date strong { font: 900 1.2rem/1 var(--display); letter-spacing: .02em; }
.status-note { margin-top: .2rem !important; font-size: .82rem; color: var(--steel); }

.logo-sheet {
  max-width: 860px;
  margin: 2.25rem auto 0;
  padding: clamp(1.5rem, 6vw, 4.5rem) clamp(1.25rem, 7vw, 5.5rem);
  outline: 14px solid rgba(239, 238, 234, .22);
}
.logo-sheet img { display: block; width: 100%; }
.logo-sheet.has-photo { padding: clamp(.6rem, 1.6vw, 1rem); }
.tagline {
  margin: 3.5rem 0 0;
  font: 900 clamp(2.6rem, 9vw, 5.5rem)/.92 var(--display);
  letter-spacing: -.005em;
  color: var(--paper);
  text-shadow: 0 3px 0 #000;
  text-wrap: balance;
}
.home-text { max-width: 52ch; margin: 1.5rem auto 0; color: #d9d6cf; font-size: 1.125rem; }
.home-text p { margin: 0 0 1em; }

/* ---------------- inner pages ---------------- */

.page-title {
  margin: 0 0 1.5rem;
  font: 900 clamp(2.75rem, 8vw, 4.25rem)/.9 var(--display);
  letter-spacing: -.005em;
}
.page-title.on-wood { color: var(--paper); text-shadow: 0 3px 0 #000; }
.page-sheet {
  max-width: 820px;
  margin: 3rem auto 0;
  padding: clamp(1.5rem, 5vw, 3.25rem);
}
.empty { color: var(--graphite); }

/* FAQ */
.faq details { border-top: 2px dashed #c4bfb6; }
.faq details:last-child { border-bottom: 2px dashed #c4bfb6; }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.1rem 0;
  font: 700 1.5rem/1.15 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font: 900 1.75rem/1 var(--display);
  color: var(--accent);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover span { color: #000; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.answer { max-width: var(--measure); padding: 0 0 1.25rem; color: #2c2a27; }
.answer p { margin: 0 0 .9em; }
.answer a, .use-text p a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* FAQ categories */
.faq-jump ul { list-style: none; margin: -.25rem 0 2.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.faq-jump a {
  display: inline-block;
  padding: .4rem .85rem .45rem;
  font: 700 1.05rem/1 var(--display);
  color: var(--ink);
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 2px;
}
.faq-jump a:hover { background: var(--ink); color: var(--paper); }
.faq-group { scroll-margin-top: 1.5rem; }
.faq-group + .faq-group { margin-top: 2.75rem; }
.faq-cat { margin: 0 0 .35rem; font: 900 clamp(1.75rem, 4vw, 2.25rem)/1 var(--display); }

/* Uses */
.uses-head { max-width: 820px; margin: 3rem auto 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; }
.uses-head .page-title { margin: 0; }
.count { margin: 0; color: var(--steel); }
.uses { list-style: none; margin: 1.75rem auto 0; padding: 0; max-width: 820px; display: grid; gap: 2rem; }
.use { display: grid; overflow: hidden; scroll-margin-top: 1rem; }
.use:target { outline: 4px solid var(--steel-mid); }
.use-photo { margin: 0; background: #d9d6cf; }
.use-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.use-text { padding: 1.5rem 1.75rem 1.75rem; }
.use-no {
  margin: 0 0 .25rem;
  font: 900 1.15rem/1 var(--display);
  color: var(--accent);
}
.use h2 { margin: 0 0 .6rem; font: 700 clamp(1.6rem, 4vw, 2.1rem)/1.05 var(--display); }
.use h2 a { text-decoration: none; }
.use h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.use-text p { margin: 0 0 .9em; max-width: var(--measure); color: #2c2a27; }
.use-text > :last-child { margin-bottom: 0; }
@media (min-width: 760px) {
  .use.has-photo { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .use.has-photo .use-photo { min-height: 100%; max-height: 520px; }
  .use-text { padding: 2rem 2.25rem 2.25rem; }
}
.uses-foot { text-align: center; margin: 3.5rem 0 0; }

/* ---------------- footer ---------------- */

.site-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.25rem;
  font-size: .9rem;
  color: var(--steel);
  border-top: 2px dashed #45413c;
}
.site-foot p { margin: 0; }

/* ---------------- small screens ---------------- */

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .tags ul { padding-top: 2.25rem; gap: .5rem; }
  .tag { min-width: 0; padding: 1.2rem .8rem .5rem; font-size: 1.15rem; }
  .band-inner { padding: 1.1rem 1rem; }
  .social { gap: .25rem; }
  .social a { width: 40px; height: 40px; }
  .logo-sheet { outline-width: 8px; }
  .home { padding-top: 2rem; }
  .use-text { padding: 1.25rem 1.25rem 1.5rem; }
}
@media (max-width: 380px) {
  .tags li:nth-child(n) .tag { --tilt: 0deg; }
  .tag { padding-inline: .55rem; font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
