/* Layout-safe editorial overlay: visual evolution only, no structural changes */

:root {
  --ui-focus-ring: color-mix(in srgb, var(--ui-color-accent, #1d324d) 62%, #ffffff);
  --ui-focus-offset: 2px;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--ui-focus-ring);
  outline-offset: var(--ui-focus-offset);
}

body {
  color: var(--ui-color-ink, #15181d);
  background: var(--ui-color-ivory, #fbf9f5);
  font-family: var(--ui-font-body, "Helvetica Neue", Arial, sans-serif);
}

:where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--ui-font-display, "Roboto", "Helvetica Neue", Arial, sans-serif);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

:where(p, li, label, input, select, textarea, button, a, span) {
  font-family: var(--ui-font-body, "Helvetica Neue", Arial, sans-serif);
}

/* Product imagery: enforce 1:1 rounded crop with clipping mask across storefront modules. */
.product-image,
.product-card__image,
.emm-product-media {
  aspect-ratio: 1 / 1 !important;
  border-radius: var(--ui-radius-lg, 0.9rem);
  overflow: hidden;
  clip-path: inset(0 round var(--ui-radius-lg, 0.9rem));
}

.product-image img,
.product-card__image img,
.emm-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Keep text in natural case across UI labels */
.emm-kicker,
.emm-nav__link,
.emm-header__shortcut,
.emm-product-badge {
  text-transform: none !important;
  letter-spacing: 0.02em !important;
}

/* Shared button/input polish without changing sizing model */
:where(.btn, .emm-btn) {
  border-radius: var(--ui-radius-pill, 999px);
  transition: background var(--ui-time-base, 200ms) var(--ui-ease, ease),
              color var(--ui-time-base, 200ms) var(--ui-ease, ease),
              border-color var(--ui-time-base, 200ms) var(--ui-ease, ease),
              transform var(--ui-time-base, 200ms) var(--ui-ease, ease);
}

:where(.btn, .emm-btn):hover {
  transform: translateY(-1px);
}

:where(input, select, textarea, .form-input, .form-select, .form-textarea, .qty-input) {
  border-color: var(--ui-color-line-strong, #bfb5a8);
}

/* Catalog / collection page visual refinements (same layout) */
.catalog-title,
.catalog-page .catalog-title,
.catalog-page h1,
.shop-page .shop-title {
  font-family: var(--ui-font-display, "Roboto", "Helvetica Neue", Arial, sans-serif) !important;
  letter-spacing: -0.01em;
}

.catalog-subtitle,
.shop-subtitle,
.product-count {
  color: var(--ui-color-muted, #66717d) !important;
}

.catalog-page:not(.emm-page),
.shop-page {
  max-width: var(--ui-container-max, 78rem) !important;
  margin: 0 auto;
  padding: clamp(2rem, 4.6vw, 3.25rem) var(--ui-page-pad, 1rem) !important;
}

/* New unified page shell uses .emm-container; prevent legacy wrapper padding/width from stacking. */
.catalog-page.emm-page {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.catalog-header,
.shop-header {
  margin-bottom: var(--ui-space-8, 2rem) !important;
  padding-bottom: var(--ui-space-5, 1.25rem) !important;
  border-bottom: var(--ui-border-hairline, 1px solid #d9d2c8) !important;
}

.emm-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.38rem;
  margin: 0 0 var(--ui-space-5, 1.25rem);
  font-size: var(--ui-step--1, 0.9rem);
  color: var(--ui-color-muted, #66717d);
}

.emm-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.emm-breadcrumbs a:hover {
  color: var(--ui-color-ink, #15181d);
}

.emm-page-head {
  margin-bottom: var(--ui-space-8, 2rem) !important;
  padding-bottom: var(--ui-space-5, 1.25rem) !important;
  border-bottom: var(--ui-border-hairline, 1px solid #d9d2c8) !important;
}

.emm-page-title {
  margin: 0;
  font-family: var(--ui-font-display, "Roboto", "Helvetica Neue", Arial, sans-serif) !important;
  font-size: clamp(1.9rem, 1.45rem + 1.7vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.emm-page-subtitle {
  margin: 0.48rem 0 0;
  color: var(--ui-color-muted, #66717d);
  font-size: var(--ui-step-0, 1rem);
  max-width: 58ch;
}

.catalog-toolbar,
.shop-toolbar {
  margin-bottom: var(--ui-space-8, 2rem) !important;
}

.products-grid {
  gap: clamp(1rem, 2vw, 1.75rem) !important;
}

.product-card,
.products-grid .product-card {
  border: var(--ui-border-hairline, 1px solid #d9d2c8) !important;
  border-radius: var(--ui-radius-lg, 0.9rem) !important;
  box-shadow: none !important;
  background: var(--ui-color-white, #fff) !important;
}

.product-card:hover,
.products-grid .product-card:hover {
  box-shadow: 0 8px 24px rgba(20, 24, 30, 0.06) !important;
  border-color: var(--ui-color-line-strong, #bfb5a8) !important;
}

.emm-product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--ui-radius-pill, 999px);
  border: var(--ui-border-hairline, 1px solid #d9d2c8);
  background: color-mix(in srgb, var(--ui-color-paper, #f7f4ef) 92%, #fff);
  color: var(--ui-color-ink-soft, #262c34);
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1;
  z-index: 1;
}

.emm-empty-state__title {
  margin: 0 0 0.6rem;
  font-family: var(--ui-font-display, "Roboto", "Helvetica Neue", Arial, sans-serif);
  font-size: clamp(1.2rem, 0.95rem + 1vw, 1.7rem);
  letter-spacing: -0.01em;
}

.emm-filter-controls {
  align-items: center;
}

.emm-pagination .emm-btn {
  min-height: 2.35rem;
  padding: 0.45rem 0.9rem;
}

/* PDP visual overlay (structure untouched) */
.product-container .title,
.product-container h1.title {
  font-family: var(--ui-font-display, "Roboto", "Helvetica Neue", Arial, sans-serif) !important;
  letter-spacing: -0.01em !important;
  line-height: 1.06;
  text-transform: none !important;
}

.product-container .subtitle,
.product-container .label,
.product-container .breadcrumbs,
.product-container .accordion .content {
  color: var(--ui-color-ink-soft, #262c34);
}

.product-container .field .label,
.product-container .label {
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  font-weight: 600;
}

.product-container .price-row {
  color: var(--ui-color-ink, #15181d);
}

.product-container .field,
.product-container .choices button,
.product-container .qty,
.product-container .accordion details,
.product-container .hero,
.product-container .thumbs button {
  border-color: var(--ui-color-line, #d9d2c8) !important;
}

.product-container .choices button {
  background: var(--ui-color-white, #fff) !important;
  color: var(--ui-color-ink, #15181d) !important;
  border-color: var(--ui-color-line-strong, #bfb5a8) !important;
  font-weight: 600;
}

.product-container .choices button:hover:not(:disabled) {
  background: #f2eee8 !important;
  border-color: #7f8a99 !important;
  color: var(--ui-color-ink, #15181d) !important;
}

.product-container .choices button[aria-pressed="true"] {
  background: var(--ui-color-ink, #15181d) !important;
  border-color: var(--ui-color-ink, #15181d) !important;
  color: var(--ui-color-white, #ffffff) !important;
}

.product-container .choices button[aria-pressed="true"]:hover,
.product-container .choices button[aria-pressed="true"]:focus-visible {
  background: var(--ui-color-ink, #15181d) !important;
  border-color: var(--ui-color-ink, #15181d) !important;
  color: var(--ui-color-white, #ffffff) !important;
}

.product-container .choices button:disabled,
.product-container .choices button[disabled] {
  opacity: 1 !important;
  background: #eceff3 !important;
  border-color: #cfd4dc !important;
  color: #5f6874 !important;
}

.product-container .buy {
  display: grid;
  grid-template-columns: auto minmax(10rem, 1fr) minmax(10rem, 1fr);
  align-items: stretch;
  gap: 0.75rem;
}

.product-container .buy .qty {
  min-width: 10.25rem;
  border-radius: var(--ui-radius-md, 0.6rem);
  border: var(--ui-border-hairline, 1px solid #d9d2c8);
  background: var(--ui-color-white, #fff);
}

.product-container .buy .qty button,
.product-container .buy .qty input {
  font-family: var(--ui-font-body, "Helvetica Neue", Arial, sans-serif);
}

.product-container .buy .btn {
  min-height: 3.25rem;
  border-radius: var(--ui-radius-md, 0.6rem);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
  border-width: 1px;
}

.product-container .buy #addBtn.btn-primary {
  background: var(--ui-color-ink, #15181d) !important;
  border-color: var(--ui-color-ink, #15181d) !important;
  color: var(--ui-color-white, #fff) !important;
}

.product-container .buy #addBtn.btn-primary:disabled {
  opacity: 1 !important;
  background: #d3d6db !important;
  border-color: #c0c6cf !important;
  color: #15181d !important;
}

.product-container .buy #buyBtn.btn-secondary {
  background: var(--ui-color-white, #fff) !important;
  border-color: #9ea7b3 !important;
  color: var(--ui-color-ink, #15181d) !important;
}

/* Onyx service-first storefront layout */
body {
  background: var(--ui-color-bg, #0b0b0d);
  color: var(--ui-color-ink, #ffffff);
}

.emm-section {
  background: transparent;
}

.emm-card,
.emm-faq details,
.emm-field,
.emm-search-panel__inner,
.emm-account-panel__inner {
  border-width: 0 !important;
  box-shadow: none !important;
}

.emm-container {
  width: min(80rem, calc(100% - (var(--ui-page-pad) * 2)));
}

.emm-header__bar {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  will-change: transform, opacity, background, border-color, box-shadow;
  transition:
    background 320ms var(--ui-ease),
    box-shadow 360ms var(--ui-ease),
    backdrop-filter 320ms var(--ui-ease),
    width 320ms var(--ui-ease),
    margin 320ms var(--ui-ease);
}

.emm-header {
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.emm-body--header-shell-pill,
.emm-header--shell-pill,
.emm-header--shell-pill ~ .emm-drawer {
  --ui-header-pill-fill:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--ui-header-bg, #0b0b0d) var(--ui-storefront-glass-pill-solid-top, 98%), #1b1c22) 0%,
      color-mix(in srgb, var(--ui-header-bg, #0b0b0d) var(--ui-storefront-glass-pill-solid-mid, 95%), #111217) 54%,
      color-mix(in srgb, var(--ui-header-bg, #0b0b0d) var(--ui-storefront-glass-pill-solid-bottom, 92%), #07080b) 100%
    );
  --ui-header-pill-border: var(--ui-storefront-glass-pill-border-solid, rgba(255, 255, 255, 0.08));
  --ui-header-pill-shadow: var(--ui-storefront-glass-pill-shadow-solid, 0 22px 58px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -1px 0 rgba(255, 255, 255, 0.02));
  --ui-header-pill-backdrop: var(--ui-storefront-glass-pill-backdrop, saturate(220%) blur(20px) brightness(1.08));
  --ui-menu-surface-fill: var(--ui-header-pill-fill);
  --ui-menu-surface-border: var(--ui-header-pill-border);
  --ui-menu-surface-shadow: var(--ui-header-pill-shadow);
  --ui-menu-surface-backdrop: var(--ui-header-pill-backdrop);
  --ui-menu-surface-radius: clamp(1.35rem, 1.05rem + 0.9vw, 1.75rem);
}

.emm-header--shell-pill {
  --ui-header-shell-gap: clamp(0.35rem, 0.8vw, 0.6rem);
  --ui-header-shell-radius: var(--ui-menu-surface-radius);
  --ui-header-shell-width: min(
    calc(var(--ui-container-max) + clamp(1.5rem, 3vw, 2.75rem)),
    calc(100% - (var(--ui-page-pad) * 2))
  );
  padding-top: var(--ui-header-shell-gap);
}

.emm-header--shell-pill .emm-header__bar {
  width: var(--ui-header-shell-width);
  margin: 0 auto 0;
  box-sizing: border-box;
  border: 0;
  border-radius: var(--ui-header-shell-radius);
  overflow: visible;
  box-shadow: var(--ui-header-pill-shadow);
  isolation: isolate;
}

.emm-header--shell-pill .emm-header__bar::before,
.emm-header--shell-pill .emm-header__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  clip-path: inset(0 round var(--ui-header-shell-radius));
  pointer-events: none;
}

.emm-header--shell-pill .emm-header__bar::before {
  z-index: 1;
  border: 1px solid var(--ui-header-pill-border);
  opacity: 0;
  transition: opacity 220ms var(--ui-ease);
}

.emm-header--shell-pill .emm-header__bar::after {
  z-index: 0;
  background: var(--ui-header-pill-fill);
  opacity: 0;
  transform: translateY(0) scale(1);
  transform-origin: center top;
  filter: blur(0);
  transition:
    opacity 280ms var(--ui-ease),
    transform 420ms var(--ui-ease),
    filter 420ms var(--ui-ease);
}

.emm-header--shell-pill .emm-header__inner {
  position: relative;
  z-index: 2;
  width: min(var(--ui-container-max), calc(100% - clamp(1rem, 2.1vw, 1.75rem)));
}

.emm-body--header-shell-traditional,
.emm-header--shell-traditional,
.emm-header--shell-traditional ~ .emm-drawer {
  --ui-header-traditional-fill: linear-gradient(
    180deg,
    color-mix(in srgb, var(--ui-header-bg, #0b0b0d) var(--ui-storefront-glass-traditional-top, 96%), transparent) 0%,
    color-mix(in srgb, var(--ui-header-bg, #0b0b0d) var(--ui-storefront-glass-traditional-mid, 84%), transparent) 58%,
    transparent 100%
  );
  --ui-header-traditional-shadow: var(--ui-storefront-glass-traditional-shadow, 0 18px 44px rgba(0, 0, 0, 0.22));
  --ui-header-traditional-backdrop: var(--ui-storefront-glass-traditional-backdrop, saturate(140%) blur(14px));
  --ui-menu-surface-fill:
    var(--ui-header-traditional-fill),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--ui-header-bg, #0b0b0d) var(--ui-storefront-glass-traditional-menu-top, 97%), #17181d) 0%,
      color-mix(in srgb, var(--ui-header-bg, #0b0b0d) var(--ui-storefront-glass-traditional-menu-bottom, 94%), #101115) 100%
    );
  --ui-menu-surface-border: var(--ui-storefront-glass-traditional-border, color-mix(in srgb, var(--ui-header-line, #2a2a2f) 72%, transparent));
  --ui-menu-surface-shadow: var(--ui-header-traditional-shadow);
  --ui-menu-surface-backdrop: var(--ui-header-traditional-backdrop);
  --ui-menu-surface-radius: clamp(1rem, 0.8rem + 0.6vw, 1.25rem);
}

.emm-header--shell-traditional .emm-header__bar {
  background: var(--ui-header-traditional-fill);
  box-shadow: var(--ui-header-traditional-shadow);
  backdrop-filter: var(--ui-header-traditional-backdrop);
  -webkit-backdrop-filter: var(--ui-header-traditional-backdrop);
}

.emm-header.is-ready .emm-header__bar {
  animation: emm-header-bar-enter 520ms var(--ui-ease) both;
}

.emm-header:not(.is-scrolled) .emm-header__bar {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.emm-header--shell-pill.can-float:not(.is-scrolled) .emm-header__bar::after {
  transform: translateY(-0.3rem) scale(0.985);
  filter: blur(12px);
}

.emm-header--shell-pill.is-scrolled .emm-header__bar {
  background: var(--ui-header-pill-fill);
  box-shadow: var(--ui-header-pill-shadow);
}

.emm-header--shell-pill.is-scrolled .emm-header__bar::before {
  opacity: 1;
}

.emm-header--shell-pill.is-scrolled .emm-header__bar::after {
  opacity: 0;
}

.emm-header--shell-pill.is-first-scroll-filling .emm-header__bar::after {
  opacity: 0;
  animation: emm-header-pill-fill-in 620ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both;
}

.emm-header--shell-traditional.is-scrolled .emm-header__bar {
  background: var(--ui-header-traditional-fill);
  box-shadow: var(--ui-header-traditional-shadow);
  backdrop-filter: var(--ui-header-traditional-backdrop);
  -webkit-backdrop-filter: var(--ui-header-traditional-backdrop);
}

@media (hover: hover) and (pointer: fine) {
  .emm-header--shell-pill.can-float:hover .emm-header__bar,
  .emm-header--shell-pill.can-float:focus-within .emm-header__bar {
    background: var(--ui-header-pill-fill);
    box-shadow: var(--ui-header-pill-shadow);
  }

  .emm-header--shell-pill.can-float:hover .emm-header__bar::after,
  .emm-header--shell-pill.can-float:focus-within .emm-header__bar::after {
    opacity: 0;
  }

  .emm-header--shell-pill.can-float:hover .emm-header__bar::before,
  .emm-header--shell-pill.can-float:focus-within .emm-header__bar::before {
    opacity: 0;
  }

  .emm-header--shell-traditional.can-float:hover .emm-header__bar,
  .emm-header--shell-traditional.can-float:focus-within .emm-header__bar {
    background: var(--ui-header-traditional-fill);
    box-shadow: var(--ui-header-traditional-shadow);
    backdrop-filter: var(--ui-header-traditional-backdrop);
    -webkit-backdrop-filter: var(--ui-header-traditional-backdrop);
  }
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .emm-body--header-shell-pill,
  .emm-header--shell-pill,
  .emm-header--shell-pill ~ .emm-drawer {
    --ui-header-pill-fill:
      linear-gradient(
        180deg,
        color-mix(in srgb, #ffffff var(--ui-storefront-glass-pill-liquid-white-top, 11%), transparent) 0%,
        color-mix(in srgb, #ffffff var(--ui-storefront-glass-pill-liquid-white-mid, 4%), transparent) 18%,
        transparent 44%
      ),
      radial-gradient(
        130% 180% at 10% 0%,
        color-mix(in srgb, #ffffff var(--ui-storefront-glass-pill-liquid-radial, 10%), transparent) 0%,
        transparent 48%
      ),
      linear-gradient(
        180deg,
        color-mix(in srgb, var(--ui-header-bg, #0b0b0d) var(--ui-storefront-glass-pill-liquid-tint-top, 10%), transparent) 0%,
        color-mix(in srgb, var(--ui-header-bg, #0b0b0d) var(--ui-storefront-glass-pill-liquid-tint-mid, 16%), transparent) 56%,
        color-mix(in srgb, var(--ui-header-bg, #0b0b0d) var(--ui-storefront-glass-pill-liquid-tint-bottom, 22%), transparent) 100%
      );
    --ui-header-pill-border: var(--ui-storefront-glass-pill-border-liquid, rgba(255, 255, 255, 0.1));
    --ui-header-pill-shadow: var(--ui-storefront-glass-pill-shadow-liquid, 0 16px 42px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(255, 255, 255, 0.03));
    --ui-header-pill-backdrop: var(--ui-storefront-glass-pill-backdrop, saturate(220%) blur(20px) brightness(1.08));
  }

  .emm-header--shell-pill .emm-header__bar::after {
    backdrop-filter: var(--ui-header-pill-backdrop);
    -webkit-backdrop-filter: var(--ui-header-pill-backdrop);
  }

  .emm-header--shell-pill .emm-header__bar {
    backdrop-filter: var(--ui-header-pill-backdrop);
    -webkit-backdrop-filter: var(--ui-header-pill-backdrop);
  }

  .emm-header--shell-pill.is-scrolled .emm-header__bar {
    backdrop-filter: var(--ui-header-pill-backdrop);
    -webkit-backdrop-filter: var(--ui-header-pill-backdrop);
  }

  @media (hover: hover) and (pointer: fine) {
    .emm-header--shell-pill.can-float:hover .emm-header__bar,
    .emm-header--shell-pill.can-float:focus-within .emm-header__bar {
      backdrop-filter: var(--ui-header-pill-backdrop);
      -webkit-backdrop-filter: var(--ui-header-pill-backdrop);
    }
  }
}

@keyframes emm-header-bar-enter {
  from {
    opacity: 0;
    transform: translateY(-0.45rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes emm-header-pill-fill-in {
  from {
    opacity: 0;
    transform: translateY(-0.32rem) scale(0.985);
    filter: blur(12px);
  }
  55% {
    opacity: 0.78;
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.emm-header__inner {
  min-height: 4rem;
}

.emm-header__wordmark,
.emm-header__menu-btn,
.emm-icon-btn,
.emm-nav__submenu-toggle {
  color: var(--ui-header-ink, #ffffff) !important;
}

.emm-header__menu-btn {
  min-width: 0;
  min-height: 0;
  padding: 0.24rem 0.36rem 0.24rem 0.32rem;
  margin-left: 0.2rem;
  border: 0 !important;
  border-radius: 999px;
  background: transparent !important;
  box-shadow: none !important;
  transition: background var(--ui-time-base) var(--ui-ease), box-shadow var(--ui-time-base) var(--ui-ease);
}

.emm-header__menu-btn:hover,
.emm-header__menu-btn:focus-visible {
  border-color: transparent !important;
  background: transparent !important;
}

.emm-header__menu-btn:active,
.emm-header__menu-btn[aria-expanded="true"] {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22) !important;
}

.emm-header__wordmark img {
  height: 1.1rem;
  max-height: 1.1rem;
}

.emm-nav__link {
  color: var(--ui-header-ink-soft, #d4d4d8);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.01em !important;
  padding-inline: 0.6rem;
}

.emm-nav__link:hover,
.emm-nav__link.is-active {
  color: var(--ui-header-ink, #ffffff);
}

.emm-search-panel__inner {
  background: var(--ui-menu-surface-fill, var(--ui-header-pill-fill)) !important;
  border-color: var(--ui-menu-surface-border, var(--ui-header-line, #2a2a2f)) !important;
  box-shadow: var(--ui-menu-surface-shadow, 0 24px 60px rgba(0, 0, 0, 0.28)) !important;
  backdrop-filter: var(--ui-menu-surface-backdrop, none) !important;
  -webkit-backdrop-filter: var(--ui-menu-surface-backdrop, none) !important;
  border-radius: var(--ui-menu-surface-radius, clamp(1rem, 0.8rem + 0.6vw, 1.25rem));
  isolation: isolate;
}

.emm-drawer__panel {
  --ui-drawer-panel-gap: var(--ui-space-4);
  width: min(24rem, calc(100vw - (var(--ui-page-pad) * 2)));
  max-width: calc(100vw - (var(--ui-page-pad) * 2));
  height: auto;
  max-height: min(75svh, calc(100svh - var(--ui-header-bottom, 4.6rem) - var(--ui-drawer-panel-gap) - var(--ui-page-pad)));
  margin: calc(var(--ui-header-bottom, 4.6rem) + var(--ui-drawer-panel-gap)) var(--ui-page-pad) var(--ui-page-pad);
  border: var(--ui-border-hairline) !important;
  border-radius: var(--ui-menu-surface-radius, clamp(1rem, 0.8rem + 0.6vw, 1.35rem));
  overflow: hidden;
  box-sizing: border-box;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background: var(--ui-menu-surface-fill) !important;
  border-color: var(--ui-menu-surface-border, var(--ui-header-line, #2a2a2f)) !important;
  box-shadow: var(--ui-menu-surface-shadow, 0 28px 72px rgba(0, 0, 0, 0.34)) !important;
  backdrop-filter: var(--ui-menu-surface-backdrop, none);
  -webkit-backdrop-filter: var(--ui-menu-surface-backdrop, none);
}

.emm-drawer__head--minimal {
  --ui-drawer-close-size: 2.6rem;
  justify-content: flex-start;
  align-items: center;
  min-height: 3rem;
  padding: 0.45rem var(--ui-space-4);
  border-bottom: 0;
  background: transparent !important;
  position: relative;
  z-index: 4;
}

.emm-drawer__search-pin,
.emm-drawer__account-panel {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
}

.emm-drawer__head-social {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  padding-right: calc(var(--ui-drawer-close-size) + var(--ui-space-4) + 0.35rem);
  -webkit-mask-image: none;
  mask-image: none;
}

.emm-drawer__head--minimal .emm-drawer__close {
  position: absolute;
  top: 50%;
  right: var(--ui-space-4);
  transform: translateY(-50%);
  z-index: 3;
  width: auto;
  height: auto;
  padding: 0.1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1.4rem;
}

.emm-drawer__body {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.emm-drawer__scroll {
  min-height: 0;
  padding-top: var(--ui-space-3);
}

.emm-drawer__social {
  border-top: 0;
  padding-top: 0;
  gap: var(--ui-space-2);
}

.emm-drawer__social-list {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: var(--ui-space-2);
  padding-bottom: 0.2rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.emm-drawer__social-list::-webkit-scrollbar {
  display: none;
}

.emm-drawer__social-list li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.emm-drawer__social-list--head {
  gap: 0.5rem;
  padding: 0;
}

.emm-drawer__social-list--head .emm-drawer__social-link {
  min-width: 2.1rem;
  min-height: 2.1rem;
  justify-content: center;
  gap: 0;
  padding: 0.18rem;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.emm-drawer__social-list--head .emm-drawer__social-link span {
  display: none;
}

.emm-drawer__social-list--head .emm-drawer__social-icon {
  width: 1.4rem;
  min-width: 1.4rem;
  font-size: 1.29rem;
}

.emm-drawer__wordmark img {
  height: 1.25rem;
  max-height: 1.25rem;
}

.emm-nav__submenu,
.emm-nav__submenu--mega {
  background: transparent !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.emm-nav__submenu--mega {
  top: var(--ui-header-bar-bottom, var(--ui-header-bottom, 4.6rem));
  --ui-mega-ink-soft:
    color-mix(in srgb, var(--ui-header-ink, #ffffff) 72%, var(--ui-header-ink-soft, #d4d4d8));
  --ui-mega-ink-muted:
    color-mix(in srgb, var(--ui-header-ink, #ffffff) 54%, var(--ui-header-ink-soft, #d4d4d8));
  --ui-mega-surface-fill:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--ui-header-bg, #0b0b0d) 18%, transparent) 0%,
      color-mix(in srgb, var(--ui-header-bg, #0b0b0d) 26%, transparent) 100%
    ),
    var(--ui-menu-surface-fill, var(--ui-header-pill-fill));
}

.emm-nav__submenu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.emm-nav__mega-inner {
  margin: 0;
  padding: var(--ui-space-5) clamp(1rem, 2.2vw, 1.5rem) var(--ui-space-6);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  max-height: calc(100dvh - var(--ui-header-bar-bottom, var(--ui-header-bottom, 4.6rem)) - var(--ui-page-pad));
  overflow: auto;
  overscroll-behavior: contain;
}

@media (min-width: 62rem) {
  .emm-nav__submenu--mega {
    top: calc(var(--ui-header-bottom, var(--ui-header-bar-bottom, 4.6rem)) + var(--ui-search-start-gap, var(--ui-space-4)));
    left: var(--ui-header-bar-left, var(--ui-page-pad));
    right: auto;
    width: min(
      var(--ui-header-bar-width, calc(100vw - (var(--ui-page-pad) * 2))),
      calc(100vw - (var(--ui-page-pad) * 2))
    );
    box-sizing: border-box;
    border: 1px solid var(--ui-menu-surface-border, var(--ui-header-line, #2a2a2f)) !important;
    border-radius: var(--ui-menu-surface-radius, var(--ui-header-shell-radius, clamp(1rem, 0.8rem + 0.6vw, 1.25rem)));
    background: var(--ui-mega-surface-fill) !important;
    box-shadow: var(--ui-menu-surface-shadow, var(--ui-header-pill-shadow)) !important;
    backdrop-filter: var(--ui-menu-surface-backdrop, none) !important;
    -webkit-backdrop-filter: var(--ui-menu-surface-backdrop, none) !important;
    overflow: hidden !important;
    isolation: isolate;
  }

  .emm-nav__submenu--mega .emm-nav__mega-rail {
    border-right-color: color-mix(in srgb, var(--ui-header-ink, #ffffff) 12%, transparent);
  }

  .emm-nav__submenu--mega .emm-nav__mega-recent {
    border-left-color: color-mix(in srgb, var(--ui-header-ink, #ffffff) 12%, transparent);
  }

  .emm-nav__submenu--mega .emm-nav__mega-kicker,
  .emm-nav__submenu--mega .emm-nav__mega-recent-link,
  .emm-nav__submenu--mega .emm-nav__mega-recent-copy em {
    color: var(--ui-mega-ink-muted) !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
  }

  .emm-nav__submenu--mega .emm-nav__mega-rail-link,
  .emm-nav__submenu--mega .emm-nav__submenu-link {
    color: var(--ui-mega-ink-soft) !important;
    font-weight: 550;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
  }

  .emm-nav__submenu--mega .emm-nav__mega-title-link,
  .emm-nav__submenu--mega .emm-nav__mega-recent-copy strong {
    color: var(--ui-header-ink, #ffffff) !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.24);
  }

  .emm-nav__submenu--mega .emm-nav__mega-title-link {
    font-size: clamp(1.02rem, 0.94rem + 0.24vw, 1.14rem);
    font-weight: 600;
  }

  .emm-nav__submenu--mega .emm-nav__submenu-link {
    line-height: 1.32;
  }

  .emm-nav__submenu--mega::before,
  .emm-nav__submenu--mega::after {
    content: none;
  }

  .emm-nav__submenu--mega .emm-nav__mega-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    max-width: none;
    padding: var(--ui-space-5) clamp(1rem, 2.2vw, 1.5rem) var(--ui-space-6) !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    max-height: calc(
      100dvh
      - var(--ui-header-bottom, var(--ui-header-bar-bottom, 4.6rem))
      - var(--ui-search-start-gap, var(--ui-space-4))
      - var(--ui-search-end-gap, var(--ui-space-5))
    );
  }

  .emm-nav__submenu--mega .emm-nav__mega-inner::before,
  .emm-nav__submenu--mega .emm-nav__mega-inner::after {
    content: none;
  }
}

.emm-search-panel {
  background: transparent !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  pointer-events: none !important;
}

.emm-search-panel__inner {
  margin-block: var(--ui-space-4) var(--ui-space-5);
  padding: var(--ui-space-5) clamp(1rem, 2.2vw, 1.5rem) var(--ui-space-6) !important;
  position: relative;
  border: 1px solid var(--ui-menu-surface-border, var(--ui-header-line, #2a2a2f)) !important;
  max-height: calc(var(--ui-search-max-height) - (var(--ui-space-4) + var(--ui-space-5)));
  overflow: auto;
  overscroll-behavior: contain;
  pointer-events: auto !important;
}

.emm-nav__mega-kicker,
.emm-nav__mega-rail-link,
.emm-nav__mega-title-link,
.emm-nav__submenu-link,
.emm-nav__mega-recent-link,
.emm-nav__mega-recent-copy em,
.emm-search-panel__links a,
.emm-drawer__links a {
  color: var(--ui-header-ink-soft, #d4d4d8) !important;
}

.emm-nav__mega-rail-link:hover,
.emm-nav__mega-rail-link.is-active,
.emm-nav__mega-title-link:hover,
.emm-nav__submenu-link:hover,
.emm-nav__submenu-link.is-active,
.emm-nav__mega-recent-link:hover,
.emm-nav__mega-recent-copy strong {
  color: var(--ui-header-ink, #ffffff) !important;
}

.emm-nav__mega-recent-media {
  border: 1px solid color-mix(in srgb, var(--ui-header-line, #2a2a2f) 85%, transparent);
}

.emm-header__cta {
  min-height: 1.9rem !important;
  padding: 0.32rem 0.82rem !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  border-radius: 999px;
}

@media (max-width: 61.99rem) {
  .emm-header__cta {
    display: none !important;
  }

  .emm-header__inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.35rem;
  }

  .emm-header__left {
    grid-column: 1;
    justify-self: start;
  }

  .emm-header__wordmark {
    grid-column: 2;
    justify-self: center;
    margin-inline: auto;
  }

  .emm-header__right {
    grid-column: 3;
    justify-self: end;
  }
}

.emm-hero {
  border-bottom: 0;
  padding-top: 0.25rem;
}

.emm-body--home #main-content > .emm-hero--style-cinematic:first-child {
  margin-top: calc(-1 * var(--ui-header-bottom, 4.7rem));
  padding-top: 0;
}

.emm-body--home #main-content > .emm-hero:first-child.emm-hero--seamless-banner {
  --ui-hero-seamless-breakout: clamp(3.5rem, 7vw, 7rem);
  --ui-hero-seamless-side-fade: clamp(1rem, 2.2vw, 2rem);
}

.emm-body--home #main-content > .emm-hero--style-cinematic:first-child .emm-hero__shell {
  min-height: max(
    34rem,
    min(
      calc(
        clamp(
          420px,
          calc((min(var(--ui-container-max), calc(100vw - (var(--ui-page-pad) * 2))) * 9) / 16),
          900px
        ) + var(--ui-header-bottom, 4.7rem)
      ),
      100svh
    )
  );
}

.emm-body--home #main-content > .emm-hero--style-cinematic:first-child .emm-hero__inner {
  padding-inline: 0;
}

.emm-hero__shell {
  position: relative;
  display: grid;
  border-radius: 1.35rem;
  overflow: hidden;
  background: #111114;
  border: 0;
  box-shadow: none;
}

.emm-hero.emm-hero--seamless-banner .emm-hero__shell {
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.emm-hero__inner {
  min-height: inherit;
  height: 100%;
  display: grid;
  align-items: stretch;
  justify-items: start;
  text-align: left;
  padding: clamp(1.2rem, 3vw, 2rem);
  box-sizing: border-box;
}

.emm-hero__content {
  align-self: end;
  justify-self: start;
  margin-inline: 0;
  max-width: min(54rem, calc(100% - 15rem));
  gap: 0.65rem;
  text-align: left;
}

.emm-hero__bottom-gradient {
  position: absolute;
  inset: auto 0 0 0;
  height: clamp(32%, 40vw, 56%);
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--ui-color-bg, #0b0b0d) 88%, transparent) 100%
  );
  pointer-events: none;
}

.emm-hero.emm-hero--position-top .emm-hero__content {
  align-self: start;
}

.emm-hero.emm-hero--position-center .emm-hero__content {
  align-self: center;
}

.emm-hero.emm-hero--position-bottom .emm-hero__content {
  align-self: end;
}

.emm-hero.emm-hero--align-desktop-left .emm-hero__content {
  justify-self: start;
  margin-inline: 0;
  text-align: left;
}

.emm-hero.emm-hero--align-desktop-center .emm-hero__content {
  justify-self: center;
  margin-inline: auto;
  text-align: center;
}

.emm-hero.emm-hero--align-desktop-right .emm-hero__content {
  justify-self: end;
  margin-inline: 0;
  text-align: right;
}

.emm-hero .emm-kicker {
  letter-spacing: 0;
  font-size: clamp(0.78rem, 1.4vw, 0.95rem);
  opacity: 0.95;
}

.emm-hero .emm-title {
  font-family: var(--ui-font-body);
  font-size: clamp(2.35rem, 4.15vw, 4.25rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.32);
}

.emm-hero .emm-copy {
  max-width: 34rem;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  font-weight: 450;
  line-height: 1.45;
  letter-spacing: 0.01em;
  opacity: 0.9;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.emm-hero--style-cinematic .emm-hero__inner {
  padding: clamp(2rem, 4vw, 3.75rem);
}

.emm-hero--style-cinematic .emm-hero__bottom-gradient {
  height: 46%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(5, 7, 9, 0.24) 42%,
    var(--ui-color-bg, #0b0b0d) 100%
  );
}

.emm-hero--style-cinematic .emm-hero__seamless-fades {
  display: none;
}

@media (min-width: 48rem) {
  .emm-body--home #main-content > .emm-hero--style-cinematic:first-child.emm-hero--seamless-banner .emm-hero__media {
    width: min(1800px, 100vw);
  }

  .emm-body--home #main-content > .emm-hero--style-cinematic:first-child .emm-hero__inner {
    width: min(80rem, calc(100% - (var(--ui-page-pad) * 2)));
    margin-inline: auto;
  }

  .emm-body--home #main-content > .emm-hero--style-cinematic:first-child .emm-hero__controls {
    right: max(var(--ui-page-pad), calc((100vw - 80rem) / 2));
  }
}

.emm-hero__meta {
  display: flex;
  margin-top: 0.35rem;
}

.emm-hero__actions {
  display: flex;
  margin-top: 0.55rem;
}

.emm-hero--style-editorial,
.emm-hero--style-split {
  --ui-hero-smart-color: var(--ui-color-ink);
}

.emm-hero--style-editorial .emm-hero__shell {
  min-height: 0;
  grid-template-rows: minmax(20rem, auto) auto;
  background: var(--ui-color-paper);
}

.emm-hero--style-editorial .emm-hero__media {
  position: relative;
  grid-row: 1;
  aspect-ratio: 16 / 9;
  min-height: 20rem;
}

.emm-hero--style-editorial.emm-hero--media-wide .emm-hero__media {
  aspect-ratio: 21 / 9;
}

.emm-hero--style-editorial.emm-hero--media-portrait .emm-hero__media {
  aspect-ratio: 4 / 5;
  max-height: min(72rem, 78svh);
}

.emm-hero--style-editorial .emm-hero__shade,
.emm-hero--style-split .emm-hero__shade,
.emm-hero--style-editorial .emm-hero__bottom-gradient,
.emm-hero--style-split .emm-hero__bottom-gradient {
  display: none;
}

.emm-hero--style-editorial .emm-hero__inner {
  grid-row: 2;
  min-height: 0;
  height: auto;
  box-sizing: border-box;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--ui-color-paper);
}

.emm-hero--style-editorial .emm-hero__content {
  max-width: min(54rem, 100%);
}

.emm-hero--style-editorial .emm-title,
.emm-hero--style-split .emm-title {
  font-family: var(--ui-font-display);
  font-size: clamp(2.35rem, 5.2vw, 5.8rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.emm-hero--style-split .emm-title {
  font-size: clamp(2.35rem, 4.4vw, 4.4rem);
}

.emm-hero--style-editorial .emm-copy,
.emm-hero--style-split .emm-copy {
  max-width: 42rem;
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  line-height: 1.55;
}

.emm-hero--style-split .emm-hero__shell {
  min-height: clamp(31rem, 56vw, 48rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  background: var(--ui-color-paper);
}

.emm-hero--style-split.emm-hero--media-wide .emm-hero__shell {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.emm-hero--style-split.emm-hero--media-portrait .emm-hero__shell {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.emm-hero--style-split .emm-hero__media,
.emm-hero--style-split .emm-hero__inner {
  position: relative;
  grid-row: 1;
  min-width: 0;
}

.emm-hero--style-split .emm-hero__media {
  grid-column: 2;
}

.emm-hero--style-split .emm-hero__inner {
  grid-column: 1;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  padding: clamp(2rem, 5vw, 5rem);
  background: var(--ui-color-paper);
}

.emm-hero--style-split.emm-hero--media-side-left .emm-hero__media {
  grid-column: 1;
}

.emm-hero--style-split.emm-hero--media-side-left .emm-hero__inner {
  grid-column: 2;
}

.emm-hero--style-split:not(.emm-hero--has-media) .emm-hero__inner {
  grid-column: 1 / -1;
}

.emm-hero--style-split:not(.emm-hero--has-media) .emm-hero__content {
  max-width: 54rem;
}

@media (max-width: 47.99rem) {
  .emm-body--home #main-content > .emm-hero:first-child.emm-hero--seamless-banner {
    --ui-hero-seamless-breakout: 0;
    --ui-hero-seamless-side-fade: 0;
  }

  .emm-body--home #main-content > .emm-hero:first-child.emm-hero--seamless-banner > .emm-container {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }

  .emm-body--home #main-content > .emm-hero:first-child.emm-hero--seamless-banner .emm-hero__shell {
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .emm-body--home #main-content > .emm-hero--style-cinematic:first-child .emm-hero__shell {
    min-height: calc(clamp(390px, 112vw, 440px) + var(--ui-header-bottom, 3.65rem));
  }

  .emm-body--home #main-content > .emm-hero:first-child.emm-hero--seamless-banner .emm-hero__inner {
    padding-inline: 0;
  }

  .emm-hero--style-cinematic .emm-hero__shell {
    aspect-ratio: 3 / 4;
    min-height: var(--ui-hero-height-mobile, 200px);
  }

  .emm-hero--style-editorial.emm-hero--has-media .emm-hero__shell,
  .emm-hero--style-split.emm-hero--has-media .emm-hero__shell,
  .emm-hero--style-editorial:not(.emm-hero--has-media) .emm-hero__shell,
  .emm-hero--style-split:not(.emm-hero--has-media) .emm-hero__shell {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .emm-hero--style-cinematic.emm-hero--has-actions .emm-hero__shell,
  .emm-hero--style-cinematic.emm-hero--has-meta .emm-hero__shell {
    min-height: clamp(34rem, 150vw, 42rem);
    aspect-ratio: auto;
  }

  .emm-hero--style-editorial .emm-hero__media,
  .emm-hero--style-split .emm-hero__media {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    min-height: 15rem;
    aspect-ratio: 4 / 3;
    max-height: 68svh;
  }

  .emm-hero--style-editorial.emm-hero--media-wide .emm-hero__media,
  .emm-hero--style-split.emm-hero--media-wide .emm-hero__media {
    aspect-ratio: 16 / 9;
  }

  .emm-hero--style-editorial.emm-hero--media-portrait .emm-hero__media,
  .emm-hero--style-split.emm-hero--media-portrait .emm-hero__media {
    aspect-ratio: 4 / 5;
  }

  .emm-hero--style-editorial .emm-hero__inner,
  .emm-hero--style-split .emm-hero__inner,
  .emm-hero--style-split.emm-hero--media-side-left .emm-hero__inner {
    grid-column: 1;
    grid-row: 2;
    padding: clamp(1.6rem, 7vw, 2.6rem);
  }

  .emm-hero--style-editorial .emm-title,
  .emm-hero--style-split .emm-title {
    font-size: clamp(2.2rem, 12vw, 4.25rem);
  }

  .emm-hero__bottom-gradient {
    height: clamp(46%, 70vw, 74%);
    background: linear-gradient(
      180deg,
      transparent 0%,
      color-mix(in srgb, var(--ui-color-bg, #0b0b0d) 94%, transparent) 100%
    );
  }

  .emm-hero--style-cinematic .emm-hero__content {
    align-self: end;
    justify-self: start;
    width: 100%;
    max-width: calc(100% - 1rem);
    gap: 0.35rem;
    padding-bottom: 1rem;
    text-align: left;
  }

  .emm-hero--style-cinematic.emm-hero--position-bottom .emm-hero__content,
  .emm-hero--style-cinematic.emm-hero--position-center .emm-hero__content,
  .emm-hero--style-cinematic.emm-hero--position-top .emm-hero__content {
    align-self: end;
  }

  .emm-hero--style-cinematic .emm-title {
    width: 100%;
    font-size: clamp(1.15rem, 6.25vw, 1.65rem);
    line-height: 1;
    letter-spacing: -0.045em;
    white-space: nowrap;
  }

  .emm-hero--style-cinematic .emm-copy {
    max-width: 19rem;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .emm-hero--style-cinematic .emm-hero__inner {
    align-items: end;
    padding: calc(var(--ui-header-bottom, 3.65rem) + 0.75rem) 1rem 1rem;
  }

  .emm-hero--style-cinematic .emm-hero__bg img {
    object-position: center 38%;
  }

  .emm-hero--style-cinematic .emm-hero__bottom-gradient {
    display: block;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(5, 7, 9, 0.24) 42%,
      var(--ui-color-bg, #0b0b0d) 100%
    );
  }

  .emm-hero--style-cinematic .emm-hero__seamless-fades {
    display: none;
  }

  .emm-hero.emm-hero--align-mobile-left .emm-hero__content {
    justify-self: start;
    margin-inline: 0;
    text-align: left;
  }

  .emm-hero.emm-hero--align-mobile-center .emm-hero__content {
    justify-self: center;
    margin-inline: auto;
    text-align: center;
  }

  .emm-hero.emm-hero--align-mobile-right .emm-hero__content {
    justify-self: end;
    margin-inline: 0;
    text-align: right;
  }
}

.emm-products {
  padding-top: clamp(1.4rem, 3vw, 2.6rem);
}

.emm-product-head {
  margin-bottom: 1rem;
}

.emm-product-head .emm-title {
  font-family: var(--ui-font-body);
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  font-weight: 800;
  color: #ffffff;
}

.emm-product-head .emm-copy {
  color: #d4d4d8;
}

.emm-products-grid {
  gap: 1rem;
}

.emm-title {
  font-size: clamp(1.22rem, 2.35vw, 1.95rem);
  line-height: 1.12;
}

.emm-title--sm {
  font-size: clamp(1.04rem, 1.7vw, 1.34rem);
}

.emm-copy {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.emm-products--overlay-cards .emm-product-item--service {
  gap: 0;
}

.emm-services-grid-v2 {
  --ui-service-title-scale-desktop: 0.92;
  --ui-service-title-scale-mobile: 1;
}

.emm-services-grid-v2 .emm-services-grid-layout {
  display: grid;
  gap: 1rem;
}

.emm-services-grid-v2 .emm-services-grid-primary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.emm-services-grid-v2 .emm-services-grid-secondary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.emm-services-grid-v2 .emm-services-grid-card {
  min-width: 0;
}

.emm-services-grid-v2 .emm-services-grid-card .emm-product-card {
  height: 100%;
}

.emm-services-grid-v2 .emm-services-grid-card .emm-copy {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.emm-services-grid-v2 .emm-services-grid-card.is-primary .emm-product-media {
  aspect-ratio: 19 / 10 !important;
  min-height: clamp(8.75rem, 18vw, 12.75rem);
}

.emm-services-grid-v2.emm-products--overlay-cards .emm-services-grid-card.is-primary .emm-service-card__content {
  padding: 1rem 1.05rem;
}

.emm-services-grid-v2.emm-products--overlay-cards .emm-services-grid-card.is-primary .emm-product-title {
  font-size: clamp(
    calc(1.15rem * var(--ui-service-title-scale-desktop, 0.92)),
    calc(1.7vw * var(--ui-service-title-scale-desktop, 0.92)),
    calc(1.55rem * var(--ui-service-title-scale-desktop, 0.92))
  );
}

.emm-services-grid-v2.emm-products--overlay-cards .emm-services-grid-card.is-secondary .emm-product-title {
  font-size: clamp(
    calc(1rem * var(--ui-service-title-scale-desktop, 0.92)),
    calc(1.45vw * var(--ui-service-title-scale-desktop, 0.92)),
    calc(1.3rem * var(--ui-service-title-scale-desktop, 0.92))
  );
}

.emm-products.emm-products--service-grayscale .emm-product-media img {
  filter: grayscale(1);
}

.emm-products.emm-products--service-grayscale-hover-color .emm-product-media img {
  filter: grayscale(1);
  transition: filter 220ms ease;
}

@media (hover: hover) {
  .emm-products.emm-products--service-grayscale-hover-color .emm-product-card:hover .emm-product-media img,
  .emm-products.emm-products--service-grayscale-hover-color .emm-product-card:focus-visible .emm-product-media img {
    filter: grayscale(0);
  }
}

/* Services directory */
.services-directory-page {
  padding: 1.9rem 0 3.2rem;
}

.services-directory-head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.services-directory-head-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 1.5rem;
}

.services-directory-title-wrap {
  margin-top: 0.5rem;
}

.services-directory-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 auto;
  margin-bottom: 0.25rem;
}

.services-directory-search .emm-field {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2.5rem;
}

.services-directory-search .emm-btn {
  flex: 0 0 auto;
  min-height: 2.5rem;
}

.services-directory-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.25vw, 1.9rem);
}

.services-directory-subtitle {
  margin: 0;
  color: color-mix(in srgb, var(--ui-color-ink, #fff) 72%, #8f98aa);
}

.services-directory-head--with-image {
  grid-template-columns: minmax(0, 1fr) clamp(210px, 28vw, 360px);
  align-items: stretch;
  gap: 0.85rem;
}

.services-directory-hero-media {
  margin: 0;
  border-radius: 0.85rem;
  overflow: hidden;
  min-height: 150px;
  background: #151516;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.services-directory-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.services-directory-controls {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 0.95rem;
}

.services-category-pills {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.4rem;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.services-category-pills .emm-btn {
  flex: 0 0 auto;
  min-height: 2rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.76rem;
  border-radius: 999px;
}

.services-category-pills .emm-btn.is-active {
  background: #ffffff;
  color: #050507;
  border-color: #ffffff;
}

.services-mobile-view-toggle {
  display: none;
  gap: 0.4rem;
}

.services-mobile-view-toggle .emm-btn {
  min-height: 1.95rem;
  padding: 0.2rem 0.58rem;
  font-size: 0.72rem;
  border-radius: 999px;
}

.services-mobile-view-toggle .emm-btn.is-active {
  border-color: #ffffff;
  color: #ffffff;
}

.services-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.services-directory-card {
  border: 0 !important;
  border-radius: 0.95rem !important;
  background: #151516 !important;
  overflow: hidden;
}

.services-directory-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.services-directory-media {
  aspect-ratio: 1 / 1;
  background: #151516;
}

.services-directory-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-directory-body {
  padding: 0.72rem;
  border-top: 0;
}

.services-directory-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.66rem;
  color: color-mix(in srgb, #ffffff 74%, #6f7890);
}

.services-directory-card-title {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.2;
  font-weight: 700;
}

.services-directory-summary {
  margin: 0.4rem 0 0;
  color: color-mix(in srgb, #ffffff 70%, #667085);
  font-size: 0.8rem;
  line-height: 1.35;
}

.services-empty {
  padding: 1.2rem;
  background: #151516 !important;
}

/* Instagram gallery section */
.emm-instagram-gallery__showcase {
  display: grid;
  gap: 0.85rem;
  overflow: hidden;
  position: relative;
}

.emm-instagram-gallery__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.emm-instagram-gallery__header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.emm-instagram-gallery__header-action {
  margin: 0;
}

.emm-instagram-gallery__showcase::before,
.emm-instagram-gallery__showcase::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2rem, 6vw, 5.5rem);
  z-index: 2;
  pointer-events: none;
}

.emm-instagram-gallery__showcase::before {
  left: 0;
  background: linear-gradient(90deg, rgba(11, 13, 18, 1) 0%, rgba(11, 13, 18, 0) 100%);
}

.emm-instagram-gallery__showcase::after {
  right: 0;
  background: linear-gradient(270deg, rgba(11, 13, 18, 1) 0%, rgba(11, 13, 18, 0) 100%);
}

.emm-instagram-gallery__lane {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  min-width: 100%;
  animation: emmInstagramLaneForward 168s linear infinite;
}

.emm-instagram-gallery__lane--reverse {
  animation-name: emmInstagramLaneReverse;
  animation-duration: 186s;
  flex-direction: row-reverse;
  justify-content: flex-end;
  transform: translate3d(0, 0, 0);
}

.emm-instagram-gallery__lane--mobile-only {
  display: none;
}

.emm-instagram-gallery__track {
  display: flex;
  gap: 0.85rem;
  flex: none;
}

.emm-instagram-gallery__lane--reverse .emm-instagram-gallery__track {
  flex-direction: row-reverse;
}

.emm-instagram-gallery__item {
  aspect-ratio: 1 / 1;
  background: #141720;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex: 0 0 clamp(12rem, 18vw, 18rem);
  width: clamp(12rem, 18vw, 18rem);
  border-radius: 1rem;
}

.emm-instagram-gallery__lane--reverse .emm-instagram-gallery__item {
  flex-basis: clamp(6rem, 9vw, 9rem);
  width: clamp(6rem, 9vw, 9rem);
}

.emm-instagram-gallery__lane--reverse .emm-instagram-gallery__overlay-badge {
  display: none;
}

.emm-instagram-gallery__item--embed {
  aspect-ratio: auto;
  background: transparent;
}

.emm-instagram-gallery__link {
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.emm-instagram-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 280ms ease, filter 280ms ease;
}

.emm-instagram-gallery__item:hover img,
.emm-instagram-gallery__item:focus-within img {
  transform: scale(1.03);
  filter: saturate(1.03);
}

.emm-instagram-gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.9rem;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.18) 0%, rgba(5, 7, 10, 0.08) 35%, rgba(5, 7, 10, 0.68) 100%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.emm-instagram-gallery__item:hover .emm-instagram-gallery__overlay,
.emm-instagram-gallery__item:focus-within .emm-instagram-gallery__overlay {
  opacity: 1;
}

.emm-instagram-gallery__overlay-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(8, 10, 14, 0.68);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.emm-instagram-gallery__overlay-badge svg {
  width: 1rem;
  height: 1rem;
}

.emm-instagram-gallery__overlay-copy {
  display: grid;
  gap: 0.22rem;
  max-width: 90%;
}

.emm-instagram-gallery__overlay-copy strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.emm-instagram-gallery__cta--mobile {
  display: none;
}

.emm-instagram-gallery__overlay-copy span {
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.emm-instagram-gallery__embed {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100%;
}

.emm-instagram-gallery__embed > * {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

@keyframes emmInstagramLaneForward {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-50% - 0.425rem), 0, 0); }
}

@keyframes emmInstagramLaneReverse {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(50% + 0.425rem), 0, 0); }
}

.emm-instagram-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.emm-instagram-lightbox.is-open {
  display: flex;
}

.emm-instagram-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 7, 0.84);
  backdrop-filter: blur(8px);
}

.emm-instagram-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1220px, 96vw);
  max-height: min(90vh, 920px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1016;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.45);
}

.emm-instagram-lightbox__media {
  min-height: 26rem;
  background: #090b10;
}

.emm-instagram-lightbox__media img {
  width: 100%;
  height: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.emm-instagram-lightbox__panel {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 1.25rem 1.15rem 1.15rem;
  background: linear-gradient(180deg, rgba(16, 20, 28, 0.98) 0%, rgba(11, 14, 20, 0.98) 100%);
  max-height: 90vh;
  overflow-y: auto;
}

.emm-instagram-lightbox__meta {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.56);
}

.emm-instagram-lightbox__caption {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.emm-instagram-lightbox__actions {
  margin: auto 0 0;
}

.emm-instagram-lightbox__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(6, 9, 13, 0.74);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}


/* Gallery page */
.gallery-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}

.gallery-card--category {
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.gallery-category-copy {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
}

.gallery-preview-head {
  margin: 0.6rem 0 0.75rem;
}

.gallery-preview-head .emm-copy {
  margin: 0.25rem 0 0;
}

.gallery-category-header {
  margin-bottom: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    #101218;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.24);
}

.gallery-category-header img {
  width: 100%;
  display: block;
  min-height: 280px;
  max-height: 360px;
  object-fit: cover;
}

.gallery-social-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 38%),
    #10131a;
  margin-bottom: 1.1rem;
}

.gallery-social-strip__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.72rem;
  margin-bottom: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-social-strip__copy strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.22rem;
}

.gallery-social-strip__copy p {
  margin: 0;
  max-width: 58ch;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.gallery-social-strip__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.gallery-social-strip__links .emm-btn {
  min-height: 38px;
  padding: 0 0.9rem;
}

.gallery-empty-state {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  padding: 2.5rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.06), transparent 42%),
    #0f1117;
  text-align: center;
  margin-top: 0.35rem;
}

.gallery-empty-state__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-empty-state .emm-title {
  margin: 0;
}

.gallery-empty-state .emm-copy {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.74);
}

.gallery-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.gallery-job-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.gallery-job-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.22rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.76rem;
  line-height: 1.25;
}

.gallery-job-pill:hover {
  border-color: rgba(255, 255, 255, 0.42);
}

.gallery-job-pill.is-active {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.gallery-card {
  background: #111318;
  overflow: hidden;
}

.emm-simple-gallery__head {
  margin-bottom: 0.9rem;
}

.emm-simple-gallery__card {
  border-radius: 1rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
}

.emm-simple-gallery__card img {
  min-height: 220px;
}

.gallery-card__link {
  display: block;
  position: relative;
  color: inherit;
  text-decoration: none;
}

.gallery-card__link--lightbox {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  display: block;
}

[data-gallery-protect] {
  -webkit-user-drag: none;
  user-select: none;
}

.gallery-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 0.1rem;
  padding: 0.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
}

.gallery-card__overlay strong {
  font-size: 0.82rem;
  line-height: 1.2;
}

.gallery-card--category .gallery-card__overlay strong {
  font-size: 0.7rem;
}

.gallery-card__overlay small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.8);
}

.gallery-cta {
  margin: 0.35rem 0 0;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-items: center;
  padding: 1rem;
}

.gallery-lightbox.is-open {
  display: grid;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
}

.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 96vw);
  max-height: 90vh;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
}

.gallery-lightbox__dialog img {
  width: auto;
  max-width: 100%;
  max-height: calc(90vh - 3.8rem);
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0f1117;
}

.gallery-lightbox__close {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox__caption {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}

body.gallery-lightbox-open {
  overflow: hidden;
}

@media (max-width: 63.99rem) {
  .services-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .gallery-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 56rem) {
  .emm-instagram-gallery__lane--mobile-only {
    display: flex;
  }

  .emm-instagram-gallery__header {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .emm-instagram-gallery__header-actions {
    justify-content: flex-start;
  }

  .emm-instagram-gallery__showcase::before,
  .emm-instagram-gallery__showcase::after {
    width: clamp(1.25rem, 5vw, 2.5rem);
  }

  .emm-instagram-gallery__lane {
    gap: 0.65rem;
    animation-duration: 168s;
  }

  .emm-instagram-gallery__lane--reverse {
    animation-duration: 182s;
  }

  .emm-instagram-gallery__track {
    gap: 0.65rem;
  }

  .emm-instagram-gallery__item {
    flex-basis: calc((100vw - 2.6rem) / 3);
    width: calc((100vw - 2.6rem) / 3);
  }

  .emm-instagram-gallery__lane--reverse .emm-instagram-gallery__item {
    flex-basis: calc((100vw - 2.6rem) / 3);
    width: calc((100vw - 2.6rem) / 3);
  }

  .emm-instagram-lightbox__dialog {
    width: min(96vw, 42rem);
    grid-template-columns: minmax(0, 1fr);
    max-height: 92vh;
  }

  .emm-instagram-lightbox__media {
    min-height: 18rem;
    max-height: 55vh;
  }

  .emm-instagram-lightbox__panel {
    max-height: 37vh;
    padding: 1rem 0.95rem 1.05rem;
  }

  .emm-instagram-lightbox__caption {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .emm-instagram-gallery__overlay {
    opacity: 1;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0.65rem;
    background: linear-gradient(180deg, rgba(5, 7, 10, 0) 0%, rgba(5, 7, 10, 0.1) 42%, rgba(5, 7, 10, 0.84) 100%);
  }

  .emm-instagram-gallery__overlay-badge {
    display: none;
  }

  .emm-instagram-gallery__overlay-copy {
    max-width: 100%;
    align-self: flex-start;
  }

  .emm-instagram-gallery__overlay-copy strong {
    display: none;
    font-size: 0.56rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    opacity: 0.5;
  }

  .emm-instagram-gallery__overlay-copy .emm-instagram-gallery__cta--mobile {
    display: block;
  }

  .emm-instagram-gallery__overlay-copy span {
    display: none;
  }

}

@media (max-width: 47.99rem) {
  .services-directory-page {
    padding: 0.95rem 0 2.3rem;
  }

  .services-directory-title {
    font-size: 1.26rem;
  }

  .services-directory-subtitle {
    font-size: 0.84rem;
  }

  .services-directory-head-main {
    gap: 0.85rem;
  }

  .services-directory-head--with-image {
    grid-template-columns: 1fr;
  }

  .services-directory-hero-media {
    min-height: 112px;
  }

  .services-mobile-view-toggle {
    display: inline-flex;
  }

  .services-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .services-directory-card {
    background: #151516 !important;
  }

  .services-directory-body {
    padding: 0.55rem;
    background: #151516;
  }

  .services-directory-card-title {
    font-size: 0.82rem;
  }

  .services-directory-summary {
    display: -webkit-box;
    margin-top: 0.28rem;
    font-size: 0.74rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .services-directory-grid.services-view--single {
    grid-template-columns: 1fr;
  }

  .services-directory-grid.services-view--list {
    grid-template-columns: 1fr;
    gap: 0.42rem;
  }

  .services-directory-grid.services-view--list .services-directory-card-link {
    display: grid;
    grid-template-columns: 6.15rem minmax(0, 1fr);
    align-items: stretch;
  }

  .services-directory-grid.services-view--list .services-directory-media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 5.8rem;
  }

  .services-directory-grid.services-view--list .services-directory-summary {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
  }

  .emm-instagram-gallery__grid,
  .gallery-category-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.45rem;
  }

  .gallery-social-strip {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .gallery-social-strip__links {
    justify-content: flex-start;
  }

  .gallery-empty-state {
    justify-items: stretch;
    text-align: left;
  }

  .gallery-empty-state__actions {
    justify-content: flex-start;
  }

  .gallery-card img {
    min-height: 142px;
  }
}

.emm-products--overlay-cards .emm-product-card {
  position: relative;
  border-radius: 0.65rem;
  overflow: hidden;
}

.emm-products--overlay-cards .emm-product-media {
  aspect-ratio: 4 / 5;
  border-radius: 0.65rem;
  border: 0;
  background: #17171b;
}

.emm-service-card__shade {
  position: absolute;
  inset: 0;
  background: var(--ui-card-overlay-color, #000000);
  opacity: var(--ui-card-overlay-opacity, 0.56);
  pointer-events: none;
}

.emm-service-card__bottom-gradient {
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, var(--ui-card-overlay-color, #000000) 100%);
  opacity: 0.88;
  pointer-events: none;
}

.emm-service-card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: var(--ui-card-overlay-justify, flex-end);
  align-items: var(--ui-card-overlay-align, flex-start);
  text-align: var(--ui-card-overlay-text-align, left);
  padding: 0.85rem;
  pointer-events: none;
}

@media (max-width: 48rem) {
  .emm-services-grid-v2.emm-products--overlay-cards .emm-service-card__content {
    justify-content: var(--ui-card-overlay-justify-mobile, var(--ui-card-overlay-justify, flex-end));
    align-items: var(--ui-card-overlay-align-mobile, var(--ui-card-overlay-align, flex-start));
    text-align: var(--ui-card-overlay-text-align-mobile, var(--ui-card-overlay-text-align, left));
  }
}

.emm-products--overlay-cards .emm-product-title {
  margin: 0;
  font-family: var(--ui-font-body);
  font-size: clamp(1.1rem, 1.6vw, 1.7rem);
  font-weight: var(--ui-card-overlay-title-weight, 800);
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.emm-collections--overlay-cards .emm-collection-card {
  position: relative;
  gap: 0;
}

.emm-collections--overlay-cards .emm-collection-card__media {
  border: 0;
  background: #17171b;
}

.emm-collection-card__shade {
  position: absolute;
  inset: 0;
  background: var(--ui-card-overlay-color, #000000);
  opacity: var(--ui-card-overlay-opacity, 0.56);
  pointer-events: none;
}

.emm-collection-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: var(--ui-card-overlay-justify, flex-end);
  align-items: var(--ui-card-overlay-align, flex-start);
  text-align: var(--ui-card-overlay-text-align, left);
  gap: 0.18rem;
  padding: 0.85rem;
  pointer-events: none;
}

.emm-collections--overlay-cards .emm-collection-card__title {
  font-weight: var(--ui-card-overlay-title-weight, 800);
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.emm-collection-card__meta-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--ui-step--2);
  line-height: 1.35;
}

.service-system-page #svc-anchor-simple-text .emm-simple-text__inner {
  margin-inline: 0;
  text-align: left;
}

.service-system-page #svc-anchor-simple-text .emm-simple-text__content {
  margin-inline: 0;
}

.service-system-page #svc-anchor-simple-text {
  margin-bottom: clamp(16px, 2vw, 28px);
}

.emm-image-text {
  padding-top: clamp(2rem, 4vw, 3.2rem);
}

.emm-image-text .emm-split {
  align-items: center;
  gap: clamp(1rem, 3vw, 2.2rem);
}

.emm-image-text .emm-title {
  font-family: var(--ui-font-body);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
}

.emm-image-text .emm-copy {
  color: #d4d4d8;
  font-size: clamp(1rem, 1.4vw, 1.4rem);
}

.emm-image-text .emm-quote {
  display: none;
}

.emm-image-text .emm-split__media {
  border-radius: 1rem;
  overflow: hidden;
  border: 0;
}

.emm-image-text .emm-btn {
  background: #f4f4f5;
  color: #111114;
  border-color: #f4f4f5;
  font-weight: 700;
}

@media (max-width: 64rem) {
  .emm-services-grid-v2 .emm-services-grid-primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .emm-services-grid-v2 .emm-services-grid-card.is-primary .emm-product-media {
    aspect-ratio: 5 / 4 !important;
    min-height: clamp(9rem, 26vw, 13rem);
  }

  .emm-services-grid-v2 .emm-services-grid-secondary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 48rem) {
  .emm-header--shell-pill {
    --ui-header-shell-gap: 0.35rem;
    --ui-header-shell-width: calc(100% - (var(--ui-page-pad) * 2));
  }

  .emm-header--shell-pill .emm-header__inner {
    width: calc(100% - 0.8rem);
    margin-inline: auto;
  }

  .emm-header__inner {
    min-height: 3.65rem;
  }

  .emm-collections .emm-grid {
    align-items: stretch;
  }

  .emm-collection-card {
    height: 100%;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .emm-collection-card__media {
    aspect-ratio: 1 / 1 !important;
  }

  .emm-services-grid-v2:not(.emm-services-grid-v2--mobile-featured) .emm-services-grid-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .emm-services-grid-v2:not(.emm-services-grid-v2--mobile-featured) .emm-services-grid-primary,
  .emm-services-grid-v2:not(.emm-services-grid-v2--mobile-featured) .emm-services-grid-secondary {
    display: contents;
  }

  .emm-services-grid-v2:not(.emm-services-grid-v2--mobile-featured) .emm-services-grid-primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .emm-services-grid-v2:not(.emm-services-grid-v2--mobile-featured) .emm-services-grid-card.is-primary .emm-product-media {
    aspect-ratio: 1 / 1 !important;
    min-height: 0;
  }

  .emm-services-grid-v2--mobile-featured .emm-services-grid-primary {
    grid-template-columns: 1fr;
  }

  .emm-services-grid-v2--mobile-featured .emm-services-grid-card.is-primary .emm-product-media {
    aspect-ratio: 19 / 8 !important;
    min-height: 0;
  }

  .emm-services-grid-v2 .emm-services-grid-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .emm-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .emm-services-grid-v2.emm-products--overlay-cards:not(.emm-services-grid-v2--mobile-featured) .emm-services-grid-card.is-primary .emm-product-title {
    font-size: clamp(
      calc(0.95rem * var(--ui-service-title-scale-mobile, 1)),
      calc(3.6vw * var(--ui-service-title-scale-mobile, 1)),
      calc(1.15rem * var(--ui-service-title-scale-mobile, 1))
    );
  }

  .emm-services-grid-v2.emm-products--overlay-cards.emm-services-grid-v2--mobile-featured .emm-services-grid-card.is-primary .emm-product-title {
    font-size: clamp(
      calc(1.05rem * var(--ui-service-title-scale-mobile, 1)),
      calc(4.8vw * var(--ui-service-title-scale-mobile, 1)),
      calc(1.25rem * var(--ui-service-title-scale-mobile, 1))
    );
  }

  .emm-services-grid-v2.emm-products--overlay-cards .emm-services-grid-card.is-secondary .emm-product-title {
    font-size: clamp(
      calc(0.95rem * var(--ui-service-title-scale-mobile, 1)),
      calc(3.6vw * var(--ui-service-title-scale-mobile, 1)),
      calc(1.15rem * var(--ui-service-title-scale-mobile, 1))
    );
  }

  .emm-products--overlay-cards .emm-product-title {
    font-size: clamp(1rem, 4.5vw, 1.35rem);
  }
}
.product-container .buy #buyBtn.btn-secondary:hover:not(:disabled),
.product-container .buy #buyBtn.btn-secondary:hover:not(:disabled) {
  background: var(--ui-color-paper, #f7f4ef) !important;
  border-color: #7f8a99 !important;
}

.product-container .stock-badge {
  border: 1px solid var(--ui-color-line, #d9d2c8);
  border-radius: var(--ui-radius-pill, 999px);
  box-shadow: none;
}

.product-container .stock-badge.in-stock,
.product-container .stock-badge.low-stock,
.product-container .stock-badge.backorder,
.product-container .stock-badge.out-of-stock {
  background: color-mix(in srgb, var(--ui-color-paper, #f7f4ef) 90%, #fff) !important;
  color: var(--ui-color-ink-soft, #262c34) !important;
}

.product-container .stock-badge .dot {
  width: 6px !important;
  height: 6px !important;
}

.emm-sticky-atc {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49;
  padding: 0.65rem var(--ui-page-pad, 1rem) calc(env(safe-area-inset-bottom) + 0.65rem);
  background: color-mix(in srgb, var(--ui-color-ivory, #fbf9f5) 90%, #fff);
  border-top: var(--ui-border-hairline, 1px solid #d9d2c8);
  transform: translateY(110%);
  transition: transform var(--ui-time-base, 200ms) var(--ui-ease, ease);
}

.emm-sticky-atc.is-visible {
  transform: translateY(0);
}

.emm-sticky-atc__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.emm-sticky-atc__meta {
  min-width: 0;
}

.emm-sticky-atc__title,
.emm-sticky-atc__price {
  margin: 0;
}

.emm-sticky-atc__title {
  font-size: 0.95rem;
  font-weight: 600;
}

.emm-sticky-atc__price {
  color: var(--ui-color-ink-soft, #262c34);
  font-size: 0.82rem;
}

.emm-sticky-atc .emm-btn {
  min-width: 10rem;
}

/* Cart visual overlay (structure untouched) */
.cart-main,
.cart-sidebar {
  border: var(--ui-border-hairline, 1px solid #d9d2c8) !important;
  border-radius: var(--ui-radius-lg, 0.9rem) !important;
  box-shadow: none !important;
}

.page-title {
  font-family: var(--ui-font-display, "Roboto", "Helvetica Neue", Arial, sans-serif) !important;
  letter-spacing: -0.01em;
}

.cart-page,
.cart-page .summary-row,
.cart-page .cart-item-title,
.cart-page .cart-item-variant,
.cart-page .continue-shopping,
.cart-page .btn {
  font-family: var(--ui-font-body, "Helvetica Neue", Arial, sans-serif);
}

.cart-page .summary-title,
.cart-page .page-title {
  font-family: var(--ui-font-display, "Roboto", "Helvetica Neue", Arial, sans-serif) !important;
}

.cart-item {
  border-bottom-color: var(--ui-color-line, #d9d2c8) !important;
}

.qty-selector,
.qty-btn,
.qty-input {
  border-color: var(--ui-color-line-strong, #bfb5a8) !important;
}

.remove-btn {
  color: color-mix(in srgb, var(--ui-color-ink, #15181d) 74%, #b42318) !important;
}

.summary-row.total {
  border-top-color: var(--ui-color-line, #d9d2c8) !important;
}

/* Empty states */
.empty-cart p,
.empty-state .empty-text {
  color: var(--ui-color-muted, #66717d) !important;
}

/* About/static pages (no layout changes) */
main h1,
main h2,
main .emm-title {
  font-family: var(--ui-font-display, "Roboto", "Helvetica Neue", Arial, sans-serif);
  letter-spacing: -0.01em;
}

/* Checkout page overlay (existing layout preserved) */
.checkout-page .page-title,
.checkout-page .section-title,
.checkout-page .summary-title {
  font-family: var(--ui-font-display, "Roboto", "Helvetica Neue", Arial, sans-serif);
  letter-spacing: -0.01em;
}

.checkout-page .checkout-main,
.checkout-page .checkout-sidebar,
.checkout-page .section {
  border-color: var(--ui-color-line, #d9d2c8) !important;
}

.checkout-page .form-input,
.checkout-page .checkbox-input {
  border-color: var(--ui-color-line-strong, #bfb5a8) !important;
}

.checkout-page .breadcrumb,
.checkout-page .summary-note,
.checkout-page .form-label,
.checkout-page .section-title {
  color: var(--ui-color-ink-soft, #262c34) !important;
}

/* Order confirmation / thank-you overlay (existing layout preserved) */
.oc-modern .oc-hero-title,
.oc-modern .oc-card h2,
.oc-modern .oc-summary-total {
  font-family: var(--ui-font-display, "Roboto", "Helvetica Neue", Arial, sans-serif) !important;
  letter-spacing: -0.01em;
}

.oc-modern .oc-card,
.oc-modern .oc-hero,
.oc-modern .oc-item,
.oc-modern .oc-pill,
.oc-modern .oc-summary-divider {
  border-color: var(--ui-color-line, #d9d2c8) !important;
  box-shadow: none !important;
}

.oc-modern .oc-card-sub,
.oc-modern .oc-item-variant,
.oc-modern .oc-bullets {
  color: var(--ui-color-ink-soft, #262c34) !important;
}

.oc-modern .oc-item-img {
  overflow: hidden;
}

.oc-modern .oc-item-qty,
.checkout-page .cart-item-qty {
  min-width: 1.1rem;
  min-height: 1.1rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--ui-color-paper, #f7f4ef) 86%, #fff);
  border: var(--ui-border-hairline, 1px solid #d9d2c8);
  color: var(--ui-color-ink, #15181d);
}

/* About page */
.about-page .about-page__story,
.about-page .about-page__approach {
  align-items: center;
}

.about-page__media {
  overflow: hidden;
}

.about-page__media img {
  display: block;
  width: 100%;
  height: auto;
}

.about-page__guiding-shell {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.about-page__guiding--bg-soft-surface .about-page__guiding-shell {
  border-radius: clamp(0.9rem, 1.8vw, 1.2rem);
  padding: clamp(1rem, 2.2vw, 1.3rem);
  border: 1px solid color-mix(in srgb, var(--ui-color-line, #d9d2c8) 84%, transparent);
  background: rgba(255, 255, 255, var(--about-guiding-surface-alpha, 0.18));
}

.about-page__guiding--bg-none .about-page__guiding-shell {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.about-page__guiding-head {
  gap: 0.35rem;
}

.about-page__guiding-title {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.about-page__guiding-subtitle {
  margin: 0;
  max-width: 72ch;
}

.about-page__guiding-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  --about-guiding-column-gap: clamp(1.1rem, 2.6vw, 1.75rem);
  column-gap: var(--about-guiding-column-gap);
  row-gap: clamp(0.9rem, 1.8vw, 1.2rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-page__guiding-grid.is-cols-1 {
  grid-template-columns: 1fr;
}

.about-page__guiding-grid.is-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-page__guiding-grid.is-compact {
  max-width: 100%;
  margin-inline: 0;
}

.about-page__guiding-item {
  list-style: none;
  min-width: 0;
  position: relative;
}

.about-page__guiding-card {
  min-height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0.6rem;
  padding: 0.15rem 0;
  text-decoration: none;
  color: inherit;
}

.about-page__guiding-grid--icon-layout-stacked .about-page__guiding-card {
  grid-template-columns: 1fr;
}

.about-page__guiding-grid--icon-layout-left .about-page__guiding-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(0.75rem, 1.6vw, 1rem);
}

.about-page__guiding-card--link:hover,
.about-page__guiding-card--link:focus-visible {
  text-decoration: none;
}

.about-page__guiding-card--link:hover .about-page__guiding-item-title,
.about-page__guiding-card--link:focus-visible .about-page__guiding-item-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.about-page__guiding-grid--card-minimal .about-page__guiding-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.about-page__guiding-grid--card-outlined .about-page__guiding-card {
  background: transparent;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--ui-color-line, #d9d2c8) 85%, transparent);
  padding: clamp(0.7rem, 1.6vw, 0.92rem);
}

.about-page__guiding-grid--card-soft .about-page__guiding-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.about-page__guiding-media {
  display: inline-flex;
  align-self: start;
}

.about-page__guiding-grid--icon-layout-left .about-page__guiding-media {
  align-self: stretch;
  align-items: flex-start;
}

.about-page__guiding-badge {
  width: calc(var(--about-guiding-icon-size, 20px) + 14px);
  height: calc(var(--about-guiding-icon-size, 20px) + 14px);
  border-radius: 0.64rem;
  border: 1px solid color-mix(in srgb, var(--ui-color-line, #d9d2c8) 78%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--ui-color-paper, #f7f4ef) 68%, #fff);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
  flex: 0 0 auto;
}

.about-page__guiding-grid--badge-outlined .about-page__guiding-badge {
  background: transparent;
  box-shadow: none;
}

.about-page__guiding-grid--badge-subtle .about-page__guiding-badge {
  background: color-mix(in srgb, var(--ui-color-paper, #f7f4ef) 68%, #fff);
}

.about-page__guiding-grid--badge-none .about-page__guiding-badge {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.about-page__guiding-icon {
  width: var(--about-guiding-icon-size, 20px);
  height: var(--about-guiding-icon-size, 20px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ui-color-ink, #ffffff);
}

.about-page__guiding-icon svg,
.about-page__guiding-icon .lucide {
  width: 100%;
  height: 100%;
  display: block;
}

.about-page__guiding-icon--svg svg {
  width: 100%;
  height: 100%;
}

.about-page__guiding-content {
  min-width: 0;
  display: grid;
  gap: 0.32rem;
}

.about-page__guiding-item-title {
  font-weight: 600;
  color: var(--ui-color-ink, #ffffff);
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.about-page__guiding-item-description {
  margin: 0;
  color: color-mix(in srgb, var(--ui-color-ink, #ffffff) 70%, #a1a1aa);
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.about-page__guiding-link-label {
  margin-top: 0.18rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ui-color-ink-soft, #262c34);
}

@media (min-width: 801px) {
  .about-page__guiding-grid.is-cols-2 .about-page__guiding-item:nth-child(2n)::before,
  .about-page__guiding-grid.is-cols-3 .about-page__guiding-item:nth-child(3n + 2)::before,
  .about-page__guiding-grid.is-cols-3 .about-page__guiding-item:nth-child(3n)::before {
    content: "";
    position: absolute;
    left: calc(var(--about-guiding-column-gap) / -2);
    top: 0.22rem;
    bottom: 0.22rem;
    width: 1px;
    background: color-mix(in srgb, var(--ui-color-line, #d9d2c8) 82%, transparent);
    pointer-events: none;
  }
}

.about-page__richtext {
  color: var(--ui-color-ink-soft, #262c34);
  max-width: 65ch;
}

.contact-page__layout {
  align-items: start;
}

.contact-page__card {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.contact-page__card label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ui-color-ink-soft, #262c34);
}

.contact-page__card .emm-field,
.contact-page__card textarea.emm-field {
  border: 1px solid color-mix(in srgb, var(--ui-color-line, #d9d2c8) 86%, #ffffff) !important;
  background: #1E1E1F !important;
  color: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(21, 24, 29, 0.04) !important;
}

.contact-page__card .emm-field::placeholder,
.contact-page__card textarea.emm-field::placeholder {
  color: rgba(255, 255, 255, 0.68) !important;
}

.contact-page__map-card {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.contact-page__map-card .embed-map-responsive {
  position: relative;
  text-align: right;
  width: 100%;
  height: 0;
  padding-bottom: 66.66666666666666%;
  border-radius: clamp(0.9rem, 1.8vw, 1.25rem);
  overflow: hidden;
  background: #ffffff;
}

.contact-page__map-card .embed-map-container {
  overflow: hidden;
  background: none !important;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.contact-page__map-card .embed-map-frame {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
}

.contact-page__richtext {
  color: var(--ui-color-ink-soft, #262c34);
  max-width: 65ch;
}

.delivery-page__cards {
  align-items: stretch;
}

.delivery-page__card {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.delivery-page__richtext {
  color: var(--ui-color-ink-soft, #262c34);
  line-height: 1.65;
  max-width: 70ch;
}

.legal-page__body {
  color: var(--ui-color-ink-soft, #262c34);
  line-height: 1.68;
  max-width: 70ch;
}

/* Stage 7: service introduction, benefits and specifications */
.emm-service-intro {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-width: 0;
}

.emm-service-intro[data-media-side="right"] {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

.emm-service-intro__content {
  min-width: 0;
  max-width: 62ch;
}

.emm-image-text--editorial .emm-service-intro {
  align-items: end;
  gap: clamp(1.5rem, 5vw, 5rem);
}

.emm-image-text--editorial .emm-split__media {
  border-radius: 0;
  border-inline: 0;
}

.emm-image-text.is-text-only .emm-service-intro,
.emm-image-text.is-media-only .emm-service-intro {
  grid-template-columns: minmax(0, 1fr);
}

.emm-image-text.is-text-only .emm-service-intro__content {
  max-width: 72ch;
}

.emm-feature-list--list .emm-feature-list__items {
  margin: 0;
  border-top: var(--ui-border-hairline);
}

.emm-feature-list--list .emm-feature-list__item {
  grid-template-columns: minmax(10rem, 0.72fr) minmax(0, 1.28fr);
  border: 0;
  border-bottom: var(--ui-border-hairline);
  border-radius: 0;
  background: transparent;
  padding: var(--ui-space-5) 0;
}

.emm-feature-list--list .emm-feature-list__icon {
  display: none;
}

.emm-feature-list--list :is(dt, dd) {
  margin: 0;
}

.emm-feature-list--list .emm-feature-list__item > dt {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.emm-feature-list--list .emm-feature-list__item > dd {
  grid-column: 2;
}

.emm-feature-list__item :is(.emm-title, .emm-copy, .emm-link) {
  overflow-wrap: anywhere;
}

/* Onyx display typography: geometric, technical and consistent across titles. */
.emm-hero .emm-title,
.emm-section:not(.emm-hero) .emm-title,
.emm-product-title,
.emm-products--overlay-cards .emm-product-title,
.emm-collection-card__title,
.emm-site-footer__title {
  font-family: var(--ui-font-display, "Roboto", "Helvetica Neue", Arial, sans-serif);
  font-weight: var(--ui-font-display-weight, 600);
  letter-spacing: -0.02em;
}

/* Footer calm refinement */
.emm-site-footer {
  border-top: 0;
  background: var(--ui-footer-bg, #0f1013);
  color: var(--ui-footer-ink, #ffffff);
}

.emm-site-footer :is(.emm-site-footer__title, .emm-site-footer__copy, .emm-site-footer__meta p, .emm-links-list a) {
  color: var(--ui-footer-ink, #ffffff);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 800px) {
  .emm-service-intro,
  .emm-service-intro[data-media-side="right"],
  .emm-feature-list--list .emm-feature-list__item {
    grid-template-columns: minmax(0, 1fr);
  }

  .emm-feature-list--list .emm-feature-list__item > :is(dt, dd) {
    grid-column: 1;
    grid-row: auto;
  }

  .emm-service-intro .emm-split__media {
    order: -1;
  }

  .product-container .buy {
    grid-template-columns: 1fr;
  }

  .product-container .buy .qty,
  .product-container .buy .btn {
    width: 100%;
  }

  .about-page__guiding-grid {
    grid-template-columns: 1fr;
  }

  .about-page__guiding-item::before {
    content: none !important;
  }

  .emm-sticky-atc__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .emm-sticky-atc .emm-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (min-width: 801px) and (max-width: 980px) {
  .about-page__guiding-grid.is-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-page__guiding-grid.is-cols-3 .about-page__guiding-item::before {
    content: none;
  }

  .about-page__guiding-grid.is-cols-3 .about-page__guiding-item:nth-child(2n)::before {
    content: "";
    position: absolute;
    left: calc(var(--about-guiding-column-gap) / -2);
    top: 0.22rem;
    bottom: 0.22rem;
    width: 1px;
    background: color-mix(in srgb, var(--ui-color-line, #d9d2c8) 82%, transparent);
    pointer-events: none;
  }
}
