/* ==========================================================================
   Brand Builders Lab — shared stylesheet
   Art direction: playful laboratory / bento
   ========================================================================== */

:root {
  --cream: #fff6e9;
  --paper: #fffdf8;
  --ink: #22164d;
  --orange: #ff4f1f;
  --lilac: #cdbdff;
  --mint: #b8f0d0;
  --error: #a3260a;
  --radius: 28px;
  --gap: 18px;
  --head: "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --body: "DM Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --float: 0 16px 36px -16px rgba(34, 22, 77, .6);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  /* dotted lab-notebook paper */
  background: var(--cream) radial-gradient(rgba(34, 22, 77, .1) 1.2px, transparent 1.4px) 0 0 / 24px 24px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--head); font-weight: 800; line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.08; letter-spacing: -.028em; }
h4, .h-small { font-size: 1.3rem; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-color: var(--orange); text-decoration-thickness: .13em; text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
svg { display: block; max-width: 100%; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--ink); }

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--orange); color: var(--ink); font-weight: 700; transition: top .2s ease; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding-block: clamp(36px, 6vw, 76px); }
.section--hero { padding-top: clamp(40px, 5vw, 60px); }
.section-head { max-width: 46rem; margin-bottom: clamp(24px, 3vw, 38px); }
.section-head p:last-child { margin-bottom: 0; }
.section-head--art { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head--art > div { max-width: 46rem; }
.head-art { flex: none; width: clamp(96px, 13vw, 150px); rotate: 7deg; }
.lead { max-width: 40em; font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.5; }
.small { font-size: .95rem; }
.tag + h1, .tag + h2, .tag + .formula { margin-top: .55em; }

/* ---------- Header: floating pill ---------- */
.site-header { position: sticky; top: 14px; z-index: 50; display: flex; justify-content: center; margin-top: 14px; padding-inline: 16px; pointer-events: none; }
.pill-nav { position: relative; display: flex; align-items: center; gap: 16px; max-width: 100%; padding: 8px; border-radius: 999px; background: var(--ink); color: var(--cream); box-shadow: var(--float); pointer-events: auto; }
.pill-nav :focus-visible, .c-ink :focus-visible, .footer-card :focus-visible { outline-color: var(--orange); }
.brand { display: inline-flex; align-items: center; gap: 9px; padding-right: 8px; border-radius: 999px; font: 800 1.05rem/1 var(--head); letter-spacing: -.03em; white-space: nowrap; text-decoration: none; }
.brand-mark { flex: none; width: 36px; height: 36px; transition: rotate .5s var(--bounce); }
.brand:hover .brand-mark { rotate: -18deg; }
.nav ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: 9px 14px; border-radius: 999px; font-size: .95rem; font-weight: 600; line-height: 1.2; white-space: nowrap; text-decoration: none; transition: background-color .2s ease, color .2s ease, rotate .4s var(--bounce), scale .4s var(--bounce); }
.nav a:hover { background: rgba(255, 246, 233, .16); rotate: -2deg; }
.nav a[aria-current="page"] { background: var(--cream); color: var(--ink); }
.nav a.nav-cta { margin-left: 6px; background: var(--orange); color: var(--ink); font-weight: 700; }
.nav a.nav-cta:hover { rotate: 3deg; scale: 1.06; }
.nav a.nav-cta[aria-current="page"] { box-shadow: inset 0 0 0 3px var(--cream); }
.nav-toggle { display: none; align-items: center; gap: 9px; padding: 11px 15px; border: 0; border-radius: 999px; background: var(--cream); color: var(--ink); font: 700 .92rem/1 var(--body); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: currentColor; transition: rotate .3s var(--bounce), translate .3s ease; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { translate: 0 -6px; }
.nav-toggle-bars::after { translate: 0 6px; }
.is-open .nav-toggle-bars { background: transparent; }
.is-open .nav-toggle-bars::before { translate: 0 0; rotate: 45deg; }
.is-open .nav-toggle-bars::after { translate: 0 0; rotate: -45deg; }
@keyframes drop { from { opacity: 0; translate: 0 -10px; scale: .97; } }

/* ---------- Bento grid and cards ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.bento > * { grid-column: span 12; min-width: 0; }
.stack { display: grid; gap: var(--gap); align-content: start; }
.card { position: relative; padding: clamp(22px, 3vw, 38px); border-radius: var(--radius); background: var(--paper); }
.card > :last-child, .faq-body > :last-child { margin-bottom: 0; }
.c-paper { border: 2px solid var(--ink); }
.c-lilac { background: var(--lilac); }
.c-mint { background: var(--mint); }
.c-orange { background: var(--orange); }
.c-ink { background: var(--ink); color: var(--cream); }
.c-orange a { text-decoration-color: var(--ink); }
.card, .reveal, .step {
  transition: opacity .6s ease var(--rd, 0s), translate .7s cubic-bezier(.2, .8, .2, 1) var(--rd, 0s), rotate .5s var(--bounce), scale .5s var(--bounce);
}
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.card-icon { width: 84px; margin-bottom: 16px; }

/* cards that sit beside a taller neighbour: pin a closing element to the bottom */
.card--fill { display: flex; flex-direction: column; }
.card--fill > .card-foot { margin-top: auto; padding-top: 28px; }

/* whole-card links */
.card--link { padding-bottom: 88px; }
.card--link h3 a { text-decoration: none; }
.card--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--link:has(a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.go { position: absolute; right: 24px; bottom: 24px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: 1.3rem; line-height: 1; transition: rotate .45s var(--bounce), scale .45s var(--bounce); }
.c-ink .go { background: var(--orange); color: var(--ink); }

/* hero cards span two bento rows: pin the buttons to the bottom edge */
.hero-card { display: flex; flex-direction: column; align-items: flex-start; }
.hero-card .btn-row { margin-top: auto; padding-top: 1.6em; }

/* illustration cards */
.art-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.art { width: min(100%, 230px); }
.art--wide { width: min(100%, 320px); }
.art-card figcaption, .art-caption { margin: 0; font-size: .95rem; font-weight: 500; line-height: 1.4; }
.puff { animation: puff 3.2s ease-in-out infinite; }
.puff.p2 { animation-delay: -1.1s; }
.puff.p3 { animation-delay: -2.1s; }
@keyframes puff { 0%, 100% { transform: translateY(4px); opacity: 1; } 50% { transform: translateY(-8px); opacity: .45; } }

/* ---------- Tags, buttons, stickers ---------- */
.tag { display: inline-flex; align-items: center; padding: .34em .9em; border: 2px solid currentColor; border-radius: 999px; font-size: .8rem; font-weight: 700; line-height: 1.2; letter-spacing: .03em; }
.tag--fill { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags .tag { transition: rotate .4s var(--bounce), scale .4s var(--bounce); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }
.btn {
  --sh: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--orange); color: var(--ink); box-shadow: 0 5px 0 var(--sh);
  font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: translate .25s var(--bounce), rotate .35s var(--bounce), box-shadow .25s ease;
}
.btn:hover { translate: 0 -3px; rotate: -2deg; box-shadow: 0 8px 0 var(--sh); }
.btn:active { translate: 0 4px; rotate: 0deg; box-shadow: 0 1px 0 var(--sh); }
.btn--paper { background: var(--paper); }
.btn--ink { --sh: var(--cream); background: var(--ink); color: var(--cream); }
.btn--small { padding: .55em 1.1em; font-size: .92rem; }

.sticker {
  --sz: clamp(92px, 11vw, 124px);
  position: absolute; top: -24px; right: clamp(14px, 2vw, 24px); z-index: 2;
  display: grid; place-items: center; width: var(--sz); aspect-ratio: 1; padding: calc(var(--sz) * .1);
  border: 2px solid var(--ink); border-radius: 50%; background: var(--orange); color: var(--ink); box-shadow: 4px 5px 0 var(--ink);
  font: 800 calc(var(--sz) * .108)/1.05 var(--head); letter-spacing: .01em; text-align: center; text-transform: uppercase; text-wrap: balance;
  rotate: 12deg; transition: rotate .6s var(--bounce), scale .6s var(--bounce);
}
.sticker--mint { background: var(--mint); }
.sticker--lilac { background: var(--lilac); }
.sticker--paper { background: var(--paper); }

/* ---------- Formula lines, squiggles, element tiles ---------- */
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: .2em .38em; margin: 0 0 .6em; font: 800 clamp(1.5rem, 3vw, 2.3rem)/1.2 var(--head); letter-spacing: -.03em; }
.formula--sm { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.formula .op { display: inline-grid; flex: none; place-items: center; width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--orange); color: var(--ink); font-size: .78em; line-height: 1; rotate: -6deg; }
.c-orange .formula .op { background: var(--ink); color: var(--cream); }

.squiggle { position: relative; display: inline-block; white-space: nowrap; }
.squiggle svg { position: absolute; left: -3%; bottom: -.2em; width: 106%; max-width: none; height: .32em; overflow: visible; fill: none; stroke: var(--orange); stroke-width: max(3px, .065em); stroke-linecap: round; }
.c-orange .squiggle svg { stroke: var(--ink); }
.js .reveal .squiggle svg { clip-path: inset(-60% 100% -60% 0); transition: clip-path .9s cubic-bezier(.6, 0, .2, 1) .35s; }
.js .reveal.is-visible .squiggle svg { clip-path: inset(-60% -5% -60% 0); }

.element { display: grid; grid-template-rows: auto 1fr; flex: none; width: 76px; aspect-ratio: 1; padding: 7px 10px; border: 2.5px solid var(--ink); border-radius: 18px; background: var(--paper); color: var(--ink); font-family: var(--head); line-height: 1; rotate: -5deg; transition: rotate .5s var(--bounce); }
.element small { font-size: .72rem; font-weight: 700; }
.element b { align-self: end; font-size: 2rem; font-weight: 800; letter-spacing: -.04em; }

/* ---------- Lists ---------- */
.check-list, .plain-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 2em; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .18em; width: 1.3em; height: 1.3em; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322164d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 72% no-repeat;
}
.c-orange .check-list li::before { background-color: var(--cream); }
.list-label { margin: 0 0 .8em; padding-top: .3em; font: 700 .8rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.plain-list { gap: 8px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--gap); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; padding: 24px 24px 26px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); counter-increment: step; }
.step::before { content: "0" counter(step); display: block; margin-bottom: 18px; font: 800 3.2rem/1 var(--head); letter-spacing: -.05em; }
.step h3 { font-size: 1.5rem; }
.step p { margin: 0; font-size: 1rem; }
.step:nth-child(odd) { rotate: -1deg; }
.step:nth-child(even) { rotate: 1deg; }
.step:nth-child(4n+1) { background: var(--lilac); }
.step:nth-child(4n+2) { background: var(--mint); }
.step:nth-child(4n) { background: var(--orange); }
/* small test tube that fills up step by step */
.tube { position: absolute; top: 24px; right: 26px; width: 24px; height: 62px; border: 2.5px solid var(--ink); border-radius: 4px 4px 14px 14px; background: linear-gradient(to top, var(--ink) var(--fill, 50%), var(--paper) 0); rotate: 12deg; }
.tube::before { content: ""; position: absolute; left: -7px; right: -7px; top: -5px; height: 3px; border-radius: 2px; background: var(--ink); }
.steps-note { margin: 28px 0 0; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; margin-top: 26px; }
.faq { border: 2px solid var(--ink); border-radius: 22px; background: var(--paper); transition: rotate .4s var(--bounce); }
.faq summary { position: relative; padding: 18px 62px 18px 22px; font: 700 1.15rem/1.25 var(--head); letter-spacing: -.015em; list-style: none; cursor: pointer; border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--orange); font: 800 1.3rem/1 var(--head); transition: rotate .4s var(--bounce); }
.faq[open] summary::after { rotate: 45deg; }
.faq[open] { background: var(--lilac); }
.faq-body { padding: 0 22px 20px; }
.cta-card { align-self: start; }
.cta-card h2 { margin-top: .75em; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }

