@font-face { font-family: 'Barlow Condensed'; src: url('./fonts/barlow-condensed-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('./fonts/instrument-sans.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('./fonts/ibm-plex-mono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
:root {
  color-scheme: light;
  --paper: #f5f2e9; --bg: var(--paper); --panel: #fdfbf5; --ink: #151715; --muted: #55574f; --line: #d9d4c7;
  --amber: #ffb547; --accent: var(--amber); --accent-ink: #151715; --good: #1f7a3f; --bad: #b3261e; --wood: #c89b62;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #9c5b00; outline-offset: 4px; }
.container { width: min(calc(100% - clamp(32px, 9vw, 128px)), 1280px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 8px; padding: 12px 20px; background: var(--amber); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.masthead { background: #151715; color: #f5f2e9; border-bottom: 1px solid #363731; }
.masthead .container { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; }
.masthead .brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; white-space: nowrap; font-size: clamp(16px, 2vw, 20px); line-height: 1.15; }
.brand-emphasis { color: var(--amber); }
.brand-domain { color: #b5b3a8; font-weight: 500; }
.brand-mark { display: grid; width: 27px; flex: 0 0 27px; gap: 3px; }
.brand-mark i { display: block; height: 4px; background: var(--amber); transform: skewX(-22deg); }
.brand-mark i:nth-child(2) { margin-inline-end: 4px; }
.brand-mark i:nth-child(3) { margin-inline-end: 8px; }
.site-nav { display: flex; align-items: center; gap: clamp(13px, 2.3vw, 30px); }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #d5d2c8; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--amber); }
.masthead :focus-visible { outline-color: var(--amber); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 46px; padding: 9px 17px; border: 1px solid transparent; font: 700 15px/1.25 var(--body); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.button-primary { background: var(--amber); color: var(--ink); }
.button-primary:hover { background: #ffd18c; }
.button-quiet { border-color: currentColor; color: inherit; background: transparent; }
.button-quiet:hover { background: #e9e2d3; color: var(--ink); border-color: #e9e2d3; }
.masthead .button { flex: none; }
.site-footer { padding-block: 34px; background: var(--ink); color: #d5d2c8; font-size: 15px; }
.site-footer .container { display: flex; gap: 16px 32px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
@media (max-width: 840px) {
  .masthead .container { min-height: auto; padding-block: 9px 3px; flex-wrap: wrap; gap: 0 12px; }
  .site-nav { order: 3; flex: 1 0 100%; flex-wrap: wrap; justify-content: flex-start; gap: 0 16px; }
  .masthead .button { min-height: 44px; padding-inline: 10px; font-size: 13px; }
}
@media (max-width: 370px) {
  .brand-domain { display: none; }
  .site-nav a { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--line); background: var(--panel); }
header.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.brand { font-weight: 800; text-decoration: none; letter-spacing: -.01em; }
.brand b { background: var(--accent); color: var(--accent-ink); padding: 0 5px; margin-right: 2px; }
nav.site { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; }
nav.site a { text-decoration: none; color: var(--muted); }
nav.site a:hover, nav.site a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }
main { padding: 32px 0 56px; }
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 12px; overflow-wrap: anywhere; }
h2 { font-size: 24px; margin: 44px 0 10px; letter-spacing: -.01em; }
h3 { font-size: 18px; margin: 24px 0 6px; }
.lede { font-size: 19px; color: var(--muted); max-width: 680px; }
.answer { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-left: 6px solid var(--accent); padding: 20px; margin: 24px 0; }
.answer .big { font: 800 clamp(40px, 8vw, 64px)/1 var(--mono); letter-spacing: -.03em; }
.answer svg { width: 100%; height: auto; }
@media (max-width: 680px) { .answer { grid-template-columns: 1fr; } }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: var(--panel); font-size: 15px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
td.num { font-family: var(--mono); white-space: nowrap; }
.note { font-size: 14px; color: var(--muted); }
.flag { background: color-mix(in srgb, var(--accent) 22%, var(--panel)); border: 1px solid var(--accent); padding: 12px 14px; font-size: 15px; }
sup a { text-decoration: none; font-size: 12px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.card { background: var(--panel); border: 1px solid var(--line); padding: 16px; text-decoration: none; display: block; }
.card:hover { border-color: var(--ink); }
.card strong { display: block; margin-bottom: 4px; }
.card span { color: var(--muted); font-size: 15px; }
form.tool { background: var(--panel); border: 1px solid var(--line); padding: 18px; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
legend { font-weight: 700; margin-bottom: 8px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px 14px; }
label { display: grid; gap: 3px; font-size: 14px; color: var(--muted); }
label.check { display: flex; gap: 8px; align-items: center; color: var(--ink); }
input, select { font: 16px var(--mono); padding: 8px 9px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; border-radius: 0; }
input[type=checkbox] { width: auto; }
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.result { background: var(--ink); color: var(--bg); padding: 18px; margin-top: 16px; }
.result .big { font: 800 42px/1.1 var(--mono); }
.result p { margin: 6px 0 0; }
.checks { list-style: none; padding: 0; margin: 12px 0 0; }
.checks li { padding: 8px 0; border-top: 1px solid color-mix(in srgb, var(--bg) 25%, transparent); }
.checks .p { color: #7fdc9f; font-weight: 700; } .checks .f { color: #ff9b91; font-weight: 700; }
ol.sources { font-size: 14px; color: var(--muted); }
footer.site { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
footer.site a { color: var(--muted); }
@media print {
  header.site, footer.site, .masthead, .site-footer, .no-print, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 12px; }
  main { padding: 0; }
}

.editorial { max-width: 720px; padding-block: 40px 60px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.contact-form { margin-block-start: 24px; }
.contact-form label { margin-block: 16px 5px; color: var(--ink); font-weight: 700; }
.contact-form label:first-of-type { margin-block-start: 0; }
.contact-form input[type="email"], .contact-form select, .contact-form textarea {
  width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--muted);
  border-radius: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--body);
}
.contact-form textarea { resize: vertical; }
.contact-form .button:disabled { opacity: .65; cursor: wait; }
.contact-status:not(:empty) { padding: 10px 12px; border-inline-start: 3px solid var(--good); background: var(--bg); font-weight: 600; }
.contact-status.contact-error { border-inline-start-color: var(--bad); }
.brand-logo { display: block; width: auto; height: 22px; max-width: min(260px, 60vw); }
.rate-card td.num { font-weight: 700; }
/* Pallet company directory */
.dir-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 18px; margin-block: 20px; }
.dir-filters fieldset { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; border: 0; padding: 0; margin: 0; }
.dir-filters legend { font-size: 14px; color: var(--muted); padding: 0; margin-bottom: 4px; }
.dir-map { background: var(--panel); border: 1px solid var(--line); padding: 8px; }
.dir-map svg { display: block; width: 100%; height: auto; max-height: 70vh; }
.dir-map .states path { fill: #e6e0d1; stroke: var(--panel); stroke-width: .8; cursor: pointer; }
.dir-map .states path:hover, .dir-map .states path.on { fill: #d6cdb6; }
.dir-map .dots circle { fill: var(--ink); stroke: var(--amber); stroke-width: .8; cursor: pointer; vector-effect: non-scaling-stroke; }
.dir-map .dots circle.off { display: none; }
.dir-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.dir-card { background: var(--panel); border: 1px solid var(--line); padding: 14px 16px; }
#dir-picked .dir-card { border-left: 6px solid var(--accent); margin-top: 12px; }
.dir-card h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.25; }
.dir-card p { margin: 4px 0; font-size: 15px; }
.dir-contact { display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 600; }
.dir-contact a { min-height: 24px; }
.dir-services { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 8px 0; }
.dir-services li { font-size: 13px; padding: 2px 8px; background: color-mix(in srgb, var(--accent) 25%, var(--panel)); border: 1px solid var(--accent); }
.nowrap { white-space: nowrap; }
