/*
Theme Name: MOVE2LIVE
Theme URI: https://move2livestudio.com
Author: Rhuan
Description: Custom theme for MOVE2LIVE Fitness Studio, Maroochydore. Every page is built from standard WordPress blocks, so text, photos, links and buttons can be edited in the normal page editor.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: move2live
*/

:root {
  --m2l-brown: #703D29;
  --m2l-brown-dark: #5C3121;
  --m2l-ink: #1F1B1A;
  --m2l-body: #5A5250;
  --m2l-tan: #A9755A;
  --m2l-blush: #F1D9CC;
  --m2l-cream: #FAF8F5;
  --m2l-sand: #F6F3F0;
  --m2l-stone: #EDE6DE;
  --m2l-line: #E2DAD2;
  --m2l-line-dark: #D6CCC2;
  --m2l-pad: clamp(20px, 6.6vw, 96px);
  --m2l-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --m2l-ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > *, .m2l-main > * { margin-block-start: 0 !important; margin-block-end: 0; }
section, [id] { scroll-margin-top: 150px; }
a { text-decoration: none; }
a:hover { color: var(--m2l-brown); }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.005em; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.m2l-accent { color: var(--m2l-brown); }
img { max-width: 100%; height: auto; }
.wp-block-image { margin: 0; }

/* ---------- shared pieces ---------- */
.m2l-sec { padding: clamp(72px, 9vw, 130px) 0; }
.m2l-wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--m2l-pad); }
.m2l-wrap > * + * { margin-block-start: 0; }
.m2l-label {
  font-family: var(--m2l-cond); font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  font-size: 13px; color: var(--m2l-brown); line-height: 1.5;
}
.m2l-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--m2l-line); padding-top: 18px; margin-bottom: 56px;
}
.m2l-row > * { margin: 0 !important; }
.m2l-arrow a, a.m2l-arrow {
  font-family: var(--m2l-cond); font-weight: 600; font-size: 15px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--m2l-ink); border-bottom: 1.5px solid var(--m2l-brown); padding-bottom: 4px;
  transition: letter-spacing .3s ease, color .2s ease;
}
.m2l-arrow a:hover { letter-spacing: .26em; color: var(--m2l-brown); }
.m2l-lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; }
.m2l-todo { display: inline; background: rgba(169,117,90,.16); border-bottom: 1.5px dashed var(--m2l-tan); padding: 0 4px; }
.m2l-headrow {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px;
}
.m2l-headrow > * { margin: 0 !important; }
.m2l-headrow > p, .m2l-headrow-text { max-width: 440px; font-size: 19px; line-height: 1.55; }
.m2l-headrow-text > * + * { margin-top: 12px !important; }
.m2l-sec h2 { margin-bottom: 56px; }
.m2l-headrow h2, .m2l-headrow h1 { margin-bottom: 0; }
.m2l-cream { background: var(--m2l-cream); }
.m2l-sand { background: var(--m2l-sand); }
.m2l-stone { background: var(--m2l-stone); }
.m2l-center { justify-content: center; }

/* buttons */
.wp-block-buttons { gap: 14px 30px; align-items: center; }
.wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; box-sizing: border-box;
  transition: transform .25s var(--m2l-ease), box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(112,61,41,.55); }
.wp-block-button__link:active { transform: translateY(0) scale(.98); }
.wp-block-button.is-style-outline > .wp-block-button__link {
  background: transparent; color: var(--m2l-ink); border: 1.5px solid var(--m2l-ink); padding: 16px 30px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--m2l-ink); color: #fff; }
.wp-block-button.is-style-text > .wp-block-button__link {
  background: none; color: var(--m2l-ink); padding: 0 0 4px; min-height: 0; font-size: 15px; font-weight: 600;
  border-bottom: 1.5px solid var(--m2l-brown); box-shadow: none; transform: none;
}
.wp-block-button.is-style-text > .wp-block-button__link:hover { color: var(--m2l-brown); letter-spacing: .26em; }

