/* Shared finishing layer. Original identity, artwork and home geometry preserved. */
:root{--lm-blue:#272e89;--lm-cream:#FFECDC;--lm-orange:#FF9D4B;--lm-white:#FFFAF5;--ref-rail:min(1220px,calc(100% - 60px));--ref-gap:clamp(52px,6vw,86px);--ref-ease:cubic-bezier(.22,1,.36,1)}
::selection{background:var(--lm-orange);color:var(--lm-blue)}
:focus-visible{outline:2px solid var(--lm-orange);outline-offset:5px}
.skip-link{position:fixed;top:12px;left:20px;padding:14px 24px;background:var(--lm-orange);color:var(--lm-blue);z-index:100;transform:translateY(-160%)}
.skip-link:focus{transform:none}
.site-header:focus-within{transform:none!important}
.nav a[aria-current="page"]:not(.contact){color:var(--lm-white)}
.mobile-menu:not(.open){visibility:hidden;pointer-events:none}
.mobile-menu.open{visibility:visible;pointer-events:auto}
.edition-label{display:block;font-size:12px;font-weight:700;letter-spacing:.13em;line-height:1.4}
/* Footer interaction is identical across all templates; one SVG, one color. */
a.footer-social-icon{width:44px!important;height:44px!important;min-width:44px;display:grid!important;place-items:center;position:relative;padding:0!important;background:var(--lm-orange)!important;color:var(--lm-blue)!important;border:1px solid var(--lm-orange)!important;transition:background-color .3s,color .3s,transform .35s var(--ref-ease)!important}
a.footer-social-icon::after{display:none!important}
a.footer-social-icon>svg{display:block;width:19px!important;height:19px!important;overflow:visible;flex-shrink:0;fill:currentColor;transition:transform .35s var(--ref-ease)}
a.footer-social-icon svg [fill]:not([fill="none"]){fill:currentColor!important}
a.footer-social-icon svg [stroke]:not([stroke="none"]){stroke:currentColor!important}
a.footer-social-icon:focus-visible{background:var(--lm-blue)!important;color:var(--lm-orange)!important;transform:translateY(-3px)}
.footer-links a{transition:color .25s}
.footer-links a:focus-visible{color:var(--lm-white)}
@media(hover:hover) and (pointer:fine){a.footer-social-icon:hover{background:var(--lm-blue)!important;color:var(--lm-orange)!important;transform:translateY(-3px)!important}.footer-links a:hover{color:var(--lm-white)}}
/* Contact: a ruled editorial spread, with the original animated title above. */
.contact-page .contact-grid{width:var(--ref-rail);grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:0;border-top:2px solid var(--lm-blue);padding-bottom:0;margin-bottom:var(--ref-gap);align-items:stretch}
.contact-form{padding:42px clamp(24px,4vw,60px) 42px 0;gap:27px}
.contact-form__heading{margin-bottom:9px}
.contact-form__heading h2{font-size:clamp(38px,4.1vw,62px);line-height:.94;letter-spacing:-.055em;font-weight:900;max-width:450px;margin:20px 0 0}
.contact-page .form-row{min-width:0;gap:10px}
.contact-page .form-row label{font-size:14px;font-weight:700}
.contact-page .form-row input,.contact-page .form-row select,.contact-page .form-row textarea{width:100%;min-width:0;background:transparent;border:0;border-bottom:1px solid var(--lm-blue);padding:13px 0;color:var(--lm-blue);font-size:18px;box-shadow:none;line-height:1.5}
.contact-page .form-row input:focus,.contact-page .form-row select:focus,.contact-page .form-row textarea:focus{border-color:var(--lm-blue);box-shadow:0 3px 0 var(--lm-orange);outline:none}
.contact-page .form-row textarea{min-height:128px}
.contact-page .form-row select option{background:var(--lm-cream);color:var(--lm-blue)}
.contact-page .form-note{opacity:1;font-size:14px;line-height:1.5;max-width:470px}
.contact-page .form-note a{text-decoration:underline;text-underline-offset:3px}
.contact-page .form-submit{padding:14px 24px;font-size:15px;gap:42px}
.contact-page .contact-info{padding:42px clamp(24px,4vw,54px);gap:30px;position:relative;overflow:hidden}
.contact-info>h2{font-size:clamp(32px,3.3vw,48px);line-height:.96;letter-spacing:-.045em;margin:0 0 10px;max-width:270px}
.contact-page .contact-info-block{border-top:1px solid var(--lm-orange);padding-top:20px;gap:10px}
.contact-page .contact-info-block .label{color:var(--lm-orange);opacity:1}
.contact-page .contact-info-block p,.contact-page .contact-info-block>a{font-size:20px;line-height:1.35;overflow-wrap:anywhere}
.contact-page .contact-info-block>a{font-size:clamp(19px,1.7vw,25px)}
.contact-status:empty{display:none}.contact-status{margin:0;font-size:15px;line-height:1.4}
/* Case studies: asymmetric title, visual chapters, uninterrupted artwork. */
.project-page{--project-max:1220px;--project-gutter:30px;--project-section-gap:var(--ref-gap);overflow:visible!important}
.project-page .project-hero{padding-top:140px!important;padding-bottom:0;width:var(--ref-rail)}
.project-topline{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--lm-blue);padding-bottom:18px;font-size:13px;letter-spacing:.06em}
.project-topline a{font-size:15px;letter-spacing:0}
.project-page .project-hero__copy{max-width:none;display:grid;grid-template-columns:1.3fr .7fr;gap:20px 60px;text-align:left;margin:34px 0 45px;align-items:end}
.project-page .project-hero .project-kicker{text-align:left!important;grid-column:1/-1;margin:0!important}
.project-page .project-hero h1{font-size:clamp(60px,8.5vw,122px);line-height:.88;font-weight:900;letter-spacing:-.055em;margin:0;overflow-wrap:anywhere}
.project-page .project-hero__intro{text-align:right;justify-self:end;max-width:360px;margin:0 0 4px!important;font-size:20px!important;line-height:1.4!important;letter-spacing:-.015em!important}
.project-page .project-hero>.media-frame{height:auto;aspect-ratio:16/9}
.project-index{width:var(--ref-rail);margin:0 auto var(--ref-gap);display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--lm-blue)}
.project-index a{display:flex;align-items:center;gap:14px;padding:23px 16px;font-size:16px;border-right:1px solid var(--lm-blue);transition:background .3s}
.project-index a:first-child{padding-left:0}.project-index a:last-child{border-right:0}.project-index span{font-size:12px;font-weight:700}
.project-index a:hover,.project-index a:focus-visible{background:var(--lm-orange)}
.project-page .project-section,.project-page .project-process{width:var(--ref-rail);grid-template-columns:minmax(160px,.65fr) minmax(0,1.35fr);column-gap:60px;border-top:1px solid var(--lm-blue);padding-top:30px;margin-bottom:36px;scroll-margin-top:110px}
.project-page .project-section__label{gap:15px;align-items:flex-start;padding:0;font-size:13px;letter-spacing:.1em}
.project-section__label span:first-child{font-size:clamp(48px,6vw,82px);font-weight:800;letter-spacing:-.055em;line-height:.85;-webkit-text-stroke:0;color:var(--lm-blue)}
.project-page .project-section h2,.project-page .project-process h2,.project-page .project-results__intro h2{font-size:clamp(38px,4.1vw,62px);font-weight:900;line-height:.94;letter-spacing:-.055em;margin-bottom:22px}
.project-page .project-section p,.project-page .project-process p{font-size:20px;line-height:1.5;max-width:630px}
.project-page .project-row{width:var(--ref-rail);gap:24px}
.project-page .project-row+.project-row{margin-top:24px}
.project-page .project-row+.project-section,.project-page .project-row+.project-process{margin-top:var(--ref-gap)}
.project-page .project-row .media-frame{height:auto;align-self:stretch}
.project-page .project-closing{width:100%;max-width:none;padding:var(--ref-gap) max(30px,calc((100% - 1000px)/2));background:var(--lm-blue);color:var(--lm-white);position:relative;overflow:hidden}
.project-page .project-closing:before{content:"";display:block;width:100%;height:1px;background:var(--lm-orange);transform:rotate(-5deg);margin:0 auto 48px}
.project-page .project-closing h2{font-size:clamp(44px,7vw,92px);line-height:.96;font-weight:900}
.project-page .project-closing .large-statement-subtitle{font-size:20px;line-height:1.4}
.project-contact{margin-top:30px;background:var(--lm-orange);color:var(--lm-blue);border:1px solid var(--lm-orange);padding:14px 24px;gap:24px}
.project-page .project-next{display:block;width:var(--ref-rail);padding:var(--ref-gap) 0}
.project-next__back{display:inline-block;margin:0 0 25px;font-size:15px}
.project-next__card{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--lm-blue);border-bottom:1px solid var(--lm-blue);overflow:hidden}
.project-next__copy{padding:30px 30px 30px 0;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:25px}
.project-next__copy strong{font-size:clamp(38px,4.1vw,62px);font-weight:900;line-height:.94;letter-spacing:-.055em}
.project-next__arrow{font-size:48px;line-height:1;transition:transform .4s var(--ref-ease)}
.project-next__card img{display:block;width:100%;height:100%;max-height:340px;object-fit:cover;transition:transform .6s var(--ref-ease)}
@media(hover:hover){.project-next__card:hover img{transform:scale(1.025)}.project-next__card:hover .project-next__arrow{transform:translate(6px,-6px)}}
/* Subtle entrance motion; content is visible by default and without JS. */
@keyframes section-arrive{from{opacity:.25;transform:translateY(24px)}to{opacity:1;transform:none}}
.ref-arrive{animation:section-arrive .7s var(--ref-ease) both}
@media(max-width:800px){
 :root{--ref-rail:calc(100% - 40px)}
 .contact-page .contact-grid{grid-template-columns:1fr}
 .contact-form{padding:30px 0 36px;gap:24px}
 .contact-page .form-two{grid-template-columns:1fr;gap:24px}
 .contact-form__heading h2{font-size:42px;max-width:340px}
 .contact-page .contact-info{padding:30px 24px;gap:24px}
 .project-page .project-hero{padding-top:116px!important}
 .project-page .project-hero__copy{grid-template-columns:1fr;gap:22px;margin:26px 0 30px}
 .project-page .project-hero h1{font-size:clamp(52px,12vw,88px)}
 .project-page .project-hero__intro{max-width:440px;font-size:18px!important}
 .project-index{grid-template-columns:repeat(2,1fr)}
 .project-index a{padding:16px 10px!important;font-size:15px}.project-index a:nth-child(2){border-right:0}.project-index a:nth-child(-n+2){border-bottom:1px solid var(--lm-blue)}
 .project-page .project-section,.project-page .project-process{grid-template-columns:1fr;gap:24px;padding-top:24px}
 .project-page .project-section__label{flex-direction:row;justify-content:space-between;align-items:center}
 .project-section__label span:first-child{font-size:44px}
 .project-page .project-section h2,.project-page .project-process h2,.project-page .project-results__intro h2{font-size:42px}
 .project-page .project-section p,.project-page .project-process p{font-size:18px}
 .project-page .project-process__intro,.project-page .project-results__intro{grid-column:1}
 .project-page .project-row{grid-template-columns:1fr;gap:20px}
 .project-page .project-row+.project-row{margin-top:20px}
 .project-page .project-closing{padding:52px 20px}
 .project-next__card{grid-template-columns:1fr}
 .project-next__copy{padding:26px 0;gap:20px;position:relative}
 .project-next__copy strong{max-width:85%;font-size:42px}
 .project-next__arrow{position:absolute;right:0;bottom:22px;font-size:36px}
 .project-next__card img{height:auto;aspect-ratio:16/9}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}.ref-arrive{opacity:1;transform:none}}
