/* Shared navigation and standalone page layouts. */
:root { --header: 79px; }
body.has-context { --header: 123px; }
.header-inner { height: 78px; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: flex; align-items: center; gap: 14px; cursor: pointer; list-style: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown .menu-panel { top: 34px; right: -22px; min-width: 235px; max-height: calc(100dvh - 100px); overflow-y: auto; padding: 12px; }
.company-menu .menu-panel { min-width: 200px; }
.nav-dropdown.is-current > summary, .primary-nav > a.active { color: var(--blue); }
.menu-panel a.active { color: var(--navy); background: #edf2e8; font-weight: 700; }
.section-links { justify-content: flex-start; gap: 34px; font-size: 12px; }
.context-label { margin-right: auto; color: #8a979e; font-size: 11px; }
.mobile-menu-toggle { display: none; }
.page-location { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 27px; border-bottom: 1px solid var(--line); font-size: 10px; color: #83939d; }
.page-location nav { display: flex; gap: 15px; align-items: center; }
.page-location nav a:hover { color: var(--navy); }
.page-location nav [aria-current] { color: var(--ink); }
.page-location > span { font: 9px Arial,sans-serif; letter-spacing: 1.6px; }
.inner-page main { min-height: calc(100dvh - 360px); }
.inner-page .section, .inner-page .product-section { padding-block: 60px 90px; }
.inner-page h1 { font-size: clamp(34px, 3.6vw, 52px); font-weight: 750; line-height: 1.3; }
.inner-page .product-copy h1 { margin: 20px 0 16px; font-size: clamp(30px, 3.2vw, 46px); }
.inner-page .product-copy .product-subtitle { margin-top: 20px; }
.inner-page .section-head { margin-bottom: 38px; }
.inner-page #projects { min-height: 650px; }
.project-title a { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.project-title a > span { color: var(--lime); font-size: 16px; }
.project-title a:hover { color: var(--lime); }
.inner-page .mas-grid { grid-template-columns: .75fr 1.5fr; gap: 65px; }
.inner-page .mas-grid h1 { margin: 17px 0 24px; }
.inner-page .mas-table-wrap { max-height: none; }
.inner-page .contact-section { min-height: 650px; padding-block: 70px 85px; }
.inner-page .contact-grid h1 { margin: 20px 0; }
.page-next { border-top: 1px solid var(--line); padding-block: 30px 42px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.page-next > a { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.page-next > a:first-child { font-size: 12px; color: var(--muted); }
.page-next small { font: 9px Arial,sans-serif; color: #8b9ba5; letter-spacing: 1.5px; }
.page-next a:hover { color: var(--blue); }

/* A concise front page introduces the five collections. */
.home-page .hero-grid { min-height: clamp(570px, calc(100svh - 145px), 790px); }
.home-page .hero h1 { font-size: clamp(38px, 4.2vw, 64px); }
.home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 40px; }
.home-section-heading h2 { margin-top: 18px; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.35; }
.home-section-heading > p { color: var(--muted); font-size: 13px; }
.home-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px 24px; }
.home-product { min-width: 0; }
.home-product:first-child { grid-column: span 2; }
.home-product-image { height: 285px; background: #eef1ef; padding: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.home-product-image img { width: 100%; height: 100%; object-fit: contain; }
.home-product figcaption { padding: 18px 0 0; }
.home-product figcaption > span { display: block; font: 8px Arial,sans-serif; letter-spacing: 1.6px; color: #7b929d; margin-bottom: 9px; }
.home-product h3 { font-size: 21px; }
.home-product h3 a { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.home-product h3 a > span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #cbd6d9; font-size: 16px; font-weight: 400; transition: background .2s; }
.home-product h3 a:hover > span { color: var(--navy); background: var(--lime); border-color: var(--lime); }
.home-mas { background: var(--navy); color: white; padding-block: 48px; }
.home-mas .wrap { display: flex; justify-content: space-between; gap: 35px; align-items: center; }
.home-mas h2 { font-size: 30px; margin-top: 12px; }
.home-mas p:last-child { font-size: 13px; color: #b4c5ce; margin-top: 14px; }
.home-mas .button { flex-shrink: 0; }
.home-company { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-block: 75px; }
.home-company h2 { margin-top: 17px; font-size: 32px; line-height: 1.4; }
.home-company nav { border-top: 1px solid var(--line); }
.home-company nav a { display: flex; align-items: center; gap: 25px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.home-company nav span { font: 10px Arial,sans-serif; color: #8296a0; }
.home-company nav i { margin-left: auto; font-style: normal; }
.home-company nav a:hover { color: var(--blue); }

/* The same verified company contacts appear on every page. */
.site-footer { padding-block: 40px 0; }
.site-footer .footer-main { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 45px; align-items: start; }
.site-footer .footer-identity p { display: block; margin-top: 16px; font-size: 11px; color: #7d8b93; }
.footer-contact > a { display: flex; align-items: center; gap: 16px; }
.footer-contact > a > span { color: #82919a; font-size: 10px; }
.footer-contact strong { font: 600 21px Arial,sans-serif; color: var(--navy); letter-spacing: -.4px; }
.site-footer .footer-contact p, .footer-contact address { display: block; font-size: 11px; color: #6c7f8b; font-style: normal; margin-top: 8px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; font-size: 11px; color: #637987; }
.footer-nav a:hover { color: var(--navy); }
.site-footer .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-block: 20px; margin-top: 30px; }
.site-footer .footer-bottom > span { margin: 0; font: 9px Arial,sans-serif; color: #91a0a7; }

@media (max-width: 1100px) {
  .primary-nav { gap: 24px; }
  .context-label { margin-right: 15px; }
  .section-links { gap: 27px; }
  .inner-page .mas-grid { grid-template-columns: 1fr; gap: 35px; }
  .home-product-image { height: 230px; }
  .site-footer .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; }
}
@media (max-width: 700px) {
  :root { --header: 64px; }
  body.has-context { --header: 108px; }
  .header-inner { height: 63px; }
  .header-actions { gap: 12px; }
  .mobile-menu-toggle { display: flex; width: 32px; height: 36px; padding: 9px 4px; background: transparent; flex-direction: column; justify-content: space-around; }
  .mobile-menu-toggle span { display: block; width: 24px; height: 1px; background: var(--navy); }
  .menu-open .primary-nav { display: flex; position: absolute; top: 63px; left: 0; right: 0; padding: 16px 24px 25px; background: white; border-bottom: 1px solid var(--line); align-items: stretch; flex-direction: column; gap: 0; max-height: calc(100dvh - 64px); overflow-y: auto; box-shadow: 0 18px 25px #152c3c14; }
  .primary-nav > a, .nav-dropdown summary { padding: 15px 0; font-size: 14px; }
  .nav-dropdown summary { justify-content: space-between; }
  .nav-dropdown .menu-panel { position: static; max-height: none; box-shadow: none; padding: 5px 10px; border: 0; border-left: 1px solid var(--line); margin-bottom: 10px; }
  .nav-dropdown .menu-panel a { font-size: 12px; }
  .section-links { gap: 23px; min-height: 43px; font-size: 10px; }
  .context-label { display: none; }
  .page-location { padding-block: 19px; }
  .page-location > span { display: none; }
  .inner-page .section, .inner-page .product-section { padding-block: 38px 55px; }
  .inner-page h1 { font-size: 34px; }
  .inner-page .product-copy h1 { font-size: 31px; }
  .inner-page .contact-section { min-height: 0; padding-block: 40px 55px; }
  .inner-page .mas-table-wrap { max-height: none; }
  .inner-page .section-head { margin-bottom: 27px; }
  .page-next { padding-block: 24px 30px; }
  .page-next > a { font-size: 12px; gap: 15px; }
  .page-next small { display: none; }
  .home-page .hero-grid { min-height: 0; }
  .home-page .hero h1 { font-size: 38px; }
  .home-section-heading { display: block; margin-bottom: 27px; }
  .home-section-heading > p { margin-top: 18px; font-size: 12px; }
  .home-section-heading > p br { display: none; }
  .home-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 27px 14px; }
  .home-product:first-child { grid-column: 1 / -1; }
  .home-product-image { height: 175px; padding: 8px; }
  .home-product:first-child .home-product-image { height: 245px; }
  .home-product figcaption { padding-top: 13px; }
  .home-product figcaption > span { font-size: 7px; letter-spacing: .8px; }
  .home-product h3 { font-size: 16px; }
  .home-product h3 a { gap: 7px; }
  .home-product h3 a > span { width: 25px; height: 25px; flex-shrink: 0; font-size: 13px; }
  .home-mas { padding-block: 35px; }
  .home-mas .wrap { display: block; }
  .home-mas .button { margin-top: 25px; }
  .home-mas h2 { font-size: 28px; }
  .home-mas p:last-child { font-size: 12px; }
  .home-company { grid-template-columns: 1fr; gap: 28px; padding-block: 45px; }
  .home-company h2 { font-size: 28px; }
  .site-footer .footer-main { display: grid; grid-template-columns: 1fr; gap: 26px; }
  .footer-nav { grid-column: auto; gap: 15px 22px; }
  .site-footer .footer-bottom { flex-wrap: nowrap; }
  .site-footer .footer-bottom > span { width: auto; order: 0; font-size: 8px; }
  .site-footer .back-top { padding-left: 16px; flex-shrink: 0; }
}
