/* Page shells for the Mateo's Premium partner site (chooser, apply pages, 404). */
:root {
  --ink: #0b0b0c;
  --paper: #ffffff;
  --grey: #6f6f6e;
  --line: #e9e9e7;
  --soft: #f6f6f5;
  --mid: #262626;
  --red: #b3121f;
  --cond: 'Roboto Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 6px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

.eyebrow { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; }

/* animated barber pole stripe, used as an accent */
.pole-stripe {
  background-image: linear-gradient(45deg,
    var(--red) 0 16.66%, #fff 16.66% 33.33%, var(--ink) 33.33% 50%,
    var(--red) 50% 66.66%, #fff 66.66% 83.33%, var(--ink) 83.33% 100%);
  background-size: 22px 22px;
  animation: pole-slide 1.6s linear infinite;
}
.pole-stripe.is-vertical { animation-name: pole-rise; }
@keyframes pole-slide { to { background-position: 22px 0; } }
@keyframes pole-rise { to { background-position: 0 -22px; } }

/* ---------- top bar ---------- */
@media (max-width: 479px) { .tb-extra { display: none; } }
.top-bar {
  display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 40px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 8px; background: #000; color: #fff;
  font-family: var(--cond); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; text-align: center;
}

/* ---------- chooser ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: 56px 20px 150px; background: #111 url('/assets/hero.jpg') center 40% / cover no-repeat;
}
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.78)); }
.hero > * { position: relative; }
.hero-logo { width: 180px; margin: 0 auto 30px; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.72); }
.hero h1 {
  margin: 12px auto 0; max-width: 14em; font-family: var(--cond); font-weight: 700; font-size: clamp(38px, 9vw, 76px);
  line-height: 0.98; text-transform: uppercase; letter-spacing: 0.005em; text-wrap: balance;
}
.hero-sub { margin: 18px auto 0; max-width: 30em; font-size: 18px; color: rgba(255, 255, 255, 0.86); }
.hero-tag { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }
.hero-tag::before, .hero-tag::after { content: ''; width: 28px; height: 1px; background: rgba(255, 255, 255, 0.5); }

.choices { position: relative; z-index: 2; display: grid; gap: 18px; max-width: 1120px; margin: -110px auto 0; padding: 0 16px; }
.choice {
  position: relative; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.choice:hover { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(0, 0, 0, 0.2); }
.choice-img { position: relative; aspect-ratio: 16 / 9; background: #222 center / cover no-repeat; }
.choice-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55)); }
.choice-img.is-wholesale { background-image: url('/assets/about.jpg'); background-position: center 28%; }
.choice-img.is-dropship { background-image: url('/assets/hero.jpg'); background-position: center 55%; }
.choice-num {
  position: absolute; left: 18px; bottom: 14px; z-index: 1; color: #fff;
  font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase;
}
.choice-pole { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 1; }
.choice-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.choice h2 { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 30px; line-height: 1.04; text-transform: uppercase; }
.choice p { margin: 10px 0 0; color: #3a3a39; font-size: 16px; }
.choice ul { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 8px; }
.choice li { display: flex; gap: 10px; font-size: 15px; }
.choice li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.choice-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; align-self: stretch; margin-top: auto; min-height: 52px; padding: 0 22px;
  border-radius: 8px; background: var(--ink); color: #fff;
  font-family: var(--cond); font-weight: 700; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase;
}
.choice-cta svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.choice:hover .choice-cta svg { transform: translateX(4px); }

.line { max-width: 1120px; margin: 0 auto; padding: 64px 16px 24px; }
.line-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.line-head h2 { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 28px; text-transform: uppercase; }
.line-head p { margin: 0; color: var(--grey); font-size: 15px; }
.line-scroll {
  margin: 0 -16px; padding: 4px 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; border-radius: 12px;
}
.line-scroll::-webkit-scrollbar { display: none; }
.line-scroll:focus-visible { outline-offset: -3px; }
.line-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-auto-flow: column; grid-auto-columns: 42%; }
.line-grid li { scroll-snap-align: start; }
.line-grid li { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.line-grid img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.line-grid span { display: block; padding: 10px 12px 12px; font-weight: 700; font-size: 15px; }

/* ---------- apply pages ---------- */
.apply-shell { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.apply-side { position: relative; overflow: hidden; color: #fff; background: #111 center / cover no-repeat; padding: calc(18px + env(safe-area-inset-top, 0px)) 18px 22px; }
.apply-side.is-wholesale { background-image: url('/assets/about.jpg'); background-position: center 30%; }
.apply-side.is-dropship { background-image: url('/assets/hero.jpg'); background-position: center 55%; }
.apply-side::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.82)); }
.apply-side > * { position: relative; }
.side-pole { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; }
.side-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.side-logo img { width: 104px; }
.side-switch { font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.4); padding-bottom: 2px; }
.side-switch:hover { color: #fff; border-color: #fff; }
.side-copy { margin-top: 22px; }
.side-copy .eyebrow { color: rgba(255, 255, 255, 0.7); font-size: 12px; }
.side-copy h1 { margin: 6px 0 0; font-family: var(--cond); font-weight: 700; font-size: 40px; line-height: 0.95; text-transform: uppercase; letter-spacing: 0.01em; }
.side-kicker { margin: 8px 0 0; font-size: 16px; color: rgba(255, 255, 255, 0.86); }
.side-tag { display: none; }

.apply-main { flex: 1; display: flex; flex-direction: column; padding: 26px 16px 0; }
.apply-form { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; }
.noscript { padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }

/* ---------- footer ---------- */
.site-foot { margin-top: 40px; padding: 26px 16px calc(26px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); text-align: center; color: var(--grey); font-size: 13px; line-height: 1.55; }
.site-foot img { width: 92px; margin: 0 auto 12px; opacity: 0.9; }
.site-foot p { margin: 6px auto 0; max-width: 40em; }
.site-foot .preview { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: #3a3a39; font-weight: 500; }
.site-foot .preview::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.site-foot a { color: var(--ink); }
.apply-main .site-foot { margin-left: -16px; margin-right: -16px; }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.lost h1 { margin: 18px 0 8px; font-family: var(--cond); font-weight: 700; font-size: 40px; text-transform: uppercase; }
.lost p { margin: 0 0 22px; color: var(--grey); }
.lost a.btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 8px; background: var(--ink); color: #fff; text-decoration: none; font-family: var(--cond); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- wider screens ---------- */
@media (min-width: 720px) {
  .hero { padding: 64px 24px 170px; }
  .hero-logo { width: 220px; }
  .choices { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: -130px; padding: 0 24px; }
  .choice-body { padding: 26px 28px 28px; }
  .choice-cta { align-self: flex-start; }
  .line { padding: 80px 24px 24px; }
  .line-scroll { margin: 0; padding: 0; overflow: visible; }
  .line-grid { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .apply-main { padding: 40px 32px 0; }
  .apply-main .site-foot { margin-left: -32px; margin-right: -32px; }
}

@media (min-width: 980px) {
  .apply-shell { flex-direction: row; }
  .apply-side {
    position: sticky; top: 0; flex: 0 0 40%; max-width: 560px; height: 100vh; height: 100dvh;
    display: flex; flex-direction: column; justify-content: space-between; padding: 40px 44px 40px;
  }
  .side-pole { left: auto; top: 0; right: 0; width: 6px; height: auto; }
  .side-logo img { width: 150px; }
  .side-copy { margin-top: 0; }
  .side-copy h1 { font-size: clamp(56px, 6vw, 92px); }
  .side-kicker { font-size: 20px; }
  .side-tag { display: block; margin: 0; font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
  .apply-main { min-height: 100vh; padding: 56px 56px 0; }
  .apply-form { display: flex; flex-direction: column; justify-content: center; }
  .apply-main .site-foot { margin-left: -56px; margin-right: -56px; }
}

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

.lost-logo { margin: 0 auto; }
