/* ============================================
   DESIGN TOKENS & RESET — Tanjung Bayu
   ============================================ */

:root {
  /* ---- Colors ---- */
  --c-deep-teal: #1A3C40;
  --c-dark-surface: #1E4347;
  --c-dark-deep: #15302F;
  --c-cream: #FAF8F5;
  --c-sand: #E8DFD0;
  --c-green: #4A7C6F;
  --c-green-light: #5A9A8A;
  --c-green-dark: #3B6459;
  --c-text: #2C2C2C;
  --c-text-secondary: #4A4A4A;
  --c-text-muted: #7A7A7A;
  --c-white: #FFFFFF;
  --c-white-80: rgba(255, 255, 255, 0.80);
  --c-white-50: rgba(255, 255, 255, 0.50);

  /* ---- Glass ---- */
  --glass-bg: rgba(26, 60, 64, 0.75);
  --glass-blur: saturate(120%) blur(20px);

  /* ---- Shadows ---- */
  --shadow-lift: rgba(26, 60, 64, 0.08) 0px 4px 24px;

  /* ---- Typography ---- */
  --ff-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --ff-body: 'Satoshi', 'DM Sans', 'Inter', -apple-system, system-ui, sans-serif;

  /* ---- Spacing ---- */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-2xl: 48px;
  --sp-3xl: 64px;
  --sp-4xl: 80px;
  --sp-section: 120px;
  --sp-section-lg: 160px;

  /* ---- Layout ---- */
  --max-w: 1200px;
  --max-w-text: 680px;
  --nav-h: 64px;

  /* ---- Radius ---- */
  --r-sm: 4px;
  --r-md: 8px;

  /* ---- Transitions ---- */
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
  --t-fast: 0.3s;
  --t-medium: 0.5s;
  --t-slow: 0.8s;
}

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

html {
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.60;
  color: var(--c-text);
  background-color: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
  -webkit-user-drag: none;
  user-select: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.15;
}

/* ---- Shared Utility Classes ---- */
.overline {
  display: block;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-lg);
}

.overline--light {
  color: var(--c-white-50);
}

.btn {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 16px 32px;
  border-radius: var(--r-sm);
  transition: background-color var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn--primary {
  background-color: var(--c-green);
  color: var(--c-white);
}

.btn--primary:hover {
  background-color: var(--c-green-dark);
}

.btn--ghost {
  background-color: transparent;
  color: var(--c-white);
  border: 1px solid rgba(255, 255, 255, 0.40);
}

.btn--ghost:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.70);
}

.btn--large {
  padding: 20px 48px;
  font-size: 16px;
}

/* ---- Scroll reveal base ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion: only gate CSS-level animations (Ken Burns, scroll-line).
   GSAP animations handled by JS — no blanket !important override needed. */
