/* ==========================================================================
   Homepage sections — 2026 brand (templates/front-page-new-brand.php)
   Depends on brand-2026.css for tokens, labels, links and buttons.
   Rhythm: bright hero → soft white → warm stone → bright → soft white.
   ========================================================================== */

body.brand-2026 .bh-wrap {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

body.brand-2026 .bh-section {
  position: relative;
  padding: 110px 0;
  text-align: left;
}

body.brand-2026 .bh-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.brand-2026 .bh-section__head {
  margin-bottom: 56px;
}

body.brand-2026 .bh-section__head--center {
  text-align: center;
}

body.brand-2026 .bh-section__head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

body.brand-2026 .bh-section__foot {
  margin-top: 56px;
  text-align: center;
}

/* Role 2: the Lora title. */
body.brand-2026 .bh-heading {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  color: var(--charcoal);
  margin: 0;
}

body.brand-2026 .bh-heading--light {
  color: var(--soft-white);
}

body.brand-2026 .bh-empty {
  font-size: 16px;
  color: var(--lavender);
}

/* Mandala linework used as a quiet watermark, per the guide's pattern notes.
   The black line SVG is used as a mask so it can take any brand colour. */
body.brand-2026 .bh-hero__pattern {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: var(--seafoam);
  -webkit-mask: url(../img/mandala-04-black.svg) center / contain no-repeat;
  mask: url(../img/mandala-04-black.svg) center / contain no-repeat;
}


/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

body.brand-2026 .bh-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--soft-white) 0%, var(--stone) 100%);
  color: var(--charcoal);
  text-align: left;
}

body.brand-2026 .bh-hero__pattern {
  width: 560px;
  height: 560px;
  left: -200px;
  bottom: -240px;
  background: var(--teal);
  opacity: .06;
}

body.brand-2026 .bh-hero__inner {
  position: static; /* so the photo positions against the full-width section, not the wrapper */
  display: flex;
  align-items: center;
  min-height: 640px;
}

body.brand-2026 .bh-hero__copy {
  position: relative;
  z-index: 1;
  width: 50%;
  padding: 100px 60px 100px 0;
}

body.brand-2026 .bh-hero__title {
  font-family: var(--font-heading);
  font-size: 58px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--charcoal);
  margin: 0 0 26px;
}

body.brand-2026 .bh-hero__intro {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(26, 29, 31, .8);
  max-width: 440px;
  margin: 0 0 40px;
}

body.brand-2026 .bh-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

body.brand-2026 .bh-hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 46%;
}

body.brand-2026 .bh-hero__img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
}

/* Soft edge where the photo meets the page. */
body.brand-2026 .bh-hero__img:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 120px;
  background: linear-gradient(90deg, #e8e1da, rgba(216, 206, 194, 0));
}


/* --------------------------------------------------------------------------
   Studios
   -------------------------------------------------------------------------- */

body.brand-2026 .bh-studios {
  background: var(--soft-white);
}

body.brand-2026 .bh-studios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

body.brand-2026 .bh-studio {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 44px 36px 38px;
  background: #fff;
  border: 1px solid var(--stone);
}

body.brand-2026 .bh-studio:before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: var(--teal);
}

body.brand-2026 .bh-studio:nth-child(2):before { background: var(--sage); }
body.brand-2026 .bh-studio:nth-child(3):before { background: var(--lavender); }

body.brand-2026 .bh-studio__name {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  color: var(--charcoal);
  margin: 0 0 16px;
}

body.brand-2026 .bh-studio__address {
  display: flex;
  gap: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(26, 29, 31, .72);
  text-decoration: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

body.brand-2026 .bh-studio__address:hover {
  color: var(--teal);
}


/* --------------------------------------------------------------------------
   Workshops & events
   -------------------------------------------------------------------------- */

body.brand-2026 .bh-events {
  background: #ECE6DE; /* Warm Stone softened toward Soft White */
}

/* Up to three upcoming events. Flex rather than a 3-column grid so that one or
   two events centre instead of hanging off the left edge. */
body.brand-2026 .bh-events__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

body.brand-2026 .bh-event {
  flex: 0 1 calc((100% - 56px) / 3);
  max-width: calc((100% - 56px) / 3);
}

body.brand-2026 .bh-event {
  display: flex;
  flex-direction: column;
  background: var(--soft-white);
}

body.brand-2026 .bh-event__img {
  display: block;
  aspect-ratio: 4 / 3;
  background-color: var(--stone);
  background-size: cover;
  background-position: center;
}

body.brand-2026 .bh-event__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
  padding: 30px 30px 34px;
}

body.brand-2026 .bh-event__title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 10px;
}

body.brand-2026 .bh-event__title a {
  color: var(--charcoal);
  text-decoration: none;
}

body.brand-2026 .bh-event__title a:hover { color: var(--teal); }

