/* ============================================
   TRAILPAW — B2B Pet Accessories
   Static stylesheet, no external dependencies
   ============================================ */

:root {
  --ink: #1C1C1A;
  --ink-soft: #4A4A46;
  --ink-mute: #7A7A74;
  --paper: #FAF9F6;
  --paper-alt: #F2F0E9;
  --line: #DCDAD1;
  --terra: #B4552F;
  --terra-dark: #8E3F21;
  --olive: #4A5D3A;
  --radius: 2px;
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 6vw, 68px); }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(18px, 2vw, 22px); }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 500;
  margin-bottom: 16px;
}

.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-mute); font-size: 14px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--alt { background: var(--paper-alt); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .eyebrow { color: #E08A63; }
.section--ink .lede, .section--ink .muted { color: #A8A8A2; }

.rule { height: 1px; background: var(--line); border: 0; }
.section--ink .rule { background: #33332F; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 600; letter-spacing: 0.14em; font-size: 13px;
  text-transform: uppercase;
}
.logo-mark { width: 26px; height: 26px; flex: 0 0 auto; }

.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  font-size: 13px; letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .18s, border-color .18s;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--ink); border-bottom-color: var(--terra);
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  background: var(--ink); color: var(--paper);
  font-size: 13px; letter-spacing: 0.05em;
  border: 1px solid var(--ink);
  transition: background .18s, color .18s;
  cursor: pointer;
}
.btn:hover { background: var(--terra); border-color: var(--terra); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--terra); color: #fff; border-color: var(--terra); }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.hero h1 { max-width: 17ch; }
.hero .lede { margin-top: 26px; }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px; background: var(--line);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 72px);
}
.stat { background: var(--paper); padding: 26px 20px; }
.stat-num {
  font-size: clamp(28px, 4vw, 40px); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1;
}
.stat-num small { font-size: 0.45em; font-weight: 400; letter-spacing: 0; margin-left: 3px; }
.stat-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-top: 10px; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.cell { background: var(--paper); padding: clamp(24px, 3vw, 34px); }
.section--alt .cell { background: var(--paper-alt); }
.section--ink .grid { background: #33332F; border-color: #33332F; }
.section--ink .cell { background: var(--ink); }

/* ---------- Product card ---------- */
.pcard { display: flex; flex-direction: column; }
.pcard-figure {
  background: var(--paper-alt); aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  margin: -1px -1px 22px; overflow: hidden;
}
.section--alt .pcard-figure { background: var(--paper); }
.pcard-figure svg { width: 78%; height: auto; }
.pcard h3 { margin-bottom: 6px; }
.pcard .spec { font-size: 13px; color: var(--ink-mute); margin-bottom: 18px; }
.pcard .price { font-size: 13px; color: var(--ink); margin-top: auto; }
.pcard .price strong { font-weight: 600; }

/* ---------- Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td {
  text-align: left; padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  font-weight: 500; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-mute);
  border-bottom: 1px solid var(--ink);
}
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { color: var(--ink-soft); width: 42%; }
.section--ink .spec-table th { color: #8A8A84; border-bottom-color: #4A4A46; }
.section--ink .spec-table td { border-bottom-color: #33332F; }

/* ---------- Feature list ---------- */
.flist { list-style: none; }
.flist li {
  padding: 20px 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 34px 1fr; gap: 14px;
}
.flist li:last-child { border-bottom: 0; }
.flist .n {
  font-size: 12px; color: var(--terra); letter-spacing: 0.08em;
  padding-top: 3px;
}
.flist h4 { font-size: 16px; margin-bottom: 4px; }
.flist p { font-size: 14px; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(56px, 8vw, 100px) 0; text-align: center; }
.cta-band h2 { max-width: 22ch; margin: 0 auto 22px; }
.cta-band .lede { margin: 0 auto 34px; }

/* ---------- Detail rows ---------- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: start; }
@media (max-width: 780px) { .detail { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #8A8A84; padding: 60px 0 34px; font-size: 13px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid #33332F; margin-bottom: 24px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h5 {
  color: var(--paper); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 14px; font-weight: 500;
}
.site-footer a:hover { color: var(--paper); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Mobile nav ---------- */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; }

@media (max-width: 780px) {
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--pad) 20px;
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--terra); }
  .nav-toggle { display: block; }
}

/* ---------- Utility ---------- */
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 26px; }
.mt-l { margin-top: 44px; }
.center { text-align: center; }
.tag {
  display: inline-block; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 10px;
  border: 1px solid var(--line); color: var(--ink-soft); margin-right: 6px; margin-bottom: 6px;
}
.section--ink .tag { border-color: #4A4A46; color: #A8A8A2; }
