/* wholesale — page-specific styles. Shared fonts/colors/reset live in base.css.
   Uses the same design system (typography, eyebrow, cta, header, footer,
   textures) as find-a-bottle, plus premium trade-form styling. */

html, body {
  background: #000;
  color: var(--cream);
  font-family: 'Choplin', sans-serif;
  font-weight: 200;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3 {
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); }
h1 {
  font-family: 'Whiskey Jill', 'Neue Haas Grotesk Display Pro', serif;
  font-weight: 400;
  font-size: clamp(52px, 6.5vw, 88px);
  letter-spacing: 0.005em;
  line-height: 1.02;
}
h1 em {
  font-family: 'Whiskey Jill', 'Neue Haas Grotesk Display Pro', serif;
  font-style: normal;
  font-weight: 400;
}
h2 { font-size: clamp(34px, 4vw, 52px); }
h3 { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.01em; }
p { font-family: 'Choplin', sans-serif; font-weight: 200; }

.eyebrow {
  font-family: 'Helvetica Neue LT Std', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
.eyebrow.center::after { content: ''; width: 36px; height: 1px; background: var(--gold); }

.lede {
  font-family: 'Helvetica Neue LT Std', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--cream-dim);
  margin-bottom: 26px;
  line-height: 1.5;
}
.body-copy {
  font-family: 'Choplin', sans-serif;
  font-weight: 200;
  font-size: 15px;
  line-height: 1.75;
  color: var(--cream-dim);
  max-width: 560px;
}
.body-copy strong { font-weight: 500; color: var(--cream); }

.cta {
  display: inline-block;
  font-family: 'Helvetica Neue LT Std', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 17px 34px;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--bg-1);
  box-shadow: 0 8px 24px var(--shadow);
}
.cta:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--bg-1); }
.cta.ghost { background: transparent; color: var(--gold-soft); border-color: var(--gold-soft); box-shadow: none; }
.cta.ghost:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--bg-1); }

/* ============ TEXTURE LAYERS ============ */
.texture-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  opacity: 0.20; mix-blend-mode: screen;
  background-image: url('../images/texture-grain.png');
  background-size: 256px 256px; background-repeat: repeat;
}
.texture-overlay, .texture-warm {
  position: fixed; inset: 0; background-size: cover; background-position: center;
  background-repeat: no-repeat; pointer-events: none;
}
.texture-overlay { background-image: url('../images/texture-grunge.jpg'); opacity: 0.06; mix-blend-mode: overlay; z-index: 2; }
.texture-warm { background-image: url('../images/texture-copper.jpg'); opacity: 0.04; mix-blend-mode: soft-light; z-index: 2; }
.dust {
  position: fixed; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(216, 184, 138, 0.4), transparent),
    radial-gradient(1px 1px at 80% 70%, rgba(216, 184, 138, 0.3), transparent),
    radial-gradient(1px 1px at 60% 20%, rgba(216, 184, 138, 0.35), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(216, 184, 138, 0.25), transparent),
    radial-gradient(1px 1px at 90% 40%, rgba(216, 184, 138, 0.35), transparent);
  opacity: 0.4; animation: drift 24s linear infinite; z-index: 1;
}
@keyframes drift { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(-10px,-8px,0); } }

