/* Mwah — wholesale & team gifting site
   Design tokens per design_handoff_getmwah_site/README.md */

@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Zilla+Slab:wght@600;700&family=Courier+Prime:wght@400;700&family=Hanken+Grotesk:wght@400;500;700&family=Yellowtail&display=swap');

:root {
  --red: #EE4A2B;
  --yellow: #E8C934;
  --ink: #1A1A1A;
  --black: #111111;
  --paper: #EFEAE0;
  --paper-light: #F5F3EE;
  --white: #FFFFFF;
  --muted: #4A4843;
  --muted-light: #BDBAB2;
  --muted-light2: #D6D3CC;
  --focus: #FBF1C6;
  --footer-rule: #3A3936;
  --max: 1320px;
  --side: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Hanken Grotesk', Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--red); }

input, select, button, textarea { font-family: inherit; }

h1, h2 {
  margin: 0;
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
}

.display {
  font-family: 'Alfa Slab One', serif;
  text-transform: uppercase;
  line-height: 1;
}

.script {
  font-family: 'Yellowtail', cursive;
}

.kicker, .mono {
  font-family: 'Courier Prime', monospace;
}

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

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

/* ===== Header ===== */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0,0,0,0.16);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px var(--side);
}

.logo {
  font-family: 'Yellowtail', cursive;
  font-size: 42px;
  line-height: 1;
  color: var(--white);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
  font-family: 'Courier Prime', monospace;
  font-size: 17px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  padding: 10px 12px;
  display: inline-block;
}

.nav-links a:hover { text-decoration: underline; }

.nav-links a.btn-faire {
  margin-left: 8px;
  background: var(--white);
  color: var(--red);
  text-decoration: none;
  font-weight: 700;
  padding: 10px 16px;
  transition: background .15s, color .15s;
}

.nav-links a.btn-faire:hover { background: var(--black); color: var(--white); }

/* ===== Buttons ===== */

.btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  padding: 18px 26px;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}

.btn-black {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
}
.btn-black:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 16px 24px;
}
.btn-outline-white:hover { background: var(--white); color: var(--red); }

.btn-white-red {
  background: var(--white);
  color: var(--red);
  border: 0;
}
.btn-white-red:hover { background: var(--black); color: var(--white); }

.btn-red {
  background: var(--red);
  color: var(--white);
  border: 0;
}
.btn-red:hover { background: var(--black); }

.btn-outline-ink {
  background: none;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 14px 20px;
  font-size: 17px;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  border: 0;
}
.btn-yellow:hover { background: var(--white); }

/* ===== Hero (red) ===== */

.hero-red {
  background: var(--red);
  color: var(--white);
}

.hero-home {
  padding: 64px var(--side) 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 56px;
  align-items: center;
}

.hero-copy { display: flex; flex-direction: column; gap: 28px; }

.hero-home h1 {
  font-size: clamp(68px, 10vw, 132px);
  line-height: 0.86;
  letter-spacing: -0.02em;
}

