/* Inner Circle on the homepage (2026-10-15, preview for the owner).
   Built from the Blessings block's own vocabulary so the two read as one
   family: dark ground with the same faint grid, a framed 4:3 picture, a
   Playfair title, a white line and a quieter line, and the gold text link.
   Mirrored (picture on the left) so the two blocks alternate rather than
   repeat.
   Services, the Inner Circle and the Blessings are one chapter (the ways to
   work with Master Lee), so they share one deep black with no step between
   them, and a fine gold hairline, the width of the content, marks each new
   offer. */

[data-m3-page="home"] .ic-home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #090806;
  color: #f6f3eb;
}

[data-m3-page="home"] .ic-home::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .012) 1px, transparent 1px);
  background-size: 96px 96px;
  content: "";
  opacity: .4;
  pointer-events: none;
}

/* Hairlines above and below, inside the content width. */
[data-m3-page="home"] .ic-home__layout::before,
[data-m3-page="home"] .ic-home__layout::after {
  position: absolute;
  right: var(--side-padding);
  left: var(--side-padding);
  height: 1px;
  background: rgba(198, 166, 100, .16);
  content: "";
}

[data-m3-page="home"] .ic-home__layout::before { top: 0; }
[data-m3-page="home"] .ic-home__layout::after { bottom: 0; }

[data-m3-page="home"] .ic-home__layout {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: clamp(38px, 4vw, 56px) var(--side-padding);
  display: grid;
  grid-template-columns: minmax(340px, .8fr) minmax(400px, 1fr);
  gap: clamp(40px, 4.5vw, 64px);
  align-items: center;
}

[data-m3-page="home"] .ic-home__art {
  width: 100%;
  max-width: 500px;
  margin: 0;
  justify-self: start;
}

[data-m3-page="home"] .ic-home__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #17130d;
  border: 1px solid rgba(198, 166, 100, .18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
}

[data-m3-page="home"] .ic-home__frame::after {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 44px 6px rgba(5, 5, 4, .34);
  content: "";
  pointer-events: none;
}

[data-m3-page="home"] .ic-home__frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 45%;
  filter: brightness(.97) saturate(.96);
  transform: scale(1.01);
  transition: transform 1.4s var(--ease-primary), filter .6s var(--ease-primary);
}

[data-m3-page="home"] .ic-home__copy {
  min-width: 0;
}

[data-m3-page="home"] .ic-home__copy h2 {
  margin: 0;
  color: #f7f2e8;
  font-family: var(--ff-head);
  font-size: clamp(2.05rem, 2.6vw, 2.6rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: .01em;
  text-wrap: balance;
}

[data-m3-page="home"] .ic-home__body {
  margin-top: clamp(16px, 1.7vw, 22px);
}

[data-m3-page="home"] .ic-home__paragraph {
  max-width: 40rem;
  margin: 0;
  color: #f0e8db;
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.66;
  text-wrap: pretty;
}

[data-m3-page="home"] .ic-home__lead,
[data-m3-page="home"] .ic-home__second {
  display: block;
}

[data-m3-page="home"] .ic-home__keep {
  white-space: nowrap;
}

[data-m3-page="home"] .ic-home__second {
  margin-top: .35rem;
  color: rgba(246, 243, 235, .68);
}

[data-m3-page="home"] .ic-home__cta {
  position: relative;
  width: max-content;
  min-height: 44px;
  margin-top: clamp(26px, 3vw, 36px);
  padding: 11px 0 9px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #e8d5a2;
  font-family: var(--ff-label);
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

[data-m3-page="home"] .ic-home__cta::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: .38;
  transition: opacity .35s var(--ease-primary);
}

[data-m3-page="home"] .ic-home__cta span {
  display: inline-block;
  transition: transform .36s var(--ease-primary);
}

[data-m3-page="home"] .ic-home__cta:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 7px;
}

/* Like the Blessings line: one line on wide screens. */
@media (min-width: 1280px) {
  [data-m3-page="home"] .ic-home__second {
    white-space: nowrap;
  }
}

@media (hover: hover) {
  [data-m3-page="home"] .ic-home:hover .ic-home__frame img {
    filter: brightness(1) saturate(1);
    transform: scale(1.035);
  }

  [data-m3-page="home"] .ic-home__cta:hover { color: #f2dfad; }
  [data-m3-page="home"] .ic-home__cta:hover::after { opacity: 1; }
  [data-m3-page="home"] .ic-home__cta:hover span { transform: translateX(5px); }
}

@media (max-width: 900px) {
  [data-m3-page="home"] .ic-home__layout {
    grid-template-columns: minmax(280px, .85fr) minmax(320px, 1fr);
    gap: 34px;
  }

  [data-m3-page="home"] .ic-home__copy h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 700px) {
  [data-m3-page="home"] .ic-home__layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 36px;
  }

  [data-m3-page="home"] .ic-home__art {
    width: 100%;
    max-width: none;
  }

  [data-m3-page="home"] .ic-home__copy {
    width: min(100%, 540px);
    margin: 0 auto;
  }

  [data-m3-page="home"] .ic-home__copy h2 {
    font-size: clamp(1.6rem, 7.2vw, 1.85rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-m3-page="home"] .ic-home__frame img,
  [data-m3-page="home"] .ic-home__cta span {
    transition: none;
  }
}
