

.mk-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px var(--s2); margin-top: var(--s2); }
.mk-btns .link { display: inline-flex; align-items: center; min-height: 44px; }


.m4-hero { padding-block: var(--s4) var(--s3); align-items: end; }
.m4-h1 { grid-column: 1 / span 8; }
.m4-intro { grid-column: 9 / span 4; }
.m4-intro p { text-wrap: pretty; }
.m4-intro p + p { margin-top: 12px; }
.m4-jump { display: flex; flex-wrap: wrap; gap: 8px var(--s1); margin-top: var(--s1); }
.m4-jump a { display: inline-flex; align-items: center; min-height: 44px; font: 700 var(--h3)/1 var(--f-head); }


.m4-band { padding-block: var(--s3) var(--s4); border-top: 1px solid var(--hair); overflow: hidden; }
.m4-b2, .m4-b4 { background: var(--panel); }

.m4-word { grid-column: 1 / -1; font: 700 clamp(64px, calc((100cqw - 2 * var(--mx)) / 2.6), 640px)/0.8 var(--f-head); letter-spacing: -0.04em; white-space: nowrap; color: var(--bone); }
.m4-r .m4-word { text-align: right; }
.m4-row { position: relative; margin-top: -7cqw; align-items: start; }   
.m4-smp { position: relative; z-index: 1; }
.m4-txt { padding-top: 9cqw; }
.m4-l .m4-smp { grid-column: 2 / span 6; }
.m4-l .m4-txt { grid-column: 9 / span 4; }
.m4-r .m4-smp { grid-column: 6 / span 6; grid-row: 1; }
.m4-r .m4-txt { grid-column: 1 / span 4; grid-row: 1; }
.m4-name { font-weight: 700; font-size: var(--h3); line-height: 1.2; }
.m4-promise { margin-top: 8px; font: 700 var(--h2)/1.12 var(--f-head); text-wrap: balance; }
.m4-txt p.ash { margin-top: var(--s1); text-wrap: pretty; max-width: 40ch; }
.m4-b1 .sx-fig, .m4-b3 .sx-fig { max-width: 440px; }
.m4-b3 .sx-fig { margin-left: auto; }


.m4-part { padding-block: var(--s3); border-top: 1px solid var(--hair); }
.m4-part p { grid-column: 1 / span 10; font: 700 var(--h2)/1.2 var(--f-head); text-wrap: balance; }
.m4-part span { color: var(--ash); }


.m4-closerow { align-items: end; }
.m4-close .m4-word { grid-column: 1 / span 8; font-size: clamp(64px, calc((100cqw - 2 * var(--mx)) / 2.9), 600px); }
.m4-cta { grid-column: 9 / span 4; padding-bottom: 0.6cqw; }
.m4-cta > p.ash { margin-top: var(--s1); max-width: 40ch; text-wrap: pretty; }
.m4-cta .mk-btns { margin-top: var(--s2); }

@container site (max-width: 1199px) {
  .m4-h1, .m4-intro { grid-column: 1 / -1; }
  .m4-intro { margin-top: var(--s2); max-width: 560px; }
  .m4-l .m4-smp, .m4-r .m4-smp { grid-column: 1 / span 8; grid-row: 1; }
  .m4-l .m4-txt, .m4-r .m4-txt { grid-column: 1 / span 8; grid-row: 2; padding-top: var(--s2); }
  .m4-close .m4-word, .m4-cta { grid-column: 1 / -1; }
  .m4-cta { margin-top: var(--s2); }
  .m4-part p { grid-column: 1 / -1; }
  .m4-b3 .sx-fig { margin-left: 0; }
}
@container site (max-width: 720px) {
  .m4-band { padding-block: var(--s2) var(--s3); }
  .m4-row { margin-top: -1.5cqw; }   
  .m4-l .m4-smp, .m4-r .m4-smp, .m4-l .m4-txt, .m4-r .m4-txt { grid-column: 1 / -1; }
  .m4-promise { font-size: 22px; }
  .m4-part p { font-size: 22px; }
  .mk-btns { flex-direction: column; align-items: flex-start; }
}


