/* ==========================================================================
   PICKA — Pocket Oral Care
   Palette: dark green #0F3D2E · gold #D4B37A · cream #F8F3E9 / #FFFBF2
   ========================================================================== */

:root {
  --color-primary: #0F3D2E;
  --color-primary-deep: #0A2A20;
  --color-accent: #D4B37A;
  --color-accent-soft: #E6D3AE;
  --color-bg: #F8F3E9;
  --color-bg-soft: #FFFBF2;
  --color-card: #FFFFFF;
  --color-ink: #1A1A1A;
  --color-ink-soft: #4A4A44;
  --color-line: #E3DAC6;

  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 61, 46, .06), 0 4px 14px rgba(15, 61, 46, .06);
  --shadow-md: 0 10px 30px rgba(15, 61, 46, .12);
  --wrap: 1180px;
  --pad: clamp(1.1rem, 4vw, 2.5rem);

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* Dark mode — the cream page becomes a deep forest, cards lift slightly. */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0C1F19;
    --color-bg-soft: #102A22;
    --color-card: #143026;
    --color-ink: #F3EFE4;
    --color-ink-soft: #C3C9BE;
    --color-line: #23463A;
    --color-accent: #E0C48F;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 14px rgba(0, 0, 0, .35);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, .5);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle film grain over the whole page — tactile, never readable-through. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}
@media (prefers-color-scheme: dark) { body::before { opacity: .05; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.08;
  margin: 0;
  color: var(--color-primary);
}
@media (prefers-color-scheme: dark) { h1, h2, h3, h4 { color: var(--color-accent-soft); } }

p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--color-primary); color: #fff; padding: .7rem 1rem;
}
.skip:focus { left: .5rem; top: .5rem; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin: 0 0 .7rem;
}
.eyebrow--gold { color: #8A6A22; }
@media (prefers-color-scheme: dark) { .eyebrow--gold { color: var(--color-accent); } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  padding: .7rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--color-primary-deep); transform: translateY(-1px); }
.btn--pill { border-radius: 999px; padding: .65rem 1.6rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--color-accent); color: #2A1F08; }
.btn--gold:hover { background: var(--color-accent-soft); }
.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.link-underline {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
}
@media (prefers-color-scheme: dark) { .link-underline { color: var(--color-accent-soft); } }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: 0; border-radius: 50%;
  cursor: pointer;
  transition: background-color .18s ease;
}
.icon-btn:hover { background: rgba(15, 61, 46, .07); }
@media (prefers-color-scheme: dark) { .icon-btn:hover { background: rgba(255, 255, 255, .08); } }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   1. ANNOUNCEMENT BAR
   ========================================================================== */
.announce {
  background: var(--color-primary-deep);
  color: #EFE7D6;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-family: var(--font-head);
  font-weight: 600;
}
.announce__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  min-height: 40px; padding-block: .35rem;
}
.announce p { margin: 0; }
.announce__right { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.socials { display: flex; gap: .35rem; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  transition: background-color .18s ease;
}
.socials a:hover { background: rgba(255, 255, 255, .14); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }

/* ==========================================================================
   2. HEADER
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 500;
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow .25s ease;
}
.header.is-stuck { box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 76px;
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo__mark {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: .16em;
  color: var(--color-primary);
}
@media (prefers-color-scheme: dark) { .logo__mark { color: var(--color-accent); } }
.logo__mark--lg { font-size: 2.1rem; color: var(--color-accent); }
.logo__sub {
  font-family: var(--font-head);
  font-size: .56rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--color-ink-soft);
  margin-top: .3rem;
}
/* Footer sits on near-black in BOTH themes, so its logo subtitle needs its
   own light token rather than the theme-dependent ink colour. */
.footer .logo__sub { color: rgba(239, 231, 214, .78); }

.nav ul { display: flex; gap: clamp(.9rem, 2.2vw, 2rem); }
.nav a {
  font-family: var(--font-head);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}
.nav a:hover { border-bottom-color: var(--color-accent); }

.header__actions { display: flex; align-items: center; gap: .15rem; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 19px; height: 19px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-accent); color: #2A1F08;
  font-family: var(--font-head); font-size: .66rem; font-weight: 800;
  border-radius: 999px;
}
.burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--color-primary); transition: transform .2s ease, opacity .2s ease; }
@media (prefers-color-scheme: dark) { .burger span { background: var(--color-accent-soft); } }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   3. HERO
   ========================================================================== */
