/* ============================================================
   Victoria Travel — Design Tokens (T002-T006)
   Single source of truth for color, type, spacing, shadow, radius
   ============================================================ */

:root {
  /* ── BRAND COLORS ─────────────────────────────────────────── */
  --vt-primary-50:  #f0fdfa;
  --vt-primary-100: #ccfbf1;
  --vt-primary-200: #99f6e4;
  --vt-primary-300: #5eead4;
  --vt-primary-400: #2dd4bf;
  --vt-primary-500: #14b8a6;
  --vt-primary-600: #0d9488;
  --vt-primary-700: #0f766e;  /* primary accent */
  --vt-primary-800: #115e59;
  --vt-primary-900: #134e4a;
  --vt-primary-950: #042f2e;

  --vt-gold-50:  #fffbeb;
  --vt-gold-100: #fef3c7;
  --vt-gold-300: #fcd34d;
  --vt-gold-500: #f59e0b;
  --vt-gold-600: #d97706;  /* secondary accent — premium */
  --vt-gold-700: #b45309;

  --vt-coral-500: #f97316;  /* warm CTA */
  --vt-coral-600: #ea580c;

  --vt-sky-500: #0ea5e9;    /* informational */
  --vt-sky-600: #0284c7;

  /* ── NEUTRAL SCALE ────────────────────────────────────────── */
  --vt-ink:    #0f172a;     /* text primary */
  --vt-ink-2:  #1e293b;     /* text secondary */
  --vt-ink-3:  #334155;     /* text tertiary */
  --vt-mute:   #64748b;     /* text muted */
  --vt-mute-2: #94a3b8;     /* text disabled */
  --vt-rule:   #e2e8f0;     /* border default */
  --vt-rule-2: #cbd5e1;     /* border strong */
  --vt-surf:   #f8fafc;     /* surface 1 */
  --vt-surf-2: #f1f5f9;     /* surface 2 */
  --vt-white:  #ffffff;
  --vt-black:  #020617;

  /* ── SEMANTIC ─────────────────────────────────────────────── */
  --vt-success:   #16a34a;
  --vt-success-bg:#dcfce7;
  --vt-warn:      #ea580c;
  --vt-warn-bg:   #fed7aa;
  --vt-error:     #dc2626;
  --vt-error-bg:  #fee2e2;
  --vt-info:      #0284c7;
  --vt-info-bg:   #dbeafe;

  /* ── TYPOGRAPHY ───────────────────────────────────────────── */
  --vt-font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --vt-font-serif: "Fraunces", "Source Serif Pro", Georgia, serif;
  --vt-font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --vt-text-xs:   0.75rem;   /* 12px */
  --vt-text-sm:   0.875rem;  /* 14px */
  --vt-text-base: 1rem;      /* 16px */
  --vt-text-lg:   1.125rem;  /* 18px */
  --vt-text-xl:   1.25rem;   /* 20px */
  --vt-text-2xl:  1.5rem;    /* 24px */
  --vt-text-3xl:  1.875rem;  /* 30px */
  --vt-text-4xl:  2.25rem;   /* 36px */
  --vt-text-5xl:  3rem;      /* 48px */
  --vt-text-6xl:  3.75rem;   /* 60px */
  --vt-text-7xl:  4.5rem;    /* 72px */

  --vt-leading-tight:   1.1;
  --vt-leading-snug:    1.25;
  --vt-leading-normal:  1.5;
  --vt-leading-relaxed: 1.625;
  --vt-leading-loose:   2;

  --vt-weight-regular:  400;
  --vt-weight-medium:   500;
  --vt-weight-semibold: 600;
  --vt-weight-bold:     700;
  --vt-weight-black:    900;

  /* ── SPACING (4/8 grid) ───────────────────────────────────── */
  --vt-sp-0:  0;
  --vt-sp-1:  0.25rem;   /* 4px */
  --vt-sp-2:  0.5rem;    /* 8px */
  --vt-sp-3:  0.75rem;   /* 12px */
  --vt-sp-4:  1rem;      /* 16px */
  --vt-sp-5:  1.25rem;   /* 20px */
  --vt-sp-6:  1.5rem;    /* 24px */
  --vt-sp-8:  2rem;      /* 32px */
  --vt-sp-10: 2.5rem;    /* 40px */
  --vt-sp-12: 3rem;      /* 48px */
  --vt-sp-16: 4rem;      /* 64px */
  --vt-sp-20: 5rem;      /* 80px */
  --vt-sp-24: 6rem;      /* 96px */
  --vt-sp-32: 8rem;      /* 128px */

  /* ── RADIUS ───────────────────────────────────────────────── */
  --vt-r-xs:   4px;
  --vt-r-sm:   6px;
  --vt-r:      8px;
  --vt-r-md:   12px;
  --vt-r-lg:   16px;
  --vt-r-xl:   24px;
  --vt-r-2xl:  32px;
  --vt-r-full: 9999px;

  /* ── SHADOWS ──────────────────────────────────────────────── */
  --vt-shadow-xs:  0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --vt-shadow-sm:  0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.05);
  --vt-shadow:     0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --vt-shadow-md:  0 10px 15px -3px rgba(15, 23, 42, 0.10), 0 4px 6px -4px rgba(15, 23, 42, 0.06);
  --vt-shadow-lg:  0 20px 25px -5px rgba(15, 23, 42, 0.10), 0 8px 10px -6px rgba(15, 23, 42, 0.07);
  --vt-shadow-xl:  0 25px 50px -12px rgba(15, 23, 42, 0.18);
  --vt-shadow-2xl: 0 35px 60px -15px rgba(15, 23, 42, 0.30);
  --vt-shadow-inner: inset 0 2px 4px 0 rgba(15, 23, 42, 0.05);

  /* ── LAYOUT ───────────────────────────────────────────────── */
  --vt-container: 1280px;
  --vt-container-wide: 1640px;
  --vt-content: 720px;       /* article width */
  --vt-header-h: 72px;
  --vt-z-base:    1;
  --vt-z-sticky:  10;
  --vt-z-overlay: 50;
  --vt-z-modal:   100;
  --vt-z-toast:   200;

  /* ── MOTION ───────────────────────────────────────────────── */
  --vt-ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --vt-ease-in:     cubic-bezier(0.4, 0, 1, 1);
  --vt-ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --vt-ease-bouncy: cubic-bezier(0.34, 1.56, 0.64, 1);
  --vt-dur-fast:    150ms;
  --vt-dur:         250ms;
  --vt-dur-slow:    400ms;
}

