/*
Theme Name: MENSTRAK
Theme URI: https://menstrak.com
Author: MENSTRAK
Author URI: https://menstrak.com
Description: Custom high-performance WooCommerce theme for MENSTRAK. Built around the locked black/white MENSTRAK identity, DROP 001, sportswear styling, mobile-first commerce, and Inkthreadable/WooCommerce fulfilment workflows.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: menstrak
License: GNU General Public License v2 or later
*/

:root {
  --ms-black: #050505;
  --ms-panel: #0d0d0d;
  --ms-panel-2: #111111;
  --ms-line: #292929;
  --ms-line-soft: #1a1a1a;
  --ms-white: #ffffff;
  --ms-muted: #a5a5a5;
  --ms-muted-2: #717171;
  --ms-max: 1440px;
  --ms-radius: 2px;
  --ms-header: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ms-black); }
body {
  margin: 0;
  background: var(--ms-black);
  color: var(--ms-white);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.admin-bar .ms-site-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
::selection { background: #fff; color: #000; }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px;
}
.screen-reader-text:focus {
  clip: auto !important; clip-path: none; display: block; height: auto; left: 12px; top: 12px;
  width: auto; z-index: 100000; padding: 12px 16px; background: #fff; color: #000;
}
.ms-container { width: min(calc(100% - 48px), var(--ms-max)); margin-inline: auto; }
.ms-kicker {
  color: var(--ms-muted);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.ms-display {
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 7.5rem);
  line-height: .88;
  letter-spacing: -.055em;
  font-weight: 850;
  text-transform: uppercase;
}
.ms-section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: .96;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.ms-copy { color: var(--ms-muted); max-width: 60ch; }
.ms-rule { height: 1px; background: var(--ms-line); border: 0; margin: 0; }

.ms-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px !important;
  border: 1px solid #fff !important;
  border-radius: var(--ms-radius) !important;
  background: #fff !important;
  color: #050505 !important;
  font-size: .76rem !important;
  font-weight: 850 !important;
  letter-spacing: .13em;
  line-height: 1 !important;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.ms-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover { transform: translateY(-2px); background: #dcdcdc !important; color: #050505 !important; }
.ms-button--ghost { background: transparent !important; color: #fff !important; border-color: #4c4c4c !important; }
.ms-button--ghost:hover { background: #fff !important; color: #050505 !important; border-color: #fff !important; }

/* Announcement */
.ms-announcement {
  position: relative;
  z-index: 1001;
  background: #fff;
  color: #050505;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 16px;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-align: center;
  text-transform: uppercase;
}

/* Header */
.ms-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--ms-header);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(5,5,5,.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.ms-header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
}
.ms-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.ms-brand-symbol { width: 35px; height: 35px; object-fit: contain; flex: 0 0 auto; }
.ms-brand-wordmark { width: 165px; max-height: 28px; object-fit: contain; object-position: left center; }
.custom-logo-link img { max-height: 42px; width: auto; display: block; }

.ms-primary-nav { justify-self: center; }
.ms-primary-nav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.ms-primary-nav a {
  position: relative;
  color: #d7d7d7;
  font-size: .73rem;
  font-weight: 780;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ms-primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 1px; background: #fff;
  transition: right .2s ease;
}
.ms-primary-nav a:hover::after, .ms-primary-nav .current-menu-item > a::after { right: 0; }

.ms-header-actions { justify-self: end; display: flex; align-items: center; gap: 9px; }
.ms-icon-link {
  position: relative; width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid #262626; color: #fff; background: #0b0b0b;
}
.ms-icon-link:hover { border-color: #777; }
.ms-icon-link svg { width: 18px; height: 18px; }
.ms-cart-count {
  position: absolute; right: -5px; top: -6px; min-width: 18px; height: 18px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 999px; background: #fff; color: #000;
  font-size: .62rem; font-weight: 900;
}
.ms-menu-toggle {
  display: none;
  width: 42px; height: 42px; border: 1px solid #262626; background: #0b0b0b; color: #fff;
}
.ms-menu-toggle span { display: block; width: 17px; height: 1px; margin: 4px auto; background: currentColor; }

/* Hero */
.ms-hero {
  position: relative;
  min-height: calc(100vh - var(--ms-header) - 30px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5,5,5,.98) 0%, rgba(5,5,5,.92) 46%, rgba(5,5,5,.36) 100%),
    url("assets/images/hero-texture.webp") center/cover no-repeat;
}
.ms-hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 28%; pointer-events: none;
  background: linear-gradient(transparent, #050505);
}
.ms-hero-inner {
  position: relative; z-index: 2;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
  padding-block: 70px;
}
.ms-hero-copy { max-width: 840px; }
.ms-hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 20px 0 26px;
}
.ms-hero-brand .ms-hero-symbol { width: 74px; margin-bottom: 24px; }
.ms-hero-brand .ms-hero-wordmark { width: min(640px, 84vw); }
.ms-hero-tagline {
  margin: 22px 0 0;
  color: #d8d8d8;
  font-size: clamp(.78rem, 1.2vw, 1rem);
  font-weight: 700;
  letter-spacing: .38em;
  text-transform: uppercase;
}
.ms-hero-lead { margin: 28px 0 34px; max-width: 620px; color: #b6b6b6; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.ms-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ms-product-orbit {
  position: relative;
  justify-self: end;
  width: min(580px, 42vw);
  aspect-ratio: .87;
}
.ms-product-orbit::before {
  content: ""; position: absolute; inset: 8% 0 2% 0; border: 1px solid rgba(255,255,255,.14);
  transform: rotate(4deg);
}
.ms-product-orbit::after {
  content: "001"; position: absolute; right: -2%; top: 1%;
  font-size: clamp(5rem, 11vw, 11rem); font-weight: 900; line-height: 1; letter-spacing: -.09em;
  color: rgba(255,255,255,.035);
}
.ms-product-orbit img {
  position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 28px 40px rgba(0,0,0,.55));
}
.ms-orbit-label {
  position: absolute; z-index: 3; right: -3%; bottom: 8%;
  border: 1px solid #393939; background: rgba(5,5,5,.9);
  padding: 12px 14px; font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}

/* Ticker */
.ms-ticker { border-block: 1px solid var(--ms-line); overflow: hidden; background: #080808; }
.ms-ticker-track { display: flex; width: max-content; animation: msTicker 24s linear infinite; }
.ms-ticker span {
  display: inline-flex; align-items: center; gap: 28px; min-height: 58px; padding-right: 28px;
  color: #bdbdbd; font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
}
.ms-ticker span::after { content: "✦"; color: #fff; }
@keyframes msTicker { to { transform: translateX(-50%); } }

/* Sections */
.ms-section { padding-block: clamp(72px, 9vw, 140px); }
.ms-section--line { border-top: 1px solid var(--ms-line); }
.ms-heading-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .5fr);
  gap: 40px; align-items: end; margin-bottom: 48px;
}
.ms-heading-row .ms-copy { justify-self: end; margin: 0; }

/* Product feature */
.ms-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  border: 1px solid var(--ms-line);
  background: var(--ms-panel);
  min-height: 640px;
}
.ms-feature-gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ms-line); min-height: 640px;
}
.ms-feature-image { position: relative; overflow: hidden; background: #f0f0f0; }
.ms-feature-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.ms-feature-image:hover img { transform: scale(1.025); }
.ms-feature-copy { padding: clamp(34px, 5vw, 76px); display: flex; flex-direction: column; justify-content: center; }
.ms-feature-copy h3 { margin: 14px 0 18px; font-size: clamp(2.3rem, 4vw, 4.5rem); line-height: .94; letter-spacing: -.045em; text-transform: uppercase; }
.ms-price { margin: 0 0 26px; font-size: 1.3rem; font-weight: 850; letter-spacing: .04em; }
.ms-feature-meta { display: grid; gap: 0; margin: 28px 0 34px; border-top: 1px solid var(--ms-line); }
.ms-feature-meta span { padding: 13px 0; border-bottom: 1px solid var(--ms-line); color: #c0c0c0; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }

/* Woo product grid */
.ms-products-grid .products,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 28px 18px;
  margin: 0 !important;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
  float: none !important; width: auto !important; margin: 0 !important;
  border: 1px solid var(--ms-line); background: #0b0b0b; padding: 0 0 22px !important;
}
.woocommerce ul.products li.product a img { margin: 0 0 20px !important; background: #eee; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: #fff; padding: 0 18px !important; font-size: 1rem !important; letter-spacing: -.01em; }
.woocommerce ul.products li.product .price { color: #bdbdbd !important; padding: 0 18px; font-size: .9rem !important; }
.woocommerce ul.products li.product .button { margin: 12px 18px 0 !important; min-height: 42px; width: calc(100% - 36px); }

/* Philosophy */
.ms-philosophy {
  position: relative; overflow: hidden;
  background: #f4f4f2; color: #050505;
}
.ms-philosophy::before {
  content: ""; position: absolute; right: -9vw; top: -10%; width: 56vw; height: 120%;
  background: url("assets/images/brand-symbol-black.png") center/contain no-repeat;
  opacity: .035; transform: rotate(-7deg);
}
.ms-philosophy-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(40px, 8vw, 140px); }
.ms-philosophy .ms-kicker, .ms-philosophy .ms-copy { color: #4a4a4a; }
.ms-philosophy-quote { margin: 0; max-width: 1000px; font-size: clamp(2.5rem, 6vw, 7rem); line-height: .9; letter-spacing: -.055em; font-weight: 850; text-transform: uppercase; }

/* Pillars */
.ms-pillars { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--ms-line); }
.ms-pillar { position: relative; min-height: 300px; padding: 30px; border-right: 1px solid var(--ms-line); background: #0a0a0a; }
.ms-pillar:last-child { border-right: 0; }
.ms-pillar-index { color: #515151; font-size: .7rem; font-weight: 800; letter-spacing: .18em; }
.ms-pillar h3 { margin: 88px 0 12px; font-size: 1.3rem; letter-spacing: -.02em; text-transform: uppercase; }
.ms-pillar p { margin: 0; color: var(--ms-muted); font-size: .92rem; }
.ms-pillar::after { content: ""; position: absolute; left: 30px; top: 72px; width: 28px; height: 1px; background: #fff; }

/* Movement section */
.ms-movement {
  background:
    linear-gradient(90deg, rgba(5,5,5,.99), rgba(5,5,5,.6)),
    url("assets/images/hero-texture.webp") center/cover no-repeat;
  border-block: 1px solid var(--ms-line);
}
.ms-movement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ms-movement-stat { display: grid; grid-template-columns: repeat(2,1fr); border: 1px solid var(--ms-line); }
.ms-stat { min-height: 180px; padding: 28px; border-right: 1px solid var(--ms-line); border-bottom: 1px solid var(--ms-line); }
.ms-stat:nth-child(2n) { border-right: 0; }
.ms-stat:nth-last-child(-n+2) { border-bottom: 0; }
.ms-stat strong { display: block; margin-bottom: 30px; font-size: clamp(2rem,4vw,4.2rem); line-height: .9; letter-spacing: -.05em; }
.ms-stat span { color: var(--ms-muted); font-size: .68rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }

/* Drop list */
.ms-drop-list { text-align: center; border-top: 1px solid var(--ms-line); background: #080808; }
.ms-drop-list-inner { max-width: 800px; margin-inline: auto; }
.ms-drop-list form { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 30px auto 0; max-width: 650px; }
.ms-drop-list input[type=email] {
  min-height: 54px; width: 100%; border: 1px solid #3a3a3a; border-radius: 0; padding: 0 17px;
  background: #0d0d0d; color: #fff; outline: 0;
}
.ms-drop-list input[type=email]:focus { border-color: #fff; }
.ms-drop-list small { display: block; margin-top: 13px; color: #666; font-size: .7rem; }
.ms-form-success { margin: 22px auto 0; max-width: 650px; padding: 13px 16px; border: 1px solid #4c4c4c; color: #d7d7d7; font-size: .82rem; }

/* Content pages */
.ms-content-shell { min-height: 65vh; padding-block: 70px 120px; }
.ms-page-header { border-bottom: 1px solid var(--ms-line); padding-bottom: 36px; margin-bottom: 50px; }
.ms-page-title { margin: 0; font-size: clamp(2.8rem,6vw,6rem); letter-spacing: -.05em; text-transform: uppercase; line-height: .92; }
.ms-entry-content { max-width: 900px; color: #d0d0d0; }
.ms-entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.ms-entry-content h2,.ms-entry-content h3 { color: #fff; margin-top: 2em; }
.ms-entry-content table { width: 100%; border-collapse: collapse; }
.ms-entry-content td,.ms-entry-content th { border: 1px solid var(--ms-line); padding: 10px; }

/* Footer */
.ms-site-footer { border-top: 1px solid var(--ms-line); background: #050505; padding: 64px 0 24px; }
.ms-footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3,.6fr); gap: 50px; }
.ms-footer-brand .ms-brand-wordmark { width: 220px; margin-bottom: 20px; }
.ms-footer-brand p { max-width: 390px; color: var(--ms-muted); }
.ms-footer-col h3 { margin: 0 0 18px; color: #777; font-size: .67rem; letter-spacing: .19em; text-transform: uppercase; }
.ms-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ms-footer-col a { color: #d1d1d1; font-size: .88rem; }
.ms-footer-col a:hover { color: #fff; }
.ms-footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  margin-top: 62px; padding-top: 22px; border-top: 1px solid var(--ms-line);
  color: #5f5f5f; font-size: .67rem; letter-spacing: .11em; text-transform: uppercase;
}

/* WooCommerce shell */
.woocommerce-page main,
.woocommerce main { color: #ddd; }
.woocommerce .woocommerce-breadcrumb { color: #707070 !important; margin-bottom: 30px !important; }
.woocommerce .woocommerce-breadcrumb a { color: #aaa !important; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.78fr); gap: clamp(36px,6vw,90px); }
.woocommerce div.product div.images,
.woocommerce div.product div.summary { float: none !important; width: auto !important; }
.woocommerce div.product .product_title { color: #fff; font-size: clamp(2.3rem,4vw,4.8rem); line-height: .95; letter-spacing: -.045em; text-transform: uppercase; }
.woocommerce div.product p.price,.woocommerce div.product span.price { color: #fff !important; font-size: 1.35rem !important; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #aaa; }
.woocommerce .quantity .qty {
  width: 68px; min-height: 52px; border: 1px solid #444; background: #0e0e0e; color: #fff;
}
.woocommerce table.shop_table { border-color: #303030 !important; border-radius: 0 !important; }
.woocommerce table.shop_table th,.woocommerce table.shop_table td { border-color: #222 !important; }
.woocommerce-cart table.cart img { width: 90px !important; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  min-height: 48px; border: 1px solid #3b3b3b; border-radius: 0; background: #0d0d0d; color: #fff;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: #fff; line-height: 46px; }
.woocommerce-error,.woocommerce-info,.woocommerce-message {
  border-top: 1px solid #fff !important; background: #111 !important; color: #ddd !important;
}
.woocommerce-info::before,.woocommerce-message::before { color: #fff !important; }
.woocommerce-checkout #payment { background: #111 !important; border-radius: 0 !important; }
.woocommerce-checkout #payment div.payment_box { background: #1b1b1b !important; color: #ddd !important; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #1b1b1b !important; }
.woocommerce-tabs ul.tabs { padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 1px solid #303030 !important; background: #0d0d0d !important; border-radius: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #fff !important; color: #000 !important; }
.woocommerce div.product .woocommerce-tabs .panel { color: #bdbdbd; }
.woocommerce span.onsale {
  min-width: 0 !important; min-height: 0 !important; line-height: 1 !important;
  border-radius: 0 !important; background: #fff !important; color: #000 !important;
  padding: 8px 10px !important; font-size: .64rem !important; letter-spacing: .1em; text-transform: uppercase;
}

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1120px) {
  .ms-header-inner { grid-template-columns: 1fr auto; }
  .ms-primary-nav { display: none; position: fixed; left: 0; right: 0; top: calc(var(--ms-header) + 30px); background: #070707; border-bottom: 1px solid #252525; padding: 24px; }
  .ms-primary-nav.is-open { display: block; }
  .ms-primary-nav ul { flex-direction: column; align-items: flex-start; gap: 20px; }
  .ms-menu-toggle { display: block; }
  .ms-header-actions { gap: 6px; }
  .ms-hero-inner { grid-template-columns: 1fr .8fr; }
  .ms-products-grid .products,.woocommerce ul.products { grid-template-columns: repeat(3,1fr); }
  .ms-pillars { grid-template-columns: repeat(2,1fr); }
  .ms-pillar:nth-child(2) { border-right: 0; }
  .ms-pillar:nth-child(-n+2) { border-bottom: 1px solid var(--ms-line); }
  .ms-footer-grid { grid-template-columns: 1.2fr repeat(2,.7fr); }
  .ms-footer-col:last-child { grid-column: 2 / 4; }
}
@media (max-width: 820px) {
  body.admin-bar .ms-site-header { top: 46px; }
  .ms-container { width: min(calc(100% - 28px), var(--ms-max)); }
  .ms-brand-wordmark { width: 142px; }
  .ms-header-actions .ms-account-link { display: none; }
  .ms-hero { min-height: auto; }
  .ms-hero-inner { grid-template-columns: 1fr; padding-block: 56px 40px; }
  .ms-product-orbit { justify-self: center; width: min(550px, 94vw); }
  .ms-heading-row,.ms-philosophy-grid,.ms-movement-grid { grid-template-columns: 1fr; gap: 28px; }
  .ms-heading-row .ms-copy { justify-self: start; }
  .ms-feature { grid-template-columns: 1fr; }
  .ms-feature-gallery { min-height: 0; }
  .ms-feature-image { aspect-ratio: 1 / 1; }
  .ms-products-grid .products,.woocommerce ul.products { grid-template-columns: repeat(2,1fr); }
  .woocommerce div.product { grid-template-columns: 1fr; }
  .ms-footer-grid { grid-template-columns: 1fr 1fr; }
  .ms-footer-brand { grid-column: 1 / -1; }
  .ms-footer-col:last-child { grid-column: auto; }
}
@media (max-width: 560px) {
  :root { --ms-header: 66px; }
  .ms-announcement { min-height: 28px; font-size: .58rem; letter-spacing: .14em; }
  .ms-brand-symbol { width: 30px; height: 30px; }
  .ms-brand-wordmark { width: 122px; }
  .ms-icon-link,.ms-menu-toggle { width: 38px; height: 38px; }
  .ms-hero-tagline { letter-spacing: .2em; }
  .ms-product-orbit { width: 100%; }
  .ms-feature-gallery { grid-template-columns: 1fr; }
  .ms-products-grid .products,.woocommerce ul.products { grid-template-columns: 1fr; }
  .ms-pillars { grid-template-columns: 1fr; }
  .ms-pillar { border-right: 0; border-bottom: 1px solid var(--ms-line); }
  .ms-pillar:last-child { border-bottom: 0; }
  .ms-movement-stat { grid-template-columns: 1fr; }
  .ms-stat { border-right: 0 !important; border-bottom: 1px solid var(--ms-line) !important; }
  .ms-stat:last-child { border-bottom: 0 !important; }
  .ms-drop-list form { grid-template-columns: 1fr; }
  .ms-footer-grid { grid-template-columns: 1fr; }
  .ms-footer-brand,.ms-footer-col:last-child { grid-column: auto; }
  .ms-footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
