/* =========================================================
   KING'S CHARIOT — THE OUTFITTER
   Theme: rugged-luxury black + warm gold, matched to kingschariot.com
   ========================================================= */

:root {
  /* Brand colors (sampled from kingschariot.com) */
  --bg-0: #0a0a0a;
  --bg-1: #151518;
  --bg-2: #1c1c20;
  --bg-3: #242424;
  --bg-4: #2f2f2f;

  --gold-300: #ffce71;
  --gold-400: #f3ac2f;
  --gold-500: #c98a1f;
  --gold-700: #8b6d34;
  --gold-900: #2a2110;

  --text-0: #ffffff;
  --text-1: #e8e6e0;
  --text-2: #b2b2b2;
  --text-3: #7a7a7a;
  --text-4: #4a4a4a;

  --border-1: #2a2a2a;
  --border-2: #3a3520;

  --font-display: 'Oswald', 'Impact', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1280px;
  --radius: 4px;
  --radius-lg: 8px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-1);
  color: var(--text-1);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* =========================================================
   UTILITY BAR
   ========================================================= */
.utility-bar {
  background: #050505;
  color: var(--text-2);
  font-size: 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-1);
}
.utility-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
  flex-wrap: wrap;
}
.utility-bar__left { display: flex; gap: 24px; flex-wrap: wrap; }
.utility-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.utility-bar__item svg {
  width: 14px;
  height: 14px;
  color: var(--gold-300);
}
.utility-bar__back {
  color: var(--text-2);
  transition: color 0.2s var(--ease);
}
.utility-bar__back:hover { color: var(--gold-300); }

/* =========================================================
   SITE HEADER
   ========================================================= */
.site-header {
  background: var(--bg-1);
  border-bottom: 1px solid var(--border-1);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text-0);
  text-decoration: none;
}
.brand__logo {
  height: 52px;
  width: auto;
  max-width: 100%;
  aspect-ratio: 938 / 786;
  flex-shrink: 0;
  align-self: center;
  object-fit: contain;
  display: block;
}
.brand__logo--lg {
  height: 96px;
  width: auto;
  max-width: 120px;
  aspect-ratio: 938 / 786;
  object-fit: contain;
  align-self: flex-start;
  margin-bottom: 4px;
}
.brand__sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold-300);
  text-transform: uppercase;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 206, 113, 0.35);
  line-height: 1;
}
@media (max-width: 720px) {
  .brand__logo { height: 42px; }
  .brand__sub { display: none; }
}

.site-nav {
  display: flex;
  gap: 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.12em;
}
.site-nav a {
  color: var(--text-0);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s var(--ease);
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold-300);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease);
}
.site-nav a:hover { color: var(--gold-300); }
.site-nav a:hover::after,
.site-nav__active::after { transform: scaleX(1) !important; }
.site-nav__active { color: var(--gold-300) !important; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,0.96) 0%, rgba(10,10,10,0.85) 35%, rgba(10,10,10,0.35) 65%, rgba(10,10,10,0.55) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.05) 30%, rgba(10,10,10,0.85) 100%);
}
.hero__content {
  position: relative;
  padding-top: 96px;
  padding-bottom: 96px;
  max-width: 720px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold-300);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--gold-300);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold-300);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--text-0);
  margin: 0 0 28px;
  text-transform: uppercase;
}
.hero__accent {
  color: var(--gold-300);
  font-style: italic;
  font-weight: 600;
}
.hero__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-1);
  max-width: 540px;
  margin: 0 0 36px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero__chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-1);
  background: rgba(10,10,10,0.6);
  text-transform: uppercase;
}
.chip svg { width: 14px; height: 14px; color: var(--gold-300); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--gold-300);
  color: #1a1305;
  border-color: var(--gold-300);
  box-shadow: 0 8px 30px rgba(255, 206, 113, 0.25);
}
.btn--primary:hover {
  background: #ffd98c;
  border-color: #ffd98c;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 206, 113, 0.4);
}
.btn--ghost {
  background: transparent;
  color: var(--text-0);
  border-color: var(--text-0);
}
.btn--ghost:hover {
  background: var(--text-0);
  color: var(--bg-0);
}

/* =========================================================
   TRUST / MARQUEE
   ========================================================= */
.trust-bar {
  background: var(--bg-0);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  overflow: hidden;
  padding: 22px 0;
}
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--gold-300);
  animation: marquee 30s linear infinite;
}
.marquee__dot { color: var(--gold-700); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold-300);
  margin-bottom: 16px;
  padding: 6px 0;
  border-top: 1px solid var(--gold-700);
  border-bottom: 1px solid var(--gold-700);
  padding-left: 0;
  padding-right: 0;
  text-transform: uppercase;
}
.section-head__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  color: var(--text-0);
  margin: 0 0 20px;
  text-transform: uppercase;
}
.section-head__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
  max-width: 560px;
}
.section-head--center .section-head__lede { margin-left: auto; margin-right: auto; }

/* =========================================================
   COLLECTION GRID
   ========================================================= */
