/* Between drops (site_quiet(), html.quiet): the range wall. Real things on plywood: a pinned paper target, an aluminum
   rules sign, a clipboard, a yellow sign in pad, index cards, steel strips top and bottom, buttons you can press.
   Loaded after site.css only then. Other pages (contact, terms, privacy, My account) sit on the wall as paper sheets.
   When a drop is published the site turns to glass over brass instead (glass.css). */

html.quiet {
  --bg: #fffdf6;                 /* fields */
  --bg-2: #efe7d3;
  --panel: #fbf8ef;
  --line: rgba(29, 26, 22, .22);
  --text: #1d1a16;
  --muted: #4d463c;
  --brass: #1d1a16;
  --brass-hi: #1f3f86;           /* links: blue pen */
  --brass-ink: #fffdf6;
  --live: #e2622d;
  --ok: #2f6b2a;
  --err: #a3221c;
  --wall-ink: #3a2f20;           /* text straight on the plywood */
  --steel: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px), linear-gradient(180deg, #3b3f44, #23262a);
  --paper: #fbf8ef;
  --paper-shadow: 0 2px 2px rgba(0, 0, 0, .12), 0 22px 36px -14px rgba(50, 25, 0, .55);
  color-scheme: light;
}
/* plywood: grain, a couple of knots, a seam every sheet */
html.quiet body {
  background-color: #c49b6c;
  background-image:
    repeating-linear-gradient(91deg, rgba(110, 70, 30, .16) 0 2px, transparent 2px 11px),
    repeating-linear-gradient(89.4deg, rgba(90, 55, 20, .12) 0 5px, transparent 5px 37px),
    repeating-linear-gradient(89deg, rgba(255, 236, 200, .12) 0 1px, transparent 1px 23px),
    radial-gradient(14px 40px at 22% 38%, rgba(90, 55, 20, .35), transparent 70%),
    radial-gradient(10px 30px at 71% 64%, rgba(90, 55, 20, .3), transparent 70%),
    radial-gradient(120% 60% at 30% 20%, rgba(255, 230, 190, .25), transparent 60%),
    linear-gradient(90deg, transparent calc(100% - 2px), rgba(70, 40, 15, .25) 0);
  background-size: auto, auto, auto, 900px 900px, 900px 900px, auto, 610px 100%;
}
html.quiet :focus-visible { outline: 3px solid #e2622d; outline-offset: 3px; }
html.quiet [id] { scroll-margin-top: 84px; }
html.quiet .link:hover { color: #a3221c; }

/* steel strip across the top */
html.quiet .site-head { background: var(--steel); border-bottom: 3px solid #15171a; box-shadow: 0 6px 18px rgba(40, 20, 0, .35); -webkit-backdrop-filter: none; backdrop-filter: none; }
html.quiet .nav a { text-transform: none; letter-spacing: 0; font-size: .98rem; color: #d9d3c7; text-shadow: 0 -1px 0 #000; }
html.quiet .nav a:hover { color: #fff; }
html.quiet .nav a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 #e2622d; }
html.quiet .nav-menu summary { color: #e9e3d6; border-color: rgba(255, 255, 255, .25); }
html.quiet .nav-menu-list { background: var(--paper); box-shadow: 0 16px 40px rgba(40, 20, 0, .4); }
html.quiet .nav-menu-list a { text-transform: none; letter-spacing: 0; font-size: 1rem; color: var(--text); }
html.quiet .head-cta { flex: none; }
@media (max-width: 880px) { html.quiet .head-cta { margin-left: auto; } }
@media (max-width: 420px) { html.quiet .head-cta { padding-inline: .8rem; } }
html.quiet .announce { background: #f2c230; color: #1d1a16; border-bottom: 6px solid; border-image: repeating-linear-gradient(45deg, #1d1a16 0 12px, #f2c230 12px 24px) 6; }

/* buttons you can press: a molded orange top on a darker edge */
html.quiet .btn {
  border: 1px solid #8f3a12; border-radius: 10px; text-transform: none; letter-spacing: 0; font-weight: 700; color: #1a0d05;
  background: linear-gradient(180deg, #f08a52, #e2622d 55%, #c9501e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 5px 0 #8f3a12, 0 9px 14px rgba(40, 15, 0, .4);
  transition: transform .08s, box-shadow .08s;
}
html.quiet .btn:hover { background: linear-gradient(180deg, #f59a66, #e86d37 55%, #cf5824); border-color: #8f3a12; }
html.quiet .btn:active { transform: translateY(4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 0 #8f3a12, 0 3px 6px rgba(40, 15, 0, .4); }
html.quiet .btn-ghost { background: linear-gradient(180deg, #fffdf6, #ece4d0); border-color: #8a7a5c; color: var(--text); box-shadow: inset 0 1px 0 #fff, 0 4px 0 #8a7a5c, 0 7px 12px rgba(40, 15, 0, .3); }
html.quiet .btn-ghost:hover { background: linear-gradient(180deg, #fff, #f2ebd9); }
html.quiet .btn-ghost:active { box-shadow: inset 0 1px 0 #fff, 0 1px 0 #8a7a5c, 0 3px 6px rgba(40, 15, 0, .3); }

/* other pages: each section is a paper sheet on the wall */
html.quiet main > .section > .wrap { background: var(--paper); border-radius: 3px; box-shadow: var(--paper-shadow); padding: clamp(24px, 4vw, 48px); }
html.quiet main > .section-dark { background: none; border: 0; }
html.quiet main > .section + .section { padding-top: 0; }
html.quiet .order-card { background: #fffdf6; }
html.quiet input[type=text], html.quiet input[type=email], html.quiet input[type=tel], html.quiet input[type=number], html.quiet input[type=password],
html.quiet input:not([type]), html.quiet select, html.quiet textarea { background: #fffdf6; border-color: rgba(29, 26, 22, .45); }
html.quiet input:focus, html.quiet select:focus, html.quiet textarea:focus { border-color: var(--text); box-shadow: 0 0 0 3px rgba(226, 98, 45, .35); }
html.quiet .alert-ok { background: rgba(47, 107, 42, .1); }
html.quiet .alert-error { background: rgba(163, 34, 28, .08); }
html.quiet .consent { background: var(--paper); box-shadow: 0 16px 36px rgba(40, 20, 0, .45); }

/* steel strip along the bottom */
.quiet-foot { background: var(--steel); color: #cfc8ba; border-top: 3px solid #15171a; padding: 40px 0 24px; margin-top: clamp(40px, 6vw, 72px); }
.quiet-foot-row { display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center; }
.quiet-foot-mark { width: 56px; height: auto; }
.quiet-foot-legal { margin: 0 0 8px; }
.quiet-foot .foot-legal-links { flex-wrap: wrap; }
.quiet-foot .foot-legal-links a { color: #cfc8ba; }
.quiet-foot .foot-legal-links a:hover { color: #fff; }
.quiet-foot > .pew-credit { margin-top: 20px; }
html[data-app] .quiet-foot .brand { display: none; }
@media (max-width: 760px) { .quiet-foot-row { grid-template-columns: 1fr; } }

/* ---------- the landing page ---------- */
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 6vw, 80px) clamp(56px, 8vw, 104px); }
.lp-title { font: 900 clamp(4.2rem, 11vw, 10rem)/.88 var(--f-display); text-transform: uppercase; margin: 0; color: #16130f; text-wrap: balance;
  text-shadow: 0 0 2px rgba(22, 19, 15, .55), 0 0 18px rgba(22, 19, 15, .12); }
/* the line under the name: a kraft paper tag on the wall */
.lp-tag { position: relative; display: inline-block; max-width: 30ch; margin: 1.6rem 0 2.2rem; padding: 16px 20px 16px 36px; background: linear-gradient(180deg, #e7d3a6, #dcc48f);
  border-radius: 4px 14px 14px 4px; color: #3a2f20; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); box-shadow: 0 6px 12px rgba(60, 30, 0, .3); rotate: -1.2deg; }
.lp-tag::before { content: ""; position: absolute; left: 12px; top: 50%; width: 12px; height: 12px; translate: 0 -50%; border-radius: 50%; background: #b9905d;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, .45), 0 0 0 3px #f1e3c0; }
.lp-section { padding-block: clamp(56px, 8vw, 104px); }
.lp-h2 { font: 900 clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem)/.92 var(--f-display); text-transform: uppercase; margin: 0 0 1rem; max-width: 16ch; color: #16130f;
  text-shadow: 0 0 2px rgba(22, 19, 15, .4); text-wrap: balance; }
.lp-lead { color: var(--wall-ink); max-width: 52ch; margin: 0; }

/* the target: paper pinned to the wall, tap it and it takes a hole (assets/js/site.js) */
.lp-target-wrap { min-width: 0; }
.lp-target { position: relative; margin-inline: auto; width: min(100%, 470px); aspect-ratio: 5 / 6; background: #f1ead6; rotate: 2deg; cursor: crosshair; touch-action: manipulation;
  box-shadow: var(--paper-shadow); -webkit-user-select: none; user-select: none; }
.lp-target svg { width: 100%; height: 100%; display: block; }
.lp-pin { position: absolute; width: 22px; height: 22px; border-radius: 50%; z-index: 2; background: radial-gradient(circle at 35% 30%, #ff8a80, #c62828 55%, #7f1414); box-shadow: 2px 5px 6px rgba(40, 10, 0, .5); }
.lp-pin-y { background: radial-gradient(circle at 35% 30%, #fff3a0, #e5b400 55%, #8a6a00); }
.lp-hole { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #9a7148 0 40%, #3b2a1a 46%, rgba(241, 234, 214, .9) 58%, transparent 64%); }
.lp-hint { font: 500 .85rem/1.4 var(--f-mono); color: var(--wall-ink); text-align: center; margin: 22px 0 0; }

/* range rules: an aluminum sign screwed to the wall */
.lp-sign { position: relative; border-radius: 12px; overflow: hidden; color: var(--text);
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .18) 0 1px, transparent 1px 3px), linear-gradient(160deg, #eceff1, #c3c8cc 55%, #aab0b5);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0, 0, 0, .2), 0 18px 34px -10px rgba(50, 25, 0, .55); }
.lp-screw { position: absolute; width: 16px; height: 16px; border-radius: 50%; z-index: 2; background: radial-gradient(circle at 35% 35%, #f7f7f7, #9da3a8 60%, #6b7176); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25), 0 1px 1px rgba(255, 255, 255, .6); }
.lp-screw::after { content: ""; position: absolute; left: 3px; right: 3px; top: 7px; height: 2px; background: #555b60; rotate: 35deg; }
.lp-sign-head { background: linear-gradient(180deg, #c8302a, #a3221c); color: #fff; padding: clamp(24px, 4vw, 36px) clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2); }
.lp-sign-head h2 { font: 900 clamp(2.8rem, 1.6rem + 4.6vw, 5.4rem)/.9 var(--f-display); text-transform: uppercase; letter-spacing: .02em; margin: 0; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.lp-sign-head p { margin: 0; color: #ffe1dd; max-width: 34ch; }
.lp-four { list-style: none; margin: 0; padding: 0; counter-reset: rule; display: grid; grid-template-columns: 1fr 1fr; }
.lp-four li { counter-increment: rule; position: relative; padding: clamp(22px, 3.4vw, 32px) clamp(24px, 4vw, 48px) clamp(22px, 3.4vw, 32px) calc(clamp(24px, 4vw, 48px) + 3.6rem);
  border-bottom: 2px solid rgba(29, 26, 22, .7); color: var(--muted); }
.lp-four li:nth-child(odd) { border-right: 2px solid rgba(29, 26, 22, .7); }
.lp-four li::before { content: counter(rule); position: absolute; left: clamp(24px, 4vw, 48px); top: clamp(16px, 3vw, 26px); font: 900 3.2rem/1 var(--f-display); color: #a3221c; }
.lp-four strong { display: block; color: var(--text); font: 800 clamp(1.3rem, 1.1rem + .8vw, 1.75rem)/1.06 var(--f-display); text-transform: uppercase; margin-bottom: .4rem; }
.lp-line { padding: clamp(22px, 3.4vw, 32px) clamp(24px, 4vw, 48px); display: grid; grid-template-columns: auto 1fr; gap: 1rem 2.4rem; }
.lp-line h3 { font: 800 1.6rem/1 var(--f-display); text-transform: uppercase; margin: 0; }
.lp-line ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 2rem; }
.lp-line li { position: relative; padding-left: 1.4rem; }
.lp-line li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; background: #a3221c; }
.lp-hazard { margin: 0; padding: 16px clamp(24px, 4vw, 48px); background: #f2c230; border-top: 10px solid; border-image: repeating-linear-gradient(45deg, #1d1a16 0 14px, #f2c230 14px 28px) 10; font-size: 1.05rem; }
.lp-hazard strong { font: 900 1.35rem/1 var(--f-display); text-transform: uppercase; margin-right: .4rem; }

/* the five moves: a range card on a clipboard, ticked in blue pen */
.lp-clipboard { position: relative; max-width: 940px; margin: clamp(36px, 5vw, 56px) auto 0; padding: 54px clamp(14px, 2.4vw, 26px) clamp(18px, 3vw, 28px); border-radius: 16px;
  background: linear-gradient(160deg, #7a5532, #5a3c22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 20px 36px -12px rgba(40, 20, 0, .6); }
.lp-clip { position: absolute; top: -18px; left: 50%; translate: -50% 0; width: 180px; height: 58px; border-radius: 10px 10px 16px 16px; z-index: 2;
  background: linear-gradient(180deg, #f4f4f4, #b9bec2 45%, #8b9196); box-shadow: inset 0 1px 0 #fff, 0 6px 10px rgba(0, 0, 0, .4); }
.lp-clip::after { content: ""; position: absolute; left: 50%; top: 14px; width: 60px; height: 14px; translate: -50% 0; border-radius: 99px; background: #5f656a; box-shadow: inset 0 2px 3px rgba(0, 0, 0, .6); }
.lp-card { background: var(--paper); border-radius: 3px; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.lp-card-head { display: flex; justify-content: space-between; gap: 1rem; padding: 14px 20px; border-bottom: 2px solid var(--text); font: 500 .85rem/1.3 var(--f-mono); }
.lp-row { display: grid; grid-template-columns: 60px 170px 1fr 60px; align-items: center; border-bottom: 1px solid #b9cbe0; }
.lp-row > * { padding: 14px 18px; margin: 0; }
.lp-n { font: 900 1.9rem/1 var(--f-display); color: #a3221c; text-align: center; border-right: 2px solid #e8a0a0; }
.lp-row h3 { font: 800 1.5rem/1 var(--f-display); text-transform: uppercase; }
.lp-row p { color: var(--muted); }
.lp-row label { display: grid; place-items: center; cursor: pointer; }
.lp-row input { appearance: none; -webkit-appearance: none; position: relative; width: 26px; height: 26px; border: 2px solid var(--text); border-radius: 3px; margin: 0; cursor: pointer; background: #fff; }
.lp-row input:checked::after { content: ""; position: absolute; left: 3px; top: -6px; width: 12px; height: 22px; border-right: 4px solid #1f4fa8; border-bottom: 4px solid #1f4fa8; rotate: 40deg; border-radius: 1px; }
.lp-card-foot { padding: 12px 20px; font: 500 .85rem/1.4 var(--f-mono); color: var(--muted); }

/* who: on a strip of painter's tape */
.lp-who { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.lp-who blockquote { margin: 0; padding: 22px 30px; background: rgba(238, 223, 180, .92); font: 900 clamp(2rem, 1.3rem + 2.6vw, 3.4rem)/1 var(--f-display); text-transform: uppercase; rotate: -1.5deg;
  clip-path: polygon(1% 4%, 3% 0, 97% 3%, 100% 0, 99% 50%, 100% 97%, 96% 100%, 4% 98%, 0 100%, 1% 52%); box-shadow: 0 4px 10px rgba(50, 25, 0, .25); }

/* sign the sheet and the message form: a yellow legal pad */
.lp-pad-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.lp-pad { position: relative; border-radius: 4px; padding: 64px clamp(20px, 3vw, 36px) 30px 64px; box-shadow: 0 20px 36px -12px rgba(50, 25, 0, .55);
  background: linear-gradient(90deg, transparent 50px, #e57373 50px 52px, transparent 52px), repeating-linear-gradient(transparent 0 33px, #9fb7d6 33px 34px), #fbef9e; background-position: 0 0, 0 30px, 0 0; }
.lp-pad::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30px; background: linear-gradient(180deg, #3a2a20, #1d140f); border-radius: 4px 4px 0 0; }
.lp-pad .alert { margin-bottom: 1rem; background: #fffdf6; }
.lp-form { display: grid; gap: 16px; }
.lp-field { display: grid; gap: 2px; font: 500 .8rem/1.3 var(--f-mono); color: #4a3f2c; }
html.quiet .lp-field input, html.quiet .lp-field textarea { width: 100%; min-height: 44px; padding: 6px 2px; border: 0; border-bottom: 2px solid var(--text); border-radius: 0; background: transparent;
  color: #1f3f86; font: 600 1.2rem/1.3 var(--f-body); box-shadow: none; }
html.quiet .lp-field textarea { min-height: 120px; resize: vertical; }
html.quiet .lp-field input:focus, html.quiet .lp-field textarea:focus { border-bottom-color: #e2622d; box-shadow: none; }
.lp-fine { color: #4a3f2c; font-size: .88rem; margin: 0; }

/* questions: index cards */
.lp-qc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.lp-faq details { position: relative; margin-bottom: 18px; background: repeating-linear-gradient(transparent 0 29px, #c9d8ea 29px 30px), #fffdf6; background-position: 0 50px;
  border-top: 3px solid #e57373; border-radius: 3px; box-shadow: 0 8px 16px -6px rgba(50, 25, 0, .45); }
.lp-faq details:nth-child(odd) { rotate: -.6deg; }
.lp-faq details:nth-child(even) { rotate: .5deg; }
.lp-faq summary { cursor: pointer; list-style: none; padding: 14px 3rem 14px 18px; position: relative; font-weight: 600; font-size: 1.08rem; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; font: 900 1.6rem/1 var(--f-display); color: #a3221c; }
.lp-faq details[open] summary::after { content: "\2212"; }
.lp-faq p { margin: 0; padding: 0 18px 16px; color: var(--muted); line-height: 30px; }

/* range reading: the latest blog posts, index cards tacked up in a row */
.lp-reads { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.lp-reads a { display: block; height: 100%; padding: 16px 18px 18px; background: #fffdf6; border-top: 3px solid #e57373; border-radius: 3px; color: var(--text); text-decoration: none;
  box-shadow: 0 8px 16px -6px rgba(50, 25, 0, .45); transition: translate .15s; }
.lp-reads li:nth-child(odd) a { rotate: -.6deg; }
.lp-reads li:nth-child(even) a { rotate: .5deg; }
.lp-reads a:hover { translate: 0 -3px; }
.lp-reads a:hover strong { color: #a3221c; }
.lp-reads strong { display: block; font: 800 1.3rem/1.05 var(--f-display); text-transform: uppercase; margin-bottom: 8px; }
.lp-reads span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; color: var(--muted); font-size: .95rem; line-height: 1.45; }

@media (max-width: 900px) {
  .lp-hero-grid, .lp-who, .lp-pad-wrap, .lp-qc-grid { grid-template-columns: 1fr; }
  .lp-target { width: min(92%, 420px); }
  .lp-four, .lp-line, .lp-line ul { grid-template-columns: 1fr; }
  .lp-four li:nth-child(odd) { border-right: 0; }
  .lp-row { grid-template-columns: 50px 1fr 50px; }
  .lp-n { grid-row: span 2; align-self: stretch; display: grid; place-items: center; }
  .lp-row h3 { padding-bottom: 0; }
  .lp-row p { grid-column: 2; padding-top: 4px; }
  .lp-row label { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 560px) { .lp-clip { width: 130px; } .lp-pad { padding-left: 62px; } }
@media (prefers-reduced-motion: reduce) { html.quiet .btn, .lp-reads a { transition: none; } }
