/*
 * VanKaapstad — homepage (Nov 2026 design, Site.dc.html).
 *
 * Loaded on top of site.css, whose palette tokens were retuned to this identity, so the
 * rest of the site stays visually consistent. Scoped under .hm__ to keep the homepage's
 * heavier sections from leaking into the simpler inner pages.
 *
 * The design is drawn at a fixed 1312px container; here it is fluid, so fixed pixel type
 * becomes clamp() and the 2-up grids collapse at 860px.
 */

.hm__cap {
  font-size: 13px; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase; margin: 0;
}
.hm__script { font-family: "Kaushan Script", cursive; font-weight: 400; }
.hm__script--h { font-size: 0.8em; }
.hm__script--sm { font-size: 0.85em; }

.hm__h2 {
  font-weight: 900; font-stretch: 78%; line-height: 0.92; letter-spacing: 0.2px;
  font-size: clamp(38px, 5.6vw, 76px); margin: 10px 0 0;
}
.hm__lead { font-size: clamp(17px, 1.7vw, 20px); font-weight: 500; line-height: 1.5; margin: 22px 0 0; }
.hm__note { font-size: 14px; font-weight: 500; line-height: 1.5; margin: 14px 0 0; }

.hm__sec { padding: clamp(64px, 9vw, 112px) 0; }
.hm__sec--bt { border-top: 2px solid var(--ink); }

.hm__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  font-size: 17px; font-weight: 800; font-family: inherit;
  text-decoration: none; white-space: nowrap;
  border: 2px solid var(--ink); cursor: pointer;
}
/* Prefixed with .vk: site.css sets `.vk a { color: inherit }`, which outranks a bare
   class and would otherwise paint ink text on an ink button. */
.vk .hm__btn--ink { background: var(--ink); color: var(--cream); }
.vk .hm__btn--ink:hover { color: var(--blush); }
.vk .hm__btn--line { background: transparent; color: var(--ink); }
.vk .hm__btn--line:hover { background: var(--blush); }
.hm__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* --- hero ------------------------------------------------------------------- */

.hm__hero { background: var(--jade); border-top: 2px solid var(--ink); overflow: hidden; }
.hm__hero-in {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px; align-items: center;
  padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(44px, 6vw, 84px);
}
.hm__kicker {
  font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; font-stretch: 80%;
  line-height: 0.9; margin: 0;
}
.hm__kicker .hm__script { font-size: clamp(44px, 4.8vw, 64px); }
.hm__kicker .hm__script--sm { margin: 0 0.18em 0 0.06em; }
.hm__big {
  font-weight: 900; font-stretch: 78%; line-height: 0.92;
  font-size: clamp(90px, 15vw, 218px);
  color: var(--hot); margin: 14px 0 22px;
  /* paint-order keeps the outline behind the fill so the counters stay open. */
  paint-order: stroke fill; -webkit-text-stroke: 6px var(--ink);
}
.hm__hero .hm__lead { max-width: 560px; margin: 0; }

.hm__pouches { position: relative; height: clamp(330px, 44vw, 620px); }
.hm__pouch {
  position: absolute; width: clamp(170px, 22vw, 300px); height: auto;
  filter: drop-shadow(0 26px 40px rgba(61, 7, 0, 0.28));
}
.hm__pouch--1 { left: 0; top: 18%; transform: rotate(-5deg); }
.hm__pouch--2 { right: 0; top: 2%; transform: rotate(6deg); }

/* --- claim band -------------------------------------------------------------- */