@keyframes m4-in-l { from { transform: translateX(8%); } to { transform: none; } }   
@keyframes m4-in-r { from { transform: translateX(-8%); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    html:not(.no-motion) .m4-band { view-timeline: --m4 block; }
    html:not(.no-motion) .m4-l .m4-word { animation: m4-in-l linear both; animation-timeline: --m4; animation-range: entry 0% cover 40%; }
    html:not(.no-motion) .m4-r .m4-word { animation: m4-in-r linear both; animation-timeline: --m4; animation-range: entry 0% cover 40%; }
  }
}


.sx-fig { margin: 0; }
.sx-fig figcaption { margin-top: 12px; }
.sx-from { margin-top: 6px; color: var(--bone); }   
.smp { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sx { --paper: #F1ECE2; --text: #1C1A17; --muted: #5E584F; --sage: #4F5E45; --blush: #E3C9BE; --moss: #2F3A2A; --line: #D6CEC0;
  background: var(--paper); color: var(--text); font-family: var(--f-body); font-size: 14px; line-height: 1.4; border-radius: 10px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); overflow: hidden; }
.sx b { font-weight: 700; }
.sx small { display: block; font-size: 12px; color: var(--muted); }
.sx-pill { display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border: 1px solid var(--text); border-radius: 999px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.sx-pill-solid { background: var(--sage); border-color: var(--sage); color: #F1ECE2; }


.sx-ad { max-width: 400px; }
.sx-ad-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; }
.sx-av { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--sage); color: #F1ECE2; font-weight: 700; font-size: 13px; letter-spacing: 0.02em; }
.sx-who b { display: block; font-size: 14px; }
.sx-ad-txt { padding: 0 16px 12px; }
.sx-ad-art { position: relative; aspect-ratio: 1; background: var(--moss); color: #F1ECE2; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.sx-ad-art p { font-weight: 700; font-size: clamp(34px, 11cqi, 52px); line-height: 0.98; letter-spacing: -0.02em; }
.sx-ad-art span { font-size: 13px; letter-spacing: 0.04em; }
.sx-ad-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 16px; background: var(--blush); }
.sx-ad-foot small { text-transform: uppercase; letter-spacing: 0.04em; font-size: 11px; color: #4A4038; }
.sx-ad { container-type: inline-size; }


.sx-vid { max-width: 620px; }
.sx-reel { background: #1F271C; padding: 6px 6px 10px; }
.sx-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.sx-f { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 4px; background: var(--moss); color: #F1ECE2; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; }
.sx-shot { position: absolute; top: 8px; left: 10px; font-size: 11px; letter-spacing: 0.04em; }
.sx-cap { position: relative; font-weight: 700; font-size: 14px; line-height: 1.08; }
.sx-bar { display: block; height: 3px; margin-top: 8px; background: #5F6B57; border-radius: 2px; box-shadow: inset 7.5rem 0 0 #F1ECE2; }   
.sx-f i, .sx-f b { display: block; }

.sx-f-shutter { background: #3A4734; }
.sx-slats { position: absolute; top: 26px; left: 0; right: 0; display: grid; gap: 3px; }
.sx-slats i { height: 9px; background: #8C9682; }

.sx-f-hands { background: var(--moss); }
.sx-bunch { position: absolute; left: 50%; top: 22%; width: 64%; aspect-ratio: 1; transform: translateX(-50%); }
.sx-bunch i { position: absolute; width: 42%; aspect-ratio: 1; border-radius: 50%; }
.sx-bunch i:nth-child(1) { left: 6%; top: 18%; background: var(--blush); }
.sx-bunch i:nth-child(2) { left: 30%; top: 0; background: #F1ECE2; }
.sx-bunch i:nth-child(3) { left: 54%; top: 16%; background: var(--blush); }
.sx-bunch i:nth-child(4) { left: 18%; top: 40%; background: #8C9682; }
.sx-bunch i:nth-child(5) { left: 42%; top: 38%; background: #C99A8B; }
.sx-bunch b { position: absolute; left: 40%; top: 74%; width: 20%; height: 9%; background: #F1ECE2; border-radius: 2px; }

.sx-f-bench { background: #4A3B2E; }
.sx-planks { position: absolute; inset: 30% 0 auto; display: grid; gap: 5px; }
.sx-planks i { height: 26px; background: #B89B78; }
.sx-planks i:nth-child(2) { background: #A68866; margin-left: 12%; }

.sx-f-door { background: var(--sage); }
.sx-door { position: absolute; left: 22%; right: 22%; top: 16%; bottom: 34%; border: 3px solid #F1ECE2; border-bottom: 0; border-radius: 40px 40px 0 0; }
.sx-door i { position: absolute; inset: 0 auto 0 0; width: 46%; background: #F1ECE2; border-radius: 37px 0 0 0; }
.sx-edit { border-collapse: collapse; width: 100%; font-size: 13px; align-self: start; }
.sx-edit caption { text-align: left; font-weight: 700; padding: 16px 14px 10px; }
.sx-edit th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 500; padding: 6px 14px; border-bottom: 1px solid var(--line); }
.sx-edit td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sx-edit td:nth-child(2) { color: var(--muted); }


.sx-grid { max-width: 420px; }
.sx-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 0 3px 3px; }
.sx-tiles li { aspect-ratio: 1; display: flex; align-items: flex-end; padding: 10px; font-weight: 700; font-size: 14px; line-height: 1.1; }
.sx-ta { background: var(--moss); color: #F1ECE2; }
.sx-tb { background: var(--blush); color: var(--text); font-size: 17px !important; }
.sx-tc { background: #E7DFD2; color: var(--text); }
.sx-td { background: var(--sage); color: #F1ECE2; }
.sx-te { background: var(--paper); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); font-size: 18px !important; }


.sx-page { max-width: 640px; }
.sx-site { padding: 18px 24px 20px; }
.sx-nav { display: flex; gap: 16px; align-items: baseline; font-size: 13px; color: var(--muted); }
.sx-nav b { color: var(--text); font-size: 16px; margin-right: auto; }
.sx-h { margin-top: 26px; font-weight: 700; font-size: clamp(24px, 4.6cqi, 32px); line-height: 1.06; letter-spacing: -0.015em; max-width: 18ch; }
.sx-sub { margin-top: 10px; color: var(--muted); max-width: 40ch; }
.sx-page .sx-pill { margin-top: 16px; }
.sx-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.sx-cols b { display: block; }
.sx-cols p { color: var(--muted); }
.sx-cols b { color: var(--text); }
.sx-small { margin-top: 18px; font-size: 12px; color: var(--muted); }
.sx-page { container-type: inline-size; }

@container site (max-width: 720px) {
  .sx-f { padding: 6px; }
  .sx-cap { font-size: 11px; }
  .sx-shot { font-size: 10px; left: 6px; }
  .sx-planks i { height: 16px; }
  .sx-cols { grid-template-columns: 1fr; gap: 8px; }
  .sx-site { padding: 16px; }
  .sx-tiles li { font-size: 12px; padding: 8px; }
  .sx-tb, .sx-te { font-size: 14px !important; }
}


.page:not(.sx-tal) .sx-tl, .page.sx-tal .sx-fig:not(.sx-tl) { display: none; }


.sx-tl .sx { box-shadow: 0 0 0 1px #3A363B, 0 30px 60px -20px rgba(0, 0, 0, 0.7); }   
.sx-tl .sx-av { background: var(--ink); }
.sx-tl .sx-av .tt { width: 18px; height: 22px; }
.sx-tl .sx-ad-art { background: var(--ink); color: var(--bone); padding: 26px; }
.sx-tl .sx-ad-art .wm { width: 34%; height: auto; }
.sx-tl .sx-ad-art p { font-family: var(--f-head); font-size: clamp(30px, 10.5cqi, 48px); line-height: 1.02; letter-spacing: -0.01em; max-width: 9ch; }
.sx-seals { display: flex; gap: 3%; }
.sx-seals .seal { width: 12%; height: auto; aspect-ratio: 1; }
.sx-tl .sx-ad-foot { background: #E4DED3; }
.sx-tl .sx-ad-foot small { color: var(--muted); }
.sx-tl .sx-ad-foot .sx-pill { background: var(--red); border-color: var(--red); color: var(--bone); }


.sx-tl .sx-reel { background: var(--ink); }
.sx-tl .sx-f { background: var(--panel); color: var(--bone); }
.sx-tl .sx-bar { background: var(--hair); box-shadow: inset 7.5rem 0 0 var(--bone); }
.sx-ph { position: absolute; left: 28%; right: 28%; top: 18%; bottom: 40%; border: 2px solid var(--bone); border-radius: 10px; }   
.sx-ph i { position: absolute; top: 16%; left: 12%; right: 12%; height: 20%; background: var(--red); border-radius: 3px; }   
.sx-msgs { position: absolute; inset: 20% 10% auto; display: grid; gap: 6px; }
.sx-msgs i { height: 16px; width: 78%; border-radius: 8px; background: var(--hair); }
.sx-msgs i:nth-child(2) { justify-self: end; width: 70%; background: var(--bone); }   
.sx-msgs i:nth-child(3) { width: 48%; }
.sx-f-dawn { background: #1A1719; }
.sx-sun { position: absolute; left: 0; right: 0; top: 46%; height: 1px; background: var(--ash); }   
.sx-sun i { position: absolute; left: 50%; bottom: 0; width: 46%; aspect-ratio: 2 / 1; transform: translateX(-50%); border-radius: 999px 999px 0 0; background: var(--bone); }
.sx-f-end { background: var(--ink); box-shadow: inset 0 0 0 1px var(--hair); }
.sx-endmark { position: absolute; top: 22%; left: 10px; right: 10px; display: grid; justify-items: center; gap: 12px; color: var(--bone); }
.sx-endmark .seal { width: 38%; height: auto; aspect-ratio: 1; }
.sx-endmark .wm { width: 84%; height: auto; }
.sx-f-end .sx-cap { font-family: var(--f-head); }
.sx-vcap { padding: 16px 14px 0; font-size: 13px; }
.sx-vcap b { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }


.sx-li { max-width: 440px; container-type: inline-size; }
.sx-li-txt { display: grid; gap: 8px; padding: 0 16px 14px; }
.sx-li-art { background: var(--ink); color: var(--bone); padding: 24px 20px 22px; }
.sx-li-h { font: 700 clamp(22px, 7cqi, 30px)/1.08 var(--f-head); max-width: 14ch; }
.sx-six { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; margin-top: 18px; font-size: 13px; line-height: 1.2; }
.sx-six li { display: flex; align-items: center; gap: 8px; }
.sx-six .seal { width: 28px; height: 28px; flex: none; }
.sx-li-acts { display: flex; justify-content: space-around; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--muted); }


.sx-tl .sx-page { background: var(--ink); color: var(--bone); }
.sx-tl .sx-nav { align-items: center; color: var(--ash); }
.sx-tl .sx-nav b { color: var(--bone); line-height: 0; }
.sx-tl .sx-nav .wm { width: 92px; height: auto; }
.sx-tl .sx-h { font-family: var(--f-head); }
.sx-tl .sx-sub, .sx-tl .sx-cols p, .sx-tl .sx-small { color: var(--ash); }
.sx-tl .sx-pill-solid { background: var(--red); border-color: var(--red); color: var(--bone); }
.sx-tl .sx-cols { border-top-color: var(--hair); }
.sx-tl .sx-cols b { color: var(--bone); }
.sx-tl .sx-cols .seal { display: block; width: 28px; height: 28px; margin-bottom: 8px; }

@container site (max-width: 720px) {
  .sx-li-art { padding: 20px 16px; }
  .sx-six { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .sx-msgs i { height: 10px; }
  .sx-vcap { padding: 12px 10px 0; }
}
