/* ============================================================
   MOVAN STUDIO — STYLES ENTRY POINT
   Import order matters. Do not reorder.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;800&family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap");

/* --- INLINED: tokens.css --- */
/* ============================================================
   MOVAN STUDIO — DESIGN TOKENS
   Single source of truth for all design values.
   Do not put component styles here.
   ============================================================ */

:root {
  /* ── Background ─────────────────────────────────────────── */
  --color-bg:         #ffffff;
  --color-bg-soft:    #fafafa;
  --color-bg-raised:  #f5f5f5;

  /* ── Surface (panels, cards) ────────────────────────────── */
  --color-surface:        rgba(0, 0, 0, 0.030);
  --color-surface-light:  rgba(0, 0, 0, 0.040);
  --color-surface-mid:    rgba(0, 0, 0, 0.050);
  --color-surface-hover:  rgba(0, 0, 0, 0.072);
  --color-surface-active: rgba(0, 0, 0, 0.090);

  /* ── Text ───────────────────────────────────────────────── */
  --color-text:         #000000;
  --color-text-soft:    #333333;
  --color-text-muted:   #666666;
  --color-text-xmuted:  #999999;

  /* ── Border / Line ──────────────────────────────────────── */
  --color-border:       #eaeaea;
  --color-border-mid:   #cccccc;
  --color-border-strong:#000000;

  /* ── Accent Gold ────────────────────────────────────────── */
  --color-accent:       #b49a70;
  --color-accent-light: #d3bd98;
  --color-accent-dim:   rgba(180, 154, 112, 0.18);
  --color-accent-glow:  rgba(180, 154, 112, 0.08);

  /* ── Semantic ───────────────────────────────────────────── */
  --color-success:  #7da783;
  --color-error:    #c46f68;
  --color-warning:  #c8a847;
  --color-info:     #6e96b8;

  /* ── Typography ─────────────────────────────────────────── */
  --font-display: "Space Grotesk", sans-serif;
  --font-heading: "Space Grotesk", sans-serif;
  --font-body:    "Inter", sans-serif;

  /* ── Font sizes (fluid) ─────────────────────────────────── */
  --text-xs:   0.72rem;   /* 11.5px */
  --text-sm:   0.82rem;   /* 13px */
  --text-base: 0.96rem;   /* 15.5px */
  --text-md:   1.06rem;   /* 17px */
  --text-lg:   1.2rem;    /* 19px */
  --text-xl:   1.45rem;   /* 23px */
  --text-2xl:  1.85rem;   /* 30px */
  --text-3xl:  2.4rem;    /* 38px */
  --text-4xl:  clamp(2.2rem, 4vw, 3.8rem);
  --text-hero: clamp(4.8rem, 12vw, 10rem);

  /* ── Spacing scale ──────────────────────────────────────── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* ── Layout ─────────────────────────────────────────────── */
  --container-max:  1440px;
  --container-pad:  40px;   /* gutter trái/phải */
  --section-gap:    clamp(64px, 10vw, 128px);
  /* ── Border radius ──────────────────────────────────────── */
  --radius:    0px;
  --radius-sm: 0px;
  --radius-md: 2px;  /* chỉ dùng khi thật sự cần */
  --radius-lg: 4px;

  /* ── Shadows ────────────────────────────────────────────── */
  --shadow-sm:  0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow:     0 24px 64px rgba(0, 0, 0, 0.40);
  --shadow-lg:  0 48px 96px rgba(0, 0, 0, 0.52);

  /* ── Motion ─────────────────────────────────────────────── */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);

  --dur-instant: 80ms;
  --dur-fast:    160ms;
  --dur-base:    260ms;
  --dur-slow:    480ms;
  --dur-slower:  700ms;
  
  --transition-fast: all var(--dur-fast) var(--ease-out);
  --transition-bounce: all var(--dur-base) cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* ── Accessibility Focus ────────────────────────────────── */
  --focus-ring: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-accent);

  /* ── Z-index ────────────────────────────────────────────── */
  --z-base:    1;
  --z-above:   10;
  --z-overlay: 100;
  --z-modal:   200;
  --z-toast:   300;
  --z-topbar:  400;
}

