/* ==========================================================================
   WORKPLACE BY IRSA — Design Tokens
   Red Antler Rebrand — Premium Corporate Coworking Club, Buenos Aires
   ========================================================================== */

/* Google Fonts
   --------------------------------------------------------------------------
   Playfair Display: dramatic, high-contrast serif for headlines
   DM Sans: clean geometric sans-serif with warmth — NOT Inter
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400;1,9..40,500&display=swap');

/* ==========================================================================
   1. DESIGN TOKENS (Custom Properties)
   ========================================================================== */

:root {

  /* ---------------------------------------------------------------------------
     1a. COLOR PALETTE
     --------------------------------------------------------------------------- */

  /* Primary — Deep, Almost-Black Navy */
  --color-navy:            #0A1628;
  --color-navy-light:      #162240;
  --color-charcoal:        #1A2030;
  --color-slate:           #2A3346;

  /* Gold / Copper-Amber — Warmer, More Considered */
  --color-gold:            #C9A96E;
  --color-gold-light:      #DBBF8A;
  --color-gold-dark:       #A8884F;
  --color-gold-muted:      #C4AE82;
  --color-gold-pale:       rgba(201, 169, 110, 0.07);

  /* Terracotta Accent — The Red Antler Signature Pop */
  --color-accent:          #C4543A;
  --color-accent-light:    #D97B66;
  --color-accent-dark:     #A3402A;

  /* Neutrals — Warm, Never Clinical */
  --color-white:           #FFFEF9;
  --color-cream:           #F7F3ED;
  --color-warm-gray-50:    #F3F0EA;
  --color-warm-gray-100:   #E8E4DD;
  --color-warm-gray-200:   #D5D0C8;
  --color-warm-gray-300:   #B5B0A7;
  --color-warm-gray-400:   #918C84;
  --color-warm-gray-500:   #6E6A63;
  --color-warm-gray-600:   #4F4C47;
  --color-warm-gray-700:   #3A3834;
  --color-warm-gray-800:   #262522;
  --color-warm-gray-900:   #191816;

  /* Semantic */
  --color-success:         #4A7C59;
  --color-success-light:   #E8F0EB;
  --color-error:           #A63D3D;
  --color-error-light:     #F5E8E8;
  --color-warning:         #C9A96E;
  --color-warning-light:   #FAF5EC;
  --color-info:            #3D6A8A;
  --color-info-light:      #E8F0F5;

  /* ---------------------------------------------------------------------------
     1b. SEMANTIC COLOR ASSIGNMENTS
     --------------------------------------------------------------------------- */

  --color-bg-primary:      var(--color-white);
  --color-bg-secondary:    var(--color-cream);
  --color-bg-tertiary:     var(--color-warm-gray-50);
  --color-bg-dark:         var(--color-navy);
  --color-bg-dark-alt:     var(--color-charcoal);

  --color-text-primary:    var(--color-warm-gray-900);
  --color-text-secondary:  var(--color-warm-gray-500);
  --color-text-tertiary:   var(--color-warm-gray-400);
  --color-text-inverse:    var(--color-cream);
  --color-text-accent:     var(--color-gold);
  --color-text-link:       var(--color-accent);

  --color-border-light:    var(--color-warm-gray-100);
  --color-border-default:  var(--color-warm-gray-200);
  --color-border-dark:     var(--color-warm-gray-300);
  --color-border-gold:     var(--color-gold-muted);

  /* ---------------------------------------------------------------------------
     1c. TYPOGRAPHY
     --------------------------------------------------------------------------- */

  --font-serif:            'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-sans:             'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Type Scale — Bigger, Bolder. Type as Architecture. */
  --text-display:          clamp(4rem, 7vw + 1rem, 8rem);       /* 64-128px  MASSIVE */
  --text-display-sm:       clamp(2.5rem, 5vw + 0.5rem, 5rem);   /* 40-80px */
  --text-h1:               clamp(2.25rem, 3.5vw + 0.5rem, 3.75rem); /* 36-60px */
  --text-h2:               clamp(1.875rem, 2.5vw + 0.25rem, 2.75rem); /* 30-44px */
  --text-h3:               clamp(1.5rem, 2vw, 2rem);             /* 24-32px */
  --text-h4:               clamp(1.125rem, 1.5vw, 1.5rem);       /* 18-24px */
  --text-h5:               1.125rem;                               /* 18px */
  --text-h6:               1rem;                                   /* 16px */
  --text-body-lg:          1.125rem;                               /* 18px */
  --text-body:             1rem;                                   /* 16px */
  --text-body-sm:          0.9375rem;                              /* 15px */
  --text-small:            0.875rem;                               /* 14px */
  --text-caption:          0.8125rem;                              /* 13px */
  --text-overline:         0.6875rem;                              /* 11px — smaller, more refined */

  /* Line Heights — Tight for Display, Generous for Body */
  --leading-none:          0.9;
  --leading-tight:         1.05;
  --leading-snug:          1.25;
  --leading-normal:        1.6;
  --leading-relaxed:       1.75;
  --leading-loose:         2;

  /* Letter Spacing */
  --tracking-tighter:     -0.04em;
  --tracking-tight:       -0.02em;
  --tracking-normal:       0;
  --tracking-wide:         0.05em;
  --tracking-wider:        0.1em;
  --tracking-widest:       0.2em;

  /* Font Weights */
  --weight-light:          300;
  --weight-regular:        400;
  --weight-medium:         500;
  --weight-semibold:       600;
  --weight-bold:           700;
  --weight-extrabold:      800;
  --weight-black:          900;

  /* ---------------------------------------------------------------------------
     1d. SPACING (8px base grid, but more generous)
     --------------------------------------------------------------------------- */

  --space-unit:            8px;
  --space-2xs:             4px;
  --space-xs:              8px;
  --space-sm:              16px;
  --space-md:              24px;
  --space-lg:              40px;
  --space-xl:              56px;
  --space-2xl:             80px;
  --space-3xl:             120px;
  --space-4xl:             160px;
  --space-5xl:             240px;

  /* Section Padding — Premium Whitespace */
  --space-section:         clamp(120px, 15vw, 240px);
  --section-padding-y:     var(--space-section);
  --section-padding-x:     clamp(var(--space-sm), 5vw, var(--space-xl));

  /* ---------------------------------------------------------------------------
     1e. LAYOUT
     --------------------------------------------------------------------------- */

  --max-width:             1200px;
  --max-width-narrow:      800px;
  --max-width-wide:        1440px;
  --max-width-text:        640px;

  --grid-columns:          12;
  --grid-gap:              var(--space-md);
  --grid-gap-lg:           var(--space-xl);

  /* ---------------------------------------------------------------------------
     1f. BORDERS & RADII — Sharp. Deliberate.
     --------------------------------------------------------------------------- */

  --radius-none:           0;
  --radius-sm:             0;
  --radius-md:             2px;
  --radius-lg:             4px;
  --radius-xl:             4px;
  --radius-full:           9999px;
  --radius-pill:           9999px;

  --border-thin:           1px solid var(--color-border-light);
  --border-default:        1px solid var(--color-border-default);
  --border-gold:           1px solid var(--color-border-gold);

  /* ---------------------------------------------------------------------------
     1g. SHADOWS — Minimal. Spacing and Contrast Do The Work.
     --------------------------------------------------------------------------- */

  --shadow-xs:             0 1px 2px rgba(10, 22, 40, 0.03);
  --shadow-sm:             0 1px 3px rgba(10, 22, 40, 0.04);
  --shadow-md:             0 2px 8px rgba(10, 22, 40, 0.05);
  --shadow-lg:             0 4px 16px rgba(10, 22, 40, 0.06);
  --shadow-xl:             0 8px 32px rgba(10, 22, 40, 0.08);
  --shadow-gold:           0 2px 12px rgba(201, 169, 110, 0.12);
  --shadow-inner:          inset 0 1px 2px rgba(10, 22, 40, 0.04);

  /* ---------------------------------------------------------------------------
     1h. TRANSITIONS & ANIMATIONS — Snappier. Deliberate.
     --------------------------------------------------------------------------- */

  --ease-out-smooth:       cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out-expo:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-smooth:    cubic-bezier(0.45, 0, 0.55, 1);

  --duration-instant:      80ms;
  --duration-fast:         150ms;
  --duration-normal:       280ms;
  --duration-slow:         420ms;
  --duration-slower:       600ms;
  --duration-reveal:       800ms;

  --transition-fast:       var(--duration-fast) var(--ease-out-smooth);
  --transition-normal:     var(--duration-normal) var(--ease-out-smooth);
  --transition-slow:       var(--duration-slow) var(--ease-out-expo);

  /* ---------------------------------------------------------------------------
     1i. Z-INDEX SCALE
     --------------------------------------------------------------------------- */

  --z-base:                0;
  --z-raised:              10;
  --z-dropdown:            100;
  --z-sticky:              200;
  --z-overlay:             300;
  --z-modal:               400;
  --z-toast:               500;
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  letter-spacing: var(--tracking-normal);
  min-height: 100vh;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font: inherit;
}

