:root {
  --bg: #faf2e4;
  --paper: #ffffff;
  --ink: #2a1f15;
  --ink-soft: #6e5d48;
  --rule: #e0c896;
  --primary: #c2462f;
  --primary-dark: #9b321f;
  --teal: #3d8e8a;
  --gold: #d4a04a;
  --mustard: #c89a32;
  --serif: 'Iowan Old Style', 'Hoefler Text', Georgia, serif;
  --script: 'Caveat', 'Bradley Hand', cursive;
  --sans: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

header.pet { padding: 22px 0; background: var(--bg); border-bottom: 3px dotted var(--primary); }
header.pet .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.thwap-mark { width: 44px; height: 44px; background: var(--primary); color: var(--paper); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 800; font-size: 18px; font-style: italic; transform: rotate(-5deg); }
.brand-block { display: flex; align-items: center; gap: 12px; }
.brand { font-family: var(--serif); font-size: 28px; color: var(--primary); text-decoration: none; font-weight: 800; font-style: italic; }
.brand small { display: block; font-family: var(--sans); font-size: 10px; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.16em; text-transform: uppercase; margin-top: 2px; font-style: normal; }
header.pet nav a { color: var(--ink); margin-left: 22px; font-size: 13px; font-weight: 600; text-decoration: none; }
header.pet nav a:hover { color: var(--primary); }

.collar-hero { padding: 64px 0 48px; text-align: center; position: relative; }
.collar-hero::before, .collar-hero::after { content: '🐾'; position: absolute; font-size: 24px; opacity: 0.4; }
.collar-hero::before { top: 40px; left: 12%; transform: rotate(-15deg); }
.collar-hero::after { bottom: 30px; right: 12%; transform: rotate(15deg); }
.collar-hero .stamp { display: inline-block; background: var(--mustard); color: var(--ink); padding: 6px 16px; font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 22px; transform: rotate(-2deg); border: 2px solid var(--ink); }
.collar-hero h1 { font-family: var(--serif); font-style: italic; font-size: 56px; line-height: 1.1; color: var(--ink); margin-bottom: 18px; font-weight: 800; max-width: 18ch; margin: 0 auto 18px; }
.collar-hero h1 em { color: var(--primary); }
.collar-hero .lede { font-size: 17px; color: var(--ink-soft); max-width: 56ch; margin: 0 auto 28px; line-height: 1.75; }
.btn-paw { display: inline-block; padding: 14px 32px; background: var(--primary); color: var(--paper); text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 32px; border: 3px solid var(--ink); }
.btn-paw:hover { background: var(--ink); color: var(--paper); }

.tie-grid-band { padding: 72px 0; background: var(--paper); border-top: 3px dotted var(--primary); border-bottom: 3px dotted var(--primary); }
.section-eyebrow { font-family: var(--script); font-size: 24px; color: var(--teal); text-align: center; margin-bottom: 4px; transform: rotate(-1deg); display: block; }
.section-title { font-family: var(--serif); font-style: italic; font-size: 36px; color: var(--ink); text-align: center; margin-bottom: 40px; font-weight: 800; }
.tie-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tie { background: var(--bg); padding: 20px 16px; text-align: center; border: 2px solid var(--ink); position: relative; transform: rotate(-1deg); }
.tie:nth-child(2) { transform: rotate(1deg); border-color: var(--teal); }
.tie:nth-child(3) { transform: rotate(-0.5deg); border-color: var(--gold); }
.tie:nth-child(4) { transform: rotate(0.5deg); border-color: var(--mustard); }
.tie-pattern { width: 56px; aspect-ratio: 1/2.5; margin: 0 auto 14px; background: var(--primary); position: relative; clip-path: polygon(40% 0, 60% 0, 60% 70%, 100% 80%, 50% 100%, 0 80%, 40% 70%); }
.tie:nth-child(2) .tie-pattern { background: var(--teal); }
.tie:nth-child(3) .tie-pattern { background: var(--gold); }
.tie:nth-child(4) .tie-pattern { background: var(--mustard); }
.tie h3 { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--ink); margin-bottom: 4px; font-weight: 800; }
.tie p { font-size: 12px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 8px; }
.tie .price { font-family: var(--serif); font-style: italic; color: var(--primary); font-weight: 800; }

.how-band { padding: 72px 0; }
.how-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.how-band h2 { font-family: var(--serif); font-style: italic; font-size: 32px; color: var(--ink); margin-bottom: 16px; font-weight: 800; line-height: 1.25; }
.how-band p { color: var(--ink-soft); margin-bottom: 14px; line-height: 1.75; }
.steps-strip { background: var(--paper); padding: 28px; border: 2px solid var(--ink); position: relative; }
.steps-strip::before { content: 'How it works'; position: absolute; top: -12px; left: 24px; background: var(--bg); padding: 0 12px; font-family: var(--script); font-size: 20px; color: var(--primary); }
.steps-strip ol { list-style: none; padding: 0; counter-reset: thwap; }
.steps-strip li { padding: 8px 0; counter-increment: thwap; display: grid; grid-template-columns: 32px 1fr; gap: 16px; font-size: 14px; color: var(--ink); }
.steps-strip li::before { content: counter(thwap); width: 24px; height: 24px; background: var(--primary); color: var(--paper); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }

.contact-band { padding: 72px 0; background: var(--paper); text-align: center; border-top: 3px dotted var(--primary); }
.contact-band h2 { font-family: var(--serif); font-style: italic; font-size: 32px; color: var(--ink); margin-bottom: 16px; font-weight: 800; }
.contact-band p { color: var(--ink-soft); max-width: 500px; margin: 0 auto 24px; }

footer { padding: 32px 0; background: var(--ink); color: rgba(250,242,228,0.85); text-align: center; }
footer p { margin-bottom: 4px; font-size: 13px; }
footer a { color: var(--gold); text-decoration: none; }

article.page { padding: 64px 0; max-width: 720px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
article.page h1 { font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--ink); margin-bottom: 24px; line-height: 1.2; font-weight: 800; }
article.page h2 { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--primary); margin-top: 36px; margin-bottom: 12px; font-weight: 800; }

body > header:not([class]) { padding: 22px 0; border-bottom: 3px dotted var(--primary); background: var(--bg); }
body > header:not([class]) .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
body > header:not([class]) .brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--primary); font-weight: 800; text-decoration: none; }
body > header:not([class]) .brand-icon { width: 28px; height: 28px; flex-shrink: 0; color: var(--mustard); }
body > header:not([class]) nav { display: flex; gap: 22px; }
body > header:not([class]) nav a { font-size: 13px; color: var(--ink); text-decoration: none; font-weight: 600; }

@media (max-width: 800px) {
  .collar-hero h1 { font-size: 34px; }
  .tie-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .how-band .container { grid-template-columns: 1fr; gap: 24px; }
  header.pet nav a { margin-left: 12px; }
}