.hero-lede {
  margin: 0;
  font-family: 'Courier Prime', monospace;
  font-size: 19px;
  line-height: 1.45;
  max-width: 44ch;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.flipper {
  width: min(440px, 86%);
  aspect-ratio: 440 / 520;
  position: relative;
  perspective: 1400px;
}

.flip-card {
  position: absolute;
  inset: 0;
  box-shadow: 0 18px 36px rgba(0,0,0,0.28);
  padding: 12% 9% 7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform-origin: 50% 0%;
  transition: transform 700ms cubic-bezier(.6,.05,.3,1), opacity 600ms ease;
}

.flip-card .flip-text {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1;
  text-transform: uppercase;
  flex: 1;
  display: flex;
  align-items: center;
}

.flip-card.long .flip-text { font-size: clamp(26px, 3vw, 40px); }

.flip-card .flip-sig {
  font-family: 'Yellowtail', cursive;
  font-size: 30px;
}

@media (prefers-reduced-motion: reduce) {
  .flip-card { transition: none !important; }
}

/* Inner-page hero (wholesale / teams / sample) */

.hero-inner {
  padding: 72px var(--side) 88px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-inner h1 {
  line-height: 0.88;
  letter-spacing: -0.02em;
}

.hero-inner .hero-lede { max-width: 54ch; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; font-family: 'Courier Prime', monospace; font-size: 16px; }
.chip { background: var(--black); padding: 8px 12px; }

/* ===== Two-path cards (home) ===== */

.paths {
  max-width: var(--max);
  margin: 0 auto;
  padding: 104px var(--side) 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 48px;
}

.path-card {
  border: 0;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  padding: 56px 44px 36px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  transition: transform 250ms;
}

.path-card:hover { transform: rotate(0deg) translateY(-4px) !important; }
.path-card.tilt-a { transform: rotate(-1deg); }
.path-card.tilt-b { transform: rotate(1.2deg); }

.path-card .label { font-family: 'Courier Prime', monospace; font-size: 16px; }
.path-card h2.card-headline {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1;
  text-transform: uppercase;
}
.path-card p { font-size: 17px; line-height: 1.5; max-width: 38ch; margin: 0; }
.path-card .go { font-weight: 700; font-size: 17px; border-bottom: 3px solid var(--red); padding-bottom: 3px; }
.path-card .sig { font-family: 'Yellowtail', cursive; font-size: 24px; margin-top: 6px; }

/* ===== Products teaser (home) ===== */

.teaser {
  background: var(--paper-light);
  border-top: 2px solid var(--ink);
}

.teaser-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px var(--side) 96px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.teaser-intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 40px 64px;
  align-items: start;
  width: 100%;
}

.teaser-intro h2 { font-size: clamp(40px, 4.4vw, 56px); line-height: 0.95; }
.teaser-intro p { margin: 0; font-size: 19px; line-height: 1.55; max-width: 52ch; }

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
  width: 100%;
}

.teaser-item { display: flex; flex-direction: column; gap: 10px; }
.teaser-item .photo { aspect-ratio: 1; overflow: hidden; background: #EAE7E0; }
.teaser-item .photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.teaser-item .cap { font-family: 'Courier Prime', monospace; font-size: 15px; }

/* ===== Writer section ===== */

.writer {
  background: var(--paper);
  border-top: 2px solid var(--ink);
}

.writer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px var(--side);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 64px;
  align-items: center;
}

.writer-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}
.writer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 30%; }

.writer-copy { display: flex; flex-direction: column; gap: 22px; }
.writer-copy h2 { font-size: clamp(42px, 5vw, 60px); line-height: 0.95; }
.writer-copy p { margin: 0; font-size: 19px; line-height: 1.55; max-width: 46ch; }
.writer-copy .sig { font-family: 'Yellowtail', cursive; font-size: 40px; }

/* ===== Products grid (wholesale) ===== */

.section { max-width: var(--max); margin: 0 auto; padding: 88px var(--side) 40px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.section-head h2 {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(34px, 4vw, 48px);
  text-transform: uppercase;
}

.section-head .note { font-family: 'Courier Prime', monospace; font-size: 16px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 28px;
}

.product-card { display: flex; flex-direction: column; gap: 12px; }
.product-card .photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,0.14);
  background: var(--white);
}
.product-card .photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.product-card .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.product-card .name { font-family: 'Zilla Slab', serif; font-weight: 700; font-size: 24px; line-height: 1.05; }
.product-card .type { font-family: 'Courier Prime', monospace; font-size: 14px; white-space: nowrap; }
.product-card .note { font-size: 16px; line-height: 1.5; color: var(--muted); }

/* ===== Tilted CTA card (wholesale) ===== */