/* Internal animated headings must clear the fixed mobile header. */
@media(max-width:800px){.home-hero.home-hero--page{padding-top:94px}}
.footer-bottom{padding-right:76px}
.footer-links a{position:relative}
.footer-links a::after{content:"";position:absolute;left:0;bottom:-4px;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:right;transition:transform .35s var(--ref-ease)}
.footer-links a:focus-visible::after{transform:scaleX(1);transform-origin:left}
.project-contact:focus-visible{background:var(--lm-blue);color:var(--lm-white)}
@media(hover:hover) and (pointer:fine){.footer-links a:hover::after{transform:scaleX(1);transform-origin:left}.project-contact:hover{background:var(--lm-blue);color:var(--lm-white)}}
@media(prefers-reduced-motion:reduce){a.footer-social-icon,a.footer-social-icon>svg,.footer-links a::after{transition:none!important}}

/* Reading hierarchy and grid alignment — senior review. */
:root{--ref-copy-line:1.45;--ref-control-size:44px}
.idea-card{min-width:0;display:flex;flex-direction:column}
.idea-card__body{flex:1;display:flex;flex-direction:column}
.idea-card__title{font-size:clamp(24px,2.2vw,32px);line-height:1.08;font-weight:800;overflow-wrap:anywhere}
.idea-card__row{margin-top:auto}
.idea-card__text{line-height:var(--ref-copy-line)}
.idea-card__cta{min-height:var(--ref-control-size)}
.ideas-main .ideas-newsletter{grid-column:1/-1;height:auto;min-height:0;margin-top:16px;padding:48px 0}
.ideas-main .ideas-newsletter__inner{height:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);align-items:center;gap:clamp(32px,6vw,86px)}
.ideas-main .ideas-newsletter__copy{padding-top:0}
.ideas-main .ideas-newsletter__copy h2{font-size:clamp(36px,3.3vw,48px);line-height:.98}
.ideas-main .ideas-newsletter__copy p{line-height:var(--ref-copy-line);max-width:510px}
.ideas-main .ideas-newsletter__form-wrap{margin:0;padding:0}
.ideas-main .ideas-newsletter__form input{background:transparent;border-width:1px;font-size:18px}
.ideas-main .ideas-newsletter__form button{transform:none}
.ideas-main .ideas-newsletter__note{font-size:14px;line-height:1.5}
.idea-article h1{line-height:.98}
.idea-article__excerpt{line-height:1.35;max-width:660px}
.idea-article__content{max-width:680px;line-height:1.6}
.idea-article__back{min-height:44px}
.contact-form input::placeholder,.contact-form textarea::placeholder{color:var(--lm-blue);opacity:.62}
.contact-page .form-row textarea{resize:vertical}
.contact-page .form-submit{min-height:48px}
.mobile-menu a[aria-current="page"]:not(:last-child){color:var(--lm-white)}
.project-story{display:flow-root}
.project-page .project-index a:first-child{padding-left:16px}
.project-page .project-closing{margin-top:var(--ref-gap)}
.project-next__card:focus-visible .project-next__arrow{transform:translate(6px,-6px)}
@media(max-width:800px){
 .idea-card__title{font-size:24px}
 .idea-card__text{font-size:17px;line-height:1.45}
 .ideas-main .ideas-newsletter{margin-top:8px;padding:32px 0}
 .ideas-main .ideas-newsletter__inner{grid-template-columns:1fr;gap:28px}
 .ideas-main .ideas-newsletter__copy h2{font-size:36px}
 .idea-article h1{line-height:.98}
 .idea-article__excerpt{font-size:18px;line-height:1.4}
 .idea-article__content{font-size:18px;line-height:1.6}
 .project-topline{font-size:12px;gap:12px}
 .project-topline a{font-size:14px}
}
@media(max-width:359px){.idea-card__body{padding:20px}.ideas-main .ideas-newsletter{padding-left:0;padding-right:0}}
/* Keep the approved footer identical across the article and project templates. */
footer .footer-logo{width:180px}
footer .footer-center{text-align:center}
footer .footer-talk{font-size:17px;font-weight:600;margin-bottom:22px}
footer .footer-links{gap:9px;font-size:15px}
footer .footer-bottom{margin-top:80px;padding-top:18px;padding-right:76px;font-size:12px}
@media(max-width:800px){
 footer .footer-top,footer .footer-bottom{display:block}
 footer .footer-logo{width:150px}
 footer .footer-center{margin-top:36px;text-align:left}
 footer .footer-links{margin-top:36px;align-items:flex-start}
 footer .footer-bottom{margin-top:50px}
 footer .footer-bottom span{display:block;margin-top:7px;margin-bottom:0}
}

/* Dock the return control inside the footer, clear of its navigation links. */
footer{position:relative}
.back-to-top.footer-docked{position:absolute}

/* V7 — direct sequence of artwork and captions, without the project index. */
.project-page .project-story{padding-top:var(--ref-gap)}

/* V9 — common upper/lower rule for editorial closing blocks. */
:root{--panel-rule:1px solid var(--lm-blue)}
.ruled-panel{border-block:var(--panel-rule);border-inline:0}
.ideas-newsletter__copy h2{margin-bottom:20px}