/* Dark mode override (T024) */
[data-theme="dark"] {
  --vt-ink:    #f8fafc;
  --vt-ink-2:  #e2e8f0;
  --vt-ink-3:  #cbd5e1;
  --vt-mute:   #94a3b8;
  --vt-mute-2: #64748b;
  --vt-rule:   #334155;
  --vt-rule-2: #475569;
  --vt-surf:   #1e293b;
  --vt-surf-2: #0f172a;
  --vt-white:  #0f172a;
  --vt-black:  #f8fafc;
}

/* ── BASE RESET + GLOBALS ───────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--vt-font-sans);
  font-size: var(--vt-text-base);
  line-height: var(--vt-leading-normal);
  color: var(--vt-ink);
  background: var(--vt-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--vt-primary-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { font-family: var(--vt-font-serif); font-weight: var(--vt-weight-bold); line-height: var(--vt-leading-tight); margin: 0; }
h1 { font-size: clamp(2rem, 5vw, var(--vt-text-6xl)); }
h2 { font-size: clamp(1.5rem, 3vw, var(--vt-text-4xl)); }
h3 { font-size: var(--vt-text-2xl); }
h4 { font-size: var(--vt-text-xl); }
h5 { font-size: var(--vt-text-lg); }
h6 { font-size: var(--vt-text-base); }
p, ul, ol, dl, blockquote { margin: 0 0 var(--vt-sp-4); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

/* Skip link (a11y) */
.vt-skip-link {
  position: absolute; top: -100px; left: var(--vt-sp-4);
  background: var(--vt-primary-700); color: var(--vt-white);
  padding: var(--vt-sp-2) var(--vt-sp-4); border-radius: var(--vt-r);
  z-index: var(--vt-z-toast);
}
.vt-skip-link:focus { top: var(--vt-sp-4); }

/* Container */
.vt-container { max-width: var(--vt-container); margin: 0 auto; padding-left: var(--vt-sp-4); padding-right: var(--vt-sp-4); }
.vt-container-wide { max-width: var(--vt-container-wide); margin: 0 auto; padding-left: var(--vt-sp-4); padding-right: var(--vt-sp-4); }
.vt-content { max-width: var(--vt-content); margin: 0 auto; }

@media (min-width: 768px) {
  .vt-container, .vt-container-wide { padding-left: var(--vt-sp-6); padding-right: var(--vt-sp-6); }
}