/* ---------- header ---------- */
.m2l-site-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--m2l-line); }
.m2l-site-header > * + * { margin-block-start: 0 !important; }
.m2l-offer {
  background: var(--m2l-brown); color: #fff; min-height: 42px; display: flex; align-items: center; justify-content: center;
  padding: 6px 56px; position: relative; text-align: center;
}
.m2l-offer p { font-family: var(--m2l-cond); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; font-size: 13px; color: #fff; }
.m2l-offer strong { font-weight: 600; }
.m2l-offer a { color: #fff; text-decoration: underline; text-underline-offset: 4px; margin-left: 10px; }
.m2l-offer-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
  background: none; border: 0; color: #fff; font: 400 26px/1 Barlow, sans-serif; cursor: pointer;
}
.m2l-header {
  display: grid; grid-template-columns: 200px 1fr 200px; align-items: center; height: 104px;
  padding: 0 56px; background: var(--m2l-cream); border-bottom: 1px solid var(--m2l-line);
}
.m2l-header > * { margin: 0 !important; }
.m2l-header .wp-block-site-logo img { display: block; width: 64px; height: auto; }
.m2l-header-cta { justify-content: flex-end; }
.m2l-header-cta .wp-block-button__link { min-height: 48px; padding: 0 24px; font-size: 15px; white-space: nowrap; }
.m2l-nav { justify-content: center; }
.m2l-nav .wp-block-navigation__container { gap: 52px; }
.m2l-nav .wp-block-navigation-item__content {
  font-family: var(--m2l-cond); font-weight: 600; font-size: 16px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--m2l-ink); padding: 8px 0 !important; border-bottom: 1.5px solid transparent;
}
.m2l-nav .wp-block-navigation-item__content:hover, .m2l-nav .is-current { border-color: var(--m2l-brown); color: var(--m2l-ink); }
/* mobile menu (WordPress's built-in hamburger menu) */
.m2l-nav .wp-block-navigation__responsive-container-open {
  width: 48px; height: 48px; border: 1.5px solid var(--m2l-ink); align-items: center; justify-content: center;
}
@media (min-width: 901px) {
  .m2l-nav .wp-block-navigation__responsive-container-open { display: none !important; }
  .m2l-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: block !important; position: relative !important; width: auto; background: none !important; }
  .m2l-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-close { display: none !important; }
}
@media (max-width: 900px) {
  .m2l-nav .wp-block-navigation__responsive-container-open { display: flex !important; }
  .m2l-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
}
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.m2l-nav .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--m2l-cream) !important; padding: 16px 20px 32px !important;
}
.m2l-nav .is-menu-open .wp-block-navigation__responsive-container-close {
  width: 48px; height: 48px; background: var(--m2l-brown); color: #fff; display: flex; align-items: center; justify-content: center;
  top: 16px; right: 20px;
}
.m2l-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 88px !important; align-items: stretch !important; }
.m2l-nav .is-menu-open .wp-block-navigation__container { gap: 0 !important; width: 100%; align-items: stretch !important; border-top: 1px solid var(--m2l-line); }
.m2l-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--m2l-line); }
.m2l-nav .is-menu-open .wp-block-navigation-item__content {
  font-family: Barlow, sans-serif !important; font-weight: 800 !important; font-size: clamp(40px, 11vw, 64px) !important;
  letter-spacing: 0 !important; line-height: 1 !important; padding: 18px 0 !important; border: 0 !important; width: 100%;
}
.m2l-nav .is-menu-open .wp-block-navigation__responsive-dialog::after {
  content: ''; display: block; width: 88px; height: 88px; margin: 56px auto 0;
  background: url("assets/img/logo.png") center / contain no-repeat;
}