a {
  color: var(--color-text-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-dark);
}

::selection {
  background-color: var(--color-accent);
  color: var(--color-white);
}


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

/* Display — Hero-level. Type as Architecture. */
.text-display {
  font-family: var(--font-serif);
  font-size: var(--text-display);
  font-weight: var(--weight-black);
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tighter);
  color: var(--color-text-primary);
}

.text-display-sm {
  font-family: var(--font-serif);
  font-size: var(--text-display-sm);
  font-weight: var(--weight-bold);
  line-height: 0.95;
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
}

/* Headings */
h1, .h1 {
  font-family: var(--font-serif);
  font-size: var(--text-h1);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

h2, .h2 {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

h3, .h3 {
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

h4, .h4 {
  font-family: var(--font-sans);
  font-size: var(--text-h4);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

h5, .h5 {
  font-family: var(--font-sans);
  font-size: var(--text-h5);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

h6, .h6 {
  font-family: var(--font-sans);
  font-size: var(--text-h6);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
}

/* Body Text */
.text-body-lg {
  font-size: var(--text-body-lg);
  line-height: var(--leading-relaxed);
}

.text-body {
  font-size: var(--text-body);
  line-height: var(--leading-normal);
}

.text-body-sm {
  font-size: var(--text-body-sm);
  line-height: var(--leading-normal);
}

.text-small {
  font-size: var(--text-small);
  line-height: var(--leading-normal);
}

.text-caption {
  font-size: var(--text-caption);
  line-height: var(--leading-normal);
  color: var(--color-text-tertiary);
}

.text-overline {
  font-family: var(--font-sans);
  font-size: var(--text-overline);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold);
}

/* Lead / Intro Paragraph */
.text-lead {
  font-size: var(--text-body-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  max-width: var(--max-width-text);
}

/* Paragraph defaults */
p {
  margin-bottom: var(--space-sm);
}

p:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   4. LAYOUT
   ========================================================================== */

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--section-padding-x);
  padding-right: var(--section-padding-x);
}

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

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

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

/* Section */
.section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.section--sm {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.section--lg {
  padding-top: var(--space-5xl);
  padding-bottom: var(--space-5xl);
}

/* Backgrounds */
.section--light {
  background-color: var(--color-bg-secondary);
}

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

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark .h1,
.section--dark .h2,
.section--dark .h3,
.section--dark .h4,
.section--dark .h5 {
  color: var(--color-text-inverse);
}

.section--dark .text-overline {
  color: var(--color-gold-light);
}

.section--dark .text-lead,
.section--dark .text-caption {
  color: var(--color-warm-gray-300);
}

/* CSS Grid System */
.grid {
  display: grid;
  gap: var(--grid-gap);
}

.grid--lg-gap {
  gap: var(--grid-gap-lg);
}

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

/* Asymmetric layouts */
.grid-cols-2-1 { grid-template-columns: 2fr 1fr; }
.grid-cols-1-2 { grid-template-columns: 1fr 2fr; }
.grid-cols-3-2 { grid-template-columns: 3fr 2fr; }
.grid-cols-2-3 { grid-template-columns: 2fr 3fr; }

/* Grid alignment */
.grid--center {
  align-items: center;
}

.grid--start {
  align-items: start;
}

/* Responsive Grid */
@media (max-width: 768px) {
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4,
  .grid-cols-2-1,
  .grid-cols-1-2,
  .grid-cols-3-2,
  .grid-cols-2-3 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Flex utilities */
.flex {
  display: flex;
}

.flex--col {
  flex-direction: column;
}

.flex--wrap {
  flex-wrap: wrap;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  align-items: center;
  justify-content: space-between;
}

.flex--gap-sm  { gap: var(--space-sm); }
.flex--gap-md  { gap: var(--space-md); }
.flex--gap-lg  { gap: var(--space-lg); }
.flex--gap-xl  { gap: var(--space-xl); }


/* ==========================================================================
   5. COMPONENTS — BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-sans);
  font-size: var(--text-overline);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  line-height: 1;
  padding: 16px 36px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--duration-fast) var(--ease-out-smooth);
  text-decoration: none;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

.btn:active {
  transform: scale(0.97);
}

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

/* Primary — Terracotta Accent */
.btn--primary {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
}

/* Secondary — Outline */
.btn--secondary {
  background-color: transparent;
  border-color: var(--color-warm-gray-800);
  color: var(--color-warm-gray-800);
}

.btn--secondary:hover {
  background-color: var(--color-warm-gray-800);
  color: var(--color-white);
}

/* Secondary on Dark */
.section--dark .btn--secondary,
.btn--secondary-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--color-warm-gray-200);
}

.section--dark .btn--secondary:hover,
.btn--secondary-light:hover {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-navy);
}

/* Ghost */
.btn--ghost {
  background-color: transparent;
  border-color: transparent;
  color: var(--color-text-primary);
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
}

.btn--ghost:hover {
  color: var(--color-accent);
}

/* CTA — Gold */
.btn--cta {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-navy);
}

.btn--cta:hover {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-navy);
}

