:root {
  --bg: #fefbf0;
  --paper: #ffffff;
  --sky: #5fc0e8;
  --sky-dark: #3a8eb8;
  --ink: #1e2a3f;
  --ink-soft: #5a6884;
  --rule: #c8dce6;
  --berry: #d4496b;
  --sunshine: #f4c63a;
  --pine: #4a8a5a;
  --sans: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;
  --display: 'Iowan Old Style', 'Hoefler Text', Georgia, serif;
  --handy: 'Caveat', 'Bradley Hand', cursive;
}
* { 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: 1100px; margin: 0 auto; padding: 0 24px; }
a { color: var(--sky-dark); text-decoration: none; }
a:hover { color: var(--berry); }

header.shop-quirky { padding: 18px 0; background: var(--sky); border-bottom: 4px dashed var(--ink); }
header.shop-quirky .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.bird { width: 40px; height: 40px; background: var(--ink); color: var(--sunshine); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.brand-block { display: flex; align-items: center; gap: 12px; }
.brand { font-family: var(--display); font-size: 24px; color: var(--ink); text-decoration: none; font-weight: 800; font-style: italic; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px; }
.brand-icon { width: 24px; height: 24px; flex-shrink: 0; vertical-align: middle; margin-right: 6px; }
.brand small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); opacity: 0.7; margin-top: 2px; }
header.shop-quirky nav a { color: var(--ink); margin-left: 22px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-decoration: none; }
header.shop-quirky nav a:hover { color: var(--paper); }

/* Patches hero — playful */
.patches-hero { padding: 64px 0 48px; position: relative; }
.patches-hero::before, .patches-hero::after { content: ''; position: absolute; width: 80px; height: 80px; border-radius: 50%; opacity: 0.4; }
.patches-hero::before { background: var(--berry); top: 60px; left: -20px; }
.patches-hero::after { background: var(--sunshine); bottom: 60px; right: -20px; }
.patches-hero .container { position: relative; z-index: 1; text-align: center; }
.patches-hero .stamp { display: inline-block; background: var(--paper); border: 2px dashed var(--berry); color: var(--berry); padding: 6px 16px; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 22px; transform: rotate(-2deg); }
.patches-hero h1 { font-family: var(--display); font-size: 56px; line-height: 1.05; color: var(--ink); margin-bottom: 18px; font-weight: 800; letter-spacing: -0.01em; max-width: 16ch; margin-left: auto; margin-right: auto; }
.patches-hero h1 .pop { color: var(--berry); font-style: italic; }
.patches-hero .lede { font-size: 17px; color: var(--ink-soft); max-width: 56ch; margin: 0 auto 24px; line-height: 1.7; }
.btn-cherry { display: inline-block; background: var(--berry); color: var(--paper); padding: 14px 28px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border-radius: 4px; }
.btn-cherry:hover { background: var(--ink); color: var(--paper); }

/* Patch grid — visual variety */
.patch-grid-section { padding: 64px 0; background: var(--paper); border-top: 4px dashed var(--sky); border-bottom: 4px dashed var(--sky); }
.section-eyebrow { color: var(--berry); font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; text-align: center; margin-bottom: 8px; }
.section-title { font-family: var(--display); font-size: 36px; color: var(--ink); text-align: center; margin-bottom: 32px; font-weight: 800; font-style: italic; }
.patch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.patch-card { padding: 24px 20px; background: var(--paper); border: 3px dashed var(--sky); text-align: center; text-decoration: none; color: var(--ink); transition: transform 0.15s, border-color 0.15s; }
.patch-card:nth-child(2) { border-color: var(--berry); }
.patch-card:nth-child(3) { border-color: var(--sunshine); }
.patch-card:nth-child(4) { border-color: var(--pine); }
.patch-card:nth-child(5) { border-color: var(--ink); }
.patch-card:hover { transform: rotate(-1deg) scale(1.03); }
.patch-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--sky); border: 4px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--ink); }
.patch-card:nth-child(2) .patch-icon { background: var(--berry); color: var(--paper); }
.patch-card:nth-child(3) .patch-icon { background: var(--sunshine); }
.patch-card:nth-child(4) .patch-icon { background: var(--pine); color: var(--paper); }
.patch-card:nth-child(5) .patch-icon { background: var(--ink); color: var(--sunshine); }
.patch-card h3 { font-family: var(--display); font-size: 16px; color: var(--ink); margin-bottom: 6px; font-weight: 800; font-style: italic; }
.patch-card p { font-size: 12px; color: var(--ink-soft); line-height: 1.55; }

