:root {
  --cloth: #e8e6da;
  --cloth-2: #dcd9c8;
  --ink: #15251d;
  --ink-soft: #46544b;
  --copper: #a8642a;
  --line: rgba(21, 37, 29, .25);
  --text: "Charter", "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--cloth);
  background-image:
    repeating-linear-gradient(0deg, rgba(21,37,29,.035) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(21,37,29,.03) 0 1px, transparent 1px 4px);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--copper); }

.box { max-width: 980px; margin: 0 auto; padding: 0 26px; }
.cap {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* masthead */
.mast { padding: 34px 0 0; text-align: center; }
.mast .logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.mast .logo img { width: 42px; height: 42px; display: block; }
.mast .logo span { font-size: 30px; font-weight: 600; letter-spacing: .02em; }
.mast .logo em { color: var(--copper); font-weight: 400; }
.rules { margin: 26px 0 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 3px 0; }
.rules nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; }
.rules a { font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }

/* hero */
.top { padding: 74px 0 40px; text-align: center; }
.top h1 { font-size: clamp(38px, 6.2vw, 74px); line-height: 1.04; font-weight: 500; letter-spacing: -.02em; margin: 16px auto 22px; max-width: 14em; }
.top h1 i { color: var(--copper); }
.top p.lead { max-width: 36em; margin: 0 auto 34px; color: var(--ink-soft); }

.shelf {
  display: flex; align-items: flex-end; justify-content: center; gap: 6px;
  padding: 0 12px; margin-top: 30px; border-bottom: 10px solid var(--ink);
}
.spine {
  position: relative; width: clamp(34px, 7vw, 58px); height: var(--h);
  background: var(--c); color: #efe9d6;
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px 3px 0 0;
  box-shadow: inset -5px 0 0 rgba(0,0,0,.16), inset 2px 0 0 rgba(255,255,255,.07);
}
.spine::before, .spine::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: var(--copper); opacity: .9; }
.spine::before { top: 14px; }
.spine::after { bottom: 14px; }
.spine b {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
}
.spine.lean { transform: rotate(5deg); transform-origin: bottom left; margin-left: 10px; }

/* sections */
section { padding: 64px 0; }
.head { text-align: center; margin-bottom: 40px; }
.head h2 { margin: 8px 0 0; font-size: clamp(27px, 4vw, 40px); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.head h2 i { color: var(--copper); }

/* services list */
.svc { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; counter-reset: s; }
.svc li { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); counter-increment: s; }
.svc li:first-child { border-top: 1px solid var(--ink); }
.svc li::before { content: counter(s, upper-roman); font-style: italic; font-size: 26px; color: var(--copper); }
.svc h3 { margin: 0 0 2px; font-size: 21px; font-weight: 600; }
.svc p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.svc .pr { font-family: var(--mono); font-size: 14px; white-space: nowrap; }

/* swatches */
.cloths { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; max-width: 820px; margin: 0 auto; }
.cl { text-align: center; }
.cl .sw {
  aspect-ratio: 1; background-color: var(--c); border: 1px solid var(--ink);
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 2px, transparent 2px 5px);
  box-shadow: 4px 4px 0 rgba(21,37,29,.85);
  transition: transform .2s ease;
}
.cl:hover .sw { transform: translate(-2px, -2px); }
.cl span { display: block; margin-top: 12px; }
.fine { text-align: center; margin: 26px auto 0; max-width: 34em; font-size: 15px; font-style: italic; color: var(--ink-soft); }

/* recent */
.recent { max-width: 760px; margin: 0 auto; }
.recent p { margin: 0; padding: 16px 0; border-bottom: 1px dotted var(--line); display: flex; justify-content: space-between; gap: 20px; }
.recent p i { font-size: 19px; }
.recent p span { white-space: nowrap; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details:first-child { border-top: 1px solid var(--ink); }
summary { cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--copper); }
details[open] summary::after { content: "\2212"; }
details p { margin: 10px 0 0; color: var(--ink-soft); font-size: 16.5px; }

/* contact */
.find { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 820px; margin: 0 auto; }
.find h3 { margin: 0 0 10px; }
.find address { font-style: normal; }
.hrs { width: 100%; border-collapse: collapse; font-size: 16px; }
.hrs td { padding: 7px 0; border-bottom: 1px dotted var(--line); }
.hrs td:last-child { text-align: right; font-family: var(--mono); font-size: 13.5px; }

footer { border-top: 1px solid var(--ink); margin-top: 20px; padding: 26px 0 42px; }
footer .box { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .svc li { grid-template-columns: 44px 1fr; }
  .svc .pr { grid-column: 2; }
  .cloths { grid-template-columns: repeat(3, 1fr); }
  .find { grid-template-columns: 1fr; gap: 30px; }
  .recent p { flex-direction: column; gap: 2px; }
  .rules nav { gap: 20px; }
}
@media (max-width: 460px) {
  body { font-size: 17px; }
  .box { padding: 0 18px; }
  .shelf { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