/* Sizes */
.btn--sm {
  font-size: 0.625rem;
  padding: 10px 22px;
  letter-spacing: var(--tracking-wider);
}

.btn--lg {
  font-size: var(--text-overline);
  padding: 20px 48px;
}

/* Icon button */
.btn--icon {
  padding: 12px;
  line-height: 0;
}


/* ==========================================================================
   6. COMPONENTS — CARDS
   ========================================================================== */

.card {
  background-color: var(--color-white);
  border-radius: 0;
  overflow: hidden;
  transition:
    transform var(--transition-normal);
}

.card--elevated {
  box-shadow: var(--shadow-sm);
}

.card--elevated:hover {
  transform: translateY(-2px);
}

.card--bordered {
  border: var(--border-thin);
}

.card--bordered:hover {
  border-color: var(--color-border-gold);
}

.card--dark {
  background-color: var(--color-charcoal);
  color: var(--color-text-inverse);
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card__image--portrait {
  aspect-ratio: 3 / 4;
}

.card__image--square {
  aspect-ratio: 1 / 1;
}

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

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

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

.card__eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-overline);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.card__title {
  font-family: var(--font-serif);
  font-size: var(--text-h4);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-xs);
}

.card__text {
  font-size: var(--text-body-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
}


/* ==========================================================================
   7. COMPONENTS — FORMS
   ========================================================================== */

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--text-overline);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  color: var(--color-text-primary);
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border-default);
  border-radius: 0;
  padding: 12px 0;
  transition:
    border-color var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-bottom-color: var(--color-border-dark);
}

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

