/* ═══════════════════════════════════════════════════════════════
   ACCEPT GLOBAL LIMITED — Executive Edition
   Design tokens & base styles
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Brand Palette */
  --color-ink:       #0A1628;       /* Deep midnight navy - primary dark */
  --color-ink-soft:  #162238;       /* Slightly lighter navy */
  --color-ink-mute:  #2A3550;       /* Muted navy for subtle fills */
  --color-ivory:     #F5F1E8;       /* Warm ivory - primary light */
  --color-ivory-soft:#EDE8DC;       /* Slightly deeper ivory */
  --color-paper:     #FFFFFF;
  --color-red:       #C8102E;       /* Brand red (matches logo) */
  --color-red-deep:  #A00D25;       /* Hover / pressed red */
  --color-gold:      #C9A961;       /* Hairline accent / premium touch */
  --color-graphite:  #3A3F4B;
  --color-smoke:     #6B7280;
  --color-line:      rgba(10, 22, 40, 0.10);
  --color-line-dark: rgba(245, 241, 232, 0.12);

  /* Typography */
  --font-display: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Type Scale */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-lg:    1.125rem;   /* 18px */
  --text-xl:    1.5rem;     /* 24px */
  --text-2xl:   clamp(2rem, 3vw, 2.75rem);       /* 32-44px */
  --text-3xl:   clamp(2.5rem, 4vw, 3.75rem);     /* 40-60px */
  --text-4xl:   clamp(3rem, 6vw, 5rem);          /* 48-80px */
  --text-hero:  clamp(3.5rem, 7vw, 6.5rem);      /* 56-104px */

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1320px;
  --container-narrow: 880px;
  --radius-sm: 2px;
  --radius:    4px;
  --radius-lg: 8px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur: 400ms;
  --dur-slow: 800ms;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ─── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--color-red);
  display: inline-block;
}

.lede {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--color-graphite);
  max-width: 62ch;
}

/* ─── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 4vw, var(--space-12));
}
.container--narrow { max-width: var(--container-narrow); }

.section {
  padding-block: clamp(var(--space-20), 10vw, var(--space-32));
}
.section--tight { padding-block: clamp(var(--space-16), 7vw, var(--space-24)); }

.section--dark {
  background: var(--color-ink);
  color: var(--color-ivory);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 {
  color: var(--color-ivory);
}
.section--dark .lede { color: rgba(245, 241, 232, 0.72); }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.95rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all var(--dur-fast) var(--ease);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-red);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-red-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(200, 16, 46, 0.5);
}
.btn--ghost {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-ink);
}
.btn--ghost:hover { background: var(--color-ink); color: var(--color-ivory); }

.section--dark .btn--ghost {
  color: var(--color-ivory);
  border-color: var(--color-ivory);
}
.section--dark .btn--ghost:hover {
  background: var(--color-ivory);
  color: var(--color-ink);
}

.btn--arrow::after {
  content: '→';
  font-size: 1em;
  transition: transform var(--dur-fast) var(--ease);
}
.btn--arrow:hover::after { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap var(--dur-fast) var(--ease);
}
.link-arrow:hover { gap: var(--space-3); }
.link-arrow::after { content: '→'; }
.section--dark .link-arrow { color: var(--color-ivory); }

/* ─── Decorative ─────────────────────────────────────────────── */
.rule {
  height: 1px;
  background: var(--color-line);
  border: none;
  margin-block: var(--space-16);
}
.section--dark .rule { background: var(--color-line-dark); }

.rule-gold {
  display: inline-block;
  width: 48px;
  height: 2px;
  background: var(--color-gold);
  margin-bottom: var(--space-6);
}

/* ─── Utilities ──────────────────────────────────────────────── */
.text-red { color: var(--color-red); }
.text-gold { color: var(--color-gold); }
.text-ivory { color: var(--color-ivory); }
.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Animations ─────────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-up {
  opacity: 0;
  animation: fade-up var(--dur-slow) var(--ease) forwards;
}
.fade-up.delay-1 { animation-delay: 100ms; }
.fade-up.delay-2 { animation-delay: 200ms; }
.fade-up.delay-3 { animation-delay: 300ms; }
.fade-up.delay-4 { animation-delay: 400ms; }

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
