@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@700;800&family=Inter:wght@400;500;600;700&family=Fraunces:ital,wght@1,400;1,500;1,600&display=swap");

/* ─────────────────────────────────────────────────────────────
   CAMPUS KIT — Foundation / shared design language
   ─────────────────────────────────────────────────────────────
   Authored cream-first. The cream theme IS the brand; dark mode
   is a first-class translation under [data-theme="dark"].

   TYPOGRAPHY (locked)
     Bricolage Grotesque 700–800  → brand: hero + section headings only
     Inter 400/500/600/700        → product: nav, cards, inputs, tables…
     Fraunces italic              → occasional editorial pricing accent
     (Playpen retired.)

   MOTION (locked — 7 approved families, all defined below)
     1 Marker underline draw   2 Marker highlight reveal
     3 Arrow path drawing      4 Sparkle pop
     5 Section reveal          6 Card hover
     7 Checkbox draw
   Nothing else. No orbs, no tilt/glare, no shine-sweep, no custom
   cursor, no ambient loops.
──────────────────────────────────────────────────────────────── */

:root {
  /* ── Surfaces (cream / brand default) ── */
  --canvas: #FFFBF5;
  --card:   #FFFFFF;
  --card2:  #FBF6EC;          /* elevated / secondary surface */

  /* ── Ink ── */
  --text:  #1C1C1C;
  --muted: rgba(28, 28, 28, 0.72);   /* AA-safe on cream at small sizes */

  /* ── Accent (single brand accent) ── */
  --petrol: #F2A93B;                 /* warm amber — named "petrol" in code, do not rename */
  --petrol-rgb: 242, 169, 59;
  --ink-on-petrol: #2B1B05;          /* dark ink for text on amber */
  --amber-tint: #FFF1D9;

  /* ── Rose — RESERVED. Single role only: "money saved / price down".
        Never a co-equal accent. ── */
  --gold: #E1467A;
  --gold-rgb: 225, 70, 122;
  --gold-dim: rgba(225, 70, 122, 0.12);

  /* ── Hairline borders (subtle surfaces) ── */
  --border: 1px solid rgba(28, 28, 28, 0.10);
  --border-strong: 1px solid rgba(28, 28, 28, 0.20);

  /* ── Neo-brutalist border + flat offset shadow (structural language) ── */
  --border-neo: #1C1C1C;             /* the 3–4px black outline */
  --shadow-neo: #1C1C1C;
  --card-bg-neo: #FFF9E6;            /* warm neo card fill */
  --nb-shadow-sm:    2px 2px 0px var(--border-neo);
  --nb-shadow:       4px 4px 0px var(--border-neo);
  --nb-shadow-lg:    5px 5px 0px var(--border-neo);
  --nb-shadow-hover: 7px 7px 0px var(--border-neo);
  --nb-badge: #FFE082;               /* amber sticker fill (theme-invariant) */
  --nb-badge-ink: #1A1A1A;

  --scrollbar-thumb: rgba(28, 28, 28, 0.22);

  /* ── Type system ── */
  --font-head:   "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body:   "Inter", system-ui, -apple-system, sans-serif;
  --font-accent: "Fraunces", Georgia, serif;
  --font-doodle: var(--font-head);   /* Playpen retired → Bricolage carries the handcrafted headings */

  /* Type scale (use these; avoid one-off inline sizes) */
  --fs-hero: clamp(40px, 5.2vw, 66px);
  --fs-h1:   clamp(34px, 5vw, 54px);
  --fs-h2:   clamp(28px, 3.6vw, 40px);
  --fs-h3:   22px;
  --fs-lede: 18px;
  --fs-body: 16px;
  --fs-sm:   14px;
  --fs-xs:   12px;
  --lh-tight: 1.12;
  --lh-body:  1.6;

  /* Spacing scale — 4px base, 8px rhythm (Bible §6). Use only these. */
  --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px;  --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;

  /* Content widths */
  --w-max: 1280px;      /* outer content bound */
  --w-focused: 760px;   /* single guided task (e.g. a quiz) */
  --w-text: 720px;      /* prose reading measure */

  /* ── Shape ── */
  --radius:    16px;
  --radius-sm: 10px;

  /* ── Motion tokens ── */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-reveal: 0.7s;
  --dur-ui: 0.2s;
}

