/* ============================================================
   BASE.CSS — Design Tokens · Reset · Typography · Utilities
   Annu Enterprise — Defence & Army Equipment Supplier
   ============================================================ */

/* ---- DESIGN TOKENS ---- */
:root {
  --ink:          #101F18;
  --ink-2:        #16281F;
  --paper:        #F2EEE1;
  --paper-2:      #E8E1CB;
  --brass:        #C9972B;
  --brass-light:  #E7C77E;
  --khaki:        #756F4E;
  --steel:        #33403A;
  --white:        #FFFFFF;

  --font-display: 'Oswald', sans-serif;
  --font-body:    'IBM Plex Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --shadow:       0 20px 45px -18px rgba(16,31,24,0.35);
  --shadow-sm:    0 8px 24px -8px rgba(16,31,24,0.25);
  --radius:       4px;
  --radius-lg:    6px;

  --transition:   0.28s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--steel);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul, ol {
  list-style: none;
}

/* ---- SELECTION ---- */
::selection {
  background: var(--brass);
  color: var(--ink);
}

/* ---- FOCUS ---- */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1.1;
}

p {
  line-height: 1.65;
}

/* ---- LAYOUT ---- */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad {
  padding: 6.5rem 0;
}

/* ---- EYEBROW LABEL ---- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}

/* ---- SECTION TYPOGRAPHY ---- */
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0.6rem 0 1rem;
}

.section-lead {
  max-width: 560px;
  color: var(--khaki);
  font-size: 1.02rem;
}

/* ---- UTILITY ---- */
.gold { color: var(--brass); }

/* ---- BUTTONS — stamped seal feel ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brass);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--brass-light);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(201,151,43,0.35);
}

.btn-outline {
  border-color: var(--brass);
  color: var(--brass);
  background: transparent;
}

.btn-outline:hover {
  background: var(--brass);
  color: var(--ink);
}

.btn-ghost {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--ink);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollLine {
  0%    { transform: scaleY(0); transform-origin: top; }
  50%   { transform: scaleY(1); transform-origin: top; }
  50.1% { transform-origin: bottom; }
  100%  { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:       0.01ms !important;
    animation-iteration-count: 1    !important;
    transition-duration:       0.01ms !important;
  }
}

/* ---- RESPONSIVE BASE ---- */
@media (max-width: 860px) {
  .section-pad { padding: 4.5rem 0; }
}
