/* Myrtle Home Hero (mck-home-hero): ported from site/home/v2/style.css (HERO + marquee). */
.mck-home-hero { --display: "Sunset Serial", Georgia, serif; } /* Elementor containers set --display: flex */
.mck-home-hero { position: relative; min-height: 100dvh; display: flex; flex-direction: column; background: radial-gradient(120% 90% at 80% 10%, #11727E 0%, var(--teal) 38%, var(--teal-night) 100%); color: rgba(255, 254, 253, .82); overflow: hidden; }
.mck-home-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("../../patterns/Pattern-Line-White-Tile.svg") 0 0 / 88px 131px repeat; opacity: .07; -webkit-mask-image: radial-gradient(70% 80% at 85% 40%, #000, transparent 75%); mask-image: radial-gradient(70% 80% at 85% 40%, #000, transparent 75%); }
@media (prefers-reduced-motion: no-preference) { .mck-home-hero::before { animation: mckhh-drift 60s linear infinite; } }
@keyframes mckhh-drift { to { background-position: 88px 131px; } }
.mck-home-hero .hero-main { position: relative; flex: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 4vw, 64px); align-items: center; padding-block: 150px 64px; }
.mck-home-hero .hero-main.no-art { grid-template-columns: 1fr; }
.mck-home-hero h1 { color: var(--white); margin-top: 32px; }
.mck-home-hero h1 .mark-u { background-size: 0% .07em; background-position: 0 94%; transition-delay: 1.2s; }
.mck-home-hero h1.is-in .mark-u { background-size: 100% .07em; }
.mck-home-hero .hero-sub { margin-top: 36px; max-width: 46ch; font-size: clamp(17px, 1.3vw, 20px); font-weight: 300; line-height: 1.65; }
.mck-home-hero .hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 44px; }
.mck-home-hero .hero-cta .ulink { color: var(--white); }
.mck-home-hero .hero-note { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 14px; color: rgba(255, 254, 253, .7); }
.mck-home-hero .hero-note img { width: 18px; height: 18px; opacity: .8; }

.mck-home-hero .hero-art { position: relative; justify-self: center; width: min(100%, 440px); aspect-ratio: 4 / 5.2; }
.mck-home-hero .arch { position: absolute; inset: 0; border-radius: 999px 999px 32px 32px; padding: 8px; background: rgba(255, 254, 253, .08); border: 1px solid rgba(255, 254, 253, .14); }
.mck-home-hero .arch-core { position: relative; height: 100%; overflow: hidden; display: grid; place-items: center; border-radius: 999px 999px 26px 26px; background: var(--white); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .6); }
.mck-home-hero .arch-core::before { content: ""; position: absolute; inset: 0; background: url("../../patterns/Pattern-Line-Black-Tile.svg") 0 0 / 70px 105px repeat; opacity: .05; }
.mck-home-hero .arch-core img { position: relative; width: 52%; }
.mck-home-hero .arch-core.is-fill img { width: 100%; height: 100%; object-fit: cover; }
.mck-home-hero .hf-sprout { width: 30%; left: -8%; top: 16%; --depth: 22; }
.mck-home-hero .hf-oval { width: 15%; right: -9%; top: 6%; --depth: -30; --bd: -2s; }
.mck-home-hero .hf-grid { width: 18%; right: -12%; bottom: 26%; --depth: 34; --bd: -4s; }
.mck-home-hero .hf-leaf { width: 17%; left: 4%; bottom: -5%; --depth: -18; --bd: -1s; }

.mck-home-hero .badge { position: absolute; z-index: 3; right: -6%; bottom: -7%; width: 148px; height: 148px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); }
.mck-home-hero .badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) { .mck-home-hero .badge svg.ring { animation: mckhh-spin 18s linear infinite; } }
@keyframes mckhh-spin { to { transform: rotate(360deg); } }
.mck-home-hero .badge text { font: 500 10.6px var(--body); letter-spacing: .22em; text-transform: uppercase; fill: currentColor; }
.mck-home-hero .badge .core { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); transition: transform .6s var(--spring); }
.mck-home-hero .badge .core img { width: 24px; transition: transform .6s var(--ease); }
.mck-home-hero .badge:hover .core { transform: scale(1.12); }
.mck-home-hero .badge:hover .core img { transform: rotate(-45deg); }

/* load-in */
@media (prefers-reduced-motion: no-preference) {
  .js .mck-home-hero .hl { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d); }
  .js.loaded .mck-home-hero .hl { opacity: 1; transform: none; }
  .js .mck-home-hero .hero-art { opacity: 0; transform: translateY(60px) scale(.96); transition: opacity 1.4s var(--ease) .35s, transform 1.6s var(--ease) .35s; }
  .js.loaded .mck-home-hero .hero-art { opacity: 1; transform: none; }
}

/* Marquee */
.mck-home-hero .marquee { position: relative; border-top: 1px solid var(--hair-light); overflow: hidden; }
.mck-home-hero .marquee-track { display: flex; width: max-content; }
@media (prefers-reduced-motion: no-preference) { .mck-home-hero .marquee-track { animation: mckhh-marquee 38s linear infinite; } .mck-home-hero .marquee:hover .marquee-track { animation-play-state: paused; } }
@keyframes mckhh-marquee { to { transform: translateX(-50%); } }
.mck-home-hero .marquee a { display: flex; align-items: center; gap: 40px; padding: 26px 20px; font-family: var(--display); font-weight: 300; font-size: clamp(22px, 2.2vw, 32px); color: rgba(255, 254, 253, .78); white-space: nowrap; transition: color .4s var(--ease); }
.mck-home-hero .marquee a:hover { color: var(--yellow); }
.mck-home-hero .marquee a img { width: 18px; opacity: .7; }

@media (max-width: 1080px) {
  .mck-home-hero .hero-main { grid-template-columns: 1fr; padding-top: 130px; gap: 72px; }
  .mck-home-hero .hero-art { width: min(78%, 400px); }
}
@media (max-width: 767px) {
  .mck-home-hero .hero-main { padding-block: 120px 56px; gap: 64px; }
  .mck-home-hero .hero-cta { flex-direction: column; align-items: flex-start; gap: 22px; }
  .mck-home-hero .hero-art { width: 72%; }
  .mck-home-hero .badge { width: 116px; height: 116px; right: -16%; }
  .mck-home-hero .badge .core { width: 46px; height: 46px; }
  .mck-home-hero .badge text { font-size: 10.4px; }
  .mck-home-hero .marquee a { padding: 20px 14px; gap: 28px; }
}
