/*
Theme Name:   myathletik Child
Theme URI:    https://myathletik.com
Description:   Custom child theme for the myathletik.com rebuild. Built on GeneratePress. Code-first: layout, structure and styling are controlled here, not via a page builder.
Author:       myathletik
Template:     generatepress
Version:      0.1.0
Text Domain:  myathletik-child
*/

/* Self-hosted Manrope removes the external Google Fonts stylesheet and DNS/TLS chain. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-ext-600-800.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-600-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   Design tokens �?defined once, reused everywhere.
   Edit these to retheme the whole site.
   ========================================================= */
:root {
  /* Colors �?warm palette (see docs/site/design-brief.md). Tune, don't replace. */
  --ma-color-bg:        #faf8f5; /* warm off-white / cream background */
  --ma-color-surface:   #f1ede7; /* warm light surface for cards/sections */
  --ma-color-text:      #2b2724; /* warm near-black, not pure #000 */
  --ma-color-muted:     #6f675f; /* warm gray for secondary text */
  --ma-color-accent:    #c4602f; /* terracotta / burnt orange �?CTAs, highlights */
  --ma-color-accent-2:  #9a4a23; /* darker terracotta for hovers/links */
  --ma-color-border:    #e2dad0; /* warm border */
  --ma-color-white:     #ffffff; /* pure white for surfaces */
  --ma-color-dark:      #0c0b0a; /* dark for footer/CTA bands */

  /* Typography */
  --ma-font-body:    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ma-font-head:    "Manrope", var(--ma-font-body);
  --ma-fs-base:      1rem;
  --ma-fs-small:     0.875rem;
  --ma-fs-social:    0.75rem;
  --ma-fs-h1:        clamp(2rem, 4vw, 3rem);
  --ma-fs-h2:        clamp(1.5rem, 3vw, 2.25rem);
  --ma-fs-h3:        clamp(1.15rem, 1.8vw, 1.35rem);
  --ma-lh-body:      1.6;

  /* Spacing scale */
  --ma-space-1: 0.25rem;
  --ma-space-2: 0.5rem;
  --ma-space-3: 1rem;
  --ma-space-4: 1.5rem;
  --ma-space-5: 2.5rem;
  --ma-space-6: 4rem;


  --ma-section-y:    clamp(3.5rem, 7vw, 5.5rem);   /* vertical section padding, responsive */

  /* Layout */
  --ma-container:    1200px;
  --ma-radius:       6px;
  --ma-touch-target: 2.75rem;
  --ma-social-icon-size: 1.25rem;
  --ma-line-icon-stroke: 1.75;
  --ma-social-button-height: calc(var(--ma-touch-target) - var(--ma-space-2) - var(--ma-space-1));
  --ma-social-button-padding-x: var(--ma-space-2);
  --ma-product-lightbox-width: 38rem;
  /* Lookbook: trim the verified white side padding, retaining the full photo height. */
  --ma-lookbook-image-ratio: 2 / 3;
  --ma-lookbook-columns: 2;
  --ma-lookbook-gap: var(--ma-space-3);
  --ma-footer-social-width: 15rem;
  --ma-reading-width: 68ch;
  --ma-article-media-width: 30rem;
  --ma-article-title-width: 20ch;
  --ma-article-container: 87.5rem;
  --ma-article-reading-width: 72ch;
  --ma-article-sidebar-width: 15rem;
  --ma-article-table-min-width: 60rem;
  --ma-home-hero-content-width: 34rem;
  --ma-home-hero-badge-size: clamp(3.75rem, 4.8vw, 4.5rem);
  --ma-home-hero-video-backdrop: #d2c9bd;
  --ma-home-hero-bg: linear-gradient(90deg, var(--ma-home-hero-video-backdrop) 0%, var(--ma-color-bg) 74%);
  --ma-home-hero-video-height: 92%;
  --ma-home-hero-video-offset: -5%;
  --ma-home-hero-video-height-compact: 90%;
  --ma-home-hero-video-offset-compact: -12%;
  --ma-home-hero-video-mask-x: linear-gradient(90deg, #000 0%, #000 70%, transparent 100%);
  --ma-home-hero-video-mask-y: linear-gradient(180deg, transparent 0%, #000 9%, #000 100%);
  --ma-home-hero-video-overlay: linear-gradient(90deg, rgba(24, 21, 19, 0.84) 0%, rgba(24, 21, 19, 0.48) 34%, rgba(24, 21, 19, 0) 52%), linear-gradient(90deg, rgba(250, 248, 245, 0) 38%, rgba(250, 248, 245, 0.78) 66%, rgba(250, 248, 245, 0.97) 100%);
  --ma-home-hero-video-overlay-mobile: linear-gradient(180deg, rgba(250, 248, 245, 0.76) 0%, rgba(250, 248, 245, 0.92) 100%);
  --ma-home-hero-video-line: rgba(154, 74, 35, 0.3);
  --ma-home-desktop-chrome-height: 7.605rem; /* desktop header + social bar */
  --ma-client-logo-strip-height: 8.25rem;
  --ma-client-logo-frame-height: calc(var(--ma-space-6) + var(--ma-space-3) + var(--ma-space-1));
  --ma-client-logo-image-height: calc(var(--ma-space-6) + var(--ma-space-2));
  --ma-client-logo-max-width: 15rem;
  --ma-services-stage-number-width: calc(var(--ma-space-6) + var(--ma-space-3) + var(--ma-space-3));
  --ma-home-proof-content-width: 56rem;
  --ma-home-proof-overlay: linear-gradient(90deg, rgba(250, 248, 245, 0.97) 0%, rgba(250, 248, 245, 0.9) 58%, rgba(250, 248, 245, 0.42) 100%);
  --ma-home-proof-overlay-compact: linear-gradient(rgba(250, 248, 245, 0.91), rgba(250, 248, 245, 0.91));
  --ma-home-proof-card-bg: rgba(255, 255, 255, 0.82);
  --ma-home-why-card-bg: rgba(255, 255, 255, 0.9);
  --ma-home-why-card-shadow: 0 10px 24px rgba(43, 39, 36, 0.06);
  --ma-home-why-index-column: var(--ma-space-5);
  --ma-home-why-index-size: 1.35rem;
  /* Showcase: responsive library images and an uncropped, viewport-safe video viewer. */
  --ma-pl-library-image-height: clamp(16rem, 34vw, 30rem);
  --ma-pl-video-width: 68rem;
  --ma-pl-video-ratio: 16 / 9;
  --ma-pl-video-toolbar-height: calc(var(--ma-touch-target) + var(--ma-space-3));
  --ma-pl-video-backdrop: rgba(12, 11, 10, 0.76);
}

html,
body {
  overflow-x: hidden;
}

/* Keep native link underlines continuous across glyphs at every browser zoom.
   This changes underline rendering only; links that opt out remain unchanged. */
a {
  text-decoration-skip-ink: none;
}

/* =========================================================
   Custom styles below. Keep organized and commented.
   Agents: add clear section comments for each block.
   ========================================================= */

/* --- Site Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ma-color-white);
  border-bottom: 1px solid rgba(226, 218, 208, 0.9);
  box-shadow: 0 8px 24px rgba(43, 39, 36, 0.06);
}

.inside-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  max-width: var(--ma-container);
  margin: 0 auto;
  padding: 0.85rem var(--ma-space-4);
  gap: var(--ma-space-3);
  box-sizing: border-box;
}

.site-branding-container,
.site-branding {
  min-width: 0;
}

.site-branding-container {
  flex: 0 0 auto;
  max-width: 20rem;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img,
.site-header .header-image {
  display: block;
  width: auto;
  max-width: 8.5rem;
  height: 3.25rem;
  object-fit: contain;
}

.site-branding .main-title {
  margin: 0;
  font-family: var(--ma-font-head);
  font-size: clamp(1.85rem, 2.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1;
  white-space: nowrap;
}

.site-branding .main-title a {
  color: var(--ma-color-text);
}

/* --- Two-tone brand wordmark: "Athletik" + "Clothing" --- */
.ma-brand-title a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

/* Primary name: dark, bold �� carries the brand weight. */
.ma-brand-title__name {
  font-family: var(--ma-font-head);
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--ma-color-text);
}

/* Thin vertical divider between name and descriptor. */
.ma-brand-title__divider {
  display: inline-block;
  width: 1px;
  height: 1.1em;
  background: var(--ma-color-border);
}

/* Category descriptor: muted, lighter �� subtle complement to the name. */
.ma-brand-title__desc {
  font-family: var(--ma-font-head);
  font-weight: 400;
  font-size: 0.82em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ma-color-muted);
}

.site-description {
  margin-top: 0.15rem;
  color: var(--ma-color-muted);
  font-size: 0.8rem;
  line-height: 1.3;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 0;
  min-width: 0;
  background: transparent;
}

.nav-float-right #site-navigation {
  margin-left: auto;
}

.main-navigation .inside-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: var(--ma-space-2);
  width: 100%;
  padding: 0;
}

.main-navigation .main-nav ul {
  gap: 0.05rem;
}

.main-navigation:not(.toggled) .main-nav {
  flex: 0 1 auto;
  min-width: 0;
}

.main-navigation:not(.toggled) .main-nav > ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  margin: 0;
}

.main-navigation:not(.toggled) .main-nav > ul > li {
  flex: 0 0 auto;
  float: none;
}

.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-item > a {
  border-radius: 999px;
  color: var(--ma-color-text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 2.8rem;
  padding-right: 0.72rem;
  padding-left: 0.72rem;
  white-space: nowrap;
}

.main-navigation .main-nav ul li.menu-item-has-children > a {
  padding-right: 0;
}

.main-navigation .menu-item-has-children .dropdown-menu-toggle {
  padding-right: 0.72rem;
  padding-left: 0.25rem;
}

.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a,
.main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a,
.main-navigation .menu-bar-item:hover > a,
.main-navigation .menu-bar-item:focus > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
  background: var(--ma-color-surface);
  color: var(--ma-color-accent-2);
}

.main-navigation ul ul {
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-bg);
  box-shadow: 0 18px 34px rgba(43, 39, 36, 0.12);
  overflow: hidden;
  width: 17rem;
}

.main-navigation .main-nav ul ul li a {
  border-radius: 0;
  color: var(--ma-color-text);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.4;
  padding: 0.85rem 1rem;
}

.main-navigation .main-nav ul ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul ul li:not([class*="current-menu-"]):focus > a,
.main-navigation .main-nav ul ul li[class*="current-menu-"] > a {
  background: var(--ma-color-surface);
  color: var(--ma-color-accent-2);
}

/* --- Homepage social bar --- */
.ma-home-social-bar {
  width: 100%;
  background: var(--ma-color-surface);
  color: var(--ma-color-muted);
  border-bottom: thin solid var(--ma-color-border);
}

.ma-home-social-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ma-space-3);
  width: 100%;
  max-width: var(--ma-container);
  margin: 0 auto;
  padding: var(--ma-space-1) var(--ma-space-4);
  box-sizing: border-box;
}

.ma-home-social-bar__prompt {
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-social);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ma-social-links--header {
  display: flex;
  align-items: center;
  gap: var(--ma-space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ma-social-links--header a,
.ma-site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ma-space-2);
  min-height: var(--ma-touch-target);
  padding: 0 var(--ma-social-button-padding-x);
  border: thin solid var(--ma-color-white);
  border-radius: var(--ma-radius);
  color: var(--ma-color-white);
  font-size: var(--ma-fs-small);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.ma-social-links--header a {
  min-height: var(--ma-social-button-height);
  border-color: var(--ma-color-border);
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-social);
  font-weight: 700;
}

.ma-social-links--header a:hover,
.ma-social-links--header a:focus,
.ma-site-footer__social a:hover,
.ma-site-footer__social a:focus {
  border-color: var(--ma-color-accent);
  background: var(--ma-color-accent);
  color: var(--ma-color-white);
}

.ma-social-links--header a:hover,
.ma-social-links--header a:focus {
  border-color: var(--ma-color-accent);
  background: var(--ma-color-bg);
  color: var(--ma-color-accent-2);
}

.ma-social-links--header a:focus-visible,
.ma-site-footer__social a:focus-visible {
  outline: medium solid var(--ma-color-white);
  outline-offset: var(--ma-space-1);
}

.ma-social-links--header a:focus-visible {
  outline-color: var(--ma-color-accent-2);
}

.ma-social-links--header svg,
.ma-site-footer__social svg {
  flex: 0 0 auto;
  width: var(--ma-social-icon-size);
  height: var(--ma-social-icon-size);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ma-social-links--header svg path:last-child,
.ma-site-footer__social svg path:last-child {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 48rem) {
  .ma-home-social-bar__inner {
    display: block;
    padding-top: 0;
    padding-bottom: 0;
  }

  .ma-home-social-bar__prompt {
    display: none;
  }

  .ma-social-links--header {
    display: grid;
    grid-template-columns: repeat(4, var(--ma-touch-target));
    justify-content: center;
    gap: var(--ma-space-3);
    width: 100%;
  }

  .ma-social-links--header a {
    width: var(--ma-touch-target);
    min-height: var(--ma-touch-target);
    padding: 0;
  }

  .ma-social-links--header a span {
    display: none;
  }
}

.ma-header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0;
  margin-left: var(--ma-space-2);
}

.ma-language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.35rem;
  padding: 0 0.72rem;
  border: 1px solid var(--ma-color-border);
  background: var(--ma-color-bg);
  border-radius: 999px;
  color: var(--ma-color-text);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.ma-language-toggle:hover,
.ma-language-toggle:focus {
  border-color: var(--ma-color-accent);
  color: var(--ma-color-accent-2);
}

.ma-language-menu {
  position: relative;
}

.ma-language-options {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 80;
  display: grid;
  min-width: 5.4rem;
  margin: 0;
  padding: var(--ma-space-2) 0;
  list-style: none;
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-text);
  box-shadow: 0 18px 34px rgba(43, 39, 36, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.3rem);
  transition: opacity 140ms ease, transform 140ms ease;
}

.ma-language-menu:hover .ma-language-options,
.ma-language-menu:focus-within .ma-language-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ma-language-options button {
  width: 100%;
  padding: 0.58rem 1rem;
  border: 0;
  background: transparent;
  color: var(--ma-color-bg);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.ma-language-options button:hover,
.ma-language-options button:focus {
  background: rgba(250, 248, 245, 0.12);
  color: var(--ma-color-accent);
}

@media (min-width: 48.01rem) and (max-width: 74rem) {
  .inside-header {
    gap: var(--ma-space-2);
  }

  .site-branding .main-title {
    font-size: 1.7rem;
  }

  .main-navigation .main-nav ul li a,
  .main-navigation .menu-toggle,
  .main-navigation .menu-bar-item > a {
    font-size: 0.9rem;
    padding-right: 0.58rem;
    padding-left: 0.58rem;
  }

  .main-navigation .menu-item-has-children .dropdown-menu-toggle {
    padding-right: 0.58rem;
    padding-left: 0.18rem;
  }

  .site-logo img,
  .site-header .header-image {
    max-width: 7.5rem;
    height: 2.9rem;
  }
}

@media (max-width: 48rem) {
  .site-header {
    position: relative;
  }

  .inside-header {
    flex-wrap: wrap;
    gap: var(--ma-space-3);
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .site-logo img,
  .site-header .header-image {
    max-width: 8.5rem;
    height: 2.95rem;
  }

  .site-branding .main-title {
    font-size: 1.45rem;
  }

  .main-navigation .main-nav ul li a,
  .main-navigation .menu-toggle,
  .main-navigation .menu-bar-item > a {
    border-radius: var(--ma-radius);
    line-height: 2.7rem;
  }

  .main-navigation {
    flex: 1 1 100%;
    width: 100%;
  }

  .main-navigation .inside-navigation {
    justify-content: stretch;
  }

  .main-navigation .menu-toggle {
    margin-left: auto;
    background: var(--ma-color-surface);
    color: var(--ma-color-text);
  }

  .main-navigation.toggled .main-nav {
    width: 100%;
    margin-top: var(--ma-space-3);
  }

  .main-navigation.toggled .main-nav > ul {
    display: grid;
    gap: var(--ma-space-2);
    width: 100%;
    margin: 0;
    padding: var(--ma-space-3);
    border: 1px solid var(--ma-color-border);
    border-radius: var(--ma-radius);
    background: var(--ma-color-bg);
    box-shadow: 0 14px 28px rgba(43, 39, 36, 0.1);
  }

  .main-navigation.toggled .main-nav li {
    float: none;
    width: 100%;
    text-align: left;
  }

  .main-navigation.toggled .main-nav ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: var(--ma-space-3);
    padding-left: var(--ma-space-3);
  }

  .main-navigation.toggled ul ul {
    width: 100%;
    margin-top: var(--ma-space-2);
    margin-left: 0;
    border: 0;
    border-left: 2px solid var(--ma-color-accent);
    border-radius: 0;
    background: var(--ma-color-surface);
    box-shadow: none;
  }

  .main-navigation.toggled .main-nav ul ul li a {
    padding-left: var(--ma-space-4);
  }

  .ma-header-actions {
    flex: 0 0 auto;
    margin: 0 0 0 auto;
  }

}

/* --- Home: Hero (full-bleed garment video with content overlay) --- */
.ma-home {
  width: 100%;
  margin: 0;
  background: var(--ma-color-bg);
  color: var(--ma-color-text);
  font-family: var(--ma-font-body);
}

body.home .site-main.ma-home {
  margin: 0;
  max-width: none;
}

body.home .site-content,
body.home .content-area,
body.home .inside-article {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.home .site-content.grid-container {
  max-width: none;
}

body.home .container.grid-container {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.ma-home > section {
  width: 100%;
}

.ma-home-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 0;
  padding: clamp(1.75rem, 3.6vw, 3rem) var(--ma-space-4);
  overflow: hidden;
  box-sizing: border-box;
  background: var(--ma-home-hero-bg);
}

.ma-home-hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--ma-container);
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

/* --- Text panel --- */
.ma-home-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: var(--ma-home-hero-content-width);
  padding: var(--ma-space-3) 0;
  color: var(--ma-color-text);
}

.ma-home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  margin: 0 0 var(--ma-space-2);
  color: var(--ma-color-accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ma-home-hero__eyebrow::after {
  content: "";
  display: block;
  width: clamp(4rem, 12vw, 10rem);
  height: 1px;
  background: var(--ma-home-hero-video-line);
}

.ma-home-hero__title {
  margin: 0;
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  max-width: 18ch;
  font-size: var(--ma-fs-h1);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
}

.ma-home-hero__title span {
  display: block;
}

.ma-home-hero__title span + span {
  color: var(--ma-color-accent-2);
  font-weight: 500;
}

.ma-home-hero__subhead {
  max-width: var(--ma-home-hero-content-width);
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-muted);
  font-size: 1.02rem;
  line-height: 1.58;
}

.ma-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ma-space-3);
  margin-top: var(--ma-space-4);
}

.ma-home-hero__badges {
  display: grid;
  grid-template-columns: repeat(3, var(--ma-home-hero-badge-size));
  align-items: center;
  gap: var(--ma-space-3);
  width: fit-content;
  margin: var(--ma-space-3) 0 0;
  padding: 0;
  list-style: none;
}

.ma-home-hero__badge {
  display: grid;
  width: var(--ma-home-hero-badge-size);
  aspect-ratio: 1;
  margin: 0;
  place-items: center;
}

.ma-home-hero__badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- Full-bleed garment video over an eager LCP poster --- */
.ma-home-hero__poster,
.ma-home-hero__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ma-home-hero__poster {
  z-index: 0;
}

.ma-home-hero__video {
  z-index: 1;
  opacity: 0;
  transition: opacity 180ms ease-out;
}

.ma-home-hero__video.is-playing {
  opacity: 1;
}