.form-input::placeholder {
  color: var(--color-text-tertiary);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input--error {
  border-bottom-color: var(--color-error);
}

.form-input--error:focus {
  border-bottom-color: var(--color-error);
}

.form-hint {
  font-size: var(--text-caption);
  color: var(--color-text-tertiary);
  margin-top: var(--space-2xs);
}

.form-error {
  font-size: var(--text-caption);
  color: var(--color-error);
  margin-top: var(--space-2xs);
}

/* Dark variant */
.section--dark .form-input,
.section--dark .form-textarea {
  background-color: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.15);
  color: var(--color-text-inverse);
}

.section--dark .form-input::placeholder {
  color: var(--color-warm-gray-400);
}

.section--dark .form-input:focus,
.section--dark .form-textarea:focus {
  border-bottom-color: var(--color-gold);
}

.section--dark .form-label {
  color: var(--color-warm-gray-200);
}


/* ==========================================================================
   8. COMPONENTS — BADGES & TAGS
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: var(--text-caption);
  font-weight: var(--weight-medium);
  line-height: 1;
  padding: 6px 14px;
  border-radius: 0;
  letter-spacing: var(--tracking-wide);
}

.badge--gold {
  background-color: var(--color-gold-pale);
  color: var(--color-gold-dark);
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.badge--dark {
  background-color: var(--color-navy);
  color: var(--color-warm-gray-200);
}

.badge--outline {
  background-color: transparent;
  border: 1px solid var(--color-border-default);
  color: var(--color-text-secondary);
}

.badge--accent {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.badge--success {
  background-color: var(--color-success-light);
  color: var(--color-success);
}

.badge--error {
  background-color: var(--color-error-light);
  color: var(--color-error);
}

.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: var(--text-overline);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  line-height: 1;
  padding: 8px 16px;
  border: 1px solid var(--color-border-default);
  border-radius: 0;
  color: var(--color-text-secondary);
  transition:
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.tag--active {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
}


/* ==========================================================================
   9. COMPONENTS — DIVIDERS & DECORATIVE
   ========================================================================== */