/* --- INLINED: reset.css --- */
/* ============================================================
   MOVAN STUDIO — RESET
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

table {
  border-collapse: collapse;
}

@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;
  }
}

/* --- INLINED: base.css --- */
/* ============================================================
   MOVAN STUDIO — BASE
   Global element defaults, body background, noise overlay
   ============================================================ */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  
}





/* Noise texture overlay */
.noise {
  display: none !important;
}

/* All interactive elements */
a,
button {
  transition:
    color var(--dur-fast) var(--ease-out),
    opacity var(--dur-fast) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out);
}

/* Focus visible — accessibility */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-border-strong);
}

/* Accessibility Focus */
*:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* --- INLINED: typography.css --- */
/* ============================================================
   MOVAN STUDIO — TYPOGRAPHY
   All text style definitions. No layout here.
   ============================================================ */

/* ── Headings ───────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-md); }

/* ── Hero heading ───────────────────────────────────────────── */

.heading-hero {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 8%, #e0e0e0 55%, #b8b8b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.heading-hero span {
  display: block;
}

/* ── Display heading (for section titles) ───────────────────── */

.heading-display {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Eyebrow label ──────────────────────────────────────────── */

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent-light);
}

/* ── Body text ──────────────────────────────────────────────── */

p {
  line-height: 1.85;
}

.lead {
  font-size: var(--text-md);
  color: var(--color-text-soft);
  line-height: 1.9;
  max-width: 680px;
}

.body-sm {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
}

.body-xs {
  font-size: var(--text-xs);
  color: var(--color-text-xmuted);
  letter-spacing: 0.02em;
}

/* ── Labels / Tags ──────────────────────────────────────────── */

.label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.label-accent {
  color: var(--color-accent-light);
}

/* ── Code ───────────────────────────────────────────────────── */

code {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.88em;
  background: var(--color-surface-mid);
  padding: 2px 6px;
  border: 1px solid var(--color-border);
}

/* ── Lists ──────────────────────────────────────────────────── */

.prose-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-left: var(--space-5);
}

.prose-list li {
  position: relative;
  color: var(--color-text-soft);
  font-size: var(--text-base);
  line-height: 1.75;
}

.prose-list li::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 0.76em;
  width: 8px;
  height: 1px;
  background: var(--color-accent);
}

/* ── Text balance ────────────────────────────────────────────── */

.text-balance {
  text-wrap: balance;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* --- INLINED: layout.css --- */
/* ============================================================
   MOVAN STUDIO — LAYOUT
   Container, grid system, section spacing
   ============================================================ */

/* ── Site shell ─────────────────────────────────────────────── */

.site-shell {
  position: relative;
  z-index: var(--z-base);
  width: min(calc(100% - var(--container-pad) * 2), var(--container-max));
  margin: 0 auto;
  padding-top: var(--space-5);
  padding-bottom: var(--space-16);
}

/* ── Page wrapper ───────────────────────────────────────────── */

.page {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

/* ── Section ────────────────────────────────────────────────── */

.section {
  position: relative;
}

/* ── Grids ──────────────────────────────────────────────────── */

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-4);
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-4);
}

/* ── Span helpers for grid-12 ───────────────────────────────── */

.col-1  { grid-column: span 1; }
.col-2  { grid-column: span 2; }
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }
.col-2-12 { grid-column: 2 / 12; }
.col-3-11 { grid-column: 3 / 11; }

/* ── Section heading block ──────────────────────────────────── */

.section-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 860px;
}

.section-header .eyebrow {
  margin-bottom: var(--space-2);
}

.section-header h1,
.section-header h2 {
  margin-bottom: 0;
}

.section-header .lead {
  margin: 0;
}

/* ── Row / Stack helpers ─────────────────────────────────────── */

.flex-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.flex-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ── Divider ─────────────────────────────────────────────────── */

.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

/* ── Content max-width limiter ───────────────────────────────── */

.content-wrap {
  max-width: var(--content-max);
}

