/* ============================================
   NIGHTSHIFT DJS — root.css
   Design tokens, reset & shared utilities
   ============================================ */

:root {
  /* Colour */
  --bg:          #EFEDE5;
  --bg-alt:      #E7E5DB;
  --ink:         #141414;
  --ink-soft:    #55544e;
  --line:        #141414;
  --line-soft:   rgba(20, 20, 20, 0.18);
  --accent:      #F04A23;
  --accent-soft: rgba(240, 74, 35, 0.12);
  --paper:       #FAF9F5;

  /* Type */
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-hero:    clamp(3.5rem, 9vw, 8.5rem);
  --fs-hero-long: clamp(2.5rem, 6vw, 5.75rem);
  --fs-display: clamp(2.5rem, 6vw, 5rem);
  --fs-title:   clamp(1.75rem, 3.5vw, 3rem);
  --fs-body:    1.125rem;
  --fs-small:   0.8125rem;

  /* Layout */
  --container: 1440px;
  --gutter: clamp(1.25rem, 4vw, 5rem);
  --section-pad: clamp(4.5rem, 10vw, 9rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

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

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* ---------- Utilities ---------- */
.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-pad);
}

/* Full-bleed sand band — alternates against the cream default */
.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line-soft);
}

.eyebrow {
  display: block;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.display {
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.lede {
  color: var(--ink-soft);
  max-width: 32em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2rem;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.btn--solid {
  background: var(--accent);
  color: var(--ink);
}

.btn--solid:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}

.btn--ghost {
  padding-inline: 0;
  border-bottom: 1px solid var(--ink);
}

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

.btn .arrow {
  font-size: 1rem;
  line-height: 1;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
