/*
   REMZ mobile-first refinement layer
   Loaded after the established desktop styles. This file owns the coherent
   phone and tablet system so route-specific legacy patches cannot drift apart.
*/

:root {
  --remz-mobile-gutter: clamp(18px, 5.2vw, 30px);
  --remz-section-space: clamp(52px, 14vw, 88px);
  --remz-control-height: 48px;
  --remz-header-height: 72px;
  --remz-mobile-ink: #11100e;
  --remz-mobile-muted: #686158;
  --remz-mobile-paper: #fcfbf8;
  --remz-mobile-panel: #f4f0e8;
  --remz-mobile-line: #d9d1c4;
  --remz-mobile-gold: #b58a2c;
  --remz-mobile-dark: #0d0d0c;
  --remz-mobile-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-padding-top: calc(var(--remz-header-height) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

img,
video {
  height: auto;
}

button,
input,
select,
textarea {
  letter-spacing: 0;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid #d6ae4d;
  outline-offset: 3px;
}

.sr-only:focus {
  width: auto;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Shared phone and tablet system */
@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    min-width: 0;
  }

  body {
    background: var(--remz-mobile-paper);
  }

  body.remz-menu-open,
  body.remz-overlay-open {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
  }

  :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea) {
    min-height: var(--remz-control-height);
    font-size: 16px !important;
  }

  :where(button, [role="button"], .icon-button, .mobile-menu-toggle, .suggested-arrow, .gallery-lightbox-nav) {
    min-width: 44px;
    min-height: 44px;
  }

  .scroll-reveal,
  .scroll-reveal.is-visible,
  .remz-rise,
  .remz-rise.remz-in,
  .remz-split,
  .remz-split.remz-in,
  .remz-word > span {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .remz-progress {
    display: none;
  }

  /* Header and mobile navigation */
  .topbar,
  .shop-topbar {
    width: 100%;
    height: calc(var(--remz-header-height) + env(safe-area-inset-top));
    min-height: calc(var(--remz-header-height) + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) var(--remz-mobile-gutter) 0;
    display: grid;
    grid-template-columns: minmax(86px, 1fr) 44px auto;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(200, 162, 74, 0.38);
    background: rgba(10, 10, 9, 0.96);
    color: #fff;
    isolation: isolate;
  }

  .topbar::after {
    display: none;
  }

  .topbar .brand {
    position: static;
    display: inline-flex;
    align-items: center;
    width: 100px;
    height: 50px;
    margin: 0;
    padding: 5px 0;
    transform: none;
  }

  .topbar .brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
  }

  .topbar .nav-links,
  .topbar .shop-back-link {
    display: none !important;
  }

  .topbar .mobile-menu-toggle {
    position: relative;
    inset: auto;
    z-index: 104;
    grid-column: 2;
    grid-row: 1;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
  }

  .topbar .mobile-menu-toggle span {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 1px;
    margin: 0;
    background: currentColor;
    transform-origin: center;
    transition: transform 280ms var(--remz-mobile-ease), opacity 180ms ease, top 280ms var(--remz-mobile-ease);
  }

  .topbar .mobile-menu-toggle span:nth-child(1) { top: 15px; }
  .topbar .mobile-menu-toggle span:nth-child(2) { top: 21px; }
  .topbar .mobile-menu-toggle span:nth-child(3) { top: 27px; }

  .topbar.is-menu-open .mobile-menu-toggle span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
  }

  .topbar.is-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .topbar.is-menu-open .mobile-menu-toggle span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
  }

  .topbar .actions {
    position: static;
    grid-column: 3;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    margin: 0;
  }

  .topbar .actions .icon-button {
    width: 44px;
    height: 44px;
    margin: 0;
    border: 0;
    background: transparent;
  }

  .topbar .actions .icon-button svg {
    width: 21px;
    height: 21px;
  }

  .topbar .favourite-count,
  .topbar .cart-count {
    top: 2px;
    right: 1px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    font-size: 9px;
  }

  .mobile-nav-panel {
    position: fixed !important;
    inset: 0;
    z-index: 102;
    width: 100%;
    height: 100dvh;
    min-height: 100svh;
    padding: max(18px, env(safe-area-inset-top)) var(--remz-mobile-gutter) max(24px, env(safe-area-inset-bottom));
    display: grid !important;
    grid-template-rows: 62px 1fr auto;
    color: #f7f3eb;
    background: #0c0c0b;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 260ms ease, transform 420ms var(--remz-mobile-ease), visibility 0s linear 420ms;
  }

  .topbar.is-menu-open .mobile-nav-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 54px;
    border-bottom: 1px solid rgba(200, 162, 74, 0.25);
  }

  .mobile-nav-logo {
    width: 96px;
    height: 48px;
    display: flex;
    align-items: center;
  }

  .mobile-nav-logo img {
    width: 100%;
    filter: brightness(0) invert(1) drop-shadow(0 8px 18px rgba(255, 255, 255, 0.08));
  }

  .mobile-nav-cart,
  .mobile-nav-close {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
  }

  .mobile-nav-cart svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
  }

  .mobile-nav-close {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #f7f3eb;
    background: transparent;
  }

  .mobile-nav-close span {
    position: absolute;
    width: 18px;
    height: 1px;
    background: currentColor;
  }

  .mobile-nav-close span:first-child { transform: rotate(45deg); }
  .mobile-nav-close span:last-child { transform: rotate(-45deg); }

  .mobile-nav-links {
    align-self: center;
    display: grid;
    gap: 0;
  }

  .mobile-nav-links a {
    min-height: 58px;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1;
    color: #f7f3eb !important;
    background: transparent !important;
  }

  .mobile-nav-links a:visited {
    color: #f7f3eb !important;
  }

  .mobile-nav-links a:focus-visible {
    padding-inline: 12px;
    color: #111 !important;
    background: #f5f0e7 !important;
    outline: 2px solid #caa34a;
    outline-offset: 2px;
  }

  .mobile-nav-links a::after {
    content: "\2192";
    color: #caa34a;
    font-family: Georgia, serif;
    font-size: 21px;
  }

  /* Cookie notice */
  .cookie-banner {
    inset: auto var(--remz-mobile-gutter) max(12px, env(safe-area-inset-bottom));
    width: auto;
    padding: 0;
  }

  .cookie-banner-inner {
    width: min(100%, 520px);
    margin-inline: auto;
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(200, 162, 74, 0.38);
    background: #11110f;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.3);
  }

  .cookie-banner-inner p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
  }

  .cookie-banner-actions,
  .cookie-banner-accept {
    min-width: 92px;
    min-height: 46px;
  }

  /* Compact, deliberately composed footer */
  .site-footer {
    min-height: 0 !important;
    background: #0d0d0c !important;
    color: #f2eee5 !important;
  }

  .site-footer .footer-main {
    width: 100%;
    min-height: 0;
    padding: 36px var(--remz-mobile-gutter) 30px;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px 20px;
  }

  .site-footer .footer-identity {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 18px;
  }

  .site-footer .footer-brand {
    width: 92px;
    height: 48px;
  }

  .site-footer .footer-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
  }

  .site-footer .footer-established,
  .site-footer .footer-copyright {
    font-size: 9px;
    line-height: 1.4;
    letter-spacing: 0.18em;
  }

  .site-footer .footer-established {
    grid-column: 1;
  }

  .site-footer .footer-copyright {
    grid-column: 1;
  }

  .site-footer .footer-socials {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    display: flex;
    gap: 8px;
  }

  .site-footer .footer-socials a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
  }

  .site-footer .footer-newsletter {
    grid-column: 1 / -1;
    width: 100%;
    margin: 16px 0 0;
  }

  .site-footer .footer-newsletter label > span:first-child {
    display: block;
    margin-bottom: 9px;
    font-size: 11px;
    line-height: 1.4;
  }

  .site-footer .footer-newsletter-field {
    display: grid;
    grid-template-columns: 1fr 48px;
  }

  .site-footer .footer-newsletter input,
  .site-footer .footer-newsletter button {
    height: 48px;
  }

  .site-footer .footer-studio {
    display: none;
  }

  .site-footer .footer-contact {
    grid-column: 1 / -1;
    min-width: 0;
    display: grid !important;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    align-items: start;
    gap: 8px 20px;
  }

  .site-footer .footer-contact > .footer-heading {
    grid-column: 1;
    margin: 0 0 6px;
  }

  .site-footer .footer-contact > a:not(.footer-appointment) {
    grid-column: 1;
    min-width: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 1.35;
  }

  .site-footer .footer-contact > a[href^="mailto:"] {
    white-space: nowrap;
    font-size: 10.5px;
    overflow-wrap: normal;
  }

  .site-footer .footer-appointment {
    grid-column: 1;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 1.4;
  }

  .site-footer .footer-info-legal {
    grid-column: 2 !important;
    grid-row: 1 / span 6 !important;
    min-width: 0;
    display: grid;
    gap: 0;
    text-align: left;
  }

  .site-footer .footer-info-legal .footer-heading {
    margin: 0 0 6px;
  }

  .site-footer .footer-info-legal a {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 1.35;
  }

  .site-footer .footer-heading {
    color: #d0a63f;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .site-footer .footer-bottom {
    min-height: 58px;
    padding: 10px var(--remz-mobile-gutter) max(10px, env(safe-area-inset-bottom));
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-footer .footer-made,
  .site-footer .footer-bottom-copy,
  .site-footer .footer-staff-gate {
    min-height: 30px;
    display: flex;
    align-items: center;
    color: #c9c2b7 !important;
    font-size: 9px;
    line-height: 1.3;
    letter-spacing: 0.1em;
  }

  .site-footer .footer-bottom-copy {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .site-footer .footer-staff-gate {
    min-height: 44px;
    justify-self: end;
  }

  /* Homepage */
  body.remz-home .hero,
  body:not(.shop-body):not(.checkout-body):not(.staff-body) > .hero {
    min-height: 660px;
    height: 100svh;
    max-height: 820px;
  }

  .hero-stage {
    min-height: 100%;
    height: 100%;
  }

  .hero-film-wrap,
  .hero-film,
  .hero-atelier-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
  }

  .hero-atelier-image {
    object-position: 46% center;
  }

  .hero-film-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 40%, rgba(0, 0, 0, 0.38) 76%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
  }

  .hero-copy-stack {
    position: absolute;
    inset: auto var(--remz-mobile-gutter) max(28px, calc(env(safe-area-inset-bottom) + 22px)) auto;
    z-index: 3;
    width: min(72%, 300px);
    margin: 0;
    padding: 0;
    color: #fff;
    text-align: left;
  }

  .hero-copy-stack .eyebrow {
    margin: 0 0 12px;
    font-size: 9px;
    letter-spacing: 0.17em;
  }

  .hero-copy-stack .headline {
    margin: 0;
    font-size: clamp(44px, 13vw, 62px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: 0;
  }

  .hero-copy-stack .headline-mask {
    display: block;
    overflow: visible;
  }

  .hero-copy-stack .hero-intro {
    max-width: 29ch;
    margin: 18px 0 0;
    font-size: 13px;
    line-height: 1.55;
  }

  .hero-cta-row {
    width: 100%;
    margin-top: 22px;
    display: grid;
    gap: 10px;
  }

  .hero-cta-row .shop-button,
  .hero-cta-row .hero-secondary-link {
    width: 100%;
    min-height: 50px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: none !important;
  }

  .hero-cta-row .hero-secondary-link {
    padding: 0 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .atelier-marquee {
    height: 46px;
    min-height: 46px;
  }

  .marquee-track {
    height: 46px;
  }

  .marquee-track span {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .suggested-section {
    padding: 38px 0 42px;
  }

  .suggested-shell {
    width: 100%;
    padding: 0;
    overflow: visible;
  }

  .suggested-track {
    width: 100%;
    padding: 0 var(--remz-mobile-gutter);
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--remz-mobile-gutter);
    scrollbar-width: none;
  }

  .suggested-track::-webkit-scrollbar {
    display: none;
  }

  .suggested-card {
    flex: 0 0 calc(100vw - (var(--remz-mobile-gutter) * 2));
    width: calc(100vw - (var(--remz-mobile-gutter) * 2));
    min-width: 0;
    max-width: 430px;
    min-height: 0;
    scroll-snap-align: center;
    transform: none !important;
  }

  .suggested-card:hover,
  .suggested-card:focus-visible {
    transform: none !important;
  }

  .suggested-controls {
    position: absolute;
    inset: 50% 8px auto;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
  }

  .suggested-arrow {
    position: static;
    width: 48px;
    height: 48px;
    margin: 0;
    border: 1px solid rgba(17, 16, 14, 0.2);
    background: rgba(252, 251, 248, 0.94);
    pointer-events: auto;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  }

  .hallmark-section {
    min-height: 660px;
    padding: var(--remz-section-space) var(--remz-mobile-gutter);
    background-position: 66% center;
  }

  .hallmark-inner {
    width: 100%;
    min-height: 0;
    padding: 0;
    display: block;
  }

  .hallmark-copy {
    position: relative;
    z-index: 2;
    width: min(82%, 390px);
    padding: 24px 0;
  }

  .hallmark-copy h2 {
    margin: 18px 0 24px;
    font-size: clamp(46px, 13vw, 66px);
    line-height: 0.98;
  }

  .hallmark-copy p:not(.section-kicker) {
    font-size: 14px;
    line-height: 1.65;
  }

  .hallmark-bg-art {
    position: absolute;
    inset: 0;
    opacity: 0.2;
  }

  .craft-stats {
    padding: 22px var(--remz-mobile-gutter) 28px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 330px);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .craft-stats::-webkit-scrollbar { display: none; }

  .craft-stat {
    min-height: 142px;
    padding: 22px;
    scroll-snap-align: start;
  }

  .craft-stat strong {
    font-size: 19px;
    line-height: 1.3;
  }

  .philosophy-section {
    padding: var(--remz-section-space) var(--remz-mobile-gutter);
  }

  .philosophy-inner {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "copy"
      "story"
      "jewel" !important;
    align-items: start;
    gap: 26px 18px;
  }

  .philosophy-copy {
    grid-area: copy;
    min-width: 0;
  }

  .philosophy-copy h2 {
    max-width: 8.5ch;
    margin: 16px 0 0;
    font-size: clamp(47px, 13vw, 68px);
    line-height: 0.92;
  }

  .philosophy-section .philosophy-jewel {
    grid-area: jewel;
    min-width: 0;
    width: min(64vw, 260px) !important;
    margin: 0;
    align-self: start;
    justify-self: center;
  }

  .philosophy-jewel img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
  }

  .philosophy-story {
    grid-area: story;
    min-width: 0;
    margin: 0;
  }

  .philosophy-story p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.65;
  }

  .about-section {
    padding: var(--remz-section-space) var(--remz-mobile-gutter) 44px;
  }

  .about-inner {
    width: 100%;
  }

  .about-inner > h2 {
    max-width: 10ch;
    margin: 18px 0 28px;
    font-size: clamp(45px, 12.6vw, 66px);
    line-height: 0.98;
  }

  .about-story {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-copy {
    max-width: 40ch;
  }

  .about-copy p {
    margin: 0 0 13px;
    font-size: 15px;
    line-height: 1.6;
  }

  .about-ring-box-video {
    position: relative;
    width: min(100%, 430px);
    aspect-ratio: 1 / 1;
    min-height: 0;
    margin: -10px auto 0;
    overflow: hidden;
    background: transparent !important;
    isolation: isolate;
  }

  .about-ring-video-canvas {
    display: none !important;
  }

  .about-ring-video-direct {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100% !important;
    display: block !important;
    object-fit: contain;
    background: transparent;
    mix-blend-mode: multiply;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .trust-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--remz-mobile-line);
  }

  .trust-item {
    min-height: 230px;
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }

  .trust-item:nth-child(odd) {
    border-right: 1px solid var(--remz-mobile-line);
  }

  .trust-item h3 {
    margin: 18px 0 10px;
    font-size: clamp(19px, 5.2vw, 24px);
    line-height: 1.15;
  }

  .trust-item p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
  }

  /* Shop gateway */
  .shop-menu-page {
    min-height: 100svh;
    background: var(--remz-mobile-paper) !important;
  }

  .shop-menu {
    min-height: 0 !important;
    padding: calc(var(--remz-header-height) + 34px) var(--remz-mobile-gutter) var(--remz-section-space) !important;
    background: var(--remz-mobile-paper) !important;
  }

  .shop-gateway-intro {
    width: 100%;
    margin: 0 0 26px;
    padding: 0;
    display: grid;
    gap: 11px;
  }

  .shop-gateway-intro h1 {
    max-width: 10ch;
    margin: 0;
    font-size: clamp(38px, 10.5vw, 56px);
    line-height: 0.98;
  }

  .shop-gateway-intro > p:last-child {
    max-width: 38ch;
    margin: 0;
    color: var(--remz-mobile-muted);
    font-size: 14px;
    line-height: 1.55;
  }

  .shop-menu-page .shop-menu-grid {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(0, auto)) !important;
    align-content: start;
    gap: 10px;
  }

  .shop-area-card,
  .shop-menu-grid .shop-area-card {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    min-height: 0 !important;
    aspect-ratio: 3 / 4;
    margin: 0 !important;
    padding: 17px !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    overflow: hidden;
    border: 0;
    background: #171512;
    color: #fff;
    transform: none !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .shop-area-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    opacity: 0.9;
    filter: none;
    transform: scale(1.01);
  }

  .shop-menu-page .shop-area-card--new img {
    object-position: 92% 50% !important;
  }

  .shop-menu-page .shop-area-card--preowned img {
    object-position: 100% 48% !important;
  }

  .shop-menu-page .shop-area-card--bespoke img {
    object-position: 90% 62% !important;
  }

  .shop-menu-page .shop-area-card--contact img {
    object-position: 78% 58% !important;
  }

  .shop-area-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.72) 100%);
    pointer-events: none;
  }

  .shop-area-card .shop-area-title,
  .shop-area-card .shop-area-copy,
  .shop-area-card .shop-area-arrow {
    position: relative;
    inset: auto;
    z-index: 2;
    margin: 0;
    transform: none;
  }

  .shop-area-card .shop-area-title {
    max-width: 9ch;
    font-size: clamp(22px, 6.2vw, 32px);
    line-height: 0.98;
  }

  .shop-area-card .shop-area-copy {
    display: none;
  }

  .shop-area-card .shop-area-arrow {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 50%;
  }

  .shop-area-card .shop-area-arrow svg {
    width: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
  }

  /* Catalogue and product details */
  .shop-page.is-catalog {
    min-height: 100svh;
    background: var(--remz-mobile-paper);
  }

  .shop-page.is-catalog .product-listing {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: calc(var(--remz-header-height) + env(safe-area-inset-top)) 0 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    overflow: visible;
  }

  .shop-page.is-catalog .catalog-shop-header {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 22px var(--remz-mobile-gutter) 18px;
    display: grid;
    gap: 18px;
  }

  .catalog-area-tabs {
    width: calc(100% + (var(--remz-mobile-gutter) * 2));
    margin-inline: calc(var(--remz-mobile-gutter) * -1);
    padding-inline: var(--remz-mobile-gutter);
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .catalog-area-tabs::-webkit-scrollbar { display: none; }

  .catalog-area-tabs a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    font-size: 10px;
    letter-spacing: 0.14em;
    white-space: nowrap;
  }

  .catalog-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
  }

  .catalog-title-row h1 {
    min-width: 0;
    margin: 0;
    font-size: clamp(38px, 10.2vw, 54px);
    line-height: 0.98;
  }

  .catalog-count-label {
    flex: 0 0 auto;
    margin: 0 0 5px;
    font-size: 10px;
    white-space: nowrap;
  }

  .filter-drawer-toggle {
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--remz-mobile-line);
    background: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .filter-drawer-toggle svg {
    width: 20px;
  }

  .filter-count-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    display: inline-grid;
    place-items: center;
    border-radius: 20px;
    background: #111;
    color: #fff;
    font-size: 9px;
  }

  .listing-filters {
    position: fixed !important;
    inset: auto 0 0 !important;
    z-index: 160;
    width: 100% !important;
    max-height: min(86dvh, 760px);
    padding: 0 var(--remz-mobile-gutter) max(18px, env(safe-area-inset-bottom));
    display: block !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 0;
    background: #fcfbf8;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.24);
    opacity: 1;
    visibility: hidden;
    transform: translateY(104%);
    transition: transform 420ms var(--remz-mobile-ease), visibility 0s linear 420ms;
  }

  /* Let the fixed sheet participate in the page stacking context. The legacy
     section z-index otherwise traps it underneath the modal backdrop. */
  .shop-page.is-catalog .catalog-view {
    z-index: auto !important;
  }

  .is-filter-panel-open .listing-filters {
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .filter-drawer-head,
  .filter-drawer-actions {
    position: sticky;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fcfbf8;
  }

  .filter-drawer-head {
    top: 0;
    min-height: 68px;
    border-bottom: 1px solid var(--remz-mobile-line);
  }

  .filter-drawer-head strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 27px;
    font-weight: 400;
  }

  .filter-drawer-close {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    font-size: 26px;
  }

  .listing-filters .filter-group {
    margin: 0;
    padding: 22px 0;
    border-bottom: 1px solid var(--remz-mobile-line);
  }

  .listing-filters .filter-heading,
  .listing-filters legend {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }

  .listing-filters output {
    font-size: 12px;
    letter-spacing: 0;
  }

  .listing-filters input[type="range"] {
    width: 100%;
    min-height: 44px;
    margin: 0;
  }

  .filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .filter-options button {
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid var(--remz-mobile-line);
    background: #fff;
    font-size: 11px;
    line-height: 1.2;
  }

  .filter-options button.is-active {
    border-color: #15130f;
    background: #15130f;
    color: #fff;
  }

  .metal-options .metal-filter span {
    margin-right: 7px;
  }

  .filter-drawer-actions {
    bottom: calc(env(safe-area-inset-bottom) * -1);
    margin: 0 calc(var(--remz-mobile-gutter) * -1) calc(env(safe-area-inset-bottom) * -1);
    padding: 14px var(--remz-mobile-gutter) max(14px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--remz-mobile-line);
  }

  .filter-clear,
  .filter-apply {
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid #111;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .filter-clear {
    flex: 1;
    background: transparent;
  }

  .filter-apply {
    flex: 1.4;
    background: #111;
    color: #fff;
  }

  .is-catalog::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 260ms ease, visibility 0s linear 260ms;
  }

  .is-catalog.is-filter-panel-open::after {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .shop-page.is-catalog .listing-main {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 var(--remz-mobile-gutter) var(--remz-section-space);
  }

  .shop-page.is-catalog .listing-toolbar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 66px;
    margin: 0 0 14px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--remz-mobile-line);
    border-bottom: 1px solid var(--remz-mobile-line);
  }

  .view-modes {
    display: flex;
    gap: 6px;
  }

  .view-modes button {
    width: 44px;
    height: 44px;
  }

  .sort-panel {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  .sort-panel > p {
    display: none;
  }

  .sort-panel label {
    min-width: 0;
  }

  .sort-panel select {
    width: min(44vw, 180px);
    min-height: 44px;
    padding: 0 34px 0 10px;
    font-size: 16px !important;
  }

  .shop-page.is-catalog .catalog-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 10px !important;
  }

  .product-card,
  .listing-card {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0 0 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-content: start;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1 !important;
    transform: none !important;
  }

  .product-image-wrap {
    grid-column: 1 / -1;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f6f3ed;
  }

  .product-image-wrap img,
  .product-image-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: contain;
    background: #fff;
  }

  .product-angle {
    opacity: 0;
  }

  .product-brand,
  .product-name,
  .product-price {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .product-brand {
    margin-top: 13px;
    color: #7e6b41;
    font-size: 9px;
    line-height: 1.3;
    letter-spacing: 0.08em;
  }

  .product-name {
    margin-top: 6px;
    padding-right: 2px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(17px, 4.5vw, 23px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .product-price {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.3;
  }

  .quick-favourite {
    top: 8px;
    left: 8px;
    right: auto;
    z-index: 4;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(17, 16, 14, 0.15);
    background: rgba(255, 255, 255, 0.93);
  }

  .quick-add {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    min-height: 44px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--remz-mobile-line);
    background: transparent;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
  }

  .quick-add svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
  }

  .catalog-grid.is-feature-view {
    grid-template-columns: 1fr !important;
  }

  .catalog-grid.is-feature-view .product-card {
    max-width: 520px;
    margin-inline: auto;
  }

  .detail-view {
    min-height: 100svh;
    padding-top: calc(var(--remz-header-height) + env(safe-area-inset-top));
    display: block;
  }

  .shop-gallery,
  .shop-detail {
    width: 100%;
    min-height: 0;
  }

  .shop-gallery {
    padding: 18px var(--remz-mobile-gutter) 0;
  }

  .detail-back {
    min-height: 44px;
    margin-bottom: 8px;
  }

  .product-stage {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
    background: #f7f4ee;
  }

  .product-stage .shop-product-image,
  .product-stage .shop-product-video {
    width: 100%;
    height: 100% !important;
    object-fit: contain;
  }

  .shop-detail {
    padding: 30px var(--remz-mobile-gutter) var(--remz-section-space);
  }

  .detail-inner {
    width: 100%;
    max-width: none;
  }

  .shop-detail h2 {
    margin: 10px 0 16px;
    font-size: clamp(40px, 11vw, 58px);
    line-height: 0.98;
  }

  .shop-copy {
    font-size: 15px;
    line-height: 1.65;
  }

  .option-block {
    padding: 20px 0;
  }

  .color-options,
  .size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .color-choice,
  .size-options button,
  .size-select,
  .size-fixed {
    min-height: 46px;
    padding: 0 14px;
  }

  .purchase-row {
    display: grid;
    grid-template-columns: 1fr 52px;
    gap: 10px;
  }

  .add-button,
  .wish-button {
    min-height: 52px;
  }

  /* Gallery */
  .gallery-page {
    min-height: 100svh;
    padding-top: calc(var(--remz-header-height) + env(safe-area-inset-top));
  }

  .gallery-hero {
    min-height: 0;
    padding: 54px var(--remz-mobile-gutter) 38px;
    text-align: left;
  }

  .gallery-hero h1 {
    max-width: 8.5ch;
    margin: 14px 0 18px;
    font-size: clamp(48px, 13.5vw, 68px);
    line-height: 0.92;
  }

  .gallery-lead {
    max-width: 38ch;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
  }

  .gallery-shell {
    padding: 0 var(--remz-mobile-gutter) var(--remz-section-space);
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 8px;
  }

  .gallery-tile {
    position: relative;
    width: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #f5f2ec;
    aspect-ratio: 4 / 5;
  }

  .gallery-tile.is-wide,
  .gallery-tile.is-landscape {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }

  .gallery-tile.is-tall {
    aspect-ratio: 3 / 5;
  }

  .gallery-tile img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    background: #fff;
  }

  .gallery-tile.is-product-shot img {
    object-fit: contain;
  }

  .gallery-tile-copy {
    inset: auto 0 0;
    padding: 36px 12px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  }

  .gallery-tile-copy small {
    font-size: 8px;
  }

  .gallery-tile-copy strong {
    font-size: clamp(17px, 4.8vw, 23px);
    line-height: 1.05;
  }

  .gallery-lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    padding: max(64px, calc(env(safe-area-inset-top) + 52px)) var(--remz-mobile-gutter) max(24px, env(safe-area-inset-bottom));
    background: rgba(8, 8, 7, 0.97);
  }

  .gallery-lightbox figure {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 18px;
  }

  .gallery-lightbox figure img {
    width: 100%;
    height: 100% !important;
    min-height: 0;
    object-fit: contain;
  }

  .gallery-lightbox-close {
    top: max(12px, env(safe-area-inset-top));
    right: var(--remz-mobile-gutter);
    min-width: 64px;
    min-height: 44px;
  }

  .gallery-lightbox-nav {
    top: 48%;
    width: 48px;
    height: 48px;
    background: rgba(252, 251, 248, 0.9);
  }

  .gallery-lightbox-prev { left: 8px; }
  .gallery-lightbox-next { right: 8px; }

  /* CAD and bespoke */
  .cad-design-page {
    padding-top: calc(var(--remz-header-height) + env(safe-area-inset-top));
  }

  .cad-hero-rework {
    min-height: 0;
    padding: 50px var(--remz-mobile-gutter) 42px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cad-hero-copy {
    width: 100%;
  }

  .cad-hero-copy h1 {
    max-width: 8ch;
    margin: 16px 0 22px;
    font-size: clamp(54px, 15vw, 76px);
    line-height: 0.9;
  }

  .cad-hero-lead {
    max-width: 39ch;
    font-size: 14px;
    line-height: 1.65;
  }

  .cad-hero-actions {
    width: 100%;
    margin-top: 24px;
    display: grid;
    gap: 9px;
  }

  .cad-hero-actions a {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .cad-hero-plate {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 0.82;
    margin: 0;
  }

  .cad-ai-studio {
    padding: var(--remz-section-space) var(--remz-mobile-gutter);
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cad-ai-studio-copy h2,
  .cad-workbench-copy h2,
  .cad-next-copy h2 {
    margin: 16px 0 22px;
    font-size: clamp(42px, 11.8vw, 62px);
    line-height: 0.96;
  }

  .cad-ai-studio-deck,
  .cad-workbench-deck,
  .cad-next-copy > p:last-child {
    font-size: 14px;
    line-height: 1.7;
  }

  .cad-ai-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cad-ai-steps li {
    min-height: 100px;
    padding: 18px 0;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 5px 12px;
    border-bottom: 1px solid var(--remz-mobile-line);
  }

  .cad-ai-steps li span {
    grid-row: 1 / span 2;
  }

  .cad-ai-actions {
    display: grid;
    gap: 10px;
  }

  .cad-ai-primary,
  .cad-ai-enquiry {
    min-height: 52px;
  }

  .cad-ai-gallery-link {
    width: 100%;
    min-height: 0;
  }

  .cad-ai-gallery {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1.05;
  }

  .cad-flow-strip {
    padding: 28px var(--remz-mobile-gutter);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .cad-flow-strip .cad-spec {
    min-height: 220px;
    padding: 20px;
  }

  .cad-flow-strip .cad-spec strong {
    font-size: 28px;
  }

  .cad-flow-strip .cad-spec p {
    font-size: 12px;
    line-height: 1.55;
  }

  .cad-workbench {
    padding: var(--remz-section-space) var(--remz-mobile-gutter);
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cad-workbench-quote {
    margin: 28px 0;
    padding: 20px 0 20px 20px;
    font-size: 21px;
    line-height: 1.35;
  }

  .cad-decision-list > div {
    min-height: 0;
    padding: 18px 0;
  }

  .cad-workbench-image {
    width: 100%;
    margin: 0;
  }

  .cad-workbench-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: contain;
  }

  .cad-next-section {
    padding: var(--remz-section-space) var(--remz-mobile-gutter);
    display: grid;
    gap: 28px;
  }

  .cad-next-actions {
    display: grid;
    gap: 10px;
  }

  .cad-next-actions a {
    width: 100%;
    min-height: 52px;
  }

  /* Contact */
  .contact-page {
    padding-top: calc(var(--remz-header-height) + env(safe-area-inset-top));
  }

  .contact-hero-rework {
    min-height: 0;
    padding: 52px var(--remz-mobile-gutter) 44px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-hero-copy h1 {
    max-width: 8ch;
    margin: 16px 0 22px;
    font-size: clamp(52px, 14.5vw, 72px);
    line-height: 0.92;
  }

  .contact-hero-copy > p:last-child {
    max-width: 38ch;
    font-size: 15px;
    line-height: 1.65;
  }

  .contact-signature-panel {
    width: 100%;
    min-height: 0;
    padding: 28px;
  }

  .contact-signature-panel > img {
    width: 100px;
  }

  .contact-direct {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-direct-card {
    min-height: 68px;
    padding: 12px 0;
  }

  .contact-direct-card strong {
    overflow-wrap: anywhere;
  }

  .contact-intent-strip {
    padding: 24px var(--remz-mobile-gutter);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .contact-intent-strip > div {
    min-width: 0;
    min-height: 148px;
    padding: 16px 12px;
  }

  .contact-intent-strip strong {
    font-size: 17px;
  }

  .contact-intent-strip p {
    margin-top: 8px;
    font-size: 10px;
    line-height: 1.45;
  }

  .contact-workbench-rework {
    padding: var(--remz-section-space) var(--remz-mobile-gutter);
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-enquiry-guide h2,
  .contact-form-heading h2 {
    margin: 14px 0 22px;
    font-size: clamp(34px, 9.5vw, 48px);
    line-height: 1;
  }

  .contact-enquiry-guide ul {
    margin: 0;
    padding: 0;
  }

  .contact-enquiry-guide li {
    padding: 15px 0 15px 22px;
    font-size: 14px;
    line-height: 1.55;
  }

  .contact-form {
    width: 100%;
    padding: 26px 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-form label,
  .contact-form-wide,
  .contact-submit,
  .contact-form-status {
    grid-column: 1;
  }

  .contact-form textarea {
    min-height: 150px;
  }

  .contact-submit {
    min-height: 52px;
  }

  /* Favourites, checkout, pay */
  .favourites-page,
  .checkout-page,
  .pay-page {
    padding-top: calc(var(--remz-header-height) + env(safe-area-inset-top));
  }

  .favourites-layout {
    min-height: 0;
    padding: 48px var(--remz-mobile-gutter) var(--remz-section-space);
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .favourites-intro h1 {
    max-width: 8ch;
    margin: 16px 0 20px;
    font-size: clamp(52px, 14vw, 70px);
    line-height: 0.94;
    overflow-wrap: normal;
  }

  .favourites-intro p {
    max-width: 37ch;
    font-size: 15px;
    line-height: 1.65;
  }

  .favourites-grid,
  .favourites-empty {
    width: 100%;
    min-height: 320px;
    padding: 24px;
  }

  .favourite-card {
    min-height: 0;
    padding: 16px 0;
    grid-template-columns: 96px 1fr;
    gap: 16px;
  }

  .favourite-card img {
    width: 96px;
    aspect-ratio: 1;
    object-fit: contain;
  }

  .checkout-page {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
  }

  .checkout-review,
  .checkout-payment {
    width: 100%;
    min-height: 0;
    padding: 44px var(--remz-mobile-gutter);
  }

  .checkout-review h1 {
    margin: 12px 0 18px;
    font-size: clamp(38px, 10.5vw, 54px);
    line-height: 1;
  }

  .checkout-note,
  .payment-copy {
    font-size: 14px;
    line-height: 1.6;
  }

  .checkout-item {
    grid-template-columns: 84px 1fr auto;
    gap: 12px;
    min-height: 0;
    padding: 16px 0;
  }

  .checkout-item img {
    width: 84px;
    height: 84px;
    object-fit: contain;
  }

  .checkout-item button {
    min-width: 44px;
    min-height: 44px;
  }

  .shipping-option {
    min-height: 92px;
    padding: 14px;
    gap: 10px;
  }

  .shipping-option em {
    display: none;
  }

  .checkout-payment h2 {
    margin: 12px 0 18px;
    font-size: clamp(34px, 9.4vw, 48px);
    line-height: 1;
  }

  .payment-form,
  .payment-method-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .method-card {
    min-height: 64px;
  }

  .pay-button {
    min-height: 54px;
  }

  .pay-layout {
    min-height: 0;
    padding: 50px var(--remz-mobile-gutter) var(--remz-section-space);
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pay-panel,
  .pay-summary {
    width: 100%;
    min-height: 0;
    padding: 26px 20px;
  }

  .pay-panel h1 {
    margin: 12px 0 18px;
    font-size: clamp(48px, 13vw, 66px);
    line-height: 0.94;
  }

  /* Legal information */
  .legal-page {
    padding-top: calc(var(--remz-header-height) + env(safe-area-inset-top));
  }

  .legal-hero {
    min-height: 0 !important;
    padding: 54px var(--remz-mobile-gutter) 40px !important;
  }

  .legal-hero h1 {
    max-width: 10ch;
    margin: 12px 0 20px;
    font-size: clamp(48px, 13vw, 66px) !important;
    line-height: 0.94;
  }

  .legal-hero > p:not(.section-kicker):not(.cookie-updated) {
    max-width: 38ch;
    font-size: 15px;
    line-height: 1.65;
  }

  .legal-tabs {
    min-height: 58px;
    padding: 0 var(--remz-mobile-gutter);
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .legal-tabs::-webkit-scrollbar { display: none; }

  .legal-tabs a {
    flex: 0 0 auto;
    min-height: 52px;
    padding: 0 16px;
    display: flex;
    align-items: center;
  }

  .legal-shell {
    width: 100%;
    padding: 36px var(--remz-mobile-gutter) var(--remz-section-space);
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-index {
    position: static !important;
    width: calc(100% + (var(--remz-mobile-gutter) * 2));
    margin-inline: calc(var(--remz-mobile-gutter) * -1);
    padding: 0 var(--remz-mobile-gutter) 18px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .legal-index::-webkit-scrollbar { display: none; }

  .legal-index a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    border: 1px solid var(--remz-mobile-line);
    background: #fff;
    font-size: 11px;
    white-space: nowrap;
  }

  .legal-content {
    min-width: 0;
  }

  .legal-section {
    grid-template-columns: 34px minmax(0, 1fr) !important;
    gap: 14px;
    padding: 26px 0;
  }

  .legal-section > span {
    font-size: 21px;
  }

  .legal-section h2,
  .legal-cancellation h2 {
    font-size: clamp(29px, 8vw, 40px) !important;
    line-height: 1.02;
  }

  .legal-section p,
  .legal-section dd,
  .legal-cancellation p {
    font-size: 14px !important;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

  .legal-basis-list > div {
    padding: 14px 0;
  }

  .legal-cancellation {
    margin-top: 30px;
    padding: 24px 20px;
  }

  /* Staff */
  .staff-page {
    min-height: 100svh;
  }

  .staff-dashboard-page,
  .staff-login-page {
    padding-top: calc(var(--remz-header-height) + env(safe-area-inset-top));
  }

  .staff-login-panel {
    width: calc(100% - (var(--remz-mobile-gutter) * 2));
    max-width: 520px;
    min-height: 0;
    margin: 54px auto var(--remz-section-space);
    padding: 32px 22px;
  }

  .staff-login-panel h1 {
    margin: 14px 0 18px;
    font-size: clamp(48px, 13vw, 64px);
    line-height: 0.94;
  }

  .staff-form {
    display: grid;
    gap: 18px;
  }

  .staff-form button {
    min-height: 52px;
  }

  .staff-dashboard {
    width: 100%;
    padding: 46px var(--remz-mobile-gutter) var(--remz-section-space);
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .staff-dashboard-intro h2,
  .staff-gallery-copy h2,
  .staff-uploaded h2 {
    margin: 12px 0 14px;
    font-size: clamp(34px, 9.5vw, 48px);
    line-height: 1;
  }

  .staff-gallery-manager,
  .staff-upload-form,
  .staff-preview,
  .staff-uploaded {
    width: 100%;
    min-width: 0;
    padding: 24px 18px;
    grid-column: 1;
  }

  .staff-gallery-manager {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .staff-gallery-form,
  .staff-upload-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .staff-field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .staff-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .staff-checkboxes label,
  .staff-inline-check {
    min-height: 48px;
    padding: 10px;
  }

  .staff-form-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
  }

  .staff-submit,
  .staff-secondary {
    min-height: 50px;
    padding: 0 16px;
  }

  .staff-preview-image {
    aspect-ratio: 1 / 1;
  }

  .staff-preview-image img {
    width: 100%;
    height: 100% !important;
    object-fit: contain;
  }

  .staff-uploaded-grid,
  .staff-gallery-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Small phones */
@media (max-width: 360px) {
  :root {
    --remz-mobile-gutter: 16px;
  }

  .topbar,
  .shop-topbar {
    grid-template-columns: minmax(78px, 1fr) 44px 88px;
  }

  .topbar .brand {
    width: 88px;
  }

  .hero-copy-stack {
    width: min(76%, 270px);
  }

  .hero-copy-stack .headline {
    font-size: 43px;
  }

  .hero-copy-stack .hero-intro {
    font-size: 12px;
  }

  .shop-area-card,
  .shop-menu-grid .shop-area-card {
    padding: 13px !important;
  }

  .shop-area-card .shop-area-title {
    font-size: 20px;
  }

  .catalog-area-tabs {
    width: 100%;
    margin-inline: 0;
    padding-inline: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.9fr) minmax(0, 0.72fr);
    gap: 5px;
    overflow: visible;
  }

  .catalog-area-tabs a {
    width: 100%;
    min-width: 0;
    padding-inline: 4px;
    justify-content: center;
    text-align: center;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .catalog-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .catalog-count-label {
    margin: 0;
    justify-self: start;
  }

  .sort-panel::before,
  .sort-panel label::before {
    content: none !important;
    display: none !important;
  }

  .sort-panel select {
    width: 154px !important;
    flex: 0 0 154px;
    font-size: 14px !important;
  }

  .catalog-grid {
    gap-inline: 8px !important;
  }

  .product-name {
    font-size: 16px;
  }

  .product-brand {
    font-size: 8px;
  }

  .contact-intent-strip {
    grid-template-columns: 1fr;
  }

  .contact-intent-strip > div {
    min-height: 96px;
  }

  .site-footer .footer-main {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-contact {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-info-legal {
    grid-column: 1 !important;
    grid-row: auto !important;
    margin-top: 14px;
  }

  .staff-checkboxes {
    grid-template-columns: 1fr;
  }
}

/* Wide phones and tablets: keep the same hierarchy with more breathing room. */
@media (min-width: 601px) and (max-width: 900px) {
  :root {
    --remz-mobile-gutter: clamp(30px, 6vw, 52px);
  }

  .hero-copy-stack {
    width: min(48%, 360px);
  }

  .suggested-card {
    flex-basis: calc((100vw - (var(--remz-mobile-gutter) * 2) - 16px) / 2);
    width: calc((100vw - (var(--remz-mobile-gutter) * 2) - 16px) / 2);
  }

  .shop-menu-grid {
    gap: 14px;
  }

  .shop-area-card,
  .shop-menu-grid .shop-area-card {
    aspect-ratio: 4 / 3;
    padding: 24px !important;
  }

  .shop-area-card .shop-area-copy {
    max-width: 32ch;
    margin-top: 10px;
    display: block;
    font-size: 12px;
    line-height: 1.45;
  }

  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 34px 14px !important;
  }

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

  .gallery-tile.is-wide,
  .gallery-tile.is-landscape {
    grid-column: span 2;
  }

  .cad-hero-rework,
  .cad-ai-studio,
  .cad-workbench,
  .contact-hero-rework,
  .contact-workbench-rework {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .cad-flow-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cad-flow-strip .cad-spec {
    min-height: 270px;
  }

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

  .contact-form-heading,
  .contact-form-wide,
  .contact-submit,
  .contact-form-status {
    grid-column: 1 / -1;
  }

  .favourites-layout,
  .checkout-page,
  .pay-layout,
  .legal-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-index {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    align-content: start;
  }

  .staff-field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop safety and deliberate mid-width transition. */
@media (min-width: 901px) {
  .filter-drawer-head,
  .filter-drawer-actions,
  .filter-count-badge {
    display: none;
  }

  .about-ring-video-canvas {
    display: none !important;
  }

  .about-ring-video-direct {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    mix-blend-mode: multiply;
  }
}

/* ==========================================================================
   Header + menu adjustments (2026-08-24)
   Burger moves to the far right; menu rows lead with the label and close
   with their icon instead of a generic arrow.
   ========================================================================== */

@media (max-width: 900px) {
  /* brand | actions | burger  (burger was previously in the middle) */
  .topbar {
    grid-template-columns: minmax(86px, 1fr) auto 44px;
  }

  .topbar .actions {
    grid-column: 2;
  }

  .topbar .mobile-menu-toggle {
    grid-column: 3;
  }

  /* Label left, icon right. */
  .mobile-nav-links a {
    justify-content: space-between;
  }

  .mobile-nav-links a svg {
    order: 2;
    margin-left: auto;
  }

  .mobile-nav-links a::after {
    content: none;
  }

  /* Cleaner menu type: the tracked-out Playfair caps were heavy and forced
     "Get in touch" onto two lines. */
  .mobile-nav-links a {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(19px, 5.2vw, 24px) !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    min-height: 54px;
  }
}