/* ---------- hero (two columns: text + photo) ---------- */
.m2l-hero {
  display: grid !important; grid-template-columns: minmax(0, 1fr) 48.6%; gap: 0 !important; margin: 0 !important;
  min-height: 860px; background: var(--m2l-cream);
}
.m2l-hero > .wp-block-column {
  padding: 96px 48px 130px var(--m2l-pad); display: flex; flex-direction: column; justify-content: flex-end; min-width: 0;
}
.m2l-hero > .wp-block-column > * { margin: 0; }
.m2l-hero > .wp-block-column:last-child { padding: 0; position: relative; overflow: hidden; background: var(--m2l-stone); min-height: 420px; }
.m2l-hero h1 { margin: 48px 0 0; font-size: clamp(44px, 6.6vw, 100px); }
.m2l-hero .m2l-lead { margin: 32px 0 44px; max-width: 470px; }
.m2l-hero--about > .wp-block-column:first-child { justify-content: center; padding-top: 88px; padding-bottom: 88px; }
.m2l-hero--about h1 { margin-top: 24px; font-size: clamp(60px, 8.4vw, 124px); line-height: .84; }
.m2l-hero--about .m2l-lead { margin-bottom: 0; max-width: 540px; }
.m2l-cover { margin: 0; height: 100%; }
.m2l-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m2l-front .m2l-cover { position: absolute; inset: 0; }

/* ---------- class cards ---------- */
.m2l-cards { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px !important; margin: 0 !important; }
.m2l-cards > .wp-block-column > * { margin: 0; }
.m2l-cards .wp-block-image { aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 22px; }
.m2l-cards .wp-block-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--m2l-ease); }
.m2l-cards > .wp-block-column:hover img { transform: scale(1.06); }
.m2l-cards .m2l-label { color: var(--m2l-tan); }
.m2l-cards h3 { margin: 8px 0; font-size: clamp(20px, 2.1vw, 30px); }
.m2l-cards p:not(.m2l-label) { font-size: 16px; line-height: 1.45; }