/* ── Dark mode — a faithful translation of the cream language ── */
[data-theme="dark"] {
  --canvas: #120d05;
  --card:   #1C150A;
  --card2:  #281e10;

  --text:  #F2F6F5;
  --muted: #A8BABA;

  --gold-dim: rgba(225, 70, 122, 0.16);

  --border: 1px solid rgba(var(--petrol-rgb), 0.10);
  --border-strong: 1px solid rgba(var(--petrol-rgb), 0.22);

  --border-neo: #F2F6F5;             /* outline flips to light on dark */
  --shadow-neo: #F2F6F5;
  --card-bg-neo: var(--card);

  --scrollbar-thumb: rgba(var(--petrol-rgb), 0.25);
}

/* ─────────────────────────────────────────────────────────────
   BASE
──────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* The .ck-root container scopes resets to override default WordPress/Elementor theme styles */
.ck-root {
  background: var(--canvas) !important;
  color: var(--text) !important;
  font-family: var(--font-body) !important;
  font-size: var(--fs-body) !important;
  line-height: var(--lh-body) !important;
  text-align: left !important;
  transition: background 0.35s ease, color 0.35s ease;
  min-height: 100%;
}

.ck-root h1, .ck-root h2, .ck-root h3, .ck-root h4 {
  font-family: var(--font-head) !important;
  letter-spacing: -0.03em !important;
  line-height: var(--lh-tight) !important;
  font-weight: 800 !important;
  color: var(--text) !important;
}

.ck-root a {
  color: inherit !important;
  text-decoration: none !important;
  background: transparent !important;
}
.ck-root a:hover {
  text-decoration: none !important;
}

.ck-root button {
  font-family: var(--font-body) !important;
  cursor: pointer;
}

.ck-root img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}

body {
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.35s ease, color 0.35s ease;
  /* Native cursor everywhere — the wand cursor is retired. */
}

::selection { background: var(--petrol); color: var(--ink-on-petrol); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 5px; }

/* Brand headings — Bricolage. Product component headings opt into
   Inter with .ui-title (see typography note). */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  letter-spacing: -0.03em;
  line-height: var(--lh-tight);
  font-weight: 800;
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }
img { max-width: 100%; display: block; }

/* Global keyboard focus ring — amber, offset. Applies to everything
   interactive; :where() keeps specificity 0 so components can refine
   it. Never remove a focus indicator without an equal replacement. */
:where(a, button, input, textarea, select, summary, [tabindex], [role="button"], [role="checkbox"]):focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 2px;
}

.container { max-width: var(--w-max); margin: 0 auto; padding: 0 var(--sp-5); }
.container-focused { max-width: var(--w-focused); margin: 0 auto; padding: 0 var(--sp-5); }
.container-text { max-width: var(--w-text); margin: 0 auto; padding: 0 var(--sp-5); }

/* Tabular figures for prices/specs so numbers never jitter or misalign */
.tnum { font-variant-numeric: tabular-nums; }

/* Product-side title helper: Inter, not Bricolage.
   Apply to card names, table headers, filter titles, etc. */
.ui-title { font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em; }

/* Fraunces accent — reserved for prices / numeric editorial flourishes */
.accent-serif {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
}

/* ─────────────────────────────────────────────────────────────
   STANDARD PRICE COMPONENT — the one price treatment, everywhere.
   Inter (not Fraunces), high-contrast ink for the current price;
   rose/gold strike for "was" per the money-saved semantic rule.
   Wrap in .ck-price, put the live price in .ck-price-now and the
   struck MRP (if any) in .ck-price-was.
──────────────────────────────────────────────────────────────── */
.ck-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ck-price-now {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.ck-price-was {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--gold);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

/* ─────────────────────────────────────────────────────────────
   APPROVED ANIMATION LIBRARY (the only 7)
──────────────────────────────────────────────────────────────── */

/* 5 · SECTION REVEAL — opacity + rise, plays once on enter */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-reveal) ease,
              transform var(--dur-reveal) var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* 2 · MARKER HIGHLIGHT — the amber block on a headline word.
   .hl is the static block; .hl-draw wipes in when its .reveal
   ancestor enters the viewport (works on mouse/touch/keyboard/AT
   because it's driven by scroll position, not hover). */
.hl {
  display: inline-block;
  position: relative;
  background: var(--petrol);
  color: var(--ink-on-petrol);
  padding: 0 0.28em;
  transform: rotate(-1deg);
  border-radius: 8px;
  border: 2.5px solid var(--border-neo);
  box-shadow: var(--nb-shadow);
}
/* Highlight-reveal variant: transparent until the marker wipes across */
.hl-draw {
  background: transparent;
  color: var(--text);
  border-color: transparent;
  box-shadow: none;
  isolation: isolate;
}
.hl-draw::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--petrol);
  border: 2.5px solid var(--border-neo);
  border-radius: 8px;
  box-shadow: var(--nb-shadow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s var(--ease-out);
}
.reveal.in .hl-draw,
.hl-draw.in { color: var(--ink-on-petrol); transition: color 0.2s ease 0.25s; }
.reveal.in .hl-draw::before,
.hl-draw.in::before { transform: scaleX(1); }

