/* ============================================================
   BillionaireCasual.com — Master Stylesheet
   Mobile-first, responsive, all device types
   Tone: Vogue × Bloomberg × Museum Archive
   ============================================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Colors — Quiet Luxury Palette */
  --color-bg: #FAFAF8;
  --color-bg-alt: #F3F1EC;
  --color-bg-dark: #1A1A1A;
  --color-bg-card: #FFFFFF;
  --color-text: #1A1A1A;
  --color-text-secondary: #5A5A58;
  --color-text-light: #8A8A86;
  --color-text-inverse: #FAFAF8;
  --color-accent: #8B7355;
  --color-accent-light: #B09A7A;
  --color-accent-dark: #6B5740;
  --color-gold: #C9A96E;
  --color-gold-light: #E8D5A8;
  --color-border: #E5E3DE;
  --color-border-light: #F0EEEA;
  --color-success: #4A7C59;
  --color-highlight: #F5F0E8;

  /* Typography */
  --font-display: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Inter', 'Helvetica Neue', 'Arial', sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  /* Font Sizes — fluid typography */
  --fs-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --fs-sm: clamp(0.8rem, 0.75rem + 0.3vw, 0.9rem);
  --fs-base: clamp(0.95rem, 0.88rem + 0.35vw, 1.1rem);
  --fs-md: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  --fs-lg: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  --fs-xl: clamp(1.8rem, 1.4rem + 2vw, 2.8rem);
  --fs-2xl: clamp(2.2rem, 1.6rem + 3vw, 3.8rem);
  --fs-3xl: clamp(2.8rem, 2rem + 4vw, 5rem);
  --fs-hero: clamp(3rem, 2rem + 5vw, 6.5rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Layout */
  --max-width: 1400px;
  --max-width-narrow: 900px;
  --max-width-wide: 1600px;
  --gutter: clamp(1rem, 2vw, 3rem);
  --border-radius: 4px;
  --border-radius-lg: 8px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-elegant: 600ms cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.1);

  /* Additional Colors */
  --color-link: #0066cc;
  --color-bg-dark-hover: #333333;
  --color-bg-success-light: #E8F0E8;

  /* Letter Spacing */
  --ls-sm: 0.05em;
  --ls-md: 0.1em;
  --ls-lg: 0.15em;
  --ls-xl: 0.2em;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-accent-dark); }

ul, ol { list-style: none; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); letter-spacing: -0.02em; }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); }

p { margin-bottom: var(--space-md); }

::selection {
  background: var(--color-gold-light);
  color: var(--color-text);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--wide {
  max-width: var(--max-width-wide);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--lg {
  padding: var(--space-4xl) 0;
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--highlight {
  background-color: var(--color-highlight);
}

.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.12em; }
.text-secondary { color: var(--color-text-secondary); }
.text-light { color: var(--color-text-light); }
.text-accent { color: var(--color-accent); }
.text-gold { color: var(--color-gold); }

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

/* --- Section Headers --- */
.section-label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--color-text-secondary);
  max-width: 650px;
  line-height: 1.6;
}

.section-subtitle--centered {
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  margin: var(--space-lg) 0;
}

.section-divider--centered {
  margin-left: auto;
  margin-right: auto;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.nav--scrolled {
  box-shadow: var(--shadow-md);
}

.nav--hidden {
  transform: translateY(-100%);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav__logo span {
  color: var(--color-accent);
}

.nav__links {
  display: none;
  gap: var(--space-xl);
  align-items: center;
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link--active {
  color: var(--color-text);
}

.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link--active::after {
  width: 100%;
}

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--color-bg-alt);
  border-radius: 20px;
  padding: 3px;
}

.lang-switcher__btn {
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 16px;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lang-switcher__btn--active {
  background: var(--color-bg-card);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.lang-switcher__btn:hover:not(.lang-switcher__btn--active),
.lang-switcher__btn:focus-visible:not(.lang-switcher__btn--active) {
  color: var(--color-text);
}

.lang-switcher__btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav__toggle--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  height: calc(100vh - 64px);
  background: var(--color-bg);
  z-index: 999;
  padding: var(--space-xl) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  transform: translateX(100%);
  transition: transform var(--transition-elegant);
  overflow-y: auto;
}

.mobile-menu--open {
  transform: translateX(0);
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--color-text);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border-light);
  display: block;
  transition: color var(--transition-fast);
}

.mobile-menu__link:hover {
  color: var(--color-accent);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 64px;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.3) 0%,
    rgba(26, 26, 26, 0.6) 50%,
    rgba(26, 26, 26, 0.85) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--space-2xl) var(--gutter);
}

.hero__label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
  display: inline-block;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  color: #FFFFFF;
  line-height: 1.05;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero__title em {
  font-style: italic;
  color: var(--color-gold);
}

.hero__subtitle {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: var(--space-xl);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.5);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: float 3s ease-in-out infinite;
}