.ma-home-hero__video-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: var(--ma-home-hero-video-overlay);
  pointer-events: none;
}

/* --- Buttons --- */
.ma-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--ma-radius);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.ma-button:focus-visible {
  outline: 3px solid rgba(194, 96, 47, 0.5);
  outline-offset: 3px;
}

.ma-button--primary {
  background: var(--ma-color-accent);
  color: var(--ma-color-bg);
}

.ma-button--primary:hover,
.ma-button--primary:focus {
  background: var(--ma-color-accent-2);
  color: var(--ma-color-bg);
}

.ma-button--outline {
  border-color: var(--ma-color-border);
  color: var(--ma-color-text);
}

.ma-button--outline:hover,
.ma-button--outline:focus {
  border-color: var(--ma-color-accent);
  background: var(--ma-color-surface);
  color: var(--ma-color-accent-2);
}
.ma-button--secondary {
  border-color: rgba(250, 248, 245, 0.58);
  color: var(--ma-color-bg);
}

.ma-button--secondary:hover,
.ma-button--secondary:focus {
  background: rgba(250, 248, 245, 0.12);
  border-color: rgba(250, 248, 245, 0.86);
  color: var(--ma-color-bg);
}

/* --- Desktop: garment stays left while copy uses the warm, quiet side --- */
@media (min-width: 64rem) {
  .ma-home-hero__inner {
    min-height: clamp(27rem, 50vh, 32rem);
  }

  .ma-home-hero__content {
    margin-right: 0;
    margin-left: auto;
  }

  .ma-home-hero__subhead {
    font-size: 1.08rem;
  }

  .ma-home-hero__poster,
  .ma-home-hero__video {
    inset: auto auto 0 var(--ma-home-hero-video-offset);
    width: auto;
    max-width: none;
    height: var(--ma-home-hero-video-height);
    object-fit: contain;
    -webkit-mask-image: var(--ma-home-hero-video-mask-x), var(--ma-home-hero-video-mask-y);
    -webkit-mask-composite: source-in;
    mask-image: var(--ma-home-hero-video-mask-x), var(--ma-home-hero-video-mask-y);
    mask-composite: intersect;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ma-home-hero__video {
    display: none;
  }
}

/* Keep the hero and logo strip together within the first PC viewport. */
@media (min-width: 64rem) and (max-width: 74.9375rem) {
  :root {
    --ma-home-desktop-chrome-height: 7.25rem;
  }

  .ma-home-hero__content {
    max-width: 31rem;
  }

  .ma-home-hero__poster,
  .ma-home-hero__video {
    left: var(--ma-home-hero-video-offset-compact);
    height: var(--ma-home-hero-video-height-compact);
  }
}

@media (min-width: 64rem) {
  .ma-home-hero__badges {
    grid-template-columns: repeat(6, var(--ma-home-hero-badge-size));
  }

  .ma-home-hero {
    height: calc(100vh - var(--ma-home-desktop-chrome-height) - var(--ma-client-logo-strip-height));
    height: calc(100svh - var(--ma-home-desktop-chrome-height) - var(--ma-client-logo-strip-height));
    min-height: 0;
    margin-bottom: 0;
    padding-block: var(--ma-space-2);
  }

  .ma-home-hero__inner {
    height: 100%;
    min-height: 0;
  }
}

@media (min-width: 64rem) and (max-height: 50rem) {
  .ma-home-hero {
    padding-block: 0;
  }
}

@media (max-width: 63.9375rem) {
  .ma-home-hero__eyebrow::after {
    width: 3.5rem;
  }

  .ma-home-hero__title {
    font-size: clamp(2.1rem, 11vw, 2.9rem);
  }

  .ma-home-hero__content {
    width: 100%;
    margin-inline: auto;
  }

  .ma-home-hero__video-overlay {
    background: var(--ma-home-hero-video-overlay-mobile);
  }
}

/* --- Home: Client Logos --- */
.ma-client-logos {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  background: var(--ma-color-white);
  color: var(--ma-color-muted);
  border-top: 1px solid var(--ma-color-border);
  border-bottom: 1px solid var(--ma-color-border);
  box-shadow: 0 0 0 100vmax var(--ma-color-white);
  clip-path: inset(0 -100vmax);
}

.ma-client-logos__inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: var(--ma-space-1) 0 var(--ma-space-2);
  box-sizing: border-box;
}

.ma-client-logos__heading {
  max-width: var(--ma-container);
  margin: 0 auto var(--ma-space-2);
  padding: 0 var(--ma-space-4);
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-social);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.ma-client-logos__viewport {
  width: 100%;
  overflow: hidden;
}

.ma-client-logos__track {
  display: flex;
  align-items: center;
  gap: clamp(2.4rem, 4vw, 5rem);
  width: max-content;
  padding: 0;
  will-change: transform;
  animation: ma-client-logo-scroll 120s linear infinite;
}

.ma-client-logos__viewport:hover .ma-client-logos__track,
.ma-client-logos__viewport:focus-within .ma-client-logos__track {
  animation-play-state: paused;
}

.ma-client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  height: var(--ma-client-logo-frame-height);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}

.ma-client-logo img {
  display: block;
  width: auto;
  max-width: var(--ma-client-logo-max-width);
  height: var(--ma-client-logo-image-height);
  max-height: var(--ma-client-logo-image-height);
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.ma-client-logo:hover img,
.ma-client-logo:focus-within img {
  filter: none;
  opacity: 1;
  transform: translateY(-1px);
}

@keyframes ma-client-logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 64rem) {
  .ma-client-logos {
    height: var(--ma-client-logo-strip-height);
    box-sizing: border-box;
  }

  .ma-client-logos__inner {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: 100%;
    padding: var(--ma-space-2) 0 calc(var(--ma-space-2) + var(--ma-space-1));
  }

  .ma-client-logos__viewport {
    display: flex;
    align-items: center;
    min-height: 0;
  }
}

@media (max-width: 48rem) {
  .ma-client-logos__inner {
    padding: var(--ma-space-3) 0 var(--ma-space-4);
  }

  .ma-client-logos__heading {
    margin-bottom: var(--ma-space-2);
    font-size: 0.64rem;
    letter-spacing: 0.05em;
    line-height: 1.45;
  }

  .ma-client-logos__track {
    gap: 2rem;
    animation-duration: 105s;
  }

  .ma-client-logo img {
    max-width: calc(var(--ma-client-logo-max-width) - var(--ma-space-5) - var(--ma-space-3));
    height: calc(var(--ma-space-5) + var(--ma-space-2));
    max-height: calc(var(--ma-space-5) + var(--ma-space-2));
  }

  .ma-client-logo {
    height: calc(var(--ma-space-5) + var(--ma-space-3));
  }
}

/* --- Home: Style Gallery --- */
.ma-home-style-gallery {
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--ma-color-bg) 0%, rgba(250, 248, 245, 0.92) 55%, var(--ma-color-surface) 100%);
}

.ma-home-style-gallery .ma-section-inner {
  padding-bottom: var(--ma-space-4);
}

.ma-style-marquee {
  width: 100%;
  padding: 0 0 var(--ma-space-6);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.ma-style-marquee__track {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: max-content;
  padding: 0 1rem;
  min-width: 0;
  will-change: transform;
  animation: ma-style-scroll 110s linear infinite;
}

.ma-style-marquee:hover .ma-style-marquee__track,
.ma-style-marquee:focus-within .ma-style-marquee__track {
  animation-play-state: paused;
}

.ma-style-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--ma-radius);
  background: var(--ma-color-border);
  box-shadow: 0 18px 38px rgba(43, 39, 36, 0.14);
}

.ma-style-column {
  display: grid;
  grid-auto-rows: min-content;
  gap: 1rem;
  width: clamp(10.5rem, 16vw, 15.5rem);
  flex-shrink: 0;
}

.ma-style-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ma-style-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 220ms ease;
}

.ma-style-card:hover img {
  transform: scale(1.035);
}

.ma-style-card--short {
  aspect-ratio: 1 / 0.95;
}

.ma-style-card--medium {
  aspect-ratio: 2 / 2.35;
}

.ma-style-card--tall {
  aspect-ratio: 2 / 3.15;
}

@keyframes ma-style-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 48rem) {
  .ma-style-marquee {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ma-style-marquee__track {
    gap: 0.85rem;
    padding: 0 var(--ma-space-3);
    animation-duration: 90s;
  }

  .ma-style-column {
    width: 11.5rem;
    scroll-snap-align: center;
  }
}



/* --- Home: Shared Sections --- */
.ma-section-inner {
  width: 100%;
  max-width: var(--ma-container);
  margin: 0 auto;
  padding: var(--ma-section-y) var(--ma-space-4);
  box-sizing: border-box;
}

.ma-section-heading {
  max-width: 42rem;
  margin-bottom: var(--ma-space-5);
}

.ma-section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.ma-section-heading h2 {
  margin: 0;
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h2);
  line-height: 1.15;
}

.ma-section-heading p:not(.ma-section-kicker) {
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-muted);
  font-size: 1rem;
  line-height: var(--ma-lh-body);
}

.ma-section-kicker {
  margin: 0 0 var(--ma-space-2);
  color: var(--ma-color-accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ma-text-link {
  color: var(--ma-color-accent-2);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

/* Shared editorial photography embedded within existing content sections. */
.ma-context-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-surface);
  line-height: 0;
}

.ma-context-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Home: Capability Proof --- */
.ma-home-proof {
  background: var(--ma-color-bg);
}

.ma-home-proof__panel,
.ma-home-why__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--ma-space-5);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-surface);
}

.ma-home-proof__panel::before,
.ma-home-why__panel::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: var(--ma-home-proof-overlay);
  content: "";
}

.ma-home-proof__background,
.ma-home-why__background {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
  line-height: 0;
}

.ma-home-proof__foreground,
.ma-home-why__foreground {
  position: relative;
  z-index: 2;
}

.ma-home-proof__background img,
.ma-home-why__background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ma-home-proof__content {
  max-width: var(--ma-home-proof-content-width);
  min-width: 0;
}

.ma-home-proof__grid {
  display: grid;
  gap: var(--ma-space-4);
}

.ma-home-proof__item {
  padding: var(--ma-space-4);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-home-proof-card-bg);
  box-shadow: 0 10px 24px rgba(43, 39, 36, 0.06);
}

.ma-home-proof__icon {
  display: grid;
  width: var(--ma-space-5);
  height: var(--ma-space-5);
  margin-bottom: var(--ma-space-3);
  place-items: center;
  color: var(--ma-color-text);
}

.ma-home-proof__icon .ma-line-icon {
  width: 100%;
  height: 100%;
}

.ma-home-proof__item h3,
.ma-home-proof__item p {
  margin: 0;
}

.ma-home-proof__item h3 {
  color: var(--ma-color-text);
  font-size: var(--ma-fs-h3);
}

.ma-home-proof__item p {
  margin-top: var(--ma-space-2);
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-home-proof__note {
  max-width: var(--ma-reading-width);
  margin: var(--ma-space-5) 0 0;
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-home-proof__note a {
  display: inline;
  margin-left: var(--ma-space-1);
  font-weight: 700;
}

@media (min-width: 48rem) {
  .ma-home-proof__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 47.99rem) {
  .ma-home-proof__panel,
  .ma-home-why__panel {
    padding: var(--ma-space-3);
  }

  .ma-home-proof__panel::before,
  .ma-home-why__panel::before {
    background: var(--ma-home-proof-overlay-compact);
  }
}

/* --- Home: Technical Guides --- */
.ma-home-guides {
  background: var(--ma-color-surface);
}

.ma-home-guides__layout {
  display: grid;
  gap: var(--ma-space-5);
}

.ma-home-guides__intro {
  align-self: center;
  max-width: var(--ma-reading-width);
}

.ma-home-guides__intro h2 {
  margin: 0;
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h2);
  line-height: 1.15;
}

.ma-home-guides__intro p:not(.ma-section-kicker) {
  margin: var(--ma-space-3) 0 var(--ma-space-4);
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-home-guides__featured a {
  display: grid;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-bg);
  color: var(--ma-color-text);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.ma-home-guides__featured a:hover,
.ma-home-guides__featured a:focus-visible {
  border-color: var(--ma-color-accent);
  transform: translateY(calc(-1 * var(--ma-space-1)));
}

.ma-home-guides__featured a:focus-visible {
  outline: 3px solid var(--ma-color-accent);
  outline-offset: var(--ma-space-1);
}

.ma-home-guides__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ma-color-border);
}

.ma-home-guides__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ma-home-guides__featured-copy {
  padding: var(--ma-space-4);
}

.ma-home-guides__featured-copy p,
.ma-home-guides__featured-copy h3 {
  margin: 0;
}

.ma-home-guides__featured-copy p {
  color: var(--ma-color-accent-2);
  font-size: var(--ma-fs-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ma-home-guides__featured-copy h3 {
  margin-top: var(--ma-space-2);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h3);
  line-height: 1.25;
}

.ma-home-guides__featured-copy > span {
  display: inline-block;
  margin-top: var(--ma-space-3);
  color: var(--ma-color-accent-2);
  font-weight: 700;
}

@media (min-width: 48rem) {
  .ma-home-guides__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .ma-home-guides__featured a {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .ma-home-guides__media {
    min-width: 0;
    aspect-ratio: auto;
  }

  .ma-home-guides__featured-copy {
    min-width: 0;
    align-self: center;
  }
}

/* --- Home: Product Categories (Bento layout, v2) ---
   Three tiers by card area:
     Tier 1  feature (Sportswear, big left card) + t1-side (Merino, tall right)
     Tier 2  t2-1 (Knitted Fabrics) + t2-2 (Outdoor Clothing)
     Tier 3  t3-1 (Silk Wear) + t3-2 (Sports Accessories) + t3-3 (Underwear)
   Hierarchy is driven by card SIZE, not text. Aspect ratios are locked so
   images always crop cleanly and rows stay perfectly aligned.
*/

.ma-home-categories {
  background:
    linear-gradient(180deg, var(--ma-color-bg) 0%, var(--ma-color-surface) 100%);
}

/* Mobile-first: single column stack, generous card height so images breathe. */
.ma-category-bento {
  display: grid;
  gap: var(--ma-space-3);
  grid-template-areas:
    "feature"
    "t1-side"
    "t2-1"
    "t2-2"
    "t3-1"
    "t3-2"
    "t3-3";
}

/* --- Card base --- */
.ma-category-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--ma-radius);
  background: var(--ma-color-text);
  box-shadow: 0 16px 34px rgba(43, 39, 36, 0.12);
  text-decoration: none;
  transform: translateY(0);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

/* Locked aspect ratios per tier (mobile) �� the key to a perfectly aligned grid. */
.ma-category-card--feature {
  aspect-ratio: 3 / 2;
}

.ma-category-card--t1-side {
  aspect-ratio: 4 / 5;
}

.ma-category-card--t2-1,
.ma-category-card--t2-2 {
  aspect-ratio: 4 / 3;
}

.ma-category-card--t3-1,
.ma-category-card--t3-2,
.ma-category-card--t3-3 {
  aspect-ratio: 5 / 3;
}

/* Image fills the card; object-position comes from inline style per card. */
.ma-category-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
  transition: opacity 180ms ease, transform 220ms ease;
}

/* Gradient overlay for text legibility (bottom-weighted). */
.ma-category-card__overlay {
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(180deg, rgba(43, 39, 36, 0), rgba(43, 39, 36, 0.78));
  pointer-events: none;
}