/* ── Responsive grid collapse ───────────────────────────────── */

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .site-shell {
    width: min(calc(100% - 32px), var(--container-max));
  }

  .grid-12 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-5 {
    grid-template-columns: 1fr;
  }

  .grid-6 {
    grid-template-columns: 1fr;
  }

  [class^="col-"],
  [class*=" col-"],
  .col-2-12,
  .col-3-11 {
    grid-column: span 1;
  }

  .flex-between {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- INLINED: components.css --- */
/* ============================================================
   MOVAN STUDIO — COMPONENTS
   Reusable UI components: header, footer, buttons, cards,
   badges, nav blocks, strip items, page CTA, pagination
   ============================================================ */

/* ──────────────────────────────────────────────────────────── */
/* TOPBAR / HEADER                                              */
/* ──────────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: var(--space-3);
  z-index: var(--z-topbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-5);
  background: #fff;
  border: none;
  border: 1px solid #000;
  border-bottom: 2px solid #000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: none;
}

/* Brand / Logo */
.brand {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text);
  white-space: nowrap;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.06);
}

.brand:hover {
  color: var(--color-text);
  opacity: 0.85;
}

/* Nav links */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  position: relative;
  padding: var(--space-2) 0;
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent-light),
    transparent
  );
  transform: scaleX(0.2);
  transform-origin: center;
  opacity: 0;
  transition:
    transform var(--dur-base) var(--ease-out),
    opacity var(--dur-base) var(--ease-out);
}

.nav a:hover,
.nav a.active {
  color: var(--color-text);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Nav Dropdown */
.nav .dropdown {
  position: relative;
  display: inline-flex;
  padding-bottom: 12px;
  margin-bottom: -12px;
}

.nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(6, 6, 6, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-mid);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: var(--space-2) 0;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--dur-base) var(--ease-out);
  z-index: 9999;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
}

.nav .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav .dropdown-menu a {
  padding: var(--space-3) var(--space-5);
  justify-content: flex-start;
  text-align: left;
  width: 100%;
}

.nav .dropdown-menu a::after {
  display: none;
}

.nav .dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-accent-light);
}

/* Topbar right actions */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────── */
/* MOBILE MENU                                                  */
/* ──────────────────────────────────────────────────────────── */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: var(--space-2);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: #000;
  transition: transform var(--dur-base) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-topbar) - 1);
  background: #fff;
  backdrop-filter: blur(20px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--space-16) var(--space-8);
  gap: var(--space-6);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 6vw, 2.4rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--dur-fast) var(--ease-out);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--color-text);
}

/* ──────────────────────────────────────────────────────────── */
/* BUTTONS                                                      */
/* ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  min-height: 44px;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-border-mid);
  cursor: pointer;
  white-space: nowrap;
  transition:
    color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.btn:hover {
  border-color: var(--color-border-strong);
  background: var(--color-surface);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Accent button */
.btn-accent {
  background: var(--color-text);
  border-color: var(--color-text);
  color: var(--color-bg);
}

.btn-accent:hover {
  background: transparent;
  border-color: var(--color-text);
  color: var(--color-text);
  box-shadow: none;
}

/* Ghost button (text only, subtle) */
.btn-ghost {
  border-color: transparent;
  color: var(--color-text-muted);
  padding-left: 0;
  padding-right: 0;
}

.btn-ghost:hover {
  background: transparent;
  border-color: transparent;
  color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: none;
}

/* Icon button */
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
}

.btn-icon:hover {
  border-color: var(--color-border-mid);
}



/* Action row */
.actions {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.actions-center {
  justify-content: center;
}

/* ──────────────────────────────────────────────────────────── */
/* BADGES                                                       */
/* ──────────────────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 3px var(--space-3);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.badge-accent {
  color: var(--color-accent-light);
  background: var(--color-accent-dim);
  border-color: rgba(180, 154, 112, 0.3);
}

.badge-new {
  color: #a0c8a0;
  background: rgba(125, 167, 131, 0.12);
  border-color: rgba(125, 167, 131, 0.28);
}

.badge-hot {
  color: #d4906a;
  background: rgba(196, 111, 104, 0.12);
  border-color: rgba(196, 111, 104, 0.28);
}

.badge-free {
  color: #6e96b8;
  background: rgba(110, 150, 184, 0.12);
  border-color: rgba(110, 150, 184, 0.28);
}

/* ──────────────────────────────────────────────────────────── */
/* CARDS — Universal card component                            */
/* ──────────────────────────────────────────────────────────── */

.card {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

/* Top shine line */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.32) 50%,
    transparent 100%
  );
  opacity: 0.5;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-mid);
  background: var(--color-surface-hover);
  box-shadow: var(--shadow);
}

.card-sm {
  padding: var(--space-6);
}

.card-lg {
  padding: var(--space-12);
}