.cta-card-wrap { max-width: var(--max); margin: 0 auto; padding: 64px var(--side) 0; }
.cta-card {
  background: var(--white);
  padding: 56px clamp(24px, 4vw, 56px) 40px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  transform: rotate(-0.6deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.cta-card .display { font-size: clamp(32px, 4vw, 50px); max-width: 20ch; }
.cta-card p { margin: 0; font-size: 18px; line-height: 1.5; max-width: 46ch; }
.cta-card .sig { font-family: 'Yellowtail', cursive; font-size: 26px; }

/* ===== Steps (teams) ===== */

.steps {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px var(--side) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 40px;
}
.step { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--ink); padding-top: 20px; }
.step .n { font-family: 'Courier Prime', monospace; font-size: 16px; }
.step .title { font-family: 'Zilla Slab', serif; font-weight: 700; font-size: 32px; line-height: 1; }
.step .body { font-size: 17px; line-height: 1.5; max-width: 34ch; }

/* ===== Bulk tiers (teams) ===== */

.tiers-wrap { max-width: var(--max); margin: 0 auto; padding: 96px var(--side) 0; display: flex; flex-direction: column; gap: 36px; }
.tiers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; width: 100%; }
.tier-card {
  background: var(--white);
  padding: 44px 32px 28px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.tier-card .units { font-family: 'Alfa Slab One', serif; font-size: 88px; line-height: 0.9; }
.tier-card .use { font-family: 'Courier Prime', monospace; font-size: 16px; color: var(--red); font-weight: 700; }
.tier-card .body { font-size: 16px; line-height: 1.5; max-width: 30ch; }
.tier-card .price { margin-top: 8px; font-weight: 700; font-size: 17px; }
.tier-card .sig { font-family: 'Yellowtail', cursive; font-size: 22px; }
.tiers-note { margin: 0; font-size: 18px; line-height: 1.5; max-width: 62ch; }

/* ===== Build note badge ===== */

.build-note {
  font-family: 'Courier Prime', monospace;
  font-size: 13px;
  background: var(--black);
  color: var(--yellow);
  padding: 5px 10px;
  display: inline-block;
}

/* ===== Black CTA band (teams) ===== */

.cta-band-wrap { max-width: var(--max); margin: 0 auto; padding: 72px var(--side) 0; }
.cta-band {
  background: var(--black);
  color: var(--paper-light);
  padding: 56px clamp(24px, 4vw, 56px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band-copy { display: flex; flex-direction: column; gap: 12px; max-width: 52ch; }
.cta-band-copy .headline { font-family: 'Zilla Slab', serif; font-weight: 700; font-size: clamp(32px, 3.6vw, 46px); line-height: 1; }
.cta-band-copy p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--muted-light2); }

/* ===== Sample form ===== */

.sample-hero { padding-bottom: 200px; }
.sample-hero h1 { font-size: clamp(50px, 7vw, 96px); line-height: 0.88; letter-spacing: -0.02em; max-width: 14ch; }
.sample-hero .hero-lede { font-size: 18px; max-width: 56ch; }

.form-wrap { max-width: 880px; margin: -150px auto 0; padding: 0 var(--side); position: relative; }
.form-card {
  background: var(--white);
  padding: 48px clamp(24px, 4vw, 48px) 36px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.16);
  transform: rotate(-0.5deg);
}

.buying-for {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  font-family: 'Courier Prime', monospace;
  font-size: 15px;
  margin-bottom: 18px;
}

.path-toggle-btn {
  border: 2px solid var(--ink);
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: var(--white);
  color: var(--ink);
}
.path-toggle-btn.active { background: var(--ink); color: var(--white); }

.sample-form { display: flex; flex-direction: column; gap: 18px; }

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
  width: 100%;
}
.field-row.triple { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.field input, .field select {
  border: 2px solid var(--ink);
  padding: 13px;
  font-size: 16px;
  background: var(--paper-light);
  outline: none;
}
.field input:focus, .field select:focus { background: var(--focus); }

.optional-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 2px dashed var(--ink);
  padding-top: 18px;
}
.optional-block .label-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}

.submit-row { margin-top: 8px; width: 100%; font-size: 19px; padding: 20px 24px; }
.microcopy { font-size: 14px; line-height: 1.5; color: var(--muted); }

.success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: 24px 0; }
.success .display { font-size: clamp(44px, 6vw, 72px); line-height: 0.95; max-width: 14ch; }
.success p { margin: 0; font-size: 18px; line-height: 1.5; max-width: 40ch; }
.success .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.success .sig { font-family: 'Yellowtail', cursive; font-size: 30px; }

/* ===== Footer ===== */

footer {
  margin-top: 96px;
  background: var(--black);
  color: var(--paper-light);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--side) 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 36px;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col .logo { font-size: 44px; }
.footer-col .sub { font-family: 'Courier Prime', monospace; font-size: 15px; color: var(--muted-light); }
.footer-col .head { font-family: 'Courier Prime', monospace; font-size: 14px; color: var(--yellow); }
.footer-col a, .footer-col button {
  color: var(--paper-light);
  font-size: 16px;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.footer-col a:hover, .footer-col button:hover { color: var(--yellow); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--side) 30px;
  border-top: 1px solid var(--footer-rule);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #8F8C85;
}