/* Capability tag �� top-left pill, only on tier-1 cards. */
.ma-category-card__tag {
  position: absolute;
  top: var(--ma-space-3);
  left: var(--ma-space-3);
  z-index: 2;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-family: var(--ma-font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Category label, bottom-left. */
.ma-category-card__label {
  position: absolute;
  z-index: 2;
  left: var(--ma-space-3);
  right: var(--ma-space-3);
  bottom: var(--ma-space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ma-space-2);
  color: var(--ma-color-white);
}

.ma-category-card__title {
  display: block;
  font-family: var(--ma-font-head);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

/* Subtitle sits under the title (e.g. "Apparel & base layers" on Merino). */
.ma-category-card__subtitle {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--ma-font-body);
  font-size: clamp(0.72rem, 1.1vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.88;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Tier-1 cards get a larger title to match their visual weight. */
.ma-category-card--feature .ma-category-card__title,
.ma-category-card--t1-side .ma-category-card__title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

/* Hover / focus: lift + image zoom. */
.ma-category-card:hover,
.ma-category-card:focus {
  box-shadow: 0 22px 44px rgba(43, 39, 36, 0.2);
  transform: translateY(-2px);
}

.ma-category-card:hover img,
.ma-category-card:focus img {
  opacity: 1;
  transform: scale(1.04);
}

/* --- Tablet (48rem+): two columns.
   Tier 1: feature (Sportswear) wide-left + t1-side (Merino) tall-right.
   Tier 2: two equal cards.
   Tier 3: three cards, last one spans full width as a banner. --- */
@media (min-width: 48rem) {
  .ma-category-bento {
    gap: var(--ma-space-4);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "feature  feature"
      "feature  t1-side"
      "t2-1     t2-2"
      "t3-1     t3-2"
      "t3-3     t3-3";
  }

  /* Feature card is wide landscape; side card stays tall portrait. */
  .ma-category-card--feature {
    aspect-ratio: auto;
  }
  .ma-category-card--t1-side {
    aspect-ratio: 3 / 4;
  }

  /* Tier-2 cards square up. */
  .ma-category-card--t2-1,
  .ma-category-card--t2-2 {
    aspect-ratio: 1 / 1;
  }

  /* Tier-3 cards: first two square, third is a wide banner. */
  .ma-category-card--t3-1,
  .ma-category-card--t3-2 {
    aspect-ratio: 1 / 1;
  }
  .ma-category-card--t3-3 {
    aspect-ratio: 2 / 1;
  }

  .ma-category-card__label {
    left: var(--ma-space-4);
    right: var(--ma-space-4);
    bottom: var(--ma-space-4);
  }
}

/* --- Desktop (64rem+): 4-column bento, area-based hierarchy.
   Row 1 (tier 1) is tallest; row 3 (tier 3) shortest. --- */
@media (min-width: 64rem) {
  .ma-category-bento {
    gap: var(--ma-space-4);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "feature  feature  feature  t1-side"
      "t2-1     t2-1     t2-2     t2-2"
      "t3-1     t3-2     t3-3     t3-3";
  }

  /* On desktop, heights are driven by the grid rows; let cards fill rows. */
  .ma-category-card--feature,
  .ma-category-card--t1-side,
  .ma-category-card--t2-1,
  .ma-category-card--t2-2,
  .ma-category-card--t3-1,
  .ma-category-card--t3-2,
  .ma-category-card--t3-3 {
    aspect-ratio: auto;
    height: 100%;
    min-height: 0;
  }

  /* Lock the grid ROW heights so the tier hierarchy is explicit and stable. */
  .ma-category-bento {
    grid-template-rows: 460px 260px 200px;
  }
}

/* --- Wide desktop (75rem+): a touch more height for impact. --- */
@media (min-width: 75rem) {
  .ma-category-bento {
    grid-template-rows: 500px 280px 220px;
  }
}

/* --- Home: Why Myathletik --- */
.ma-home-why {
  background: var(--ma-color-bg);
}

.ma-home-why__layout {
  display: grid;
  gap: var(--ma-space-5);
}

.ma-home-why__layout > .ma-section-heading {
  margin-bottom: 0;
}

.ma-home-why__list {
  display: grid;
  gap: var(--ma-space-3);
}

.ma-reason-card {
  display: grid;
  grid-template-columns: var(--ma-home-why-index-column) minmax(0, 1fr);
  column-gap: var(--ma-space-3);
  padding: var(--ma-space-3) var(--ma-space-4);
  border: 1px solid var(--ma-color-border);
  background: var(--ma-home-why-card-bg);
  border-radius: var(--ma-radius);
  box-shadow: var(--ma-home-why-card-shadow);
}

.ma-reason-card span {
  display: inline-block;
  align-self: start;
  color: var(--ma-color-accent);
  font-family: var(--ma-font-head);
  font-size: var(--ma-home-why-index-size);
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.ma-reason-card h3 {
  grid-column: 2;
  margin: 0;
  font-size: var(--ma-fs-h3);
}

.ma-reason-card p {
  grid-column: 1 / -1;
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

@media (min-width: 48rem) and (max-width: 63.9375rem) {
  .ma-home-why__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-reason-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64rem) {
  .ma-home-why__layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
  }

  .ma-reason-card span {
    grid-row: 1 / span 2;
  }

  .ma-reason-card p {
    grid-column: 2;
    margin-top: var(--ma-space-2);
  }
}

/* --- Home: Numbers Proof --- */
.ma-home-numbers {
  background: var(--ma-color-text);
  color: var(--ma-color-bg);
}

.ma-home-numbers .ma-section-heading h2,
.ma-home-numbers .ma-section-kicker {
  color: var(--ma-color-bg);
}

.ma-home-numbers__grid {
  display: grid;
  gap: var(--ma-space-4);
}

.ma-number-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: var(--ma-space-4);
  border: 1px solid rgba(250, 248, 245, 0.14);
  border-radius: var(--ma-radius);
  background: rgba(250, 248, 245, 0.04);
  box-shadow: inset 0 1px 0 rgba(250, 248, 245, 0.06);
  transition: border-color 200ms ease, background 200ms ease;
}

.ma-number-card:hover {
  border-color: var(--ma-color-accent);
  background: rgba(250, 248, 245, 0.1);
}

.ma-number-card__figure {
  display: grid;
  min-height: 4.85rem;
  align-content: start;
  gap: 0.45rem;
}

.ma-number-card__figure strong {
  display: inline-block;
  color: var(--ma-color-accent);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  white-space: nowrap;
}

.ma-number-card__figure span {
  display: block;
  color: rgba(250, 248, 245, 0.74);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ma-number-card h3 {
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-bg);
  font-size: var(--ma-fs-h3);
}

.ma-number-card p {
  margin: var(--ma-space-2) 0 0;
  color: rgba(250, 248, 245, 0.76);
  line-height: var(--ma-lh-body);
}

@media (min-width: 48rem) {
  .ma-home-numbers__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 30rem) {
  .ma-number-card__figure {
    min-height: auto;
  }
}

/* --- Home: Process Snapshot --- */
.ma-home-process {
  background: var(--ma-color-bg);
}

.ma-home-process__grid {
  display: grid;
  gap: var(--ma-space-4);
}

.ma-process-step {
  display: block;
  padding: var(--ma-space-4);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: rgba(250, 248, 245, 0.62);
  color: var(--ma-color-text);
  box-shadow: 0 10px 24px rgba(43, 39, 36, 0.06);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ma-process-step--featured {
  border-color: var(--ma-color-accent);
  background: var(--ma-color-surface);
}

.ma-process-step:hover,
.ma-process-step:focus {
  border-color: var(--ma-color-accent);
  box-shadow: 0 16px 30px rgba(43, 39, 36, 0.12);
  transform: translateY(-2px);
}

.ma-process-step__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ma-space-3);
  margin-bottom: var(--ma-space-3);
}

.ma-process-step__icon {
  display: grid;
  width: var(--ma-space-5);
  height: var(--ma-space-5);
  place-items: center;
  color: var(--ma-color-text);
}

.ma-process-step__icon .ma-line-icon {
  width: 100%;
  height: 100%;
}

.ma-process-step__index {
  color: var(--ma-color-accent-2);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-small);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ma-process-step h3 {
  margin: 0;
  font-size: var(--ma-fs-h3);
}

.ma-process-step p {
  margin: var(--ma-space-2) 0 0;
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

@media (min-width: 48rem) {
  .ma-home-process__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* --- Home: Partnership Trust --- */
.ma-home-partnership {
  background: var(--ma-color-surface);
}

.ma-home-partnership__layout {
  display: grid;
  gap: var(--ma-space-5);
}

.ma-home-partnership__image {
  aspect-ratio: 4 / 3;
  max-height: 420px;
  overflow: hidden;
  border-radius: var(--ma-radius);
  background: var(--ma-color-border);
  box-shadow: 0 18px 40px rgba(43, 39, 36, 0.14);
}

.ma-home-partnership__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ma-home-partnership__content {
  max-width: 34rem;
}

.ma-home-partnership__content h2 {
  margin: 0;
  font-size: var(--ma-fs-h2);
  line-height: 1.15;
}

.ma-home-partnership__content p:not(.ma-section-kicker) {
  margin: var(--ma-space-3) 0;
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

@media (min-width: 48rem) {
  .ma-home-partnership__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
  }
}

/* --- Home: Certifications --- */
.ma-home-certifications {
  background: var(--ma-color-bg);
}

.ma-certification-groups {
  display: grid;
  gap: var(--ma-space-5);
}

.ma-certification-group {
  display: grid;
  gap: var(--ma-space-3);
}

.ma-certification-group h3 {
  margin: 0;
  font-size: var(--ma-fs-h3);
}

.ma-certification-group p {
  max-width: 48rem;
  margin: 0;
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-home-certifications__strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ma-space-4);
}

.ma-certification-badge {
  display: grid;
  min-height: 7rem;
  place-items: center;
  padding: var(--ma-space-3);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: rgba(255, 255, 255, 0.5);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ma-certification-badge:hover {
  border-color: rgba(196, 96, 47, 0.4);
  box-shadow: 0 8px 20px rgba(43, 39, 36, 0.08);
  transform: translateY(-2px);
}

.ma-certification-badge img {
  max-width: 5.5rem;
  max-height: 5.5rem;
  object-fit: contain;
}

@media (min-width: 48rem) {
  .ma-home-certifications__strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .ma-home-certifications__strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* --- Home: Latest Posts --- */
.ma-home-latest {
  background: var(--ma-color-surface);
}

.ma-home-latest__grid {
  display: grid;
  gap: var(--ma-space-4);
}

.ma-post-card a {
  display: block;
  height: 100%;
  padding: var(--ma-space-4);
  border-radius: var(--ma-radius);
  background: var(--ma-color-bg);
  color: var(--ma-color-text);
  text-decoration: none;
}

.ma-post-card time {
  color: var(--ma-color-muted);
  font-size: 0.9rem;
}

.ma-post-card h3 {
  margin: var(--ma-space-2) 0 0;
  font-size: var(--ma-fs-h3);
}

.ma-post-card p,
.ma-home-latest__empty {
  margin: var(--ma-space-2) 0 0;
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

@media (min-width: 48rem) {
  .ma-home-latest__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --- Home: Inquiry CTA --- */
.ma-home-inquiry {
  background: var(--ma-color-text);
  color: var(--ma-color-bg);
}

.ma-home-inquiry__layout {
  display: grid;
  gap: var(--ma-space-5);
}

.ma-home-inquiry .ma-section-kicker,
.ma-home-inquiry h2 {
  color: var(--ma-color-bg);
}

.ma-home-inquiry h2 {
  margin: 0;
  font-size: var(--ma-fs-h2);
  line-height: 1.15;
}

.ma-home-inquiry__copy p:not(.ma-section-kicker) {
	max-width: var(--ma-reading-width);
	margin: var(--ma-space-3) 0 0;
  color: rgba(250, 248, 245, 0.78);
  line-height: var(--ma-lh-body);
}

.ma-home-inquiry__brief {
	display: grid;
	gap: var(--ma-space-3);
	margin: var(--ma-space-5) 0 0;
	padding: 0;
	list-style: none;
}

.ma-home-inquiry__brief-item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: var(--ma-space-3);
	padding: var(--ma-space-3);
	border: 1px solid var(--ma-color-muted);
	border-radius: var(--ma-radius);
	background: color-mix(in srgb, var(--ma-color-bg) 7%, var(--ma-color-text));
}

.ma-home-inquiry__brief-icon {
	display: grid;
	width: var(--ma-touch-target);
	height: var(--ma-touch-target);
	place-items: center;
	border-radius: var(--ma-radius);
	background: var(--ma-color-bg);
	color: var(--ma-color-accent);
}

.ma-home-inquiry__brief-icon svg {
	width: var(--ma-space-4);
	height: var(--ma-space-4);
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.75;
}

.ma-home-inquiry__brief-item strong,
.ma-home-inquiry__brief-item small,
.ma-home-inquiry__brief-item a {
	display: block;
}

.ma-home-inquiry__brief-item strong {
	color: var(--ma-color-bg);
	font-family: var(--ma-font-head);
	font-size: var(--ma-fs-base);
}

.ma-home-inquiry__brief-item small,
.ma-home-inquiry__brief-item a {
	margin-top: var(--ma-space-1);
	font-size: var(--ma-fs-small);
	line-height: var(--ma-lh-body);
}

.ma-home-inquiry__brief-item small {
	color: var(--ma-color-border);
}

.ma-home-inquiry__brief-item a {
	color: var(--ma-color-bg);
	text-decoration: underline;
	text-underline-offset: var(--ma-space-1);
}

.ma-home-inquiry__brief-item a:hover,
.ma-home-inquiry__brief-item a:focus-visible {
	color: var(--ma-color-accent);
}

@media (min-width: 48rem) {
	.ma-home-inquiry__brief {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.ma-inquiry-form {
  display: grid;
  gap: var(--ma-space-4);
  padding: clamp(var(--ma-space-4), 2.5vw, calc(var(--ma-space-5) - var(--ma-space-2)));
  border-radius: 0.75rem;
  background: var(--ma-color-bg);
  color: var(--ma-color-text);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.ma-form-row {
  display: grid;
  gap: var(--ma-space-2);
}

.ma-form-row label {
  font-weight: 700;
}

.ma-form-row input,
.ma-form-row select,
.ma-form-row textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
  color: var(--ma-color-text);
  font: inherit;
}

.ma-form-row textarea {
  min-height: 8rem;
  resize: vertical;
}

.ma-inquiry-form__note {
  margin: 0;
  color: var(--ma-color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (min-width: 48rem) {
  .ma-inquiry-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-form-row--full,
  .ma-inquiry-form .ma-button,
  .ma-inquiry-form__note {
    grid-column: 1 / -1;
  }
}

/* --- Fluent Forms styling --- */
.ma-inquiry-form--fluent {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.ma-inquiry-form--fluent > *,
.ma-contact-form-panel .fluentform,
.ma-contact-form-panel .frm-fluent-form,
.ma-contact-form-panel form,
.ma-inquiry-form--fluent .fluentform,
.ma-inquiry-form--fluent .frm-fluent-form,
.ma-inquiry-form--fluent form {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.ma-contact-form-panel .fluentform,
.ma-contact-form-panel .frm-fluent-form,
.ma-inquiry-form--fluent .fluentform,
.ma-inquiry-form--fluent .frm-fluent-form {
  margin-top: var(--ma-space-4);
}

.ma-contact-form-panel .ff-el-group,
.ma-inquiry-form--fluent .ff-el-group {
  width: 100%;
  margin-bottom: var(--ma-space-3);
  box-sizing: border-box;
}

.ma-contact-form-panel .ff-t-container,
.ma-inquiry-form--fluent .ff-t-container {
  display: grid;
  width: 100%;
  gap: var(--ma-space-3);
  margin: 0;
  box-sizing: border-box;
}

.ma-contact-form-panel .ff-t-cell,
.ma-inquiry-form--fluent .ff-t-cell {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  padding: 0 !important;
  box-sizing: border-box;
}

.ma-contact-form-panel .ff-el-input--label,
.ma-inquiry-form--fluent .ff-el-input--label {
  display: grid;
  align-items: end;
  margin-bottom: var(--ma-space-2);
}

.ma-contact-form-panel .ff-el-input--label label,
.ma-inquiry-form--fluent .ff-el-input--label label {
  margin: 0;
  color: var(--ma-color-text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.ma-contact-form-panel .ff-el-form-control,
.ma-contact-form-panel input[type="text"],
.ma-contact-form-panel input[type="email"],
.ma-contact-form-panel input[type="url"],
.ma-contact-form-panel input[type="tel"],
.ma-contact-form-panel input[type="number"],
.ma-contact-form-panel input[type="file"],
.ma-contact-form-panel select,
.ma-contact-form-panel textarea,
.ma-inquiry-form--fluent .ff-el-form-control,
.ma-inquiry-form--fluent input[type="text"],
.ma-inquiry-form--fluent input[type="email"],
.ma-inquiry-form--fluent input[type="url"],
.ma-inquiry-form--fluent input[type="tel"],
.ma-inquiry-form--fluent input[type="number"],
.ma-inquiry-form--fluent input[type="file"],
.ma-inquiry-form--fluent select,
.ma-inquiry-form--fluent textarea {
  width: 100% !important;
  max-width: none !important;
  min-height: 2.95rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
  color: var(--ma-color-text);
  font: inherit;
  line-height: 1.35;
  box-sizing: border-box;
}

.ma-contact-form-panel textarea,
.ma-inquiry-form--fluent textarea {
	min-height: calc(var(--ma-space-6) * 2);
  resize: vertical;
}

.ma-inquiry-form--fluent textarea {
	min-height: calc(var(--ma-space-6) + var(--ma-space-4));
}

.ma-contact-form-panel .ff-el-form-control:focus,
.ma-contact-form-panel input:focus,
.ma-contact-form-panel select:focus,
.ma-contact-form-panel textarea:focus,
.ma-inquiry-form--fluent .ff-el-form-control:focus,
.ma-inquiry-form--fluent input:focus,
.ma-inquiry-form--fluent select:focus,
.ma-inquiry-form--fluent textarea:focus {
  border-color: var(--ma-color-accent);
  box-shadow: 0 0 0 3px rgba(196, 96, 47, 0.16);
  outline: 0;
}

.ma-contact-form-panel .ff-btn-submit,
.ma-contact-form-panel button[type="submit"],
.ma-inquiry-form--fluent .ff-btn-submit,
.ma-inquiry-form--fluent button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.2rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--ma-color-accent);
  border-radius: var(--ma-radius);
  background: var(--ma-color-accent);
  color: var(--ma-color-white);
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.ma-contact-form-panel .ff-btn-submit:hover,
.ma-contact-form-panel .ff-btn-submit:focus,
.ma-contact-form-panel button[type="submit"]:hover,
.ma-contact-form-panel button[type="submit"]:focus,
.ma-inquiry-form--fluent .ff-btn-submit:hover,
.ma-inquiry-form--fluent .ff-btn-submit:focus,
.ma-inquiry-form--fluent button[type="submit"]:hover,
.ma-inquiry-form--fluent button[type="submit"]:focus {
  border-color: var(--ma-color-accent-2);
  background: var(--ma-color-accent-2);
  transform: translateY(-1px);
}

@media (min-width: 48rem) {
  .ma-contact-form-panel .ff-t-container,
  .ma-inquiry-form--fluent .ff-t-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .ma-contact-form-panel .ff-el-input--label,
  .ma-inquiry-form--fluent .ff-el-input--label {
    min-height: 2.7rem;
  }

  .ma-contact-form-panel .ff_submit_btn_wrapper,
  .ma-inquiry-form--fluent .ff_submit_btn_wrapper {
    width: 100%;
  }
}

@media (max-width: 47.99rem) {
  .ma-contact-form-panel .ff-t-container,
  .ma-inquiry-form--fluent .ff-t-container {
    grid-template-columns: 1fr;
  }

  .ma-contact-form-panel .ff-el-input--label,
  .ma-inquiry-form--fluent .ff-el-input--label {
    min-height: 0;
  }
}

/* =========================================================
   Contact Page
   ========================================================= */

body.page .site-content.grid-container:has(.ma-contact-page),
body.page .container.grid-container:has(.ma-contact-page) {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.ma-contact-page {
  width: 100vw;
  max-width: none;
  background: var(--ma-color-bg);
  color: var(--ma-color-text);
}

.ma-contact-hero {
  position: relative;
  padding: var(--ma-space-6) 0 var(--ma-space-5);
  background: var(--ma-color-surface);
  overflow: hidden;
}

/* --- Full-bleed background hero variant (Contact) --- */
/* Same pattern as Services / Sustainability / About:
   <img> covers the section, dark gradient overlay on the left, white
   left-aligned text. Ken Burns zooms slowly to add depth. */
.ma-contact-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  /* Ken Burns animation removed �� did not render reliably across browsers in
     testing. A slight static zoom keeps depth without relying on motion. */
  transform: scale(1.04);
}

.ma-contact-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(12, 11, 10, 0.82) 0%,
      rgba(12, 11, 10, 0.55) 40%,
      rgba(12, 11, 10, 0.15) 100%),
    linear-gradient(180deg,
      rgba(12, 11, 10, 0.3) 0%,
      rgba(12, 11, 10, 0.1) 30%,
      rgba(12, 11, 10, 0.55) 100%);
}

/* Lift content above overlay; flip text to light. Note: both .ma-contact-hero
   and .ma-contact-hero--bg live on the SAME <section>, so chain them to raise
   specificity above the default .ma-contact-hero h1 / p rules below. */
.ma-contact-hero.ma-contact-hero--bg .ma-section-inner {
  position: relative;
  z-index: 2;
}

.ma-contact-hero.ma-contact-hero--bg .ma-section-kicker {
  color: rgba(255, 255, 255, 0.75);
}

.ma-contact-hero.ma-contact-hero--bg h1 {
  color: var(--ma-color-white);
}

/* Intro paragraph uses a softer grey-white so it visually separates from
   the pure-white H1 �� the previous version used the same white and looked flat. */
.ma-contact-hero.ma-contact-hero--bg .ma-contact-hero__intro {
  color: rgba(255, 255, 255, 0.65); /* soft grey-white, distinct from pure-white H1 */
  max-width: 44rem;
}

.ma-contact-hero--bg {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.ma-contact-hero h1 {
  max-width: 12ch;
  margin: var(--ma-space-2) 0 0;
  font-family: var(--ma-font-head);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 600;
  line-height: 1;
}

.ma-contact-hero p:not(.ma-section-kicker) {
  max-width: 48rem;
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-muted);
  font-size: 1.08rem;
  line-height: var(--ma-lh-body);
}

.ma-contact-main {
  padding: var(--ma-section-y) 0;
}

.ma-contact-main__grid {
  display: grid;
  gap: var(--ma-space-5);
  align-items: start;
}

.ma-contact-form-panel,
.ma-contact-card {
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
  box-shadow: 0 14px 34px rgba(43, 39, 36, 0.06);
}

.ma-contact-form-panel {
  padding: var(--ma-space-4);
}

.ma-contact-form {
  display: grid;
  gap: var(--ma-space-5);
  margin-top: var(--ma-space-4);
}

.ma-contact-form fieldset {
  display: grid;
  gap: var(--ma-space-3);
  margin: 0;
  padding: 0;
  border: 0;
}

.ma-contact-form legend {
  margin-bottom: var(--ma-space-2);
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h3);
  font-weight: 700;
}

.ma-contact-form__grid {
  display: grid;
  gap: var(--ma-space-3);
}

.ma-contact-form .ma-form-row {
  align-content: start;
}

.ma-form-help,
.ma-contact-form__note {
  margin: var(--ma-space-2) 0 0;
  color: var(--ma-color-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.ma-contact-form__note {
  margin: 0;
}

.ma-contact-details {
  display: grid;
  gap: var(--ma-space-4);
}

.ma-contact-card {
  padding: var(--ma-space-4);
}

.ma-contact-card h2 {
  margin: var(--ma-space-2) 0 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
}

.ma-contact-list {
  display: grid;
  gap: var(--ma-space-3);
  margin: var(--ma-space-3) 0 0;
  padding: 0;
  list-style: none;
}

.ma-contact-list span {
  display: block;
  margin-bottom: var(--ma-space-1);
  color: var(--ma-color-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ma-contact-list a,
.ma-contact-map-link {
  color: var(--ma-color-text);
  font-weight: 700;
  text-decoration-color: rgba(194, 96, 47, 0.45);
  text-underline-offset: 0.2em;
}

.ma-contact-list a:hover,
.ma-contact-list a:focus,
.ma-contact-map-link:hover,
.ma-contact-map-link:focus {
  color: var(--ma-color-accent);
}

.ma-contact-card address {
  margin: var(--ma-space-3) 0;
  color: var(--ma-color-muted);
  font-style: normal;
  line-height: var(--ma-lh-body);
}

@media (min-width: 48rem) {
  .ma-contact-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-contact-form .ma-form-row--full,
  .ma-contact-form .ma-button,
  .ma-contact-form__note {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64rem) {
  .ma-contact-main__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  }

  .ma-contact-details {
    position: sticky;
    top: 7rem;
  }
}

/* =========================================================
   Services Page
   ========================================================= */

body.page .site-content.grid-container:has(.ma-services-page),
body.page .container.grid-container:has(.ma-services-page) {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.ma-services-page {
  width: 100vw;
  max-width: none;
  background: var(--ma-color-bg);
  color: var(--ma-color-text);
}

.ma-services-hero {
  position: relative;
  padding: var(--ma-space-6) 0 var(--ma-space-5);
  background: var(--ma-color-surface);
  overflow: hidden;
}

/* --- Full-bleed background hero variant (Services) --- */
.ma-services-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  /* Ken Burns removed; static zoom keeps depth. */
  transform: scale(1.04);
}

.ma-services-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(12, 11, 10, 0.82) 0%,
      rgba(12, 11, 10, 0.55) 40%,
      rgba(12, 11, 10, 0.15) 100%),
    linear-gradient(180deg,
      rgba(12, 11, 10, 0.3) 0%,
      rgba(12, 11, 10, 0.1) 30%,
      rgba(12, 11, 10, 0.55) 100%);
}

/* Lift content above the overlay; cap width on wide screens.
   Chain both classes on the <section> ( specificity 0,2,1 ) so these win
   over the default .ma-services-hero h1/p rules below. */
.ma-services-hero.ma-services-hero--bg .ma-section-inner {
  position: relative;
  z-index: 2;
}

.ma-services-hero.ma-services-hero--bg .ma-section-kicker {
  color: rgba(255, 255, 255, 0.75);
}

.ma-services-hero.ma-services-hero--bg h1 {
  color: var(--ma-color-white);
}

.ma-services-hero.ma-services-hero--bg p:not(.ma-section-kicker) {
  color: rgba(255, 255, 255, 0.65); /* soft grey-white, distinct from pure-white H1 */
  max-width: 44rem;
}

.ma-services-hero--bg {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.ma-services-hero h1 {
  max-width: 12ch;
  margin: var(--ma-space-2) 0 0;
  font-family: var(--ma-font-head);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 600;
  line-height: 1;
}

.ma-services-hero p:not(.ma-section-kicker) {
  max-width: 52rem;
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-muted);
  font-size: 1.08rem;
  line-height: var(--ma-lh-body);
}

.ma-services-capabilities,
.ma-services-process,
.ma-services-cta {
  padding: var(--ma-section-y) 0;
}

.ma-services-capabilities__grid {
  display: grid;
  gap: var(--ma-space-3);
}

.ma-services-capabilities__layout,
.ma-services-process__intro {
  display: grid;
  gap: var(--ma-space-5);
}

.ma-services-capabilities__media,
.ma-services-process__media {
  aspect-ratio: 3 / 2;
}

.ma-services-process__intro {
  margin-bottom: var(--ma-space-5);
  align-items: center;
}

.ma-services-process__intro .ma-section-heading {
  margin-bottom: 0;
}

.ma-services-capability {
  min-height: 100%;
  padding: var(--ma-space-4);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
  box-shadow: 0 10px 24px rgba(43, 39, 36, 0.06);
}

.ma-services-capability p {
  margin: 0;
  color: var(--ma-color-muted);
  font-weight: 700;
  line-height: var(--ma-lh-body);
}

.ma-services-process {
  background: var(--ma-color-surface);
}

.ma-services-process__list {
  display: grid;
  gap: var(--ma-space-4);
}

.ma-services-stage {
  display: grid;
  gap: var(--ma-space-3);
  padding: var(--ma-space-4);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(43, 39, 36, 0.06);
}

.ma-services-stage__number {
  color: var(--ma-color-accent);
  font-family: var(--ma-font-head);
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 0.9;
  white-space: nowrap;
}

.ma-services-stage__title {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
}

.ma-services-stage__copy p {
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-services-stage__decision-grid {
  display: grid;
  gap: var(--ma-space-3);
  margin: 0;
}

.ma-services-stage__decision {
  padding: var(--ma-space-3);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
}

.ma-services-stage__decision dt {
  color: var(--ma-color-accent-2);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-small);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ma-services-stage__decision dd {
  margin: var(--ma-space-2) 0 0;
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-services-cta {
  background: var(--ma-color-text);
  color: var(--ma-color-bg);
}

.ma-services-cta__inner {
  display: grid;
  gap: var(--ma-space-4);
  align-items: center;
}

.ma-services-cta .ma-section-kicker,
.ma-services-cta h2 {
  color: var(--ma-color-bg);
}

.ma-services-cta h2 {
  margin: var(--ma-space-2) 0 0;
  font-size: var(--ma-fs-h2);
  line-height: 1.15;
}

.ma-services-cta p:not(.ma-section-kicker) {
  max-width: 42rem;
  margin: var(--ma-space-3) 0 0;
  color: rgba(250, 248, 245, 0.78);
  line-height: var(--ma-lh-body);
}

.ma-services-cta .ma-button {
  justify-self: start;
}

@media (min-width: 48rem) {
  .ma-services-capabilities__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-services-stage {
    grid-template-columns: var(--ma-services-stage-number-width) minmax(0, 1fr);
    align-items: start;
  }

  .ma-services-stage__decision-grid {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .ma-services-capabilities__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .ma-services-capabilities__media {
    aspect-ratio: auto;
  }

  .ma-services-capabilities__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-services-process__intro {
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--ma-article-media-width));
  }

  .ma-services-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* =========================================================
   About Page
   ========================================================= */

body.page .site-content.grid-container:has(.ma-about-page),
body.page .container.grid-container:has(.ma-about-page) {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.ma-about-page {
  width: 100vw;
  max-width: none;
  background: var(--ma-color-bg);
  color: var(--ma-color-text);
}

.ma-about-hero {
  position: relative;
  padding: var(--ma-space-6) 0 var(--ma-space-5);
  background: var(--ma-color-surface);
  overflow: hidden;
}

/* --- Full-bleed background hero variant --- */
/* The <img> fills the hero section as a background, with a left-dark
   gradient overlay so the left-aligned text reads on any image.
   Ken Burns: slow zoom-in with a slight pan, loops infinitely.
   Note: initial transform lives INSIDE @keyframes 0% (not on the element)
   so the animation reliably controls it end-to-end. */
.ma-about-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  /* Ken Burns removed; static zoom keeps depth. */
  transform: scale(1.04);
}

/* Pause the animation if the user prefers reduced motion. */

.ma-about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Same overlay params as the product-page video hero (proven readable). */
  background:
    linear-gradient(90deg,
      rgba(12, 11, 10, 0.82) 0%,
      rgba(12, 11, 10, 0.55) 40%,
      rgba(12, 11, 10, 0.15) 100%),
    linear-gradient(180deg,
      rgba(12, 11, 10, 0.3) 0%,
      rgba(12, 11, 10, 0.1) 30%,
      rgba(12, 11, 10, 0.55) 100%);
}

/* When the bg variant is active, content sits above overlay and text flips light. */
.ma-about-hero--bg .ma-about-hero__grid {
  position: relative;
  z-index: 2;
  /* Single column on bg variant (image moved to background, no right slot). */
  grid-template-columns: minmax(0, 1fr);
}

/* Cap the copy width so it doesn't span the full hero on wide screens. */
.ma-about-hero--bg .ma-about-hero__copy {
  max-width: 44rem;
}

/* Readability comes from the dark overlay, not text shadows �� same approach
   as the product-page video hero. */
/* Note: both .ma-about-hero and .ma-about-hero--bg live on the SAME <section>.
   We chain the two classes on the section to raise specificity above the
   default .ma-about-hero h1 / p rules (which appear later in this file). */
.ma-about-hero.ma-about-hero--bg .ma-section-kicker {
  color: rgba(255, 255, 255, 0.75);
}

.ma-about-hero.ma-about-hero--bg h1 {
  color: var(--ma-color-white);
}

.ma-about-hero.ma-about-hero--bg p:not(.ma-section-kicker) {
  color: rgba(255, 255, 255, 0.65); /* soft grey-white, distinct from pure-white H1 */
}

/* On the bg variant, lift vertical padding so the hero feels taller. */
.ma-about-hero--bg {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.ma-about-hero__grid,
.ma-about-story__layout,
.ma-about-serve__grid,
.ma-about-cta__inner {
  display: grid;
  gap: var(--ma-space-5);
  align-items: center;
}

.ma-about-hero h1 {
  max-width: 15ch;
  margin: var(--ma-space-2) 0 0;
  font-family: var(--ma-font-head);
  font-size: clamp(2.35rem, 4.8vw, 4rem);
  font-weight: 600;
  line-height: 1.04;
}

.ma-about-hero p:not(.ma-section-kicker),
.ma-about-serve__copy p,
.ma-about-cta p:not(.ma-section-kicker) {
  color: var(--ma-color-muted);
  font-size: 1.08rem;
  line-height: var(--ma-lh-body);
}

.ma-about-hero p:not(.ma-section-kicker) {
  max-width: 48rem;
  margin: var(--ma-space-3) 0 0;
}

.ma-about-image-slot {
  display: grid;
  align-items: stretch;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: transparent;
  box-shadow: 0 14px 34px rgba(43, 39, 36, 0.06);
  line-height: 0;
}

.ma-about-image-slot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ma-about-serve__media img {
  height: 100%;
  object-fit: cover;
}

.ma-about-image-slot--secondary {
  min-height: 0;
}

.ma-about-story,
.ma-about-difference,
.ma-about-serve,
.ma-about-cta {
  padding: var(--ma-section-y) 0;
}

.ma-about-story__media,
.ma-about-serve__media {
  aspect-ratio: 3 / 2;
}

.ma-about-story__copy {
  max-width: var(--ma-reading-width);
}

.ma-about-story__copy h2 {
  margin: var(--ma-space-2) 0 0;
  font-size: var(--ma-fs-h2);
  line-height: 1.15;
}

.ma-about-story__copy .ma-about-copy-slot {
  margin-top: var(--ma-space-4);
}

.ma-about-copy-slot {
  border-left: 3px solid var(--ma-color-accent);
  padding-left: var(--ma-space-4);
}

.ma-about-copy-slot p {
  margin: 0;
  color: var(--ma-color-muted);
  font-size: 1.04rem;
  line-height: var(--ma-lh-body);
}

.ma-about-difference {
  background: var(--ma-color-surface);
}

.ma-about-difference__grid {
  display: grid;
  gap: var(--ma-space-4);
}

.ma-about-difference-card {
  min-height: 100%;
  padding: var(--ma-space-4);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 24px rgba(43, 39, 36, 0.06);
}

.ma-about-difference-card h3 {
  margin: 0;
  font-size: var(--ma-fs-h3);
}

.ma-about-difference-card p {
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-about-serve__copy h2,
.ma-about-cta h2 {
  margin: var(--ma-space-2) 0 0;
  font-size: var(--ma-fs-h2);
  line-height: 1.15;
}

.ma-about-serve__copy p {
  margin: var(--ma-space-3) 0 0;
}

/* Dated buyer disclosures link directly to the publishers' source documents. */
.ma-about-disclosures {
  padding: 0 0 var(--ma-section-y);
}

.ma-about-disclosures h2 {
  margin: 0;
  font-size: var(--ma-fs-h2);
  line-height: 1.15;
}

.ma-about-disclosures__intro {
  max-width: var(--ma-reading-width);
  margin: var(--ma-space-3) 0 var(--ma-space-5);
}

.ma-about-disclosures__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: var(--ma-space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ma-about-disclosures__list li {
  border-top: 1px solid var(--ma-color-border);
  padding-top: var(--ma-space-4);
}

.ma-about-disclosures__list h3 {
  margin: 0;
  font-size: var(--ma-fs-h3);
}

.ma-about-disclosures__list p {
  margin: var(--ma-space-3) 0 var(--ma-space-2);
  color: var(--ma-color-muted);
}

.ma-about-disclosures__list a {
  display: inline-flex;
  align-items: center;
  min-height: var(--ma-touch-target);
  overflow-wrap: anywhere;
}

.ma-about-cta {
  background: var(--ma-color-text);
  color: var(--ma-color-bg);
}

.ma-about-cta .ma-section-kicker,
.ma-about-cta h2 {
  color: var(--ma-color-bg);
}

.ma-about-cta p:not(.ma-section-kicker) {
  max-width: 42rem;
  margin: var(--ma-space-3) 0 0;
  color: rgba(250, 248, 245, 0.78);
}

.ma-about-cta .ma-button {
  justify-self: start;
}

@media (min-width: 48rem) {
  .ma-about-difference__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .ma-about-story__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  /* Two-column hero only on the non-bg variant (the bg variant is single-column). */
  .ma-about-hero:not(.ma-about-hero--bg) .ma-about-hero__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(30rem, 1.15fr);
  }

  .ma-about-serve__grid {
    grid-template-columns: minmax(30rem, 1fr) minmax(0, 0.95fr);
  }

  .ma-about-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 48rem) {
  .ma-about-copy-slot {
    border-left: 0;
    border-top: 3px solid var(--ma-color-accent);
    padding-top: var(--ma-space-3);
    padding-left: 0;
  }
}

/* =========================================================
   Sustainability Page
   ========================================================= */

body.page .site-content.grid-container:has(.ma-sustainability-page),
body.page .container.grid-container:has(.ma-sustainability-page) {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.ma-sustainability-page {
  width: 100vw;
  max-width: none;
  background: var(--ma-color-bg);
  color: var(--ma-color-text);
}

.ma-sustainability-hero {
  position: relative;
  padding: var(--ma-space-6) 0 var(--ma-space-5);
  background: var(--ma-color-surface);
  overflow: hidden;
}

/* --- Full-bleed background hero variant (Sustainability) --- */
.ma-sustainability-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  /* Ken Burns removed; static zoom keeps depth. */
  transform: scale(1.04);
}

.ma-sustainability-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(12, 11, 10, 0.82) 0%,
      rgba(12, 11, 10, 0.55) 40%,
      rgba(12, 11, 10, 0.15) 100%),
    linear-gradient(180deg,
      rgba(12, 11, 10, 0.3) 0%,
      rgba(12, 11, 10, 0.1) 30%,
      rgba(12, 11, 10, 0.55) 100%);
}

.ma-sustainability-hero.ma-sustainability-hero--bg .ma-section-inner {
  position: relative;
  z-index: 2;
}

.ma-sustainability-hero.ma-sustainability-hero--bg .ma-section-kicker {
  color: rgba(255, 255, 255, 0.75);
}

.ma-sustainability-hero.ma-sustainability-hero--bg h1 {
  color: var(--ma-color-white);
}

.ma-sustainability-hero.ma-sustainability-hero--bg p:not(.ma-section-kicker) {
  color: rgba(255, 255, 255, 0.65); /* soft grey-white, distinct from pure-white H1 */
  max-width: 44rem;
}

.ma-sustainability-hero--bg {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.ma-sustainability-hero h1 {
  max-width: 12ch;
  margin: var(--ma-space-2) 0 0;
  font-family: var(--ma-font-head);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 600;
  line-height: 1;
}

.ma-sustainability-hero p:not(.ma-section-kicker) {
  max-width: 52rem;
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-muted);
  font-size: 1.08rem;
  line-height: var(--ma-lh-body);
}

.ma-sustainability-actions,
.ma-sustainability-badges,
.ma-sustainable-fabrics,
.ma-sustainability-cta {
  padding: var(--ma-section-y) 0;
}

.ma-sustainability-actions__grid {
  display: grid;
  gap: var(--ma-space-4);
}

.ma-sustainability-card {
  min-height: 100%;
  padding: var(--ma-space-4);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
  box-shadow: 0 10px 24px rgba(43, 39, 36, 0.06);
}

.ma-sustainability-card h3 {
  margin: 0;
  font-size: var(--ma-fs-h3);
}

.ma-sustainability-card p {
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-sustainability-badges {
  background: var(--ma-color-surface);
}

.ma-sustainability-badges .ma-certification-groups {
  gap: var(--ma-space-4);
}

.ma-sustainability-badges .ma-certification-group {
  gap: var(--ma-space-3);
  padding: var(--ma-space-4);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 24px rgba(43, 39, 36, 0.05);
}

.ma-sustainability-badges .ma-certification-group p {
  max-width: 56rem;
  font-size: 0.98rem;
}

.ma-sustainability-badges .ma-home-certifications__strip {
  gap: var(--ma-space-3);
}

.ma-sustainability-badges .ma-certification-badge {
  min-height: 6rem;
  padding: var(--ma-space-2);
  background: rgba(255, 255, 255, 0.76);
}

.ma-sustainability-badges .ma-certification-badge img {
  max-width: 4.8rem;
  max-height: 4.8rem;
}

.ma-sustainable-fabrics {
  background: var(--ma-color-bg);
}

.ma-sustainable-fabrics .ma-section-heading p:not(.ma-section-kicker) {
  max-width: 54rem;
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-sustainable-fabrics__grid {
  display: grid;
  gap: var(--ma-space-4);
}

.ma-sustainable-fabric-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
  box-shadow: 0 10px 24px rgba(43, 39, 36, 0.06);
}

.ma-sustainable-fabric-card__media {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
  background:
    linear-gradient(135deg, rgba(194, 96, 47, 0.08), rgba(43, 39, 36, 0.04)),
    var(--ma-color-surface);
}

.ma-sustainable-fabric-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ma-sustainable-fabric-card__body {
  min-width: 0;
  padding: var(--ma-space-4);
  overflow: visible;
}

.ma-sustainable-fabric-card h3 {
  margin: 0;
  font-size: var(--ma-fs-h3);
}

.ma-sustainable-fabric-card p {
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
  overflow-wrap: break-word;
}

.ma-sustainable-fabrics__note {
  max-width: 54rem;
  margin: var(--ma-space-5) 0 0;
  color: var(--ma-color-muted);
  font-size: 0.95rem;
  line-height: var(--ma-lh-body);
}

.ma-sustainability-cta {
  background: var(--ma-color-text);
  color: var(--ma-color-bg);
}

.ma-sustainability-cta__inner {
  display: grid;
  gap: var(--ma-space-4);
  align-items: center;
}

.ma-sustainability-cta .ma-section-kicker,
.ma-sustainability-cta h2 {
  color: var(--ma-color-bg);
}

.ma-sustainability-cta h2 {
  margin: var(--ma-space-2) 0 0;
  font-size: var(--ma-fs-h2);
  line-height: 1.15;
}

.ma-sustainability-cta p:not(.ma-section-kicker) {
  max-width: 44rem;
  margin: var(--ma-space-3) 0 0;
  color: rgba(250, 248, 245, 0.78);
  line-height: var(--ma-lh-body);
}

.ma-sustainability-cta .ma-button {
  justify-self: start;
}

@media (min-width: 48rem) {
  .ma-sustainability-actions__grid,
  .ma-sustainable-fabrics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .ma-sustainability-actions__grid,
  .ma-sustainable-fabrics__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ma-sustainability-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* =========================================================
   Product Category Pages
   ========================================================= */

body.page .site-content.grid-container:has(.ma-product-category),
body.page .container.grid-container:has(.ma-product-category) {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.ma-product-category {
  width: 100vw;
  max-width: none;
  background: var(--ma-color-bg);
  color: var(--ma-color-text);
}

.ma-product-category > section {
  width: 100vw;
  max-width: none;
}

.ma-product-hero {
  position: relative;
  background: var(--ma-color-surface);
  overflow: hidden;
}

.ma-product-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--ma-container);
  margin: 0 auto;
  padding: var(--ma-space-5) var(--ma-space-4) var(--ma-space-6);
}

.ma-product-hero h1 {
  max-width: 13ch;
  margin: var(--ma-space-2) 0 0;
  font-family: var(--ma-font-head);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
}

.ma-product-hero p:not(.ma-section-kicker) {
  max-width: 42rem;
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-muted);
  font-size: 1.08rem;
  line-height: var(--ma-lh-body);
}

.ma-product-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ma-space-3);
  margin-top: var(--ma-space-4);
}

/* --- Video hero variant --- */
/* The <video> fills the hero section as a background. object-fit: cover
   crops the square source to fill the wide hero without distortion. */
.ma-product-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Gradient overlay for text legibility. Dark on the left (where text sits)
   fading to transparent on the right (where the video content shows through).
   Plus a bottom-to-top darkening so the lower text reads on any frame. */
.ma-product-hero__video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(12, 11, 10, 0.82) 0%,
      rgba(12, 11, 10, 0.55) 40%,
      rgba(12, 11, 10, 0.15) 100%),
    linear-gradient(180deg,
      rgba(12, 11, 10, 0.3) 0%,
      rgba(12, 11, 10, 0.1) 30%,
      rgba(12, 11, 10, 0.55) 100%);
}

/* When a video is present, the hero text must be light to read on the
   dark overlay. Override the default dark text colors. */
.ma-product-hero--video .ma-section-kicker {
  color: rgba(255, 255, 255, 0.75);
}

.ma-product-hero--video h1 {
  color: var(--ma-color-white);
}

.ma-product-hero--video .ma-product-hero__content > p:not(.ma-section-kicker) {
  color: rgba(255, 255, 255, 0.82);
  max-width: 40rem;
}

/* Bright studio footage works as a right-hand product panel instead of a
   darkened background. This keeps the garment visible and the copy readable. */
.ma-product-hero--video-split .ma-product-hero__video {
  inset: 0 0 0 50%;
  width: 50%;
}

.ma-product-hero--video-split .ma-product-hero__video-overlay {
  background: linear-gradient(90deg,
    var(--ma-color-surface) 0%,
    var(--ma-color-surface) 46%,
    color-mix(in srgb, var(--ma-color-surface) 92%, transparent) 50%,
    transparent 62%);
}

.ma-product-hero--video-split .ma-section-kicker {
  color: var(--ma-color-accent-2);
}

.ma-product-hero--video-split h1 {
  color: var(--ma-color-text);
}

.ma-product-hero--video-split .ma-product-hero__content > p:not(.ma-section-kicker) {
  color: var(--ma-color-muted);
  max-width: 40rem;
}

.ma-product-section {
  padding: var(--ma-section-y) 0;
}

/* Shared line-icon treatment for compact decision and capability blocks. */
.ma-feature-icon {
  display: grid;
  flex: none;
  width: var(--ma-space-5);
  height: var(--ma-space-5);
  place-items: center;
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
  color: var(--ma-color-accent);
}

.ma-line-icon {
  display: block;
  width: var(--ma-space-4);
  height: var(--ma-space-4);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: var(--ma-line-icon-stroke);
}

.ma-line-icon__accent {
  stroke: var(--ma-color-accent);
}

/* Category buyer-fit answer: a compact decision band between the hero and
   product detail, rendered from the shared category data. */
.ma-product-fit {
  padding: var(--ma-space-5) 0;
  border-block: 1px solid var(--ma-color-border);
  background: var(--ma-color-white);
}

.ma-product-fit__layout {
  display: grid;
  gap: var(--ma-space-5);
  padding-block: 0;
}

.ma-product-fit__answer {
  display: grid;
  gap: var(--ma-space-3);
  max-width: none;
}

.ma-product-fit__answer > .ma-section-kicker {
  margin: 0;
}

.ma-product-fit__answer h2 {
  margin: 0;
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h2);
  line-height: 1.15;
}

.ma-product-fit__answer > p:last-child {
  margin: 0;
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-base);
  line-height: var(--ma-lh-body);
}

.ma-product-fit__facts {
  display: grid;
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-bg);
  box-shadow: inset 0 var(--ma-space-1) 0 var(--ma-color-accent);
}

.ma-product-fit__facts > div {
  min-width: 0;
  padding: var(--ma-space-4);
}

.ma-product-fit__facts > div + div {
  border-top: 1px solid var(--ma-color-border);
}

.ma-product-fit__facts > div:last-child {
  background: var(--ma-color-surface);
}

.ma-product-fit__facts dt {
  display: grid;
  grid-template-columns: var(--ma-space-5) minmax(0, 1fr);
  align-items: center;
  gap: var(--ma-space-3);
  margin-bottom: var(--ma-space-2);
  color: var(--ma-color-accent-2);
  font-size: var(--ma-fs-small);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ma-product-fit__facts dd {
  margin: 0;
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h3);
  font-weight: 700;
  line-height: 1.35;
}

/* Category program fit: one reading column and a lighter information strip. */
.ma-product-fit--light .ma-product-fit__answer {
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--ma-reading-width);
}

.ma-product-fit--light .ma-product-fit__facts {
  grid-template-columns: minmax(0, 1fr);
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--ma-color-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ma-product-fit--light .ma-product-fit__facts > div {
  grid-column: auto;
  padding: var(--ma-space-4) 0;
  border: 0;
  background: transparent;
}

.ma-product-fit--light .ma-product-fit__facts > div + div {
  border-top: 1px solid var(--ma-color-border);
  border-left: 0;
}

.ma-product-fit--light .ma-product-fit__facts dt {
  display: flex;
  align-items: center;
  gap: var(--ma-space-2);
}

.ma-product-fit--light .ma-product-fit__fact-icon {
  width: var(--ma-space-4);
  height: var(--ma-space-4);
  border: 0;
  background: transparent;
}

.ma-product-fit--light .ma-product-fit__facts dd {
  max-width: 32ch;
  font-size: var(--ma-fs-base);
  font-weight: 600;
  line-height: var(--ma-lh-body);
}

@media (min-width: 48rem) {
  .ma-product-fit--light .ma-product-fit__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ma-space-5);
  }

  .ma-product-fit--light .ma-product-fit__facts > div:nth-child(n) {
    grid-column: auto;
    border-top: 0;
    border-left: 0;
  }
}

.ma-product-fit__engagement {
  display: grid;
  gap: var(--ma-space-5);
  padding: var(--ma-space-4);
  border-radius: var(--ma-radius);
  background: var(--ma-color-surface);
}

.ma-product-fit__engagement-heading {
  display: grid;
  align-content: start;
  gap: var(--ma-space-2);
  max-width: var(--ma-reading-width);
}

.ma-product-fit__engagement-heading .ma-section-kicker,
.ma-product-fit__engagement-heading h3,
.ma-product-fit__engagement-heading > p:last-child {
  margin: 0;
}

.ma-product-fit__engagement-heading h3 {
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h3);
  line-height: 1.3;
}

.ma-product-fit__engagement-heading > p:last-child {
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-product-fit__engagement-grid {
  display: grid;
  align-content: start;
}

.ma-product-fit__engagement-card {
  display: grid;
  grid-template-columns: var(--ma-space-5) minmax(0, 1fr);
  align-items: start;
  gap: var(--ma-space-3);
  min-width: 0;
  padding: var(--ma-space-3) 0;
  border-top: 1px solid var(--ma-color-border);
}

.ma-product-fit__engagement-card .ma-feature-icon {
  border: 0;
  background: transparent;
}

.ma-product-fit__engagement-label,
.ma-product-fit__engagement-card h4,
.ma-product-fit__engagement-card div > p:last-child {
  margin: 0;
}

.ma-product-fit__engagement-label {
  color: var(--ma-color-accent-2);
  font-size: var(--ma-fs-small);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ma-product-fit__engagement-card h4 {
  margin-top: var(--ma-space-2);
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-base);
  font-weight: 800;
  line-height: 1.35;
}

.ma-product-fit__engagement-card div > p:last-child {
  margin-top: var(--ma-space-2);
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-product-intro__grid,
.ma-product-related__layout {
  display: grid;
  gap: var(--ma-space-4);
}

.ma-product-copy-slot {
  border-left: 3px solid var(--ma-color-accent);
  padding-left: var(--ma-space-4);
}

.ma-product-copy-slot p {
  margin: 0;
  color: var(--ma-color-muted);
  font-size: 1.04rem;
  line-height: var(--ma-lh-body);
}

.ma-product-list {
  display: grid;
  gap: var(--ma-space-2);
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ma-color-muted);
  font-size: 1.04rem;
  line-height: var(--ma-lh-body);
}

/* When list items are anchor links (subcategories exist), style them as
   clickable jump links with a hover cue. */
.ma-product-list a {
  color: var(--ma-color-text);
  text-decoration: none;
  transition: color 150ms ease;
}

.ma-product-list a:hover,
.ma-product-list a:focus {
  color: var(--ma-color-accent);
}

.ma-product-list li {
  position: relative;
}

/* Add a subtle "��" hint on hover to signal it jumps down. */
.ma-product-list li:has(a)::marker {
  color: var(--ma-color-accent);
}

.ma-product-capabilities {
  background: var(--ma-color-surface);
}

.ma-product-feature {
  display: grid;
  gap: var(--ma-space-4);
}

/* Optional procurement entry points. Category data controls whether this
   section renders, so sibling category pages retain their current layout. */
.ma-product-buying-paths {
  background: var(--ma-color-surface);
}

.ma-product-buying-paths__heading {
  max-width: var(--ma-reading-width);
  margin-bottom: 0;
}

.ma-product-buying-paths__grid {
  display: grid;
  gap: var(--ma-space-4);
  margin-top: var(--ma-space-5);
}

.ma-product-buying-path {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: var(--ma-space-4);
  border: 1px solid var(--ma-color-border);
  border-top: var(--ma-space-1) solid var(--ma-color-accent);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
}

.ma-product-buying-path__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--ma-space-4);
  align-items: start;
}

.ma-product-buying-path__label {
  margin: 0;
  color: var(--ma-color-accent-2);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ma-product-buying-path h3 {
  margin: var(--ma-space-2) 0 0;
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h3);
  line-height: 1.3;
}

.ma-product-buying-path__index {
  color: var(--ma-color-border);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h2);
  font-weight: 700;
  line-height: 1;
}

.ma-product-buying-path__facts {
  display: grid;
  gap: var(--ma-space-3);
  margin-top: var(--ma-space-4);
  padding: var(--ma-space-3) 0;
  border-top: 1px solid var(--ma-color-border);
  border-bottom: 1px solid var(--ma-color-border);
}

.ma-product-buying-path__spec {
  margin: 0;
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-small);
}

.ma-product-buying-path__spec span,
.ma-product-buying-path__material strong {
  display: block;
  margin-bottom: var(--ma-space-1);
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-small);
  font-weight: 600;
  line-height: 1.4;
}