/* ── Project card ───────────────────────────────────────────── */

.project-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 240px;
  width: 100%;
  min-width: 0;
}

.project-card .card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.project-card h2 {
  font-size: var(--text-xl);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.project-card p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.75;
  flex: 1;
}

.project-card .card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: var(--space-2);
  background: var(--color-surface-mid);
  border-radius: var(--radius-md);
}

/* ── Product card ───────────────────────────────────────────── */

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-card .product-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--color-surface-mid);
}

.product-card .product-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.product-card .product-title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.25;
}

.product-card .product-type {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.product-card .product-price {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-accent-light);
  margin-top: auto;
}

.product-card .product-price.is-free {
  color: #6e96b8;
}

/* ── Article card ───────────────────────────────────────────── */

.article-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.article-card .article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.article-card h2 {
  font-size: var(--text-xl);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.article-card p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.75;
}

/* ──────────────────────────────────────────────────────────── */
/* HERO STRIP (3-column feature row)                           */
/* ──────────────────────────────────────────────────────────── */

.strip-container {
  padding: var(--space-12) var(--space-4) var(--space-20);
  max-width: var(--max-width);
  margin: 0 auto;
}

.strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-5);
  width: 100%;
}

.strip-item {
  grid-column: span 2;
  position: relative;
  padding: var(--space-6) var(--space-6) var(--space-8);
  background: linear-gradient(
    180deg,
    var(--color-surface-mid) 0%,
    var(--color-surface) 100%
  );
  border: 1px solid var(--color-surface-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform var(--transition-bounce),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

/* 2 ô dưới cùng chiếm 3 cột (nửa màn hình) mỗi ô để căn giữa */
.strip-item:nth-child(4),
.strip-item:nth-child(5) {
  grid-column: span 3;
}

.strip-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.38),
    transparent
  );
  opacity: 0.45;
  pointer-events: none;
}

.strip-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-mid);
}

.strip-item .item-number {
  display: inline-block;
  margin-bottom: var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  color: var(--color-accent-light);
}

.strip-item strong {
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}

.strip-item p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.75;
}

/* ──────────────────────────────────────────────────────────── */
/* NAV BLOCKS (Large navigation cards)                         */
/* ──────────────────────────────────────────────────────────── */

.nav-block {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 260px;
  padding: var(--space-6);
  background: linear-gradient(
    180deg,
    var(--color-surface-mid) 0%,
    var(--color-surface) 100%
  );
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.nav-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.36),
    transparent
  );
  opacity: 0.45;
  pointer-events: none;
}

.nav-block:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-mid);
  background: linear-gradient(
    180deg,
    var(--color-surface-hover) 0%,
    var(--color-surface-mid) 100%
  );
  box-shadow: var(--shadow);
}

.nav-block .block-number {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
}

.nav-block strong {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1;
}

.nav-block p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.8;
}

/* ──────────────────────────────────────────────────────────── */
/* PAGE CTA                                                    */
/* ──────────────────────────────────────────────────────────── */

.page-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  align-items: flex-start;
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid var(--color-border);
  background: transparent;
  border-left: none;
  border-right: none;
  border-bottom: none;
  box-shadow: none;
}

.page-cta::before {
  display: none;
}

.page-cta-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.page-cta-copy p {
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.8;
  font-size: var(--text-lg);
}

.page-cta-actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────── */
/* FORM PANEL                                                   */
/* ──────────────────────────────────────────────────────────── */

.form-panel {
  position: relative;
  padding: var(--space-8);
  background: linear-gradient(
    180deg,
    var(--color-surface-mid),
    var(--color-surface)
  );
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* ──────────────────────────────────────────────────────────── */
/* FOOTER                                                       */
/* ──────────────────────────────────────────────────────────── */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.footer-nav a:hover {
  color: var(--color-text);
}

/* ──────────────────────────────────────────────────────────── */
/* EMPTY STATE                                                  */
/* ──────────────────────────────────────────────────────────── */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-24) var(--space-8);
  text-align: center;
  border: 1px dashed var(--color-border);
  color: var(--color-text-muted);
}

.empty-state p {
  max-width: 360px;
  font-size: var(--text-base);
  line-height: 1.75;
}

/* ──────────────────────────────────────────────────────────── */
/* LOADING SKELETON                                            */
/* ──────────────────────────────────────────────────────────── */