/* ---------- dark band + carousels ---------- */
.m2l-dark { background: var(--m2l-brown); color: #fff; }
.m2l-dark .m2l-row { border-color: rgba(255,255,255,.25); }
.m2l-dark .m2l-label { color: var(--m2l-blush); }
.m2l-quotes .wp-block-quote { margin: 0; padding: 0; border: 0; }
.m2l-quotes .wp-block-quote::before {
  content: '\201C'; display: block; font: 800 120px/0.7 Barlow, sans-serif; color: var(--m2l-blush); margin-bottom: 18px; height: 56px;
}
.m2l-quotes .wp-block-quote p {
  font-weight: 800; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.08; text-transform: uppercase; color: #fff; max-width: 1000px;
}
.m2l-quotes .wp-block-quote cite {
  display: flex; align-items: center; gap: 14px; margin-top: 32px; font-style: normal;
  font-family: var(--m2l-cond); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; font-size: 14px; color: var(--m2l-blush);
}
.m2l-quotes .wp-block-quote cite::before { content: ''; width: 36px; height: 1.5px; background: var(--m2l-blush); }
.m2l-carousel:not(.is-ready) > * + * { margin-top: 40px; }
.m2l-carousel.is-ready { display: flex; flex-direction: column; }
.m2l-view { overflow: hidden; }
.m2l-track { display: flex; transition: transform .8s var(--m2l-ease); }
.m2l-slide { flex: 0 0 100%; min-width: 0; margin: 0 !important; padding-right: 8px; box-sizing: border-box; opacity: 0; transition: opacity .6s ease; }
.m2l-slide.is-active { opacity: 1; }
.m2l-cnav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; }
.m2l-arrows { display: flex; gap: 8px; }
.m2l-arrow-btn {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer;
  background: transparent; border: 1.5px solid var(--m2l-ink); color: var(--m2l-ink); transition: background-color .25s ease, color .25s ease;
}
.m2l-arrow-btn.is-next { background: var(--m2l-brown); border-color: var(--m2l-brown); color: #fff; }
.m2l-arrow-btn:hover { background: var(--m2l-ink); border-color: var(--m2l-ink); color: #fff; }
.m2l-dots { display: flex; gap: 8px; margin-top: 26px; }
.m2l-dots button { height: 44px; width: 28px; padding: 0; background: none; border: 0; cursor: pointer; display: flex; align-items: center; transition: width .4s ease; }
.m2l-dots button span { display: block; width: 100%; height: 3px; background: var(--m2l-line-dark); transition: background-color .4s ease; }
.m2l-dots button.is-active { width: 56px; }
.m2l-dots button.is-active span { background: var(--m2l-brown); }
.m2l-dark .m2l-arrow-btn { border-color: #fff; color: #fff; }
.m2l-dark .m2l-arrow-btn.is-next { background: #fff; color: var(--m2l-brown); }
.m2l-dark .m2l-arrow-btn:hover { background: var(--m2l-blush); border-color: var(--m2l-blush); color: var(--m2l-brown); }
.m2l-dark .m2l-dots button span { background: rgba(255,255,255,.35); }
.m2l-dark .m2l-dots button.is-active span { background: #fff; }

/* chapters (About) */
.m2l-chapters { margin-top: 56px !important; max-width: 560px; }
.m2l-chapters.is-ready .m2l-cnav { border-top: 1px solid var(--m2l-line-dark); padding-top: 18px; }
.m2l-chapter h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1; color: var(--m2l-brown); margin-bottom: 14px; }
.m2l-chapter p { font-size: 19px; line-height: 1.55; }

/* ---------- split (Meet Mari) ---------- */
.m2l-split { display: grid !important; grid-template-columns: minmax(0, 1fr) 41.6%; gap: 0 !important; margin: 0 !important; min-height: 760px; }
.m2l-split > .wp-block-column { min-width: 0; }
.m2l-split > .wp-block-column:first-child { padding: 120px var(--m2l-pad); display: flex; flex-direction: column; justify-content: center; }
.m2l-split > .wp-block-column:first-child > * { margin: 0; }
.m2l-split > .wp-block-column:first-child .m2l-row { margin-bottom: 44px; }
.m2l-split h2 { font-size: clamp(56px, 5.8vw, 84px); margin-bottom: 32px; }
.m2l-split p:not(.m2l-label):not(.m2l-arrow) { font-size: clamp(18px, 1.5vw, 21px); max-width: 520px; margin-bottom: 18px; }
.m2l-split .m2l-arrow { margin-top: 24px; }
.m2l-split > .wp-block-column:last-child { position: relative; overflow: hidden; min-height: 420px; }

/* ---------- call to action ---------- */
.m2l-cta { text-align: center; background: var(--m2l-cream); border-top: 1px solid var(--m2l-line); }
.m2l-cta h2, .m2l-cta h1 { font-size: clamp(52px, 7.2vw, 104px); margin: 22px 0 64px; }
.m2l-cta.m2l-stone h2 { font-size: clamp(48px, 6vw, 88px); margin: 0 0 40px; }
.m2l-pillars { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px !important; max-width: 1080px; margin: 0 auto 72px !important; text-align: left; }
.m2l-pillars > .wp-block-column { border-top: 1.5px solid var(--m2l-brown); padding-top: 22px; }
.m2l-pillars > .wp-block-column > * { margin: 0; }
.m2l-pillars h3 { font-size: clamp(30px, 2.8vw, 40px); margin-bottom: 12px; }
.m2l-cta .m2l-lead { margin-bottom: 46px; }

/* ---------- membership page ---------- */
.m2l-pagehead { background: var(--m2l-cream); text-align: center; padding: clamp(96px, 10vw, 150px) 0 clamp(72px, 7.6vw, 110px); border-bottom: 1px solid var(--m2l-line); }
.m2l-pagehead h1 { font-size: clamp(56px, 8.2vw, 118px); line-height: .86; margin: 24px 0 28px; }
.m2l-pagehead .m2l-lead { max-width: 640px; margin: 0 auto 40px; }
.m2l-plancards { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px !important; margin: 0 !important; }
.m2l-plancards > .wp-block-column { display: flex; }
.m2l-plancard {
  background: #fff; border: 1px solid var(--m2l-line); padding: 46px 40px 40px; display: flex; flex-direction: column;
  position: relative; width: 100%; box-sizing: border-box;
}
.m2l-plancard > * { margin: 0 !important; }
.m2l-plancard .m2l-label { color: var(--m2l-tan); font-size: 14px; }
.m2l-plancard h3 { font-size: 38px; margin: 14px 0 !important; }
.m2l-plancard .m2l-desc { font-size: 17px; line-height: 1.45; min-height: 50px; }
.m2l-price { margin-top: 30px !important; padding-top: 28px; border-top: 1px solid var(--m2l-line); font-family: var(--m2l-cond); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 14px; color: var(--m2l-tan); }
.m2l-price strong { font-family: Barlow, sans-serif; font-weight: 800; font-size: 76px; line-height: 1; letter-spacing: 0; color: var(--m2l-ink); margin-right: 6px; }
.m2l-note { font-family: var(--m2l-cond); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 13px; margin: 6px 0 24px !important; }
.m2l-feature { padding: 9px 0; border-bottom: 1px solid var(--m2l-line); font-size: 16px; }
.m2l-feature::before { content: '— '; }
.m2l-plancard .wp-block-buttons { margin-top: auto !important; padding-top: 36px; }
.m2l-plancard .wp-block-button { width: 100%; }
.m2l-plancard .wp-block-button__link { width: 100%; background: transparent; color: var(--m2l-ink); border: 1.5px solid var(--m2l-ink); }
.m2l-plancard .wp-block-button__link:hover { background: var(--m2l-ink); color: #fff; }
.m2l-plancard.is-featured { background: var(--m2l-brown); border-color: var(--m2l-brown); color: rgba(255,255,255,.85); }
.m2l-plancard.is-featured h3, .m2l-plancard.is-featured .m2l-price strong { color: #fff; }
.m2l-plancard.is-featured .m2l-label, .m2l-plancard.is-featured .m2l-price { color: var(--m2l-blush); }
.m2l-plancard.is-featured .m2l-price, .m2l-plancard.is-featured .m2l-feature { border-color: rgba(255,255,255,.22); }
.m2l-plancard.is-featured .m2l-note { color: rgba(255,255,255,.75); }
.m2l-plancard.is-featured .wp-block-button__link { background: #fff; color: var(--m2l-ink); border-color: #fff; }
.m2l-plancard.is-featured .wp-block-button__link:hover { background: var(--m2l-blush); border-color: var(--m2l-blush); }
.m2l-badge { position: absolute; top: 0; right: 0; background: #fff; color: var(--m2l-brown); font: 700 13px var(--m2l-cond); letter-spacing: .22em; text-transform: uppercase; padding: 10px 16px; }

.m2l-memgrid { display: grid !important; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px !important; margin: 0 !important; }
.m2l-memgrid > .wp-block-column { display: flex; min-width: 0; }
.m2l-plans { background: #fff; border: 1px solid var(--m2l-line); padding: clamp(24px, 4vw, 48px); width: 100%; box-sizing: border-box; }
.m2l-plan { padding: 18px 0; border-bottom: 1px solid var(--m2l-line); }
.m2l-plan > * { margin: 0 !important; }
.m2l-plan h3 { font-size: 22px; margin-bottom: 8px !important; }
.m2l-plan p { font-size: 15px; }
.m2l-plan .wp-block-buttons { margin-top: 10px !important; }
.m2l-plans.is-ready > .m2l-plan { display: none; }
.m2l-picker-box { position: relative; margin-top: 12px; }
.m2l-picker-btn {
  width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 22px;
  background: var(--m2l-cream); border: 1.5px solid var(--m2l-ink); color: var(--m2l-ink); font: 700 20px Barlow, sans-serif;
  text-transform: uppercase; text-align: left; cursor: pointer;
}
.m2l-picker-btn svg { flex: none; color: var(--m2l-brown); transition: transform .25s ease; }
.m2l-picker.is-open .m2l-picker-btn svg { transform: rotate(180deg); }
.m2l-picker-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; background: #fff; border: 1.5px solid var(--m2l-ink);
  box-shadow: 0 18px 40px rgba(31,27,26,.14); max-height: 420px; overflow-y: auto;
}
.m2l-picker-list button {
  width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 22px;
  background: #fff; border: 0; border-bottom: 1px solid #efe8e1; color: var(--m2l-ink); font: 600 17px Barlow, sans-serif; text-align: left; cursor: pointer;
}
.m2l-picker-list button[aria-selected="true"], .m2l-picker-list button:hover { background: #F6EDE7; }
.m2l-picker-list em { font-style: normal; color: var(--m2l-brown); font-weight: 700; white-space: nowrap; }
.m2l-picker-info {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 36px 0; padding: 28px 0;
  border-top: 1px solid var(--m2l-line); border-bottom: 1px solid var(--m2l-line);
}
.m2l-picker-info .m2l-label { display: block; color: var(--m2l-tan); }
.m2l-picker-info strong { display: block; font: 700 22px/1.25 Barlow, sans-serif; color: var(--m2l-ink); margin-top: 6px; }
.m2l-picker-buy, .m2l-picker-buy a { width: 100%; }
.m2l-online { height: 100%; }

.m2l-faqgrid { display: grid !important; grid-template-columns: 420px minmax(0, 1fr); gap: 96px !important; margin: 0 !important; }
.m2l-faqgrid h2 { font-size: clamp(44px, 4.4vw, 64px); margin-bottom: 22px; }
.m2l-faqgrid > .wp-block-column:last-child { border-top: 1px solid var(--m2l-line); }
.m2l-faqgrid > .wp-block-column:last-child > * { margin: 0; }
.m2l-faqgrid a { color: var(--m2l-brown); font-weight: 700; }
.m2l-faq { border-bottom: 1px solid var(--m2l-line); }
.m2l-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font: 700 23px/1.3 Barlow, sans-serif; color: var(--m2l-ink);
}
.m2l-faq summary::-webkit-details-marker { display: none; }
.m2l-faq summary::after { content: '+'; font: 300 30px/1 Barlow, sans-serif; color: var(--m2l-brown); transition: transform .25s ease; }
.m2l-faq[open] summary::after { transform: rotate(45deg); }
.m2l-faq p { padding: 0 0 28px; max-width: 640px; }

/* ---------- about: life grid ---------- */
.m2l-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 290px; gap: 12px; }
.m2l-bento > * { margin: 0 !important; overflow: hidden; }
.m2l-bento > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--m2l-ease); }
.m2l-bento > .wp-block-image:hover img { transform: scale(1.06); }
.m2l-bento > :nth-child(1) { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.m2l-bento > :nth-child(2) { grid-column: 3; grid-row: 1; }
.m2l-bento > :nth-child(3) { grid-column: 4; grid-row: 1 / span 2; }
.m2l-bento > :nth-child(4) { grid-column: 3; grid-row: 2; }
.m2l-bento > :nth-child(5) { grid-column: 1; grid-row: 3 / span 2; }
.m2l-bento > :nth-child(6) { grid-column: 2; grid-row: 3; }
.m2l-bento > :nth-child(7) { grid-column: 2; grid-row: 4; }
.m2l-bento > :nth-child(8) { grid-column: 3; grid-row: 3 / span 2; }
.m2l-bento > :nth-child(9) { grid-column: 4; grid-row: 3; }
.m2l-bento > :nth-child(10) { grid-column: 4; grid-row: 4; }
.m2l-tile { padding: 32px; display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box; }
.m2l-tile > * { margin: 0 !important; }
.m2l-tile-text { font-weight: 800; font-size: clamp(28px, 2.6vw, 40px); line-height: .92; text-transform: uppercase; }
.m2l-tile--brown { background: var(--m2l-brown); }
.m2l-tile--brown .m2l-label { color: var(--m2l-blush); }
.m2l-tile--brown .m2l-tile-text { color: #fff; }
.m2l-tile--sand { background: var(--m2l-stone); }
.m2l-tile--sand .m2l-tile-text { color: var(--m2l-ink); }
.m2l-tile--ink { background: var(--m2l-ink); }
.m2l-tile--ink .m2l-label { color: #C9A792; }
.m2l-tile--ink .m2l-tile-text { color: #fff; }
.m2l-tile--cta { background: var(--m2l-cream); border: 1.5px solid var(--m2l-ink); }
.m2l-tile--cta .m2l-tile-text { color: var(--m2l-ink); margin-top: auto !important; }
.m2l-tile--cta .m2l-arrow { margin-top: 18px !important; }

/* ---------- book ---------- */
.m2l-bookhead { padding-top: clamp(64px, 7vw, 110px); }
.m2l-bookhead .m2l-row { border-top: 0; padding-top: 0; padding-bottom: 18px; border-bottom: 1px solid var(--m2l-line); margin-bottom: 48px; }
.m2l-bookhead h1 { font-size: clamp(56px, 8.2vw, 118px); line-height: .86; }
.m2l-bookhead .m2l-headrow { margin-bottom: 64px; }
.m2l-embed { background: #fff; border: 1px solid var(--m2l-line); overflow: auto; -webkit-overflow-scrolling: touch; }
.m2l-embed iframe { display: block; width: 100%; height: 900px; border: 0; }
.m2l-findus { display: grid !important; grid-template-columns: 480px minmax(0, 1fr); gap: 0 !important; margin: 0 !important; border: 1px solid var(--m2l-line); }
.m2l-findus > .wp-block-column { min-width: 0; }
.m2l-findus > .wp-block-column:first-child { padding: 64px 56px; background: #fff; }
.m2l-findus > .wp-block-column:first-child > * { margin: 0 0 14px; }
.m2l-findus h3 { font-size: 44px; margin-bottom: 22px !important; }
.m2l-findus a { color: var(--m2l-brown); font-weight: 700; }
.m2l-findus .wp-block-button__link { color: var(--m2l-brown); border-color: var(--m2l-brown); }
.m2l-findus .wp-block-buttons { margin-top: 16px !important; }
.m2l-map, .m2l-map iframe { display: block; width: 100%; height: 100%; min-height: 470px; border: 0; }
.m2l-map iframe { filter: grayscale(.35) contrast(.95); }

/* ---------- footer ---------- */
.m2l-footer { background: var(--m2l-stone); padding: 96px 0 40px; font-size: 16px; line-height: 1.7; }
.m2l-footer .m2l-wrap { max-width: 1248px; padding-inline: var(--m2l-pad); box-sizing: content-box; }
.m2l-footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--m2l-line-dark); }
.m2l-footer-top > * { margin: 0 !important; }
.m2l-footer-big { font-weight: 800; font-size: clamp(40px, 5.4vw, 80px); line-height: .9; text-transform: uppercase; color: var(--m2l-ink); }
.m2l-footer-cols { display: grid !important; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px !important; margin: 0 !important; padding-bottom: 56px; border-bottom: 1px solid var(--m2l-line-dark); }
.m2l-footer-cols > .wp-block-column > * { margin: 0 0 16px; }
.m2l-footer-cols .m2l-label { color: var(--m2l-ink); }
.m2l-footer-cols a { color: var(--m2l-body); }
.m2l-footer-cols a:hover { color: var(--m2l-brown); }
.m2l-footer-cols p { max-width: 300px; }
.m2l-footer .wp-block-site-logo img { width: 76px; height: auto; display: block; }
.m2l-social .wp-social-link { background: none !important; color: var(--m2l-brown) !important; border: 1.5px solid var(--m2l-brown); border-radius: 0 !important; transition: background-color .25s ease, color .25s ease; }
.m2l-social .wp-social-link a { padding: 11px !important; }
.m2l-social .wp-social-link svg { width: 20px; height: 20px; }
.m2l-social .wp-social-link:hover { background: var(--m2l-brown) !important; color: #fff !important; transform: none; }
.m2l-footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.m2l-footer-bottom > * { margin: 0 !important; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .m2l-plancards { grid-template-columns: 1fr 1fr; }
  .m2l-faqgrid { grid-template-columns: 1fr; gap: 40px !important; }
  .m2l-findus { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .m2l-memgrid { grid-template-columns: 1fr; }
  .m2l-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 46vw; gap: 8px; }
  .m2l-bento > * { grid-column: auto !important; grid-row: auto !important; }
  .m2l-bento > :nth-child(1) { grid-column: 1 / -1 !important; }
  .m2l-bento > :nth-child(3), .m2l-bento > :nth-child(5), .m2l-bento > :nth-child(8) { grid-row: span 2 !important; }
  .m2l-tile { padding: 18px; }
  .m2l-tile-text { font-size: clamp(19px, 5.6vw, 26px); }
}
@media (max-width: 900px) {
  .m2l-offer { padding: 6px 48px 6px 16px; }
  .m2l-offer p { font-size: 11px; letter-spacing: .14em; white-space: nowrap; }
  .m2l-hide-m { display: none; }
  .m2l-header { grid-template-columns: auto 1fr auto; height: 64px; padding: 0 16px; }
  .m2l-header .wp-block-site-logo { display: none; }
  .m2l-nav { justify-content: flex-start; }
  .m2l-header-cta .wp-block-button__link { min-height: 48px; padding: 0 18px; }
  .m2l-hero, .m2l-split { grid-template-columns: 1fr; min-height: 0; }
  .m2l-hero > .wp-block-column:last-child, .m2l-split > .wp-block-column:last-child { order: -1; height: 62vw; min-height: 320px; }
  .m2l-hero > .wp-block-column:first-child { padding: 56px 20px 72px; }
  .m2l-split > .wp-block-column:first-child { padding: 72px 20px; }
  .m2l-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m2l-pillars { grid-template-columns: 1fr; }
  .m2l-plancards { grid-template-columns: 1fr; }
  .m2l-footer-cols { grid-template-columns: 1fr 1fr; }
  .m2l-picker-info { grid-template-columns: 1fr 1fr; }
  .m2l-findus > .wp-block-column:first-child { padding: 40px 24px; }
}
@media (max-width: 560px) {
  .m2l-cards h3 { font-size: clamp(19px, 5.4vw, 24px); }
  .m2l-footer-cols { grid-template-columns: 1fr; }
  .m2l-plancard { padding: 36px 24px 28px; }
}

/* ---------- motion ---------- */
@keyframes m2l-up { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes m2l-left { from { opacity: 0; translate: -56px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes m2l-right { from { opacity: 0; translate: 120px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes m2l-word { from { opacity: 0; translate: 0 .55em; filter: blur(8px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes m2l-img { from { clip-path: inset(14% 8% 14% 8%); scale: 1.2; } to { clip-path: inset(0 0 0 0); scale: 1; } }
@keyframes m2l-grow { from { opacity: 0; scale: .15; } to { opacity: 1; scale: 1; } }
.m2l-w { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .m2l-main > :first-child h1 .m2l-w { animation: m2l-word 1s var(--m2l-ease) both; animation-delay: calc(var(--i) * 110ms + 150ms); }
  .m2l-main > :first-child p, .m2l-main > :first-child .wp-block-buttons { animation: m2l-left 1.1s var(--m2l-ease) both; animation-delay: .75s; }
  .m2l-main > :first-child .m2l-cover img { animation: m2l-img 1.8s var(--m2l-ease) both; animation-delay: .2s; }
  @supports (animation-timeline: view()) {
    .m2l-main > :not(:first-child) h2 .m2l-w { animation: m2l-word linear both; animation-timeline: view(); animation-range: entry calc(var(--i) * 4%) entry calc(25% + var(--i) * 4%); }
    .m2l-main > :not(:first-child) :is(p, h3):not(.m2l-cards *):not(.m2l-bento *):not(.m2l-carousel *):not(.m2l-plans *) { animation: m2l-left linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
    .m2l-cards > .wp-block-column { animation: m2l-right linear both; animation-timeline: view(); }
    .m2l-cards > .wp-block-column:nth-child(1) { animation-range: entry 0% entry 30%; }
    .m2l-cards > .wp-block-column:nth-child(2) { animation-range: entry 5% entry 35%; }
    .m2l-cards > .wp-block-column:nth-child(3) { animation-range: entry 10% entry 40%; }
    .m2l-cards > .wp-block-column:nth-child(4) { animation-range: entry 15% entry 45%; }
    .m2l-cards img, .m2l-main > :not(:first-child) .m2l-cover img { animation: m2l-img linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    .m2l-bento > * { animation: m2l-grow linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
    .m2l-bento > :nth-child(4n+2) { animation-range: entry 5% entry 35%; }
    .m2l-bento > :nth-child(4n+3) { animation-range: entry 10% entry 40%; }
    .m2l-bento > :nth-child(4n) { animation-range: entry 15% entry 45%; }
    .m2l-plancards > .wp-block-column, .m2l-pillars > .wp-block-column, .m2l-memgrid > .wp-block-column, .m2l-findus { animation: m2l-up linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
  }
}