.ma-product-buying-path__spec strong {
  display: block;
  color: var(--ma-color-text);
  font-size: var(--ma-fs-h3);
  line-height: 1.3;
}

.ma-product-buying-path__material {
  margin: 0;
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-small);
  line-height: var(--ma-lh-body);
}

.ma-product-buying-path__description {
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-product-buying-paths__footer {
  display: grid;
  gap: var(--ma-space-3);
  align-items: center;
  margin-top: var(--ma-space-4);
}

.ma-product-buying-paths__note {
  max-width: var(--ma-reading-width);
  margin: 0;
  padding-left: var(--ma-space-3);
  border-left: var(--ma-space-1) solid var(--ma-color-border);
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-small);
  line-height: var(--ma-lh-body);
}

.ma-product-buying-paths__footer .ma-button {
  width: 100%;
  gap: var(--ma-space-2);
  justify-content: center;
}

/* Category-specific product proof gallery. Product data controls whether the
   section renders, so other category pages keep their current structure. */
.ma-product-showcase {
  background: var(--ma-color-white);
}

.ma-product-showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ma-space-3);
}

.ma-product-showcase__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ma-space-3);
  margin: var(--ma-space-4) 0 var(--ma-space-3);
}

.ma-product-showcase__toolbar p {
  margin: 0;
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-small);
}