.hm__claim {
  background: var(--coral);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.hm__claim-in {
  padding: clamp(36px, 4.5vw, 56px) var(--gap) clamp(38px, 5vw, 60px);
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap;
}
.hm__claim-big { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.05; margin: 0; }

/* --- product cards ------------------------------------------------------------ */

.hm__cards {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
}
.hm__card {
  border: 2px solid var(--ink); padding: 24px 26px 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.hm__card-top { display: flex; justify-content: space-between; }
.vk .hm__card a { text-decoration: none; color: inherit; display: block; }
.hm__card-img {
  display: block; width: 46%; margin: 8px auto 10px;
  filter: drop-shadow(0 18px 26px rgba(61, 7, 0, 0.25));
}
.hm__card-name {
  font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; font-stretch: 78%;
  line-height: 0.92; margin: 0; text-align: center;
}
.hm__card p { font-size: 16px; font-weight: 500; line-height: 1.5; margin: 0; }

/* --- comparison table ----------------------------------------------------------- */

.hm__vs { margin-top: 44px; border: 2px solid var(--ink); }
.hm__vs-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 210px minmax(0, 1fr);
  border-top: 2px solid var(--ink);
}
.hm__vs-row:first-child { border-top: none; }
.hm__vs-l, .hm__vs-r { padding: 22px 30px; font-size: clamp(16px, 1.7vw, 20px); font-weight: 700; line-height: 1.35; }
.hm__vs-l { background: var(--cream); text-align: right; }
.hm__vs-r { background: var(--jade); }
.hm__vs-k {
  background: var(--ink); color: var(--cream);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 12px; font-size: 14px; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase;
}
.hm__vs-head .hm__vs-l, .hm__vs-head .hm__vs-r {
  font-size: clamp(28px, 3.4vw, 46px); font-weight: 900; font-stretch: 78%;
  line-height: 0.95; padding-top: 28px; padding-bottom: 26px;
}
.hm__vs-head .hm__vs-k {
  font-family: "Kaushan Script", cursive; font-size: 34px;
  letter-spacing: 0; text-transform: none; font-weight: 400;
}
/* The two "same" rows are the point of the table: the ritual is identical. */
.hm__vs-same .hm__vs-l, .hm__vs-same .hm__vs-r { background: var(--blush); }
.hm__vs-same .hm__vs-k { background: var(--coral); color: var(--ink); }

/* --- how to make it -------------------------------------------------------------- */

.hm__howto {
  background: var(--jade);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.hm__two {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.hm__steps { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.hm__step { display: flex; gap: 22px; align-items: center; font-size: clamp(19px, 2vw, 24px); font-weight: 800; line-height: 1.25; }
.hm__num {
  flex: none; width: 52px; text-align: center;
  font-size: clamp(54px, 6vw, 72px); font-weight: 900; font-stretch: 78%;
  color: var(--hot); -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill;
}
.hm__num--flat { width: auto; text-align: left; font-size: clamp(44px, 5vw, 60px); display: block; }

.hm__fig { margin: 0; }
.hm__photo {
  width: 100%; border: 2px solid var(--ink); display: block;
  object-fit: cover; height: clamp(360px, 46vw, 600px);
}

/* --- serving ideas ---------------------------------------------------------------- */

.hm__ideas { background: var(--coral); border-bottom: 2px solid var(--ink); }
.hm__ideas-grid {
  list-style: none; margin: 44px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
.hm__idea { background: var(--cream); border: 2px solid var(--ink); padding: 22px 22px 26px; }
.hm__idea h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 900; font-stretch: 78%; line-height: 0.95; margin: 0 0 10px; }
.hm__idea p { font-size: 16px; font-weight: 500; line-height: 1.5; margin: 0; }

/* --- story numbers ------------------------------------------------------------------ */

.hm__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin: 34px 0; }
.hm__nums div { border-top: 2px solid var(--ink); padding-top: 14px; }
.hm__nums dt { font-size: clamp(42px, 4.4vw, 56px); font-weight: 900; font-stretch: 78%; line-height: 1; }
.hm__nums dd { margin: 0; font-size: 15px; font-weight: 700; }

/* --- how it works ---------------------------------------------------------------------- */

.hm__biz { background: var(--jade); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.hm__bsteps {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
}
.hm__bsteps h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 900; font-stretch: 78%; line-height: 0.95; margin: 6px 0 8px; }
.hm__bsteps p { font-size: 16px; font-weight: 500; line-height: 1.5; margin: 0; }

/* --- faq ---------------------------------------------------------------------------------- */

.hm__faq { display: flex; flex-direction: column; margin-top: 40px; border-top: 2px solid var(--ink); }
.hm__faq details { border-bottom: 2px solid var(--ink); }
.hm__faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; font-size: clamp(18px, 1.9vw, 22px); font-weight: 800; min-height: 44px;
}
.hm__faq summary::-webkit-details-marker { display: none; }
.hm__faq summary::after { content: "+"; font-size: 34px; font-weight: 900; line-height: 1; }
.hm__faq details[open] summary::after { content: "–"; }
.hm__faq p { font-size: 17px; font-weight: 500; line-height: 1.55; margin: 0 0 24px; max-width: 820px; }

/* --- join ------------------------------------------------------------------------------------ */

.hm__join-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
  gap: clamp(36px, 5vw, 72px); align-items: start;
}
.hm__perks { list-style: none; margin: 10px 0 0; padding: 0; }
.hm__perks li { display: flex; gap: 14px; align-items: center; font-size: 19px; font-weight: 700; margin-top: 16px; }
.hm__tick {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--jade); border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 15px;
}
.hm__tick--big { width: 46px; height: 46px; font-size: 22px; margin: 0 0 14px; }

.hm__form {
  background: #fff; border: 2px solid var(--ink);
  padding: clamp(20px, 2.4vw, 30px); display: grid; gap: 16px;
}
.hm__form label { display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.4px; margin-bottom: 6px; }
.hm__form input, .hm__form select {
  width: 100%; height: 50px; border: 2px solid var(--ink); border-radius: 0;
  background: var(--cream); padding: 0 14px;
  font-size: 16px; font-family: inherit; color: var(--ink);
}
.hm__gdpr { font-size: 13px; font-weight: 500; line-height: 1.5; margin: 0; }
.hm__err {
  margin: 0; padding: 12px 16px; background: var(--blush);
  border: 2px solid var(--hot); font-weight: 700; font-size: 14px;
}
.hm__done h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; font-stretch: 78%; margin: 0 0 8px; }
.hm__done p { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.5; }

/* --- narrow -------------------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .hm__hero-in, .hm__two, .hm__join-in { grid-template-columns: 1fr; }
  .hm__pouches { order: -1; }
  .hm__cards, .hm__ideas-grid, .hm__bsteps { grid-template-columns: 1fr; }
  /* The middle label column has nowhere to go, so it becomes a full-width band.
     It must also move ABOVE the pair: in source order the label sits between the two
     values, so spanning it without reordering strands each value alone on a half-width
     row and puts the jade cell in the left column. order:-1 pulls it to the top, leaving
     the two values side by side beneath it — which is the comparison the table is for. */
  .hm__vs-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hm__vs-k {
    order: -1; grid-column: 1 / -1;
    justify-content: flex-start; padding: 10px 16px;
  }
  /* Both values need the same baseline or the shorter one floats. */
  .hm__vs-l, .hm__vs-r { display: flex; align-items: flex-start; }
  .hm__vs-l, .hm__vs-r { padding: 14px 16px; font-size: 16px; }
  .hm__vs-l { text-align: left; }
  .hm__vs-head .hm__vs-k { display: none; }
  .hm__big { -webkit-text-stroke: 4px var(--ink); }
  .hm__num { -webkit-text-stroke: 4px var(--ink); }
}

@media (max-width: 600px) {
  .hm__ideas-grid { grid-template-columns: 1fr; }
  .hm__nums { grid-template-columns: 1fr 1fr; }
}
