/* mycosupplies "studio" skin. Loaded last: a different layout language to the rest (flat paper, ink outlines, hard shadows, big grotesk type, mono labels). Light and dark. */
:root {
  --paper: #f7f8f2; --card: #ffffff; --ink: #132212; --muted: #51644f; --line: #132212;
  --forest: #21441e; --forest-2: #2c5b29; --sage: #edeede; --sage-2: #dbe3d6;
  --accent: #ff6b4a; --accent-d: #e5502e; --ok: #1f7a4d; --warn: #b4472b;
  --radius: 6px; --shadow: 4px 4px 0 var(--ink); --shadow-lg: 7px 7px 0 var(--ink);
  --display: 'Super Vibes', 'Bricolage Grotesque', system-ui, sans-serif; --serif: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --hair: rgba(19,34,18,.16);
}
@media (prefers-color-scheme: dark) { :root {
  --paper: #0e180d; --card: #152114; --ink: #f3f4ea; --muted: #abb5a5; --line: #f3f4ea;
  --forest: #f3f4ea; --forest-2: #a9ca96; --sage: #1b2b1a; --sage-2: #263d24;
  --accent: #ff7d5f; --accent-d: #ff9277; --ok: #5fcf93; --warn: #ff9a7a;
  --shadow: 4px 4px 0 #a9ca96; --shadow-lg: 7px 7px 0 #a9ca96; --hair: rgba(243,244,234,.16);
} }
body { background: var(--paper); color: var(--ink); font-size: 15.5px; letter-spacing: 0; }
h1, h2, h3, h4, .brand .name, .how .n { font-family: var(--display); font-weight: 800; letter-spacing: -.04em; }
h3, h4 { font-weight: 700; letter-spacing: -.025em; }
.wrap { max-width: 1280px; padding: 0 28px; }
.eyebrow, .badge, .brand .tag, footer.site h6, .trust span, .collage .tile span, .cat .num { font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; font-weight: 500; }