.ma-product-showcase__controls {
  display: flex;
  flex: 0 0 auto;
  gap: var(--ma-space-2);
}

.ma-product-showcase__controls button {
  display: inline-flex;
  width: var(--ma-touch-target);
  height: var(--ma-touch-target);
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
  color: var(--ma-color-accent-2);
  cursor: pointer;
}

.ma-product-showcase__controls button:hover,
.ma-product-showcase__controls button:focus-visible {
  border-color: var(--ma-color-accent-2);
}

.ma-product-showcase__controls button:focus-visible {
  outline: 2px solid var(--ma-color-accent);
  outline-offset: var(--ma-space-1);
}

.ma-product-showcase__controls button:disabled {
  color: var(--ma-color-muted);
  cursor: default;
  opacity: 0.45;
}

.ma-product-showcase__grid--carousel {
  grid-template-columns: none;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--ma-space-3)) / 2);
  overflow-x: auto;
  padding-bottom: var(--ma-space-3);
  cursor: grab;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--ma-color-border) var(--ma-color-surface);
}

.ma-product-showcase__grid--carousel.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.ma-product-showcase__grid--carousel .ma-product-showcase-card {
  scroll-snap-align: start;
}

.ma-product-showcase-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-surface);
}

.ma-product-showcase-card__media,
.ma-product-showcase-card__media picture {
  display: block;
  background: var(--ma-color-white);
}

/* Merino uses square frames; the model lookbook has its own portrait proportions. */
.ma-product-showcase-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.ma-product-showcase--lookbook .ma-product-showcase-card img {
  aspect-ratio: var(--ma-lookbook-image-ratio);
  /* The 800x1000 canvases include ~66px side padding; 2:3 removes it without
     cropping the top/bottom or altering the original image used by the viewer. */
  object-fit: cover;
  object-position: center;
}

.ma-product-showcase--lookbook .ma-product-showcase__grid--carousel {
  grid-template-rows: auto;
  grid-auto-columns: calc((100% - (var(--ma-lookbook-columns) - 1) * var(--ma-lookbook-gap)) / var(--ma-lookbook-columns));
  gap: var(--ma-lookbook-gap);
}

@media (min-width: 48rem) {
  .ma-product-showcase--lookbook {
    --ma-lookbook-columns: 4;
    --ma-lookbook-gap: var(--ma-space-4);
  }
}

.ma-product-showcase-card__open {
  position: relative;
  display: block;
  cursor: zoom-in;
}

.ma-product-showcase-card__open:focus-visible {
  outline: 2px solid var(--ma-color-accent);
  outline-offset: calc(-1 * var(--ma-space-1));
}

.ma-product-lightbox {
  box-sizing: border-box;
  width: min(92vw, var(--ma-product-lightbox-width));
  max-width: none;
  max-height: calc(100dvh - var(--ma-space-3) - var(--ma-space-3));
  padding: var(--ma-space-3);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
  color: var(--ma-color-text);
}

.ma-product-lightbox::backdrop {
  background: color-mix(in srgb, var(--ma-color-dark) 82%, transparent);
}

.ma-product-lightbox__toolbar,
.ma-product-lightbox__navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ma-space-2);
}

.ma-product-lightbox__toolbar {
  margin-bottom: var(--ma-space-2);
}

.ma-product-lightbox__count,
.ma-product-lightbox__caption {
  margin: 0;
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-small);
}

.ma-product-lightbox button {
  display: inline-flex;
  min-width: var(--ma-touch-target);
  min-height: var(--ma-touch-target);
  align-items: center;
  justify-content: center;
  padding: var(--ma-space-2);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
  color: var(--ma-color-accent-2);
  cursor: pointer;
}

.ma-product-lightbox button:hover,
.ma-product-lightbox button:focus-visible {
  border-color: var(--ma-color-accent-2);
}

.ma-product-lightbox button:focus-visible {
  outline: 2px solid var(--ma-color-accent);
  outline-offset: var(--ma-space-1);
}

.ma-product-lightbox button:disabled {
  opacity: 0.45;
  cursor: default;
}

.ma-product-lightbox__figure {
  display: grid;
  justify-items: center;
  gap: var(--ma-space-2);
  margin: 0 0 var(--ma-space-3);
}

.ma-product-lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 70dvh;
  object-fit: contain;
}

.ma-product-lightbox__caption {
  color: var(--ma-color-text);
  text-align: center;
}

.ma-product-showcase-card figcaption {
  padding: var(--ma-space-3);
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-small);
  font-weight: 700;
  line-height: 1.35;
}

/* Fabric structure/material/application guide: data-gated to Knitted Fabrics.
   No global tokens or existing category components are overridden. */
.ma-fabric-structures {
  background: var(--ma-color-surface);
}

.ma-fabric-structures .ma-section-inner {
  padding-block: 0;
}

.ma-fabric-structures__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ma-space-4);
}

.ma-fabric-structure {
  min-width: 0;
  padding: var(--ma-space-4);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
}

.ma-fabric-structure h3 {
  margin: 0;
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h3);
  line-height: var(--ma-lh-body);
}

.ma-fabric-structure__description {
  margin: var(--ma-space-2) 0 var(--ma-space-3);
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-fabric-structure dl {
  display: grid;
  gap: var(--ma-space-3);
  margin: 0;
  padding-top: var(--ma-space-3);
  border-top: 1px solid var(--ma-color-border);
  font-size: var(--ma-fs-small);
  line-height: var(--ma-lh-body);
}

.ma-fabric-structure dt {
  color: var(--ma-color-text);
  font-weight: 700;
}

.ma-fabric-structure dd {
  margin: var(--ma-space-1) 0 0;
  color: var(--ma-color-muted);
}

.ma-fabric-structures__note {
  max-width: var(--ma-reading-width);
  margin: var(--ma-space-4) 0 0;
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-small);
  line-height: var(--ma-lh-body);
}

@media (min-width: 48rem) {
  .ma-fabric-structures__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Text-only seamless capability: data-gated to Underwear. Existing product
   imagery remains separate and is not presented as seamless evidence. */
.ma-product-seamless {
  border-top: 1px solid var(--ma-color-border);
  background: var(--ma-color-bg);
}

.ma-product-seamless .ma-section-inner {
  padding-block: 0;
}

.ma-product-seamless__layout {
  display: grid;
  gap: var(--ma-space-5);
}

.ma-product-seamless__route {
  min-width: 0;
  padding: var(--ma-space-4);
  border-left: var(--ma-space-1) solid var(--ma-color-accent-2);
  border-radius: var(--ma-radius);
  background: var(--ma-color-surface);
}

.ma-product-seamless__route h3 {
  margin: 0 0 var(--ma-space-3);
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h3);
  line-height: var(--ma-lh-body);
}

.ma-product-seamless__route p,
.ma-product-seamless__options dd {
  margin: 0;
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-base);
  line-height: var(--ma-lh-body);
}

.ma-product-seamless__options {
  display: grid;
  gap: var(--ma-space-4);
  min-width: 0;
  margin: 0;
}

