/* ═══════════════════════════════════════
   AMCO — Base Styles & Reset
═══════════════════════════════════════ */

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

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  background-color: var(--color-cream);
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography base ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-navy);
}

p { line-height: 1.75; }

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

a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

ul, ol { list-style: none; }

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: var(--font-sans);
}

/* ── Accessibility ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity  var(--duration-slow) var(--ease),
    transform var(--duration-slow) var(--ease);
}

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

.reveal--delay { transition-delay: 0.15s; }

/* ── Shared layout ── */
.section-lbl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 14px;
}

.section-lbl::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--color-gold);
  flex-shrink: 0;
}

.sec-title {
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.15;
  margin-bottom: 16px;
}

.sec-sub {
  font-size: var(--text-md);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ── Shared buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background var(--duration-base),
    border-color var(--duration-base),
    color var(--duration-base),
    transform var(--duration-base);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--gold {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}

.btn--gold:hover {
  background: #b8924e;
  border-color: #b8924e;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn--navy {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}

.btn--navy:hover {
  background: var(--color-navy-light);
  border-color: var(--color-navy-light);
  transform: translateY(-1px);
}

/* ── Keyframes ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroPan {
  from { transform: scale(1.06) translateX(0); }
  to   { transform: scale(1.06) translateX(-2%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