/* 1 · MARKER UNDERLINE DRAW — hand-drawn underline that draws in on
   reveal (or hover, see .ck-card). Wrap the word in .mk-underline. */
.mk-underline { position: relative; display: inline-block; }
.mk-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.14em;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5 Q10 1 20 4 T40 4 T63 3' stroke='%23F2A93B' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
  pointer-events: none;
}
.reveal.in .mk-underline::after,
.mk-underline.in::after { transform: scaleX(1); }

/* Pink doodle variant — a hand-drawn curvy sketch underline instead of
   the default amber wave. Same draw-in mechanics as .mk-underline. */
.mk-underline.pink::after {
  height: 10px;
  bottom: -0.18em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 10' preserveAspectRatio='none'%3E%3Cpath d='M1 6 Q6 1 12 5 T24 4 Q30 8 36 4 T50 3 Q56 7 63 3' stroke='%23E1467A' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* 3 · ARROW PATH DRAWING — an SVG stroke that draws itself.
   Give the <path> class .draw-path; it draws when a .reveal
   ancestor (or the path's .in) fires. */
.draw-path {
  stroke-dasharray: var(--path-len, 240);
  stroke-dashoffset: var(--path-len, 240);
  transition: stroke-dashoffset 0.8s var(--ease-out);
}
.reveal.in .draw-path,
.draw-path.in { stroke-dashoffset: 0; }

/* 4 · SPARKLE POP — a single star that pops + drifts once.
   Spawned on real events via CK.sparkle(x, y) — never on idle
   mouse movement. */
.ck-sparkle {
  position: fixed;
  top: 0; left: 0;
  width: var(--sz, 10px);
  height: var(--sz, 10px);
  margin: calc(var(--sz, 10px) / -2) 0 0 calc(var(--sz, 10px) / -2);
  background: var(--petrol);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  pointer-events: none;
  z-index: 300;
  transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--rot, 0deg)) scale(0.2);
  animation: sparkle-pop 0.7s ease-out forwards;
}
@keyframes sparkle-pop {
  0%   { transform: translate(var(--x), var(--y)) rotate(var(--rot)) scale(0.2); opacity: 1; }
  35%  { transform: translate(calc(var(--x) + var(--dx) * 0.4), calc(var(--y) - 12px)) rotate(var(--rot)) scale(1); opacity: 1; }
  100% { transform: translate(calc(var(--x) + var(--dx)), calc(var(--y) - 36px)) rotate(var(--rot)) scale(0.25); opacity: 0; }
}

/* 7 · CHECKBOX DRAW — the tick draws itself in. Give the check
   <path> class .check-draw inside a control that toggles .checked. */
.check-draw {
  stroke-dasharray: 28;
  stroke-dashoffset: 28;
  transition: stroke-dashoffset 0.3s var(--ease-out);
}
.checked .check-draw,
.check-draw.in { stroke-dashoffset: 0; }