.ma-product-seamless__options > div {
  min-width: 0;
  padding-block: var(--ma-space-3);
  border-top: 1px solid var(--ma-color-border);
}

.ma-product-seamless__options dt {
  margin-bottom: var(--ma-space-2);
  color: var(--ma-color-text);
  font-weight: 700;
}

.ma-product-seamless__note {
  margin: var(--ma-space-5) 0 0;
  padding-top: var(--ma-space-3);
  border-top: 1px solid var(--ma-color-border);
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-small);
  line-height: var(--ma-lh-body);
}

@media (min-width: 48rem) {
  .ma-product-seamless__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .ma-product-seamless__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  }
}

/* Optional category-specific buyer evidence blocks. These render only when
   their data is present, so the shared template remains stable for siblings. */
.ma-product-assurance {
  background: var(--ma-color-bg);
}

.ma-product-questions {
  background: var(--ma-color-surface);
}

.ma-product-assurance__grid,
.ma-product-questions__grid {
  display: grid;
  gap: var(--ma-space-4);
}

.ma-product-assurance-card,
.ma-product-question {
  min-width: 0;
  padding: var(--ma-space-4);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
}

.ma-product-assurance-card h3,
.ma-product-question h3 {
  margin: 0;
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h3);
  line-height: 1.3;
}

.ma-product-assurance-card__heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: var(--ma-space-3);
}

.ma-product-assurance-card p,
.ma-product-question p {
  margin: var(--ma-space-2) 0 0;
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-product-assurance-card ul {
  margin: var(--ma-space-3) 0 0;
  padding-left: var(--ma-space-4);
  color: var(--ma-color-text);
  line-height: var(--ma-lh-body);
}

.ma-product-assurance-card li + li {
  margin-top: var(--ma-space-2);
}

.ma-product-assurance-card .ma-text-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--ma-touch-target);
  margin-top: var(--ma-space-3);
}

.ma-product-question--collapsible {
  padding: 0;
}

.ma-product-question--collapsible summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--ma-space-3);
  min-height: var(--ma-touch-target);
  padding: var(--ma-space-4);
  color: var(--ma-color-text);
  cursor: pointer;
  list-style: none;
}

.ma-product-question--collapsible summary::-webkit-details-marker {
  display: none;
}

.ma-product-question--collapsible summary:focus-visible {
  outline: 2px solid var(--ma-color-accent);
  outline-offset: calc(var(--ma-space-1) * -1);
}

.ma-product-question__title {
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h3);
  font-weight: 700;
  line-height: 1.3;
}

.ma-product-question__icon {
  position: relative;
  width: var(--ma-space-4);
  height: var(--ma-space-4);
  color: var(--ma-color-accent);
}

.ma-product-question__icon::before,
.ma-product-question__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--ma-space-3);
  height: 2px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.ma-product-question__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.ma-product-question--collapsible[open] .ma-product-question__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.ma-product-question--collapsible > p {
  margin: 0;
  padding: 0 var(--ma-space-4) var(--ma-space-4);
}

/* --- Product sub-category showcase (image + title + description) ---
   Alternating left/right layout. Each sub-category gets a large image on
   one side and its title + description on the other. Odd items = image
   left, even items = image right (via --reverse modifier).
*/
.ma-product-subcategories {
  background: var(--ma-color-bg);
  /* Very tight top: the 'What we make' section above already has full
     bottom padding, so we zero the top to keep the two sections close. */
  padding-top: 0;
}

.ma-subcategories {
  display: grid;
  gap: var(--ma-space-5);
}

/* Give the accessories product groups more room without changing other pages. */
.ma-subcategories:has(> .ma-accessory-feature) {
  gap: clamp(calc(var(--ma-space-6) + var(--ma-space-3)), 9vw, calc(var(--ma-space-6) * 2));
}

.ma-subcat {
  display: grid;
  gap: var(--ma-space-4);
  align-items: center;
  /* Offset for sticky header when jumping via anchor link. */
  scroll-margin-top: 6rem;
}

.ma-subcat__media {
  overflow: hidden;
  border-radius: var(--ma-radius);
  box-shadow: 0 10px 28px rgba(43, 39, 36, 0.1);
}

.ma-subcat__media picture {
  display: block;
}

/* Two real product examples within one existing product group. */
.ma-subcat__media--paired {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ma-space-2);
  background: var(--ma-color-surface);
}

.ma-subcat__media--paired figure {
  min-width: 0;
  margin: 0;
}

.ma-subcat__media--paired figcaption {
  padding: var(--ma-space-2);
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-small);
  line-height: var(--ma-lh-body);
  text-align: center;
}

.ma-subcat__media--paired .ma-subcat__additional-image img {
  object-fit: contain;
  padding: var(--ma-space-2);
}

.ma-subcat__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 300ms ease;
}

.ma-subcat:hover .ma-subcat__media img {
  transform: scale(1.03);
}

.ma-subcat__body {
  padding: 0 var(--ma-space-2);
}

.ma-subcat__index {
  display: inline-block;
  font-family: var(--ma-font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ma-color-accent);
  letter-spacing: 0.08em;
  margin-bottom: var(--ma-space-2);
}

.ma-subcat__body h3 {
  margin: 0 0 var(--ma-space-2);
  font-family: var(--ma-font-head);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--ma-color-text);
  line-height: 1.25;
}

.ma-subcat__body p {
  margin: 0;
  color: var(--ma-color-muted);
  font-size: 1.02rem;
  line-height: var(--ma-lh-body);
}

/* Optional development brief within one product group; no global card changes. */
.ma-subcat--development .ma-subcat__body > p {
  font-size: var(--ma-fs-base);
}

.ma-subcat__development {
  margin: var(--ma-space-4) 0 0;
}

.ma-subcat__development > div {
  padding: var(--ma-space-3) 0;
  border-top: 1px solid var(--ma-color-border);
}

.ma-subcat__development dt {
  margin: 0 0 var(--ma-space-1);
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-small);
  font-weight: 700;
}

.ma-subcat__development dd {
  margin: 0;
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-base);
  line-height: var(--ma-lh-body);
}

/* A paired product feature, used only for the accessories head-and-neck brief. */
.ma-accessory-feature {
  display: grid;
  gap: var(--ma-space-5);
  scroll-margin-top: 6rem;
}

.ma-accessory-feature__intro {
  max-width: var(--ma-reading-width);
}

.ma-accessory-feature__intro h3 {
  margin: 0 0 var(--ma-space-2);
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h3);
  line-height: 1.25;
}

.ma-accessory-feature__intro p,
.ma-accessory-feature__copy p {
  margin: 0;
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-accessory-feature__grid {
  display: grid;
  gap: var(--ma-space-4);
}

.ma-accessory-feature__card {
  min-width: 0;
}

.ma-accessory-feature__figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--ma-radius);
  background: var(--ma-color-surface);
}

.ma-accessory-feature__image {
  display: block;
  aspect-ratio: 4 / 3;
}

.ma-accessory-feature__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ma-accessory-feature__image--secondary img {
  padding: var(--ma-space-3);
}

.ma-accessory-feature__figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: var(--ma-space-2) var(--ma-space-4);
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-small);
}

.ma-accessory-feature__copy {
  padding: var(--ma-space-3) 0 0;
}

.ma-accessory-feature__copy h4 {
  margin: 0 0 var(--ma-space-2);
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h3);
  line-height: 1.3;
}

@media (min-width: 48rem) {
  .ma-accessory-feature__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablet+: two-column alternating layout. */
@media (min-width: 48rem) {
  .ma-subcat {
    grid-template-columns: 1fr 1fr;
    gap: var(--ma-space-5);
    align-items: center;
  }

  /* Even-index items flip the columns so the image alternates sides. */
  .ma-subcat--reverse .ma-subcat__media {
    order: 2;
  }

  .ma-subcat--reverse .ma-subcat__body {
    order: 1;
  }

  .ma-subcat__media img {
    aspect-ratio: 4 / 3;
  }
}

/* Keep the longer brief readable before the desktop two-column layout. */
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .ma-subcat--development {
    grid-template-columns: 1fr;
  }

  .ma-subcat--development .ma-subcat__media {
    width: 100%;
    max-width: 35rem;
    justify-self: center;
  }
}

.ma-product-capabilities__grid,
.ma-product-examples__grid {
  display: grid;
  gap: var(--ma-space-4);
}

.ma-product-capability-card {
  min-height: 100%;
  padding: var(--ma-space-4);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 24px rgba(43, 39, 36, 0.06);
}

.ma-product-capability-card > span {
  display: block;
  width: 2.2rem;
  height: 0.22rem;
  margin-bottom: var(--ma-space-3);
  border-radius: 999px;
  background: var(--ma-color-accent);
}

.ma-product-capability-card h3 {
  margin: 0;
  color: var(--ma-color-text);
  font-size: var(--ma-fs-h3);
}

.ma-product-capability-card p {
  margin: var(--ma-space-2) 0 0;
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-product-example-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
  box-shadow: 0 10px 24px rgba(43, 39, 36, 0.06);
}

.ma-product-example-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ma-product-example-card--placeholder {
  border: 1px dashed rgba(194, 89, 43, 0.38);
  box-shadow: none;
}

.ma-product-image-placeholder {
  display: grid;
  min-height: 13rem;
  aspect-ratio: 4 / 3;
  place-items: center;
  background: linear-gradient(135deg, rgba(194, 89, 43, 0.08), rgba(43, 39, 36, 0.05));
  color: var(--ma-color-muted);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* Shared four-step category workflow. The dark stage and light icon cards
   create a consistent visual anchor across all product pages. */
.ma-product-procurement {
  padding: 0;
  background: var(--ma-color-text);
  color: var(--ma-color-bg);
}

.ma-product-procurement .ma-section-inner {
  padding-block: var(--ma-section-y);
}

.ma-product-procurement__heading {
  max-width: var(--ma-reading-width);
  margin: 0 auto var(--ma-space-6);
  text-align: center;
}

.ma-product-procurement__heading .ma-section-kicker {
  color: var(--ma-color-accent);
}

.ma-product-procurement__heading h2 {
  margin: 0;
  color: var(--ma-color-bg);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h2);
  line-height: 1.15;
}

.ma-product-procurement__heading > p:not(.ma-section-kicker) {
  max-width: var(--ma-reading-width);
  margin: var(--ma-space-3) auto 0;
  color: color-mix(in srgb, var(--ma-color-bg) 76%, transparent);
  line-height: var(--ma-lh-body);
}

.ma-product-procurement__steps {
  display: grid;
  gap: var(--ma-space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ma-product-procurement__steps li {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 100%;
  align-content: start;
  justify-items: center;
  padding: var(--ma-space-5) var(--ma-space-4);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-bg);
  color: var(--ma-color-text);
  text-align: center;
}

.ma-product-procurement__icon {
  display: grid;
  width: var(--ma-space-6);
  height: var(--ma-space-6);
  margin-bottom: var(--ma-space-3);
  place-items: center;
  color: var(--ma-color-text);
}

.ma-product-procurement__icon .ma-line-icon {
  width: var(--ma-space-6);
  height: var(--ma-space-6);
}

.ma-product-procurement__index {
  display: block;
  margin-bottom: var(--ma-space-2);
  color: var(--ma-color-accent-2);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-small);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ma-product-procurement__steps h3 {
  margin: 0;
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h3);
  line-height: 1.3;
}

.ma-product-procurement__steps p {
  width: 100%;
  margin: var(--ma-space-4) 0 0;
  padding-top: var(--ma-space-3);
  border-top: 1px solid var(--ma-color-border);
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-small);
  line-height: var(--ma-lh-body);
  text-align: left;
}

.ma-product-procurement__link {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: var(--ma-touch-target);
  margin: var(--ma-space-4) auto 0;
  color: var(--ma-color-bg);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: var(--ma-space-1);
}

.ma-product-procurement__link:hover,
.ma-product-procurement__link:focus-visible {
  color: color-mix(in srgb, var(--ma-color-accent) 76%, var(--ma-color-bg));
}

.ma-product-procurement__link span {
  margin-left: var(--ma-space-2);
}

.ma-product-related__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ma-space-2);
}

.ma-product-related__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--ma-color-border);
  border-radius: 999px;
  background: var(--ma-color-white);
  color: var(--ma-color-text);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.ma-product-related__links a:hover,
.ma-product-related__links a:focus {
  border-color: var(--ma-color-accent);
  color: var(--ma-color-accent);
  transform: translateY(-1px);
}

.ma-product-redirect-note {
  padding: var(--ma-space-3) 0;
  border-top: 1px solid var(--ma-color-border);
  background: var(--ma-color-surface);
}

.ma-product-redirect-note p {
  margin: 0;
  color: var(--ma-color-muted);
  font-size: 0.86rem;
}

@media (min-width: 48rem) {
  .ma-product-hero__content {
    padding-top: var(--ma-space-6);
  }

  .ma-product-fit__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-product-fit__facts dt {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: var(--ma-space-2);
  }

  .ma-product-fit__facts > div + div {
    border-top: 0;
  }

  .ma-product-fit__facts > div:nth-child(2) {
    border-left: 1px solid var(--ma-color-border);
  }

  .ma-product-fit__facts > div:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--ma-color-border);
  }

  .ma-product-intro__grid,
  .ma-product-feature,
  .ma-product-related__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .ma-product-capabilities__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ma-product-assurance__grid,
  .ma-product-questions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-product-buying-paths__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-product-buying-path h3 {
    min-block-size: 2.6em;
  }

  .ma-product-buying-path__facts {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .ma-product-buying-paths__footer {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .ma-product-buying-paths__footer .ma-button {
    width: auto;
    justify-self: end;
  }

  .ma-product-showcase__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--ma-space-4);
  }

  .ma-product-showcase__grid--carousel {
    grid-template-columns: none;
    grid-auto-columns: calc((100% - var(--ma-space-4) - var(--ma-space-4) - var(--ma-space-4)) / 4);
  }

  .ma-product-procurement__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-product-examples__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .ma-product-fit__answer {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    column-gap: var(--ma-space-6);
    align-items: start;
  }

  .ma-product-fit__answer > .ma-section-kicker {
    grid-column: 1 / -1;
  }

  .ma-product-fit__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ma-product-fit__facts > div:nth-child(3) {
    grid-column: auto;
    border-top: 0;
    border-left: 1px solid var(--ma-color-border);
  }

  .ma-product-fit__engagement {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: var(--ma-space-6);
    padding: var(--ma-space-5);
  }
}

@media (max-width: 48rem) {
	.ma-product-hero--video-split {
		display: flex;
		flex-direction: column;
	}

	.ma-product-hero--video-split .ma-product-hero__content {
		order: 2;
	}

	.ma-product-hero--video-split .ma-product-hero__video {
		position: relative;
		inset: auto;
		order: 1;
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.ma-product-hero--video-split .ma-product-hero__video-overlay {
		display: none;
	}

  .ma-product-hero h1 {
    max-width: 11ch;
  }

  .ma-product-hero__actions .ma-button {
    width: 100%;
    justify-content: center;
  }

  .ma-product-copy-slot {
    border-left: 0;
    border-top: 3px solid var(--ma-color-accent);
    padding-top: var(--ma-space-3);
    padding-left: 0;
  }
}

@media (min-width: 64rem) {
  .ma-home-inquiry__layout {
    max-width: calc(var(--ma-container) + (var(--ma-space-4) * 2));
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
  }

	.ma-home-inquiry .ma-inquiry-form {
		width: 100%;
		justify-self: end;
	}

	.ma-home-inquiry__brief {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 64rem) {
  .ma-product-buying-paths__heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--ma-space-6);
    align-items: end;
    max-width: none;
  }

  .ma-section-heading.ma-product-buying-paths__heading > p:not(.ma-section-kicker) {
    margin: 0;
    max-width: var(--ma-reading-width);
  }

  .ma-product-buying-path h3 {
    min-block-size: 0;
  }

  .ma-product-buying-path {
    padding: var(--ma-space-5);
  }

  .ma-product-procurement__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ma-product-procurement__steps h3 {
    display: flex;
    min-block-size: calc(var(--ma-space-5) + var(--ma-space-3));
    align-items: center;
    justify-content: center;
  }
}

/* --- Technical Guides hub --- */
body.page .site-content.grid-container:has(.ma-technical-guides),
body.page .container.grid-container:has(.ma-technical-guides),
body.page .site-content.grid-container:has(.ma-technical-article),
body.page .container.grid-container:has(.ma-technical-article) {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

body.page .site-content:has(.ma-technical-guides),
body.page .site-content:has(.ma-technical-article) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.page .site-main.ma-technical-guides,
body.page .site-main.ma-technical-article {
  margin: 0;
}

.ma-technical-guides {
  width: 100%;
  max-width: none;
  background: var(--ma-color-bg);
  color: var(--ma-color-text);
}

.ma-technical-guides__hero {
  border-bottom: 1px solid var(--ma-color-border);
  background: var(--ma-color-surface);
}

.ma-technical-guides__hero-inner,
.ma-technical-guides__inner,
.ma-technical-guides__cta-inner {
  width: 100%;
  max-width: var(--ma-container);
  margin: 0 auto;
  box-sizing: border-box;
}

.ma-technical-guides__hero-inner {
	display: grid;
	gap: var(--ma-space-5);
  padding: var(--ma-space-5) var(--ma-space-4);
}

.ma-technical-guides__hero-copy {
	align-self: center;
}

.ma-technical-guides__hero-media,
.ma-technical-article__hero-media {
	width: 100%;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--ma-color-border);
	border-radius: var(--ma-radius);
	background: var(--ma-color-border);
	aspect-ratio: 4 / 3;
}

.ma-technical-guides__hero-media img,
.ma-technical-article__hero-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ma-technical-guides__inner,
.ma-technical-guides__cta-inner {
  padding: var(--ma-section-y) var(--ma-space-4);
}

.ma-technical-guides__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ma-space-2);
  margin-bottom: var(--ma-space-4);
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-small);
}

.ma-technical-guides__breadcrumb a {
  color: var(--ma-color-accent-2);
  text-decoration: underline;
  text-underline-offset: var(--ma-space-1);
}

.ma-technical-guides__breadcrumb a:hover,
.ma-technical-guides__breadcrumb a:focus {
  color: var(--ma-color-accent);
}

.ma-technical-guides__hero h1 {
  max-width: var(--ma-article-title-width);
  margin: 0;
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h1);
  line-height: 1.08;
}

.ma-technical-guides__lede {
  max-width: var(--ma-reading-width);
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-technical-guides__grid {
  display: grid;
  gap: var(--ma-space-4);
  margin-top: var(--ma-space-5);
}

.ma-guide-card a {
  display: grid;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
  color: var(--ma-color-text);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.ma-guide-card a:hover,
.ma-guide-card a:focus-visible {
  border-color: var(--ma-color-accent);
  transform: translateY(calc(-1 * var(--ma-space-1)));
}

.ma-guide-card a:focus-visible {
  outline: 3px solid var(--ma-color-accent);
  outline-offset: var(--ma-space-1);
}

.ma-guide-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ma-color-border);
}

.ma-guide-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ma-guide-card__content {
  padding: var(--ma-space-4);
}

.ma-guide-card__topic,
.ma-guide-card__content h3,
.ma-guide-card__content > p {
  margin: 0;
}

