
:root {
  --bg-light: #f7f6f3;
  --bg-dark: #050608;
  --text-light: #161514;
  --text-muted-light: #5b554d;
  --card-light: #ffffff;
  --border-light: rgba(0,0,0,0.06);
  --accent: #2563eb;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-light: #050608;
    --text-light: #f9fafb;
    --text-muted-light: #9ca3af;
    --card-light: #0b0f18;
    --border-light: rgba(255,255,255,0.08);
    --shadow-soft: 0 18px 45px rgba(0,0,0,0.75);
  }
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top, rgba(148,163,184,0.14) 0, transparent 48%),
              var(--bg-light);
  color: var(--text-light);
  min-height: 100vh;
}

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

main {
  padding: 1.5rem 1rem 3rem;
}

@media (min-width: 900px) {
  main {
    padding: 2.5rem 1.5rem 4rem;
  }
}

.cq-shell {
  max-width: 1120px;
  margin: 0 auto;
}

/* Top nav */

.cq-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom,
    rgba(247,246,243,0.92),
    rgba(247,246,243,0.76),
    rgba(247,246,243,0.40)
  );
  border-bottom: 1px solid var(--border-light);
}

@media (prefers-color-scheme: dark) {
  .cq-nav {
    background: linear-gradient(to bottom,
      rgba(5,6,8,0.92),
      rgba(5,6,8,0.78),
      rgba(5,6,8,0.40)
    );
  }
}

.cq-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cq-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.cq-brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background:
    radial-gradient(circle at 30% 20%, rgba(248,250,252,0.8), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(37,99,235,0.52), transparent 55%),
    linear-gradient(145deg, #0f172a, #1f2937);
  box-shadow: 0 8px 24px rgba(15,23,42,0.55);
}

.cq-nav-links {
  display: flex;
  gap: 0.75rem;
  font-size: 0.82rem;
}

.cq-nav-links a {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: var(--text-muted-light);
}

.cq-nav-links a[data-active="true"] {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-light);
}

@media (prefers-color-scheme: dark) {
  .cq-nav-links a[data-active="true"] {
    background: rgba(248,250,252,0.06);
  }
}

/* Hero */

.cq-hero-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
  .cq-hero-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 2.25rem;
  }
}

.cq-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted-light);
  margin-bottom: 0.65rem;
}

.cq-hero-title {
  font-size: clamp(2.4rem, 3vw + 1.4rem, 3.3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 0.75rem;
}

.cq-hero-sub {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-muted-light);
  max-width: 30rem;
  margin-bottom: 1.3rem;
}

.cq-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.cq-button-primary {
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
  border: none;
  background: linear-gradient(135deg, #111827, #0f172a);
  color: #f9fafb;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(15,23,42,0.40);
}

.cq-button-ghost {
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--border-light);
  background: rgba(248,250,252,0.7);
  color: var(--text-light);
  font-size: 0.9rem;
  cursor: pointer;
}

@media (prefers-color-scheme: dark) {
  .cq-button-ghost {
    background: rgba(15,23,42,0.4);
  }
}

.cq-hero-meta {
  font-size: 0.78rem;
  color: var(--text-muted-light);
}

.cq-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.cq-pill {
  font-size: 0.76rem;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border-light);
  background: rgba(248,250,252,0.7);
}

@media (prefers-color-scheme: dark) {
  .cq-pill {
    background: rgba(15,23,42,0.5);
  }
}

/* Hero lineup card */

.cq-hero-card {
  border-radius: 32px;
  padding: 1.2rem 1.2rem 1.35rem;
  background: radial-gradient(circle at top left, rgba(248,250,252,0.9), transparent 55%),
              radial-gradient(circle at bottom right, rgba(37,99,235,0.18), transparent 60%),
              var(--card-light);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.cq-hero-chip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted-light);
}

.cq-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34,197,94,0.32);
}

/* Color lineup */

.cq-lineup {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.1rem 0 0.9rem;
}

.cq-disc {
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.55);
  background: conic-gradient(from 180deg, rgba(255,255,255,0.95), rgba(148,163,184,0.35), rgba(255,255,255,0.95));
  position: relative;
  overflow: hidden;
}

.cq-disc-inner {
  position: absolute;
  inset: 11%;
  border-radius: 999px;
  background: var(--disc-color, #e5e7eb);
  box-shadow:
    0 12px 25px rgba(15,23,42,0.4),
    inset 0 0 0 1px rgba(15,23,42,0.3);
}

/* We'll emulate your 10 disc colors */

.cq-disc-1  { --disc-color: #2563eb; }  /* blue */
.cq-disc-2  { --disc-color: #e5dfd3; }  /* cream */
.cq-disc-3  { --disc-color: #5f1927; }  /* wine */
.cq-disc-4  { --disc-color: #15803d; }  /* green */
.cq-disc-5  { --disc-color: #4b5563; }  /* gray */
.cq-disc-6  { --disc-color: #ec729b; }  /* pink */
.cq-disc-7  { --disc-color: #7c3aed; }  /* purple */
.cq-disc-8  { --disc-color: #fbbf24; }  /* saffron */
.cq-disc-9  { --disc-color: #1e293b; }  /* navy */
.cq-disc-10 { --disc-color: #ea580c; }  /* persimmon */

.cq-lineup-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted-light);
}

/* Section headings */

.cq-section {
  margin-top: 3rem;
}

.cq-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cq-section-title {
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.cq-section-sub {
  font-size: 0.9rem;
  color: var(--text-muted-light);
}

/* Collections grid on home + shop */

.cq-collection-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .cq-collection-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.cq-collection-card {
  border-radius: 22px;
  padding: 0.9rem 0.9rem 1rem;
  background: var(--card-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 12px 30px rgba(15,23,42,0.12);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cq-collection-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted-light);
}

.cq-collection-name {
  font-size: 1rem;
  font-weight: 600;
}

.cq-collection-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.74rem;
  color: var(--text-muted-light);
}

.cq-collection-pill {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border-light);
}

/* Product grid shared */

.cq-product-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .cq-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cq-product-card {
  border-radius: 20px;
  padding: 0.9rem 0.9rem 1.1rem;
  background: var(--card-light);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.cq-product-swatch-row {
  display: flex;
  gap: 0.3rem;
}

.cq-swatch {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.22);
}

/* Simple mapping of a few swatches */
.cq-swatch-blue { background: #2563eb; }
.cq-swatch-cream { background: #e5dfd3; }
.cq-swatch-green { background: #15803d; }
.cq-swatch-charcoal { background: #111827; }
.cq-swatch-gold { background: #facc15; }

.cq-product-name {
  font-size: 0.95rem;
  font-weight: 500;
}

.cq-product-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted-light);
}

.cq-product-price {
  font-weight: 600;
  color: var(--text-light);
}

.cq-product-cta {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--accent);
}

/* Simple text pages */

.cq-page-title {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin: 2.2rem 0 0.75rem;
}

.cq-page-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted-light);
  max-width: 720px;
}

/* Footer */

footer {
  border-top: 1px solid var(--border-light);
  margin-top: 3.5rem;
}

.cq-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted-light);
}
