/* Interior layouts share the storefront's black, amber and condensed display palette. */
.rmy-skip {
  position: fixed;
  z-index: 210;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 12px 18px;
  border-radius: 9px;
  background: #ff7d37;
  color: #15100c;
  font-weight: 800;
}
.rmy-skip:focus { transform: translateY(0); }
.rmy-interior .rxt-global-nav {
  background: rgba(8, 8, 10, .94);
  border-bottom: 1px solid #252326;
}
.rmy-interior-main {
  padding: clamp(98px, 10vw, 128px) 0 76px;
  background: radial-gradient(ellipse at 90% 2%, #22130e 0, transparent 620px), #08080a;
}
.rmy-hero {
  --rmy-panel: #151416;
  position: relative;
  display: grid;
  align-items: stretch;
  min-height: 250px;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 100% 0, #562715 0, transparent 65%),
              linear-gradient(110deg, #141316 18%, #231612 100%);
  border: 1px solid #533523;
  border-radius: 24px;
  margin: 0 0 26px;
}
.rmy-hero:not(.has-cover)::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 40%;
  content: "";
  background: repeating-linear-gradient(125deg, transparent 0 25px, #f6824b22 25px 26px);
  mask-image: linear-gradient(90deg, transparent, #000);
}
.rmy-hero::after {
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 3px;
  content: "";
  background: linear-gradient(transparent, #ff7936, transparent);
  pointer-events: none;
}
.rmy-hero-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(25px, 5vw, 62px);
}
.rmy-hero h1, .rmy-service h1 {
  max-width: 18ch;
  margin: 0;
  color: #faf8f5;
  font: italic 900 clamp(2rem, 5.1vw, 4.55rem)/.98 var(--rxt-font);
  letter-spacing: -.052em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.rmy-hero-copy > p {
  max-width: 53ch;
  margin: 18px 0 0;
  color: #e4d7d0;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
}
.rmy-hero .rmy-breadcrumbs {
  margin: 0 0 20px;
  color: #cbc3bf;
  font-size: .79rem;
  line-height: 1.45;
}
.rmy-topic {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 14px;
  color: #ff9e70;
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.rmy-hero.has-cover {
  grid-template-columns: minmax(0, 1fr) minmax(0, .91fr);
  gap: 0;
  background: linear-gradient(125deg, #271a17, #101012 72%);
}
.rmy-hero.has-cover .rmy-hero-copy { grid-column: 1; grid-row: 1; }
.rmy-hero.has-cover h1 { font-size: clamp(2rem, 4.2vw, 3.9rem); }
.rmy-hero-cover { grid-column: 2; grid-row: 1; min-width: 0; min-height: 340px; position: relative; }
.rmy-hero-cover img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rmy-hero-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #171315 0, transparent 34%);
  pointer-events: none;
}
.rmy-interior-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .36fr); gap: 22px; align-items: start; }
.rmy-interior-columns.is-flow { display: block; }
.rmy-prose, .rmy-link-panel, .rmy-catalog-content, .rmy-search {
  min-width: 0;
  padding: clamp(18px, 3vw, 36px);
  background: #161518;
  border: 1px solid #343036;
  border-radius: 18px;
  color: #eee9e6;
}
.rmy-prose { font-size: clamp(1rem, 1.5vw, 1.09rem); line-height: 1.73; overflow-wrap: break-word; }
.rmy-prose :is(h2, h3, h4, caption, th, label, strong) { color: #faf7f4; }
.rmy-prose h2 { font-weight: 850; font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin: 1.75em 0 .6em; letter-spacing: -.025em; }
.rmy-prose h3 { font-size: 1.16rem; margin: 1.35em 0 .5em; }
.rmy-prose > :last-child { margin-bottom: 0; }
.rmy-prose ul, .rmy-prose ol { padding-inline-start: 1.25em; margin-inline-start: 0; }
.rmy-prose ul li, .rmy-prose ol li { margin-inline-start: 0; }
.rmy-prose a { color: #ffab83; text-decoration: underline; text-underline-offset: .17em; }
.rmy-prose :is(a, button):hover { color: #fff; }
.rmy-prose [id] { scroll-margin-top: 108px; }
.rmy-prose blockquote { margin-inline: 0; border-left-color: #ff7936; color: #f3e9e2; background: #221b1a; padding: 14px 19px; }
.rmy-prose blockquote > :last-child { margin-bottom: 0; }
.rmy-story-meta { color: #c4b9b2; font-size: .82rem; margin-bottom: 1rem; }
.rmy-interior-aside { display: grid; gap: 14px; position: sticky; top: 105px; }
.rmy-link-panel { padding: 20px; }
.rmy-link-panel h2 { color: #fff; font-size: 1.1rem; font-weight: 850; margin-bottom: 9px; }
.rmy-link-panel > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-block: 12px;
  border-top: 1px solid #363033;
  color: #eee8e5;
  font-weight: 650;
  line-height: 1.35;
}
.rmy-link-panel > a:hover { color: #ffad81; }
.rmy-link-panel > a > span + span { color: #ff9059; }
.rmy-contact-card { display: grid; gap: 6px; padding: 20px; border: 1px solid #83462d; border-radius: 16px; background: linear-gradient(140deg, #371b12, #211715); color: #f7e8df; line-height: 1.4; }
.rmy-contact-card strong { color: #ffab7e; }
.rmy-editorial-grid, .rmy-catalog-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin: 0 0 25px; }
.rmy-editorial-card { border: 1px solid #3e3434; border-radius: 17px; overflow: hidden; background: #181619; }
.rmy-editorial-card > a { height: 100%; display: flex; flex-direction: column; }
.rmy-card-cover { overflow: hidden; aspect-ratio: 16 / 9; background: #292123; }
.rmy-card-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .24s ease; }
.rmy-editorial-card a:hover img { transform: scale(1.045); }
.rmy-card-copy { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.rmy-card-copy h2 { color: #fff; font-size: clamp(1.07rem, 2.1vw, 1.35rem); line-height: 1.25; letter-spacing: -.02em; margin: 0 0 .55rem; }
.rmy-card-copy p { margin: 0 0 13px; color: #d2c4bf; font-size: .92rem; line-height: 1.43; }
.rmy-card-arrow { color: #ff9059; font-size: 1.25rem; margin-top: auto; }
.rmy-catalog-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #75402c; border-radius: 13px; padding: 16px; color: #f7ede8; font-weight: 800; background: linear-gradient(120deg, #2e1c17, #171517); }
.rmy-catalog-nav a span { color: #ff9059; }
.rmy-catalog-content { margin-bottom: 18px; }
.rmy-search { margin-bottom: 20px; max-width: 640px; }
.rmy-search label { display: block; color: #fff; font-size: .9rem; }
.rmy-search > div { display: flex; gap: 8px; }
.rmy-search input { min-width: 0; height: 44px; margin: 0; background: #0f0e10; color: #fff; border: 1px solid #574740; }
.rmy-search button { margin: 0; min-height: 44px; background: #ff8946; color: #19100a; border-radius: 7px; }
.rmy-collection .page-numbers, .rmy-empty { color: #f8eae0; }
.rmy-service .rxt-contact-hero, .rmy-service .rxt-track-hero {
  max-width: 100%;
  text-align: left;
}
.rmy-service .rxt-contact-hero {
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid #603923;
  border-radius: 22px;
  background: radial-gradient(ellipse at 96% 0, #582715, transparent 65%), #151417;
}
.rmy-service .rxt-track-hero h1 { margin: 0 auto 24px; text-align: center; }
.rmy-service .rxt-contact-hero > p { margin-inline: 0; color: #ebded6; }
.rmy-service .rxt-contact-grad { color: #ff925b; background: none; }
.rmy-interior :is(a, button, input, textarea, select, .rmy-table-scroll):focus-visible { outline: 2px solid #ff975e; outline-offset: 3px; }
.rmy-prose.rmy-commerce .woocommerce :is(input:not([type=submit]):not([type=checkbox]), select, textarea) { background: #101013; color: #fff; border-color: #65524a; }
.rmy-prose.rmy-commerce .woocommerce :is(button, input[type=submit], .button) { color: #1a0f08; background-color: #ff9357; }

@media (max-width: 950px) {
  .rmy-editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .rmy-hero.has-cover, .rmy-interior-columns { grid-template-columns: 1fr; }
  .rmy-hero.has-cover .rmy-hero-copy { grid-column: 1; grid-row: 1; }
  .rmy-hero-cover { grid-column: 1; grid-row: 2; min-height: 0; aspect-ratio: 16 / 9; }
  .rmy-hero-cover::after { background: linear-gradient(#171315, transparent 26%); }
  .rmy-interior-aside { position: static; }
}
@media (max-width: 599px) {
  .rmy-interior-main { padding-top: 91px; }
  .rmy-interior-main .rxt-container { padding-inline: 18px; }
  .rmy-hero { min-height: 166px; border-radius: 17px; margin-bottom: 15px; }
  .rmy-hero .rmy-breadcrumbs { margin-bottom: 12px; }
  .rmy-editorial-grid, .rmy-catalog-nav { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .rmy-card-cover img { transition: none; }
}

.rmy-prose .rmy-table-scroll { overflow-x: auto; margin-block: 1.4rem; }
.rmy-prose .rmy-table-scroll table { min-width: 34rem; margin: 0; }
.rmy-prose .rmy-table-scroll caption { text-align: left; padding: .55rem 0; font-weight: 800; }
.rmy-prose table :is(td, th) { border-bottom-color: #443b3e; color: #f7efe9; }
.rmy-prose table thead { background: #2b211e; }
.rmy-prose .rmy-table-scroll:focus-visible { outline-offset: 0; }