.hero__scroll-indicator svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255,255,255,0.5);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #FFFFFF;
}
.btn--primary:hover {
  background: var(--color-accent-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--secondary:hover {
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.btn--outline:hover {
  background: var(--color-accent);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--color-bg-dark);
  color: #FFFFFF;
}
.btn--dark:hover {
  background: var(--color-bg-dark-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--color-gold);
  color: var(--color-bg-dark);
}
.btn--gold:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--sm {
  font-size: var(--fs-xs);
  padding: 10px 20px;
}

.btn--lg {
  font-size: var(--fs-base);
  padding: 18px 36px;
}

.btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* --- Cards --- */
.card {
  background: var(--color-bg-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--color-border-light);
}

.card:hover,
.card:focus-within {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__image img {
  transform: scale(1.04);
}

.card__image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}

.card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(26,26,26,0.8);
  color: var(--color-gold);
  backdrop-filter: blur(4px);
}

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

.card__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
  line-height: 1.25;
}

.card__text {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.card__tag {
  font-size: var(--fs-xs);
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* Card Variants */
.card--horizontal {
  display: flex;
  flex-direction: column;
}

.card--featured {
  border: none;
  box-shadow: var(--shadow-md);
}

.card--dark {
  background: var(--color-bg-dark);
  border-color: rgba(255,255,255,0.1);
}
.card--dark .card__title { color: #fff; }
.card--dark .card__text { color: rgba(255,255,255,0.6); }
.card--dark .card__label { color: var(--color-gold); }

/* --- Grid Layouts --- */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

/* --- Data / Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  padding: var(--space-xl) 0;
}

.stat {
  text-align: center;
  padding: var(--space-lg);
}

.stat__number {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat__label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-secondary);
}

/* --- Interactive Brand Chart --- */
.brand-chart {
  background: var(--color-bg-card);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
}

.brand-chart__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border-light);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.brand-chart__item:last-child { border-bottom: none; }

.brand-chart__item:hover {
  background: var(--color-highlight);
  margin: 0 calc(-1 * var(--space-md));
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  border-radius: var(--border-radius);
}

.brand-chart__rank {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-gold);
  width: 36px;
  text-align: center;
}

.brand-chart__info {
  flex: 1;
}

.brand-chart__name {
  font-weight: 600;
  font-size: var(--fs-base);
  margin-bottom: 2px;
}

.brand-chart__category {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
}

.brand-chart__bar {
  flex: 1;
  max-width: 200px;
  height: 6px;
  background: var(--color-bg-alt);
  border-radius: 3px;
  overflow: hidden;
}

.brand-chart__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
  border-radius: 3px;
  transition: width 1.5s var(--transition-elegant);
  width: 0;
}

.brand-chart__bar-fill--animated {
  /* Width set inline per item */
}

.brand-chart__pct {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-accent);
  min-width: 40px;
  text-align: right;
}

/* --- Decoder / Feature Blocks --- */
.decoder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.decoder-card {
  background: var(--color-bg-card);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.decoder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--color-gold);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.decoder-card:hover::before { opacity: 1; }

.decoder-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.decoder-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-highlight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.4rem;
}

