/* splashncolor.com — one stylesheet, three seeded looks picked by html[data-theme]; A (bakery counter) is the default. */
@font-face { font-family: 'Baloo 2'; src: url(/assets/fonts/baloo2-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(/assets/fonts/nunito-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Varela Round'; src: url(/assets/fonts/varela.woff2) format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --bg: #fbf5ea; --bg-2: #f3e7cf; --ink: #26211b; --ink-2: #6b5f4e; --line: #e4d6b8;
  --teal: #1f9e8f; --teal-ink: #0f6b60; --red: #c4322c; --mustard: #e7a81f; --cream: #fff8ec;
  --display: 'Baloo 2', 'Varela Round', system-ui, sans-serif; --body: 'Nunito', 'Varela Round', system-ui, sans-serif;
  --radius: 18px; --max: 1120px; --gutter: 20px;
}
html[data-theme="b"] { --bg: #ffffff; --bg-2: #f5f5f3; --ink: #111; --ink-2: #555; --line: #e6e6e2; --teal: #117d70; --teal-ink: #0b5c52; --display: 'Fraunces', Georgia, serif; --radius: 6px; }
html[data-theme="c"] { --bg: #0f3f3a; --bg-2: #124a44; --ink: #fff4dc; --ink-2: #c9bda2; --line: #1f5a53; --teal: #3fd1bb; --teal-ink: #0f3f3a; --cream: #16534c; --radius: 22px; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 600 17px/1.5 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0 0 .35em; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 7.5vw, 64px); }
h2 { font-size: clamp(28px, 4.5vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-2); }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--teal); color: #fff; text-decoration: none; font-family: var(--display); font-size: 20px; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; line-height: 1; }
.btn:hover { background: var(--teal-ink); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); background: transparent; }
.btn.small { font-size: 17px; padding: 10px 18px; }
html[data-theme="c"] .btn { color: var(--teal-ink); }
html[data-theme="c"] .btn.ghost { color: var(--ink); }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.top .mark img { height: 34px; width: auto; }
html[data-theme="c"] .top .mark img { filter: invert(1) sepia(.3) saturate(.6) brightness(1.1); }
.top nav { display: flex; gap: 22px; font-size: 16px; }
.top nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current] { border-color: var(--teal); }
@media (max-width: 640px) { .top nav { gap: 14px; font-size: 15px; } .top nav a.hide-sm { display: none; } }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; padding: 28px 0 44px; }
.hero .copy p { font-size: 19px; max-width: 34ch; }
.hero .pic { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.hero .pic img { aspect-ratio: 1; object-fit: cover; width: 100%; }
@media (max-width: 760px) { .hero .pic img { aspect-ratio: 4 / 3; } }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.eyebrow { font-family: var(--display); color: var(--teal-ink); font-size: 18px; margin-bottom: 10px; }
html[data-theme="c"] .eyebrow { color: var(--teal); }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 8px; } .hero .pic { order: -1; } }

/* strip of three facts, no icons */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; font-size: 16px; }
.facts b { font-family: var(--display); font-weight: 500; font-size: 20px; display: block; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; gap: 12px; } }

/* product grid */
.section { padding: 44px 0 10px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head p { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px 14px; }
.card { text-decoration: none; display: block; }
.card .ph { border-radius: calc(var(--radius) - 6px); overflow: hidden; background: #fff; aspect-ratio: 1; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.card:hover img { transform: scale(1.03); }
.card .t { font-size: 15.5px; margin-top: 8px; line-height: 1.3; }
.card .p { font-size: 14px; color: var(--ink-2); }
.card .p b { color: var(--ink); font-weight: 600; }
@media (max-width: 480px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; } }

/* custom block on the home page */
.custom { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 36px 0; }
.custom .steps { display: grid; gap: 10px; margin: 14px 0 20px; padding: 0; list-style: none; counter-reset: s; }
.custom .steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.custom .steps li::before { content: counter(s); font-family: var(--display); color: #fff; background: var(--ink); border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; font-size: 17px; }
html[data-theme="c"] .custom .steps li::before { background: var(--teal); color: var(--teal-ink); }
.custom .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.custom .pair img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; }
.custom .pair span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 6px; text-align: center; }
@media (max-width: 760px) { .custom { grid-template-columns: 1fr; padding: 20px; } }

/* forms */
form.stack { display: grid; gap: 14px; max-width: 560px; }
label { display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
input[type=text], input[type=email], select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
html[data-theme="c"] input, html[data-theme="c"] select, html[data-theme="c"] textarea { background: #0b332f; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid color-mix(in srgb, var(--teal) 35%, transparent); border-color: var(--teal); }
textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row2 { grid-template-columns: 1fr; } }
.drop { border: 2px dashed var(--line); border-radius: var(--radius); padding: 26px 18px; text-align: center; background: #fff; cursor: pointer; position: relative; }
html[data-theme="c"] .drop { background: #0b332f; }
.drop.has { border-style: solid; border-color: var(--teal); }
.drop input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.drop img { max-height: 240px; width: auto; margin: 0 auto 10px; border-radius: 10px; }
.drop .hint { color: var(--ink-2); font-size: 15px; margin: 0; }
.check { display: flex; gap: 10px; align-items: start; font-size: 15px; color: var(--ink); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); }
.msg { font-size: 15px; min-height: 1.4em; }
.msg.err { color: var(--red); }
.msg.ok { color: var(--teal-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup { display: flex; gap: 10px; max-width: 520px; }
.signup input { flex: 1; }
@media (max-width: 480px) { .signup { flex-direction: column; } }

/* two-column text pages */
.page { padding: 20px 0 40px; max-width: 720px; }
.page h1 { font-size: clamp(34px, 6vw, 52px); }
.lead { font-size: 20px; max-width: 40ch; }
.addr { font-style: normal; line-height: 1.6; }
.addr b { font-family: var(--display); font-weight: 500; font-size: 22px; display: block; }

/* footer: the manual's back page */
footer { margin-top: 56px; border-top: 1px solid var(--line); padding: 30px 0 40px; font-size: 15px; color: var(--ink-2); }
footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
footer a { color: inherit; }
footer b { color: var(--ink); font-family: var(--display); font-weight: 500; font-size: 18px; display: block; margin-bottom: 6px; }
footer .fine { margin-top: 22px; font-size: 13.5px; }
@media (max-width: 640px) { footer .cols { grid-template-columns: 1fr; gap: 18px; } }

/* collections page */
.coll { padding: 26px 0 0; }
.coll h2 { font-size: 26px; display: flex; align-items: baseline; gap: 10px; }
.coll h2 small { font: 600 14px var(--body); color: var(--ink-2); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 8px; }
.toc a { font-size: 14px; text-decoration: none; background: var(--bg-2); padding: 6px 12px; border-radius: 999px; }
.toc a:hover { background: var(--line); }
.thanks { text-align: center; padding: 60px 0; }
.thanks .big { font-size: 64px; }
