/* Customer editorial pages share the established palette, frames and buttons. */
.memoire-page{--mm-editorial-title:44px;--mm-editorial-heading:38px;--mm-editorial-gap:72px;--mm-editorial-card-gap:32px}
.desktop-nav a[aria-current=page],.mobile-nav a[aria-current=page]{color:var(--mm-gold);text-decoration:underline;text-underline-offset:6px}
.mm-editorial-heading{text-align:center;padding-block:64px 56px}
.mm-editorial-heading h1{font-size:var(--mm-editorial-title);margin:12px 0 16px}
.mm-editorial-heading>p:last-child{font-size:var(--mm-body);line-height:2}
.mm-editorial-ornament{display:block;width:240px;max-width:100%;height:48px;color:var(--mm-gold);margin:16px auto 12px}
.mm-editorial-intro{display:grid;grid-template-columns:1.1fr 1fr;gap:var(--mm-editorial-gap);align-items:center;padding-bottom:var(--mm-section)}
.mm-editorial-copy{min-width:0}
.mm-editorial-copy h2{font-size:var(--mm-editorial-heading);line-height:1.65;margin-block:20px 24px}
.mm-editorial-copy em{font-style:normal;color:var(--mm-gold)}
.mm-editorial-copy>p:not(.eyebrow){font-size:var(--mm-body);line-height:2.1;margin-top:22px}
.mm-editorial-copy .mm-editorial-lead{color:var(--mm-ink)}
.mm-editorial-name{border-top:1px solid var(--mm-line);padding-top:24px;margin-top:32px}
.mm-editorial-name>span{font:32px/1.4 "Cormorant Garamond",serif;color:var(--mm-gold)}
.mm-editorial-name p{font-size:var(--mm-body);margin-top:8px}
.mm-editorial-arch{max-width:500px;width:100%;justify-self:center}
.mm-editorial .section-heading h2,.mm-editorial-section-intro h2,.mm-editorial-closing h2{font-size:var(--mm-editorial-heading)}
.mm-editorial-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--mm-editorial-card-gap)}
.mm-editorial-three>*{min-width:0}
.mm-editorial-values .mm-editorial-three>article{border-top:1px solid var(--mm-gold);padding-top:28px}
.mm-editorial-number{display:block;font:42px/1.2 "Cormorant Garamond",serif;color:var(--mm-gold);margin-bottom:20px}
.mm-editorial-three h3{font-size:23px;margin-block:12px 18px}
.mm-editorial-three p:not(.eyebrow){font-size:var(--mm-body);line-height:2}
.mm-editorial-section-intro{display:grid;grid-template-columns:1fr 1fr;gap:var(--mm-editorial-gap);align-items:end;margin-bottom:40px}
.mm-editorial-section-intro h2{margin-top:12px}
.mm-editorial-section-intro>p{font-size:var(--mm-body);line-height:2}
.mm-editorial-pair{display:grid;grid-template-columns:1fr 1fr;gap:var(--mm-editorial-card-gap)}
.mm-editorial-pair>figure{min-width:0}
.mm-editorial-pair figcaption{padding:24px 12px 0}
.mm-editorial-pair h3{margin-top:8px;font-size:23px}
.mm-editorial-defs{position:absolute;width:0;height:0;pointer-events:none}
.mm-editorial-photo-mask{overflow:hidden}
.mm-editorial-frame img{display:block;width:100%;height:auto}
.mm-editorial-pair .mm-editorial-frame img{aspect-ratio:4/3;object-fit:cover}
.mm-editorial-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:40px}
.mm-editorial-closing{background:var(--mm-cream);text-align:center}
.mm-editorial-closing h2{margin:18px 0 24px;line-height:1.7}
.mm-editorial-closing p:not(.eyebrow){font-size:var(--mm-body);line-height:2}
.mm-editorial-emblem{display:block;width:80px;height:80px;margin:0 auto 28px}
.mm-editorial-action-icon{width:22px;height:22px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.mm-gift-intro{display:grid;grid-template-columns:1.3fr 1fr;gap:56px;align-items:center;padding-bottom:var(--mm-section)}
.mm-gift-options .mm-editorial-frame{margin-bottom:28px}
.mm-gift-options .mm-editorial-frame img{aspect-ratio:1/1;object-fit:cover}
.mm-gift-options article:nth-child(2) img{object-position:center 58%}
.mm-gift-steps{list-style:none;padding:0;margin:0}
.mm-gift-steps>li{border-top:1px solid var(--mm-line);padding-top:28px}
@media(max-width:1024px){.memoire-page{--mm-editorial-gap:40px;--mm-editorial-heading:32px}.mm-gift-intro{grid-template-columns:1fr;gap:32px}.mm-gift-intro>.mm-editorial-frame{max-width:800px;width:100%;margin-inline:auto}.mm-gift-intro>.mm-editorial-copy{max-width:680px;margin-inline:auto}.mm-editorial-three{gap:24px}.mm-editorial-three h3{font-size:21px}}
@media(max-width:700px){.memoire-page{--mm-editorial-title:34px;--mm-editorial-heading:30px;--mm-editorial-gap:32px}.mm-editorial-heading{padding-block:40px 32px}.mm-editorial-intro,.mm-editorial-three,.mm-editorial-section-intro,.mm-editorial-pair{grid-template-columns:minmax(0,1fr)}.mm-editorial-intro{gap:40px}.mm-editorial-arch{max-width:420px}.mm-editorial-copy h2{line-height:1.6}.mm-editorial-three{gap:36px}.mm-editorial-section-intro{gap:20px;margin-bottom:28px}.mm-editorial-actions{gap:12px;margin-top:28px}.mm-editorial-actions>.mm-button{width:100%}.mm-editorial-pair{gap:32px}.mm-editorial-three h3,.mm-editorial-pair h3{font-size:22px}.mm-editorial-ornament{width:200px}.mm-editorial-heading>p:last-child{max-width:28em;margin-inline:auto}.mm-editorial-values .section-heading>p br{display:none}}

/* Brand story banner: customer-specific background and responsive live text. */
.mm-brand-page{--mm-brand-banner-height:340px;--mm-brand-banner-gap:64px;--mm-brand-banner-copy:48%;--mm-brand-banner-wash:rgba(250,247,239,.84)}
.mm-brand-page .mm-brand-banner{min-height:var(--mm-brand-banner-height);padding:32px var(--mm-gutter);margin-bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background-image:url('customer/brand-story-banner-v1.webp');background-size:cover;background-position:center}
.mm-brand-banner>p,.mm-brand-banner>h1{max-width:var(--mm-brand-banner-copy)}
.mm-brand-banner .mm-editorial-ornament{margin:0 auto 12px;height:32px}
.mm-brand-banner>p:last-child{color:var(--mm-ink)}
@media(max-width:700px){.mm-brand-page{--mm-brand-banner-height:300px;--mm-brand-banner-gap:40px;--mm-brand-banner-copy:100%}.mm-brand-page .mm-brand-banner{background-image:linear-gradient(var(--mm-brand-banner-wash),var(--mm-brand-banner-wash)),url('customer/brand-story-banner-v1.webp');background-size:auto 100%;padding-block:36px}.mm-brand-banner>p:last-child{max-width:24em}.mm-brand-banner>p:last-child br{display:none}}

.mm-brand-page{--mm-brand-eeg-padding:40px;--mm-brand-eeg-gap:40px;--mm-brand-eeg-subtitle:22px}
.mm-brand-eeg{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:var(--mm-brand-eeg-gap);align-items:center;background:transparent;border:0;padding-block:var(--mm-brand-eeg-padding);margin-bottom:var(--mm-section)}
.mm-brand-eeg .mm-editorial-copy h2{font-size:var(--mm-editorial-heading)}
.mm-brand-eeg h2 span{font-size:var(--mm-brand-eeg-subtitle);white-space:nowrap}
.mm-brand-eeg .mm-editorial-frame img{aspect-ratio:4/3;object-fit:cover}
@media(max-width:700px){.mm-brand-page{--mm-brand-eeg-padding:28px;--mm-brand-eeg-gap:24px;--mm-brand-eeg-subtitle:20px}.mm-brand-eeg{grid-template-columns:minmax(0,1fr)}.mm-brand-eeg br,.mm-brand-intro .mm-editorial-copy p br{display:none}}

.mm-brand-intro{grid-template-columns:minmax(0,1fr) minmax(0,1.65fr)}
.mm-brand-intro .mm-editorial-arch{max-width:700px}
@media(max-width:700px){.mm-brand-intro{grid-template-columns:minmax(0,1fr)}}

.mm-brand-page{--mm-brand-photo-radius:100px;--mm-brand-intro-space:36px;--mm-brand-photo-line:var(--mm-line)}
.mm-brand-intro{gap:40px;padding-bottom:var(--mm-brand-intro-space)}
.mm-brand-reception{margin:0;border:1px solid var(--mm-brand-photo-line);padding:6px;border-radius:var(--mm-brand-photo-radius) var(--mm-brand-photo-radius) 0 0}
.mm-brand-reception img{width:100%;height:auto;border-radius:calc(var(--mm-brand-photo-radius) - 6px) calc(var(--mm-brand-photo-radius) - 6px) 0 0}
.mm-brand-eeg-photo{margin:0}.mm-brand-eeg-photo img{display:block;width:100%;height:auto}
@media(max-width:700px){.mm-brand-page{--mm-brand-photo-radius:48px}.mm-brand-intro{gap:24px}}

.mm-brand-title-decoration{width:max-content;max-width:100%}
.mm-brand-title-decoration .ornament{display:flex;width:100%}
.mm-brand-title-decoration .ornament::before,.mm-brand-title-decoration .ornament::after{flex:1;width:auto}

/* Compact EEG banner with live text and decorative background. */
.mm-brand-page{--mm-eeg-banner-height:240px;--mm-eeg-banner-radius:24px;--mm-eeg-banner-inset:32%;--mm-eeg-banner-right:15%;--mm-eeg-banner-wash:rgba(250,247,239,.92)}
.mm-brand-eeg{display:block;min-height:var(--mm-eeg-banner-height);padding:32px var(--mm-eeg-banner-right) 32px var(--mm-eeg-banner-inset);background:var(--mm-paper) url('customer/eeg-banner-v2.webp') center/cover no-repeat;border:1px solid var(--mm-line);border-radius:var(--mm-eeg-banner-radius);overflow:hidden}
.mm-brand-eeg .mm-editorial-copy h2{margin-block:8px 12px;font-size:var(--mm-editorial-heading)}
.mm-brand-eeg .mm-editorial-copy>p:not(.eyebrow){margin-top:0;line-height:1.9;color:var(--mm-ink)}
.mm-brand-eeg br{display:none}
@media(max-width:700px){.mm-brand-eeg{padding:180px 22px 28px;background-image:linear-gradient(to bottom,transparent 100px,var(--mm-eeg-banner-wash) 180px),url('customer/eeg-banner-v2.webp');background-size:100% 100%,auto 180px;background-position:center,left top}.mm-brand-eeg .mm-editorial-copy h2{font-size:var(--mm-editorial-heading)}}

/* Enlarge only the equipment vignette, keeping the live copy and brain graphic. */
.mm-brand-page{--mm-eeg-equipment-width:36%;--mm-eeg-equipment-zoom:220%}
.mm-brand-eeg{position:relative;isolation:isolate}
.mm-brand-eeg::before{content:"";position:absolute;inset:0 auto 0 0;width:var(--mm-eeg-equipment-width);z-index:-1;background:url('customer/eeg-banner-v2.webp') -20px 60%/auto var(--mm-eeg-equipment-zoom) no-repeat;mask-image:linear-gradient(to right,black 96%,transparent)}
@media(max-width:700px){.mm-brand-eeg::before{width:100%;height:180px;bottom:auto;background-size:auto 190%;background-position:-8px 60%;mask-image:linear-gradient(to bottom,black 92%,transparent)}}

/* Lecture page approved banner, with the shared pearl divider. */
.memoire-page{--mm-lecture-banner-height:340px;--mm-lecture-banner-wash:rgba(251,248,241,.25)}
.memoire-page main.mm-core:has(>.mm-lecture-page){max-width:none;width:100%;margin:0;padding:0}
.mm-lecture-banner{min-height:var(--mm-lecture-banner-height);padding:32px var(--mm-gutter);display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(var(--mm-lecture-banner-wash),var(--mm-lecture-banner-wash)),url('customer/lecture-banner-v1.webp') center/cover no-repeat}
.mm-lecture-banner>p,.mm-lecture-banner h1{max-width:48%}
.mm-lecture-banner .mm-editorial-ornament{height:32px;margin:0 auto 12px}
.mm-lecture-banner>p:last-child{color:var(--mm-ink)}
@media(max-width:700px){.memoire-page{--mm-lecture-banner-height:280px;--mm-lecture-banner-wash:rgba(251,248,241,.8)}.mm-lecture-banner{background-image:linear-gradient(var(--mm-lecture-banner-wash),var(--mm-lecture-banner-wash)),url('customer/lecture-banner-v1.webp')}.mm-lecture-banner>p,.mm-lecture-banner h1{max-width:100%}.mm-lecture-banner h1{font-size:30px}}

.memoire-page main.mm-core:has(>.mm-gift-page){max-width:none;width:100%;margin:0;padding:0}
.mm-gift-banner{position:relative;isolation:isolate;overflow:hidden;min-height:340px;display:flex;align-items:center;justify-content:center;padding:32px var(--mm-gutter)}
.mm-gift-banner img{position:absolute;z-index:-1;top:-42%;left:0;display:block;width:100%;height:183%;object-fit:cover;object-position:center}
.mm-gift-banner-copy{position:relative;max-width:60%}
.mm-gift-banner-copy>p:last-child{line-height:2;color:var(--mm-ink)}
.mm-gift-banner .mm-editorial-ornament{height:32px;margin:0 auto 12px}
@media(max-width:700px){.mm-gift-banner{min-height:280px}.mm-gift-banner-copy{max-width:100%}.mm-gift-banner::after{content:"";position:absolute;inset:0;background:var(--mm-paper);opacity:.65;z-index:-1}}
.mm-gift-page>.mm-gift-intro{padding-top:64px}
@media(max-width:700px){.mm-gift-page>.mm-gift-intro{padding-top:40px}}

.mm-gift-option-photo{display:block;width:100%;height:auto;overflow:hidden}
.mm-gift-options article{text-align:center}
.mm-gift-options h3{line-height:1.6}

.mm-gift-option-title{display:flex;align-items:center;justify-content:center;gap:10px}
.mm-gift-option-icon{width:34px;height:34px;flex-shrink:0;fill:none;stroke:var(--mm-gold);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.mm-gift-option-title span{min-width:0;word-break:keep-all}

.mm-brand-banner-divider{margin-bottom:var(--mm-brand-banner-gap)}

/* Group-program introduction shares the customer's ivory, gold and typography. */
.mm-group-program{padding-top:64px}
.mm-group-panel{display:grid;grid-template-columns:1fr 1.65fr;align-items:center;gap:28px;padding:24px;background:transparent;border:26px solid transparent;border-image:url("customer/group-ornate-frame.svg") 26 stretch;outline:0;border-radius:0}

.mm-group-heading{text-align:center}
.mm-group-heading h2{font-size:26px;line-height:1.6;word-break:keep-all;margin:8px 0 10px}
.mm-group-heading .eyebrow{font-size:12px;letter-spacing:.12em;line-height:1.8}
.mm-group-icon{width:52px;height:46px;fill:none;stroke:var(--mm-gold);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.mm-group-list{list-style:none;margin:0;padding:0 0 0 28px;border-left:1px solid var(--mm-line)}
.mm-group-list li{position:relative;padding-left:16px}
.mm-group-list li+li{margin-top:18px}
.mm-group-list li::before{content:"◆";position:absolute;left:0;top:5px;font-size:9px;color:var(--mm-gold)}
.mm-group-list h3{font-family:inherit;font-size:16px;font-weight:500;line-height:1.6;word-break:keep-all}
.mm-group-list p{font-size:14px;line-height:1.8;color:var(--mm-muted);margin-top:3px;word-break:keep-all}
.mm-lecture-page .mm-inquiry{padding-top:40px}
@media(max-width:1024px){.mm-group-panel{grid-template-columns:1fr 1.5fr}}
@media(max-width:700px){.mm-group-program{padding-top:40px}.mm-group-panel{grid-template-columns:minmax(0,1fr);gap:24px;padding:20px 6px}.mm-group-list{border-left:0;border-top:1px solid var(--mm-line);padding:24px 0 0}.mm-group-heading h2{font-size:26px}}

.mm-group-list{text-align:center}
.mm-group-list li{padding-left:0}
.mm-group-list li::before{position:static;display:inline-block;margin-bottom:6px}

/* Keep exterior gutters and separate copy from the equipment at laptop widths. */
.memoire-page .mm-brand-eeg{width:calc(100% - var(--mm-gutter) * 2);margin-inline:auto;padding-left:40%;padding-right:8%}
@media(max-width:1000px){
 .memoire-page .mm-brand-eeg{padding:200px 28px 28px;background-image:linear-gradient(to bottom,transparent 100px,var(--mm-eeg-banner-wash) 180px),url('customer/eeg-banner-v2.webp');background-size:100% 100%,auto 180px;background-position:center,left top}
 .mm-brand-eeg::before{width:100%;height:180px;bottom:auto;background-size:auto 190%;background-position:-8px 60%;mask-image:linear-gradient(to bottom,black 92%,transparent)}
}
