/* ============================================
   Shop Web Works — base.css
   Reset · Tokens · Typography · Utilities
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Backgrounds — Light mode */
  --bg-900: #E4EBF5;
  --bg-800: #F1F5FB;
  --bg-700: #E9EFF8;
  --bg-600: #DAE4F0;
  --bg-card: #FFFFFF;
  --bg-elevated: #ECF1FA;

  /* Accent Blue — small details only */
  --blue: #008CD3;
  --blue-mid: #0073AD;
  --blue-bright: #2BA6E0;
  --blue-glow: rgba(0, 140, 211, 0.10);

  /* Safety Orange */
  --orange: #E65100;
  --orange-mid: #F57C00;
  --orange-bright: #E65100;
  --orange-glow: rgba(230, 81, 0, 0.10);
  --accent: #E65100;

  /* Text */
  --text-100: #001431;
  --text-300: #3B5472;
  --text-500: #5f7b97;

  /* Borders */
  --border: #C4D4E6;
  --border-mid: #B0C8DC;
  --border-bright: #8CAFC8;

  /* Utility */
  --white: #FFFFFF;

  /* Typography */
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --header-height: 80px;
  --container: 1200px;
  --gap: 1.5rem;
}

/* --- Dark Mode --- */
body.dark {
  --bg-900: #0E0F10;
  --bg-800: #121314;
  --bg-700: #1B1C1D;
  --bg-600: #1F2021;
  --bg-card: #161718;
  --bg-elevated: #26282A;
  --blue-glow: rgba(0, 140, 211, 0.20);
  --orange-bright: #FF9800;
  --orange-glow: rgba(230, 81, 0, 0.18);
  --text-100: #E8E8E9;
  --text-300: #9B9C9E;
  --text-500: #56585C;
  --border: #2A2B2D;
  --border-mid: #36373A;
  --border-bright: #45464A;
}

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

html {
  scroll-behavior: auto;
  scrollbar-color: var(--blue) var(--bg-800);
  scrollbar-width: thin;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-800); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-bright); }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--text-100);
  background-color: var(--bg-800);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: var(--header-height);
}

body.modal-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Section Helpers --- */
.section-overline {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange-mid);
  margin-bottom: 0.1rem;
}

.section-header { margin-bottom: 3.5rem; }
.section-header--center { text-align: center; }
.section-header--center .section-desc { margin-left: auto; margin-right: auto; }

.section-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--text-100);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-300);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
}
.btn--primary:hover {
  background-color: var(--orange-mid);
  border-color: var(--orange-mid);
}

.btn--secondary {
  background-color: transparent;
  color: var(--text-100);
  border: 2px solid var(--border-bright);
}
.btn--secondary:hover {
  border-color: var(--orange);
  color: var(--orange-bright);
}

.btn--full { width: 100%; justify-content: center; }

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