/* ============ HEADER ============ */
header {
  position: sticky; top: 0; z-index: 50; padding: 20px 56px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.7) 100%);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.brand { height: 30px; width: auto; display: block; mix-blend-mode: lighten; }
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a {
  font-family: 'Helvetica Neue LT Std', sans-serif; font-weight: 400; font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--cream-dim);
  text-decoration: none; transition: color 200ms;
}
.header-nav a:hover { color: var(--gold); }
.header-nav a.btn { border: 1px solid var(--gold); color: var(--gold); padding: 10px 20px; }
.header-nav a.btn:hover { background: var(--gold); color: #0d0a07; }

/* ============ SECTIONS ============ */
section { position: relative; z-index: 5; padding: 90px 56px; }
.container { max-width: 1100px; margin: 0 auto; }
.container.narrow { max-width: 820px; }

/* ============ HERO ============ */
.hero {
  padding: 90px 56px 50px 56px; text-align: center;
  background: linear-gradient(180deg, #050403 0%, #0d0a07 100%);
}
.hero h1 { margin-bottom: 18px; max-width: 880px; margin-left: auto; margin-right: auto; }
.hero .subheading {
  font-family: 'Helvetica Neue LT Std', sans-serif; font-style: italic; font-weight: 300;
  font-size: clamp(17px, 1.6vw, 22px); color: var(--cream); margin: 0 auto 26px auto; max-width: 720px;
}
.hero .body-copy { margin: 0 auto 18px auto; text-align: center; }
.hero .support {
  font-family: 'Choplin', sans-serif; font-weight: 200; font-size: 14px; line-height: 1.7;
  color: var(--cream-faint); max-width: 640px; margin: 0 auto;
}

/* ============ TRADE FORM ============ */
.trade { background: var(--bg-3); border-top: 1px solid var(--rule); }
.trade h2 { text-align: center; margin-bottom: 40px; }
.trade-form { max-width: 860px; margin: 0 auto; }

.trade-form fieldset {
  border: 1px solid var(--rule);
  background: rgba(20, 16, 11, 0.4);
  padding: 30px 30px 34px 30px;
  margin-bottom: 26px;
}
.trade-form legend {
  font-family: 'Helvetica Neue LT Std', sans-serif; font-weight: 500; font-size: 11px;
  letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold);
  padding: 0 12px; margin-left: -4px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 26px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }

.field label,
.field > .field-label {
  font-family: 'Helvetica Neue LT Std', sans-serif; font-weight: 500; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 9px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(216, 184, 138, 0.3);
  color: var(--cream);
  padding: 13px 15px;
  font-family: 'Choplin', sans-serif; font-weight: 200; font-size: 14px; letter-spacing: 0.03em;
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--cream-faint); font-style: italic; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-soft) 50%), linear-gradient(135deg, var(--gold-soft) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field select option { background: #15110d; color: var(--cream); }

/* checkbox grid */
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 4px; }
.checkbox-item { display: flex; align-items: flex-start; gap: 11px; }
.checkbox-item input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0;
  accent-color: var(--gold);
}
.checkbox-item label {
  font-family: 'Choplin', sans-serif; font-weight: 200; font-size: 14px; letter-spacing: 0;
  text-transform: none; color: var(--cream-dim); margin: 0; line-height: 1.4; cursor: pointer;
}

.required-note {
  font-family: 'Helvetica Neue LT Std', sans-serif; font-style: italic; font-weight: 300;
  font-size: 12px; color: var(--cream-faint); margin-bottom: 24px; text-align: center;
}

.compliance {
  font-family: 'Helvetica Neue LT Std', sans-serif; font-style: italic; font-weight: 300;
  font-size: 12.5px; line-height: 1.6; color: var(--cream-faint);
  border-left: 2px solid var(--rule); padding: 4px 0 4px 16px; margin: 6px 0 30px 0;
}
.form-submit { text-align: center; }
.form-submit .cta { min-width: 260px; }
.secondary-contact {
  text-align: center; margin-top: 24px;
  font-family: 'Helvetica Neue LT Std', sans-serif; font-weight: 300; font-size: 13px; color: var(--cream-dim);
}
.secondary-contact a { color: var(--gold-soft); text-decoration: none; }
.secondary-contact a:hover { color: var(--gold); }

/* Netlify honeypot — hidden from humans */
.trade-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ============ THANK YOU ============ */
.thankyou { text-align: center; min-height: calc(100vh - 320px); display: flex; align-items: center; }
.thankyou .container { max-width: 720px; }
.thankyou h1 { margin-bottom: 26px; }
.thankyou .body-copy { margin: 0 auto 22px auto; text-align: center; }
.thankyou .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }

/* ============ FOOTER ============ */
footer { background: #000; border-top: 1px solid var(--rule); padding: 60px 56px 28px 56px; position: relative; z-index: 6; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 40px; }
.footer-brand .brand-foot { height: 28px; margin-bottom: 16px; mix-blend-mode: lighten; }
.footer-brand p { font-family: 'Helvetica Neue LT Std', sans-serif; font-style: italic; font-weight: 300; font-size: 13px; color: var(--cream-dim); }
.footer-grid h4 { font-family: 'Helvetica Neue LT Std', sans-serif; font-weight: 500; font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { padding: 5px 0; }
.footer-grid a { font-family: 'Choplin', sans-serif; font-weight: 200; font-size: 14px; color: var(--cream-dim); text-decoration: none; transition: color 200ms; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-bottom p, .footer-bottom a { font-family: 'Helvetica Neue LT Std', sans-serif; font-weight: 400; font-size: 11px; letter-spacing: 0.05em; color: var(--cream-faint); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  section, .hero { padding: 60px 22px; }
  .hero { padding-top: 70px; }
  header { padding: 14px 20px; }
  .header-nav { gap: 14px; }
  .header-nav a:not(.btn) { display: none; }
  .trade-form fieldset { padding: 24px 18px 26px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .form-submit .cta { width: 100%; min-width: 0; }
  footer { padding: 46px 22px 22px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
}
