/* ============================================================
   AUDACIOUS BOOKS — Design System  v2
   Bold modern-agency aesthetic: near-black + electric lime,
   clean white canvas, heavy grotesk type, pill highlights,
   geometric square accents.  (Inspired by the Axios direction.)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Lora:ital,wght@0,400..700;1,400..600&family=Hanken+Grotesk:wght@600;700;800&display=swap');

/* ---------- Tokens ---------- */
:root {
  --ink:        #4169E1;   /* Royal Blue */
  --ink-2:      #3658C7;   /* darker blue panels */
  --ink-3:      #2B4FB0;
  --lime:       #DC143C;   /* Red */
  --lime-2:     #B81030;   /* hover / deeper red */
  --lime-soft:  #FFE5E8;
  --yellow:     #FFD700;   /* Yellow */
  --yellow-2:   #E5C200;   /* darker yellow */
  --paper:      #FFFFFF;
  --mist:       #F0F4FF;   /* pale blue section bg */
  --mist-2:     #F8FAFF;
  --line:       #D6DAED;
  --line-ink:   #4169E1;
  --text:       #1A1A1A;   /* body text on light */
  --muted:      #6E727B;   /* secondary text */
  --muted-d:    #A7ABB4;   /* secondary text on dark */

  /* back-compat aliases so older inline styles stay coherent */
  --ink-soft:   #5A7BE9;
  --ink-faint:  #7385EF;
  --coral:      #4169E1;   /* was accent → now blue */
  --coral-deep: #2B4FB0;
  --marigold:   #DC143C;
  --teal:       #4169E1;   /* links → bold blue */
  --teal-deep:  #2B4FB0;
  --plum:       #6B4A63;
  --sky:        #4169E1;
  --cream-card: #FFFFFF;
  --paper-2:    #F0F4FF;
  --paper-3:    #D6DAED;

  --shadow-sticker: 0 6px 0 var(--ink);
  --shadow-card:    0 14px 34px -18px rgba(65,105,225,.45);
  --shadow-soft:    0 18px 50px -28px rgba(65,105,225,.55);
  --shadow-lime:    0 10px 30px -12px rgba(220,20,60,.55);
  --shadow-yellow:  0 10px 30px -12px rgba(255,215,0,.55);

  --radius:    16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --display: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
  --hand:    'Bricolage Grotesque', 'Hanken Grotesk', sans-serif; /* legacy alias */
  --body:    'Lora', Georgia, 'Times New Roman', serif;
  --ui:      'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.wrap-narrow { width: 100%; max-width: 880px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.pad { padding-block: clamp(40px, 6vw, 84px); }
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px){ .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px){ .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- Typography ---------- */
.display-xl {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.2vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.display-md {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1,h2,h3,h4 { font-family: var(--display); color: var(--ink); letter-spacing: -0.015em; line-height: 1.1; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.55; }
.eyebrow, .section-label {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--body); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--ink);
}
.section-label::before {
  content: ""; width: 26px; height: 3px; background: var(--yellow); border-radius: 2px;
}
.eyebrow { color: var(--muted); }

/* lime pill highlight inside headings (the signature move) */
.mark {
  position: relative;
  background: var(--yellow);
  color: #4169E1;
  padding: .02em .34em .08em;
  border-radius: 999px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.mark.gold { background: var(--yellow); color: #4169E1; }      /* legacy alias */
.mark.ink  { background: var(--ink); color: var(--yellow); }
.serif-italic { font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--yellow); --fg: #4169E1; --bd: var(--yellow);
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--bd);
  font-weight: 700; font-size: .98rem;
  padding: .7rem 1.3rem; border-radius: var(--radius-pill);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-yellow); background: var(--yellow-2); border-color: var(--yellow-2); color: #4169E1; }
.btn--ink  { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn--ink:hover { background: #2B4FB0; border-color:#2B4FB0; box-shadow: var(--shadow-card); color: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #FFD700; box-shadow: none; }
.btn--gold { --bg: var(--yellow); --fg: #4169E1; --bd: var(--yellow); } /* legacy */
.btn--lg { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn--sm { padding: .5rem 1rem; font-size: .88rem; border-width: 2px; }
.btn--on-dark.btn--ghost { --fg:#fff; --bd:rgba(255,255,255,.4); }
.btn--on-dark.btn--ghost:hover { background:#fff; color:var(--ink); }

/* ---------- Header (dark, sticky) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #FFFFFF;
  color: #1a1a1a;
}
.site-header .nav { display: flex; align-items: center; gap: 1.4rem; height: 74px; }
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-weight: 800; font-size: 1.35rem;
  color: #1a1a1a; letter-spacing: -.02em;
}
.logo-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--yellow); color: #4169E1;
  font-weight: 800; font-size: 1.15rem;
}
.nav-links { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav-links a {
  color: #1a1a1a; font-weight: 600; font-size: .98rem; position: relative; padding: .2rem 0;
  transition: color .15s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px;
  background: #DC143C; transition: right .22s ease;
}
.nav-links a:hover { color: #DC143C; }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: .9rem; }
.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; border: 1.5px solid rgba(0,0,0,.22);
  background: transparent; color: #1a1a1a; font-size: 1.05rem; transition: all .15s ease;
}
.icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 19px; height: 19px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--yellow); color: #4169E1; font-size: .7rem; font-weight: 800;
  font-family: var(--body);
}
.nav-toggle {
  display: none;
  background: #4169E1;
  color: #fff;
  border: none;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.nav-toggle::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  position: relative;
  box-shadow: 0 6px 0 #fff;
}
.nav-toggle::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 0;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}
.nav-toggle:hover {
  background: #2B4FB0;
}
.nav-toggle.active::before {
  box-shadow: 0 0 0 #fff;
  transform: translateY(8px);
}
.nav-toggle.active::after {
  transform: rotate(90deg);
  margin-top: -8px;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 880px){
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: #FFFFFF; padding: .5rem 0; align-items: stretch;
    max-height: 0; overflow: hidden; transition: max-height .3s ease; margin-left: 0;
  }
  .nav-links.open { max-height: 70vh; border-top: 1px solid rgba(0,0,0,.1); }
  .nav-links a { padding: .9rem clamp(18px,4vw,40px); border-bottom: 1px solid rgba(0,0,0,.07); color: #1a1a1a; }
  .nav-links a::after { display: none; }
  .nav-cta { margin-left: auto; }
}

/* ---------- Ticker (lime bar) ---------- */
.ticker {
  background: var(--yellow); color: #4169E1;
  overflow: hidden; white-space: nowrap; border-block: 2px solid var(--ink);
}
.ticker__track { display: inline-flex; align-items: center; gap: 0; animation: ticker 26s linear infinite; }
.ticker__track span {
  font-family: var(--display); font-weight: 700; font-size: .98rem;
  padding: .7rem 1.1rem; display: inline-flex; align-items: center; gap: 1.4rem;
}
.ticker__track span::after { content: "✳"; font-size: .8rem; opacity: .65; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Hero (homepage) ---------- */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(255,215,0,.16), transparent 55%),
    radial-gradient(80% 70% at 0% 110%, rgba(220,20,60,.08), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(56px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.5fr .85fr; gap: 2.5rem; align-items: center; }
@media (max-width: 940px){ .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 6.6vw, 5.4rem); line-height: .98; letter-spacing: -.03em; }
.hero .lead { color: var(--muted-d); max-width: 46ch; margin-top: 1.4rem; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-side { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }

/* floating book stack */
.bookstack { position: relative; width: 100%; max-width: 320px; aspect-ratio: 1/1; }
.bookstack .b {
  position: absolute; border-radius: 8px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.6);
  display: grid; place-content: center; text-align: center; padding: 1rem;
  font-family: var(--display); font-weight: 800; color: #fff; line-height: 1.05;
}
.bookstack .b1 { inset: 6% 30% 34% 4%;  background: linear-gradient(160deg,#2F6F4F,#1d4732); transform: rotate(-8deg); }
.bookstack .b2 { inset: 22% 6% 16% 34%; background: var(--lime); color: #ffffff; transform: rotate(7deg); }
.bookstack .b3 { inset: 46% 40% 4% 12%; background: linear-gradient(160deg,#3A4150,#23262d); transform: rotate(-3deg); font-size:.8rem; }

/* rotating circular badge */
.since-badge { position: relative; width: 132px; height: 132px; }
.since-badge svg { width: 100%; height: 100%; animation: spin 16s linear infinite; }
.since-badge .since-core {
  position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%;
  background: var(--lime); color: #ffffff; display: grid; place-items: center; font-size: 1.4rem; font-weight: 800;
}
.since-badge text { fill: #fff; font-family: var(--body); font-weight: 700; font-size: 8.4px; letter-spacing: 2px; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 78px) clamp(6px, 1.2vw, 14px); }
.page-hero.wrap, .page-hero.wrap-narrow { padding-top: clamp(48px,7vw,90px); }
.page-hero .display-xl { margin-top: .6rem; }
.page-hero .lead { margin-top: 1rem; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
.breadcrumb a { color: var(--ink); }

/* ---------- Bands ---------- */
.band { background: var(--paper); }
.band--paper2 { background: var(--mist); }
.band--mist { background: var(--mist); }
.band--ink { background: var(--ink); color: #fff; }
.band--ink .display-md, .band--ink h2, .band--ink h3 { color: #fff; }
.band--ink .lead { color: var(--muted-d); }
.band--lime { background: var(--yellow); color: #4169E1; }
.band--lime .display-md, .band--lime h2 { color: #4169E1; }

/* decorative square accents */
.squares { display: inline-flex; gap: 6px; }
.squares i { width: 16px; height: 16px; display: block; }
.squares i:nth-child(1){ background: var(--ink); }
.squares i:nth-child(2){ background: var(--yellow); }

/* ---------- Feature / info cards ---------- */
.fcard {
  position: relative; background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem; box-shadow: var(--shadow-card);
}
.fcard .ico {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--mist); color: var(--ink); font-size: 1.3rem; margin-bottom: 1rem;
}
.fcard h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.fcard p { color: var(--muted); }
.fcard.tinted { background: var(--mist); border-color: transparent; }
.fcard.c-gold .ico, .fcard.tinted .ico { background: var(--yellow); }
/* inverted dark card (the highlighted Axios card) */
.fcard--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.fcard--dark h3 { color: #fff; }
.fcard--dark p { color: var(--muted-d); }
.fcard--dark .ico { background: var(--yellow); color: #4169E1; }
/* small lime square corner accent */
.fcard.accent::after {
  content: ""; position: absolute; top: -1.5px; right: -1.5px; width: 18px; height: 18px;
  background: var(--yellow); border-bottom-left-radius: 6px;
}

/* tick list */
.ticks { display: grid; gap: .55rem; margin-top: .4rem; }
.ticks li { position: relative; padding-left: 1.7rem; color: var(--text); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: .12rem; color: var(--ink);
  background: var(--yellow); width: 1.15rem; height: 1.15rem; border-radius: 4px;
  display: grid; place-items: center; font-size: .7rem; font-weight: 800;
}
.fcard--dark .ticks li { color: #E7E9EF; }

/* numbered service cards */
.svc-num { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--yellow-2); }
.fcard--dark .svc-num { color: var(--yellow); }

/* ---------- Book cards ---------- */
.book-card {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .25s ease, border-color .2s ease;
}
.book-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--ink); }
.book-card__cover {
  aspect-ratio: 3/4; padding: 1.1rem; display: flex; flex-direction: column;
  justify-content: space-between; color: #fff; position: relative;
}
.book-card__cover .cat {
  align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4);
  padding: .2em .7em; border-radius: 999px; backdrop-filter: blur(2px);
}
.book-card__cover .ct { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.04; }
.book-card__cover .ca { font-size: .9rem; opacity: .85; margin-top: .25rem; }
.book-card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.book-card__body .hook { color: var(--muted); font-size: .95rem; }
.book-card__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; }
.price-stamp {
  font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: #4169E1;
  background: var(--yellow); padding: .12em .55em; border-radius: 8px;
}
.book-card__body > a { font-weight: 700; color: var(--ink); font-size: .9rem; }
.book-card__body > a:hover { color: var(--yellow-2); }

/* Real-image cover cards: clean image, text sits in the body below */
.book-card__cover--img { padding: 0; background-color: var(--mist); }
.book-card__cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.book-card__title { font-family: var(--display); font-weight: 800; font-size: 1.18rem; line-height: 1.12; margin: 0; }
.book-card__title a { color: var(--ink); }
.book-card__title a:hover { color: var(--yellow-2); }
.book-card__author { color: var(--muted); margin: 0; font-size: .92rem; }

/* Quantity number input (book detail page) */
.qty-input {
  width: 88px; padding: .72rem .6rem; text-align: center; font-family: inherit;
  font-weight: 800; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper);
}
.qty-input:focus { outline: none; border-color: var(--lime-2); box-shadow: 0 0 0 3px rgba(180,222,30,.35); }

/* shop filters */
#shop-filters .btn.active-filter { background: var(--ink); color: #fff; border-color: var(--ink); }
#shop-filters .btn.active-filter:hover { box-shadow: var(--shadow-card); }

/* single-book visual */
.bookviz {
  border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column;
  justify-content: space-between; color: #fff; box-shadow: var(--shadow-card);
}
.bv-title { font-family: var(--display); font-weight: 800; line-height: 1.05; }
.bv-author { margin-top: .4rem; opacity: .85; }
.floaty { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }

/* qty stepper */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.qty button { width: 34px; height: 34px; border: 0; background: #fff; font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.qty button:hover { background: var(--yellow); color: #4169E1; }
.qty span { min-width: 30px; text-align: center; font-weight: 700; }

/* ---------- Stats strip ---------- */
.stat { text-align: center; }
.stat .n { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem,4vw,3.2rem); color: var(--ink); line-height: 1; }
.band--ink .stat .n { color: var(--yellow); }
.stat .l { color: var(--muted); font-weight: 600; margin-top: .3rem; }
.band--ink .stat .l { color: var(--muted-d); }

/* ---------- Quote card ---------- */
.quote-card {
  background: var(--ink); color: #ffffff; border-radius: var(--radius-lg);
  padding: clamp(1.4rem,3vw,2.4rem); position: relative;
}
.quote-card .q { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem,2.4vw,1.9rem); line-height: 1.2; }
.quote-card .sig { font-weight: 700; margin-top: 1rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1.5px solid var(--line); }
.faq-item { border-bottom: 1.5px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; padding: 1.2rem 2.5rem 1.2rem 0;
  font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--ink);
  position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--mist); color: var(--ink);
  display: grid; place-items: center; font-size: 1.2rem; transition: all .2s ease;
}
.faq-item.open .faq-q::after { content: "–"; background: var(--yellow); color: #4169E1; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 1.2rem; color: var(--muted); max-width: 70ch; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem,3vw,2.2rem); box-shadow: var(--shadow-card); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--body); font-size: 1rem; background: var(--mist-2); color: var(--text);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--ink); background: #fff;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width:600px){ .field-row { grid-template-columns: 1fr; } }

/* payment method toggle */
.pay-method { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pay-method label {
  display: flex; align-items: center; gap: .6rem; border: 1.5px solid var(--line); border-radius: 12px;
  padding: .85rem 1rem; cursor: pointer; font-weight: 700; transition: all .15s ease; background:#fff;
}
.pay-method label:has(input:checked) { border-color: var(--ink); background: var(--mist); box-shadow: inset 0 0 0 1px var(--ink); }
.pay-method small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.pay-method input { accent-color: var(--ink); }

/* cart + summary */
.cart-row { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1.5px solid var(--line); }
.cart-thumb { width: 64px; height: 84px; border-radius: 8px; }
.summary { background: var(--mist); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; position: sticky; top: 90px; }
.summary .line { display: flex; justify-content: space-between; padding: .45rem 0; color: var(--muted); }
.summary .line.total { border-top: 1.5px solid var(--ink); margin-top: .5rem; padding-top: .8rem; color: var(--ink); font-weight: 800; font-size: 1.15rem; font-family: var(--display); }

/* prose */
.prose h2 { font-size: 1.7rem; margin: 0 0 .6rem; }
.prose h3 { font-size: 1.25rem; margin: 1.4rem 0 .4rem; }
.prose p { color: var(--text); margin-bottom: .8rem; }

/* ---------- Legal & policies ---------- */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; align-items: start; padding-bottom: 4rem; }
.legal-nav { position: sticky; top: 90px; display: flex; flex-direction: column; gap: .3rem; background: var(--ink); border-radius: var(--radius); padding: 1rem; }
.legal-nav__title { font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--lime); margin: .1rem .2rem .6rem; text-transform: uppercase; letter-spacing: .08em; }
.legal-tab { text-align: left; font-family: var(--body); font-weight: 600; font-size: .95rem; color: #D7DAE2; background: transparent; border: 0; cursor: pointer; padding: .6rem .7rem; border-radius: 10px; transition: all .15s ease; }
.legal-tab:hover { background: rgba(255,255,255,.08); color: #fff; }
.legal-tab.is-active { background: var(--lime); color: #ffffff; font-weight: 700; }
.legal-panel { display: none; animation: legalIn .35s ease both; }
.legal-panel.is-active { display: block; }
@keyframes legalIn { from{opacity:0; transform: translateY(8px);} to{opacity:1; transform:none;} }
.legal-panel__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1rem; border-bottom: 3px solid var(--ink); padding-bottom: .7rem; margin-bottom: 1.2rem; }
.legal-panel__head h2 { margin: 0; }
.legal-updated { font-weight: 700; font-size: .85rem; color: #ffffff; background: var(--lime); padding: .15em .7em; border-radius: 999px; }
.legal-intro { font-size: 1.05rem; color: var(--text); max-width: 68ch; }
.legal-h { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--ink); margin: 1.8rem 0 .5rem; }
.legal-h4 { font-family: var(--body); font-weight: 800; font-size: 1rem; color: var(--ink); margin: 1.1rem 0 .35rem; }
.legal-panel p { max-width: 70ch; color: var(--text); }
.legal-list { margin: .4rem 0 .9rem; max-width: 64ch; }
.legal-list li { position: relative; padding-left: 1.6rem; margin: .35rem 0; color: var(--text); }
.legal-list li::before { content: "✓"; position: absolute; left: 0; top: .15rem; color: var(--ink); background: var(--lime); width: 1.05rem; height: 1.05rem; border-radius: 4px; display: grid; place-items: center; font-size: .65rem; font-weight: 800; }
.legal-contact { margin-top: 2rem; background: var(--mist); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.legal-contact__q { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--ink); margin: 0 0 .4rem; }
.legal-contact__body { margin: 0; line-height: 1.7; color: var(--text); }
.legal-contact a { color: var(--ink); font-weight: 700; text-decoration: underline; }
.legal-faq { margin: 1.2rem 0; }
.legal-q { border: 1.5px solid var(--line); border-radius: 12px; background: #fff; margin: .6rem 0; }
.legal-q summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--ink); padding: .8rem 1rem; list-style: none; position: relative; }
.legal-q summary::-webkit-details-marker { display: none; }
.legal-q summary::after { content: "+"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--lime-2); font-weight: 700; }
.legal-q[open] summary::after { content: "–"; }
.legal-q p { padding: 0 1rem 1rem; margin: 0; color: var(--muted); }
@media (max-width:820px){ .legal-layout { grid-template-columns: 1fr; gap: 1.2rem; } .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; } .legal-nav__title { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: #FFFFFF; color: #1a1a1a; padding-top: clamp(48px,6vw,72px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 2rem; padding-bottom: 2.5rem; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px){
  .footer-grid { gap: 1.5rem; padding-bottom: 2rem; }
  .site-footer { padding-top: 2rem; }
  .footer-brand img { height: 50px; }
  .footer-tag { font-size: .85rem; }
  .site-footer h4 { font-size: .75rem; margin-bottom: .6rem; }
  .footer-col a { font-size: .85rem; padding: .25rem 0; }
  .footer-meta li { font-size: .85rem; }
  .footer-social a { width: 36px; height: 36px; }
  .footer-social svg { width: 18px; height: 18px; }
}
@media (max-width: 360px){
  .footer-grid { gap: 1rem; }
  .footer-brand img { height: 45px; }
  .footer-tag { font-size: .8rem; }
  .site-footer h4 { font-size: .7rem; }
  .footer-col a { font-size: .8rem; }
  .footer-meta li { font-size: .8rem; }
  .footer-social a { width: 32px; height: 32px; }
  .footer-social svg { width: 16px; height: 16px; }
}
.site-footer h4 { color: #1a1a1a; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .9rem; }
.footer-tag { color: #6E727B; margin-top: 12px; max-width: 34ch; line-height: 1.5; }
.footer-col { display: flex; flex-direction: column; }
.footer-col a { display: block; color: #1a1a1a; padding: .3rem 0; font-size: .95rem; line-height: 1.3; }
.footer-col a:hover { color: #DC143C; }
.footer-meta { list-style: none; margin: 0 0 1rem; padding: 0; }
.footer-meta li { display: flex; gap: .55rem; align-items: flex-start; margin: .45rem 0; color: #1a1a1a; font-size: .92rem; line-height: 1.4; }
.footer-meta li span { opacity: .8; flex: none; }
.footer-meta a { color: #1a1a1a; }
.footer-meta a:hover { color: #DC143C; }
.newsletter { display: flex; gap: .5rem; margin-top: .2rem; }
.newsletter input { flex: 1; padding: .6rem .9rem; border-radius: 999px; border: 1.5px solid rgba(0,0,0,.18); background: rgba(0,0,0,.06); color: #1a1a1a; }
.newsletter input::placeholder { color: #6E727B; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; padding: 1.2rem 0 2rem; border-top: 1px solid rgba(0,0,0,.1); font-size: .85rem; color: #6E727B; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity: 1; transform: none; }
  .floaty, .ticker__track, .since-badge svg { animation: none; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px);
  background: var(--ink); color: #fff; padding: .85rem 1.4rem; border-radius: 999px;
  font-weight: 700; box-shadow: var(--shadow-soft); opacity: 0; pointer-events: none;
  transition: all .3s ease; z-index: 200; border: 1.5px solid var(--lime);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* hide legacy inline faq +/- indicator (CSS pseudo-element handles it) */
.faq-q .pm { display: none; }

/* ============================================================
   CMS additions (flash, account tables, badges)
   ============================================================ */
.flash{padding:.85rem 1.1rem;border-radius:12px;margin-bottom:.7rem;font-weight:600;border:1px solid}
.flash--success{background:#EAF8B0;border-color:#B4DE1E;color:#2f3a05}
.flash--error{background:#fdecec;border-color:#f3b4b4;color:#7a1e1e}
.flash--warning{background:#fff3da;border-color:#f0d08a;color:#6b4e10}
.flash--info{background:#eef4ff;border-color:#b9cdf3;color:#1f3a6b}
.adm-table{width:100%;border-collapse:collapse;margin-top:1rem;font-size:.95rem}
.adm-table th,.adm-table td{text-align:left;padding:.7rem .6rem;border-bottom:1px solid var(--line);vertical-align:top}
.adm-table th{font-family:var(--display);font-size:.8rem;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)}
.badge{display:inline-block;padding:.18em .6em;border-radius:999px;font-size:.74rem;font-weight:700;background:var(--mist);color:var(--ink);text-transform:capitalize}
.badge--published,.badge--paid,.badge--cleared{background:#d8f3a8;color:#33450a}
.badge--pending,.badge--new{background:#fff0cf;color:#6b4e10}
.badge--rejected,.badge--failed,.badge--cancelled{background:#fbdcdc;color:#7a1e1e}
.badge--draft{background:#e7e9ef;color:#444}
.cat-filter .is-active{background:var(--ink);color:#fff}

/* ============================================================
   Block builder components (stats, quote, native FAQ, embeds)
   ============================================================ */
.stat-row{display:flex;flex-wrap:wrap;gap:2rem 3rem;justify-content:space-between;align-items:flex-start}
.stat{display:flex;flex-direction:column;gap:.2rem;min-width:120px}
.stat-num{font-family:var(--display,'Bricolage Grotesque');font-weight:800;font-size:clamp(2.4rem,5vw,3.4rem);color:var(--lime,#C7F034);line-height:1}
.stat-label{color:var(--muted-d,#A7ABB4)}

.pull-quote{background:var(--lime,#C7F034);color:var(--ink,#14161B);border-radius:24px;padding:2.2rem 2.4rem}
.pull-quote p{font-family:var(--display,'Bricolage Grotesque');font-weight:800;font-size:clamp(1.3rem,2.6vw,1.9rem);line-height:1.25;margin:0}
.pull-quote cite{display:block;margin-top:1rem;font-style:normal;font-weight:600}

/* Native <details> FAQ block — overrides the legacy JS accordion clipping */
details.faq-item{border-bottom:1.5px solid var(--line,#E6E8DF)}
details.faq-item>summary{list-style:none;cursor:pointer;font-family:var(--display,'Bricolage Grotesque');font-weight:700;font-size:1.05rem;padding:1.1rem 0;display:flex;justify-content:space-between;align-items:center;gap:1rem}
details.faq-item>summary::-webkit-details-marker{display:none}
details.faq-item>summary::after{content:"+";color:#ffffff;background:var(--lime,#E31E24);width:1.5em;height:1.5em;display:grid;place-items:center;border-radius:50%;font-weight:800;flex:none}
details.faq-item[open]>summary::after{content:"\2013"}
details.faq-item .faq-a{max-height:none;overflow:visible}
details.faq-item .faq-a p{padding:0 0 1.2rem;color:var(--muted,#6E727B);max-width:72ch}

.block-embed{width:100%}

/* ============================================================
   Tighter spacing between stacked content blocks
   ============================================================ */
section.pad + section.pad,
.hero + section.pad,
.page-hero + section.pad { padding-block-start: clamp(22px, 3.5vw, 44px); }

/* ============================================================
   Axios-style photo hero (background image + dark overlay)
   ============================================================ */
.hero.has-image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero.has-image::before {
  background:
    linear-gradient(180deg, rgba(20,22,27,.72), rgba(20,22,27,.58)),
    radial-gradient(120% 90% at 85% -10%, rgba(199,240,52,.14), transparent 55%);
}

/* ============================================================
   Image block
   ============================================================ */
.block-image { margin: 0; }
.block-img { width: 100%; height: auto; display: block; border-radius: var(--radius, 18px); }
.block-image figcaption { margin-top: .6rem; color: var(--muted); font-size: .9rem; text-align: center; }

/* ---- Columns (image + text) block ---- */
.cols-sec .cols-h { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem,3vw,2.2rem); line-height: 1.05; margin: .3rem 0 1.4rem; }
.cols-grid { display: grid; gap: clamp(1.4rem, 3vw, 2.6rem); }
.cols-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-cell { min-width: 0; }
.cols-fig { margin: 0 0 .8rem; }
.cols-fig img { width: 100%; height: auto; display: block; border-radius: var(--radius, 18px); }
.cols-fig figcaption { font-size: .82rem; color: var(--muted); margin-top: .5rem; }
.cols-text.prose { color: var(--text); }
.cols-text.prose > :first-child { margin-top: 0; }
.cols-text.prose > :last-child { margin-bottom: 0; }
.cols-bg-mist { background: var(--mist); }
.cols-bg-dark { background: var(--ink); color: #D7DAE0; }
.cols-bg-dark .cols-h { color: #fff; }
.cols-bg-dark .cols-text.prose,
.cols-bg-dark .cols-text.prose p,
.cols-bg-dark .cols-text.prose li,
.cols-bg-dark .cols-fig figcaption { color: #D7DAE0; }
.cols-bg-dark .cols-text.prose h1,
.cols-bg-dark .cols-text.prose h2,
.cols-bg-dark .cols-text.prose h3,
.cols-bg-dark .cols-text.prose h4,
.cols-bg-dark .cols-text.prose strong { color: #fff; }
.cols-bg-dark .cols-text.prose a { color: var(--lime); }
.cols-bg-dark .section-label { color: var(--lime); }
@media (max-width: 820px){
  .cols-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .cols-grid.cols-2, .cols-grid.cols-3 { grid-template-columns: 1fr; }
}

/* ---- Feature cards: split layout (text left, cards right) ---- */
.fc-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.fc-split__intro { min-width: 0; }
.fc-split__h { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.02; margin: .25em 0 .5em; }
.fc-split__lead { color: var(--muted); max-width: 46ch; margin-bottom: 1.5rem; }
.band--ink .fc-split__lead { color: var(--muted-d); }
.fc-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.fc-split__cards.grid { margin: 0; }
@media (max-width: 900px){
  .fc-split { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 520px){
  .fc-split__cards.grid.grid-2 { grid-template-columns: 1fr; }
}

/* ---- Services (numbered + checklist) block ---- */
.svc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.7rem; }
.svc-head__title { flex: 1 1 58%; min-width: 0; max-width: 60ch; }
.svc-head__btn { flex: 0 0 auto; margin-bottom: .35rem; }
@media (max-width: 760px){ .svc-head__title { flex-basis: 100%; } }
.svc-card { display: flex; flex-direction: column; }
.svc-card .svc-num { display: block; margin-bottom: .5rem; }
.svc-card .ico { margin-bottom: .9rem; }
.svc-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
/* SVG / image icons inside any icon chip */
.ico svg, .ico img { width: 24px; height: 24px; display: block; max-width: 100%; max-height: 100%; }

/* ---- Quote: split layout (lime quote card + note) ---- */
.fq-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.fq-quote { background: var(--lime); color: #ffffff; border-radius: 28px; padding: clamp(1.7rem, 3vw, 2.8rem); margin: 0; }
.fq-quote blockquote { margin: 0; border: 0; padding: 0; }
.fq-quote p { font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 2.3vw, 1.95rem); line-height: 1.18; margin: 0; }
.fq-quote figcaption { margin-top: 1.4rem; font-weight: 700; font-size: .98rem; color: #ffffff; }
.fq-note { min-width: 0; }
.fq-note__h { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.02; margin: .25em 0 .5em; }
.fq-note__lead { color: var(--muted); max-width: 42ch; margin-bottom: 1.4rem; }
.band--ink .fq-note__lead { color: var(--muted-d); }
.fq-actions { margin-top: 1.2rem; }
@media (max-width: 860px){ .fq-split { grid-template-columns: 1fr; } }

/* ---- Grid helpers: single column + fill last odd card ---- */
.grid-1 { grid-template-columns: 1fr; }
.grid.fill-last.grid-2 > *:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---- Twisted / tilted cards ---- */
.grid.fc-tilt { gap: clamp(1.8rem, 3.5vw, 3rem); padding: 6px; }
.fc-tilt .fcard { transition: transform .25s ease; }
.fc-tilt .fcard:nth-child(odd)  { transform: rotate(-1deg); }
.fc-tilt .fcard:nth-child(even) { transform: rotate(1deg); }
.fc-tilt .fcard:hover { transform: rotate(0); position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce){ .fc-tilt .fcard { transform: none; } }

/* ---- Blog posts block cards ---- */
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 12px 30px rgba(20,22,27,.07); }
.post-card__cover { display: block; aspect-ratio: 16 / 11; background: var(--mist); }
.post-card__body { padding: 1.1rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .5rem; }
.post-card__cat { font-size: .78rem; color: var(--muted); font-weight: 600; }
.post-card__title { font-family: var(--display); font-weight: 800; font-size: 1.22rem; line-height: 1.15; margin: 0; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--lime-2); }
.post-card__excerpt { color: var(--muted); margin: 0; font-size: .95rem; line-height: 1.55; }
.post-card__read { font-weight: 700; color: var(--ink); margin-top: .3rem; }
.post-card__read:hover { color: var(--lime-2); }
.fill-last.grid-2 > .post-card:last-child:nth-child(odd) .post-card__cover { aspect-ratio: 21 / 7; }

/* ---- Columns: per-column heading + colored card option ---- */
.cols-cell__h { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.04; margin: .2rem 0 .6rem; }
.cols-card { padding: clamp(1.4rem, 2.6vw, 2.3rem); border-radius: 22px; }
.cols-card-lime  { background: var(--lime); color: #ffffff; }
.cols-card-mist  { background: var(--mist); }
.cols-card-white { background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(20,22,27,.07); }
.cols-card-dark  { background: var(--ink); color: #D7DAE0; }
.cols-card-lime .cols-cell__h, .cols-card-lime .section-label { color: #ffffff; }
.cols-card-dark .cols-cell__h { color: #fff; }
.cols-card-dark .cols-text.prose, .cols-card-dark .cols-text.prose p, .cols-card-dark .cols-text.prose li { color: #D7DAE0; }
.cols-card-dark .cols-text.prose strong { color: #fff; }
.cols-card-dark .section-label { color: var(--lime); }

/* ---- Testimonials ---- */
.tcard { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; display: flex; flex-direction: column; gap: 1.1rem; box-shadow: 0 12px 30px rgba(20,22,27,.06); }
.band--ink .tcard { background: #1E222B; border-color: rgba(255,255,255,.10); box-shadow: none; }
.tcard__q { margin: 0; border: 0; padding: 0; font-size: 1.05rem; line-height: 1.55; color: var(--text); }
.band--ink .tcard__q { color: #E7E9EF; }
.tcard__by { display: flex; align-items: center; gap: .8rem; margin: 0; }
.tcard__av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.tcard__meta { display: flex; flex-direction: column; line-height: 1.2; }
.tcard__name { font-weight: 800; font-family: var(--display); }
.tcard__role { font-size: .85rem; color: var(--muted); }
.band--ink .tcard__name { color: #fff; }
.band--ink .tcard__role { color: var(--muted-d, #9AA0AC); }

/* ---- Rich-text (.prose) — restore formatting the global reset strips ---- */
.prose ul { list-style: disc; padding-left: 1.4em; margin: 0 0 .9rem; }
.prose ol { list-style: decimal; padding-left: 1.5em; margin: 0 0 .9rem; }
.prose li { margin: .3rem 0; }
.prose a { color: var(--lime-2); text-decoration: underline; }
.prose blockquote { border-left: 3px solid var(--lime); margin: 1rem 0; padding: .2rem 0 .2rem 1rem; color: var(--muted); font-style: italic; }
.prose h2, .prose h3, .prose h4 { font-family: var(--display); font-weight: 800; line-height: 1.1; }
.prose strong, .prose b { font-weight: 700; }
.cols-text.prose ul, .cols-text.prose ol { margin-bottom: .6rem; }

/* ---- Form blocks ---- */
.form-block .form-card { max-width: 640px; }
.form-block .field input, .form-block .field textarea, .form-block .field select { width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
.form-block .field input:focus, .form-block .field textarea:focus { outline: 2px solid var(--lime); border-color: var(--lime); }
.form-block .field-hp { position: absolute; left: -9999px; }
.band--ink .form-block .form-card { background: #1E222B; border-color: rgba(255,255,255,.12); }
.band--ink .form-block .field label { color: #fff; }
.form-block .field-hint { display: block; margin-top: .35rem; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.band--ink .form-block .field-hint { color: var(--muted-d, #9AA0AC); }

/* ---- 4-column grid + listing pager ---- */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){ .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .grid-4 { grid-template-columns: 1fr; } }
.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.4rem; }
.pager__btn { font-weight: 700; color: var(--ink); padding: .5rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; }
.pager__btn:hover { border-color: var(--ink); }
.pager__btn.is-off { opacity: .35; pointer-events: none; }
.pager__info { color: var(--muted); font-size: .9rem; }
.band--ink .pager__btn { color: #fff; border-color: rgba(255,255,255,.25); }
.band--ink .pager__info { color: var(--muted-d, #9AA0AC); }

/* ---- Form blocks: center the column + card ---- */
.form-wrap { max-width: 720px; }
.form-block .form-card { max-width: none; margin-inline: auto; }

/* ---- Category filter bar (shop/blog widgets) ---- */
.cat-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; }
.cat-pill { display: inline-block; padding: .5rem 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--ink); background: #fff; }
.cat-pill:hover { border-color: var(--ink); }
.cat-pill.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-pill.is-on::first-letter { } /* no-op */
.band--ink .cat-pill { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.band--ink .cat-pill.is-on { background: var(--lime); color: #ffffff; border-color: var(--lime); }
.brand__img { height: 38px; width: auto; display: block; }
.site-footer .brand__img { filter: none; }

/* ============================================================
   Font refinement: body copy + headings stay serif/display,
   but interactive chrome stays crisp sans (--ui).
   ============================================================ */
.btn, .nav-links a, .section-label, .pill, .cat-pill, .pager, .pager__btn,
input, textarea, select, .field label, .form-block label, th,
.footer-col h4, .stat-label, .post-card__cat { font-family: var(--ui); }

/* ============================================================
   Mobile: app-like experience
   ============================================================ */
@media (max-width: 768px) {
  body { --header-h: 60px; }
  .site-header { position: sticky; top: 0; z-index: 60; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0; z-index: 40;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; margin: 0; max-height: none; overflow-y: auto;
    background: #FFFFFF;
    padding: calc(var(--header-h) + 1.2rem) clamp(20px, 6vw, 32px) 2.4rem;
    transform: translateX(100%); transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    visibility: hidden;
  }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a { font-size: 1.25rem; padding: 1.05rem 0; border-bottom: 1px solid rgba(0,0,0,.08); width: 100%; color: #1a1a1a; }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 1.4rem; flex-direction: column; align-items: stretch; gap: .8rem; }
  .nav-cta .btn { justify-content: center; padding: .9rem 1rem; font-size: 1.02rem; width: 100%; }
  .nav-cta .cart-btn { align-self: flex-start; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pad { padding-block: clamp(34px, 9vw, 58px); }
  .btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; }
  .btn--lg { width: 100%; }
  .display-xl, h1 { font-size: clamp(2.05rem, 9vw, 3rem); }
  .wrap, .wrap-narrow, .form-wrap { padding-inline: 18px; }
  .fq-split, .cols-grid.cols-2, .cols-grid.cols-3 { grid-template-columns: 1fr; }
  .cat-bar { gap: .45rem; }
  .cat-pill { padding: .45rem .85rem; font-size: .85rem; }
  /* comfy, app-like tap targets in forms */
  .field input, .field textarea, .field select { font-size: 16px; padding: .85rem; } /* 16px stops iOS zoom */
}

@media (max-width: 480px) {
  body { --header-h: 56px; }
  .site-header { padding: 8px 16px; }
  .nav-toggle { width: 40px; height: 40px; }
  .nav-toggle::before, .nav-toggle::after { width: 20px; }
  .wrap, .wrap-narrow, .form-wrap { padding-inline: 16px; }
  .display-xl, h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); line-height: 1.2; }
  .display-lg, h2 { font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.25; }
  .display-md, h3 { font-size: clamp(1.2rem, 5vw, 1.5rem); }
  .lead { font-size: 1rem; }
  .btn { padding: 12px 20px; font-size: 0.95rem; }
  .pad { padding-block: clamp(28px, 8vw, 48px); }
  .hero { min-height: 60vh; }
  .hero-grid { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-col { text-align: center; }
  .footer-social { justify-content: center; }
}

@media (max-width: 375px) {
  body { --header-h: 52px; }
  .site-header { padding: 6px 14px; }
  .nav-toggle { width: 36px; height: 36px; }
  .nav-toggle::before, .nav-toggle::after { width: 18px; }
  .logo img { height: 50px; }
  .wrap, .wrap-narrow, .form-wrap { padding-inline: 14px; }
  .display-xl, h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .display-lg, h2 { font-size: clamp(1.3rem, 5.5vw, 1.8rem); }
  .btn { padding: 10px 16px; font-size: 0.9rem; min-height: 44px; }
  .pad { padding-block: clamp(24px, 7vw, 40px); }
  .card { padding: 16px; }
  .nav-links a { font-size: 1.1rem; padding: 0.9rem 0; }
}
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #1a1a1a; color: #1a1a1a; }
.footer-social a:hover { background: #1a1a1a; color: #ffffff; border-color: #1a1a1a; }
