/* ===================================================================
   Stoked Distributors
   Palette: cream #F2EDE1, forest #2B3A2E, forest-dark #1D281F,
            burnt orange #C4622D, charcoal #292520, gold #B8925A
   Type: Bevan (display) + Inter (body/UI)
=================================================================== */

:root {
  --cream: #F2EDE1;
  --cream-deep: #E8E1D0;
  --forest: #2B3A2E;
  --forest-dark: #1D281F;
  --orange: #C4622D;
  --orange-dark: #A34E22;
  --charcoal: #292520;
  --gold: #B8925A;
  --line: rgba(41, 37, 32, 0.16);
  --line-light: rgba(242, 237, 225, 0.28);

  --font-display: 'Bevan', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--forest-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 400;
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); letter-spacing: 0; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: 0; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }

p { margin: 0 0 1em; max-width: 62ch; }

a { color: inherit; }

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

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

/* ---------- top manifest bar ---------- */
.manifest-bar {
  background: var(--forest-dark);
  color: var(--cream);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  overflow: hidden;
}
.manifest-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 9px 28px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.manifest-bar .dot { color: var(--gold); }

/* ---------- header ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--forest-dark);
}
.brand__mark {
  width: 128px;
  height: auto;
  border-radius: 0;
  object-fit: contain;
  flex-shrink: 0;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.18rem;
  line-height: 1.2;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 500;
}
.site-nav a {
  text-decoration: none;
  color: var(--charcoal);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { border-color: var(--orange); color: var(--forest-dark); }
.site-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--forest-dark);
  color: var(--cream) !important;
  font-family: var(--font-display);
  font-kerning: normal;
  font-weight: 400;
  padding: 9px 18px;
  border-radius: 3px;
  border-bottom: none !important;
}
.site-nav__cta:hover { background: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--forest-dark);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  font-family: var(--font-display);
  font-kerning: normal;
  font-weight: 400;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary {
  background: var(--orange);
  color: var(--cream);
}
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost {
  background: transparent;
  color: var(--forest-dark);
  border-color: var(--forest-dark);
}
.btn--ghost:hover { background: var(--forest-dark); color: var(--cream); }
.btn--outline-light {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-light);
}
.btn--outline-light:hover { background: var(--cream); color: var(--forest-dark); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 60px; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__kicker {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--orange);
  font-size: 1.05rem;
  margin-bottom: 0.6em;
}
.hero__sub { font-size: 1.08rem; color: var(--charcoal); }
.hero__sub--note {
  color: var(--forest-dark);
  font-weight: 700;
  margin-top: 0.25em;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 1.6em;
}
.hero__media img {
  border-radius: 4px;
  box-shadow: 0 24px 48px -24px rgba(29, 40, 31, 0.35);
}

/* ---------- stats strip ---------- */
.stats {
  background: var(--forest-dark);
  color: var(--cream);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 30px 24px;
  border-left: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat:first-child { border-left: none; }
.stat__num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--cream);
  white-space: nowrap;
}
.stat__label {
  font-size: 0.86rem;
  color: rgba(242, 237, 225, 0.72);
}

/* ---------- section kickers ---------- */
.section-kicker {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--orange);
  font-size: 1.02rem;
  margin-bottom: 0.5em;
}
.section-kicker--light { color: var(--gold); }

/* ---------- about ---------- */
.about { padding: 88px 0 32px; }
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about__media img { border-radius: 4px; }
.checklist {
  list-style: none;
  padding: 0;
  margin: 1.4em 0 0;
  border-top: 1px solid var(--line);
}
.checklist li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  padding-left: 22px;
  font-weight: 500;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 8px;
  background: var(--orange);
}

/* ---------- capital call band ---------- */
.capital-call {
  background: var(--forest);
  color: var(--cream);
  padding: 88px 0;
  background-image: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
}
.capital-call__inner { max-width: 720px; }
.capital-call__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.capital-call h2 { color: var(--cream); }
.capital-call__sub { color: rgba(242, 237, 225, 0.82); font-size: 1.08rem; }

/* ---------- how to order ---------- */
.order { padding: 42px 28px 0; }
.order h2 { max-width: 20ch; }
.order__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 2.2em;
  border: 1px solid var(--line);
}
.order-card {
  background: var(--cream);
  padding: 32px 28px;
}
.order-card__step {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 0.92rem;
  margin-bottom: 0.9em;
}
.order-card p { font-size: 0.98rem; }

/* ---------- warehouse ---------- */
.warehouse { padding: 0 0 88px; }
.warehouse--inline {
  margin-top: 52px;
}
.warehouse__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.warehouse__media img { border-radius: 4px; }
.warehouse__text p { font-size: 1.05rem; }

/* ---------- team ---------- */
.team { padding: 88px 0; background: var(--cream-deep); }
.team h2 { max-width: 22ch; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 2.4em;
}
.team-card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
}
.team-card__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.team-card__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg, var(--cream-deep), var(--cream-deep) 12px, var(--cream) 12px, var(--cream) 24px);
  color: var(--charcoal);
  font-size: 0.85rem;
  font-weight: 500;
}
.team-card h3, .team-card p, .team-card .team-card__title {
  padding-left: 28px;
  padding-right: 28px;
}
.team-card h3 { margin-top: 26px; margin-bottom: 0.15em; }
.team-card a {
  color: var(--forest);
  text-decoration: none;
}
.team-card a:hover,
.team-card a:focus {
  color: var(--forest);
  text-decoration: none;
}
.team-card__title {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 1em;
}
.team-card p:last-child { padding-bottom: 28px; }

/* ---------- resources ---------- */
.resources { padding: 88px 0; }
.resources__sub {
  font-size: 1.02rem;
  max-width: none;
}
.resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2em;
}
.doc-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.doc-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.doc-card__icon {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--forest-dark);
  background: var(--cream-deep);
  width: fit-content;
  padding: 4px 10px;
  border-radius: 2px;
}
.doc-card__label { font-weight: 600; font-size: 1.02rem; }
.doc-card__hint {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
}

/* ---------- contact ---------- */
.contact {
  background: var(--forest-dark);
  color: var(--cream);
  padding: 88px 0;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact h2 { color: var(--cream); max-width: 16ch; }
.contact__text p { color: rgba(242, 237, 225, 0.82); font-size: 1.05rem; }
.contact-details {
  margin: 0;
  display: grid;
  gap: 22px;
}
.contact-details > div {
  border-top: 1px solid var(--line-light);
  padding-top: 16px;
}
.contact-details dt {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-details dd {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 500;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--forest-dark);
  color: rgba(242, 237, 225, 0.7);
  border-top: 1px solid var(--line-light);
  padding: 28px 0;
  font-size: 0.85rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand--footer {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 400;
}
.brand__mark--small { width: 52px; height: auto; }
.site-footer__meta { white-space: nowrap; }
.site-footer__meta a { color: var(--gold); text-decoration: underline; }
.site-footer__copy { flex: 0 0 100%; width: 100%; text-align: center; margin: 10px 0 0; opacity: 0.6; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px 26px;
    gap: 18px;
  }
  .site-nav--open { display: flex; }
  .site-header__inner { position: relative; }
  .nav-toggle { display: flex; }
  .hero__inner, .about__grid, .warehouse__inner, .contact__grid {
    grid-template-columns: 1fr;
  }
  .hero__media { order: -1; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .order__grid, .team__grid, .resources__grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-left: none !important; border-top: 1px solid var(--line-light); }
  .stat:first-child { border-top: none; }
}

/* focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
