:root {
  --cream: #f3ecdd;
  --paper: #fffaf0;
  --ink: #2e2419;
  --muted: #6a5d4b;
  --sage: #5d6e3f;
  --sage-deep: #2f4a32;
  --clay: #8b5a2b;
  --line: #dccfb6;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--sage-deep); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
img { max-width: 100%; height: auto; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--cream); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand span { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 64px 0 40px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; font-weight: 600; color: var(--clay); margin: 0 0 12px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); margin: 0 0 16px; max-width: 16ch; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 52ch; margin: 0; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; padding: 8px 0 72px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(43,42,39,.08); color: var(--ink); }
.card .swatch { height: 150px; display: flex; align-items: flex-end; padding: 16px; }
.card .swatch span { font-family: var(--serif); font-size: 15px; background: rgba(255,255,255,.85); border-radius: 999px; padding: 4px 12px; }
.card .body { padding: 18px 20px 22px; }
.card h3 { font-size: 21px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.sw-sage { background: linear-gradient(135deg, #a9b89b, #7d8f6e); }
.sw-clay { background: linear-gradient(135deg, #e3b292, #c0704d); }
.sw-oat { background: linear-gradient(135deg, #efe3cf, #d6c3a2); }
.sw-pine { background: linear-gradient(135deg, #8aa38d, #3f5a48); }

.section-title { font-size: 28px; margin: 0 0 20px; }

/* Article */
article { padding: 48px 0 72px; }
article h1 { font-size: clamp(32px, 5.5vw, 46px); margin: 0 0 14px; }
article .standfirst { font-size: 19px; color: var(--muted); margin: 0 0 24px; }
article h2 { font-size: 28px; margin: 44px 0 10px; }
article h3 { font-size: 21px; margin: 28px 0 6px; }
article p, article li { max-width: 68ch; }
article ul, article ol { padding-left: 22px; }
article li { margin: 6px 0; }
.meta { font-size: 14px; color: var(--muted); margin-bottom: 28px; }

.disclosure { background: #f7efe0; border: 1px solid #e2cfae; border-radius: 10px; padding: 12px 16px; font-size: 14px; color: #5a4630; margin: 0 0 32px; }
.disclosure strong { color: var(--clay); }

.idea { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 18px 0; }
.idea h3 { margin-top: 0; }
.idea .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.idea .tags span { font-size: 12.5px; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--muted); }

.idea .shop { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.idea .shop a { display: inline-block; font-size: 14.5px; font-weight: 600; text-decoration: none; background: var(--sage-deep); color: #fff; padding: 7px 14px; border-radius: 999px; }
.idea .shop a:hover { background: var(--clay); color: #fff; }

.tip { border-left: 3px solid var(--sage); padding: 4px 0 4px 16px; color: var(--sage-deep); margin: 24px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 28px; }
  .nav { gap: 14px; }
}
article .hero { display:block; width:100%; height:auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; margin: 0 0 32px; }
h3[id] { scroll-margin-top: 20px; }
article .section-img { display:block; width:100%; height:auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin: 4px 0 18px; }
.related { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.related h2 { font-size: 22px; margin-top: 0; }

.signup { background: #ebe4d2; border-radius: 12px; padding: 20px 22px; margin: 36px 0; }
.signup .signup-title { margin-top: 0; }
.btn { display: inline-block; background: #2f4a32; color: #fff !important; padding: 12px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.shop-line a { display:inline-block; font-size:14.5px; font-weight:600; text-decoration:none; background: var(--sage-deep); color:#fff; padding:7px 14px; border-radius:999px; margin-left:4px; }

/* Data pages (added 22 Oct 2026) */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 20px 0 28px; }
.stats .stat { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.stats .stat b { display: block; font-family: var(--serif); font-size: 32px; line-height: 1.1; color: var(--sage-deep); }
.stats .stat span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.barchart { margin: 16px 0 8px; }
.barchart .row { display: grid; grid-template-columns: 120px 1fr 44px; align-items: center; gap: 10px; margin: 8px 0; font-size: 15px; }
.barchart .track { background: var(--cream); border-radius: 6px; height: 22px; overflow: hidden; }
.barchart .fill { background: var(--sage); height: 100%; border-radius: 6px; }
.barchart .row.hl .fill { background: var(--clay); }
.barchart .val { font-weight: 600; text-align: right; }
.chart-caption { font-size: 14px; color: var(--muted); margin: 4px 0 24px; }
.facts { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15.5px; }
.facts th, .facts td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { background: var(--cream); font-weight: 600; }
.template { background: var(--paper); border: 1px dashed var(--sage); border-radius: 12px; padding: 16px 20px; margin: 16px 0 24px; font-size: 15.5px; }
@media (max-width: 560px) { .barchart .row { grid-template-columns: 92px 1fr 40px; font-size: 14px; } }

/* Instagram link-in-bio page (/links) */
.linklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.linkbtn { display: block; padding: 16px 18px; border-radius: 14px; border: 1.5px solid currentColor; text-decoration: none; font-weight: 600; line-height: 1.35; }
.linklist.featured .linkbtn { background: var(--sage-deep); color: #faf6ef; border-color: transparent; }

.related .follow{margin-top:1.2rem;font-weight:600}

/* ===== Accent layer (30 Oct 2026; recoloured to the country palette 30 Nov 2026) =====
   Variable names kept from the old bright scheme so later rules still work:
   pink = saddle leather, sun = brass, blue = moss, lime = lichen, violet = conker, navy = dark tack brown. */
:root { --pink:#8b5a2b; --sun:#b8893f; --blue:#4e6a3d; --lime:#a9b07c; --violet:#6b3e26; --navy:#2e2419; }
.site-header { background: var(--cream); position: relative; }
.site-header::after { content:""; position:absolute; left:0; right:0; bottom:-1px; height:5px;
  background: linear-gradient(90deg, var(--pink) 0 20%, var(--sun) 20% 40%, var(--blue) 40% 60%, var(--lime) 60% 80%, var(--violet) 80% 100%); }
.nav a { font-weight: 600; color: var(--navy); }
.nav a:hover { color: var(--pink); }

/* Hero */
.hero-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items:center; }
.hero h1 .mark { background: linear-gradient(transparent 58%, var(--lime) 58% 92%, transparent 92%); padding: 0 .08em; }
.eyebrow { color: var(--pink); }
.hero-ctas { display:flex; flex-wrap:wrap; gap:12px; margin-top: 26px; }
.pill { display:inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration:none; font-size: 16px; }
.pill-pink { background: var(--pink); color: var(--navy); box-shadow: 4px 4px 0 var(--navy); }
.pill-pink:hover { color: var(--navy); transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--navy); }
.pill-ghost { border: 2px solid var(--navy); color: var(--navy); }
.pill-ghost:hover { background: var(--navy); color: #fff; }
.collage { position: relative; height: 420px; }
.collage img { position:absolute; width: 62%; aspect-ratio: 4/5; object-fit: cover; border-radius: 18px; border: 6px solid #fff; box-shadow: 0 14px 30px rgba(46,36,25,.18); }
.collage .t1 { left: 0; top: 30px; transform: rotate(-6deg); outline: 6px solid var(--sun); }
.collage .t2 { right: 0; top: 0; width: 52%; transform: rotate(5deg); outline: 6px solid var(--blue); }
.collage .t3 { left: 26%; bottom: -10px; width: 46%; transform: rotate(2deg); outline: 6px solid var(--pink); }
.collage .sticker { position:absolute; right: 2%; bottom: 18px; background: var(--lime); color: var(--navy); font-family: var(--serif); font-weight:700;
  font-size: 20px; line-height:1.1; padding: 16px 18px; border-radius: 50%; width: 132px; height: 132px; display:flex; align-items:center; justify-content:center;
  text-align:center; transform: rotate(10deg); box-shadow: 3px 3px 0 var(--navy); }

/* Topic chips */
.chips { display:flex; flex-wrap:wrap; gap:10px; margin: -4px 0 24px; }
.chip { --c: var(--navy); --t:#fff; font: 600 14.5px var(--sans); border: 2px solid var(--c); background: #fff; color: var(--navy); padding: 7px 14px; border-radius: 999px; cursor:pointer; }
.chip:hover { background: var(--c); color: var(--t); }
.chip.on { background: var(--c); color: var(--t); }

/* Cards */
.card { --c: var(--pink); --t: var(--navy); border: 0; box-shadow: 0 2px 0 rgba(46,36,25,.06), 0 6px 18px rgba(46,36,25,.06); border-bottom: 6px solid var(--c); }
.card:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: 6px 6px 0 var(--c); }
.card .swatch span { background: var(--c); color: var(--t); font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.card .go { display:inline-block; margin-top: 14px; font-weight: 700; font-size: 14.5px; color: var(--navy); border-bottom: 3px solid var(--c); }
.section-title { font-size: 34px; }

/* Guides */
article .eyebrow { display:inline-block; background: var(--lime); color: var(--navy); padding: 3px 12px; border-radius: 999px; }
article h2 { position: relative; padding-bottom: 10px; }
article h2::after { content:""; position:absolute; left:0; bottom:0; width: 72px; height: 6px; border-radius: 6px; background: var(--pink); }
article h2:nth-of-type(5n+2)::after { background: var(--sun); }
article h2:nth-of-type(5n+3)::after { background: var(--blue); }
article h2:nth-of-type(5n+4)::after { background: var(--lime); }
article h2:nth-of-type(5n+5)::after { background: var(--violet); }
.idea { border: 0; border-left: 8px solid var(--pink); box-shadow: 0 4px 16px rgba(46,36,25,.06); }
.idea:nth-of-type(5n+2) { border-left-color: var(--sun); }
.idea:nth-of-type(5n+3) { border-left-color: var(--blue); }
.idea:nth-of-type(5n+4) { border-left-color: var(--lime); }
.idea:nth-of-type(5n+5) { border-left-color: var(--violet); }
.idea .shop a, .shop-line a { background: var(--navy); }
.idea .shop a:hover, .shop-line a:hover { background: var(--pink); color: var(--navy); }
.tip { border-left: 0; background: #efe8d6; border-radius: 12px; padding: 14px 18px; color: var(--navy); }
.tip::before { content: "Tip  "; font-weight: 800; color: #4d5f33; }
article .hero { box-shadow: 8px 8px 0 var(--sun); }
.related { border-top: 0; background: #fff; border-radius: 16px; padding: 24px 24px 20px; box-shadow: 0 4px 16px rgba(46,36,25,.06); }
.related .follow a { color: var(--pink); }
.btn { background: var(--pink); color: var(--navy) !important; box-shadow: 3px 3px 0 var(--navy); }
.signup { background: #ebe4d2; }

/* Footer */
.site-footer { background: var(--navy); color: #e6dcc6; border-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--lime); }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .collage { height: 300px; max-width: 420px; }
  .collage .sticker { width: 104px; height: 104px; font-size: 16px; }
}
@media (max-width: 560px) { .section-title { font-size: 28px; } }
article img.hero { padding: 0; }
section.hero { overflow-x: clip; }
.linklist.featured li:nth-child(5n+1) .linkbtn { background: var(--pink); color: var(--navy); }
.linklist.featured li:nth-child(5n+2) .linkbtn { background: var(--sun); color: var(--navy); }
.linklist.featured li:nth-child(5n+3) .linkbtn { background: var(--blue); color: #fff; }
.linklist.featured li:nth-child(5n+4) .linkbtn { background: var(--lime); color: var(--navy); }
.linklist.featured li:nth-child(5n+5) .linkbtn { background: var(--violet); color: #fff; }

/* Seasonal strip on the home page */
.season { margin: 8px auto 36px; }
.season-in { background: var(--navy); color: #fff; border-radius: 20px; padding: 22px 24px; box-shadow: 6px 6px 0 var(--pink); }
.season-title { font-family: var(--serif); font-size: 24px; margin: 0 0 12px; }
.season-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.season-links a { background: #fff; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.season-links a:nth-child(5n+1) { background: var(--pink); } .season-links a:nth-child(5n+2) { background: var(--sun); }
.season-links a:nth-child(5n+3) { background: var(--lime); } .season-links a:nth-child(5n+4) { background: #fff; }
.season-links a:nth-child(5n+5) { background: var(--violet); color: #fff; }
.season-links a:hover { transform: translateY(-1px); box-shadow: 3px 3px 0 #fff; }

/* Direct shop buttons (#89, board 19 Nov): home seasonal cards + /links picks */
.season-ad { font-size: 13px; margin: -4px 0 12px; color: #e6dcc6; }
.season-ad strong { color: var(--sun); } .season-ad a { color: #fff; }
.season-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 14px; }
.scard { background: #fff; color: var(--navy); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.scard-guide { font-weight: 700; color: var(--navy); font-size: 16px; }
.scard-item { font-size: 13px; color: #5e5446; line-height: 1.3; flex: 1; }
.scard .shop a, .picks .shop a { display: inline-block; background: var(--pink); color: var(--navy); font-weight: 700; font-size: 14px; text-decoration: none; padding: 8px 12px; border-radius: 999px; line-height: 1.2; }
.scard .shop a:hover, .picks .shop a:hover { box-shadow: 2px 2px 0 var(--navy); }
.picks { margin: 0 0 32px; }
.picks h2 { margin: 0 0 8px; }
.picks-ad { font-size: 14px; background: #f7efe0; border: 1px solid #e2cfae; border-radius: 10px; padding: 10px 14px; color: #5a4630; margin: 0 0 12px; }
.picks-ad strong { color: var(--clay); }
.picklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.picklist li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; max-width: none; padding: 12px 14px; border: 1.5px solid var(--navy); border-radius: 14px; background: #fff; }
.pick-name { font-weight: 600; line-height: 1.3; }
.pick-name small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.pick-btns { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.picks .why { font-size: 14px; }
@media (max-width: 820px) { .season-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .season { margin: 0 auto 28px; }
  .season-in { padding: 16px; }
  .season-title { font-size: 20px; margin-bottom: 8px; }
  .scard { padding: 10px; }
  .scard-guide { font-size: 15px; }
  .scard .shop a { font-size: 13px; padding: 7px 10px; }
}
/* Mobile: seasonal strip first so the shop cards are above the fold (#89); desktop order unchanged */
@media (max-width: 560px) {
  main:has(> .season) { display: flex; flex-direction: column; }
  main:has(> .season) > .season { order: -1; margin-top: 14px; width: 100%; }
}

/* ===== Visual guide pages (19 Nov 2026) – magazine layout + markup contract =====
   Contract (see ops/playbooks/03-content-production.md "Visual standard"):
   .idea (+ .idea-img, .tag), .picks > .pick, .gallery, aside.tip.
   build.py visual_blocks() wraps .idea-img in figure.idea-fig, adds .has-img / .k0-.k4
   and groups consecutive cards in div.ideas (.solo when alone). */
:root { --read: 720px; --wide: 1024px; }
.k0 { --accent: var(--pink); } .k1 { --accent: var(--sun); } .k2 { --accent: var(--blue); }
.k3 { --accent: var(--lime); } .k4 { --accent: var(--violet); }

article.guide { padding: 28px 0 72px; }
.guide-wrap { max-width: calc(var(--wide) + 32px); margin: 0 auto; padding: 0 16px; }
.guide-head { max-width: var(--read); margin: 0 auto; }
.guide-body > * { max-width: var(--read); margin-left: auto; margin-right: auto; }
.guide-body > .ideas:not(.solo), .guide-body > .picks, .guide-body > .gallery,
.guide-body > .section-img { max-width: var(--wide); }
article.guide .hero { margin: 0 0 28px; }

/* Idea / product cards */
.ideas { display: grid; gap: 18px; margin-top: 18px; margin-bottom: 28px; }
.guide .ideas > .idea { margin: 0; }
.guide .idea { position: relative; display: flex; flex-direction: column; background: #fff; border: 0;
  border-left: 8px solid var(--accent, var(--pink)); border-radius: 16px; padding: 18px 20px 20px;
  box-shadow: 0 4px 16px rgba(46,36,25,.07); transition: transform .15s ease, box-shadow .15s ease; }
.guide .idea:hover { transform: translateY(-3px); box-shadow: 6px 6px 0 var(--accent, var(--pink)); }
.guide .idea:has(h3:target) { box-shadow: 0 0 0 4px var(--sun), 6px 6px 0 4px var(--navy); }
.guide .idea h3 { font-size: 21px; margin: 0 0 6px; }
.guide .idea p { margin: 0 0 8px; }
.guide .idea .shop { margin: auto 0 0; padding-top: 10px; gap: 10px; }
.guide .idea .shop a, .guide .shop-line a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px;
  background: var(--pink); color: var(--navy); font-weight: 700; font-size: 15px; line-height: 1.2;
  border-radius: 999px; box-shadow: 3px 3px 0 var(--navy); text-decoration: none; transition: transform .12s ease, box-shadow .12s ease; }
.guide .idea .shop a + a, .guide .shop-line a + a { background: #fff; box-shadow: inset 0 0 0 2px var(--navy); }
.guide .idea .shop a:hover, .guide .shop-line a:hover { background: var(--sun); color: var(--navy); transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--navy); }
.guide .tag { display: inline-block; align-self: flex-start; background: var(--lime); color: var(--navy);
  font: 700 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; padding: 7px 11px; border-radius: 999px; margin: 0 0 10px; }

/* Cards with a photo: image on top (mobile + grid), image left when the card is wide */
.guide .idea.has-img { padding: 0; overflow: hidden; border-left: 0; border-bottom: 6px solid var(--accent, var(--pink)); }
.guide .idea.has-img > :not(.idea-fig):not(.tag) { margin-left: 20px; margin-right: 20px; }
.guide .idea.has-img > .shop { padding-bottom: 20px; }
.idea-fig { position: relative; margin: 0 0 16px; aspect-ratio: 4 / 3; overflow: hidden; background: #e6dcc6; }
.idea-fig img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.guide .idea:hover .idea-fig img { transform: scale(1.04); }
.idea-note { position: absolute; right: 8px; bottom: 8px; font: 600 11px/1 var(--sans); letter-spacing: .02em;
  color: #fff; background: rgba(46,36,25,.66); padding: 5px 8px; border-radius: 999px; pointer-events: none; }
.guide .idea.has-img .tag { position: absolute; top: 12px; left: 12px; z-index: 1; margin: 0; box-shadow: 2px 2px 0 var(--navy); }
/* jumping to a card's h3 (Pinterest #anchors, picks) should show its photo too */
.guide .idea.has-img h3[id] { scroll-margin-top: calc((100vw - 32px) * .75 + 36px); }

@media (min-width: 760px) {
  /* text-only groups: tidy 2-column grid, an odd last card spans both columns */
  .ideas:not(.solo) { grid-template-columns: 1fr 1fr; gap: 22px; }
  .ideas:not(.solo):not(:has(> .has-img)) > .idea:last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* groups with photos: Pinterest-style masonry columns, so a short text card never
     stretches into an empty box next to a tall photo card (fix 19 Nov) */
  .ideas:not(.solo):has(> .has-img) { display: block; columns: 2; column-gap: 22px; margin-bottom: 6px; }
  .guide .ideas:not(.solo):has(> .has-img) > .idea { break-inside: avoid; margin: 0 0 22px; }
  .guide .ideas:not(.solo) > .idea.has-img h3[id] { scroll-margin-top: calc((min(100vw - 32px, var(--wide)) - 22px) / 2 * .75 + 36px); }
  /* a photo card alone in its section: photo left, text right */
  .guide .ideas.solo > .idea.has-img { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-auto-rows: min-content; align-content: center; }
  .guide .ideas.solo > .idea.has-img > .idea-fig { grid-column: 1; grid-row: 1 / span 12; margin: 0; aspect-ratio: auto; height: 100%; min-height: 300px; }
  .guide .ideas.solo > .idea.has-img > .idea-fig img { position: absolute; inset: 0; }
  .guide .ideas.solo > .idea.has-img > :not(.idea-fig):not(.tag) { grid-column: 2; margin-left: 24px; }
  .guide .ideas.solo > .idea.has-img > h3 { margin-top: 22px; }
  .guide .ideas.solo > .idea.has-img h3[id] { scroll-margin-top: 40px; }
}

/* Top-picks strip: swipe row on mobile, grid on desktop */
.guide .picks { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin: 8px -16px 32px; padding: 6px 16px 14px;
  scroll-padding-left: 16px; scrollbar-width: thin; counter-reset: pick; }
.guide-body > .picks { max-width: none; }
.guide .pick { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; min-height: 44px;
  background: #fff; color: var(--navy); text-decoration: none; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(46,36,25,.08); counter-increment: pick; transition: transform .15s ease, box-shadow .15s ease; }
.guide .pick:hover { color: var(--navy); transform: translateY(-3px); box-shadow: 5px 5px 0 var(--pink); }
.guide .pick img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #e6dcc6; }
.guide .pick span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(2 * 1.25em + 22px); padding: 11px 12px; font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.guide .pick { align-self: start; }
.guide .pick::after { content: "↓"; position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--navy); font: 700 15px/28px var(--sans); text-align: center; }
.guide .pick::before { content: counter(pick); position: absolute; top: 8px; left: 8px; z-index: 1; width: 28px; height: 28px;
  border-radius: 50%; background: var(--sun); color: var(--navy); font: 700 14px/28px var(--sans); text-align: center; box-shadow: 2px 2px 0 var(--navy); }
.guide .pick:nth-child(5n+2)::before { background: var(--lime); } .guide .pick:nth-child(5n+3)::before { background: var(--pink); }
.guide .pick:nth-child(5n+4)::before { background: #fff; } .guide .pick:nth-child(5n+5)::before { background: var(--sun); }
@media (min-width: 760px) {
  .guide .picks { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; gap: 18px;
    margin: 12px auto 40px; padding: 0; max-width: var(--wide); }
  .guide .picks:has(> .pick:nth-child(3):last-child), .guide .picks:has(> .pick:nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); }
  .guide .picks:has(> .pick:nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1024px) {
  .guide .picks:has(> .pick:nth-child(6):last-child) { grid-template-columns: repeat(6, 1fr); }
}

/* Gallery mosaic (2–4 photos) */
.guide .gallery { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(180px, 46vw, 380px); margin: 8px auto 26px; }
.guide .gallery img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; background: #e6dcc6; }
.guide .gallery:has(> img:nth-child(3)) { grid-template-columns: 3fr 2fr; grid-auto-rows: clamp(110px, 25vw, 220px); }
.guide .gallery:has(> img:nth-child(3)) > img:first-child { grid-row: span 2; }
.guide .gallery:has(> img:nth-child(4)) { grid-template-columns: 2fr 1fr 1fr; }
.guide .gallery:has(> img:nth-child(4)) > img:nth-child(2) { grid-column: span 2; }
@media (min-width: 760px) { .guide .gallery { gap: 14px; grid-auto-rows: clamp(180px, 30vw, 320px); } .guide .gallery img { border-radius: 18px; }
  .guide .gallery:has(> img:nth-child(3)) { grid-auto-rows: clamp(110px, 18vw, 210px); } }

/* Tip callout */
.guide .tip { background: #efe8d6; border-left: 6px solid var(--sun); border-radius: 14px; padding: 14px 18px 14px 18px; color: var(--navy); }
.guide .tip:has(> strong:first-child)::before { content: none; }
.guide aside.tip > strong:first-child { display: block; font: 800 12.5px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: #4d5f33; margin-bottom: 6px; }

/* Related guides with thumbnails */
.related-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; }
.related-list li { max-width: none; margin: 0; }
.related-list a { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--navy); border-radius: 14px; padding: 6px; margin: -6px; }
.related-list a:hover { color: var(--navy); background: var(--cream); }
.related-list img, .related-list .rel-swatch { flex: none; width: 96px; height: 72px; object-fit: cover; border-radius: 10px; background: linear-gradient(135deg, var(--sun), var(--pink)); }
.related-list .rel-title { display: block; font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.25; }
.related-list .rel-desc { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Desktop: split header (title left, hero right), wider section photos */
@media (min-width: 760px) {
  .guide-body > .section-img { aspect-ratio: 2 / 1; border-radius: 18px; }
  .related-list { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .related-list a { flex-direction: column; align-items: stretch; gap: 10px; }
  .related-list img, .related-list .rel-swatch { width: 100%; height: auto; aspect-ratio: 3 / 2; }
}
@media (min-width: 1024px) {
  article.guide { padding-top: 40px; }
  .guide.has-hero .guide-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 48px; align-items: center; margin-bottom: 44px; }
  .guide-head h1 { font-size: 46px; }
  .guide.has-hero .guide-head .disclosure { margin-bottom: 0; }
  .guide.has-hero .guide-head .hero { margin: 0; aspect-ratio: 4 / 3; border-radius: 22px; box-shadow: 12px 12px 0 var(--sun); }
  .guide-body > .section-img { aspect-ratio: 21 / 9; }
  .guide-body h2 { font-size: 32px; }
}

/* Quick-buys list at the top of a guide (daily operator, 29 Nov) – reuses the /links picklist styles */
.quick-buys { margin: 0 0 28px; }
.quick-buys h2 { margin: 0 0 8px; }
.quick-buys .shop a { display: inline-block; background: var(--pink); color: var(--navy); font-weight: 700; font-size: 14px; text-decoration: none; padding: 8px 12px; border-radius: 999px; line-height: 1.2; }
.quick-buys .shop a:hover { box-shadow: 2px 2px 0 var(--navy); }
.quick-buys .why { font-size: 14px; }
.quick-buys .tip { margin-top: 12px; }

/* ===== Country look (30 Nov 2026) =====
   Dylan: "more country casual … lose the neon and go with browns and greens".
   Tack-room leather, moss, tweed and cream; saddle-stitch dashes instead of rainbow bars;
   soft shadows instead of hard offset "sticker" shadows; no tilted cards. */
:root { --stitch: rgba(139,90,43,.55); --tweed: #e9e0cc; --bottle: #2f4a32; --parchment: #fbf6ea; }
body {
  background-color: var(--cream);
  background-image:
    repeating-linear-gradient(45deg, rgba(110,90,60,.025) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(-45deg, rgba(70,90,50,.02) 0 2px, transparent 2px 6px);
}
h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; }
h1 { line-height: 1.12; }
a { color: var(--bottle); }
a:hover { color: var(--clay); }

/* Header: cream band, saddle-stitch line, green rule */
.site-header { background: var(--parchment); border-bottom: 3px solid var(--bottle); }
.site-header::after { height: 0; bottom: 6px; left: 0; right: 0; background: none;
  border-top: 2px dashed var(--stitch); }
.brand span { font-weight: 700; font-size: 21px; letter-spacing: 0; }
.nav a { font-weight: 700; color: var(--ink); }
.nav a:hover { color: var(--clay); }

/* Hero */
.eyebrow { color: var(--clay); font-family: var(--serif); font-style: italic; text-transform: none;
  letter-spacing: 0; font-size: 17px; font-weight: 400; }
.hero h1 .mark { background: none; color: var(--bottle); font-style: italic; padding: 0;
  text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: .08em; text-underline-offset: .14em; }
.pill { border-radius: 6px; font-weight: 700; letter-spacing: .01em; }
.pill-pink { background: var(--bottle); color: var(--parchment); box-shadow: 0 2px 0 #1d2f20; }
.pill-pink:hover { background: var(--clay); color: var(--parchment); transform: none; box-shadow: 0 2px 0 #5c3a1b; }
.pill-ghost { border: 2px solid var(--clay); color: var(--clay); background: transparent; }
.pill-ghost:hover { background: var(--clay); color: var(--parchment); }

/* Snapshot collage: photos pinned up in the tack room, gentle angles, cream mounts */
.collage img { border: 8px solid var(--parchment); border-radius: 4px; outline: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(46,36,25,.18); }
.collage .t1 { transform: rotate(-3deg); outline: 1px solid var(--line); }
.collage .t2 { transform: rotate(2.5deg); outline: 1px solid var(--line); }
.collage .t3 { transform: rotate(1deg); outline: 1px solid var(--line); }
/* Rosette badge */
.collage .sticker { background: var(--bottle); color: var(--parchment); font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 17px; line-height: 1.2; transform: rotate(-6deg);
  border: 2px dashed rgba(251,246,234,.6); box-shadow: 0 0 0 6px var(--sun), 0 0 0 9px var(--bottle), 0 8px 20px rgba(46,36,25,.3); }

/* Topic chips */
.chip { --c: var(--ink); --t: var(--parchment); border-width: 1.5px; background: var(--parchment); color: var(--ink);
  border-radius: 6px; font-weight: 700; }

/* Guide cards */
.card { border: 1px solid var(--line); border-bottom: 4px solid var(--c); border-radius: 8px; background: var(--paper);
  box-shadow: 0 2px 8px rgba(46,36,25,.06); }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(46,36,25,.12); }
.card .swatch span { border-radius: 4px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 11.5px; }
.card .go { color: var(--clay); border-bottom: 1.5px dashed var(--stitch); }
.section-title { font-size: 32px; }
.section-title::after { content: ""; display: block; width: 64px; margin-top: 10px; border-top: 2px dashed var(--stitch); }

/* Seasonal strip: bottle-green panel with a stitched edge */
.season-in { background: var(--bottle); border-radius: 10px; box-shadow: 0 8px 22px rgba(46,36,25,.18);
  outline: 2px dashed rgba(251,246,234,.35); outline-offset: -9px; }
.season-title { font-weight: 700; }
.season-links a, .season-links a:nth-child(n) { background: var(--parchment); color: var(--ink); border-radius: 6px; }
.season-links a:nth-child(5n+2) { background: var(--tweed); } .season-links a:nth-child(5n+3) { background: #d9c9a3; }
.season-links a:hover { transform: none; box-shadow: none; background: var(--sun); color: var(--ink); }
.season-ad strong { color: #e3c58a; }
.scard { background: var(--parchment); border-radius: 8px; }
.scard .shop a, .picks .shop a, .quick-buys .shop a { background: var(--bottle); color: var(--parchment); border-radius: 6px; }
.scard .shop a:hover, .picks .shop a:hover, .quick-buys .shop a:hover { background: var(--clay); color: var(--parchment); box-shadow: none; }
.picklist li { border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }

/* Guides */
article .eyebrow { background: none; color: var(--clay); padding: 0; border-radius: 0; }
article h2::after { width: 56px; height: 0; border-radius: 0; background: none; border-top: 2px dashed var(--stitch); }
article h2:nth-of-type(n)::after { background: none; }
.idea { border-left-width: 5px; border-radius: 8px; background: var(--paper); }
.idea .shop a, .shop-line a { background: var(--bottle); color: var(--parchment); border-radius: 6px; }
.idea .shop a:hover, .shop-line a:hover { background: var(--clay); color: var(--parchment); }
.tip { background: var(--tweed); color: var(--ink); border-left: 5px solid var(--blue); border-radius: 8px; }
.tip::before { color: #4d5f33; }
article .hero { box-shadow: 0 12px 28px rgba(46,36,25,.16); border-radius: 8px; }
.related { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.related .follow a { color: var(--clay); }
.btn { background: var(--bottle); color: var(--parchment) !important; box-shadow: none; border-radius: 6px; }
.btn:hover { background: var(--clay); }
.disclosure, .picks-ad { border-radius: 8px; }

/* Visual guide pages */
.guide .idea { background: var(--paper); border-radius: 10px; box-shadow: 0 3px 12px rgba(46,36,25,.07); border-left-width: 5px; }
.guide .idea:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(46,36,25,.12); }
.guide .idea:has(h3:target) { box-shadow: 0 0 0 3px var(--sun), 0 10px 22px rgba(46,36,25,.14); }
.guide .idea.has-img { border-bottom-width: 4px; }
.guide .idea .shop a, .guide .shop-line a { background: var(--bottle); color: var(--parchment); border-radius: 6px; box-shadow: 0 2px 0 #1d2f20; }
.guide .idea .shop a + a, .guide .shop-line a + a { background: transparent; color: var(--clay); box-shadow: inset 0 0 0 1.5px var(--clay); }
.guide .idea .shop a:hover, .guide .shop-line a:hover { background: var(--clay); color: var(--parchment); transform: none; box-shadow: 0 2px 0 #5c3a1b; }
.guide .tag { background: var(--tweed); color: var(--ink); border-radius: 4px; border: 1px solid var(--line); }
.guide .idea.has-img .tag { box-shadow: none; background: var(--parchment); }
.idea-note { background: rgba(46,36,25,.7); }
.guide .pick { background: var(--paper); border-radius: 10px; border: 1px solid var(--line); }
.guide .pick:hover { box-shadow: 0 10px 22px rgba(46,36,25,.14); }
.guide .pick::before, .guide .pick:nth-child(n)::before { background: var(--bottle); color: var(--parchment); box-shadow: 0 0 0 2px var(--parchment); font-family: var(--serif); }
.guide .pick::after { background: rgba(251,246,234,.94); }
.guide .gallery img { border-radius: 8px; }
.guide .tip { background: var(--tweed); border-left: 5px solid var(--blue); border-radius: 8px; color: var(--ink); }
.guide aside.tip > strong:first-child { color: #4d5f33; }
.related-list img, .related-list .rel-swatch { border-radius: 6px; background: linear-gradient(135deg, var(--lime), var(--blue)); }
@media (min-width: 1024px) {
  .guide.has-hero .guide-head .hero { border-radius: 10px; box-shadow: 0 16px 34px rgba(46,36,25,.18);
    border: 8px solid var(--parchment); }
}

/* Link-in-bio page */
.linkbtn { border-radius: 8px; border-width: 1.5px; }
.linklist.featured .linkbtn, .linklist.featured li:nth-child(n) .linkbtn { background: var(--bottle); color: var(--parchment); }
.linklist.featured li:nth-child(2n) .linkbtn { background: var(--clay); color: var(--parchment); }

/* Footer: dark tack brown with a stitched top edge */
.site-footer { background: var(--navy); color: #e6dcc6; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; border-top: 2px dashed rgba(184,137,63,.5); }
.site-footer a { color: var(--parchment); }
.site-footer a:hover { color: #e3c58a; }
@media (min-width: 1024px) { .guide-head h1 { font-size: 40px; } }
article h1 { font-size: clamp(30px, 5vw, 42px); }