/* ── Reduced motion: show final state, no movement ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hl-draw { color: var(--ink-on-petrol); }
  .hl-draw::before { transform: scaleX(1); transition: none; }
  .mk-underline::after { transform: scaleX(1); transition: none; }
  .draw-path { stroke-dashoffset: 0; transition: none; }
  .check-draw { stroke-dashoffset: 0; transition: none; }
  .ck-sparkle { display: none; }
}

/* Safety net: collapse all remaining transitions/animations (hover
   lifts, micro-interactions) to near-instant when the user asks for
   less motion. Final visual states are preserved. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Section eyebrow label — small caps with a marker squiggle prefix */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 6 Q5 1 9 6 T17 6 T25 4' stroke='%23F2A93B' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* Struck-through word (rose reserved role: "was this / now that") */
.strike {
  position: relative;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--gold);
}

main, .page-root { position: relative; z-index: 1; }

/* ─────────────────────────────────────────────────────────────
   FLOATING PILL NAV
──────────────────────────────────────────────────────────────── */
#ck-pill {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1080px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 22px;
  border-radius: 20px;
  background: var(--card-bg-neo);
  border: 2.5px solid var(--border-neo);
  box-shadow: var(--nb-shadow-lg);
  transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.35s ease;
}
#ck-pill.scrolled {
  padding: 8px 18px;
  box-shadow: var(--nb-shadow-sm);
}

.ck-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.ck-logo em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  color: var(--petrol);
}
.ck-logo img {
  height: 50px;
  width: auto;
  display: block;
}

.ck-nav-links { display: flex; align-items: center; gap: 4px; }
.ck-nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 999px;
  transition: color 0.2s ease;
  z-index: 0;
}
.ck-nav-links a svg { width: 15px; height: 15px; flex: none; }
.ck-nav-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--card2);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out);
  z-index: -1;
}
.ck-nav-links a:hover { color: var(--text); }
.ck-nav-links a:hover::before { opacity: 1; transform: scale(1); }
.ck-nav-links a.active {
  color: var(--ink-on-petrol);
  background: var(--petrol);
  border: 2px solid var(--border-neo);
  box-shadow: var(--nb-shadow-sm);
}
.ck-nav-links a.active::before { content: none; }

.ck-nav-actions { display: flex; align-items: center; gap: 8px; }

.ck-icon-btn {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 2px solid var(--border-neo);
  background: var(--card2);
  color: var(--text);
  box-shadow: var(--nb-shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.ck-icon-btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0px var(--border-neo); }
.ck-icon-btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0px var(--border-neo); }
.ck-icon-btn svg { width: 17px; height: 17px; }

#ck-burger { display: none; }

/* Mobile drawer */
#ck-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(320px, 84vw);
  background: var(--card-bg-neo);
  border-left: 2.5px solid var(--border-neo);
  box-shadow: -5px 0px 0px var(--border-neo);
  z-index: 120;
  padding: 90px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(105%);
  transition: transform 0.35s var(--ease-out);
}
#ck-drawer.open { transform: translateX(0); }
#ck-drawer a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  padding: 12px 4px;
  border-bottom: var(--border);
  color: var(--muted);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
#ck-drawer a svg { width: 20px; height: 20px; flex: none; }
#ck-drawer a:hover, #ck-drawer a.active { color: var(--text); padding-left: 10px; }
#ck-drawer a.active { color: var(--petrol); }

#ck-drawer-close { position: absolute; top: 24px; right: 24px; }

#ck-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#ck-scrim.open { opacity: 1; pointer-events: auto; }

@media (max-width: 860px) {
  .ck-nav-links { display: none; }
  #ck-burger { display: grid; }
}

/* ─────────────────────────────────────────────────────────────
   CARDS  (6 · CARD HOVER = flat neo lift + marker underline draw-in)
──────────────────────────────────────────────────────────────── */
.ck-card {
  position: relative;
  background: var(--card);
  border: var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.25s ease, box-shadow 0.2s ease;
}
.ck-card:hover { border-color: rgba(var(--petrol-rgb), 0.35); }

/* Marker underline draws across the top edge on hover (animation #1) */
.ck-card::after {
  content: "";
  position: absolute;
  top: -1px; left: 16px; right: 16px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 8' preserveAspectRatio='none'%3E%3Cpath d='M0 5 Q4 1 8 5 T16 5 T24 5 T32 5' stroke='%23F2A93B' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 32px 8px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
  pointer-events: none;
}
.ck-card:hover::after { transform: scaleX(1); }