/* buttons: boxy, ink outline, hard shadow that collapses on press */
.btn, .codebtn, .cartbtn { border-radius: 4px; border: 2px solid var(--ink); font-weight: 700; letter-spacing: -.005em; box-shadow: 3px 3px 0 var(--ink); transition: transform .08s, box-shadow .08s, background .15s; }
.btn:hover, .codebtn:hover, .cartbtn:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active, .codebtn:active, .cartbtn:active { transform: translate(3px,3px); box-shadow: 0 0 0 var(--ink); }
.btn-accent { background: var(--accent); color: #132212; } .btn-accent:hover { background: var(--accent-d); }
.btn-primary { background: var(--ink); color: var(--paper); } .btn-primary:hover { background: var(--ink); color: var(--accent); }
.btn-ghost { background: var(--card); color: var(--ink); } .btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--card); color: var(--ink); }
.btn[disabled] { background: var(--sage); color: var(--muted); border-color: var(--hair); box-shadow: none; transform: none; }
.codebtn { background: var(--card); color: var(--ink); } .cartbtn { background: var(--accent); color: #132212; } .cartbtn .n { background: #132212; color: var(--accent); border-radius: 3px; }
@media (prefers-color-scheme: dark) { .btn, .codebtn, .cartbtn { border-color: #a9ca96; box-shadow: 3px 3px 0 #a9ca96; } .btn:hover, .codebtn:hover, .cartbtn:hover { box-shadow: 5px 5px 0 #a9ca96; } .btn-accent, .cartbtn { color: #132212; } .btn-primary { background: #f3f4ea; color: #132212; } .btn-primary:hover { color: #132212; background: #a9ca96; } .btn-ghost:hover { background: #a9ca96; color: #132212; } .cartbtn .n { background: #132212; } }

/* top line and header: flat, ruled, not floating */
.topbar { background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; padding: 8px 12px; } .topbar b { color: var(--accent); }
header.site { position: sticky; top: 0; margin: 0; background: var(--paper); backdrop-filter: none; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; box-shadow: none; }
header.site .wrap { height: 104px; padding: 0 28px; }
.brand img { width: 84px; height: 84px; } .brand { gap: 14px; }
.brand .name { font-size: 28px; line-height: .92; letter-spacing: -.05em; } .brand .tag { display: none; }
nav.main { gap: 0; background: none; padding: 0; border-radius: 0; }
nav.main a { border-radius: 0; padding: 42px 14px 40px; font-weight: 600; font-size: 14px; color: var(--ink); border-bottom: 4px solid transparent; margin-bottom: -2px; background: none; box-shadow: none; }
nav.main a:hover, nav.main a.on { background: none; color: var(--ink); box-shadow: none; border-bottom-color: var(--accent); }
@media (prefers-color-scheme: dark) { nav.main a { color: #f3f4ea; } }
@media (max-width: 1000px) { nav.main a { padding: 42px 9px 40px; font-size: 13px; } }
@media (max-width: 720px) { header.site .wrap { height: 80px; padding: 0 16px; } .wrap { padding: 0 16px; } .brand img { width: 62px; height: 62px; } .brand .name { font-size: 24px; } .burger { color: var(--ink); } nav.main { top: 80px; background: var(--paper); border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 6px 16px 14px; box-shadow: none; } nav.main a { padding: 14px 0; border-bottom: 1px solid var(--hair); margin: 0; } }

/* hero: oversized headline across the full width, copy left, arch-shaped pictures in a row below */
.hero { background: none; padding: 54px 0 40px; margin: 0; border-bottom: 2px solid var(--ink); overflow: visible; }
.hero::before { display: none; }
.hero .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: start; }
.hero .wrap > div:first-child { display: contents; }
.hero .eyebrow { grid-column: 1 / -1; justify-self: start; background: var(--accent); color: #132212; border: 2px solid var(--ink); border-radius: 3px; padding: 5px 10px; margin-bottom: 22px; }
.hero .eyebrow::before { display: none; }
.hero h1 { grid-column: 1 / -1; font-size: clamp(48px, 9.2vw, 138px); line-height: .88; letter-spacing: -.065em; font-weight: 800; margin: 0 0 34px; max-width: 14ch; }
.hero h1 em { font-style: normal; background: #21441e; color: #fff; padding: 0 .12em; margin: 0 -.04em; box-decoration-break: clone; -webkit-box-decoration-break: clone; -webkit-text-fill-color: #fff; border-radius: 4px; }
.hero p.lead { grid-column: 1 / span 5; font-size: 19px; line-height: 1.5; max-width: 480px; color: var(--ink); }
.hero .cta { grid-column: 1 / span 5; margin: 22px 0 18px; }
.trust { grid-column: 1 / span 5; gap: 8px; } .trust span { background: none; border: 1.5px solid var(--ink); border-radius: 3px; padding: 5px 9px; color: var(--ink); } .trust span::before { content: '+'; margin-right: 6px; color: var(--ink); font-weight: 700; vertical-align: 0; font-size: inherit; }
.collage { grid-column: 6 / -1; grid-row: 3 / span 3; display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: auto; gap: 10px; align-self: end; }
.collage .tile, .t1, .t2, .t3, .t4, .t5 { grid-column: auto; grid-row: auto; border-radius: 999px 999px 6px 6px; border: 2px solid var(--ink); box-shadow: none; aspect-ratio: 3/5; background: var(--sage); transition: transform .2s; }
.collage .tile:nth-child(even) { transform: translateY(26px); } .collage .tile:hover { transform: translateY(-6px); } .collage .tile:nth-child(even):hover { transform: translateY(18px); }
.collage .tile img { height: 100%; object-fit: cover; }
.collage .tile span { left: 50%; transform: translateX(-50%); bottom: 10px; white-space: nowrap; background: var(--card); border: 1.5px solid var(--ink); border-radius: 3px; padding: 3px 7px; color: var(--ink); font-size: 10px; backdrop-filter: none; }
@media (max-width: 900px) { .hero .wrap { display: block; } .hero .wrap > div:first-child { display: block; } .hero h1 { font-size: clamp(44px, 14vw, 80px); } .collage { display: none; } .hero p.lead { max-width: none; } }

/* promise: a full-bleed black ticker band */
.freshstrip { background: var(--ink); border: 0; margin: 0; padding: 0; border-bottom: 2px solid var(--ink); color: var(--paper); }
.freshstrip .wrap { display: block; text-align: left; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 13px 28px; max-width: 1280px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--paper); }
.freshstrip b { color: var(--accent) !important; text-transform: uppercase; } .freshstrip a { color: var(--accent) !important; margin-left: 10px; font-weight: 600; white-space: nowrap; }

/* section headings: mono label with a rule, then big type */
.sec-head { max-width: none; margin-bottom: 30px; border-top: 2px solid var(--ink); padding-top: 14px; }
.eyebrow { display: inline-block; background: none; border-radius: 0; padding: 0; color: var(--ink); margin-bottom: 8px; } .eyebrow::before { content: '/ '; color: var(--forest-2); }
@media (prefers-color-scheme: dark) { .eyebrow::before { color: #a9ca96; } }
.hero .eyebrow::before { content: none; }
.sec-head h2, .panel-head h2 { font-size: clamp(34px, 5.4vw, 72px); line-height: .92; letter-spacing: -.055em; margin: 4px 0 12px; }
.sec-head p, .panel-head p { max-width: 560px; color: var(--muted); }

/* the traceable band and the guide band: solid lime blocks with a hard shadow */
.dark-band { background: #21441e; color: #f3f4ea; border: 2px solid var(--ink); border-radius: 6px; box-shadow: var(--shadow-lg); padding: 38px; }
.dark-band h2 { color: #fff; font-size: clamp(30px, 4.2vw, 56px); line-height: .94; letter-spacing: -.055em; } .dark-band p { color: #d2ddcc; font-size: 16px; }
.dark-band .eyebrow { color: #a9ca96 !important; } .dark-band .eyebrow::before { color: #ff7d5f; background: none; }
.dark-band .btn-accent { background: #ff6b4a; color: #132212; border-color: #132212; box-shadow: 3px 3px 0 #132212; }
.lookup2 input { border: 2px solid #132212; border-radius: 4px; background: #fff; color: #132212; }
.qrmock { background: #fff; border: 2px solid #132212; border-radius: 4px; box-shadow: 4px 4px 0 #ff6b4a; }
@media (prefers-color-scheme: dark) { .dark-band { border-color: #a9ca96; background: #1a3618; } }

/* category tiles: numbered boxes */
.catgrid { gap: 0; border: 2px solid var(--ink); border-radius: 6px; background: var(--card); overflow: hidden; box-shadow: var(--shadow); counter-reset: cat; }
.cat { border: 0; border-right: 2px solid var(--ink); border-radius: 0; box-shadow: none; background: var(--card); counter-increment: cat; position: relative; display: flex; flex-direction: column; }
.cat:last-child { border-right: 0; }
.cat::before { content: '0' counter(cat); position: absolute; top: 10px; left: 12px; z-index: 2; font-family: var(--mono); font-size: 11px; background: var(--card); border: 1.5px solid var(--ink); border-radius: 3px; padding: 1px 6px; color: var(--ink); }
.cat .art { height: 150px; margin: 0; border-radius: 0; border-bottom: 2px solid var(--ink); }
.cat .txt { padding: 14px 16px 18px; } .cat h3 { font-size: 21px; letter-spacing: -.04em; } .cat p { color: var(--muted); }
.cat:hover { transform: none; box-shadow: none; background: var(--accent); } .cat:hover h3, .cat:hover p { color: #132212; }
.cat.on { background: var(--accent); box-shadow: none; } .cat.on h3, .cat.on p { color: #132212; }
@media (max-width: 720px) { .catgrid { border-radius: 6px; } .cat { border-bottom: 2px solid var(--ink); } }

/* panels, cards, steps, options: ruled boxes, no soft shadows */
.card { border: 2px solid var(--ink); border-radius: 6px; box-shadow: var(--shadow); background: var(--card); }
.pcard { transition: transform .12s, box-shadow .12s; } .pcard:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.pcard .img { margin: 0; border-radius: 0; border-bottom: 2px solid var(--ink); } .pcard .body { padding: 14px 16px 16px; } .pcard h4 { font-size: 18px; }
.step { padding: 26px; } .step .num { border-radius: 3px; background: var(--accent); color: #132212; border: 2px solid var(--ink); font-family: var(--mono); width: 34px; height: 34px; } .step h3 { font-size: 26px; letter-spacing: -.05em; }
.opt { border: 2px solid var(--ink); border-radius: 6px; background: var(--card); box-shadow: 3px 3px 0 var(--ink); } .opt:hover { border-color: var(--ink); transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink); }
.opt.on { background: var(--accent); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); } .opt.on h4, .opt.on p, .opt.on .ot { color: #132212; }
.opt .oi { margin: 0; border-radius: 0; border-bottom: 2px solid var(--ink); }
@media (prefers-color-scheme: dark) { .opt, .opt:hover, .opt.on { box-shadow: 3px 3px 0 #a9ca96; } .opt { border-color: #f3f4ea; } }
.pair, .extra, .alloc, .recbox, .notice, .panelbox, .fact, .tr { border-radius: 4px; border-color: var(--ink); }
.recbox, .notice.soft { background: var(--sage); border: 1.5px solid var(--ink); color: var(--ink); } .recbox b, .notice.soft b { color: var(--ink); }
.sumcard { border-radius: 6px; box-shadow: var(--shadow-lg); }
.how { padding: 28px; } .how .n { font-size: 72px; background: none; -webkit-text-fill-color: var(--ink); color: var(--ink); letter-spacing: -.08em; line-height: .8; margin-bottom: 14px; }
.how .n::after { content: ''; display: block; width: 44px; height: 10px; background: var(--accent); margin-top: 8px; border: 1.5px solid var(--ink); }
input, select, textarea { border-radius: 4px; border: 2px solid var(--ink) !important; background: var(--card) !important; color: var(--ink) !important; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; }
.badge { border-radius: 3px; border: 1.5px solid var(--ink); background: var(--card); color: var(--ink) !important; } .badge.ok { background: var(--accent); color: #132212 !important; } .badge.warn { background: #ffd6c2; color: #7a2a05 !important; } .badge.dark { background: var(--ink); color: var(--paper) !important; }
.chip { border-radius: 3px; border: 1.5px solid var(--ink); background: var(--card); color: var(--ink); } .chip.on { background: var(--accent); color: #132212; }
.switch button.on, .mtab.on { background: var(--accent) !important; color: #132212 !important; }
.drawer, .modal { border-radius: 0; border-left: 2px solid var(--ink); background: var(--paper); } .modal { border: 2px solid var(--ink); border-radius: 6px; box-shadow: var(--shadow-lg); }
.toast { background: var(--ink); color: var(--paper); border-radius: 4px; }
a { text-underline-offset: 3px; }

/* footer: black block with a giant wordmark */
footer.site { background: var(--ink); color: var(--paper); border-radius: 0; margin: 64px 0 0; padding: 64px 0 28px; position: relative; overflow: hidden; }
footer.site a { color: #c6cfc0; } footer.site a:hover { color: var(--accent); } footer.site h6 { color: var(--accent); }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.18); color: #9ea898; font-family: var(--mono); font-size: 11.5px; }
footer.site::after { content: 'mycosupplies'; display: block; font-family: var(--display); font-weight: 800; font-size: clamp(54px, 13.5vw, 210px); letter-spacing: -.07em; line-height: .8; color: var(--accent); margin: 38px 0 -.12em 24px; white-space: nowrap; }
@media (prefers-color-scheme: dark) { footer.site { background: #0b160a; border-top: 2px solid #a9ca96; } footer.site .legal { color: #9ea898; } }
footer.site .logo { filter: none; }
.hero h1 { line-height: .95; }
.hero h1 em { display: inline-block; line-height: .98; padding: .02em .14em .08em; margin: .06em 0 0 -.06em; }
.dark-band, .dark-band p, .dark-band a, .dark-band .fine, .dark-band small, .dark-band span:not(.eyebrow) { color: #edeede; } .dark-band .qrmock, .dark-band .qrmock span { color: #132212 !important; } .dark-band .btn-accent { color: #132212; }
@media (prefers-color-scheme: dark) { .topbar { background: #1b2b1a; color: #f3f4ea; border-bottom: 1px solid #a9ca96; } .topbar b { color: #a9ca96; } header.site { background: #0e180d; border-bottom-color: #a9ca96; } .hero { border-bottom-color: #a9ca96; } .sec-head { border-top-color: #a9ca96; } .freshstrip { background: #1b2b1a; border-bottom: 1px solid #a9ca96; } .card, .catgrid, .cat, .cat .art, .pcard .img, .opt .oi { border-color: #f3f4ea; } .catgrid { box-shadow: 4px 4px 0 #a9ca96; } }
@media (max-width: 900px) { .hero h1 em { display: inline; padding: 0 .1em; line-height: 1.12; } }
@media (prefers-color-scheme: dark) { .hero h1 em { background: #a9ca96; color: #0e180d; -webkit-text-fill-color: #0e180d; } }
/* Super Vibes for the big display type */
h1, h2, .brand .name, .how .n, footer.site::after { font-family: 'Super Vibes', system-ui, sans-serif; font-weight: 400; letter-spacing: .005em; }
h3, h4 { font-family: 'Inter', system-ui, sans-serif; font-weight: 700; letter-spacing: -.02em; }
.brand .name { font-size: 36px; line-height: .9; } .brand { gap: 16px; }
.hero h1 { font-size: clamp(40px, 7.2vw, 104px); line-height: 1.02; letter-spacing: .005em; margin-bottom: 34px; max-width: 15ch; }
.hero h1 em { line-height: 1.04; padding: .02em .16em .1em; }
.sec-head h2, .panel-head h2 { font-size: clamp(32px, 5vw, 64px); line-height: 1.02; letter-spacing: .005em; }
.dark-band h2 { font-size: clamp(28px, 3.8vw, 48px); line-height: 1.05; letter-spacing: .005em; }
.step h3 { font-size: 22px; font-family: 'Super Vibes', system-ui, sans-serif; font-weight: 400; letter-spacing: .005em; }
.how .n { font-size: 64px; letter-spacing: 0; line-height: .9; }
footer.site::after { font-size: clamp(48px, 11.5vw, 180px); letter-spacing: 0; line-height: .9; margin-bottom: -.05em; }
@media (max-width: 720px) { .brand .name { font-size: 28px; } .hero h1 { font-size: clamp(36px, 11vw, 54px); } }
/* hero headline keeps the big grotesk; everything else display is Super Vibes */
.hero h1 { font-family: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif; font-weight: 800; font-size: clamp(44px, 8.4vw, 124px); line-height: .95; letter-spacing: -.055em; max-width: 14ch; }
.hero h1 em { line-height: .98; padding: .02em .14em .08em; }
.brand img { flex: none; }
@media (max-width: 720px) { .hero h1 { font-size: clamp(40px, 12.5vw, 60px); } .hero h1 em { padding: 0 .1em; line-height: 1.1; } }
.hero h1 { max-width: none; } .hero h1 em { display: inline; line-height: 1.05; padding: .02em .14em .1em; }
.brand picture { flex: none; display: block; line-height: 0; }
@media (max-width: 720px) { .brand picture, .brand img { width: 62px; height: 62px; } .brand .name { font-size: 26px; } }
@media (max-width: 720px) { .brand { gap: 10px; min-width: 0; } .brand .name { font-size: 22px; } .brand picture, .brand img { width: 54px; height: 54px; } header.site .wrap { gap: 8px; } .cartbtn { padding: 8px 12px; } }
/* hero headline in Super Vibes too */
.hero h1 { font-family: 'Super Vibes', system-ui, sans-serif; font-weight: 400; font-size: clamp(34px, 5.8vw, 84px); line-height: 1.1; letter-spacing: .005em; max-width: 18ch; }
.hero h1 em { line-height: 1.1; padding: .02em .14em .08em; }
@media (max-width: 720px) { .hero h1 { font-size: clamp(32px, 9.6vw, 46px); max-width: none; } }
.hero h1 { line-height: 1.12; max-width: 20ch; }
.hero h1 em { background: none; padding: 0; margin: 0; color: #2c5b29; -webkit-text-fill-color: #2c5b29; text-decoration: underline; text-decoration-color: #ff6b4a; text-decoration-thickness: .07em; text-underline-offset: .1em; }
@media (prefers-color-scheme: dark) { .hero h1 em { background: none; color: #a9ca96; -webkit-text-fill-color: #a9ca96; text-decoration-color: #ff7d5f; } }
@media (prefers-color-scheme: dark) { .freshstrip, .freshstrip .wrap { color: #f3f4ea; } }
@media (max-width: 720px) { .hero h1 { line-height: 1.22; } }

/* no giant footer wordmark */
footer.site::after { content: none; display: none; }
footer.site { padding-bottom: 20px; }

/* top tabs: boxed buttons that stand out from the page. Below 1100px the tabs fold into the menu button, so they never run under the logo */
@media (min-width: 1280px) {
  nav.main { gap: 8px; flex-wrap: nowrap; }
  nav.main a { white-space: nowrap; padding: 10px 14px; margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); background: var(--card, #fff); border: 2px solid var(--ink); border-radius: 0; box-shadow: 3px 3px 0 var(--ink); transition: transform .08s, box-shadow .08s, background .08s; }
  nav.main a:hover { background: var(--accent); color: #fff; border-color: var(--ink); box-shadow: 5px 5px 0 var(--ink); transform: translate(-2px, -2px); }
  nav.main a.on { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 3px 3px 0 var(--accent); }
}
@media (min-width: 1280px) and (prefers-color-scheme: dark) { nav.main a { background: #152114; color: #f3f4ea; border-color: #a9ca96; box-shadow: 3px 3px 0 #a9ca96; } nav.main a:hover { background: var(--accent); color: #fff; box-shadow: 5px 5px 0 #a9ca96; } nav.main a.on { background: #a9ca96; color: #0e180d; box-shadow: 3px 3px 0 var(--accent); } }
@media (min-width: 721px) and (max-width: 1279px) {
  .burger { display: block; color: var(--ink); }
  nav.main { display: none; position: absolute; top: 96px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 6px 24px 14px; box-shadow: none; z-index: 30; }
  nav.main.open { display: flex; }
  nav.main a { padding: 14px 0; border: 0; border-bottom: 1px solid var(--hair); margin: 0; font-size: 15px; background: none; box-shadow: none; }
}
@media (min-width: 721px) and (max-width: 1279px) and (prefers-color-scheme: dark) { nav.main { background: #0e180d; } }

@media (min-width: 1280px) and (max-width: 1420px) { nav.main { gap: 6px; } nav.main a { padding: 9px 10px; font-size: 11.5px; letter-spacing: .03em; } .brand .name { font-size: 38px; } }
/* the wordmark: ".supplies" in the same blue as the headline (teal in light mode, light blue in dark mode) */
.brand .name .dot { color: var(--forest-2, #2c5b29); }
/* footer logo: big and clear */
footer.site .logo { width: 220px; height: 220px; margin: -12px 0 10px -10px; }
@media (max-width: 720px) { footer.site .logo { width: 170px; height: 170px; } }
/* dark mode: footer text was dark-on-dark (it used the page colour); keep it readable, including the research and microscopy notice */
@media (prefers-color-scheme: dark) { footer.site { color: #e1e7dd; } }

/* Phase 5: the five species arches show on phones too, labelled and clickable */
a.tile { text-decoration: none; color: inherit; display: block; }
.collage .tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.shopnotes { margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.shopnotes:not(:has(b)) { display: none; }
/* edit-mode wrappers inside the tick lines were picking up a second box and a second plus */
.trust span span[data-ht] { border: 0; padding: 0; background: none; font: inherit; }
.trust span span[data-ht]::before { content: none; }
@media (max-width: 900px) {
  .hero .collage { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
  .collage .tile, .collage .tile:nth-child(even), .collage .tile:hover { flex: none; width: calc((100% - 20px) / 3); aspect-ratio: 3 / 4.4; height: auto; transform: none; }
  .collage .tile span { width: calc(100% - 10px); white-space: normal; text-align: center; line-height: 1.25; font-size: 10.5px; bottom: 6px; padding: 4px 3px; }
}


/* Phase 5: footer links stay clearly readable in dark mode */
@media (prefers-color-scheme: dark) {
  footer.site, footer.site p { color: #dceadf; }
  footer.site a, footer.site .linkbtn { color: #eef7f0; }
  footer.site a:hover { color: var(--accent); text-decoration: underline; }
  footer.site .legal, footer.site .legal a { color: #b9d1bf; }
}

/* Phase 5: a small QR badge beside the batch box, and a preview of what a scan shows */
.lookup2 { align-items: center; }
.lookup2 input { min-width: 0; }
.qrbadge { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px; background: #fff; border-radius: 6px; text-decoration: none; flex: none; }
.dark-band .qrbadge, .dark-band .qrbadge span { color: #132212; }
.qrbadge .qrslot svg { width: 54px; height: 54px; display: block; }
.qrbadge span:not(.qrslot) { font-size: 8.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.scanprev { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: 8px; background: var(--card); border: 2px solid var(--line); text-decoration: none; }
.dark-band .scanprev, .dark-band .scanprev span, .dark-band .scanprev strong, .dark-band .scanprev b, .dark-band .scanprev small { color: var(--ink); }
.sp-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sp-tag { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; border: 1.5px solid var(--line); border-radius: 3px; padding: 3px 7px; }
.sp-top b { font-family: var(--mono); font-size: 13px; }
.scanprev strong { font-size: 16px; line-height: 1.25; }
.sp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px; }
.sp-grid small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.sp-line, .sp-go { font-size: 12.5px; border-top: 1px solid var(--hair); padding-top: 8px; }
.sp-go { font-weight: 700; border: 0; padding: 0; }
@media (max-width: 560px) { .lookup2 input { flex: 1 1 0; } .lookup2 .btn { flex: 1 0 100%; } }
