/* MORITA-redesign direction, adapted to the existing brand and native content.
   Square controls/cards; local DM Sans; manual motion only. */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/dm-sans/DMSans-Regular.woff2') format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/dm-sans/DMSans-Bold.woff2') format('woff2')}
:root{--navy:#25285e;--brand:#25285e;--yellow:#ffdd00;--ink:#091829;--muted:#627184;--paper:#f6f8fa;--line:#dce4ed;--reference-navy:#071625;--wrap:1340px;--gutter:clamp(22px,4.1vw,62px)}
body{font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:white}
h1,h2,h3,h4,h5,h6{font-weight:700;color:var(--ink);letter-spacing:-.045em}
a,button,input{touch-action:manipulation}
:focus-visible{outline:3px solid var(--brand);outline-offset:5px}
.reference-topbar{background:var(--reference-navy);color:#c3cdd8;font-size:10px;letter-spacing:.09em}
.reference-topbar>.wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:33px}
.reference-topbar p{margin:0;text-transform:uppercase}
.reference-topbar a{color:white;text-decoration:none;flex:none;padding-block:5px}
.topbar-actions{display:flex;align-items:center;gap:18px;flex:none}
.header-social{display:flex;align-items:center;gap:4px}
.reference-topbar .header-social a{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:6px}
.header-social svg{width:18px;height:18px;display:block}
.reference-topbar .header-social a:hover{color:var(--yellow)}
.reference-topbar a:focus-visible{outline-color:var(--yellow);outline-offset:1px}
.site-header{border-bottom:0;box-shadow:none}
.header-main{min-height:84px;gap:35px}
.brand img{width:161px;max-height:59px}
.header-search{max-width:340px}
.header-search .search-form{background:var(--paper)}
.header-search input[type=search]{background:var(--paper);border-color:var(--line);font-size:12px;height:40px;min-height:40px}
.header-search .search-form button[type=submit]{background:var(--yellow);color:var(--reference-navy);font-size:11px;font-weight:700;min-height:40px;height:40px;min-width:78px;padding-inline:15px}
.header-tools{font-size:11px;gap:22px;font-weight:700}
.header-tools a{color:var(--ink)}
.site-navigation{background:white;border-block:1px solid var(--line)}
.primary-menu{gap:32px}
.primary-menu a{padding-block:14px;font-size:12px;font-weight:700;color:var(--ink)}
.primary-menu>li.current-menu-item>a,.primary-menu>li.current-menu-ancestor>a{box-shadow:inset 0 -3px var(--yellow)}
.primary-menu a:hover{color:var(--brand)}
.primary-menu ul{border-color:var(--line);box-shadow:0 18px 40px #0716251a}
.site-header .menu-image,.catalog-sidebar .menu-image,.article-sidebar .menu-image{display:none!important}
.submenu-toggle{color:var(--ink)}
.button,.wp-block-button__link,input[type=submit],button[type=submit]:not(.search-submit){font-weight:700;font-size:12px;letter-spacing:.015em;padding:17px 23px;min-height:52px;color:var(--reference-navy);border-radius:0}
.button:hover,.wp-block-button__link:hover,input[type=submit]:hover{background:var(--reference-navy);border-color:var(--reference-navy);color:white}
.button:active,.carousel-arrows button:active{transform:translateY(1px)}
.section{padding-block:clamp(65px,7.3vw,106px)}
.section+.section{padding-top:0}
.eyebrow{font-size:10px!important;letter-spacing:.18em;font-weight:700;line-height:1.6;margin-bottom:18px}
.eyebrow:before{width:29px;height:2px;background:var(--yellow);margin-right:12px}
.reference-heading{max-width:780px;margin-bottom:35px}
.reference-heading h2{font-size:clamp(33px,3.8vw,55px);line-height:1.12;margin:0}
.reference-heading h2 span{color:#7b899a}
.reference-heading>p:not(.eyebrow){font-size:14px;line-height:1.8;color:var(--muted);max-width:600px;margin:20px 0 0}

/* The imagery carries the hero; the dark field keeps copy readable. */
.editorial-hero{position:relative;isolation:isolate;background:var(--reference-navy);color:white;overflow:hidden}
.editorial-hero>.carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.editorial-hero>.carousel-track::-webkit-scrollbar{display:none}
.editorial-slide{position:relative;isolation:isolate;flex:0 0 100%;min-width:0;min-height:570px;height:min(670px,calc(100svh - 165px));scroll-snap-align:start;overflow:hidden}
.editorial-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
.editorial-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#051322ed 0%,#051322ce 33%,#05132265 64%,#05132215 100%),linear-gradient(0deg,#07162570,transparent 35%)}
.editorial-copy{position:relative;min-height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding-block:48px 105px}
.editorial-copy .eyebrow{color:#d4dde7;margin:0 0 23px}
.editorial-copy h1,.editorial-copy h2{font-size:clamp(50px,5.9vw,85px);line-height:1.04;letter-spacing:-.06em;color:white;max-width:850px;margin:0 0 25px}
.editorial-copy h1 span,.editorial-copy h2 span{color:var(--yellow);display:block}
.editorial-summary{max-width:500px;color:#e0e7ee;font-size:15px;line-height:1.8;margin:0 0 24px}
.editorial-copy .hero-actions{gap:12px;margin-top:0}
.editorial-copy .button{min-width:170px;justify-content:space-between;gap:30px;white-space:nowrap}
.editorial-copy .button-outline{border-color:#ffffff80;background:#ffffff09;color:white}
.editorial-copy .button-outline:hover{background:white;border-color:white;color:var(--reference-navy)}
.editorial-hero>.carousel-controls{position:absolute;left:0;right:0;bottom:24px;width:100%;padding-block:0;pointer-events:none}
.editorial-hero .carousel-dots,.editorial-hero .carousel-arrows{pointer-events:auto}
.editorial-hero .carousel-dots{gap:8px;scrollbar-width:none;max-width:50%}
.editorial-hero .carousel-dots>button{width:42px;min-height:44px}
.editorial-hero .carousel-dots>button:after{background:#ffffff60;left:0;right:0;top:21px;height:2px}
.editorial-hero .carousel-dots>button[aria-current=true]:after{background:var(--yellow)}
.editorial-hero .carousel-arrows{gap:9px}
.editorial-hero .carousel-arrows button{border-color:#ffffff65;background:#07162520;color:white;width:45px;height:45px}
.editorial-hero .carousel-arrows button:hover{background:white;color:var(--reference-navy)}
.editorial-hero :focus-visible,.reference-about :focus-visible,.site-footer :focus-visible{outline-color:var(--yellow)}

/* Unequal image sizes build the collection hierarchy without old icon tiles. */
.reference-category-grid{display:grid;grid-template-columns:1.17fr 1fr 1fr;grid-auto-rows:255px;gap:15px}
.reference-category{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-end;min-width:0;background:#1a3044;text-decoration:none;color:white;padding:26px}
.reference-category:first-child{grid-row:span 2}
.reference-category-grid:has(>a:nth-child(7))>a:first-child{grid-row:span 3}
.reference-category>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .5s ease}
.category-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#061626e8, #06162613 73%)}
.reference-category-copy{display:flex;align-items:end;justify-content:space-between;gap:16px;width:100%}
.reference-category h3{color:white;font-size:25px;line-height:1.15;margin:0;letter-spacing:-.04em;max-width:235px}
.reference-category:first-child h3{font-size:38px;max-width:260px}
.reference-category-copy>span{width:40px;height:40px;flex:none;display:grid;place-items:center;border:1px solid #ffffff80;font-size:24px;color:white;line-height:1;transition:background .2s,color .2s}
.reference-category:hover{color:white}
.reference-category:hover>img{transform:scale(1.035)}
.reference-category:hover .reference-category-copy>span{background:var(--yellow);border-color:var(--yellow);color:var(--reference-navy)}
.reference-category.is-detail{background:#e8edf2}
.reference-category.is-detail>img{object-fit:contain;padding:35px 25px 65px}
.reference-category.is-detail .category-shade{background:linear-gradient(0deg,#061626ef,#061626a0 19%,transparent 61%)}
.reference-category.is-detail h3{font-size:23px}

.reference-about{background:var(--reference-navy);color:#c1cddb}
.reference-about-grid{display:grid;grid-template-columns:1fr 1.05fr;align-items:stretch;gap:0;padding-right:0;max-width:calc(var(--wrap) + var(--gutter)*2);min-height:490px}
.reference-about-copy{align-self:center;padding:75px 65px 75px 0}
.reference-about .eyebrow{color:#c5d4e2}
.reference-about h2{color:white;font-size:clamp(35px,3.6vw,53px);line-height:1.12;margin-bottom:25px;max-width:570px}
.reference-about-copy>p:not(.eyebrow){max-width:490px;font-size:14px;line-height:1.85}
.reference-about .button{margin-top:14px}
.reference-about-photo{display:block;width:100%;height:100%;min-height:490px;object-fit:cover}
.reference-promo .home-carousel{max-width:none;padding-inline:0;margin:0}
.reference-promo .home-slide img,.reference-promo .home-carousel.is-carousel .home-slide img{width:100%;height:auto;max-height:none;aspect-ratio:1420/585;object-fit:contain;background:var(--paper)}
.reference-promo .slide-copy{padding-top:22px;max-width:800px}
.reference-promo .slide-copy h2{font-size:26px;letter-spacing:-.035em}
.reference-promo .carousel-controls{padding:18px 0 0}
.reference-promo .carousel-dots>button[aria-current=true]:after{background:var(--brand)}
@media(max-width:760px){
  .reference-promo [data-news-banner]{display:block;position:relative;overflow:hidden;border-radius:12px;background:var(--paper);text-decoration:none}
  .reference-promo [data-news-banner] picture{display:block}
  .reference-promo .home-carousel.is-carousel .home-slide [data-news-banner] img{width:100%;height:clamp(250px,78vw,380px);aspect-ratio:auto;object-fit:cover;object-position:left center}
  .reference-promo .home-carousel.is-carousel .home-slide [data-news-banner]:not([data-mobile-image=""]) img{height:auto;aspect-ratio:3/4;object-fit:contain}
  .reference-promo .news-banner-action{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;background:var(--navy);color:white;font-size:15px;font-weight:700}
  .reference-promo .news-banner-action>span{font-size:22px}
  .reference-promo .carousel-arrows button{min-width:48px;min-height:48px}
  .reference-promo .carousel-dots>button{min-height:44px}
}
.reference-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}
.reference-project{display:block;text-decoration:none;overflow:hidden;min-width:0}
.reference-project>img{width:100%;aspect-ratio:1.45;object-fit:cover;display:block;transition:filter .3s}
.reference-project h3{font-size:19px;margin:20px 0 0;line-height:1.4}
.reference-project:hover h3{text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:3px;text-underline-offset:6px}
.reference-project:hover>img{filter:brightness(1.05)}
.reference-contact{background:var(--yellow);padding-block:55px;color:var(--reference-navy)}
.reference-contact>.wrap{display:flex;align-items:center;justify-content:space-between;gap:35px}
.reference-contact h2{font-size:clamp(28px,3.2vw,45px);margin-bottom:12px;max-width:930px}
.reference-contact p{font-size:14px;margin:0}
.reference-contact .eyebrow{margin-bottom:15px}
.reference-contact .eyebrow:before{background:var(--reference-navy)}
.reference-contact .button{background:var(--reference-navy);border-color:var(--reference-navy);color:white;flex:none;min-width:156px;white-space:nowrap}
.reference-contact .button:hover{background:white;border-color:white;color:var(--reference-navy)}
.home .entry-content:empty{display:none}

/* Existing catalogue and product galleries retain their non-cropped media. */
.page-heading{background:var(--paper);padding-block:33px 35px;border-bottom:0;margin-bottom:38px}
.page-heading h1{font-size:clamp(33px,3.7vw,52px);letter-spacing:-.045em}
.single-post .page-heading{padding-block:28px 30px}
.breadcrumbs{font-size:11px}
.catalog-grid{gap:32px 23px}
.catalog-image{background:#f2f5f7;border:1px solid #e9eef2;aspect-ratio:3/4;padding:25px}
.catalog-title{font-size:15px;font-weight:700;line-height:1.45;letter-spacing:-.015em;margin-top:17px}
.catalog-card:hover .catalog-image{box-shadow:0 9px 24px #0716250b}
.catalog-title>span{font-size:22px}
.catalog-sidebar,.article-sidebar{font-size:13px}
.catalog-sidebar a,.article-sidebar a{border-radius:0}
.catalog-sidebar .current-menu-item>a,.article-sidebar .current-menu-item>a{box-shadow:inset 3px 0 var(--yellow);background:var(--paper);color:var(--ink)}
.product-gallery>.carousel-track{background:#f3f6f8;border-color:#e5ebf0}
.product-gallery .carousel-dots>button[aria-current=true]{border-color:var(--brand)}
.product-gallery .carousel-slide img{background:transparent}
.gallery-zoom{font-weight:700;border-color:#d8e1e9}
.entry-content{font-size:15px;line-height:1.8}
.site-footer{background:var(--reference-navy);color:#a9b8c7;border:0;padding-top:64px}
.footer-grid{gap:48px;padding-bottom:45px}
.site-footer h2,.site-footer h3,.site-footer .widget-title{color:#e4edf5;font-size:12px;font-weight:700;letter-spacing:.04em}
.site-footer a{color:#bac6d2}
.site-footer a:hover{color:var(--yellow)}
.footer-brand img{padding:10px 14px;background:white;width:186px}
.footer-brand>p{font-size:12px;line-height:1.8;max-width:270px}
.site-footer .social-links{font-size:11px}
.footer-bottom{color:#92a4b7;border-color:#ffffff20;font-size:10px;min-height:70px}

@media(min-width:1600px){.reference-about-grid{padding-right:var(--gutter)}.editorial-slide{height:700px}}
@media(max-width:1100px){.primary-menu{gap:23px}.reference-category-grid{grid-auto-rows:235px}.reference-category{padding:22px}.reference-category h3{font-size:22px}.reference-category:first-child h3{font-size:33px}.reference-about-copy{padding-right:40px}.reference-project-grid{gap:19px}.footer-grid{gap:30px}}
@media(max-width:1000px){.header-main{gap:23px;min-height:80px}.primary-menu{display:block}.site-navigation .wrap{padding-block:10px}.primary-menu a{font-size:14px}.primary-menu>li.current-menu-item>a,.primary-menu>li.current-menu-ancestor>a{box-shadow:none}.editorial-slide{height:620px;min-height:580px}.editorial-copy h1,.editorial-copy h2{font-size:68px;max-width:720px}.reference-category-grid{grid-auto-rows:220px}.reference-category-copy>span{width:34px;height:34px}.reference-category h3{font-size:20px}.reference-category.is-detail h3{font-size:20px}.reference-about h2{font-size:39px}.reference-contact h2{font-size:34px}}
@media(max-width:760px){
  :root{--gutter:22px}
  .reference-topbar{font-size:8px;letter-spacing:.06em}
  .reference-topbar>.wrap{min-height:28px;gap:12px}
  .reference-topbar p{max-width:78%;line-height:1.5}
  .reference-topbar>.wrap{flex-wrap:wrap;padding-block:4px;gap:2px 12px}
  .reference-topbar p{flex:1 1 120px;max-width:none}
  .topbar-actions{gap:8px;margin-left:auto}
  .header-main{min-height:0;padding-block:14px;row-gap:13px;column-gap:12px}
  .brand img{width:112px;max-height:42px}
  .header-tools{font-size:10px;gap:10px}
  .languages{gap:9px}
  .portal-link{font-size:9px}
  .menu-toggle{background:var(--paper);color:var(--ink);border:0;min-height:44px;height:44px;width:44px}
  .header-search{flex:0 0 100%;max-width:none}
  .header-search input[type=search],.header-search .search-form button[type=submit]{height:36px;min-height:36px}
  .header-search .search-form button[type=submit]{min-width:75px;font-size:10px;padding-inline:12px}
  .site-navigation{border-top:1px solid var(--line)}
  .section{padding-block:62px}
  .reference-heading{margin-bottom:27px}
  .reference-heading h2{font-size:34px;letter-spacing:-.05em}
  .reference-heading>.eyebrow{font-size:9px!important;margin-bottom:13px}
  .reference-heading>p:not(.eyebrow){font-size:13px;margin-top:16px}
  .editorial-slide{min-height:590px;height:calc(100svh - 160px);max-height:710px}
  .editorial-photo{object-position:62% center}
  .editorial-shade{background:linear-gradient(90deg,#051322dc,#05132285),linear-gradient(0deg,#07162580,transparent 60%)}
  .editorial-copy{padding-top:45px;padding-bottom:100px;justify-content:center}
  .editorial-copy .eyebrow{font-size:9px!important;letter-spacing:.14em;margin-bottom:22px}
  .editorial-copy h1,.editorial-copy h2{font-size:clamp(39px,10.9vw,70px);letter-spacing:-.055em;line-height:1.08;margin-bottom:23px;max-width:100%}
  .editorial-summary{font-size:13px;line-height:1.8;max-width:410px;margin-bottom:26px}
  .editorial-copy .hero-actions{gap:10px}
  .editorial-copy .button{font-size:11px;padding:15px 17px;min-height:48px;min-width:0;gap:18px}
  .editorial-hero>.carousel-controls{bottom:23px;justify-content:flex-start;gap:30px}
  .editorial-hero .carousel-dots{gap:7px}
  .editorial-hero .carousel-dots>button{width:31px}
  .editorial-hero .carousel-arrows button{width:44px;height:44px}
  .product-gallery .carousel-arrows button{width:44px;height:44px}
  .product-gallery .carousel-dots{max-width:calc(100% - 110px)}
  .reference-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:210px;gap:11px}
  .reference-category{padding:19px 17px}
  .reference-category:first-child,.reference-category-grid:has(>a:nth-child(7))>a:first-child{grid-column:1/-1;grid-row:span 1;min-height:305px}
  .reference-category-grid{grid-template-rows:305px}
  .reference-category h3,.reference-category.is-detail h3{font-size:18px;line-height:1.2}
  .reference-category:first-child h3{font-size:32px;max-width:230px}
  .reference-category-copy{align-items:flex-end;gap:9px}
  .reference-category-copy>span{width:29px;height:29px;font-size:19px;border-color:#ffffff85}
  .reference-category.is-detail>img{padding:20px 15px 59px}
  .reference-about-grid{display:flex;flex-direction:column;padding-inline:0;min-height:0}
  .reference-about-copy{padding:60px var(--gutter);align-self:stretch}
  .reference-about h2{font-size:36px;max-width:520px}
  .reference-about-copy>p:not(.eyebrow){font-size:13px}
  .reference-about-photo{height:330px;min-height:0;max-height:none;object-position:center}
  .reference-promo .home-carousel{padding-inline:0}
  .reference-promo .home-carousel .slide-copy{padding:19px 0 0}
  .reference-promo .slide-copy h2{font-size:22px}
  .reference-promo .carousel-controls{padding:13px 0 0}
  .reference-project-grid{grid-template-columns:1fr;gap:30px}
  .reference-project>img{aspect-ratio:1.5}
  .reference-project h3{font-size:18px;margin-top:16px}
  .reference-contact{padding-block:43px}
  .reference-contact>.wrap{display:block}
  .reference-contact h2{font-size:31px;line-height:1.18}
  .reference-contact p{font-size:13px}
  .reference-contact .button{margin-top:24px;min-width:155px}
  .page-heading{padding-block:24px 28px;margin-bottom:29px}
  .page-heading h1{font-size:34px}
  .single-post .page-heading{padding-block:22px 26px}
  .catalog-grid{gap:27px 15px}
  .catalog-image{padding:17px}
  .catalog-title{font-size:14px;margin-top:13px}
  .entry-content{font-size:14px}
  .site-footer{padding-top:45px;font-size:12px}
  .footer-grid{gap:30px 22px;padding-bottom:34px}
  .footer-brand img{width:170px}
  .footer-bottom{line-height:1.9;padding-block:21px;min-height:0}
}
@media(max-width:380px){:root{--gutter:17px}.header-tools{gap:8px}.languages{gap:7px}.brand img{width:104px}.portal-link{font-size:8px}.editorial-copy h1,.editorial-copy h2{font-size:39px}.editorial-copy .button{padding-inline:13px;font-size:10px;gap:15px}.reference-category{padding-inline:13px}.reference-category h3,.reference-category.is-detail h3{font-size:16px}.reference-category-copy>span{width:25px;height:25px}}
@media(prefers-reduced-motion:reduce){.reference-category>img,.reference-project>img,.button,.carousel-arrows button{transition:none}.editorial-hero>.carousel-track{scroll-behavior:auto!important}}
@media print{.reference-topbar,.editorial-hero>.carousel-controls,.reference-contact{display:none!important}.editorial-slide{height:auto;min-height:0;color:black;background:white}.editorial-photo,.editorial-shade{display:none}.editorial-copy{padding:20px 0}.editorial-copy h1,.editorial-copy h2,.editorial-summary{color:black}.reference-category-grid{display:block}.reference-category{min-height:150px;margin-bottom:12px}.reference-about{color:black;background:white}.reference-about h2{color:black}}
