/* ak-design — bundle: base/fonts.css + base/reset.css + base/typography.css + base/components.css + themes/catalog.css. Generated by build.mjs; do not edit. */
/* Web fonts for the design system. Kept first so the @import stays at the top of the bundle. */
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700&family=Inter:wght@400;500;600&display=swap");

/* Minimal, theme-agnostic reset. Holds no colors — those come from the active theme. */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; line-height: 1.6; }
img, picture, svg, video, canvas { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:where(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Type scale + base element styling. References tokens only — no literal colors. */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); }
h3 { font-size: 1.15rem; }
p { color: var(--text-dim); }
strong { color: var(--text); }
small { color: var(--text-faint); font-size: 0.8rem; }
code, kbd, pre, samp { font-family: ui-monospace, "SF Mono", "Fira Code", Menlo, monospace; }
code { background: var(--surface-2); border-radius: var(--radius-sm); padding: 0.1em 0.4em; font-size: 0.88em; }
hr { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

/* Generic primitives, namespaced `ds-` so consumers (e.g. the portfolio) never collide with
   their own component classes. Every rule references tokens only, so it adapts to any theme. */

.ds-link { color: var(--accent); text-decoration: none; font-weight: 600; }
.ds-link:hover { text-decoration: underline; }

.ds-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--surface-2);
  color: var(--text); cursor: pointer; text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.ds-btn:hover { border-color: var(--accent); }
.ds-btn--accent { border: none; color: #fff; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.ds-btn--accent:hover { filter: brightness(1.06); }

.ds-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.ds-badge {
  display: inline-block;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px; padding: 0.15rem 0.55rem; line-height: 1.5;
}

.ds-tag {
  display: inline-block;
  font-size: 0.75rem; color: var(--text-dim);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 0.15rem 0.6rem; background: var(--surface);
}

/* Accent rule used by group headers / dividers across sites. */
.ds-bar { height: 3px; width: 46px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* ============================================================
   Theme: catalog  —  the project-catalog / portfolio aesthetic.
   Periwinkle + teal + pink accents on near-black; Sora + Inter.
   Implements the full token contract (see contract.md) for dark
   (:root) and light (html[data-theme="light"]).
   ============================================================ */
:root {
  --bg: #0a0b10;
  --bg-2: #0f1118;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef0f6;
  --text-dim: #a6abbd;
  --text-faint: #6c7186;
  --accent: #7c8cff;
  --accent-2: #38e1c4;
  --accent-3: #ff8bd0;
  --glow: 124, 140, 255;
  --radius: 16px;
  --radius-sm: 9px;
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.8);
  --maxw: 1180px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}
html[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-2: #eef0f7;
  --surface: rgba(20, 24, 45, 0.025);
  --surface-2: rgba(20, 24, 45, 0.05);
  --border: rgba(20, 24, 45, 0.1);
  --border-strong: rgba(20, 24, 45, 0.18);
  --text: #15182a;
  --text-dim: #4a5068;
  --text-faint: #858aa0;
  --accent: #4d5df0;
  --accent-2: #0fae93;
  --accent-3: #d6469f;
  --glow: 77, 93, 240;
  --shadow: 0 18px 40px -22px rgba(40, 50, 90, 0.4);
}