/* ---------- Lab toy: Mix your brand ---------- */
.mixer { display: grid; gap: var(--gap); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 11px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font: 700 1rem/1.2 var(--body); cursor: pointer; transition: rotate .35s var(--bounce), scale .35s var(--bounce), background-color .2s ease, color .2s ease; }
.chip::after { content: "+"; content: "+" / ""; font-weight: 800; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); rotate: 2deg; }
.chip[aria-pressed="true"]::after { content: "\2713"; content: "\2713" / ""; }
.chip-dot { width: 18px; height: 18px; border: 2px solid currentColor; border-radius: 50%; background: var(--dot); }
.mixer-beaker { display: grid; place-items: center; align-content: center; gap: 18px; text-align: center; }
.beaker { width: min(230px, 62vw); overflow: visible; }
.beaker.is-shaking { animation: shake .6s ease; }
.beaker-level { transition: transform .9s var(--bounce); }
.beaker-wave { animation: wave 3.4s linear infinite; }
.beaker stop { transition: stop-color .6s ease; }
.bubble { fill: var(--paper); opacity: 0; }
.is-active .bubble { animation: bubble 2.6s ease-in infinite; }
.is-active .bubble.b2 { animation-delay: .9s; }
.is-active .bubble.b3 { animation-delay: 1.7s; }
@keyframes wave { to { transform: translateX(-80px); } }
@keyframes bubble { 0% { transform: translateY(44px); opacity: 0; } 25% { opacity: .8; } 100% { transform: translateY(-12px); opacity: 0; } }
@keyframes shake { 20% { transform: rotate(-5deg); } 50% { transform: rotate(4deg); } 75% { transform: rotate(-2deg); } }
.mixer-count { margin: 0; }
.mix-formula { margin: 18px 0 16px; font-size: clamp(1.45rem, 2.3vw, 1.95rem); }
.mix-text p { margin-bottom: .6em; }
.mix-note { margin: 18px 0 0; padding-top: 16px; border-top: 2px dashed rgba(255, 246, 233, .35); color: var(--lilac); font-size: .98rem; }
.mix-note:empty { display: none; }

