/* ==========================================================================
   Andrine Mendez — Hand-authored CSS equivalents of the Claude Design
   system's React components (Kicker, Button, Tag) used on this page.
   Values are transcribed 1:1 from the design system's component source
   (_ds/.../components/{brand/Kicker,core/Button,core/Tag}.jsx).
   ========================================================================== */

/* Kicker — mono uppercase eyebrow label */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: currentColor;
}
.kicker-marker--dash {
  width: 28px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}
.kicker-marker--dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-md { padding: 12px 22px; font-size: 1rem; }
.btn-lg { padding: 16px 30px; font-size: 1.125rem; }
.btn-primary { background: var(--brand); color: var(--on-brand); border: 2.5px solid var(--ink-900); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-dark { background: var(--ink-900); color: var(--grey-50); border: 2.5px solid var(--ink-900); }
.btn-outline { background: transparent; color: var(--ink-900); border: 2.5px solid var(--ink-900); }
.btn-outline:hover { background: var(--ink-900); color: var(--grey-50); }
.btn-ghost { background: transparent; color: var(--ink-900); border: 2.5px solid transparent; }
.btn-ghost:hover { background: var(--grey-100); }

/* Tag / pill label */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  line-height: 1.4;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  padding: 4px 13px;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.tag-outline { background: transparent; color: var(--ink-900); border: 1.5px solid var(--ink-900); }
.tag-brand { background: var(--brand); color: var(--on-brand); border: 1.5px solid var(--ink-900); }

/* Button — pop (hard offset shadow) variant */
.btn-pop { box-shadow: 5px 5px 0 var(--ink-900); }
.btn-pop:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink-900); }

/* Card */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.card-soft { background: var(--surface-card); border: 1.5px solid var(--border-hairline); box-shadow: var(--shadow-md); }
.card-outline { background: var(--surface-card); border: 2.5px solid var(--ink-900); box-shadow: none; }
.card-pop { background: var(--surface-card); border: 2.5px solid var(--ink-900); box-shadow: 5px 5px 0 var(--ink-900); }
.card-dark { background: var(--ink-900); border: 2.5px solid var(--ink-900); color: var(--grey-50); }
.card-accent { position: absolute; top: 0; left: 0; height: 100%; width: 6px; background: var(--brand); }
.card-interactive { cursor: pointer; }
.card-interactive:hover { transform: translateY(-3px); }
.card-interactive.card-soft:hover { box-shadow: var(--shadow-lg); }
.card-interactive.card-pop:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink-900); }

/* Avatar */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--yellow-300);
  border: 2.5px solid var(--ink-900);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Marquee — infinite scrolling typographic band */
.marquee { overflow: hidden; width: 100%; border-block: 2.5px solid var(--ink-900); }
.marquee-yellow { background: var(--brand); color: var(--ink-900); }
.marquee-ink { background: var(--ink-900); color: var(--grey-50); }
.marquee-outline { background: transparent; color: var(--ink-900); }
.marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 14px 0;
  animation: marquee-scroll 28s linear infinite;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item { display: inline-flex; align-items: center; }
.marquee-text { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; padding: 0 22px; }
.marquee-sep { font-family: var(--font-mono); opacity: 0.55; font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Form fields — Input / Select */
.field { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.field label { font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; color: var(--text-strong); }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-body);
  background: var(--white);
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  outline: none;
  box-sizing: border-box;
  transition: border var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--ink-900);
  box-shadow: 0 0 0 3px var(--yellow-200);
}
.field-hint { font-family: var(--font-body); font-size: 0.8125rem; color: var(--text-muted); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; }
.select-chevron { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }

/* Image slot — static placeholder standing in for <image-slot> drag/drop */
.img-slot {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--grey-100);
  border: 1.5px dashed var(--grey-400);
  color: var(--grey-500);
  text-align: center;
  padding: 12px;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px;
}
.img-slot svg { opacity: 0.5; }

/* Real image, hidden until it loads successfully — see js/asset-fallback
   note in each page. onload swaps this in and hides the .img-slot sibling;
   onerror just keeps it hidden so a missing file quietly stays a placeholder
   instead of showing a broken-image icon. */
.img-fill { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-fill-contain { width: 100%; height: 100%; object-fit: contain; display: block; box-sizing: border-box; padding: 6px; }
