/* ============================================================
   NOVIQUE FASHION LTD — Global Styles
   ============================================================ */

/* ── Font Imports ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--espresso);
  background-color: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Skip Link ────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: var(--z-toast);
  padding: var(--space-3) var(--space-6);
  background: var(--espresso);
  color: var(--warm-white);
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: top var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  top: var(--space-4);
}

/* ── Selection ────────────────────────────────────────────── */
::selection {
  background-color: var(--champagne);
  color: var(--espresso);
}

/* ── Images ───────────────────────────────────────────────── */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

/* ── Links ────────────────────────────────────────────────── */
a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Headings ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--espresso);
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-section); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); font-family: var(--font-label); font-weight: 600; }

/* ── Body Text ────────────────────────────────────────────── */
p {
  line-height: var(--leading-normal);
  color: var(--muted);
}

p + p {
  margin-top: var(--space-4);
}

strong { color: var(--espresso); font-weight: 600; }
em { font-style: italic; }

/* ── Lists ────────────────────────────────────────────────── */
ul, ol {
  padding-left: var(--space-6);
  line-height: var(--leading-loose);
}

/* ── HR ───────────────────────────────────────────────────── */
hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: var(--space-8) 0;
}

/* ── Labels / Eyebrow Text ────────────────────────────────── */
.label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--taupe);
}

.label--dark {
  color: var(--champagne);
}

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.container--sm {
  max-width: var(--container-sm);
}

/* ── Section ──────────────────────────────────────────────── */
.section {
  padding-block: var(--section-gap);
}

.section--ivory {
  background-color: var(--ivory);
}

.section--stone {
  background-color: var(--stone);
}

.section--espresso {
  background-color: var(--espresso);
  color: var(--warm-white);
}

.section--espresso h1,
.section--espresso h2,
.section--espresso h3,
.section--espresso h4 {
  color: var(--warm-white);
}

.section--espresso p {
  color: var(--champagne);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

/* Primary — Espresso */
.btn--primary {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--warm-white);
}

.btn--primary:hover {
  background: var(--soft-black);
  border-color: var(--soft-black);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

/* Secondary — Outlined */
.btn--secondary {
  background: transparent;
  border-color: var(--espresso);
  color: var(--espresso);
}

.btn--secondary:hover {
  background: var(--espresso);
  color: var(--warm-white);
  transform: translateY(-1px);
}

/* Ghost on dark */
.btn--ghost {
  background: transparent;
  border-color: var(--champagne);
  color: var(--champagne);
}

.btn--ghost:hover {
  background: var(--champagne);
  color: var(--espresso);
  transform: translateY(-1px);
}

/* Clay accent */
.btn--clay {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--warm-white);
}

.btn--clay:hover {
  background: var(--rose-taupe);
  border-color: var(--rose-taupe);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

/* ── Button Group ─────────────────────────────────────────── */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* ── Divider Line ─────────────────────────────────────────── */
.divider {
  width: 3rem;
  height: 1px;
  background: var(--taupe);
  margin-block: var(--space-6);
}

.divider--center {
  margin-inline: auto;
}

.divider--champagne {
  background: var(--champagne);
}

/* ── Section Header ───────────────────────────────────────── */
.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-header--center {
  text-align: center;
}

.section-header--center .divider {
  margin-inline: auto;
}

.section-header .label {
  display: block;
  margin-bottom: var(--space-4);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  max-width: 52ch;
  font-size: var(--text-md);
}

.section-header--center p {
  margin-inline: auto;
}

/* ── Tag / Badge ──────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-4);
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.6);
  color: var(--taupe);
  white-space: nowrap;
}

.tag--stone {
  background: var(--stone);
  border-color: var(--sand);
}

/* ── Tag Row ──────────────────────────────────────────────── */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

/* ── Breadcrumbs ──────────────────────────────────────────── */
.breadcrumbs {
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--taupe);
}

.breadcrumbs__list li::after {
  content: '/';
  margin-left: var(--space-2);
  opacity: 0.4;
}

.breadcrumbs__list li:last-child::after {
  display: none;
}

.breadcrumbs__list a {
  color: var(--taupe);
  transition: color var(--duration-fast);
}

.breadcrumbs__list a:hover {
  color: var(--espresso);
}

.breadcrumbs__list [aria-current="page"] {
  color: var(--espresso);
  font-weight: 500;
}

/* ── Grid Utilities ───────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

/* ── Visually Hidden ──────────────────────────────────────── */
.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;
}

/* ── Page Hero ────────────────────────────────────────────── */
.page-hero {
  background: var(--ivory);
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.page-hero .label {
  display: block;
  margin-bottom: var(--space-4);
}

.page-hero h1 {
  margin-bottom: var(--space-5);
}

.page-hero p.lead {
  font-size: clamp(var(--text-md), 2vw, var(--text-lg));
  max-width: 56ch;
  color: var(--muted);
  line-height: var(--leading-loose);
}

/* ── Lead Text ────────────────────────────────────────────── */
.lead {
  font-size: var(--text-md);
  line-height: var(--leading-loose);
  color: var(--muted);
}

/* ── Info Note ────────────────────────────────────────────── */
.info-note {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5) var(--space-6);
  background: var(--stone);
  border-left: 3px solid var(--taupe);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: var(--leading-loose);
}

/* ── Scroll Reveal Animation ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

/* ── Rich Text / Content Blocks ───────────────────────────── */
.prose h2, .prose h3, .prose h4 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.prose p {
  margin-bottom: var(--space-5);
}

.prose ul, .prose ol {
  margin-bottom: var(--space-5);
}

.prose li {
  margin-bottom: var(--space-2);
}

.prose a {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--espresso);
}