/* ---------- Page-specific illustrations ---------- */
.swatches { display: grid; gap: 8px; width: 100%; margin: 0; padding: 0; list-style: none; }
.swatches li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--sw); font-size: .9rem; font-weight: 700; transition: translate .4s var(--bounce); }
.swatches code { font: 600 .88rem ui-monospace, Consolas, "Courier New", monospace; }
.specimen { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin: 4px 0 14px; line-height: .95; }
.specimen b { font: 800 clamp(4rem, 9vw, 6.2rem)/.95 var(--head); letter-spacing: -.05em; }
.specimen i { font: normal 400 clamp(3.2rem, 7vw, 4.8rem)/.95 var(--body); }
.mark-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0 20px; }
.mark-tiles figure { display: grid; gap: 8px; justify-items: center; padding: 14px 8px 10px; border: 2px solid var(--ink); border-radius: 18px; background: var(--paper); font-size: .76rem; font-weight: 700; text-align: center; }
.mark-tiles svg { width: min(100%, 84px); }
.sliders { display: grid; gap: 14px; margin: 6px 0 22px; }
.slider { display: grid; grid-template-columns: 5.4em 1fr 5.4em; align-items: center; gap: 12px; font-size: .85rem; font-weight: 700; }
.slider span:last-child { text-align: right; }
.slider i { position: relative; height: 8px; border-radius: 99px; background: rgba(34, 22, 77, .25); }
.slider i::after { content: ""; position: absolute; top: 50%; left: var(--pos, 50%); width: 22px; height: 22px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--orange); translate: -50% -50%; transition: scale .4s var(--bounce); }
.name-badge { width: min(100%, 230px); margin: 6px 0 24px; overflow: hidden; border: 2.5px solid var(--ink); border-radius: 18px; background: var(--paper); box-shadow: 5px 6px 0 var(--ink); text-align: center; rotate: -5deg; transition: rotate .5s var(--bounce); }
.name-badge b { display: block; padding: 9px 8px; background: var(--ink); color: var(--cream); font: 800 .8rem/1.15 var(--head); letter-spacing: .08em; text-transform: uppercase; }
.name-badge span { display: block; padding: 12px 10px 16px; font: 800 1.9rem/1 var(--head); letter-spacing: .02em; }
.sizes { display: grid; gap: 8px; justify-items: start; }
.sizes span { width: var(--w); min-width: max-content; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--lilac); font-size: .88rem; font-weight: 700; }
.sizes span:nth-child(2) { background: var(--mint); }
.sizes span:nth-child(3) { background: var(--orange); }
.scale { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px clamp(10px, 3vw, 26px); font-size: .76rem; font-weight: 700; }
.scale span { display: grid; gap: 8px; justify-items: center; }
.devices { display: flex; align-items: flex-end; gap: 12px; }
.devices span { display: grid; place-items: end center; width: var(--w); aspect-ratio: var(--r); padding-bottom: 6px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); font-size: .7rem; font-weight: 700; }
.mock { display: flex; align-items: flex-end; justify-content: center; gap: 12px; width: min(100%, 360px); padding: 8px 8px 0 0; }
.mock div { display: grid; flex: 1; align-content: end; gap: 6px; aspect-ratio: 1; padding: 10px; border: 2px solid var(--ink); border-radius: 16px; background: var(--orange); font: 800 .85rem/1 var(--head); text-align: left; }
.mock div:first-child { flex: .8; aspect-ratio: 9 / 16; background: var(--lilac); }
.mock div:last-child { aspect-ratio: 4 / 5; background: var(--mint); box-shadow: 6px -6px 0 0 var(--paper), 6px -6px 0 2px var(--ink); }
.mock i { display: block; height: 6px; border-radius: 99px; background: var(--ink); opacity: .3; }
.mock i + i { width: 60%; }
.launch { display: grid; gap: 10px; margin: 6px 0 22px; padding: 0; list-style: none; }
.launch li { display: grid; grid-template-columns: 5.6em 1fr; gap: 12px; align-items: baseline; padding: 11px 16px; border: 2px solid var(--ink); border-radius: 18px; background: rgba(255, 253, 248, .65); font-size: .98rem; }
.launch b { font: 800 1.15rem/1.1 var(--head); }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border: 2px solid var(--ink); border-radius: 16px; background: var(--cream); color: var(--ink); font: inherit; }
.field select { appearance: none; padding-right: 46px; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322164d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 2px; background-color: var(--paper); }
.field [aria-invalid="true"] { border-color: var(--error); background-color: #fff0ea; }
.field-hint, .field-error, .form-note, .form-status { margin: 0; font-size: .93rem; }
.field-error { color: var(--error); font-weight: 700; }
.form-note { padding: 14px 18px; border: 2px dashed var(--ink); border-radius: 18px; }
.form .btn { justify-self: start; }
.form-status:not(:empty) { padding: 14px 18px; border: 2px solid var(--ink); border-radius: 18px; background: var(--mint); font-weight: 500; }
.form-status.is-error:not(:empty) { background: #fff0ea; border-color: var(--error); color: var(--error); font-weight: 700; }
.mail-big { display: inline-block; margin-bottom: .9em; font: 800 clamp(1.05rem, 4.3vw, 1.3rem)/1.15 var(--head); letter-spacing: -.02em; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(24px, 5vw, 56px); padding: 0 16px 16px; }
.footer-card { width: min(1180px, 100%); margin-inline: auto; padding: clamp(26px, 4vw, 52px); border-radius: var(--radius); background: var(--ink); color: var(--cream); }
.footer-grid { display: grid; gap: 32px; }
.footer-logo { margin-bottom: .45em; font: 800 clamp(1.9rem, 3.4vw, 2.6rem)/1 var(--head); letter-spacing: -.04em; }
.footer-card .formula { margin-bottom: .8em; font-size: 1.15rem; color: var(--lilac); }
.footer-brand p:last-child { max-width: 26em; margin: 0; }
.footer-h { margin-bottom: 1em; font: 700 .8rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); }
.footer-card a { text-underline-offset: .25em; }
.footer-bottom { margin: 34px 0 0; padding-top: 20px; border-top: 2px dashed rgba(255, 246, 233, .28); font-size: .92rem; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; translate: 0 28px; }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

/* ---------- Bouncy hovers (pointer devices only) ---------- */
@media (hover: hover) {
  .card:not(.card--still):hover { rotate: -.7deg; scale: 1.012; }
  .bento > .card:nth-child(even):not(.card--still):hover { rotate: .7deg; }
  .card--link:not(.card--still):hover { scale: 1.02; }
  .card--link:hover .go { rotate: -45deg; scale: 1.15; }
  .card:hover .sticker { rotate: -8deg; scale: 1.08; }
  .card:hover .element { rotate: 7deg; }
  .card:hover .name-badge { rotate: 3deg; }
  .card:hover .slider i::after { scale: 1.2; }
  .tags .tag:hover { rotate: -4deg; scale: 1.08; }
  .step:hover { rotate: 0deg; scale: 1.04; }
  .chip:hover { rotate: -3deg; scale: 1.06; }
  .swatches li:hover { translate: 8px 0; }
  .faq:hover { rotate: -.4deg; }
}

/* ---------- Breakpoints ---------- */
@media (min-width: 680px) {
  .s-3, .s-4, .s-5, .s-6, .s-7 { grid-column: span 6; }
  .md-12 { grid-column: span 12; }
  .check-list--2col { grid-template-columns: 1fr 1fr; gap: 16px 34px; }
}
@media (min-width: 820px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.3fr; }
}
@media (min-width: 900px) {
  .mixer { grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(0, 1.15fr); }
}
@media (min-width: 1000px) {
  .s-3 { grid-column: span 3; }
  .s-4 { grid-column: span 4; }
  .s-5 { grid-column: span 5; }
  .s-6 { grid-column: span 6; }
  .s-7 { grid-column: span 7; }
  .s-8 { grid-column: span 8; }
  .r-2 { grid-row: span 2; }
  .hero-card--page h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
  .cta-card { position: sticky; top: 104px; }
}
@media (min-width: 821px) and (max-width: 1000px) {
  .brand { padding-right: 0; }
  .brand-name { display: none; }
}
@media (max-width: 820px) {
  .pill-nav { width: min(100%, 440px); justify-content: space-between; }
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 10px; border-radius: var(--radius); background: var(--ink); box-shadow: var(--float); }
  .js .nav { display: none; }
  .js .is-open .nav { display: block; animation: drop .35s var(--bounce); }
  .nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav a { padding: 13px 18px; font-size: 1.05rem; }
  .nav a:hover { rotate: 0deg; }
  .nav a.nav-cta { margin: 4px 0 0; text-align: center; }
  /* without JavaScript the menu is simply always open */
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .pill-nav { flex-wrap: wrap; border-radius: var(--radius); }
  html:not(.js) .nav { position: static; width: 100%; padding: 0; box-shadow: none; }
}
@media (max-width: 600px) {
  .head-art { display: none; }
  .hero-card--page h1 { font-size: clamp(2.2rem, 10vw, 2.6rem); }
  .launch li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 350px) {
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* ---------- Motion and print preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; translate: 0 0; }
  .card:hover, .step:hover, .btn:hover, .chip:hover, .faq:hover { rotate: 0deg !important; scale: 1 !important; }
}
@media print {
  .site-header, .skip-link { display: none; }
  .js .reveal { opacity: 1; translate: 0 0; }
}