.collection {
  padding: 120px 0;
  background: var(--bg-1);
}
.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  grid-column: span 2;
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.card--lg { grid-column: span 3; }
.card--wide { grid-column: span 2; }
.card--wide .card__media { aspect-ratio: 4 / 3; }
.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-700);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 206, 113, 0.1);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-0);
}
.card--lg .card__media { aspect-ratio: 16 / 10; }
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.04); }

.card__media--alt {
  background: radial-gradient(ellipse at 30% 20%, #2a2010 0%, var(--bg-0) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
}
.placeholder svg { width: 50%; height: auto; max-width: 180px; opacity: 0.85; }
.placeholder__label {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-700);
  text-transform: uppercase;
}

.placeholder--stickers svg { width: 90px; max-width: 90px; opacity: 1; }
.placeholder--stickers .sticker {
  position: absolute;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.placeholder--stickers .sticker--1 { top: 30%; left: 20%; transform: rotate(-12deg); color: var(--gold-300); }
.placeholder--stickers .sticker--2 { top: 25%; right: 22%; transform: rotate(8deg); color: var(--gold-400); }
.placeholder--stickers .sticker--3 { top: 45%; left: 42%; color: var(--gold-300); }

.card__body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card__num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold-300);
}
.card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--text-0);
  margin: 0;
  text-transform: uppercase;
}
.card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
  flex: 1;
}
.card__cta {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold-300);
  text-transform: uppercase;
  transition: gap 0.2s var(--ease), letter-spacing 0.2s var(--ease);
}
.card:hover .card__cta { letter-spacing: 0.22em; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how {
  padding: 120px 0;
  background: var(--bg-0);
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
}
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 32px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.step { text-align: center; }
.step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  color: var(--gold-300);
  line-height: 1;
  margin-bottom: 18px;
}
.step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.14em;
  color: var(--text-0);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.step__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}
.step__divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-700) 40%, var(--gold-700) 60%, transparent);
  align-self: stretch;
  min-height: 80px;
}
.how__note {
  text-align: center;
  margin-top: 56px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
  padding-top: 32px;
  border-top: 1px solid var(--border-1);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 120px 0; background: var(--bg-1); }
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-1);
}
.faq-item {
  border-bottom: 1px solid var(--border-1);
  padding: 28px 0;
  transition: background 0.2s var(--ease);
}
.faq-item summary {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--text-0);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-transform: uppercase;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 32px;
  font-weight: 300;
  color: var(--gold-300);
  line-height: 1;
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--gold-300); }
.faq-item p {
  margin: 16px 0 0;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.7;
  max-width: 800px;
}
.faq-item a { color: var(--gold-300); text-decoration: underline; }

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(243, 172, 47, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
  border-top: 1px solid var(--border-2);
}
.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.newsletter__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
  color: var(--text-0);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.newsletter__lede {
  font-size: 16px;
  color: var(--text-2);
  margin: 0;
  max-width: 380px;
}
.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.newsletter__form input {
  padding: 18px 22px;
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: var(--radius);
  color: var(--text-0);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.2s var(--ease);
}
.newsletter__form input::placeholder { color: var(--text-3); }
.newsletter__form input:focus {
  outline: none;
  border-color: var(--gold-300);
  background: var(--bg-3);
}
.newsletter__form .btn {
  justify-content: center;
  padding: 18px 26px;
}
.newsletter__success {
  margin: 8px 0 0;
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #050505;
  color: var(--text-2);
  padding-top: 80px;
  border-top: 1px solid var(--border-1);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}
.site-footer__col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold-300);
  margin: 0 0 20px;
  text-transform: uppercase;
}
.site-footer__col a, .site-footer__col p {
  display: block;
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  transition: color 0.2s var(--ease);
}
.site-footer__col a:hover { color: var(--gold-300); }
.site-footer__col--brand { display: flex; flex-direction: column; gap: 16px; }
.site-footer__tag { color: var(--text-3); font-size: 13px; max-width: 280px; }
.site-footer__bottom {
  border-top: 1px solid var(--border-1);
  padding: 24px 0;
}
.site-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-4);
  letter-spacing: 0.04em;
}
.site-footer__fineprint { color: var(--text-4); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .card { grid-column: span 2; }
  .card--lg { grid-column: span 4; }

  .steps { grid-template-columns: 1fr; }
  .step__divider { display: none; }

  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .site-nav { display: none; }
  .utility-bar__inner { font-size: 11px; }
  .utility-bar__back { display: none; }

  .hero { min-height: 600px; }
  .hero__content { padding-top: 64px; padding-bottom: 64px; }
  .hero__title { font-size: clamp(48px, 13vw, 80px); }

  .collection, .how, .faq, .newsletter { padding: 72px 0; }

  .grid { grid-template-columns: 1fr; }
  .card, .card--lg { grid-column: span 1; }

  .newsletter__inner { grid-template-columns: 1fr; gap: 32px; }
  .newsletter__form { flex-direction: column; }

  .site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding-top: 56px; }

  .section-head__title { font-size: clamp(36px, 9vw, 60px); }
}

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

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