.hero { background: var(--color-bg); padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1fr 1.05fr; }
}
.hero__title { font-size: clamp(2.4rem, 7vw, 4.4rem); font-weight: 900; letter-spacing: .02em; }
.hero__title .line { display: block; }
.line--ink { color: var(--color-primary); }
.line--gold { color: #A87F2E; }
@media (prefers-color-scheme: dark) {
  .line--ink { color: var(--color-accent-soft); }
  .line--gold { color: var(--color-accent); }
}
.hero__sub {
  max-width: 46ch;
  margin-top: 1.1rem;
  color: var(--color-ink-soft);
  font-size: 1.02rem;
}

.pillars {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  margin: 1.8rem 0;
}
.pillars li {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-head);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-ink-soft);
}
.pillars svg {
  width: 26px; height: 26px; flex: none;
  fill: none; stroke: var(--color-primary);
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
@media (prefers-color-scheme: dark) { .pillars svg { stroke: var(--color-accent); } }

.hero__cta { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.stamp {
  position: absolute; right: -10px; bottom: -18px;
  width: clamp(96px, 15vw, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .15rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: stamp-in .7s cubic-bezier(.2, .8, .3, 1) both;
}
@keyframes stamp-in {
  from { opacity: 0; transform: scale(.7) rotate(-14deg); }
  to { opacity: 1; transform: scale(1) rotate(-6deg); }
}
.stamp__map { width: 34%; fill: currentColor; }
.stamp__text {
  font-family: var(--font-head);
  font-size: .56rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  line-height: 1.25;
  max-width: 78%;
}

/* ==========================================================================
   4. TRUST BAR
   ========================================================================== */
.trust { background: var(--color-primary); color: #EFE7D6; padding-block: clamp(2rem, 4vw, 3rem); }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem 1.4rem;
}
@media (min-width: 860px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }
.trust__item svg {
  width: 30px; height: 30px; margin-bottom: .7rem;
  fill: none; stroke: var(--color-accent);
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.trust__item h3 {
  color: #fff; font-size: .82rem; letter-spacing: .14em; margin-bottom: .35rem;
}
.trust__item p { margin: 0; font-size: .88rem; color: rgba(239, 231, 214, .82); }

/* ==========================================================================
   5. PRODUCTS
   ========================================================================== */
.products { background: var(--color-bg); padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
.section-head .rule {
  display: block; width: 64px; height: 3px;
  background: var(--color-accent); margin: 1rem 0 1.2rem;
}
.section-head__lede { color: var(--color-ink-soft); margin: 0; }

.grid-products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 620px) { .grid-products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-products { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: flex; flex-direction: column;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__media { background: var(--color-bg-soft); }
.card__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card__body {
  display: flex; flex-direction: column; flex: 1;
  padding: 1.2rem 1.15rem 1.3rem;
  text-align: center;
}
.card__body h3 { font-size: .95rem; letter-spacing: .1em; }
.card__flavour {
  font-family: var(--font-head);
  font-size: .64rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: #8A6A22; margin: .45rem 0 .7rem;
}
@media (prefers-color-scheme: dark) { .card__flavour { color: var(--color-accent); } }
.card__desc { font-size: .86rem; color: var(--color-ink-soft); margin: 0 0 1rem; }
.card__price {
  font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 800;
  letter-spacing: .04em;
  color: var(--color-primary);
  margin: auto 0 .9rem;
}
@media (prefers-color-scheme: dark) { .card__price { color: var(--color-accent-soft); } }
.btn--cart { width: 100%; }
.btn--cart svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   6. WHY PICKA + TESTIMONIAL
   ========================================================================== */
.why { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }

.why__left { background: var(--color-primary); color: #EFE7D6; }
.why__left-inner { padding: clamp(2.2rem, 5vw, 4rem) var(--pad); max-width: 640px; margin-inline: auto; }
.why__left h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin-bottom: 1.2rem; }
.why__left p { color: rgba(239, 231, 214, .85); }
.why__left .btn { margin-top: 1rem; }

.why__right {
  background: var(--color-bg-soft);
  padding: clamp(2.2rem, 5vw, 4rem) var(--pad);
  display: grid; gap: 1.5rem;
  align-content: center;
}
.why__photo img {
  width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; border-radius: var(--radius-lg);
}
.testimonial {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.stars { display: flex; gap: .2rem; margin-bottom: .8rem; }
.stars svg { width: 18px; height: 18px; fill: var(--color-accent); }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { font-size: 1.02rem; color: var(--color-ink); margin-bottom: .6rem; }
.testimonial cite {
  font-family: var(--font-head);
  font-style: normal; font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-ink-soft);
}
.dots { display: flex; gap: .4rem; margin-top: 1rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-line); }
.dot.is-on { background: var(--color-accent); }

/* ==========================================================================
   7. NEWSLETTER
   ========================================================================== */
.newsletter { background: var(--color-primary); color: #EFE7D6; padding-block: clamp(2.2rem, 5vw, 3.4rem); }
.newsletter__inner {
  display: grid; gap: 1.6rem; align-items: center;
}
@media (min-width: 860px) { .newsletter__inner { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.newsletter__copy { display: flex; gap: 1rem; align-items: flex-start; }
.newsletter__icon {
  width: 34px; height: 34px; flex: none; margin-top: .2rem;
  fill: none; stroke: var(--color-accent);
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.newsletter h2 { color: #fff; font-size: clamp(1.15rem, 2.6vw, 1.5rem); }
.newsletter p { margin: .5rem 0 0; color: rgba(239, 231, 214, .82); font-size: .92rem; }
.newsletter__form { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter__form input {
  flex: 1 1 220px;
  min-height: 46px;
  padding: .7rem 1rem;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-family: var(--font-body);
  font-size: .95rem;
}
.newsletter__form input::placeholder { color: rgba(255, 255, 255, .6); }
.form-status { flex: 1 0 100%; margin: .2rem 0 0; font-size: .85rem; color: var(--color-accent-soft); }

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.footer { background: #071A14; color: rgba(239, 231, 214, .78); padding-top: clamp(2.5rem, 5vw, 4rem); }
.footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.5rem;
}
@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__brand p { margin-top: 1rem; font-size: .9rem; max-width: 34ch; }
.footer__col h3 {
  color: #fff; font-size: .74rem; letter-spacing: .18em; margin-bottom: .9rem;
}
.footer__h3--tight { margin-top: 1.4rem; }
.footer__col ul { display: grid; gap: .5rem; }
.footer__col a { font-size: .9rem; transition: color .18s ease; }
.footer__col a:hover { color: var(--color-accent); }
.socials--footer { margin-top: .8rem; }
.socials--footer a { width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .18); }
.pay { display: flex; flex-wrap: wrap; gap: .5rem; }
.pay li {
  font-family: var(--font-head); font-size: .62rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .4rem .7rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
}
.footer__bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 1.2rem 4.5rem;
  font-size: .8rem;
}
.footer__bottom p { margin: 0; }
.footer__flag { display: flex; align-items: center; gap: .5rem; }
.flag {
  width: 22px; height: 14px; border-radius: 2px; display: inline-block;
  background: linear-gradient(to bottom, #CE1126 33.3%, #FCD116 33.3% 66.6%, #006B3F 66.6%);
}

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(7, 26, 20, .5);
  backdrop-filter: blur(2px);
}
.drawer {
  position: fixed; top: 0; right: 0; z-index: 950;
  width: min(400px, 92vw); height: 100%;
  display: flex; flex-direction: column;
  background: var(--color-bg-soft);
  border-left: 1px solid var(--color-line);
  box-shadow: -12px 0 40px rgba(0, 0, 0, .25);
  transform: translateX(102%);
  transition: transform .3s cubic-bezier(.3, .8, .3, 1);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.1rem; border-bottom: 1px solid var(--color-line);
}
.drawer__head h2 { font-size: 1rem; letter-spacing: .14em; }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.1rem; }
.drawer__empty { color: var(--color-ink-soft); font-size: .92rem; }
.line-item {
  display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem;
  padding: .85rem 0; border-bottom: 1px solid var(--color-line);
}
.line-item__name { font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.line-item__meta { font-size: .82rem; color: var(--color-ink-soft); grid-column: 1; }
.line-item__price { font-family: var(--font-head); font-weight: 700; font-size: .88rem; text-align: right; }
.qty { display: inline-flex; align-items: center; gap: .5rem; margin-top: .4rem; }
.qty button {
  width: 30px; height: 30px; border: 1px solid var(--color-line);
  background: var(--color-card); border-radius: 6px; cursor: pointer;
}
.qty span { min-width: 1.4rem; text-align: center; font-size: .9rem; }
.drawer__foot { padding: 1.1rem; border-top: 1px solid var(--color-line); }
.drawer__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .4rem; }
.drawer__row strong { font-family: var(--font-head); font-size: 1.1rem; color: var(--color-primary); }
@media (prefers-color-scheme: dark) { .drawer__row strong { color: var(--color-accent-soft); } }
.drawer__note { font-size: .78rem; color: var(--color-ink-soft); margin: 0 0 .9rem; }

/* ==========================================================================
   ATTRIBUTION (free tier — must stay)
   ========================================================================== */
.attribution {
  position: fixed; bottom: .5rem; right: .75rem; z-index: 800;
  font-size: .72rem;
  font-family: var(--font-body);
}
.attribution a {
  color: var(--color-ink-soft);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: .3rem .7rem;
  display: inline-block;
}
.attribution a:hover { color: var(--color-primary); }

/* ==========================================================================
   MOTION — reduced-motion fallback
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .card:hover, .btn:hover { transform: none; }
}

/* ==========================================================================
   MOBILE NAV
   ========================================================================== */
@media (max-width: 899px) {
  .burger { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--color-bg-soft);
    border-bottom: 1px solid var(--color-line);
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: .5rem var(--pad) 1rem; }
  .nav a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--color-line); }
}
