/* ============================================================
   HandCyaat — Homepage v2 sections
   Loaded on the front page only (see functions.php).
   Uses the brand tokens from style.css.
   ============================================================ */

:root {
  --hc-red:  #8B0000;
  --hc-teal: #0F4C55;
}

.hc-home-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* 0. Seasonal bar */
.hc-home-bar {
  display: block;
  background: var(--hc-yellow);
  color: var(--hc-green);
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
}
.hc-home-bar:hover { color: var(--hc-green); text-decoration: underline; }

/* 1. Hero — split layout */
.hc-hero2 {
  background: var(--hc-green);
  color: var(--hc-white);
  padding: 64px 32px 112px;
}
.hc-hero2__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}
.hc-hero2__text {
  flex: 1 1 460px;
  min-width: 0;
}
.hc-hero2__heading {
  font-family: var(--hc-font-heading);
  font-weight: 800;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--hc-white);
  margin: 6px 0 20px;
}
.hc-hero2__accent { color: var(--hc-yellow); }
.hc-hero2__tagline {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  max-width: 520px;
  margin: 0;
}
.hc-hero2__visual {
  position: relative;
  flex: 1 1 400px;
  min-width: 0;
  height: 460px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--hc-green-light);
}
.hc-hero2__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hc-hero2__card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  background: var(--hc-white);
  color: var(--hc-text-primary);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.hc-hero2__card-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hc-red);
}
.hc-hero2__card-title {
  font-family: var(--hc-font-heading);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
}
.hc-hero2__card-sub { font-size: 14px; color: var(--hc-text-secondary); line-height: 1.45; }


@media (max-width: 640px) {
  .hc-hero2 { padding: 44px 20px 96px; }
  .hc-hero2__visual { height: 300px; }
  .hc-hero2__tagline { font-size: 17px; }
}

/* Hero signup */
.hc-home-signup .hc-btn,
.hc-home-signup__input { border-radius: 999px; }
.hc-home-signup {
  margin-top: 28px;
  max-width: 560px;
}
.hc-home-signup__label {
  color: var(--hc-white);
  font-size: 15px;
  margin-bottom: 10px;
}
.hc-home-signup__label strong { color: var(--hc-yellow); }
.hc-home-signup__form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hc-home-signup__input {
  flex: 1 1 240px;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--hc-radius-sm);
  font-size: 16px;
  font-family: var(--hc-font-body);
}
.hc-home-signup__btn { height: 50px; font-size: 14px; }
.hc-home-signup__form .hc-subscribe-feedback {
  flex-basis: 100%;
  margin: 0;
  min-height: 20px;
  font-size: 13px;
}
.hc-home-signup__alt {
  display: inline-block;
  margin-top: 6px;
  color: var(--hc-white);
  font-weight: 700;
  font-size: 14px;
}
.hc-home-signup__alt:hover { color: var(--hc-yellow); }

