/* Bush Turkey. Cut-paper art on a white page: architectural, modern, calm (Jeremy, 5 Oct 2026).
   Token names are shared with catalog.css: keep them. */
:root {
  --bone: #ffffff;
  --bone-2: #ececea;
  --paper: #f6f6f4;
  --ink: #1d1a15;
  --ink-2: #57534d;
  --red: #c7381f;
  --yellow: #e9b72e;
  --dirt: #8a5a34;
  --sage: #9aa88a;
  --sage-2: #6f7d5f;
  --line: 1px solid rgba(29, 26, 21, .22);
  --line-strong: 1.5px solid var(--ink);
  --shadow: none;
  --shadow-sm: none;
  --radius: 14px;
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bone); color: var(--ink); font: 16px/1.6 var(--body); overflow-x: hidden; }
a { color: inherit; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-head { background: var(--bone); border-bottom: var(--line); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.brand span { font: 700 24px/1 var(--display); letter-spacing: -0.03em; }
.brand:hover { color: var(--ink); }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { white-space: nowrap; text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--paper); color: var(--ink); }
.nav .mound-link { background: var(--ink); color: var(--bone); margin-left: 6px; }
.nav .mound-link:hover { background: var(--red); color: var(--paper); }
.mound-count { display: inline-block; min-width: 20px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--yellow); color: var(--ink); font: 600 12px/20px var(--mono); text-align: center; }
.mound-count:empty { display: none; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.0; margin: 0 0 14px; }
h1 { font-size: clamp(46px, 7.4vw, 104px); }
h2 { font-size: clamp(32px, 4.6vw, 58px); }
h3 { font-size: 24px; font-weight: 500; }
h1 em, h2 em { font-style: normal; color: var(--red); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 620px; }
.hl { font-style: normal; color: var(--red); }
.red { color: var(--red); }

/* architect's dimension line above a heading */
.kicker { display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-2); margin-bottom: 18px; }
.kicker::before, .kicker::after { content: ""; height: 9px; flex: 0 0 28px; border-left: 1px solid var(--ink-2); border-right: 1px solid var(--ink-2); background: linear-gradient(var(--ink-2), var(--ink-2)) center / 100% 1px no-repeat; }
.kicker::after { flex: 1 1 auto; max-width: 90px; }
.scribble { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-block; font: 500 16px/1 var(--body); text-decoration: none; padding: 15px 24px; border-radius: 999px; background: var(--ink); color: var(--bone); transition: background .15s; }
.btn:hover { background: var(--red); color: var(--paper); }
.btn.alt { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.alt:hover { background: var(--ink); color: var(--bone); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--bone) var(--hero) right bottom / min(1500px, 94%) auto no-repeat; min-height: min(640px, calc(94vw / 2.33)); display: flex; align-items: center; border-bottom: var(--line); }
.hero .wrap { width: 100%; }
.hero-copy { max-width: min(500px, 40%); padding: 80px 0; }
.hero h1 { font-size: clamp(44px, 5.4vw, 78px); }
@media (max-width: 1100px) {
  .hero { background-size: 175% auto; background-position: right -4% bottom; min-height: 0; }
  .hero-copy { max-width: 640px; padding: 48px 0 70vw; }
}

.fossick { display: flex; max-width: 520px; margin-top: 28px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); overflow: hidden; }
.fossick input { flex: 1; min-width: 0; border: 0; background: none; padding: 15px 20px; font: 400 16px var(--body); color: var(--ink); outline: none; }
.fossick button { border: 0; margin: 5px; border-radius: 999px; background: var(--yellow); padding: 0 22px; font: 600 17px var(--display); cursor: pointer; color: var(--ink); }
.fossick button:hover { background: var(--red); color: var(--paper); }