.ma-guide-card__topic {
  color: var(--ma-color-accent-2);
  font-size: var(--ma-fs-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ma-guide-card__content h3 {
  margin-top: var(--ma-space-2);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h3);
  line-height: 1.25;
}

.ma-guide-card__content > p {
  margin-top: var(--ma-space-3);
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-guide-card__link {
  display: inline-block;
  margin-top: var(--ma-space-4);
  color: var(--ma-color-accent-2);
  font-weight: 700;
}

.ma-technical-guides__scope {
  background: var(--ma-color-surface);
}

.ma-technical-guides__scope-grid {
  display: grid;
  gap: var(--ma-space-4);
  margin-top: var(--ma-space-5);
}

.ma-technical-guides__scope-grid article {
  padding: var(--ma-space-4);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-bg);
}

.ma-technical-guides__scope-grid article > span {
  color: var(--ma-color-accent);
  font-family: var(--ma-font-head);
  font-weight: 700;
}

.ma-technical-guides__scope-grid h3,
.ma-technical-guides__scope-grid p {
  margin: 0;
}

.ma-technical-guides__scope-grid h3 {
  margin-top: var(--ma-space-3);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h3);
}

.ma-technical-guides__scope-grid p {
  margin-top: var(--ma-space-2);
  color: var(--ma-color-muted);
  line-height: var(--ma-lh-body);
}

.ma-technical-guides__cta {
  background: var(--ma-color-dark);
}

.ma-technical-guides__cta-inner {
  display: grid;
  gap: var(--ma-space-5);
}

.ma-technical-guides__cta .ma-section-kicker,
.ma-technical-guides__cta h2 {
  color: var(--ma-color-bg);
}

.ma-technical-guides__cta h2 {
  margin: 0;
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h2);
}

.ma-technical-guides__cta p:not(.ma-section-kicker) {
  max-width: var(--ma-reading-width);
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-border);
  line-height: var(--ma-lh-body);
}

.ma-technical-guides__cta .ma-button {
  justify-self: start;
}

@media (min-width: 48rem) {
  .ma-technical-guides__grid {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  }

  .ma-guide-card:only-child {
    grid-column: 1 / -1;
  }

  .ma-guide-card:only-child a {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  }

  .ma-guide-card:only-child .ma-guide-card__content {
    align-self: center;
  }

  .ma-technical-guides__scope-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ma-technical-guides__cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 64rem) {
	.ma-technical-guides__hero-inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, var(--ma-article-media-width));
		align-items: center;
	}
}

/* --- Technical article pages --- */
.ma-technical-article {
  width: 100%;
  max-width: none;
  background: var(--ma-color-bg);
  color: var(--ma-color-text);
}

.ma-technical-article__hero {
  border-bottom: 1px solid var(--ma-color-border);
  background: var(--ma-color-surface);
}

.ma-technical-article__hero-inner,
.ma-technical-article__layout,
.ma-technical-article__cta-inner {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.ma-technical-article__hero-inner {
  max-width: var(--ma-container);
}

.ma-technical-article__layout {
  max-width: var(--ma-article-container);
}

.ma-technical-article__cta-inner {
  max-width: var(--ma-container);
}

.ma-technical-article__hero-inner {
	display: grid;
	gap: var(--ma-space-5);
  padding: var(--ma-space-5) var(--ma-space-4);
}

.ma-technical-article__hero-copy {
	align-self: end;
}

.ma-technical-article__hero-support {
  min-width: 0;
}

.ma-technical-article__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ma-space-2);
  margin-bottom: var(--ma-space-4);
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-small);
}

.ma-technical-article__breadcrumb a,
.ma-technical-article__body a,
.ma-technical-article__meta a,
.ma-technical-article__references a {
  color: var(--ma-color-accent-2);
  text-decoration: underline;
  text-underline-offset: var(--ma-space-1);
}

.ma-technical-article__breadcrumb a:hover,
.ma-technical-article__breadcrumb a:focus,
.ma-technical-article__body a:hover,
.ma-technical-article__body a:focus,
.ma-technical-article__meta a:hover,
.ma-technical-article__meta a:focus,
.ma-technical-article__references a:hover,
.ma-technical-article__references a:focus {
  color: var(--ma-color-accent);
}

.ma-technical-article__hero h1 {
  max-width: none;
  margin: 0;
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h1);
  line-height: 1.08;
}

.ma-technical-article__lede {
  max-width: var(--ma-reading-width);
  margin: 0;
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-base);
  line-height: var(--ma-lh-body);
}

.ma-technical-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ma-space-2);
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-small);
}

.ma-technical-article__layout {
  display: grid;
  gap: var(--ma-space-6);
  padding: var(--ma-section-y) var(--ma-space-4);
}

.ma-technical-article__rail {
  display: grid;
  align-self: start;
  gap: var(--ma-space-4);
  min-width: 0;
}

.ma-technical-article__toc {
  align-self: start;
  padding: var(--ma-space-4);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
}

.ma-technical-article__toc-title {
  margin: 0 0 var(--ma-space-3);
  font-family: var(--ma-font-head);
  font-weight: 700;
}

.ma-technical-article__toc ol {
  display: grid;
  gap: var(--ma-space-2);
  margin: 0;
  padding-left: var(--ma-space-4);
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-small);
}

.ma-technical-article__toc a {
  color: var(--ma-color-text);
  text-decoration: none;
}

.ma-technical-article__toc a:hover,
.ma-technical-article__toc a:focus {
  color: var(--ma-color-accent-2);
  text-decoration: underline;
  text-underline-offset: var(--ma-space-1);
}

.ma-technical-article__related {
  padding: var(--ma-space-4);
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
}

.ma-technical-article__related-title {
  margin: 0 0 var(--ma-space-3);
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-weight: 700;
}

.ma-technical-article__related-list {
  display: grid;
  gap: var(--ma-space-3);
}

.ma-technical-article__related-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ma-space-2);
  align-items: start;
  padding-top: var(--ma-space-3);
  border-top: 1px solid var(--ma-color-border);
  color: var(--ma-color-text);
  text-decoration: none;
}

.ma-technical-article__related-media {
  display: block;
  overflow: hidden;
  border-radius: var(--ma-radius);
  background: var(--ma-color-surface);
  aspect-ratio: 16 / 9;
}

.ma-technical-article__related-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.ma-technical-article__related-copy {
  display: grid;
  gap: var(--ma-space-1);
  min-width: 0;
}

.ma-technical-article__related-topic {
  color: var(--ma-color-accent-2);
  font-size: var(--ma-fs-social);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ma-technical-article__related-name {
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-small);
  font-weight: 700;
  line-height: 1.35;
}

.ma-technical-article__related-card:hover .ma-technical-article__related-media img,
.ma-technical-article__related-card:focus .ma-technical-article__related-media img {
  transform: scale(1.04);
}

.ma-technical-article__related-card:hover .ma-technical-article__related-name,
.ma-technical-article__related-card:focus .ma-technical-article__related-name {
  color: var(--ma-color-accent-2);
}

.ma-technical-article__related-card:focus-visible {
  outline: 3px solid var(--ma-color-accent);
  outline-offset: var(--ma-space-1);
}

.ma-technical-article__related-all {
  display: inline-flex;
  gap: var(--ma-space-2);
  margin-top: var(--ma-space-4);
  color: var(--ma-color-accent-2);
  font-size: var(--ma-fs-small);
  font-weight: 700;
  text-decoration: none;
}

.ma-technical-article__related-all:hover,
.ma-technical-article__related-all:focus {
  color: var(--ma-color-accent);
  text-decoration: underline;
  text-underline-offset: var(--ma-space-1);
}

@media (min-width: 48rem) and (max-width: 63.99rem) {
  .ma-technical-article__related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) and (max-width: 79.99rem) {
  .ma-technical-article__hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--ma-article-media-width));
    align-items: start;
  }

  .ma-technical-article__hero-copy {
    grid-column: 1 / 3;
  }

  .ma-technical-article__hero-support {
    grid-column: 1;
  }

  .ma-technical-article__hero-media {
    grid-column: 2;
  }

  .ma-technical-article__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ma-technical-article__related-card {
    grid-template-columns: calc(var(--ma-space-6) + var(--ma-space-5)) minmax(0, 1fr);
    gap: var(--ma-space-3);
  }

  .ma-technical-article__related-media {
    aspect-ratio: 4 / 3;
  }
}

.ma-technical-article__body {
  width: 100%;
  min-width: 0;
  max-width: none;
}

.ma-technical-article__opening,
.ma-technical-article__body > section > :not(.ma-technical-article__table-wrap) {
  max-width: var(--ma-article-reading-width);
}

.ma-technical-article__body section {
  scroll-margin-top: var(--ma-section-y);
}

.ma-technical-article__body section + section {
  margin-top: var(--ma-space-6);
  padding-top: var(--ma-space-6);
  border-top: 1px solid var(--ma-color-border);
}

.ma-technical-article__body h2,
.ma-technical-article__body h3 {
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
}

.ma-technical-article__body h2 {
  margin: 0 0 var(--ma-space-4);
  font-size: var(--ma-fs-h2);
  line-height: 1.15;
}

.ma-technical-article__body h3 {
  margin: var(--ma-space-4) 0 var(--ma-space-2);
  font-size: var(--ma-fs-h3);
}

.ma-technical-article__body p,
.ma-technical-article__body li {
  color: var(--ma-color-text);
  line-height: var(--ma-lh-body);
}

.ma-technical-article__body p {
  margin: 0 0 var(--ma-space-4);
}

.ma-technical-article__body ul,
.ma-technical-article__body ol {
  display: grid;
  gap: var(--ma-space-2);
  margin: 0 0 var(--ma-space-4);
  padding-left: var(--ma-space-5);
}

.ma-technical-article__media {
  width: min(100%, var(--ma-article-media-width));
  margin: var(--ma-space-5) auto;
}

.ma-technical-article__media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--ma-radius);
  background: var(--ma-color-dark);
}

.ma-technical-article__media figcaption {
  margin-top: var(--ma-space-3);
  color: var(--ma-color-muted);
  font-size: var(--ma-fs-small);
  line-height: var(--ma-lh-body);
}

.ma-technical-article__media-grid {
  display: grid;
  gap: var(--ma-space-4);
  margin: var(--ma-space-5) 0;
}

.ma-technical-article__media-grid .ma-technical-article__media {
  width: 100%;
  margin: 0;
}

@media (min-width: 48rem) {
  .ma-technical-article__media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ma-technical-article__table-wrap {
  margin: var(--ma-space-5) 0;
  overflow-x: auto;
  border: 1px solid var(--ma-color-border);
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
}

.ma-technical-article__table-wrap:focus-visible {
  outline: 3px solid var(--ma-color-accent);
  outline-offset: var(--ma-space-1);
}

.ma-technical-article__table-wrap table {
  width: 100%;
  min-width: var(--ma-article-table-min-width);
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: var(--ma-fs-small);
}

.ma-technical-article__table-col--manufacturer {
  width: 20%;
}

.ma-technical-article__table-col--fit {
  width: 28%;
}

.ma-technical-article__table-col--moq {
  width: 22%;
}

.ma-technical-article__table-col--evidence {
  width: 30%;
}

.ma-technical-article__table-wrap th,
.ma-technical-article__table-wrap td {
  padding: var(--ma-space-3);
  border-right: 1px solid var(--ma-color-border);
  border-bottom: 1px solid var(--ma-color-border);
  text-align: left;
  vertical-align: top;
  line-height: var(--ma-lh-body);
}

.ma-technical-article__table-wrap th:last-child,
.ma-technical-article__table-wrap td:last-child {
  border-right: 0;
}

.ma-technical-article__table-wrap tbody tr:last-child th,
.ma-technical-article__table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.ma-technical-article__table-wrap thead th,
.ma-technical-article__table-wrap tbody th {
  background: var(--ma-color-surface);
  font-family: var(--ma-font-head);
}

/* Keep the example row label visible while narrow screens scroll the table. */
.ma-tech-pack-demo-table--bom col:first-child {
  width: 20%;
}

.ma-tech-pack-demo-table--bom col:last-child {
  width: 8%;
}

@media (max-width: 47.99rem) {
  .ma-tech-pack-demo-table--bom col:first-child {
    width: 15%;
  }

  .ma-tech-pack-demo-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--ma-color-surface);
  }
}

.ma-technical-article__note {
  padding: var(--ma-space-4);
  border-left: 3px solid var(--ma-color-accent);
  background: var(--ma-color-surface);
}

.ma-technical-article__faq-item {
  padding: var(--ma-space-4) 0;
  border-bottom: 1px solid var(--ma-color-border);
}

.ma-technical-article__faq-item:last-child {
  border-bottom: 0;
}

.ma-technical-article__references ul {
  list-style: square;
}

.ma-technical-article__cta {
  background: var(--ma-color-dark);
}

.ma-technical-article__cta-inner {
  display: grid;
  gap: var(--ma-space-5);
  padding: var(--ma-section-y) var(--ma-space-4);
}

.ma-technical-article__cta .ma-section-kicker,
.ma-technical-article__cta h2 {
  color: var(--ma-color-bg);
}

.ma-technical-article__cta h2 {
  margin: 0;
  font-family: var(--ma-font-head);
  font-size: var(--ma-fs-h2);
}

.ma-technical-article__cta p:not(.ma-section-kicker) {
  max-width: var(--ma-reading-width);
  margin: var(--ma-space-3) 0 0;
  color: var(--ma-color-border);
  line-height: var(--ma-lh-body);
}

.ma-technical-article__cta .ma-button {
  justify-self: start;
}

@media (min-width: 80rem) {
  .ma-technical-article__hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--ma-article-media-width));
    align-items: start;
  }

  .ma-technical-article__hero-copy {
    grid-column: 1 / 3;
  }

  .ma-technical-article__hero-support {
    grid-column: 1;
  }

  .ma-technical-article__hero-media {
    grid-column: 2;
  }

  .ma-technical-article__layout {
    grid-template-columns: var(--ma-article-sidebar-width) minmax(0, 1fr);
    gap: var(--ma-space-5);
  }

  .ma-technical-article__toc {
    position: sticky;
    top: calc(var(--ma-touch-target) + var(--ma-space-5));
  }

  .ma-technical-article__cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

/* --- Site Footer --- */
.site-footer {
  background: var(--ma-color-dark);
  color: rgba(250, 248, 245, 0.86);
}

.ma-site-footer {
  background:
    linear-gradient(180deg, var(--ma-color-dark) 0%, var(--ma-color-dark) 100%);
  color: rgba(250, 248, 245, 0.86);
}

.ma-site-footer__inner,
.ma-site-footer__bottom {
  width: 100%;
  max-width: var(--ma-container);
  margin: 0 auto;
  padding-right: var(--ma-space-4);
  padding-left: var(--ma-space-4);
  box-sizing: border-box;
}

.ma-site-footer__inner {
  display: grid;
  gap: var(--ma-space-5);
  padding-top: var(--ma-space-6);
  padding-bottom: var(--ma-space-5);
}

.ma-site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--ma-space-3);
  color: var(--ma-color-white);
  text-decoration: none;
}

.ma-site-footer__logo img {
  width: 4.25rem;
  height: 4.25rem;
  object-fit: contain;
  background: var(--ma-color-white);
}

.ma-site-footer__logo span {
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.05;
}

.ma-site-footer__brand p {
  max-width: 20rem;
  margin: var(--ma-space-3) 0 0;
  color: rgba(250, 248, 245, 0.68);
  line-height: var(--ma-lh-body);
}

.ma-site-footer h2 {
  margin: 0 0 var(--ma-space-4);
  color: var(--ma-color-white);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ma-site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ma-site-footer__nav li + li,
.ma-site-footer__contact li + li {
  margin-top: 0.75rem;
}

.ma-site-footer a {
  color: rgba(250, 248, 245, 0.78);
  text-decoration: none;
}

.ma-site-footer a:hover,
.ma-site-footer a:focus {
  color: var(--ma-color-white);
}

.ma-site-footer__social {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ma-space-2);
  width: 100%;
  max-width: var(--ma-footer-social-width);
  margin-top: var(--ma-space-4);
}

.ma-site-footer__social a {
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  color: var(--ma-color-white);
}

.ma-site-footer__contact li {
  color: rgba(250, 248, 245, 0.72);
  line-height: 1.55;
}

.ma-site-footer__quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  margin-top: var(--ma-space-4);
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  background: var(--ma-color-accent);
  color: var(--ma-color-white) !important;
  font-weight: 800;
}

.ma-site-footer__quote:hover,
.ma-site-footer__quote:focus {
  background: var(--ma-color-accent-2);
}

.ma-site-footer__bottom {
  padding-top: var(--ma-space-4);
  padding-bottom: var(--ma-space-4);
  border-top: 1px solid rgba(250, 248, 245, 0.16);
  text-align: center;
}

.ma-site-footer__bottom p {
  margin: 0;
  color: rgba(250, 248, 245, 0.72);
  font-weight: 700;
}

@media (min-width: 48rem) {
  .ma-site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .ma-site-footer__brand {
    grid-column: 1 / -1;
  }

  .ma-site-footer__nav,
  .ma-site-footer__contact {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .ma-site-footer__contact ul {
    padding-bottom: var(--ma-space-4);
  }

  .ma-site-footer__quote {
    align-self: flex-start;
    margin-top: auto;
  }
}

@media (min-width: 60rem) {
  .ma-site-footer__inner {
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  }

  .ma-site-footer__brand {
    display: flex;
    flex-direction: column;
    grid-column: auto;
    min-width: 0;
  }

  .ma-site-footer__social {
    margin-top: auto;
    padding-top: var(--ma-space-4);
  }

  .ma-site-footer__nav {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
  }

  .ma-site-footer__nav ul {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

/* --- Product Showcase: library, product details and related entries --- */
body.ma-pl-page .site-content.grid-container,
body.ma-pl-page .container.grid-container {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}
body.ma-pl-page .content-area { width: 100%; }
.site-main.ma-pl { width: 100%; margin: 0; }
.ma-pl {
  --ma-pl-card-title: clamp(1.5rem, 2.4vw, 2rem);
  --ma-pl-control-width: 22rem;
  --ma-pl-detail-gap: clamp(var(--ma-space-4), 5vw, 5rem);
  --ma-pl-detail-image-height: clamp(28rem, 45vw, 39rem);
  color: var(--ma-color-text);
  background: var(--ma-color-bg);
  font-family: var(--ma-font-body);
  font-size: var(--ma-fs-base);
  line-height: var(--ma-lh-body);
}

.ma-pl *, .ma-pl *::before, .ma-pl *::after { box-sizing: border-box; }
.ma-pl .ma-section-inner { padding-block: 0; }
.ma-pl :where(h1, h2, h3, p, dl, dd, figure) { margin: 0; }
.ma-pl :where(h1, h2, h3) {
  color: var(--ma-color-text);
  font-family: var(--ma-font-head);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.ma-pl h1 { font-size: var(--ma-fs-h1); }
.ma-pl h2 { font-size: var(--ma-fs-h2); }
.ma-pl h3 { font-size: var(--ma-fs-h3); }
.ma-pl a { text-decoration-skip-ink: none; text-underline-offset: var(--ma-space-1); }
.ma-pl :where(button, input) { font: inherit; }
.ma-pl :where(img, video) { display: block; max-width: 100%; }
.ma-pl img { width: 100%; height: auto; }
.ma-pl :where(a, button, input):focus-visible {
  outline: 3px solid var(--ma-color-accent-2);
  outline-offset: 3px;
}
.ma-pl-muted { color: var(--ma-color-muted); }
.ma-pl-surface, .ma-pl-section--surface { background: var(--ma-color-surface); }
.ma-pl-eyebrow {
  color: var(--ma-color-accent-2);
  font-size: var(--ma-fs-social);
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ma-pl-section { padding-block: var(--ma-section-y); }
.ma-pl-section-head, .ma-pl-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--ma-space-4);
  margin-bottom: var(--ma-space-5);
}
.ma-pl-section-head h2, .ma-pl-section__head h2 { margin-top: var(--ma-space-2); }
.ma-pl-section-head > p, .ma-pl-section__head > p { max-width: 44ch; color: var(--ma-color-muted); font-size: var(--ma-fs-small); }
.ma-pl-text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--ma-space-2);
  min-height: var(--ma-touch-target);
  color: var(--ma-color-accent-2);
  font-weight: 650;
  text-decoration: underline;
}
.ma-pl-text-link:hover { color: var(--ma-color-text); }
.ma-pl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ma-space-3);
  min-height: var(--ma-touch-target);
  padding: var(--ma-space-2) var(--ma-space-4);
  border: 1px solid var(--ma-color-accent-2);
  border-radius: var(--ma-radius);
  background: var(--ma-color-accent-2);
  color: var(--ma-color-white);
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.ma-pl-button:hover { background: var(--ma-color-text); border-color: var(--ma-color-text); color: var(--ma-color-white); }
.ma-pl-button--secondary { background: transparent; color: var(--ma-color-accent-2); border-color: var(--ma-color-border); }
.ma-pl-button--secondary:hover { background: var(--ma-color-surface); color: var(--ma-color-accent-2); border-color: var(--ma-color-accent-2); }

