/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Palette — derived from the reference motion template (coral red / off-white) */
  --c-accent: #F14E46;
  --c-accent-dark: #D6362F;
  --c-accent-light: #FFEFEE;
  --c-ink: #14161A;
  --c-ink-soft: #55585F;
  --c-ink-faint: #8A8D94;
  --c-bg: #F9F9F7;
  --c-bg-alt: #FFFFFF;
  --c-bg-dark: #14161A;
  --c-line: rgba(20, 22, 26, 0.09);
  --c-line-strong: rgba(20, 22, 26, 0.16);

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 18px;
  --radius-sm: 10px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-card: 0 20px 60px -20px rgba(20, 22, 26, 0.18);
  --shadow-soft: 0 10px 30px -14px rgba(20, 22, 26, 0.14);
}

/* ============================================================
   RESET
   ============================================================ */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

p { line-height: 1.7; color: var(--c-ink-soft); }

::selection { background: var(--c-accent); color: #fff; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); scroll-margin-top: 84px; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-bg-dark); color: #fff; }
.section--dark p { color: rgba(255,255,255,0.62); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 3px;
  background: var(--c-accent);
  border-radius: 2px;
  transform: skewX(-20deg);
}

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.section-lede { margin-top: 1rem; font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 14px 28px -10px rgba(241, 78, 70, 0.55);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -12px rgba(241, 78, 70, 0.6); }
.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border: 1.5px solid var(--c-line-strong);
}
.btn--ghost:hover { border-color: var(--c-accent); color: var(--c-accent); transform: translateY(-3px); }
.section--dark .btn--ghost { border-color: rgba(255,255,255,0.25); color: #fff; }
.section--dark .btn--ghost:hover { border-color: var(--c-accent); color: var(--c-accent); }

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: .32rem .8rem;
  border-radius: 999px;
  background: var(--c-accent-light);
  color: var(--c-accent-dark);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.diagonal-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  color: #fff;
  background: var(--c-accent);
  padding: .5rem 1.1rem;
  transform: skewX(-12deg);
}
.diagonal-tag span { display: inline-block; transform: skewX(12deg); }

/* Reveal-on-scroll: content is visible by default (no-JS / JS-failure safe).
   The `.js` class is added synchronously in <head>, so only JS-enabled
   browsers ever see the pre-animation hidden state GSAP then animates in. */
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal-left { opacity: 0; transform: translateX(-32px); }
.js .reveal-right { opacity: 0; transform: translateX(32px); }

@media (max-width: 780px) {
  .section { padding-block: clamp(3.5rem, 12vw, 5rem); }
}
