/* Shared editorial chapter styling. All rules are scoped to the Understanding Randmar page. */
.randmar-story{--story-paper:#f7f6f2;--story-ink:var(--ink);--story-muted:#52616d;--story-rule:#d5dbda;--story-red:var(--ur-brand-red);background:var(--story-paper);color:var(--story-ink);overflow-wrap:anywhere}
.randmar-story figure{margin:0;min-width:0}.randmar-story img{display:block;max-width:100%;height:auto}.randmar-story figcaption{font-size:12px;line-height:1.6;color:var(--story-muted);margin-top:12px}.randmar-story :is(h2,h3){font-size:clamp(30px,3.1vw,44px);font-weight:400;line-height:1.12;letter-spacing:-.045em;margin:0 0 26px;text-wrap:balance}.randmar-story p{margin:0 0 20px}.randmar-story .story-copy p:not(.story-kicker){font-size:18px;line-height:1.8;max-width:66ch;color:#394b59}.randmar-story .story-kicker{font-size:11px;line-height:1.6;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--story-red);margin-bottom:30px}.randmar-story a:focus-visible{outline:3px solid var(--ur-brand-red);outline-offset:5px}.randmar-story section:focus{outline:none}
.story-timeline{position:relative;padding-left:36px}.story-timeline::before{content:'';position:absolute;left:0;top:86px;bottom:100px;width:1px;background:var(--story-rule)}.story-chapter{position:relative;padding:86px 0;border-bottom:1px solid var(--story-rule);scroll-margin-top:24px}.story-chapter::before{content:'';position:absolute;top:92px;left:-40px;width:9px;height:9px;border:2px solid var(--story-paper);border-radius:50%;background:var(--story-red);box-shadow:0 0 0 1px var(--story-red)}.story-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center}.story-year{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:340px;padding:36px;}.story-year>span{font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:#fff}.story-year strong{font-size:clamp(80px,10vw,150px);line-height:1.2;font-weight:400;letter-spacing:-.075em;color:#fff}.story-year strong span{color:var(--story-red)}.story-section-intro{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px;margin-bottom:36px}.story-portraits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:42px 0}.story-operations .story-copy p{font-size:17px;line-height:1.75}.story-operations figure img{aspect-ratio:4/3;object-fit:cover;object-position:center}.story-text-link{display:inline-flex;align-items:center;gap:20px;min-height:48px;padding:8px 0;font-size:15px;font-weight:600;text-decoration:underline;text-underline-offset:6px}.story-text-link span{color:var(--story-red)}.story-operations-strip{list-style:none;margin:34px 0 0;padding:22px 0 0;border-top:1px solid var(--story-rule);display:flex;gap:36px;flex-wrap:wrap;color:var(--story-muted);font-size:12px}.story-operations-strip li::before{content:'—';color:var(--story-red);margin-right:12px}.story-photo-pair{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:32px;align-items:start;margin-top:42px}.story-photo-pair figure:nth-child(2){margin-top:80px}.story-photo-pair img{width:100%;aspect-ratio:3/2;object-fit:cover}.story-photo-pair figure:nth-child(2) img{aspect-ratio:4/3;object-position:50% 55%}.story-closing{border:0;padding-bottom:110px}.story-closing figure img{aspect-ratio:4/3;object-fit:cover;object-position:40% center}.story-actions{display:flex;align-items:flex-start;flex-direction:column;gap:12px;margin-top:30px}.story-primary{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;padding:17px 22px;min-height:54px;background:var(--navy);color:#fff;font-size:15px;line-height:1.5;text-decoration:none;border-radius:4px}.story-primary:hover{background:#20344e}.story-primary span{font-size:20px}
@media(max-width:1024px){.story-split,.story-section-intro{gap:32px}.story-year{padding:24px;min-height:290px}.story-year strong{font-size:90px}.story-portraits{gap:16px}.story-photo-pair{gap:24px}}
@media(max-width:767px){.story-timeline{padding-left:24px}.story-timeline::before{top:54px;bottom:64px}.story-chapter{padding:54px 0}.story-chapter::before{top:60px;left:-28px}.story-chapter .story-kicker{font-size:10px;margin-bottom:24px}.story-split,.story-section-intro{grid-template-columns:1fr;gap:28px}.story-section-intro{margin-bottom:24px}.randmar-story :is(h2,h3){font-size:34px;margin-bottom:22px}.randmar-story .story-copy p:not(.story-kicker){font-size:17px;line-height:1.8}.story-desktop-break{display:none}.story-year{min-height:250px;padding:24px}.story-year strong{font-size:108px}.story-year>span{font-size:10px}.story-portraits{grid-template-columns:1fr;gap:28px;margin:28px 0 36px}.story-operations-strip{display:grid;gap:14px;margin-top:24px}.story-photo-pair{grid-template-columns:1fr;gap:26px;margin-top:28px}.story-photo-pair figure:nth-child(2){margin-top:0}.story-photo-pair figure:nth-child(2) img{aspect-ratio:3/2}.story-closing .story-split{gap:36px}.story-closing{padding-bottom:64px}.story-primary{padding:15px 17px;gap:14px;font-size:14px}.story-actions{align-items:stretch}.story-actions .story-text-link{align-self:flex-start}}
@media(max-width:359px){.randmar-story :is(h2,h3){font-size:30px}.story-year strong{font-size:91px}.story-year{padding:18px}.story-text-link{font-size:14px;gap:12px}}

/* Module 01 lives inside the shared warm editorial panel. */
.randmar-story{background:transparent;--story-paper:#fff;--story-ink:var(--ur-ink);--story-muted:var(--ur-muted)}
.story-module-intro{padding-bottom:54px}.randmar-story .story-module-intro h2{font-size:clamp(30px,3.1vw,44px);scroll-margin-top:115px}.story-module-intro .story-copy p:not(.story-kicker){font-size:17px}.story-module-intro .story-year{min-height:300px}
.story-timeline{padding-left:26px;border-top:1px solid var(--story-rule)}.story-timeline::before{left:0;top:60px;bottom:64px}.story-chapter{padding:60px 0}.story-chapter::before{top:66px;left:-30px}.story-closing{padding-bottom:12px}.story-founding .story-section-intro{margin-bottom:0}
@media(max-width:767px){.story-module-intro{padding-bottom:36px}.story-module-intro .story-year{min-height:220px}.story-timeline{padding-left:18px}.story-chapter{padding:40px 0}.story-chapter::before{left:-22px;top:46px}.story-timeline::before{top:40px;bottom:42px}.story-closing{padding-bottom:0}.story-primary{font-size:13px;padding:14px 12px;gap:10px}.story-module-intro h2{font-size:30px}}
@media print{.story-chapter{padding-block:25px}.story-timeline::before,.story-chapter::before{display:none}.story-timeline{padding-left:0}.randmar-story figure{break-inside:avoid}.randmar-story h3{break-after:avoid}}

/* Reuse Academy cards; only the surrounding module spacing belongs here. */
.story-values{border-top:1px solid var(--story-rule);padding-top:28px}
@media(max-width:767px){.story-values{padding-top:24px}}

.understanding-page .randmar-story .story-values .core-value-copy p{max-width:60ch}

/* Restore the original branded 1936 card using its existing heritage styles. */
.story-module-intro .story-founding-visual{min-height:320px}
.story-module-intro .heritage-date p{margin:12px 0 0;font-size:14px;line-height:1.6}
@media(max-width:767px){.story-module-intro .story-founding-visual{min-height:280px}}

.story-operations .story-warehouse-video{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center}

/* The remaining chapters use the same editorial canvas, rhythm, and brand panels. */
.editorial-module .story-module-intro{min-height:340px}
.editorial-intro-panel{min-height:320px;padding:30px 34px;display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.editorial-intro-panel img{width:150px;align-self:flex-end;margin-bottom:auto}
.editorial-intro-panel p,.editorial-panel-label{color:#dbeaf2;font-size:11px!important;font-weight:600;letter-spacing:.13em;text-transform:uppercase;line-height:1.5!important;margin:12px 0 20px!important}
.editorial-intro-panel ul{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0}
.editorial-intro-panel li{color:#fff;border-top:1px solid #ffffffa0;padding:12px 6px 0 0;font-size:clamp(18px,2vw,28px);letter-spacing:-.03em}
.editorial-intro-photo img{width:100%;aspect-ratio:4/3;object-fit:cover}
.editorial-section-layout.has-image{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center}
.editorial-section-layout:not(.has-image) .story-copy{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);column-gap:64px}
.editorial-section-layout:not(.has-image) h3{grid-column:1;grid-row:1/span 8}
.editorial-section-layout:not(.has-image) .story-copy>*:not(h3){grid-column:2}
.editorial-section-layout .story-copy h3{margin-bottom:26px}
.editorial-section-photo img{width:100%;aspect-ratio:4/3;object-fit:cover}
.editorial-product-photo img{object-fit:contain;background:#fff}
.editorial-module .story-actions{gap:4px;margin-top:12px}
.editorial-module .story-actions .story-text-link{margin:0}
.editorial-source{margin:8px 0 12px}
.editorial-relationship,.editorial-parts{margin-top:36px;padding:28px 32px}
.editorial-relationship ol{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0;margin:0}
.editorial-relationship li{border-top:1px solid #ffffff80;padding:16px 6px 12px 0;color:#fff}
.editorial-relationship li span{display:block;color:#dbeaf2;font-size:11px;letter-spacing:.12em;margin-bottom:12px}
.editorial-relationship li strong{font-size:clamp(17px,2vw,25px);font-weight:500;letter-spacing:-.035em}
.editorial-relationship>p:last-child{color:#e1eef6;font-size:13px;line-height:1.6;margin:16px 0 0}
.editorial-parts>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.editorial-parts>div>div{border-top:1px solid #ffffff80;padding-top:16px}
.editorial-parts h4{font-size:clamp(19px,2vw,27px);font-weight:500;letter-spacing:-.035em;margin:0 0 10px}
.editorial-parts>div p{color:#e1eef6;font-size:14px;line-height:1.6;margin:0}
.editorial-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:38px}
.editorial-paths>a{display:flex;flex-direction:column;gap:15px;min-height:220px;padding:24px 6px;border-top:1px solid var(--story-rule);color:var(--ur-ink);text-decoration:none}
.editorial-paths>a:hover{border-color:#7ca6bd}
.editorial-paths>a>span:nth-child(2){display:grid;gap:9px}
.editorial-path-number{color:var(--story-red);font-size:11px;letter-spacing:.14em;font-weight:600}
.editorial-paths small{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--ur-muted)}
.editorial-paths strong{font-size:clamp(22px,2.4vw,30px);line-height:1.15;font-weight:400;letter-spacing:-.04em}
.editorial-paths a span span{font-size:14px;line-height:1.6;color:var(--ur-muted)}
.editorial-paths>a>span:last-child{margin-top:auto;align-self:flex-end;color:var(--story-red)}
.editorial-module-values .story-chapter h3,
.editorial-module-inside .story-chapter h3{font-size:clamp(36px,3.5vw,50px)}
.editorial-quote{margin:34px 0 0;padding:30px 0 0;border-top:1px solid var(--story-rule)}
.editorial-quote blockquote{font-size:clamp(25px,3vw,40px);line-height:1.2;font-weight:400;letter-spacing:-.04em;margin:0 0 26px;max-width:24ch}
.editorial-quote figcaption{display:grid;gap:5px;font-size:14px;color:var(--ur-ink)}
.editorial-quote figcaption strong{font-weight:600}.editorial-quote figcaption small{font-size:11px;color:var(--ur-muted)}
.editorial-quote>a{display:inline-flex;align-items:center;gap:16px;margin-top:16px;min-height:44px;font-size:13px;text-decoration:none}
.editorial-quote-pair{display:grid;grid-template-columns:1fr 1fr;gap:38px}
.editorial-quote-pair .editorial-quote blockquote{font-size:clamp(22px,2.4vw,31px)}
.editorial-questions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:30px}
.editorial-questions p{border-top:1px solid var(--story-rule);padding-top:18px;color:var(--ur-muted);font-size:15px;line-height:1.7}
.editorial-questions strong{color:var(--ur-ink);font-size:20px;font-weight:500}
@media(max-width:1050px){.editorial-section-layout.has-image,.editorial-section-layout:not(.has-image) .story-copy{gap:32px}.editorial-paths{gap:12px}.editorial-paths>a{padding:18px}}
@media(max-width:767px){.editorial-module .story-module-intro{min-height:0}.editorial-intro-panel{min-height:260px;padding:24px}.editorial-intro-panel img{width:125px}.editorial-section-layout.has-image,.editorial-section-layout:not(.has-image) .story-copy{grid-template-columns:1fr;gap:16px}.editorial-section-layout:not(.has-image) h3,.editorial-section-layout:not(.has-image) .story-copy>*:not(h3){grid-column:1;grid-row:auto}.editorial-section-layout.has-image{gap:24px}.editorial-relationship,.editorial-parts{padding:22px 18px;margin-top:25px}.editorial-relationship ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.editorial-parts>div,.editorial-paths,.editorial-questions,.editorial-quote-pair{grid-template-columns:1fr}.editorial-paths{margin-top:26px}.editorial-paths>a{min-height:0;padding:20px}.editorial-questions{gap:8px}.editorial-quote{padding-top:22px}.editorial-quote-pair{gap:8px}}
@media(max-width:359px){.editorial-relationship ol{grid-template-columns:1fr}.editorial-intro-panel li{font-size:17px}.editorial-quote blockquote{font-size:24px}}

/* The How it works chapter has its own documentary media and relationship diagram. */
.editorial-module-how .how-intro-photo img{aspect-ratio:4/3;object-position:center}
.editorial-module-how #wholesale .editorial-section-layout{grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);gap:48px}
.how-video-wrap{position:relative;overflow:hidden;border-radius:4px;background:#153e60}
.how-video-wrap video{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center}
:is(.editorial-module-how,.editorial-module-values,.editorial-module-inside,.editorial-module-next) .editorial-paths>a{min-height:235px;padding:24px;background:#f3f8fa;border:1px solid var(--ur-line);border-top:3px solid var(--ur-blue);border-radius:10px;box-shadow:0 8px 24px #17374c12;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
:is(.editorial-module-how,.editorial-module-values,.editorial-module-inside,.editorial-module-next) .editorial-paths>a:hover{transform:translateY(-3px);border-color:#8fb2c5;box-shadow:0 14px 30px #17374c20}
:is(.editorial-module-how,.editorial-module-values,.editorial-module-inside,.editorial-module-next) .editorial-paths>a>span:last-child{font-size:20px;line-height:1}
.how-relationship{margin-top:38px;padding:32px 34px 26px}
.how-relationship .editorial-panel-label{margin:0 0 29px!important}
.how-relationship ol{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;margin:0;padding:0}
.how-relationship li{position:relative;min-width:0;color:#fff}
.how-relationship li:not(:last-child)::after{content:'→';position:absolute;top:34px;left:calc(100% + 2px);width:26px;color:#dbeaf2;text-align:center;font-size:20px;font-weight:300;line-height:1}
.how-relationship-icon{width:64px;height:64px;display:grid;place-items:center;border:1px solid #dbeaf282;border-radius:50%;color:#e7f5fc;background:#ffffff0c;margin-bottom:24px}
.how-relationship-icon svg{display:block;width:38px;height:38px}
.how-relationship .is-randmar .how-relationship-icon{border-color:#fff;background:#ffffff22;box-shadow:0 0 0 5px #ffffff12}
.how-relationship-number{display:block;padding-top:13px;border-top:1px solid #dbeaf280;color:#dbeaf2;font-size:11px;font-weight:600;letter-spacing:.13em}
.how-relationship h4{font-size:clamp(19px,1.9vw,27px);font-weight:500;line-height:1.2;letter-spacing:-.035em;margin:8px 0 10px}
.how-relationship li p{color:#e2f0f7;font-size:13px;line-height:1.55;max-width:23ch;margin:0}
.how-relationship-note{border-top:1px solid #dbeaf280;color:#e2f0f7;font-size:13px;line-height:1.6;margin:28px 0 0!important;padding:16px 0 0}
@media(max-width:1050px){.editorial-module-how #wholesale .editorial-section-layout{gap:28px}.how-relationship{padding:27px 25px}.how-relationship ol{gap:20px}.how-relationship li:not(:last-child)::after{left:calc(100% - 1px);width:20px}}
@media(max-width:767px){.editorial-module-how #wholesale .editorial-section-layout{grid-template-columns:1fr;gap:25px}:is(.editorial-module-how,.editorial-module-values,.editorial-module-inside,.editorial-module-next) .editorial-paths>a{min-height:185px;padding:22px}.how-relationship{padding:25px 22px;margin-top:27px}.how-relationship .editorial-panel-label{margin-bottom:22px!important}.how-relationship ol{grid-template-columns:1fr;gap:0}.how-relationship li{display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:17px;padding-bottom:29px}.how-relationship li:last-child{padding-bottom:0}.how-relationship-icon{grid-row:1/span 3;width:50px;height:50px;margin:0}.how-relationship-icon svg{width:30px;height:30px}.how-relationship-number{padding-top:0;border:0}.how-relationship h4{font-size:22px;margin:4px 0 5px}.how-relationship li p{max-width:none}.how-relationship li:not(:last-child)::after{content:'↓';top:55px;left:15px;width:20px;font-size:19px}.how-relationship-note{margin-top:23px!important}}
@media(prefers-reduced-motion:reduce){:is(.editorial-module-how,.editorial-module-values,.editorial-module-inside,.editorial-module-next) .editorial-paths>a{transition:none}:is(.editorial-module-how,.editorial-module-values,.editorial-module-inside,.editorial-module-next) .editorial-paths>a:hover{transform:none}}

/* Your Path: one shared choice surface with three equally prominent routes. */
.editorial-module-path .path-intro-photo img{aspect-ratio:4/3;object-fit:cover;object-position:58% center}
.path-choice-panel{margin-top:38px;padding:30px 32px 32px}
.path-choice-panel .editorial-panel-label{margin:0 0 22px!important}
.path-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.path-choice-grid>a{display:flex;flex-direction:column;min-height:308px;padding:24px;background:#f3f8fa;border:1px solid #c8dce7;border-top:3px solid #9cc6dc;border-radius:8px;box-shadow:0 6px 18px #092f4a18;color:var(--ur-ink);text-decoration:none;transition:background .2s ease,box-shadow .2s ease}
.path-choice-grid>a:focus-visible{position:relative;z-index:1;outline:3px solid var(--ur-brand-red);outline-offset:3px;background:#fff}
.path-choice-top{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:25px}
.path-choice-icon{display:grid;place-items:center;width:60px;height:60px;border:1px solid #a4c2d2;border-radius:50%;color:var(--ur-blue);background:#fff}
.path-choice-icon svg{display:block;width:36px;height:36px}
.path-choice-number{color:var(--ur-brand-red);font-size:11px;font-weight:600;letter-spacing:.13em}
.path-choice-label{color:var(--ur-muted);font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;line-height:1.45}
.path-choice-title{font-size:clamp(23px,2.2vw,30px);font-weight:400;line-height:1.16;letter-spacing:-.04em;margin:8px 0 12px}
.path-choice-description{font-size:14px;line-height:1.6;color:var(--ur-muted)}
.path-choice-action{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;margin-top:auto;padding-top:13px;border-bottom:1px solid #a4bdcc;color:var(--ur-ink);font-size:13px;font-weight:600}
.path-choice-action span{font-size:18px;line-height:1;transition:transform .2s ease}
@media(hover:hover) and (pointer:fine){.path-choice-grid>a:hover{background:#fff;box-shadow:0 10px 25px #092f4a2e}.path-choice-grid>a:hover .path-choice-action span{transform:translateX(3px)}}
@media(max-width:1050px){.path-choice-panel{padding:25px}.path-choice-grid{gap:12px}.path-choice-grid>a{padding:20px;min-height:320px}}
@media(max-width:767px){.path-choice-panel{margin-top:26px;padding:20px 18px}.path-choice-grid{grid-template-columns:1fr;gap:14px}.path-choice-grid>a{min-height:254px;padding:21px}.path-choice-top{margin-bottom:18px}.path-choice-icon{width:52px;height:52px}.path-choice-icon svg{width:31px;height:31px}}
@media(prefers-reduced-motion:reduce){.path-choice-grid>a,.path-choice-action span{transition:none}.path-choice-grid>a:hover .path-choice-action span{transform:none}}

/* Randmar photography for the three connected parts in What is next. */
.editorial-module-next .editorial-parts>div>div img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border:1px solid #ffffff80;border-radius:4px;margin:0 0 18px}
.partners-intro-photo img{aspect-ratio:16/9;object-fit:cover;object-position:center 48%}

/* One maple leaf marks each chapter across Understanding Randmar. */
.randmar-story .story-chapter::before{left:-38px;top:61px;width:24px;height:24px;border:0;border-radius:0;box-shadow:none;background:var(--story-red);-webkit-mask:url('/assets/understanding/maple-leaf.svg') center/contain no-repeat;mask:url('/assets/understanding/maple-leaf.svg') center/contain no-repeat}
@media(max-width:767px){.randmar-story .story-chapter::before{left:-30px;top:41px}}
