:root {
  --sky:        #1a6fa8;
  --sky-dark:   #0f4f7a;
  --sky-light:  #e8f3fb;
  --gold:       #b8892a;
  --gold-soft:  #f0c96a;
  --gold-light: #fdf6e7;

  --green:        #2d7a4f;  --green-light:  #edf7f2;
  --rose:         #9b3a5c;  --rose-light:   #fdf0f5;
  --violet:       #5b3da8;  --violet-light: #f3f0fb;
  --amber:        #8a6a00;  --amber-light:  #fef9e7;

  --ink:       #15161c;
  --ink-soft:  #3a3d4a;
  --ink-muted: #5c6373;
  --ink-faint: #8a93a6;
  --line:      #e7eaf0;
  --line-soft: #f1f3f7;
  --surface:   #ffffff;
  --surface-2: #f8f9fc;
  --surface-3: #eef1f6;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-hero: clamp(2.6rem, 6vw, 4.6rem);
  --fs-h1:   clamp(2rem, 4vw, 3rem);
  --fs-h2:   clamp(1.6rem, 3vw, 2.2rem);
  --fs-h3:   1.2rem;
  --fs-lead: clamp(1.05rem, 1.6vw, 1.3rem);
  --fs-body: 1rem;
  --fs-sm:   0.875rem;
  --fs-xs:   0.75rem;

  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 4rem;
  --sp-9: 6rem;   --sp-10: 8rem;

  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20,30,55,.04), 0 1px 3px rgba(20,30,55,.06);
  --shadow-md: 0 6px 16px rgba(20,30,55,.06), 0 14px 36px rgba(20,30,55,.07);
  --shadow-lg: 0 10px 28px rgba(20,30,55,.10), 0 28px 64px rgba(20,30,55,.12);

  --ease:     cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t-fast: .18s; --t-med: .32s; --t-slow: .6s;

  --maxw: 1160px;
  --maxw-prose: 720px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.14; font-weight: 700; letter-spacing: -0.02em; }
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
.display em { font-style: italic; font-weight: 600; }

body { letter-spacing: -0.005em; }
p { text-wrap: pretty; }
strong { font-weight: 600; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2rem); }
.prose { max-width: var(--maxw-prose); }
section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .title {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-h2); color: var(--ink); margin-top: .75rem; line-height: 1.1;
}
.section-head .sub {
  font-size: var(--fs-lead); color: var(--ink-muted);
  margin-top: .75rem; font-weight: 400; line-height: 1.55;
}

.divider { border: none; border-top: 1px solid var(--line); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: .01em;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--sky); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--sky-dark); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink-faint); background: var(--surface-2); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.6); }
.btn-lg { padding: 1rem 2rem; font-size: var(--fs-body); }

[data-animate] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-animate].in-view { opacity: 1; transform: none; }
[data-animate][data-delay="1"] { transition-delay: .08s; }
[data-animate][data-delay="2"] { transition-delay: .16s; }
[data-animate][data-delay="3"] { transition-delay: .24s; }
[data-animate][data-delay="4"] { transition-delay: .32s; }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.muted { color: var(--ink-muted); }
.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;
}

@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16); } }
@keyframes marquee  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes floaty   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-animate] { opacity: 1; transform: none; }
  .marquee-track { animation: none !important; }
}