/* Why us */
.why-us { padding: 64px 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why { padding: 24px; background: var(--sky); color: var(--ink); border-radius: 8px; border: 2px solid var(--ink); }
.why:nth-child(2) { background: var(--sunshine); }
.why:nth-child(3) { background: var(--berry); color: var(--paper); }
.why h3 { font-family: var(--display); font-size: 20px; font-weight: 800; margin-bottom: 8px; font-style: italic; }
.why p { font-size: 14px; line-height: 1.6; }

/* Origin story */
.origin-story { padding: 64px 0; background: var(--paper); text-align: center; }
.origin-story h2 { font-family: var(--display); font-size: 32px; color: var(--ink); margin-bottom: 16px; font-weight: 800; font-style: italic; }
.origin-story p { color: var(--ink-soft); max-width: 56ch; margin: 0 auto 12px; line-height: 1.75; font-size: 16px; }
.origin-story .signed { font-family: var(--handy); font-size: 24px; color: var(--berry); margin-top: 16px; }

.visit-info { padding: 56px 0; background: var(--ink); color: var(--paper); }
.visit-info .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.visit-info h3 { font-family: var(--display); font-size: 22px; color: var(--sunshine); margin-bottom: 12px; font-weight: 800; font-style: italic; }
.visit-info p { color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 6px; }
.visit-info a { color: var(--sky); }

footer { padding: 36px 0; background: var(--paper); text-align: center; border-top: 4px dashed var(--sky); }
footer p { margin-bottom: 4px; font-size: 13px; color: var(--ink-soft); }
footer a { color: var(--berry); }

article.page { padding: 56px 0; max-width: 1100px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
article.page .breadcrumb { font-size: 11px; color: var(--ink-soft); margin-bottom: 16px; letter-spacing: 0.14em; text-transform: uppercase; }
article.page h1 { font-family: var(--display); font-size: 40px; color: var(--ink); margin-bottom: 24px; line-height: 1.2; font-weight: 800; font-style: italic; }
article.page h2 { font-family: var(--display); font-size: 22px; color: var(--berry); margin-top: 36px; margin-bottom: 12px; font-weight: 800; font-style: italic; }

body > header:not([class]) { padding: 22px 0; border-bottom: 4px dashed var(--ink); background: var(--sky); }
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(--display); font-style: italic; font-size: 24px; font-weight: 800; color: var(--ink); text-decoration: none; }
body > header:not([class]) .brand-icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--ink); }
body > header:not([class]) nav { display: flex; gap: 22px; }
body > header:not([class]) nav a { font-size: 12px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* Images */
.feature-image-section { padding: 32px 0; text-align: center; }
.feature-img { width: 100%; max-width: 900px; height: auto; border-radius: 8px; border: 3px dashed var(--sky); display: block; margin: 0 auto; }
.page-img { width: 100%; max-height: 420px; object-fit: cover; display: block; margin: 24px auto; border-radius: 4px; }

@media (max-width: 700px) {
  .patches-hero h1 { font-size: 36px; }
  .why-grid { grid-template-columns: 1fr; }
  .visit-info .container { grid-template-columns: 1fr; gap: 24px; }
  header.shop-quirky nav a { margin-left: 12px; }
}
