/* ============================================================
   Kahchunk Portfolio — Design System
   Tokens, fonts, and base styles derived from Figma
   (file 5fZXDEU62EJyEHqO0svzzE, frame kahchunk_home_v2 1645:1860)
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Clash Display";
  src: url("../assets/fonts/ClashDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("../assets/fonts/ClashDisplay-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("../assets/fonts/ClashDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("../assets/fonts/GeneralSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("../assets/fonts/GeneralSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("../assets/fonts/GeneralSans-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Museo Sans";
  src: url("../assets/fonts/MuseoSans-500.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Figma color variables */
  --blue-100: #b5cfde;
  --blue-200: #0e1828;
  --orange-100: #fff9d1;
  --orange-200: #f8cd7e;
  --orange-300: #ed8c11;
  --green-100: #a7ac82;
  --black: #000000;

  /* semantic */
  --bg: var(--blue-200);
  --text: var(--orange-100);
  --text-muted: var(--blue-100);
  --accent: var(--orange-300);

  --font-display: "Clash Display", system-ui, sans-serif;
  --font-body: "General Sans", system-ui, sans-serif;
  --font-museo: "Museo Sans", "General Sans", system-ui, sans-serif;

  /* layout */
  --site-max: 1280px;   /* project cards / footer content */
  --hero-max: 1760px;   /* nav + hero content (px-80 on 1920) */
  --pad-x: clamp(20px, 4.2vw, 80px);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

:focus-visible {
  outline: 2px solid var(--orange-300);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Reusable bits ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2.42px;
  text-transform: uppercase;
}

/* Pills / buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--orange-300);
  color: var(--orange-100);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1.2px;
  padding: 14px 32px;
  box-shadow: 0 4px 4px 1px rgba(0, 0, 0, 0.25);
}
.btn--primary:hover { background: #f59a23; }

.btn--solid {
  background: var(--orange-300);
  color: var(--orange-100);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 14px 22px;
}

.btn--outline {
  border: 1.5px solid var(--orange-100);
  color: var(--orange-100);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  padding: 14px 22px;
}
.btn--outline:hover { background: rgba(255, 249, 209, 0.08); }

/* "See how" small pill used on cards */
.btn--see {
  background: var(--orange-300);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  padding: 4px 30px;
  border-radius: 40px;
}
.btn--see:hover { background: #f59a23; }

/* Tag chips */
.tag {
  background: var(--green-100);
  color: var(--blue-200);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.3px;
  padding: 6px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