/* Neo-brutalist hover-lift utility (flat offset shadow, no glow) */
.nb-hover { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.nb-hover:hover { transform: translate(-2px, -2px); box-shadow: var(--nb-shadow-hover); }
.nb-hover:active { transform: translate(1px, 1px); box-shadow: var(--nb-shadow-sm); }

/* ─────────────────────────────────────────────────────────────
   BUTTONS  (flat neo-brutalist — no shine sweep, no glow)
──────────────────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 2.5px solid var(--border-neo);
  background: var(--card);
  color: var(--text);
  box-shadow: var(--nb-shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
              background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--nb-shadow); }
.btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0px var(--border-neo); }
.btn .arrow { transition: transform 0.2s ease; display: inline-flex; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--petrol);
  border-color: var(--border-neo);
  color: var(--ink-on-petrol);
}
.btn-primary:hover { background: #f7b752; }

.btn-ghost { background: transparent; }
.btn-ghost:hover { border-color: var(--border-neo); color: var(--petrol); }

/* ─────────────────────────────────────────────────────────────
   CANONICAL FORM CONTROLS — the one input/search language.
   Adopt via .ck-field (wrapper) around an <input>/<select>; add
   .ck-field.pill for a rounded search. Replaces per-page
   .search-box / .perk-search during page passes.
──────────────────────────────────────────────────────────────── */
.ck-field {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: var(--card);
  border: 2px solid var(--border-neo);
  border-radius: var(--radius-sm);
  box-shadow: var(--nb-shadow-sm);
  padding: 11px 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ck-field.pill { border-radius: 999px; }
.ck-field:focus-within { transform: translate(-2px, -2px); box-shadow: var(--nb-shadow); }
.ck-field > svg { width: 16px; height: 16px; stroke: var(--muted); flex: none; }
.ck-field input,
.ck-field select,
.ck-field textarea {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
}
.ck-field input::placeholder { color: var(--muted); }
/* The field owns the focus ring, so the inner input doesn't double it */
.ck-field input:focus-visible,
.ck-field select:focus-visible { outline: none; }

/* ─────────────────────────────────────────────────────────────
   CANONICAL PRODUCT CARD — the ONE card language (Bible §7).
   Replaces catalog's .product-card and unifies with the checklist
   drawer card during page passes.
──────────────────────────────────────────────────────────────── */
.prod-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--card);
  border: 2.5px solid var(--border-neo);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--nb-shadow-sm);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.prod-card:hover { transform: translate(-2px, -2px); box-shadow: var(--nb-shadow); }