.divider {
  border: none;
  height: 1px;
  background-color: var(--color-border-light);
  margin: var(--space-xl) 0;
}

.divider--gold {
  background: linear-gradient(
    to right,
    transparent,
    var(--color-gold-muted),
    transparent
  );
  height: 1px;
}

.divider--short {
  width: 48px;
  height: 2px;
  background-color: var(--color-gold);
}

.divider--short-center {
  width: 48px;
  height: 2px;
  background-color: var(--color-gold);
  margin-left: auto;
  margin-right: auto;
}

.section--dark .divider {
  background-color: rgba(255, 255, 255, 0.08);
}

/* Decorative gold line */
.gold-accent {
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.gold-accent--center {
  margin-left: auto;
  margin-right: auto;
}

/* Decorative quote mark */
.deco-quote::before {
  content: '\201C';
  display: block;
  font-family: var(--font-serif);
  font-size: 15rem;
  line-height: 0.65;
  color: rgba(201, 169, 110, 0.1);
  margin-bottom: var(--space-md);
}


/* ==========================================================================
   10. ANIMATIONS
   ========================================================================== */

/* Base state for reveal animations */
[data-reveal] {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity var(--duration-reveal) var(--ease-out-expo),
    transform var(--duration-reveal) var(--ease-out-expo);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Fade Up */
.fade-up,
[data-reveal="fade-up"] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity var(--duration-reveal) var(--ease-out-expo),
    transform var(--duration-reveal) var(--ease-out-expo);
}

.fade-up.is-visible,
[data-reveal="fade-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In */
.fade-in,
[data-reveal="fade-in"] {
  opacity: 0;
  transition: opacity var(--duration-reveal) var(--ease-out-expo);
}

.fade-in.is-visible,
[data-reveal="fade-in"].is-visible {
  opacity: 1;
}

/* Fade In Left */
.fade-in-left,
[data-reveal="fade-in-left"] {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity var(--duration-reveal) var(--ease-out-expo),
    transform var(--duration-reveal) var(--ease-out-expo);
}

.fade-in-left.is-visible,
[data-reveal="fade-in-left"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fade In Right */
.fade-in-right,
[data-reveal="fade-in-right"] {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity var(--duration-reveal) var(--ease-out-expo),
    transform var(--duration-reveal) var(--ease-out-expo);
}

.fade-in-right.is-visible,
[data-reveal="fade-in-right"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale In */
.scale-in,
[data-reveal="scale-in"] {
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity var(--duration-reveal) var(--ease-out-expo),
    transform var(--duration-reveal) var(--ease-out-expo);
}

.scale-in.is-visible,
[data-reveal="scale-in"].is-visible {
  opacity: 1;
  transform: scale(1);
}

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

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal],
  .fade-up,
  .fade-in,
  .fade-in-left,
  .fade-in-right,
  .scale-in {
    opacity: 1;
    transform: none;
  }
}

/* Keyframe animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes goldShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulseArrow {
  0%, 100% { opacity: 0.6; transform: translateX(0); }
  50%      { opacity: 1; transform: translateX(6px); }
}

@keyframes staggerFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Shimmer effect for premium elements */
.shimmer-gold {
  background: linear-gradient(
    90deg,
    var(--color-gold) 0%,
    var(--color-gold-light) 50%,
    var(--color-gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 3s linear infinite;
}


/* ==========================================================================
   11. UTILITY CLASSES
   ========================================================================== */

/* --- Text Alignment --- */
.text-left    { text-align: left; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }

/* --- Text Colors --- */
.text-primary    { color: var(--color-text-primary); }
.text-secondary  { color: var(--color-text-secondary); }
.text-tertiary   { color: var(--color-text-tertiary); }
.text-inverse    { color: var(--color-text-inverse); }
.text-gold       { color: var(--color-gold); }
.text-accent     { color: var(--color-accent); }
.text-white      { color: var(--color-white); }

/* --- Background Colors --- */
.bg-white      { background-color: var(--color-white); }
.bg-cream      { background-color: var(--color-cream); }
.bg-light      { background-color: var(--color-warm-gray-50); }
.bg-navy       { background-color: var(--color-navy); }
.bg-charcoal   { background-color: var(--color-charcoal); }
.bg-gold-pale  { background-color: var(--color-gold-pale); }

/* --- Font Families --- */
.font-serif    { font-family: var(--font-serif); }
.font-sans     { font-family: var(--font-sans); }

/* --- Font Weights --- */
.weight-light     { font-weight: var(--weight-light); }
.weight-regular   { font-weight: var(--weight-regular); }
.weight-medium    { font-weight: var(--weight-medium); }
.weight-semibold  { font-weight: var(--weight-semibold); }
.weight-bold      { font-weight: var(--weight-bold); }

/* --- Spacing: Margin --- */
.mt-0   { margin-top: 0; }
.mt-xs  { margin-top: var(--space-xs); }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-0   { margin-bottom: 0; }
.mb-xs  { margin-bottom: var(--space-xs); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Spacing: Padding --- */
.p-0    { padding: 0; }
.p-xs   { padding: var(--space-xs); }
.p-sm   { padding: var(--space-sm); }
.p-md   { padding: var(--space-md); }
.p-lg   { padding: var(--space-lg); }
.p-xl   { padding: var(--space-xl); }
.p-2xl  { padding: var(--space-2xl); }

.py-sm  { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-md  { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg  { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-xl  { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.py-2xl { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
.py-3xl { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }

.px-sm  { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.px-md  { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-lg  { padding-left: var(--space-lg); padding-right: var(--space-lg); }
.px-xl  { padding-left: var(--space-xl); padding-right: var(--space-xl); }

/* --- Width Constraints --- */
.max-w-text   { max-width: var(--max-width-text); }
.max-w-narrow { max-width: var(--max-width-narrow); }
.max-w-default { max-width: var(--max-width); }
.max-w-wide   { max-width: var(--max-width-wide); }
.w-full       { width: 100%; }

/* --- Display --- */
.block        { display: block; }
.inline-block { display: inline-block; }
.inline       { display: inline; }
.hidden       { display: none; }

/* --- Overflow --- */
.overflow-hidden { overflow: hidden; }

/* --- Position --- */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky   { position: sticky; }

/* --- Image Utilities --- */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- Border Utilities --- */
.border-top    { border-top: var(--border-thin); }
.border-bottom { border-bottom: var(--border-thin); }
.border-gold   { border: var(--border-gold); }

/* --- Responsive Visibility --- */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hide-tablet { display: none !important; }
}

@media (min-width: 1025px) {
  .hide-desktop { display: none !important; }
}

@media (max-width: 1024px) {
  .hide-below-desktop { display: none !important; }
}

@media (min-width: 769px) {
  .show-mobile-only { display: none !important; }
}

/* --- List Reset --- */
.list-reset {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- Screen Reader Only --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