/* ---------- ticker ---------- */
.ticker { background: var(--red); color: var(--paper); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-block; padding: 13px 0; font: 600 20px/1 var(--display); letter-spacing: -0.01em; animation: tick 50s linear infinite; }
.ticker-track span { margin: 0 16px; }
.ticker-track span.dot { color: var(--yellow); font-style: normal; font-size: 14px; vertical-align: 3px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- sections ---------- */
section { padding: 90px 0; }
section.tint { background: var(--paper); }
section.field-red { background: var(--red); color: var(--paper); }
section.field-red .kicker { color: #f6cfc5; }
section.field-red .kicker::before, section.field-red .kicker::after { border-color: #f6cfc5; background-image: linear-gradient(#f6cfc5, #f6cfc5); }
section.field-red .lede { color: #f6d9d1; }
section.field-red h2 em { color: var(--yellow); }
section.field-red .btn.alt { color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--paper); }
section.field-red .btn.alt:hover { background: var(--paper); color: var(--red); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 34px; }

/* category cards */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.cat { position: relative; display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border-radius: var(--radius); overflow: hidden; transition: transform .2s; }
a.cat:hover { color: var(--ink); transform: translateY(-4px); }
.cat .art { aspect-ratio: 1 / 0.86; display: grid; place-items: center; padding: 22px; }
.cat .art img { max-height: 100%; width: auto; transition: transform .3s; }
a.cat:hover .art img { transform: rotate(-4deg) scale(1.04); }
.cat:nth-child(5n+1) .art { background: #f4f1ea; }
.cat:nth-child(5n+2) .art { background: #eef0ee; }
.cat:nth-child(5n+3) .art { background: #dfe3d3; }
.cat:nth-child(5n+4) .art { background: #f3ecea; }
.cat:nth-child(5n+5) .art { background: #f1f1ef; }
.cat .body { padding: 16px 18px 20px; }
.cat .body h3 { margin-bottom: 4px; }
.cat .body p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.stamp { position: absolute; top: 14px; right: 14px; font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; padding: 6px 9px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }
.stamp.live { background: var(--ink); color: var(--bone); }

/* how it works */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: var(--line-strong); }
.steps li { padding: 22px 22px 8px 0; border-right: var(--line); margin-right: 22px; }
.steps li:last-child { border-right: 0; }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; font: 500 12px/1 var(--mono); letter-spacing: .12em; color: var(--red); margin-bottom: 18px; }
.steps p { margin: 0; color: var(--ink-2); }

/* split block */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.split img { max-width: 420px; width: 100%; margin: 0 auto; }

/* ---------- compare page ---------- */
.page-head { padding: 56px 0 24px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.page-head img { width: 200px; }
.toolbar { position: sticky; top: 76px; z-index: 10; background: var(--bone); padding: 14px 0; border-top: var(--line); border-bottom: var(--line); display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.filter-group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filter-group .label { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); margin-right: 4px; }
.chip { border: 0; box-shadow: inset 0 0 0 1px rgba(29,26,21,.3); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 7px 13px; font: 500 14px/1 var(--body); cursor: pointer; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bone); box-shadow: none; }
.result-count { font: 500 13px var(--mono); color: var(--ink-2); margin-left: auto; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; padding: 26px 0 60px; }
.swatch { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s; }
.swatch:hover { transform: translateY(-3px); }
.swatch[hidden] { display: none; }
.swatch .chipcolour { height: 150px; display: block; position: relative; }
.chipcolour.nohex { background: repeating-linear-gradient(45deg, var(--bone-2), var(--bone-2) 8px, var(--paper) 8px, var(--paper) 16px); }
.nohex-note { position: absolute; left: 10px; right: 10px; bottom: 10px; font: 500 11px/1.3 var(--mono); color: var(--ink-2); }
.swatch .meta { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.swatch .name { font-weight: 600; text-decoration: none; line-height: 1.25; }
.swatch .brandname { font-size: 13px; color: var(--ink-2); }
.swatch .facts { font: 12px/1.4 var(--mono); color: var(--ink-2); margin-top: 4px; }
.swatch .tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.tag { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 7px; border-radius: 999px; background: var(--bone); color: var(--ink-2); }
.tag.hot { background: var(--yellow); color: var(--ink); }
.add { margin-top: 10px; align-self: flex-start; border: 0; box-shadow: inset 0 0 0 1px rgba(29,26,21,.35); background: none; border-radius: 999px; padding: 6px 12px; font: 500 13px/1 var(--body); cursor: pointer; color: var(--ink); }
.add:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.add[aria-pressed="true"] { background: var(--red); color: var(--paper); box-shadow: none; }
.fine { font-size: 14px; color: var(--ink-2); max-width: 760px; padding-bottom: 50px; }

/* ---------- colour detail ---------- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 50px 0; }
.big-chip { border-radius: 20px; min-height: 400px; }
.facts-table { width: 100%; border-collapse: collapse; margin: 22px 0; }
.facts-table th, .facts-table td { text-align: left; padding: 11px 0; border-bottom: var(--line); vertical-align: top; }
.facts-table th { font: 500 11px/1.7 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); width: 38%; }
.matches { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.match { background: var(--paper); border-radius: 12px; overflow: hidden; text-decoration: none; }
.match:hover { color: var(--ink); transform: translateY(-3px); }
.match span.c { display: block; height: 84px; }
.match div { padding: 10px 12px; font-size: 13px; line-height: 1.4; }
.match b { display: block; font-size: 14px; }
.de { font: 500 12px var(--mono); color: var(--ink-2); }
.evidence { padding-left: 18px; }
.evidence li { margin-bottom: 8px; }

/* ---------- mound ---------- */
.mound-empty { background: var(--paper); border-radius: var(--radius); padding: 40px 30px; text-align: center; }
.mound-empty img { width: 180px; margin: 0 auto 14px; }
.mound-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 14px; }
.mound-row .swatch .chipcolour { height: 300px; }

/* ---------- prose ---------- */
.prose { max-width: 720px; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; }
.prose h2 { margin-top: 46px; font-size: clamp(28px, 3.4vw, 40px); }

/* ---------- footer: the mound ---------- */
main { position: relative; z-index: 1; }
.site-foot { position: relative; margin-top: 140px; background: var(--dirt); color: var(--paper); padding: 70px 0 40px; }
.site-foot::before { content: ""; position: absolute; left: 50%; top: -110px; width: 440px; max-width: 80vw; height: 111px; transform: translateX(-50%); background: var(--dirt); border-radius: 220px 220px 0 0; }
.site-foot .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; }
.site-foot img { width: 72px; }
.site-foot .tagline { font: 700 clamp(24px, 3vw, 34px)/1.1 var(--display); letter-spacing: -0.03em; }
.site-foot .links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 500; }
.site-foot a { color: var(--paper); text-decoration-color: var(--yellow); }
.site-foot a:hover { color: var(--yellow); }
.site-foot .small { grid-column: 1 / -1; font-size: 13px; color: #e9d6c0; border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; }

/* ---------- 404 ---------- */
.lost { text-align: center; padding: 70px 20px 20px; }
.lost img { max-width: 420px; margin: 0 auto 16px; }

@media (max-width: 820px) {
  .split, .detail, .page-head { grid-template-columns: 1fr; }
  .page-head img { width: 140px; }
  .nav a:not(.mound-link) { display: none; }
  .toolbar { position: static; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .big-chip { min-height: 240px; }
  .site-foot .wrap { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: var(--line); margin-right: 0; padding-bottom: 18px; }
  section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .hero { background-size: 230% auto; background-position: right -8% bottom; }
  .hero-copy { padding-bottom: 92vw; }
  .brand span { font-size: 21px; }
}