.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-surface) 25%,
    var(--color-surface-mid) 50%,
    var(--color-surface) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ──────────────────────────────────────────────────────────── */
/* BREADCRUMB                                                   */
/* ──────────────────────────────────────────────────────────── */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-text);
}

.breadcrumb-sep {
  opacity: 0.4;
}

.breadcrumb .current {
  color: var(--color-text-soft);
}

/* ──────────────────────────────────────────────────────────── */
/* PAGINATION                                                   */
/* ──────────────────────────────────────────────────────────── */

.pagination {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.pagination-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  border: 1px solid transparent;
  transition: all var(--dur-fast) var(--ease-out);
}

.pagination-item:hover,
.pagination-item.active {
  color: var(--color-text);
  border-color: var(--color-border-mid);
  background: var(--color-surface);
}

/* ──────────────────────────────────────────────────────────── */
/* SEARCH BOX                                                   */
/* ──────────────────────────────────────────────────────────── */

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  width: 100%;
  height: 52px;
  padding-top: 0;
  padding-bottom: 0;
  padding-right: 24px;
  padding-left: 40px !important;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out);
}

.search-box input::placeholder {
  color: var(--color-text-muted);
}

.search-box input:focus {
  border-color: var(--color-border-mid);
}

.search-box .search-icon {
  position: absolute;
  left: var(--space-4);
  color: var(--color-text-muted);
  pointer-events: none;
}

/* ──────────────────────────────────────────────────────────── */
/* FILTER BAR                                                   */
/* ──────────────────────────────────────────────────────────── */

.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background: transparent;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--color-text);
  border-color: var(--color-border-mid);
  background: var(--color-surface);
}

.filter-dropdown {
  position: relative;
  display: inline-block;
}

.filter-menu {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 0;
  background: #0a0a0a;
  border: 1px solid var(--color-border);
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all var(--dur-fast) var(--ease-out);
  z-index: 10;
}

.filter-dropdown:hover .filter-menu,
.filter-dropdown:focus-within .filter-menu,
.filter-dropdown.open .filter-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.filter-menu .filter-btn {
  width: 100%;
  text-align: left;
  border: none;
}

.filter-menu .filter-btn:hover {
  background: var(--color-surface-mid);
}

.has-submenu {
  position: relative;
}

.filter-submenu {
  position: absolute;
  top: 0;
  right: 100%;
  margin-right: var(--space-1);
  background: #0a0a0a;
  border: 1px solid var(--color-border);
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(4px);
  transition: all var(--dur-fast) var(--ease-out);
  z-index: 11;
}

.has-submenu:hover .filter-submenu,
.has-submenu:focus-within .filter-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.has-submenu > .filter-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* ──────────────────────────────────────────────────────────── */
/* TOAST                                                        */
/* ──────────────────────────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  padding: var(--space-4) var(--space-6);
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border-mid);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
  color: var(--color-text-soft);
  backdrop-filter: blur(12px);
  max-width: 360px;
  animation: toast-in var(--dur-slow) var(--ease-out) forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ──────────────────────────────────────────────────────────── */
/* RESPONSIVE                                                   */
/* ──────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    padding: var(--space-4);
  }

  .nav {
    display: none; /* replaced by mobile-nav */
  }

  .menu-toggle {
    display: flex;
  }

  .strip {
    grid-template-columns: 1fr;
  }

  .page-cta {
    grid-template-columns: 1fr;
  }

  .page-cta-actions {
    flex-direction: row;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
  }
}

@media (max-width: 768px) {
  .card {
    padding: var(--space-6);
  }

  .form-panel {
    padding: var(--space-6);
  }

  .nav-block {
    min-height: 160px;
    padding: var(--space-5);
  }

  .page-cta-copy h2 {
    font-size: var(--text-2xl);
  }
}

/* --- INLINED: forms.css --- */
/* ============================================================
   MOVAN STUDIO — FORMS
   Input, textarea, select, checkbox, form status
   ============================================================ */

/* ── Base field ─────────────────────────────────────────────── */

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.field label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── Input & Textarea ───────────────────────────────────────── */

.input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: var(--space-3) 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  outline: none;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}

.input::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--color-text-xmuted);
}

.input:focus,
input:focus,
textarea:focus,
select:focus {
  border-bottom-color: var(--color-accent);
  outline: none;
}