.prod-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border-bottom: 2px solid var(--border-neo);
  padding: 10px;
  overflow: hidden;
}
.prod-card-img img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius-sm); }
.prod-card-tag {
  position: absolute;
  top: 8px; left: 8px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  background: var(--petrol);
  color: var(--ink-on-petrol);
  border: 1.5px solid var(--border-neo);
  border-radius: 5px;
}
.prod-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px 14px;
  background:
    radial-gradient(120% 140% at 20% 100%, rgba(var(--petrol-rgb), 0.18), transparent 60%),
    var(--card2);
}
.prod-card-brand {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--petrol);
}
.prod-card-name { font-family: var(--font-body); font-weight: 600; font-size: 13px; line-height: 1.35; letter-spacing: -0.01em; }
.prod-card-rating { display: flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.prod-card-rating svg { width: 12px; height: 12px; color: var(--petrol); }
.prod-card-price { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.prod-card-price-left { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.prod-card-price-cur { font-size: 15px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.prod-card-price-mrp { font-size: 11px; color: var(--gold); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.prod-card-buy {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  background: var(--card2);
  color: var(--text);
  border: 2px solid var(--border-neo);
  border-radius: 7px;
  box-shadow: var(--nb-shadow-sm);
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.prod-card-buy svg { width: 11px; height: 11px; }
.prod-card:hover .prod-card-buy { background: var(--petrol); color: var(--ink-on-petrol); box-shadow: 1px 1px 0px var(--border-neo); }

/* ─────────────────────────────────────────────────────────────
   SHARED PAGE SCAFFOLDING
   ──────────────────────────────────────────────────────────────── */
.page-head { padding: 150px 0 40px; }
@media (max-width: 900px) {
  .page-head { padding-left: 24px; padding-right: 24px; }
}
.page-head h1 { font-size: var(--fs-h1); max-width: 720px; }
.page-head .lede { color: var(--muted); font-size: 17px; max-width: 580px; margin-top: 16px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  border: 2px solid var(--border-neo);
  box-shadow: var(--nb-shadow-sm);
  color: var(--muted);
  background: var(--card2);
}
.chip.gold { color: var(--gold); background: var(--gold-dim); }
.chip.petrol { color: var(--petrol); background: rgba(var(--petrol-rgb), 0.1); }

/* Sticker badge — rotated amber tag (Bricolage, Playpen retired) */
.ck-sticker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  padding: 7px 13px;
  color: var(--nb-badge-ink);
  background: var(--nb-badge);
  border: 2.5px solid var(--border-neo);
  border-radius: 9px;
  box-shadow: var(--nb-shadow-sm);
  transform: rotate(-3deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ck-sticker:hover {
  transform: rotate(-1deg) translate(-1px, -1px);
  box-shadow: var(--nb-shadow);
}
.ck-sticker.rose { background: var(--gold); color: #fff; }
.ck-sticker .star { width: 13px; height: 13px; flex: none; }
@media (prefers-reduced-motion: reduce) { .ck-sticker { transition: none; } }

/* ─────────────────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────────────────────── */
.ck-footer {
  position: relative;
  z-index: 1;
  margin-top: 110px;
  background: var(--card-bg-neo);
  border-top: 3px solid var(--border-neo);
}
.ck-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding: 58px 24px 44px;
}
@media (max-width: 820px) {
  .ck-footer-inner { grid-template-columns: 1fr; gap: 38px; padding-top: 46px; }
}

.ck-footer-brand { max-width: 470px; }
.ck-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.ck-footer-logo em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  color: var(--petrol);
}
.ck-footer-logo img {
  height: 72px;
  width: auto;
  display: block;
}
.ck-footer-tagline {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 420px;
}
.ck-footer-brand .ck-sticker { margin-top: 24px; }

.ck-footer-nav { display: flex; gap: 44px; flex-wrap: wrap; }
.ck-footer-col { display: flex; flex-direction: column; gap: 2px; min-width: 140px; }
.ck-footer-col-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 12px;
}
.ck-footer-col-title::before {
  content: "";
  width: 22px;
  height: 9px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 6 Q5 1 9 6 T17 6 T25 4' stroke='%23F2A93B' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.ck-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  padding: 7px 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.18s ease, transform 0.18s ease;
}
.ck-footer-link .dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--petrol);
  border: 1.5px solid var(--border-neo);
  transform: rotate(45deg);
  transition: transform 0.2s ease, background 0.2s ease;
}
.ck-footer-link:hover { color: var(--text); transform: translateX(4px); }
.ck-footer-link:hover .dot { background: var(--gold); transform: rotate(135deg) scale(1.15); }

.ck-footer-bar { border-top: 2px dashed var(--border-neo); }
.ck-footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 28px;
}
.ck-footer-bar p { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.ck-footer-bar .accent-serif { color: var(--petrol); font-style: italic; }
.ck-footer-loom {
  color: var(--petrol);
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.ck-footer-loom:hover { border-color: var(--petrol); }
.ck-footer-affiliate { max-width: 430px; }

/* ─────────────────────────────────────────────────────────────
   BACK-TO-TOP STICKER BUTTON (injected sitewide)
──────────────────────────────────────────────────────────────── */
#ck-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  z-index: 90;
  border-radius: 12px;
  border: 2.5px solid var(--border-neo);
  background: var(--petrol);
  color: var(--ink-on-petrol);
  box-shadow: var(--nb-shadow);
  transform: translateY(18px) rotate(-4deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease;
}
#ck-top.show { opacity: 1; pointer-events: auto; transform: translateY(0) rotate(-4deg); }
#ck-top:hover { transform: translateY(-2px) rotate(-4deg); box-shadow: var(--nb-shadow-lg); }
#ck-top:active { transform: translateY(1px) rotate(-4deg); box-shadow: var(--nb-shadow-sm); }
#ck-top svg { width: 20px; height: 20px; }
@media (max-width: 560px) { #ck-top { right: 16px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { #ck-top { transition: opacity 0.25s ease; } }