/* 2. Pillars — white cards overlapping the hero */
.hc-home-pillars {
  background: var(--hc-parchment);
  padding: 0 0 8px;
}
.hc-home-pillars__grid {
  position: relative;
  z-index: 2;
  margin-top: -56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.hc-home-pillar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--hc-white);
  border: 1px solid #DCE5DF;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(10,46,26,.08);
  color: var(--hc-text-primary);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hc-home-pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(10,46,26,.14);
  color: var(--hc-text-primary);
}
.hc-home-pillar:focus-visible { outline: 3px solid var(--hc-yellow); outline-offset: 3px; }
.hc-home-pillar__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 4px;
}
.hc-home-pillar__media img { width: 100%; height: 100%; object-fit: cover; }
.hc-home-pillar--red    .hc-home-pillar__media { background: #F6E3B0; color: #7A5A00; }
.hc-home-pillar--green  .hc-home-pillar__media { background: #D5E8DC; color: var(--hc-green); }
.hc-home-pillar--yellow .hc-home-pillar__media { background: #F4D3C9; color: var(--hc-red); }
.hc-home-pillar--teal   .hc-home-pillar__media { background: #CFE0EA; color: var(--hc-teal); }
.hc-home-pillar__label {
  font-family: var(--hc-font-heading);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
}
.hc-home-pillar__desc { font-size: 15px; line-height: 1.5; color: var(--hc-text-secondary); }

@media (max-width: 980px) {
  .hc-home-pillars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .hc-home-pillars__grid { grid-template-columns: minmax(0, 1fr); margin-top: -48px; }
  .hc-home-pillar__media { height: 96px; }
}

/* Shared section heads */
.hc-home-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.hc-home-head__title { font-size: 34px; margin: 0; }
.hc-home-head__link { font-weight: 700; }
.hc-home-eyebrow--red { color: var(--hc-red); }
.hc-home-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hc-yellow);
  margin-bottom: 6px;
}
.hc-home-kicker--red { color: var(--hc-red); }

/* 3. Seasonal feature */
.hc-home-season {
  background: var(--hc-parchment);
  padding: 56px 0 24px;
}
.hc-home-season__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hc-home-season__lead {
  position: relative;
  flex: 2 1 480px;
  min-width: 0;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  border-radius: var(--hc-radius-lg);
  overflow: hidden;
  background: var(--hc-red);
  color: var(--hc-white);
}
.hc-home-season__lead:hover { color: var(--hc-white); }
.hc-home-season__lead-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hc-home-season__lead-img + .hc-home-season__lead-body {
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0));
}
.hc-home-season__lead-body {
  position: relative;
  display: block;
  width: 100%;
  padding: 28px;
}
.hc-home-season__lead-title {
  display: block;
  font-family: var(--hc-font-heading);
  font-size: 28px;
  line-height: 1.15;
}
.hc-home-season__lead-sub { display: block; margin-top: 8px; font-size: 15px; opacity: .9; }
.hc-home-season__list {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hc-home-season__item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: var(--hc-white);
  border: var(--hc-border);
  border-radius: var(--hc-radius-lg);
  color: var(--hc-text-primary);
}
.hc-home-season__thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border-radius: var(--hc-radius-md);
  overflow: hidden;
  background: #F3DCD6;
}
.hc-home-season__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hc-home-season__item-title { display: block; font-weight: 700; font-size: 16px; line-height: 1.35; }

/* 5. Patois word + Find it abroad */
.hc-home-duo {
  background: var(--hc-parchment);
  padding: 56px 0;
}
.hc-home-duo__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hc-home-word,
.hc-home-abroad {
  flex: 1 1 380px;
  min-width: 0;
  padding: 32px;
  border-radius: var(--hc-radius-lg);
}
.hc-home-word { background: var(--hc-yellow); color: var(--hc-green); }
.hc-home-word .hc-eyebrow { color: var(--hc-green); }
.hc-home-word__word {
  font-family: var(--hc-font-heading);
  font-size: 52px;
  line-height: 1;
  margin: 6px 0 8px;
}
.hc-home-word__say { font-size: 14px; margin-bottom: 12px; }
.hc-home-word__meaning { font-size: 17px; line-height: 1.5; }
.hc-home-word__example { font-size: 17px; font-style: italic; }
.hc-home-word__link { font-weight: 700; color: var(--hc-green); text-decoration: underline; }
.hc-home-abroad { background: var(--hc-white); border: var(--hc-border); }
.hc-home-abroad__title { font-size: 26px; margin-bottom: 12px; }
.hc-home-abroad__body { color: var(--hc-text-secondary); font-size: 16px; margin-bottom: 20px; }

/* 6. Shop list */
.hc-home-shoplist {
  list-style: none;
  margin: 8px auto 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.hc-home-shoplist li {
  padding: 6px 14px;
  border: 1px solid rgba(245,200,0,.45);
  border-radius: 999px;
  font-size: 13px;
  color: var(--hc-text-on-green);
}

/* Phones */
@media (max-width: 640px) {
  .hc-home-wrap { padding: 0 20px; }
  .hc-home-head__title { font-size: 26px; }
  .hc-home-word__word { font-size: 40px; }
  .hc-home-season__lead { min-height: 260px; }
  .hc-home-season__lead-title { font-size: 22px; }
  .hc-home-word, .hc-home-abroad { padding: 24px; }
}