/* Library intro and progressively enhanced search. */
.ma-pl-library-intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: var(--ma-space-6); align-items: end; padding-block: var(--ma-space-6) var(--ma-space-5); }
.ma-pl-library-intro h1 { margin-block: var(--ma-space-2) var(--ma-space-3); }
.ma-pl-library-intro__lead { max-width: 58ch; color: var(--ma-color-muted); }
.ma-pl-library-intro__aside { padding-left: var(--ma-space-4); border-left: 1px solid var(--ma-color-border); color: var(--ma-color-muted); font-size: var(--ma-fs-small); }
.ma-pl-library-intro__aside strong { display: block; margin-bottom: var(--ma-space-2); color: var(--ma-color-text); font-size: var(--ma-fs-base); }
.ma-pl-filter-bar { display: flex; align-items: end; justify-content: space-between; gap: var(--ma-space-4); padding-block: var(--ma-space-4); border-block: 1px solid var(--ma-color-border); }
.ma-pl-filter-label, .ma-pl-search-field label { display: block; margin-bottom: var(--ma-space-2); font-size: var(--ma-fs-small); font-weight: 650; }
.ma-pl-filter-options { display: flex; flex-wrap: wrap; gap: var(--ma-space-2); }
.ma-pl-filter-chip { min-height: var(--ma-touch-target); padding: var(--ma-space-2) var(--ma-space-3); border: 1px solid var(--ma-color-border); border-radius: var(--ma-radius); background: transparent; color: var(--ma-color-muted); font-size: var(--ma-fs-small); cursor: pointer; }
.ma-pl-filter-chip[aria-pressed="true"] { background: var(--ma-color-text); color: var(--ma-color-white); border-color: var(--ma-color-text); }
.ma-pl-filter-chip:hover { border-color: var(--ma-color-text); }
.ma-pl-search-field { width: min(100%, var(--ma-pl-control-width)); }
.ma-pl-search-field input { width: 100%; min-height: var(--ma-touch-target); padding: var(--ma-space-2) var(--ma-space-3); border: 1px solid var(--ma-color-border); border-radius: var(--ma-radius); background: var(--ma-color-white); color: var(--ma-color-text); font-size: var(--ma-fs-small); }
.ma-pl-search-field input::placeholder { color: var(--ma-color-muted); }
.ma-pl-result-summary { display: flex; justify-content: space-between; gap: var(--ma-space-3); padding-block: var(--ma-space-4); font-size: var(--ma-fs-small); color: var(--ma-color-muted); }
.ma-pl-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ma-space-4); }
.ma-pl-product-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--ma-color-border); border-radius: var(--ma-radius); overflow: hidden; background: var(--ma-color-white); }
.ma-pl-product-card:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
.ma-pl-product-card__image { display: block; position: relative; flex-shrink: 0; min-width: 0; overflow: hidden; background: var(--ma-color-surface); }
.ma-pl-product-card__image img { height: var(--ma-pl-library-image-height); object-fit: cover; object-position: center; }
.ma-pl-media-note { position: absolute; left: var(--ma-space-4); bottom: var(--ma-space-4); padding: var(--ma-space-2) var(--ma-space-3); border-radius: var(--ma-radius); background: var(--ma-color-white); color: var(--ma-color-text); font-size: var(--ma-fs-social); font-weight: 650; }
.ma-pl-product-card__body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: var(--ma-space-5); }
.ma-pl-product-card__body > .ma-pl-button { margin-top: auto; }
.ma-pl-product-card__body h2 { margin-block: var(--ma-space-2) var(--ma-space-3); font-size: var(--ma-pl-card-title); }
.ma-pl-product-card__body h2 a, .ma-pl-compact-product__body h3 a, .ma-pl-related-product__body h3 a { color: inherit; text-decoration: none; }
.ma-pl-product-card__body h2 a:hover, .ma-pl-compact-product__body h3 a:hover, .ma-pl-related-product__body h3 a:hover { text-decoration: underline; }
.ma-pl-product-card__description { max-width: 48ch; color: var(--ma-color-muted); font-size: var(--ma-fs-small); }
.ma-pl-product-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ma-space-3); width: 100%; margin-block: var(--ma-space-4); }
.ma-pl-fact { padding-top: var(--ma-space-3); border-top: 1px solid var(--ma-color-border); }
.ma-pl-fact dt { margin-bottom: var(--ma-space-1); color: var(--ma-color-muted); font-size: var(--ma-fs-social); font-weight: 400; }
.ma-pl-fact dd { margin: 0; font-weight: 650; }
.ma-pl-composition { margin-bottom: var(--ma-space-4); color: var(--ma-color-muted); font-size: var(--ma-fs-small); }
.ma-pl-empty-results { padding: var(--ma-space-6) var(--ma-space-4); border-radius: var(--ma-radius); background: var(--ma-color-surface); text-align: center; }
.ma-pl-empty-results p { margin-block: var(--ma-space-3); color: var(--ma-color-muted); }
.ma-pl-capability-section { margin-top: var(--ma-space-6); padding-block: var(--ma-space-5); border-top: 1px solid var(--ma-color-border); }
.ma-pl-capability-section h2 { margin-bottom: var(--ma-space-2); font-size: var(--ma-fs-h3); }
.ma-pl-capability-section > p { color: var(--ma-color-muted); font-size: var(--ma-fs-small); }
.ma-pl-category-links { display: flex; flex-wrap: wrap; gap: var(--ma-space-2); margin: var(--ma-space-4) 0 0; padding: 0; list-style: none; }
.ma-pl-category-links a { display: flex; align-items: center; gap: var(--ma-space-3); min-height: var(--ma-touch-target); padding: var(--ma-space-2) var(--ma-space-3); border: 1px solid var(--ma-color-border); border-radius: var(--ma-radius); color: var(--ma-color-text); text-decoration: none; font-size: var(--ma-fs-small); }
.ma-pl-category-links a:hover { border-color: var(--ma-color-accent-2); color: var(--ma-color-accent-2); }

/* The same example supplies homepage and Merino entry modules. */
.ma-pl-feature-entry { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--ma-space-6); align-items: center; }
.ma-pl-feature-entry__intro h2 { max-width: 17ch; margin-block: var(--ma-space-2) var(--ma-space-3); }
.ma-pl-feature-entry__intro > p:not(.ma-pl-eyebrow) { max-width: 40ch; margin-bottom: var(--ma-space-4); color: var(--ma-color-muted); }
.ma-pl-compact-product { display: grid; grid-template-columns: 1fr 1fr; min-width: 0; border: 1px solid var(--ma-color-border); border-radius: var(--ma-radius); overflow: hidden; background: var(--ma-color-white); }
.ma-pl-compact-product__image { display: block; min-width: 0; }
.ma-pl-compact-product__image img { height: 100%; min-height: calc(var(--ma-space-6) * 5); object-fit: cover; }
.ma-pl-compact-product__body { display: flex; flex-direction: column; justify-content: center; align-items: start; padding: var(--ma-space-4); }
.ma-pl-compact-product__body h3 { margin-block: var(--ma-space-2) var(--ma-space-3); }
.ma-pl-compact-product__body > p:not(.ma-pl-eyebrow) { color: var(--ma-color-muted); font-size: var(--ma-fs-small); }
.ma-pl-compact-product__body .ma-pl-text-link { margin-top: var(--ma-space-3); font-size: var(--ma-fs-small); }
.ma-pl-related-products { display: grid; gap: var(--ma-space-4); }
.ma-pl-related-product { display: grid; grid-template-columns: .85fr 1.15fr; border: 1px solid var(--ma-color-border); border-radius: var(--ma-radius); overflow: hidden; background: var(--ma-color-white); }
.ma-pl-related-product__image { display: block; min-width: 0; }
.ma-pl-related-product__image a { display: block; height: 100%; }
.ma-pl-related-product__image img { height: 100%; object-fit: cover; }
.ma-pl-related-product__body { display: flex; flex-direction: column; align-items: start; justify-content: center; padding: var(--ma-space-5); }
.ma-pl-related-product__body h3 { margin-block: var(--ma-space-2) var(--ma-space-3); font-size: var(--ma-pl-card-title); }
.ma-pl-related-product__body > p:not(.ma-pl-eyebrow) { color: var(--ma-color-muted); font-size: var(--ma-fs-small); }

/* Product detail: one title in reading order; desktop keeps the gallery on the left. */
.ma-pl .ma-pl-breadcrumb { padding-block: var(--ma-space-4); color: var(--ma-color-muted); font-size: var(--ma-fs-small); }
.ma-pl-breadcrumb a { display: inline-flex; align-items: center; min-height: var(--ma-touch-target); color: var(--ma-color-accent-2); }
.ma-pl .ma-pl-product { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-areas: "gallery heading" "gallery details"; grid-template-rows: auto 1fr; column-gap: var(--ma-pl-detail-gap); row-gap: var(--ma-space-4); align-items: start; padding-bottom: var(--ma-space-6); }
.ma-pl-gallery { grid-area: gallery; min-width: 0; }
.ma-pl-main-image { height: var(--ma-pl-detail-image-height); overflow: hidden; border-radius: var(--ma-radius); background: var(--ma-color-surface); scroll-margin-top: var(--ma-space-6); }
.ma-pl-main-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ma-pl-image-caption { padding-top: var(--ma-space-2); color: var(--ma-color-muted); font-size: var(--ma-fs-social); }
.ma-pl-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--ma-space-2); margin-top: var(--ma-space-3); }
.ma-pl-thumb { position: relative; min-height: var(--ma-touch-target); margin: 0; padding: 0; border: 2px solid transparent; border-radius: var(--ma-radius); overflow: hidden; background: var(--ma-color-surface); cursor: pointer; }
.ma-pl-thumb[aria-pressed="true"] { border-color: var(--ma-color-accent-2); }
.ma-pl-thumb:hover { background: var(--ma-color-surface); border-color: var(--ma-color-accent); }
.ma-pl-thumb img { width: 100%; height: auto; aspect-ratio: 1.3; object-fit: cover; }
.ma-pl-thumb__video-mark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.ma-pl-thumb__video-mark span { display: flex; align-items: center; gap: var(--ma-space-1); padding: var(--ma-space-1); border-radius: var(--ma-radius); background: var(--ma-color-text); color: var(--ma-color-white); font-size: var(--ma-fs-social); font-weight: 650; }
.ma-pl-product__heading { grid-area: heading; min-width: 0; padding-top: var(--ma-space-3); }
.ma-pl-product__heading h1 { margin-block: var(--ma-space-3); }
.ma-pl-product__text { grid-area: details; min-width: 0; }
.ma-pl-product__text > :first-child { margin-top: 0; }
.ma-pl-intro { max-width: 45ch; color: var(--ma-color-muted); }
.ma-pl-characteristics { margin-block: var(--ma-space-3) 0; color: var(--ma-color-text); font-size: var(--ma-fs-small); font-weight: 600; text-wrap: balance; }
.ma-pl-state { display: flex; align-items: center; gap: var(--ma-space-2); margin-top: var(--ma-space-4); color: var(--ma-color-accent-2); font-size: var(--ma-fs-small); font-weight: 650; }
.ma-pl-state::before { content: ''; flex: 0 0 var(--ma-space-2); width: var(--ma-space-2); height: var(--ma-space-2); border-radius: 50%; background: var(--ma-color-accent); }
.ma-pl-quick { margin-top: var(--ma-space-5); border-top: 1px solid var(--ma-color-border); }
.ma-pl-quick__row { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--ma-space-3); padding-block: var(--ma-space-3); border-bottom: 1px solid var(--ma-color-border); font-size: var(--ma-fs-small); }
.ma-pl-quick dt { color: var(--ma-color-muted); font-weight: 400; }
.ma-pl-quick dd { margin: 0; }
.ma-pl-actions { display: flex; flex-wrap: wrap; gap: var(--ma-space-3); margin-top: var(--ma-space-5); }
.ma-pl-related-category { margin-top: var(--ma-space-3); font-size: var(--ma-fs-small); }
.ma-pl-media-fallback { margin-top: var(--ma-space-3); }
.ma-pl-media-fallback ul { display: flex; flex-wrap: wrap; gap: var(--ma-space-2) var(--ma-space-4); margin: var(--ma-space-2) 0 0; padding: 0; list-style: none; }
.ma-pl-media-fallback li a { display: inline-flex; align-items: center; min-height: var(--ma-touch-target); color: var(--ma-color-accent-2); }
.ma-pl-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ma-space-4); }
.ma-pl-option-card { border-top: 2px solid var(--ma-color-accent); padding-block: var(--ma-space-4); }
.ma-pl-option-card > p { margin-top: var(--ma-space-2); color: var(--ma-color-muted); font-size: var(--ma-fs-small); }
.ma-pl-option-card ul { margin: var(--ma-space-4) 0 0; padding: 0; list-style: none; }
.ma-pl-option-card li { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: var(--ma-space-3); align-items: baseline; padding-block: var(--ma-space-2); border-bottom: 1px solid var(--ma-color-border); font-size: var(--ma-fs-small); }
.ma-pl-option-card li span:last-child { color: var(--ma-color-muted); }
.ma-pl-set-options { margin-top: var(--ma-space-4); padding: var(--ma-space-4); border: 1px solid var(--ma-color-border); border-radius: var(--ma-radius); background: var(--ma-color-surface); }
.ma-pl-set-options__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--ma-space-5); margin-top: var(--ma-space-3); }
.ma-pl-set-options__item { padding-block: var(--ma-space-3); border-top: 1px solid var(--ma-color-border); }
.ma-pl-set-options dt { font-weight: 650; }
.ma-pl-set-options dd { margin: var(--ma-space-2) 0 0; color: var(--ma-color-muted); }
.ma-pl-option-note { margin-top: var(--ma-space-4); color: var(--ma-color-muted); font-size: var(--ma-fs-small); }
.ma-pl-next-step { display: flex; justify-content: space-between; align-items: center; gap: var(--ma-space-5); }
.ma-pl-next-step h2 { max-width: 22ch; margin-top: var(--ma-space-2); }
.ma-pl-next-step .ma-pl-button { flex-shrink: 0; }

/* Video opens at its native landscape ratio without resizing the photo gallery.
   The viewport-height cap also keeps the close button visible in phone landscape. */
.ma-pl-video-dialog {
  position: fixed;
  inset: 0;
  width: min(var(--ma-pl-video-width), calc(100% - var(--ma-space-5)), calc((100dvh - var(--ma-space-5) - var(--ma-pl-video-toolbar-height)) * 16 / 9));
  max-width: none;
  max-height: calc(100dvh - var(--ma-space-4));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--ma-radius);
  background: var(--ma-color-white);
  color: var(--ma-color-text);
  overflow: hidden;
}
.ma-pl-video-dialog:not([open]) { display: none; }
.ma-pl-video-dialog::backdrop { background: var(--ma-pl-video-backdrop); }
.ma-pl-video-dialog__toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--ma-space-2); height: var(--ma-pl-video-toolbar-height); padding: var(--ma-space-2) var(--ma-space-3); }
.ma-pl-video-dialog__toolbar p { font-size: var(--ma-fs-small); font-weight: 650; }
.ma-pl-video-dialog__toolbar button { padding-inline: var(--ma-space-3); }
.ma-pl-video-dialog .ma-pl-button--secondary:is(:hover, :focus-visible) { background: var(--ma-color-surface); color: var(--ma-color-accent-2); border-color: var(--ma-color-accent-2); }
.ma-pl-video-dialog video { width: 100%; height: auto; aspect-ratio: var(--ma-pl-video-ratio); object-fit: contain; background: var(--ma-color-dark); }
.ma-pl-video-dialog video:focus-visible { outline: 3px solid var(--ma-color-accent-2); outline-offset: -3px; }
html.ma-pl-video-open, .ma-pl-video-open body { overflow: hidden; }

/* Keep native hidden states stronger than the grid/flex enhancement styles. */
.ma-pl .ma-pl-filter-bar[hidden], .ma-pl .ma-pl-empty-results[hidden],
.ma-pl .ma-pl-product-card[hidden], .ma-pl .ma-pl-main-image [hidden],
.ma-pl .ma-pl-thumbs[hidden], .ma-pl .ma-pl-button[hidden] { display: none; }

@media (max-width: 75rem) {
  .ma-pl-product-card__body { padding: var(--ma-space-4); }
}
@media (max-width: 62.5rem) {
  .ma-pl-library-intro { gap: var(--ma-space-4); }
  .ma-pl-feature-entry { grid-template-columns: 1fr; gap: var(--ma-space-4); }
  .ma-pl-feature-entry__intro h2 { max-width: none; }
  .ma-pl-feature-entry__intro > p:not(.ma-pl-eyebrow) { max-width: 60ch; }
  .ma-pl-compact-product__image img { height: calc(var(--ma-space-6) * 5); }
}
@media (max-width: 53.125rem) {
  .ma-pl .ma-pl-product { grid-template-columns: 1fr; grid-template-areas: "heading" "gallery" "details"; grid-template-rows: auto; gap: var(--ma-space-4); }
  .ma-pl-product__heading { padding: 0; }
  .ma-pl-main-image { --ma-pl-detail-image-height: clamp(24rem, 75vw, 38rem); }
  .ma-pl-options { grid-template-columns: 1fr; }
  .ma-pl-section__head { display: block; }
  .ma-pl-section-head > p, .ma-pl-section__head > p { margin-top: var(--ma-space-3); }
}
@media (max-width: 47.5rem) {
  .ma-pl-library-intro, .ma-pl-product-card:only-child, .ma-pl-related-product { grid-template-columns: 1fr; }
  .ma-pl-library-intro__aside { display: none; }
  .ma-pl-product-card__image img, .ma-pl-related-product__image img { height: calc(var(--ma-space-6) * 6); }
  .ma-pl-filter-bar { flex-direction: column; align-items: start; }
  .ma-pl-search-field { width: 100%; }
  .ma-pl-section-head { align-items: start; flex-direction: column; gap: var(--ma-space-2); }
  .ma-pl-product-card__body, .ma-pl-related-product__body { padding: var(--ma-space-4); }
  .ma-pl-product-grid { grid-template-columns: 1fr; }
  .ma-pl-next-step { flex-direction: column; align-items: start; gap: var(--ma-space-4); }
}
@media (max-width: 37.5rem) {
  .ma-pl-set-options__list { grid-template-columns: 1fr; }
}
@media (max-width: 30rem) {
  .ma-pl-library-intro { padding-top: var(--ma-space-5); }
  .ma-pl-compact-product { grid-template-columns: 1fr; }
  .ma-pl-compact-product__image img { height: calc(var(--ma-space-6) * 5); min-height: 0; }
  .ma-pl-result-summary { flex-direction: column; gap: var(--ma-space-1); }
  .ma-pl-main-image { --ma-pl-detail-image-height: 26rem; }
  .ma-pl-quick__row { grid-template-columns: 1fr 1fr; }
}