body.brand-2026 .bh-event__meta {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(26, 29, 31, .7);
  margin: 0 0 24px;
  flex-grow: 1;
}


/* --------------------------------------------------------------------------
   Your practice — photo left, copy right (right-aligned, per the Canva render)
   -------------------------------------------------------------------------- */

body.brand-2026 .bh-practice {
  padding: 0;
  background: linear-gradient(115deg, #EFEAE3 0%, var(--soft-white) 100%);
}

body.brand-2026 .bh-practice__inner {
  display: flex;
  align-items: stretch;
  min-height: 560px;
}

body.brand-2026 .bh-practice__media {
  width: 52%;
  background-size: cover;
  background-position: center;
  background-color: var(--stone);
}

body.brand-2026 .bh-practice__copy {
  width: 48%;
  padding: 100px 8% 100px 70px;
  text-align: right;
  align-self: center;
}

body.brand-2026 .bh-practice .bh-practice__list {
  margin: 0 0 38px;
  padding: 0;
  list-style: none;
}

body.brand-2026 .bh-practice__list li {
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: var(--track-body);
  color: rgba(26, 29, 31, .8);
}


/* --------------------------------------------------------------------------
   Instagram
   -------------------------------------------------------------------------- */

body.brand-2026 .bh-instagram {
  background: var(--soft-white);
}

body.brand-2026 .bh-instagram .bh-heading {
  margin-bottom: 18px;
}

body.brand-2026 .bh-instagram__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

body.brand-2026 .bh-instagram__grid a {
  display: block;
  aspect-ratio: 1;
  background-color: var(--stone);
  background-size: cover;
  background-position: center;
  transition: opacity .3s ease;
}

body.brand-2026 .bh-instagram__grid a:hover { opacity: .8; }


/* --------------------------------------------------------------------------
   Responsive — theme breakpoints 1200 / 992 / 767 / 439
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  body.brand-2026 .bh-hero__title { font-size: 40px; }
  body.brand-2026 .bh-heading { font-size: 46px; }
  body.brand-2026 .bh-studio { padding: 38px 28px 32px; }
}

@media (max-width: 992px) {
  body.brand-2026 .bh-section { padding: 80px 0; }

  body.brand-2026 .bh-hero__inner {
    display: block;
    min-height: 0;
    padding: 0;
  }

  body.brand-2026 .bh-hero__media {
    position: relative;
    width: auto;
    height: 340px;
    margin: 0 -40px;
  }

  /* Stacked: copy first, photo below, fading up into the charcoal. */
  body.brand-2026 .bh-hero__img:before {
    right: 0;
    bottom: auto;
    width: auto;
    height: 90px;
    background: linear-gradient(180deg, var(--stone), rgba(216, 206, 194, 0));
  }

  body.brand-2026 .bh-hero__copy {
    width: auto;
    padding: 72px 0 40px;
  }

  body.brand-2026 .bh-studios__grid { grid-template-columns: 1fr; }

  /* Events are flex, so widen the cards rather than changing grid columns. */
  body.brand-2026 .bh-event {
    flex-basis: 100%;
    max-width: none;
  }

  /* Practice block stacks: photo on top, copy left-aligned below. */
  body.brand-2026 .bh-practice__inner { display: block; min-height: 0; }
  body.brand-2026 .bh-practice__media { width: auto; height: 320px; }

  body.brand-2026 .bh-practice__copy {
    width: auto;
    padding: 64px 22px 72px;
    text-align: left;
  }

  body.brand-2026 .bh-instagram__grid { grid-template-columns: repeat(3, 1fr); }

  body.brand-2026 .bh-section__head--split {
    display: block;
  }

  body.brand-2026 .bh-section__head--split .brand-btn { margin-top: 28px; }
}

@media (max-width: 767px) {
  body.brand-2026 .bh-wrap { padding: 0 22px; }
  body.brand-2026 .bh-section { padding: 64px 0; }
  body.brand-2026 .bh-section__head { margin-bottom: 36px; }
  body.brand-2026 .bh-section__foot { margin-top: 36px; }

  body.brand-2026 .bh-hero__media { margin: 0 -22px; height: 260px; }
  body.brand-2026 .bh-hero__title { font-size: 32px; margin-bottom: 32px; }
  body.brand-2026 .bh-hero__actions { flex-direction: column; align-items: stretch; }

  body.brand-2026 .bh-heading { font-size: 38px; }
  body.brand-2026 .bh-studio__name { font-size: 32px; }
  body.brand-2026 .bh-hero__pattern { width: 360px; height: 360px; left: -140px; bottom: -160px; }
}

@media (max-width: 439px) {
  body.brand-2026 .bh-hero__title { font-size: 28px; }
  body.brand-2026 .bh-heading { font-size: 34px; }
  body.brand-2026 .bh-instagram__grid { grid-template-columns: repeat(2, 1fr); }
}
