/* ============================================================
   THE AMERICAN GOALKEEPER - BRAND SYSTEM
   Warm editorial - book jacket interior aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@500;700;800;900&family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,700;1,9..144,500;1,9..144,700&family=Inter+Tight:wght@400;500;600;700&display=swap');

:root {
  /* Warm paper palette */
  --paper:          #F8EFDD;
  --paper-soft:     #F4E9D2;
  --paper-warm:     #EFE0C5;
  --cream:          #FAF4E6;
  --bone:           #FDF8EE;

  /* Deep navy ink (warmer than pure black) */
  --ink:            #1B2840;
  --ink-deep:       #0F1A2E;
  --ink-soft:       rgba(27, 40, 64, 0.78);
  --ink-mute:       rgba(27, 40, 64, 0.55);
  --ink-faint:      rgba(27, 40, 64, 0.18);

  /* Warm accents from the book cover */
  --gold:           #C89B5C;
  --gold-bright:    #E0B576;
  --gold-deep:      #9A7438;
  --sunset:         #DD7838;
  --sunset-bright:  #EE9050;
  --ember:          #B85820;
  --jersey:         #B83A28;
  --field:          #4A5538;

  /* Cream-on-navy variants */
  --paper-on-dark:  rgba(248, 239, 221, 0.92);
  --paper-on-dark-soft: rgba(248, 239, 221, 0.65);
  --paper-on-dark-faint: rgba(248, 239, 221, 0.15);

  --f-stadium: 'Big Shoulders Display', 'Impact', sans-serif;
  --f-editorial: 'Fraunces', 'Times New Roman', serif;
  --f-body: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1280px;
  --pad-x: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.stadium {
  font-family: var(--f-stadium);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 0.88;
  text-transform: uppercase;
}
.editorial { font-family: var(--f-editorial); font-weight: 500; }
.editorial-italic { font-family: var(--f-editorial); font-style: italic; font-weight: 500; }

.eyebrow {
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ember);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--f-stadium);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 18px 32px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  text-align: center;
}

.btn-buy {
  background: var(--sunset);
  color: var(--cream);
  border-color: var(--sunset);
  font-size: 1.05rem;
  padding: 20px 40px;
}
.btn-buy:hover {
  background: var(--ember);
  border-color: var(--ember);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(184, 88, 32, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-faint);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn-arrow::after {
  content: '\2192';
  transition: transform 0.25s ease;
  font-size: 1.15em;
  line-height: 1;
}
.btn-arrow:hover::after { transform: translateX(6px); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

.field { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.field label {
  font-family: var(--f-body);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-mute);
}
.field input, .field select, .field textarea {
  font-family: var(--f-body);
  font-size: 1rem;
  padding: 14px 16px;
  background: var(--cream);
  border: 2px solid transparent;
  border-bottom: 2px solid var(--ink-faint);
  border-radius: 0;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
  font-weight: 500;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--sunset);
  background: var(--bone);
}

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-10px) rotate(-1deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.reveal { opacity: 0; animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.reveal-1 { animation-delay: 0.05s; }
.reveal-2 { animation-delay: 0.18s; }
.reveal-3 { animation-delay: 0.32s; }
.reveal-4 { animation-delay: 0.46s; }
.reveal-5 { animation-delay: 0.6s; }

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