/* The American Workshop: navy, warm off-white, slate, one muted brick-red accent. Subtle, plain, trustworthy. */
:root {
  --navy: #1f2a44;
  --navy-2: #2b3a5c;
  --paper: #f5f1e8;
  --card: #fffdf8;
  --slate: #5b6573;
  --ink: #1d2433;
  --brick: #9b3b3b;
  --line: #e2dccd;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--brick); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { background: var(--navy); color: var(--paper); border-bottom: 3px solid var(--brick); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; }
.brand:hover { color: var(--paper); }
.brand svg { width: 22px; height: 22px; flex: none; }
.brand span { font: 600 20px/1.1 var(--serif); letter-spacing: 0.02em; }
.brand small { display: block; font: 11px/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.75; }
nav a { color: var(--paper); text-decoration: none; margin-left: 18px; font-size: 15px; opacity: 0.9; }
nav a:hover { opacity: 1; color: var(--paper); text-decoration: underline; }

/* Type */
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(30px, 5vw, 46px); margin: 0 0 14px; }
h2 { font-size: 28px; margin: 40px 0 12px; }
h3 { font-size: 20px; margin: 0 0 6px; }
.lede { font-size: 20px; color: var(--slate); max-width: 640px; }
.rule { display: flex; align-items: center; gap: 12px; color: var(--brick); margin: 36px 0 8px; }
.rule::before, .rule::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.rule svg { width: 14px; height: 14px; }
.muted { color: var(--slate); }
.small { font-size: 14px; }

/* Hero */
.hero { padding: 56px 0 24px; }
.hero .stamp { display: inline-block; font: 12px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--brick); border: 1px solid var(--brick); padding: 6px 10px; margin-bottom: 18px; }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
.card img { border-radius: 4px; background: #fff; aspect-ratio: 1 / 1; object-fit: contain; width: 100%; margin-bottom: 14px; }
.card p { margin: 6px 0 0; }
.price { font: 600 15px var(--sans); color: var(--slate); }
.values .card h3::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; background: var(--brick); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* Buttons */
.btn { display: inline-block; background: var(--navy); color: var(--paper); text-decoration: none; padding: 11px 18px; border-radius: 4px; font-weight: 600; font-size: 15px; }
.btn:hover { background: var(--navy-2); color: var(--paper); }
.btn.soon { background: transparent; color: var(--slate); border: 1px dashed var(--slate); cursor: default; }

/* Product page */
.product { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; padding: 40px 0; }
.product .shot { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 16px; }
.facts { list-style: none; padding: 0; margin: 18px 0; }
.facts li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); position: relative; }
.facts li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 9px; height: 9px; background: var(--navy); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
table.spec { border-collapse: collapse; width: 100%; font-size: 15px; margin-top: 8px; }
table.spec td { border-bottom: 1px solid var(--line); padding: 8px 4px; vertical-align: top; }
table.spec td:first-child { color: var(--slate); width: 42%; }
.note { background: var(--card); border-left: 3px solid var(--brick); padding: 12px 16px; font-size: 15px; color: var(--slate); }

/* Articles */
article { max-width: 720px; padding: 40px 0; }
article h2 { font-size: 24px; }
article li { margin: 6px 0; }

/* Footer */
footer { margin-top: 64px; background: var(--navy); color: var(--paper); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
footer a { color: var(--paper); opacity: 0.85; margin-right: 16px; }
footer p { margin: 4px 0; opacity: 0.85; }

@media (max-width: 760px) {
  .product { grid-template-columns: 1fr; }
  nav a { margin-left: 0; margin-right: 16px; }
}