.decoder-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.decoder-card__text {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* --- Story / Timeline --- */
.story-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  background: var(--color-bg-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.story-card:hover {
  box-shadow: var(--shadow-lg);
}

.story-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.story-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.story-card:hover .story-card__image img {
  transform: scale(1.03);
}

.story-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-card__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.story-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.story-card__excerpt {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.story-card__link {
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.story-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.story-card__link:hover svg {
  transform: translateX(4px);
}

/* --- Build the Look Section --- */
.look-builder {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.look-builder__tier {
  background: var(--color-bg-card);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all var(--transition-base);
}

.look-builder__tier:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.look-builder__tier-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
}

.look-builder__tier--luxury .look-builder__tier-label {
  background: var(--color-gold-light);
  color: var(--color-accent-dark);
}

.look-builder__tier--mid .look-builder__tier-label {
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
}

.look-builder__tier--budget .look-builder__tier-label {
  background: #E8F0E8;
  color: var(--color-success);
}

.look-builder__price {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.look-builder__items {
  text-align: left;
}

.look-builder__item {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: var(--fs-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.look-builder__item:last-child { border-bottom: none; }

.look-builder__item-name { color: var(--color-text); }
.look-builder__item-brand {
  color: var(--color-text-light);
  font-size: var(--fs-xs);
}

/* --- Marquee / Ticker --- */
.ticker {
  overflow: hidden;
  white-space: nowrap;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.ticker__track {
  display: inline-flex;
  animation: ticker 30s linear infinite;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0 var(--space-xl);
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.ticker__item span {
  color: var(--color-gold);
  font-weight: 600;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Footer --- */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: #fff;
}

.footer__logo span { color: var(--color-gold); }

.footer__tagline {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.footer__link {
  display: block;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.footer__link:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

.footer__copy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.3);
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.footer__legal a {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.3);
}
.footer__legal a:hover { color: rgba(255,255,255,0.6); }

/* --- Profile Page Specific --- */
.profile-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
  padding: var(--space-2xl) 0;
}

.profile-hero__image {
  aspect-ratio: 3/4;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.profile-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.meta-tag {
  font-size: var(--fs-xs);
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--color-bg-alt);
  color: var(--color-text-secondary);
  font-weight: 500;
}

.meta-tag--gold {
  background: var(--color-gold-light);
  color: var(--color-accent-dark);
}

/* --- Score / Rating Display --- */
.score-display {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.score-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: var(--space-md);
  background: var(--color-bg-alt);
  border-radius: var(--border-radius-lg);
}

.score-item__value {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.score-item__label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
}

/* --- Interactive Tabs --- */
.tabs {
  display: flex;
  gap: var(--space-xs);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: var(--space-md) var(--space-lg);
  color: var(--color-text-light);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
}

.tab--active {
  color: var(--color-text);
  border-bottom-color: var(--color-accent);
}

.tab:hover:not(.tab--active) { color: var(--color-text-secondary); }

.tab:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: -2px;
}

.tab-panel { display: none; }
.tab-panel--active { display: block; }

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  background: var(--color-bg-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--color-accent);
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* --- Photo Credit --- */
.photo-credit {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

.photo-credit a {
  color: var(--color-text-light);
  text-decoration: underline;
  text-decoration-color: var(--color-border);
}

.photo-credit a:hover {
  color: var(--color-accent);
}

/* --- Section Dark Context Overrides --- */
.section--dark .section-label { color: var(--color-gold); }
.section--dark .section-title { color: #fff; }
.section--dark .section-subtitle { color: rgba(255,255,255,0.6); }
.section--dark .section-divider { background: var(--color-gold); }
.section--dark .card__label { color: var(--color-gold); }
.section--dark .card__title { color: #fff; }

/* --- Utility: Spacing --- */
.u-mt-xl { margin-top: var(--space-xl); }
.u-mt-2xl { margin-top: var(--space-2xl); }

/* --- Utility: Link Reset --- */
.u-link-reset { text-decoration: none; color: inherit; }

/* --- Utility: Aspect Ratios --- */
.u-aspect-16-10 { aspect-ratio: 16/10; }

/* --- Newsletter Form --- */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 500px;
  margin: var(--space-xl) auto 0;
}

.newsletter-input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--border-radius);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  transition: border-color var(--transition-fast);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-gold);
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.4);
}

/* --- Blockquote --- */
.blockquote--editorial {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-style: italic;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS — MOBILE FIRST
   ============================================================ */

/* --- Small phones (360px+) covered by defaults above --- */

/* --- Tablets (600px+) --- */
@media (min-width: 600px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }

  .stats-bar { grid-template-columns: repeat(4, 1fr); }

  .decoder-grid { grid-template-columns: repeat(2, 1fr); }

  .look-builder { grid-template-columns: repeat(3, 1fr); }

  .story-card {
    grid-template-columns: 1fr 1fr;
  }

  .story-card__image {
    aspect-ratio: auto;
    min-height: 300px;
  }

  .footer__grid { grid-template-columns: repeat(2, 1fr); }

  .card--horizontal {
    flex-direction: row;
  }
  .card--horizontal .card__image {
    width: 40%;
    aspect-ratio: auto;
  }
  .card--horizontal .card__body {
    width: 60%;
  }

  .profile-hero {
    grid-template-columns: 1fr 1.5fr;
  }
}

/* --- Tablets landscape / small desktops (900px+) --- */
@media (min-width: 900px) {
  .nav__links {
    display: flex;
  }

  .nav__toggle {
    display: none;
  }

  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(3, 1fr); }

  .decoder-grid { grid-template-columns: repeat(4, 1fr); }

  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* --- Desktops (1200px+) --- */
@media (min-width: 1200px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }

  .hero__content {
    padding: var(--space-3xl) var(--gutter);
  }
}

/* --- Large desktops (1600px+) --- */
@media (min-width: 1600px) {
  html { font-size: 18px; }
}

/* --- Accessibility --- */
@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;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-color-scheme: dark) {
  /* Future dark mode support */
}

/* --- Print Styles --- */
@media print {
  .nav, .back-to-top, .mobile-menu, .footer, .ticker,
  .hero__scroll-indicator, .newsletter-form { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
  .hero { min-height: auto; padding: 2rem 0; }
  .hero__bg, .hero__overlay { display: none; }
  .hero__title, .hero__subtitle { color: #000; }
  .section--dark { background: #fff; color: #000; }
  .section--dark .section-title,
  .section--dark .section-label,
  .section--dark .card__title { color: #000; }
  .section--dark .section-subtitle,
  .section--dark .card__text { color: #333; }
  .card { break-inside: avoid; border: 1px solid #ccc; }
  .story-card { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  p { widows: 2; orphans: 2; }
  .section { padding: 1.5rem 0; }
}