.input:disabled,
input:disabled,
textarea:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.75;
}

/* ── Select ─────────────────────────────────────────────────── */

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237e7a72' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: var(--space-8);
  cursor: pointer;
}

/* ── Checkbox ───────────────────────────────────────────────── */

.checkbox-field {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 1px solid var(--color-border-mid);
  background: transparent;
  accent-color: var(--color-accent);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-field span {
  font-size: var(--text-base);
  color: var(--color-text-soft);
}

/* ── Form grid ──────────────────────────────────────────────── */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4) var(--space-6);
}

.form-grid .field-full {
  grid-column: 1 / -1;
}

/* ── Inquiry form ────────────────────────────────────────────── */

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* ── Form status ─────────────────────────────────────────────── */

.form-status {
  min-height: 20px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.form-status.success { color: var(--color-success); }
.form-status.error   { color: var(--color-error); }
.form-status.pending { color: var(--color-warning); }

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* --- INLINED: motion.css --- */
/* ============================================================
   MOVAN STUDIO — MOTION
   Animation keyframes and entrance utility classes.
   Uses Intersection Observer via motion.js.
   Only animate transform + opacity.
   Respects prefers-reduced-motion (handled in reset.css).
   ============================================================ */

/* ── Keyframes ──────────────────────────────────────────────── */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-right {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── Initial hidden state (before JS triggers) ──────────────── */

.anim-ready {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-slower) var(--ease-out),
    transform var(--dur-slower) var(--ease-out);
}

.anim-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children */
.stagger > *:nth-child(1)  { transition-delay: 0ms; }
.stagger > *:nth-child(2)  { transition-delay: 80ms; }
.stagger > *:nth-child(3)  { transition-delay: 160ms; }
.stagger > *:nth-child(4)  { transition-delay: 240ms; }
.stagger > *:nth-child(5)  { transition-delay: 320ms; }
.stagger > *:nth-child(6)  { transition-delay: 400ms; }
.stagger > *:nth-child(7)  { transition-delay: 480ms; }
.stagger > *:nth-child(8)  { transition-delay: 560ms; }

/* ── Page-load animations (no JS required) ──────────────────── */

.animate-hero-title {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up var(--dur-slower) var(--ease-out) forwards;
  animation-delay: 100ms;
}

.animate-hero-body {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-up var(--dur-slower) var(--ease-out) forwards;
  animation-delay: 200ms;
}

.animate-hero-actions {
  opacity: 0;
  animation: fade-in var(--dur-slower) var(--ease-out) forwards;
  animation-delay: 360ms;
}

/* ── Nav blocks stagger (keep backward compat) ──────────────── */

.nav-block:nth-child(1) { --stagger-delay: 80ms; }
.nav-block:nth-child(2) { --stagger-delay: 160ms; }
.nav-block:nth-child(3) { --stagger-delay: 240ms; }
.nav-block:nth-child(4) { --stagger-delay: 320ms; }

.nav-block.anim-ready {
  transition-delay: var(--stagger-delay, 0ms);
}

/* --- INLINED: utilities.css --- */
/* ============================================================
   MOVAN STUDIO — UTILITIES
   Single-purpose helper classes
   ============================================================ */

/* ── Display ─────────────────────────────────────────────────── */
.hidden   { display: none !important; }
.sr-only  {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Spacing ─────────────────────────────────────────────────── */
.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }

/* ── Colors ──────────────────────────────────────────────────── */
.text-accent   { color: var(--color-accent-light); }
.text-muted    { color: var(--color-text-muted); }
.text-soft     { color: var(--color-text-soft); }

/* ── Border ──────────────────────────────────────────────────── */
.border-top    { border-top: 1px solid var(--color-border); }
.border-bottom { border-bottom: 1px solid var(--color-border); }

/* ── Misc ────────────────────────────────────────────────────── */
.no-pointer    { pointer-events: none; }
.full-width    { width: 100%; }
.relative      { position: relative; }


/*
  Page-level CSS (load per-page via <link> in each HTML file):
  - assets/css/pages/home.css        — index.html
  - assets/css/pages/shop.css        — shop.html
  - assets/css/pages/product.css     — product.html
  - assets/css/pages/case-study.css  — case-study.html
  - assets/css/pages/blog.css        — blog.html
*/
