/* ==========================================================================
   Ruth M. Tibi, Adv. — Components & Page Layouts
   Built on design-tokens/tokens.css. Logical properties throughout, so every
   layout mirrors correctly between Hebrew/Arabic (RTL) and English/Spanish (LTR).
   ========================================================================== */

/* ==========================================================================
   1. Header & navigation
   ========================================================================== */
.rmt-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--rmt-ink-900);
  color: var(--rmt-on-dark);
  border-block-end: 1px solid var(--rmt-line-dark);
  height: var(--rmt-header-height);
  display: flex;
  align-items: center;
  transition: height var(--rmt-duration-normal) var(--rmt-ease-out),
              box-shadow var(--rmt-duration-normal) var(--rmt-ease-out),
              background-color var(--rmt-duration-normal) var(--rmt-ease-out);
}

/* Set by components.js while syncing the header to a restored scroll position */
.rmt-header.rmt-no-anim,
.rmt-header.rmt-no-anim * {
  transition: none !important;
}

.rmt-header.is-scrolled {
  height: var(--rmt-header-height-shrunk);
  background-color: rgba(46, 15, 21, 0.96);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.6);
}

.rmt-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rmt-space-6);
}

.rmt-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.rmt-brand-logo {
  height: 54px;
  width: auto;
  transition: height var(--rmt-duration-normal) var(--rmt-ease-out);
}
.rmt-header.is-scrolled .rmt-brand-logo { height: 46px; }

.rmt-nav-desktop { display: none; }

@media (min-width: 1100px) {
  .rmt-nav-desktop {
    display: flex;
    align-items: center;
    gap: clamp(1.1rem, 0.2rem + 1.4vw, 2rem);
    margin-inline-end: auto;
  }
}

.rmt-nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--rmt-on-dark-muted);
  padding-block: 0.4rem;
  white-space: nowrap;
  transition: color var(--rmt-duration-fast) ease;
}
.rmt-nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -2px;
  height: 1px;
  background: var(--rmt-copper-bright);
  transform: scaleX(0);
  transform-origin: var(--rmt-origin-start, right);
  transition: transform var(--rmt-duration-normal) var(--rmt-ease-out);
}
[dir="ltr"] .rmt-nav-link::after { --rmt-origin-start: left; }
.rmt-nav-link:hover { color: var(--rmt-on-dark); }
.rmt-nav-link:hover::after,
.rmt-nav-link.is-active::after { transform: scaleX(1); }
.rmt-nav-link.is-active { color: var(--rmt-on-dark); }

.rmt-header-actions {
  display: flex;
  align-items: center;
  gap: var(--rmt-space-3);
}

.rmt-header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--rmt-on-dark);
  padding-inline: 0.25rem;
  transition: color var(--rmt-duration-fast) ease;
}
.rmt-header-phone svg { color: var(--rmt-copper-bright); }
.rmt-header-phone:hover { color: var(--rmt-copper-bright); }

@media (min-width: 1280px) {
  .rmt-header-phone { display: inline-flex; }
}

.rmt-header-actions .rmt-header-cta { display: none; }
@media (min-width: 768px) {
  .rmt-header-actions .rmt-header-cta { display: inline-flex; }
}

/* Tighter header on small desktops so longer English/Spanish labels still fit */
@media (min-width: 1100px) and (max-width: 1279px) {
  .rmt-header-inner { gap: var(--rmt-space-4); }
  .rmt-nav-link { font-size: 0.9rem; }
  .rmt-header-cta { padding-inline: 1.1rem; }
}

/* --- Language selector --- */
/* Shown at every width: on phones it sits beside the hamburger, so visitors who don't read
   Hebrew can switch without opening the menu. */
.rmt-lang-selector {
  position: relative;
  display: inline-block;
}
@media (max-width: 767px) {
  .rmt-lang-selector-btn { min-height: 44px; }
}

.rmt-lang-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: 1px solid var(--rmt-line-dark);
  color: var(--rmt-on-dark-muted);
  padding: 0.5rem 0.8rem;
  border-radius: var(--rmt-radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  line-height: 1.2;
  transition: border-color var(--rmt-duration-fast) ease, color var(--rmt-duration-fast) ease;
}
.rmt-lang-selector-btn:hover,
.rmt-lang-selector.is-open .rmt-lang-selector-btn {
  border-color: rgba(191, 160, 106, 0.6);
  color: var(--rmt-on-dark);
}

.rmt-lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 190px;
  display: none;
  flex-direction: column;
  padding: 6px;
  background: var(--rmt-ink-800);
  border: 1px solid var(--rmt-line-dark);
  border-radius: var(--rmt-radius-md);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.55);
  z-index: 1100;
}
.rmt-lang-selector.is-open .rmt-lang-dropdown-menu {
  display: flex;
  animation: rmtDropdown 220ms var(--rmt-ease-out);
}
@keyframes rmtDropdown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.rmt-lang-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: transparent;
  border: 0;
  border-radius: var(--rmt-radius-sm);
  color: var(--rmt-on-dark-muted);
  font-size: 0.9rem;
  cursor: pointer;
  text-align: start;
  transition: background-color var(--rmt-duration-fast) ease, color var(--rmt-duration-fast) ease;
}
.rmt-lang-dropdown-item:hover {
  background: rgba(247, 244, 239, 0.06);
  color: var(--rmt-on-dark);
}
.rmt-lang-dropdown-item.is-active {
  color: var(--rmt-on-dark);
  background: rgba(191, 160, 106, 0.14);
}
.rmt-lang-dropdown-item.is-active .rmt-lang-native::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rmt-copper-bright);
  margin-inline-end: 0.55rem;
  vertical-align: middle;
}
.rmt-lang-native { font-weight: 500; }
.rmt-lang-trans { font-size: 0.75rem; color: var(--rmt-on-dark-faint); }

/* --- Hamburger --- */
.rmt-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--rmt-line-dark);
  border-radius: var(--rmt-radius-sm);
  cursor: pointer;
}
.rmt-menu-bar {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--rmt-on-dark);
  transition: transform var(--rmt-duration-normal) var(--rmt-ease-out), opacity var(--rmt-duration-fast) ease;
}
.rmt-menu-btn[aria-expanded="true"] .rmt-menu-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.rmt-menu-btn[aria-expanded="true"] .rmt-menu-bar:nth-child(2) { opacity: 0; }
.rmt-menu-btn[aria-expanded="true"] .rmt-menu-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (min-width: 1100px) {
  .rmt-menu-btn { display: none; }
}

/* --- Mobile drawer --- */
.rmt-mobile-drawer {
  position: fixed;
  inset: var(--rmt-header-height) 0 0 0;
  z-index: 990;
  background: var(--rmt-ink-900);
  color: var(--rmt-on-dark);
  padding: var(--rmt-space-6) var(--rmt-gutter) var(--rmt-space-8);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--rmt-space-6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--rmt-duration-normal) var(--rmt-ease-out),
              transform var(--rmt-duration-normal) var(--rmt-ease-out),
              visibility 0s linear var(--rmt-duration-normal);
}
.rmt-mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.rmt-header.is-scrolled ~ .rmt-mobile-drawer { inset-block-start: var(--rmt-header-height-shrunk); }

.rmt-mobile-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.rmt-mobile-nav li { border-block-end: 1px solid var(--rmt-line-dark); }
.rmt-mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  font-family: var(--rmt-font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--rmt-on-dark);
}
.rmt-mobile-nav-link.is-active { color: var(--rmt-copper-bright); }

.rmt-mobile-drawer.is-open .rmt-mobile-nav li {
  animation: rmtRise 600ms var(--rmt-ease-out) both;
}
.rmt-mobile-drawer.is-open .rmt-mobile-nav li:nth-child(2) { animation-delay: 50ms; }
.rmt-mobile-drawer.is-open .rmt-mobile-nav li:nth-child(3) { animation-delay: 100ms; }
.rmt-mobile-drawer.is-open .rmt-mobile-nav li:nth-child(4) { animation-delay: 150ms; }
.rmt-mobile-drawer.is-open .rmt-mobile-nav li:nth-child(5) { animation-delay: 200ms; }
.rmt-mobile-drawer.is-open .rmt-mobile-nav li:nth-child(6) { animation-delay: 250ms; }

.rmt-mobile-lang-box {
  border: 1px solid var(--rmt-line-dark);
  border-radius: var(--rmt-radius-md);
  padding: var(--rmt-space-4);
}
.rmt-mobile-lang-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--rmt-on-dark-muted);
  margin-block-end: var(--rmt-space-3);
}
.rmt-mobile-lang-label svg { color: var(--rmt-copper-bright); }
.rmt-mobile-lang-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.rmt-mobile-lang-btn {
  padding: 0.7rem;
  background: transparent;
  border: 1px solid var(--rmt-line-dark);
  border-radius: var(--rmt-radius-sm);
  color: var(--rmt-on-dark-muted);
  font-size: 0.95rem;
  cursor: pointer;
}
.rmt-mobile-lang-btn.is-active {
  border-color: var(--rmt-copper-bright);
  color: var(--rmt-on-dark);
  background: rgba(191, 160, 106, 0.12);
}

.rmt-mobile-footer {
  display: flex;
  flex-direction: column;
  gap: var(--rmt-space-3);
  margin-block-start: auto;
}

/* ==========================================================================
   2. Buttons & links
   ========================================================================== */
.rmt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--rmt-radius-sm);
  font-family: var(--rmt-font-sans);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--rmt-duration-fast) ease,
              border-color var(--rmt-duration-fast) ease,
              color var(--rmt-duration-fast) ease,
              transform var(--rmt-duration-fast) var(--rmt-ease-out),
              box-shadow var(--rmt-duration-fast) ease;
}
.rmt-btn:active { transform: translateY(1px); }
.rmt-btn:disabled { opacity: 0.6; cursor: progress; }

.rmt-btn-primary {
  background-color: var(--rmt-copper);
  color: var(--rmt-white);
  box-shadow: 0 10px 24px -14px rgba(78, 28, 39, 0.9);
}
.rmt-btn-primary:hover {
  background-color: var(--rmt-copper-deep);
  box-shadow: 0 14px 28px -14px rgba(78, 28, 39, 0.95);
}

/* On the dark surfaces burgundy would sink into the background, so the main button turns gold there */
:is(.rmt-header, .rmt-mobile-drawer, .rmt-hero, .rmt-page-hero, .rmt-article-hero, .rmt-cta-banner, .rmt-office-panel, .rmt-article-cta, .rmt-404-section, .rmt-cookie-inner, .rmt-footer, .rmt-press-aside, .rmt-on-dark, .rmt-bg-ink) .rmt-btn-primary {
  background-color: var(--rmt-copper-bright);
  color: var(--rmt-ink-900);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.6);
}
:is(.rmt-header, .rmt-mobile-drawer, .rmt-hero, .rmt-page-hero, .rmt-article-hero, .rmt-cta-banner, .rmt-office-panel, .rmt-article-cta, .rmt-404-section, .rmt-cookie-inner, .rmt-footer, .rmt-press-aside, .rmt-on-dark, .rmt-bg-ink) .rmt-btn-primary:hover {
  background-color: var(--rmt-copper-glow);
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.7);
}

.rmt-btn-secondary {
  background-color: transparent;
  border-color: rgba(60, 51, 52, 0.28);
  color: var(--rmt-ink);
}
.rmt-btn-secondary:hover {
  border-color: var(--rmt-ink);
  background-color: var(--rmt-ink);
  color: var(--rmt-on-dark);
}

/* Secondary buttons flip to light-on-dark inside dark surfaces */
.rmt-on-dark .rmt-btn-secondary,
.rmt-hero .rmt-btn-secondary,
.rmt-cta-banner .rmt-btn-secondary,
.rmt-page-hero .rmt-btn-secondary,
.rmt-mobile-drawer .rmt-btn-secondary,
.rmt-404-section .rmt-btn-secondary {
  border-color: rgba(247, 244, 239, 0.35);
  color: var(--rmt-on-dark);
}
.rmt-on-dark .rmt-btn-secondary:hover,
.rmt-hero .rmt-btn-secondary:hover,
.rmt-cta-banner .rmt-btn-secondary:hover,
.rmt-page-hero .rmt-btn-secondary:hover,
.rmt-mobile-drawer .rmt-btn-secondary:hover,
.rmt-404-section .rmt-btn-secondary:hover {
  background-color: var(--rmt-on-dark);
  border-color: var(--rmt-on-dark);
  color: var(--rmt-ink-900);
}

/* Quiet text-style action (used for secondary calls to action in dense lists) */
.rmt-btn-text {
  min-height: 0;
  padding: 0.35rem 0;
  background: none;
  border: 0;
  border-block-end: 1px solid currentColor;
  border-radius: 0;
  color: var(--rmt-copper-deep);
  font-weight: 500;
}
.rmt-btn-text:hover { color: var(--rmt-ink); }

.rmt-link {
  color: var(--rmt-copper-deep);
  font-weight: 500;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--rmt-duration-normal) var(--rmt-ease-out), color var(--rmt-duration-fast) ease;
}
.rmt-link:hover { color: var(--rmt-ink); }

.rmt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rmt-space-3);
  align-items: center;
}

/* ==========================================================================
   3. Shared dark surfaces: page hero, CTA band
   ========================================================================== */
.rmt-page-hero,
.rmt-article-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--rmt-ink-900);
  background-image:
    radial-gradient(ellipse 70% 90% at 0% 0%, rgba(191, 160, 106, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 70% at 100% 100%, rgba(171, 155, 142, 0.10), transparent 60%);
  color: var(--rmt-on-dark);
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem) clamp(3.5rem, 2.5rem + 4.5vw, 6.5rem);
}
[dir="ltr"] .rmt-page-hero,
[dir="ltr"] .rmt-article-hero {
  background-image:
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(191, 160, 106, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(171, 155, 142, 0.10), transparent 60%);
}

/* Fine architectural rules in the hero background */
.rmt-page-hero::before,
.rmt-article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(247, 244, 239, 0.035) 0 1px, transparent 1px 120px);
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}
.rmt-page-hero > *,
.rmt-article-hero > * { position: relative; }

.rmt-page-hero::after,
.rmt-article-hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 2px;
  background: var(--rmt-monogram);
  opacity: 0.85;
}

.rmt-page-hero h1,
.rmt-article-hero h1 {
  font-size: var(--rmt-h1);
  font-weight: 500;
  color: var(--rmt-on-dark);
  max-width: 20ch;
  margin-block: var(--rmt-space-2) var(--rmt-space-5);
}
.rmt-page-hero .rmt-eyebrow,
.rmt-article-hero .rmt-eyebrow { color: var(--rmt-copper-bright); }
.rmt-page-hero .rmt-lead-text { color: var(--rmt-on-dark-muted); max-width: 60ch; }

.rmt-page-hero h1,
.rmt-page-hero .rmt-eyebrow,
.rmt-page-hero .rmt-lead-text,
.rmt-page-hero .rmt-cluster-nav,
.rmt-page-hero .rmt-service-index,
.rmt-article-hero h1,
.rmt-article-hero .rmt-eyebrow {
  animation: rmtRise 900ms var(--rmt-ease-out) both;
}
.rmt-page-hero .rmt-eyebrow, .rmt-article-hero .rmt-eyebrow { animation-delay: 60ms; }
.rmt-page-hero h1, .rmt-article-hero h1 { animation-delay: 140ms; }
.rmt-page-hero .rmt-lead-text { animation-delay: 240ms; }
.rmt-page-hero .rmt-cluster-nav,
.rmt-page-hero .rmt-service-index { animation-delay: 340ms; }

.rmt-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--rmt-micro);
  color: var(--rmt-on-dark-faint);
  margin-block-end: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.rmt-breadcrumb a { color: var(--rmt-on-dark-muted); transition: color var(--rmt-duration-fast) ease; }
.rmt-breadcrumb a:hover { color: var(--rmt-copper-bright); }
.rmt-breadcrumb [aria-current="page"] { color: var(--rmt-on-dark); }

/* --- CTA band --- */
.rmt-cta-banner {
  position: relative;
  overflow: hidden;
  background-color: var(--rmt-ink-900);
  background-image:
    radial-gradient(ellipse 55% 120% at 50% 120%, rgba(191, 160, 106, 0.22), transparent 70%);
  color: var(--rmt-on-dark);
  padding-block: clamp(4.5rem, 3rem + 5vw, 8rem);
  text-align: center;
}
.rmt-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(247, 244, 239, 0.03) 0 1px, transparent 1px 120px);
  pointer-events: none;
}
.rmt-cta-content {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--rmt-space-5);
}
.rmt-cta-content::before {
  content: "";
  width: 48px;
  height: 2px;
  background: var(--rmt-monogram);
}
.rmt-cta-title {
  font-size: var(--rmt-h2);
  font-weight: 500;
  color: var(--rmt-on-dark);
}
.rmt-cta-subtitle {
  font-size: var(--rmt-lead);
  color: var(--rmt-on-dark-muted);
  max-width: 56ch;
}
.rmt-cta-content > div,
.rmt-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--rmt-space-3);
  margin-block-start: var(--rmt-space-2);
}

/* ==========================================================================
   4. Home — hero
   ========================================================================== */
.rmt-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--rmt-ink-900);
  background-image:
    radial-gradient(ellipse 60% 80% at 15% 30%, rgba(191, 160, 106, 0.13), transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 110%, rgba(171, 155, 142, 0.10), transparent 60%);
  color: var(--rmt-on-dark);
}
[dir="ltr"] .rmt-hero {
  background-image:
    radial-gradient(ellipse 60% 80% at 85% 30%, rgba(191, 160, 106, 0.13), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 110%, rgba(171, 155, 142, 0.10), transparent 60%);
}
.rmt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(247, 244, 239, 0.03) 0 1px, transparent 1px 120px);
  pointer-events: none;
}

.rmt-hero-grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 3vw, 5rem);
  padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(3.5rem, 2rem + 4vw, 6rem);
  align-items: center;
}
@media (min-width: 960px) {
  .rmt-hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
    min-height: min(calc(100svh - var(--rmt-header-height)), 900px);
  }
}

.rmt-hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--rmt-font-serif);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--rmt-copper-bright);
  max-width: 36ch;
  margin-block-end: var(--rmt-space-5);
}
.rmt-hero-kicker::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.rmt-hero-title {
  font-size: var(--rmt-display);
  font-weight: 500;
  line-height: 1;
  color: var(--rmt-on-dark);
  margin-block-end: var(--rmt-space-6);
  text-wrap: balance;
}

.rmt-hero-lead {
  font-size: var(--rmt-lead);
  line-height: 1.75;
  color: var(--rmt-on-dark-muted);
  max-width: 54ch;
  margin-block-end: var(--rmt-space-8);
}

.rmt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rmt-space-3);
}

/* "As featured in ynet" — a quiet press mention under the actions */
.rmt-hero-press {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-block-start: var(--rmt-space-5);
  font-size: var(--rmt-small);
  color: var(--rmt-on-dark-faint);
  transition: color var(--rmt-duration-fast) ease;
}
.rmt-hero-press-source {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--rmt-on-dark);
  direction: ltr;
  unicode-bidi: isolate;
  border-block-end: 1px solid var(--rmt-copper-bright);
  transition: color var(--rmt-duration-fast) ease;
}
.rmt-hero-press:hover { color: var(--rmt-on-dark-muted); }
.rmt-hero-press:hover .rmt-hero-press-source { color: var(--rmt-copper-bright); }

/* Credentials rail under the actions */
.rmt-hero-rail {
  display: grid;
  gap: var(--rmt-space-5);
  margin-block-start: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-block-start: var(--rmt-space-6);
  border-block-start: 1px solid var(--rmt-line-dark);
}
@media (min-width: 640px) {
  .rmt-hero-rail { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: var(--rmt-space-8); }
}

.rmt-hero-stat {
  display: flex;
  align-items: center;
  gap: var(--rmt-space-4);
}
.rmt-hero-stat-num {
  font-family: var(--rmt-font-serif);
  font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
  color: var(--rmt-copper-bright);
  direction: ltr;
  unicode-bidi: isolate;
}
.rmt-hero-stat-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: var(--rmt-small);
  line-height: 1.45;
  color: var(--rmt-on-dark-muted);
}
.rmt-hero-stat-text strong {
  font-weight: 500;
  color: var(--rmt-on-dark);
  font-size: 1rem;
}

/* Languages statement */
.rmt-hero-languages { min-width: 0; }
.rmt-hero-lang-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--rmt-space-3);
  margin-block-end: var(--rmt-space-3);
}
.rmt-hero-lang-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--rmt-small);
  font-weight: 500;
  color: var(--rmt-on-dark);
}
.rmt-hero-lang-title svg { color: var(--rmt-copper-bright); }

.rmt-lang-switcher {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--rmt-line-dark);
  border-radius: var(--rmt-radius-sm);
}
.rmt-lang-btn {
  padding: 0.3rem 0.65rem;
  background: transparent;
  border: 0;
  border-radius: 1px;
  color: var(--rmt-on-dark-faint);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color var(--rmt-duration-fast) ease, color var(--rmt-duration-fast) ease;
}
.rmt-lang-btn:hover { color: var(--rmt-on-dark); }
.rmt-lang-btn.is-active {
  background: var(--rmt-on-dark);
  color: var(--rmt-ink-900);
}

.rmt-hero-lang-content { min-height: 3.2em; }
.rmt-hero-lang-panel {
  display: none;
  font-size: var(--rmt-small);
  line-height: 1.65;
  color: var(--rmt-on-dark-muted);
}
.rmt-hero-lang-panel.is-active {
  display: block;
  animation: rmtFade 400ms ease both;
}
.rmt-hero-lang-panel[dir="ltr"] { text-align: left; }
.rmt-hero-lang-panel[dir="rtl"] { text-align: right; }

/* Portrait */
.rmt-hero-portrait {
  position: relative;
  justify-self: center;
  width: min(100%, 400px);
  margin: 0;
}
.rmt-hero-portrait::before {
  content: "";
  position: absolute;
  inset-block: 22px -22px;
  inset-inline: 22px -22px;
  border: 1px solid rgba(191, 160, 106, 0.55);
  pointer-events: none;
}
/* The whole photo at its own 2:3 proportions: any crop cuts her hair at the top or her hands at the bottom */
.rmt-hero-portrait img {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.rmt-hero-portrait figcaption {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  padding: var(--rmt-space-8) var(--rmt-space-5) var(--rmt-space-4);
  background: linear-gradient(to top, rgba(35, 11, 16, 0.85), transparent);
  color: var(--rmt-on-dark);
  font-family: var(--rmt-font-serif);
  font-size: 1.05rem;
}

/* Below desktop the portrait moves up between the name and the lead */
@media (max-width: 959px) {
  .rmt-hero-grid { gap: 0; }
  .rmt-hero-text { display: contents; }
  .rmt-hero-kicker { order: 1; }
  .rmt-hero-title { order: 2; }
  .rmt-hero-portrait { order: 3; justify-self: start; width: min(calc(100% - 14px), 340px); margin-block: var(--rmt-space-2) var(--rmt-space-10); }
  .rmt-hero-portrait::before { inset-block: 14px -14px; inset-inline: 14px -14px; }
  .rmt-hero-lead { order: 4; }
  .rmt-hero-actions { order: 5; }
  .rmt-hero-press { order: 6; justify-self: start; }
  .rmt-hero-rail { order: 7; }
}
@media (max-width: 480px) {
  .rmt-hero-actions .rmt-btn { flex: 1 1 100%; }
}

/* Hero entrance */
.rmt-hero .rmt-hero-kicker { animation: rmtRise 900ms var(--rmt-ease-out) 80ms both; }
.rmt-hero .rmt-hero-title { animation: rmtRise 1000ms var(--rmt-ease-out) 180ms both; }
.rmt-hero .rmt-hero-lead { animation: rmtRise 900ms var(--rmt-ease-out) 320ms both; }
.rmt-hero .rmt-hero-actions { animation: rmtRise 900ms var(--rmt-ease-out) 440ms both; }
.rmt-hero .rmt-hero-press { animation: rmtFade 1000ms ease 560ms both; }
.rmt-hero .rmt-hero-rail { animation: rmtFade 1200ms ease 640ms both; }
.rmt-hero .rmt-hero-portrait { animation: rmtRise 1200ms var(--rmt-ease-out) 120ms both; }

/* ==========================================================================
   5. Home — values (advantages)
   ========================================================================== */
.rmt-values-grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
}
@media (min-width: 960px) {
  .rmt-values-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr); align-items: start; }
  .rmt-values-intro { position: sticky; top: calc(var(--rmt-header-height-shrunk) + 3rem); }
}
.rmt-values-intro h2 { margin-block-end: var(--rmt-space-5); }
.rmt-values-intro .rmt-lead-text { margin-block-end: var(--rmt-space-8); }

.rmt-values-list {
  display: flex;
  flex-direction: column;
  border-block-start: 1px solid var(--rmt-line);
}

.rmt-advantage-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: var(--rmt-space-5);
  row-gap: var(--rmt-space-2);
  padding-block: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  border-block-end: 1px solid var(--rmt-line);
  position: relative;
}
@media (min-width: 720px) {
  .rmt-advantage-card {
    grid-template-columns: 56px minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: baseline;
  }
  .rmt-advantage-card p { grid-column: 3; grid-row: 1; }
}
.rmt-advantage-card::before {
  content: "";
  position: absolute;
  inset-block-start: -1px;
  inset-inline-start: 0;
  width: 0;
  height: 1px;
  background: var(--rmt-copper);
  transition: width 700ms var(--rmt-ease-out);
}
.rmt-advantage-card:hover::before { width: 100%; }

.rmt-advantage-icon {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--rmt-sand);
  color: var(--rmt-copper-deep);
  background: var(--rmt-card);
  align-self: start;
  transition: background-color var(--rmt-duration-normal) ease, color var(--rmt-duration-normal) ease, border-color var(--rmt-duration-normal) ease;
}
@media (min-width: 720px) {
  .rmt-advantage-icon { grid-row: 1; align-self: center; }
}
.rmt-advantage-icon svg { width: 22px; height: 22px; }
.rmt-advantage-card:hover .rmt-advantage-icon {
  background: var(--rmt-ink-900);
  border-color: var(--rmt-ink-900);
  color: var(--rmt-copper-bright);
}

.rmt-advantage-title {
  font-family: var(--rmt-font-serif);
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.45rem);
  font-weight: 500;
  color: var(--rmt-ink);
}
.rmt-advantage-card p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--rmt-muted);
}

/* ==========================================================================
   6. Practice-area cards & slider
   ========================================================================== */
.rmt-services-slider-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--rmt-space-6);
  margin-block-end: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.rmt-services-slider-header .rmt-section-header { margin-block-end: 0; }

.rmt-slider-controls {
  display: flex;
  align-items: center;
  gap: var(--rmt-space-3);
}
.rmt-slider-btn {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(60, 51, 52, 0.25);
  background: transparent;
  color: var(--rmt-ink);
  cursor: pointer;
  transition: background-color var(--rmt-duration-fast) ease, color var(--rmt-duration-fast) ease, border-color var(--rmt-duration-fast) ease;
}
.rmt-slider-btn:hover:not(:disabled) {
  background: var(--rmt-ink-900);
  border-color: var(--rmt-ink-900);
  color: var(--rmt-on-dark);
}
.rmt-slider-btn:disabled { opacity: 0.35; cursor: default; }
[dir="ltr"] .rmt-slider-btn svg { transform: scaleX(-1); }
.rmt-slider-counter {
  min-width: 3.5rem;
  text-align: center;
  font-family: var(--rmt-font-serif);
  font-size: 1.05rem;
  color: var(--rmt-muted);
  direction: ltr;
  unicode-bidi: isolate;
}

.rmt-services-slider-wrap { position: relative; }
.rmt-services-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--rmt-space-5)) / 3);
  gap: var(--rmt-space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-block: 6px 12px;
  cursor: grab;
}
.rmt-services-track::-webkit-scrollbar { display: none; }
.rmt-services-track:active { cursor: grabbing; }
.rmt-services-track > .rmt-card { scroll-snap-align: start; }
@media (max-width: 991px) {
  .rmt-services-track { grid-auto-columns: calc((100% - var(--rmt-space-5)) / 2); }
}
@media (max-width: 640px) {
  .rmt-services-track { grid-auto-columns: 86%; }
}

.rmt-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-block-start: var(--rmt-space-6);
}
.rmt-slider-dot {
  width: 22px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--rmt-sand);
  cursor: pointer;
  transition: width var(--rmt-duration-normal) var(--rmt-ease-out), background-color var(--rmt-duration-fast) ease;
}
.rmt-slider-dot.is-active { width: 44px; background: var(--rmt-copper); }

.rmt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--rmt-space-6);
  padding: clamp(1.75rem, 1.4rem + 1vw, 2.5rem);
  background: var(--rmt-card);
  border: 1px solid var(--rmt-line);
  border-radius: var(--rmt-radius-md);
  color: var(--rmt-ink);
  min-height: 100%;
  transition: transform var(--rmt-duration-normal) var(--rmt-ease-out),
              box-shadow var(--rmt-duration-normal) var(--rmt-ease-out),
              border-color var(--rmt-duration-normal) ease;
}
.rmt-card::before {
  content: "";
  position: absolute;
  inset-block-start: -1px;
  inset-inline: -1px;
  height: 2px;
  background: var(--rmt-monogram);
  transform: scaleX(0);
  transform-origin: var(--rmt-origin-start, right);
  transition: transform 600ms var(--rmt-ease-out);
}
[dir="ltr"] .rmt-card::before { --rmt-origin-start: left; }
.rmt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rmt-shadow-hover);
  border-color: var(--rmt-sand);
}
.rmt-card:hover::before { transform: scaleX(1); }

.rmt-card-cluster-badge {
  font-size: var(--rmt-micro);
  font-weight: 500;
  color: var(--rmt-copper-deep);
  margin-block-end: var(--rmt-space-5);
  padding-block-end: var(--rmt-space-4);
  border-block-end: 1px solid var(--rmt-line);
}
.rmt-card-title {
  font-family: var(--rmt-font-serif);
  font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.65rem);
  font-weight: 500;
  line-height: 1.25;
  margin-block-end: var(--rmt-space-3);
}
.rmt-card-desc {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--rmt-muted);
}
.rmt-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--rmt-small);
  font-weight: 500;
  color: var(--rmt-copper-deep);
}

.rmt-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--rmt-space-5);
}
/* Rows of three on wide screens; a shorter last row is centered instead of hanging to one side */
@media (min-width: 900px) {
  .rmt-card-grid--three {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .rmt-card-grid--three > * {
    flex: 0 1 calc((100% - 2 * var(--rmt-space-5)) / 3);
  }
}

.rmt-center-action {
  display: flex;
  justify-content: center;
  margin-block-start: clamp(2.5rem, 2rem + 2vw, 4rem);
}

/* ==========================================================================
   7. Home — about teaser & feature quote
   ========================================================================== */
.rmt-about-teaser-grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 5.5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .rmt-about-teaser-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}

.rmt-framed-media {
  position: relative;
  margin: 0;
}
.rmt-framed-media::before {
  content: "";
  position: absolute;
  inset-block: -18px 18px;
  inset-inline: -18px 18px;
  border: 1px solid var(--rmt-copper);
  opacity: 0.55;
  pointer-events: none;
}
.rmt-framed-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  object-position: 45% 30%;
  box-shadow: var(--rmt-shadow-lg);
}

.rmt-about-teaser-text h2 { margin-block-end: var(--rmt-space-6); }
.rmt-about-teaser-text p {
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--rmt-muted);
  margin-block-end: var(--rmt-space-4);
  max-width: 62ch;
}
.rmt-about-teaser-text .rmt-actions { margin-block-start: var(--rmt-space-6); }

.rmt-feature-quote {
  position: relative;
  margin-block-start: clamp(4rem, 3rem + 4vw, 7rem);
  padding-block-start: clamp(3rem, 2.5rem + 2vw, 4.5rem);
  border-block-start: 1px solid var(--rmt-line);
  display: grid;
  gap: var(--rmt-space-6);
}
@media (min-width: 960px) {
  .rmt-feature-quote { grid-template-columns: 110px minmax(0, 1fr); }
}
.rmt-quote-mark {
  font-family: var(--rmt-font-serif);
  font-size: 7rem;
  line-height: 0.7;
  color: var(--rmt-copper);
  user-select: none;
}
.rmt-feature-quote-text {
  font-family: var(--rmt-font-serif);
  font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.2rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--rmt-ink);
  max-width: 34em;
}
.rmt-quote-attribution {
  display: flex;
  align-items: center;
  gap: var(--rmt-space-4);
  margin-block-start: var(--rmt-space-6);
}
.rmt-quote-attribution::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--rmt-copper);
}
.rmt-quote-attribution strong {
  display: block;
  font-weight: 600;
  color: var(--rmt-ink);
}
.rmt-quote-attribution span {
  display: block;
  font-size: var(--rmt-small);
  color: var(--rmt-muted);
}

/* ==========================================================================
   7b. Home — in the press
   ========================================================================== */
.rmt-press-feature {
  position: relative;
  display: grid;
  background: var(--rmt-card);
  border: 1px solid var(--rmt-sand);
  border-radius: var(--rmt-radius-md);
  overflow: hidden;
  transition: transform var(--rmt-duration-normal) var(--rmt-ease-out),
              box-shadow var(--rmt-duration-normal) var(--rmt-ease-out);
}
@media (min-width: 900px) {
  .rmt-press-feature { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); }
}
.rmt-press-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--rmt-shadow-hover);
}
.rmt-press-feature:has(.rmt-press-link:focus-visible) {
  outline: 2px solid var(--rmt-copper);
  outline-offset: 4px;
}

.rmt-press-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  padding: clamp(1.75rem, 1.3rem + 2vw, 3rem);
  background-color: var(--rmt-ink-900);
  background-image: radial-gradient(ellipse 90% 70% at 0% 100%, rgba(191, 160, 106, 0.18), transparent 65%);
  color: var(--rmt-on-dark);
}
[dir="ltr"] .rmt-press-aside {
  background-image: radial-gradient(ellipse 90% 70% at 100% 100%, rgba(191, 160, 106, 0.18), transparent 65%);
}
.rmt-press-masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--rmt-space-4);
  padding-block-end: var(--rmt-space-4);
  border-block-end: 1px solid var(--rmt-line-dark);
}
.rmt-press-source {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--rmt-on-dark);
  direction: ltr;
  unicode-bidi: isolate;
}
.rmt-press-date {
  font-size: var(--rmt-micro);
  color: var(--rmt-on-dark-faint);
}
.rmt-press-quote {
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.rmt-press-quote blockquote {
  font-family: var(--rmt-font-serif);
  font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.3rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--rmt-on-dark);
}
.rmt-press-quote figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--rmt-space-3);
  margin-block-start: var(--rmt-space-5);
  font-size: var(--rmt-small);
  color: var(--rmt-copper-bright);
}
.rmt-press-quote figcaption::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.rmt-press-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 1.3rem + 2.5vw, 3.5rem);
}
.rmt-press-title {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 500;
  line-height: 1.3;
  margin-block-end: var(--rmt-space-5);
}
.rmt-press-link { color: var(--rmt-ink); }
.rmt-press-link:focus-visible { outline: none; }
/* The headline link covers the whole card */
.rmt-press-link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.rmt-press-summary {
  font-size: 1.03rem;
  line-height: 1.85;
  color: var(--rmt-muted);
  max-width: 62ch;
  margin-block-end: var(--rmt-space-6);
}
.rmt-press-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--rmt-copper-deep);
}
.rmt-press-feature:hover .rmt-press-cta .rmt-arrow { transform: translateX(-4px); }
[dir="ltr"] .rmt-press-feature:hover .rmt-press-cta .rmt-arrow { transform: rotate(180deg) translateX(-4px); }

/* ==========================================================================
   8. Forms, contact blocks & office panel
   ========================================================================== */
.rmt-contact-teaser-grid,
.rmt-contact-grid {
  display: grid;
  gap: var(--rmt-space-6);
  align-items: stretch;
}
@media (min-width: 960px) {
  .rmt-contact-teaser-grid,
  .rmt-contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); gap: var(--rmt-space-8); }
  /* The contact page's form keeps its own height and stays in view beside the longer office panel */
  .rmt-contact-grid { align-items: start; }
  .rmt-contact-grid > .rmt-form-panel {
    position: sticky;
    top: calc(var(--rmt-header-height-shrunk) + var(--rmt-space-5));
  }
  /* On the home page both cards share a height: the consent and button sit at the bottom,
     level with the end of the office panel */
  .rmt-contact-teaser-grid > .rmt-form-panel { display: flex; flex-direction: column; }
  .rmt-contact-teaser-grid > .rmt-form-panel > .rmt-form { flex: 1; }
  .rmt-contact-teaser-grid .rmt-form-consent { margin-block-start: auto; }
}

.rmt-form-panel {
  background: var(--rmt-card);
  border: 1px solid var(--rmt-line);
  border-radius: var(--rmt-radius-md);
  padding: clamp(1.75rem, 1.2rem + 2.2vw, 3.25rem);
  box-shadow: var(--rmt-shadow-sm);
}
.rmt-form-title {
  font-family: var(--rmt-font-serif);
  font-size: var(--rmt-h3);
  font-weight: 500;
  color: var(--rmt-ink);
  margin-block-end: var(--rmt-space-3);
}
.rmt-form-desc {
  color: var(--rmt-muted);
  margin-block-end: var(--rmt-space-6);
}

/* Form rhythm: fields sit 24px apart (8px label to field), a hairline opens the consent,
   and the button closes the form at the same 24px. */
.rmt-form {
  display: flex;
  flex-direction: column;
  gap: var(--rmt-space-5);
}

.rmt-form-row {
  display: grid;
  gap: var(--rmt-space-5);
}
@media (min-width: 640px) {
  .rmt-form-row { grid-template-columns: 1fr 1fr; }
}

.rmt-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--rmt-space-2);
}
.rmt-form-label {
  font-size: var(--rmt-small);
  font-weight: 500;
  line-height: 1.4;
  color: var(--rmt-ink);
}
.rmt-form-input,
.rmt-form-textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  line-height: 1.4;
  background: var(--rmt-white);
  border: 1px solid var(--rmt-sand);
  border-radius: var(--rmt-radius-sm);
  color: var(--rmt-ink);
  font-size: 1rem;
  transition: border-color var(--rmt-duration-fast) ease, box-shadow var(--rmt-duration-fast) ease;
}
.rmt-form-input[dir="ltr"] { text-align: start; }
/* In Hebrew and Arabic, phone and email still line up with the form's other fields */
[dir="rtl"] .rmt-form-input[dir="ltr"] { text-align: end; }
.rmt-form-input::placeholder,
.rmt-form-textarea::placeholder { color: #857870; }
.rmt-form-input:focus,
.rmt-form-textarea:focus {
  outline: none;
  border-color: var(--rmt-copper);
  box-shadow: 0 0 0 3px rgba(78, 28, 39, 0.14);
}
.rmt-form-textarea { min-height: 130px; resize: vertical; }
.rmt-form-input.is-invalid { border-color: var(--rmt-error); }

.rmt-form-consent {
  display: flex;
  flex-direction: column;
  gap: var(--rmt-space-3);
  padding-block-start: var(--rmt-space-5);
  border-block-start: 1px solid var(--rmt-line);
}

.rmt-form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--rmt-space-3);
  font-size: var(--rmt-small);
  line-height: 1.5;
  color: var(--rmt-ink);
  cursor: pointer;
}
.rmt-form-checkbox input {
  margin: 0;
  margin-block-start: calc((var(--rmt-small) * 1.5 - 18px) / 2);
  width: 18px;
  height: 18px;
  accent-color: var(--rmt-copper);
  flex-shrink: 0;
}
.rmt-form-checkbox a { color: var(--rmt-copper-deep); text-decoration: underline; text-underline-offset: 3px; }

.rmt-form-submit { width: 100%; }

.rmt-field-error {
  display: none;
  font-size: var(--rmt-micro);
  color: var(--rmt-error);
}
.rmt-field-error.is-visible { display: block; }

.rmt-form-error {
  padding: 0.75rem 1rem;
  font-size: var(--rmt-small);
  color: var(--rmt-error);
  background: color-mix(in srgb, var(--rmt-error) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--rmt-error) 35%, transparent);
  border-radius: var(--rmt-radius-md);
}
.rmt-form-error[hidden] { display: none; }

/* Spam trap field added by components.js; kept out of sight and out of the tab order. */
.rmt-form-hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

.rmt-form-success-banner {
  display: none;
  text-align: center;
  padding: var(--rmt-space-6);
  margin-block-end: var(--rmt-space-6);
  background: var(--rmt-stone);
  border: 1px solid var(--rmt-sand);
  border-radius: var(--rmt-radius-md);
}
.rmt-form-success-banner.is-active { display: block; animation: rmtRise 600ms var(--rmt-ease-out) both; }
.rmt-success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--rmt-space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--rmt-ink-900);
  color: var(--rmt-copper-bright);
}
.rmt-form-success-banner h3 {
  font-size: 1.35rem;
  color: var(--rmt-ink);
  margin-block-end: var(--rmt-space-2);
}
.rmt-form-success-banner p { color: var(--rmt-muted); }
.rmt-form-success-banner .rmt-btn { margin-block-start: var(--rmt-space-4); }

.rmt-form-thanks { text-align: center; padding: var(--rmt-space-8) var(--rmt-space-4); }
.rmt-form-thanks h3 { font-size: 1.4rem; margin-block-end: var(--rmt-space-2); }
.rmt-form-thanks p { color: var(--rmt-muted); }

/* --- Dark office panel --- */
.rmt-office-panel {
  display: flex;
  flex-direction: column;
  gap: var(--rmt-space-6);
  background-color: var(--rmt-ink-900);
  background-image: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(191, 160, 106, 0.14), transparent 60%);
  color: var(--rmt-on-dark);
  border-radius: var(--rmt-radius-md);
  padding: clamp(1.75rem, 1.2rem + 2.2vw, 3.25rem);
}
.rmt-office-panel h2,
.rmt-office-panel h3 {
  font-family: var(--rmt-font-serif);
  font-size: var(--rmt-h3);
  font-weight: 500;
  color: var(--rmt-on-dark);
}

.rmt-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.rmt-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--rmt-space-4);
  padding-block: var(--rmt-space-4);
  border-block-end: 1px solid var(--rmt-line-dark);
}
.rmt-info-item:first-child { padding-block-start: 0; }
.rmt-info-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--rmt-line-dark);
  color: var(--rmt-copper-bright);
}
.rmt-info-icon svg { width: 18px; height: 18px; }
.rmt-info-label {
  display: block;
  font-size: var(--rmt-micro);
  font-weight: 500;
  color: var(--rmt-on-dark-faint);
  margin-block-end: 0.15rem;
}
.rmt-info-value {
  color: var(--rmt-on-dark);
  font-size: 1rem;
}
.rmt-info-value a { color: var(--rmt-on-dark); transition: color var(--rmt-duration-fast) ease; }
.rmt-info-value a:hover { color: var(--rmt-copper-bright); }

.rmt-social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--rmt-space-3);
}
.rmt-social-row-label {
  flex-basis: 100%;
  font-size: var(--rmt-small);
  color: var(--rmt-on-dark-muted);
}

.rmt-social-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--rmt-line-dark);
  color: var(--rmt-on-dark);
  transition: background-color var(--rmt-duration-fast) ease, color var(--rmt-duration-fast) ease, border-color var(--rmt-duration-fast) ease;
}
.rmt-social-icon svg { width: 17px; height: 17px; }
.rmt-social-icon:hover {
  background: var(--rmt-copper);
  border-color: var(--rmt-copper);
  color: var(--rmt-white);
}

.rmt-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 52px;
  border-radius: var(--rmt-radius-sm);
  border: 1px solid rgba(247, 244, 239, 0.35);
  color: var(--rmt-on-dark);
  font-weight: 500;
  transition: background-color var(--rmt-duration-fast) ease, color var(--rmt-duration-fast) ease;
}
.rmt-whatsapp-btn svg { color: #4DD37F; }
.rmt-whatsapp-btn:hover { background: var(--rmt-on-dark); color: var(--rmt-ink-900); }
.rmt-whatsapp-btn:hover svg { color: #1E9E52; }

.rmt-discretion-note {
  display: flex;
  gap: var(--rmt-space-3);
  padding: var(--rmt-space-4) var(--rmt-space-5);
  border-inline-start: 2px solid var(--rmt-copper-bright);
  background: rgba(247, 244, 239, 0.04);
  font-size: var(--rmt-small);
  line-height: 1.7;
  color: var(--rmt-on-dark-muted);
}
.rmt-discretion-note svg { color: var(--rmt-copper-bright); flex-shrink: 0; margin-block-start: 0.2rem; }
.rmt-discretion-note strong { color: var(--rmt-on-dark); }

/* ==========================================================================
   9. Footer
   ========================================================================== */
.rmt-footer {
  position: relative;
  background: var(--rmt-ink-950);
  color: var(--rmt-on-dark-muted);
  padding-block: clamp(4rem, 3rem + 4vw, 6.5rem) var(--rmt-space-6);
  font-size: 0.95rem;
}
.rmt-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 2px;
  background: var(--rmt-monogram);
}

.rmt-footer-grid {
  display: grid;
  gap: var(--rmt-space-8);
  padding-block-end: clamp(3rem, 2.5rem + 2vw, 4.5rem);
}
@media (min-width: 900px) {
  .rmt-footer-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--rmt-space-10); }
}

.rmt-footer-logo { height: 64px; width: auto; margin-block-end: var(--rmt-space-5); }
.rmt-footer-lead { line-height: 1.8; max-width: 44ch; margin-block-end: var(--rmt-space-5); }
.rmt-footer-languages { font-size: var(--rmt-small); color: var(--rmt-on-dark-faint); }
.rmt-footer-languages strong { color: var(--rmt-on-dark); font-weight: 500; }

.rmt-footer-title {
  font-family: var(--rmt-font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--rmt-on-dark);
  margin-block-end: var(--rmt-space-5);
}
.rmt-footer-links,
.rmt-footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.rmt-footer-link {
  color: var(--rmt-on-dark-muted);
  transition: color var(--rmt-duration-fast) ease;
}
.rmt-footer-link:hover { color: var(--rmt-copper-bright); }
.rmt-footer-contact-list li { line-height: 1.6; }
.rmt-footer-contact-list strong { color: var(--rmt-on-dark); font-weight: 500; margin-inline-end: 0.25rem; }

.rmt-footer-socials {
  display: flex;
  gap: var(--rmt-space-2);
  margin-block-start: var(--rmt-space-6);
}

.rmt-footer-bottom {
  padding-block-start: var(--rmt-space-5);
  border-block-start: 1px solid var(--rmt-line-dark);
  font-size: var(--rmt-micro);
  line-height: 1.7;
  color: var(--rmt-on-dark-faint);
}
.rmt-footer-bottom a { color: var(--rmt-on-dark-muted); text-decoration: underline; text-underline-offset: 3px; }
.rmt-footer-bottom a:hover { color: var(--rmt-copper-bright); }

/* ==========================================================================
   10. Consultation dialog
   ========================================================================== */
.rmt-dialog {
  margin: auto;
  width: min(92vw, 520px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--rmt-radius-md);
  background: var(--rmt-paper);
  color: var(--rmt-ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  overflow: auto;
}
.rmt-dialog[open] { animation: rmtRise 450ms var(--rmt-ease-out) both; }
.rmt-dialog::backdrop {
  background: rgba(35, 11, 16, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.rmt-dialog-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rmt-space-4);
  padding: var(--rmt-space-6) var(--rmt-space-6) var(--rmt-space-5);
  background: var(--rmt-ink-900);
  color: var(--rmt-on-dark);
}
.rmt-dialog-header::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 2px;
  background: var(--rmt-monogram);
}
.rmt-dialog-title {
  font-family: var(--rmt-font-serif);
  font-size: 1.45rem;
  font-weight: 500;
}
.rmt-dialog-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--rmt-line-dark);
  background: transparent;
  color: var(--rmt-on-dark);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color var(--rmt-duration-fast) ease, color var(--rmt-duration-fast) ease;
}
.rmt-dialog-close:hover { background: var(--rmt-on-dark); color: var(--rmt-ink-900); }
.rmt-dialog-body { padding: var(--rmt-space-6); }
.rmt-dialog-intro { color: var(--rmt-muted); margin-block-end: var(--rmt-space-5); }

/* ==========================================================================
   11. About page
   ========================================================================== */
.rmt-bio-grid {
  display: grid;
  gap: clamp(3rem, 2rem + 3vw, 5.5rem);
}
@media (min-width: 1000px) {
  .rmt-bio-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); align-items: start; }
  .rmt-bio-aside { position: sticky; top: calc(var(--rmt-header-height-shrunk) + 2.5rem); }
}

.rmt-bio-content h2 { margin-block-end: var(--rmt-space-8); max-width: 22ch; }
.rmt-bio-content p {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--rmt-muted);
  margin-block-end: var(--rmt-space-5);
  max-width: 64ch;
}
.rmt-bio-content p:first-of-type {
  font-family: var(--rmt-font-serif);
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  line-height: 1.65;
  color: var(--rmt-ink);
  margin-block-end: var(--rmt-space-6);
}
.rmt-bio-content strong { color: var(--rmt-ink); }
.rmt-bio-content .rmt-actions { margin-block-start: var(--rmt-space-8); }

.rmt-bio-aside .rmt-framed-media img { aspect-ratio: 4 / 4.2; object-position: 48% 25%; }

.rmt-credentials-card {
  margin-block-start: clamp(2.5rem, 2rem + 1vw, 3.25rem);
  background: var(--rmt-ink-900);
  color: var(--rmt-on-dark);
  border-radius: var(--rmt-radius-md);
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
}
.rmt-credentials-card h3 {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--rmt-on-dark);
  margin-block-end: var(--rmt-space-5);
}
.rmt-credentials-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.rmt-credentials-list li {
  position: relative;
  padding-block: 0.85rem;
  padding-inline-start: 1.6rem;
  border-block-start: 1px solid var(--rmt-line-dark);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--rmt-on-dark-muted);
}
.rmt-credentials-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 1.45rem;
  width: 8px;
  height: 8px;
  border: 1px solid var(--rmt-copper-bright);
  transform: rotate(45deg);
}

.rmt-vision-section {
  background: var(--rmt-stone);
  padding-block: var(--rmt-section-py);
}
.rmt-vision-container {
  max-width: 980px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.rmt-vision-quote {
  font-family: var(--rmt-font-serif);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.15rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--rmt-ink);
  margin-block: var(--rmt-space-4) var(--rmt-space-8);
}
.rmt-vision-author {
  display: flex;
  align-items: center;
  gap: var(--rmt-space-4);
  font-weight: 600;
  color: var(--rmt-ink);
}
.rmt-vision-author::before,
.rmt-vision-author::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--rmt-copper);
}

/* ==========================================================================
   12. Services page
   ========================================================================== */
.rmt-cluster-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rmt-space-2);
  margin-block-start: var(--rmt-space-8);
}
.rmt-cluster-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--rmt-line-dark);
  border-radius: var(--rmt-radius-sm);
  font-size: var(--rmt-small);
  color: var(--rmt-on-dark-muted);
  transition: border-color var(--rmt-duration-fast) ease, color var(--rmt-duration-fast) ease, background-color var(--rmt-duration-fast) ease;
}
.rmt-cluster-btn:hover {
  border-color: var(--rmt-copper-bright);
  color: var(--rmt-on-dark);
  background: rgba(191, 160, 106, 0.1);
}

/* Every practice area at a glance, by group; each links to its card below */
.rmt-service-index {
  display: grid;
  gap: var(--rmt-space-6) var(--rmt-space-8);
  margin-block-start: var(--rmt-space-8);
  padding-block-start: var(--rmt-space-6);
  border-block-start: 1px solid var(--rmt-line-dark);
}
@media (min-width: 640px) {
  .rmt-service-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .rmt-service-index { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.rmt-service-index-label {
  display: inline-block;
  margin-block-end: var(--rmt-space-3);
  font-size: var(--rmt-micro);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rmt-copper-bright);
}
.rmt-service-index ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--rmt-space-2);
}
.rmt-service-index li a {
  display: inline-block;
  font-size: var(--rmt-small);
  line-height: 1.5;
  color: var(--rmt-on-dark-muted);
  transition: color var(--rmt-duration-fast) ease;
}
.rmt-service-index a:hover,
.rmt-service-index a:focus-visible {
  color: var(--rmt-on-dark);
  text-decoration: underline;
  text-decoration-color: var(--rmt-copper-bright);
  text-underline-offset: 4px;
}

.rmt-cluster-section { padding-block: var(--rmt-section-py); }
.rmt-cluster-layout {
  display: grid;
  gap: clamp(2rem, 1.5rem + 2vw, 4rem);
}
@media (min-width: 1000px) {
  .rmt-cluster-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); align-items: start; }
  .rmt-cluster-title-wrap { position: sticky; top: calc(var(--rmt-header-height-shrunk) + 2.5rem); }
}
.rmt-cluster-title-wrap h2 { margin-block-end: var(--rmt-space-5); }
.rmt-cluster-title-wrap p { font-size: 1.05rem; line-height: 1.8; color: var(--rmt-muted); max-width: 44ch; }

.rmt-cluster-items {
  display: flex;
  flex-direction: column;
  gap: var(--rmt-space-5);
}

.rmt-service-item {
  position: relative;
  background: var(--rmt-card);
  border: 1px solid var(--rmt-line);
  border-radius: var(--rmt-radius-md);
  padding: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  transition: box-shadow var(--rmt-duration-normal) var(--rmt-ease-out), border-color var(--rmt-duration-normal) ease;
}
.rmt-bg-cream .rmt-service-item { background: var(--rmt-paper); }
.rmt-service-item::before {
  content: "";
  position: absolute;
  inset-block: -1px;
  inset-inline-start: -1px;
  width: 2px;
  background: var(--rmt-monogram);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 600ms var(--rmt-ease-out);
}
.rmt-service-item:hover { box-shadow: var(--rmt-shadow-hover); border-color: var(--rmt-sand); }
.rmt-service-item:hover::before { transform: scaleY(1); }

.rmt-service-header { margin-block-end: var(--rmt-space-4); }
.rmt-service-title {
  font-family: var(--rmt-font-serif);
  font-size: clamp(1.35rem, 1.2rem + 0.55vw, 1.7rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--rmt-ink);
}
.rmt-service-summary {
  font-size: 1.03rem;
  line-height: 1.8;
  color: var(--rmt-muted);
  margin-block-end: var(--rmt-space-4);
}
.rmt-service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-block: 0 var(--rmt-space-6);
}
.rmt-service-bullets li {
  position: relative;
  padding-inline-start: 1.6rem;
  line-height: 1.7;
  color: var(--rmt-ink);
}
.rmt-service-bullets li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.8em;
  width: 12px;
  height: 1px;
  background: var(--rmt-copper);
}
.rmt-service-actions { padding-block-start: var(--rmt-space-5); border-block-start: 1px solid var(--rmt-line); }

/* ==========================================================================
   13. Testimonials
   ========================================================================== */
.rmt-testimonial-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rmt-space-2) var(--rmt-space-6);
  margin-block-end: clamp(2.5rem, 2rem + 2vw, 4rem);
  border-block-end: 1px solid var(--rmt-line);
}
.rmt-filter-btn {
  position: relative;
  padding: 0.9rem 0;
  background: none;
  border: 0;
  color: var(--rmt-muted);
  font-size: 0.97rem;
  cursor: pointer;
  transition: color var(--rmt-duration-fast) ease;
}
.rmt-filter-btn::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  height: 2px;
  background: var(--rmt-copper);
  transform: scaleX(0);
  transition: transform var(--rmt-duration-normal) var(--rmt-ease-out);
}
.rmt-filter-btn:hover { color: var(--rmt-ink); }
.rmt-filter-btn.is-active { color: var(--rmt-ink); font-weight: 500; }
.rmt-filter-btn.is-active::after { transform: scaleX(1); }

.rmt-testimonials-grid {
  columns: 1;
  column-gap: var(--rmt-space-5);
}
@media (min-width: 720px) { .rmt-testimonials-grid { columns: 2; } }
@media (min-width: 1100px) { .rmt-testimonials-grid { columns: 3; } }

.rmt-testimonial-card {
  break-inside: avoid;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--rmt-space-6);
  margin-block-end: var(--rmt-space-5);
  padding: clamp(1.75rem, 1.4rem + 1vw, 2.5rem);
  background: var(--rmt-card);
  border: 1px solid var(--rmt-line);
  border-radius: var(--rmt-radius-md);
  transition: opacity var(--rmt-duration-normal) ease, box-shadow var(--rmt-duration-normal) ease;
}
.rmt-testimonial-card:hover { box-shadow: var(--rmt-shadow-hover); }
.rmt-testimonial-card.is-featured {
  background-color: var(--rmt-ink-900);
  background-image: radial-gradient(ellipse 90% 60% at 100% 0%, rgba(191, 160, 106, 0.14), transparent 60%);
  border-color: var(--rmt-ink-900);
  color: var(--rmt-on-dark);
}
.rmt-testimonial-quote-icon {
  font-family: var(--rmt-font-serif);
  font-size: 4.5rem;
  line-height: 0.6;
  height: 2.2rem;
  color: var(--rmt-copper);
  user-select: none;
}
.rmt-testimonial-card.is-featured .rmt-testimonial-quote-icon { color: var(--rmt-copper-bright); }
.rmt-testimonial-text p {
  font-family: var(--rmt-font-serif);
  font-size: 1.13rem;
  line-height: 1.75;
  color: var(--rmt-ink);
  margin-block-end: var(--rmt-space-4);
}
.rmt-testimonial-text p:last-child { margin-block-end: 0; }
.rmt-testimonial-card.is-featured .rmt-testimonial-text p { color: var(--rmt-on-dark); }
.rmt-testimonial-text em { font-style: normal; color: var(--rmt-copper-deep); font-weight: 600; }
.rmt-testimonial-card.is-featured .rmt-testimonial-text em { color: var(--rmt-copper-bright); }

.rmt-testimonial-footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-block-start: var(--rmt-space-4);
  border-block-start: 1px solid var(--rmt-line);
}
.rmt-testimonial-card.is-featured .rmt-testimonial-footer { border-color: var(--rmt-line-dark); }
.rmt-testimonial-author {
  font-style: normal;
  font-weight: 600;
  color: var(--rmt-ink);
}
.rmt-testimonial-card.is-featured .rmt-testimonial-author { color: var(--rmt-on-dark); }
.rmt-testimonial-context { font-size: var(--rmt-small); color: var(--rmt-muted); }
.rmt-testimonial-card.is-featured .rmt-testimonial-context { color: var(--rmt-on-dark-muted); }
.rmt-testimonial-badge {
  align-self: flex-start;
  margin-block-start: var(--rmt-space-3);
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  color: var(--rmt-copper-deep);
  border: 1px solid rgba(78, 28, 39, 0.3);
  border-radius: var(--rmt-radius-sm);
}
.rmt-testimonial-card.is-featured .rmt-testimonial-badge { color: var(--rmt-copper-bright); border-color: rgba(191, 160, 106, 0.4); }

/* ==========================================================================
   14. Articles — index
   ========================================================================== */
/* The ynet feature sits above the guides */
.rmt-articles-press { margin-block-end: var(--rmt-space-10); }

.rmt-articles-grid {
  display: grid;
  gap: var(--rmt-space-6);
}
@media (min-width: 760px) {
  .rmt-articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .rmt-articles-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .rmt-articles-grid > .rmt-article-card { grid-column: span 2; }
  .rmt-articles-grid > .rmt-article-card:nth-child(1),
  .rmt-articles-grid > .rmt-article-card:nth-child(2) { grid-column: span 3; }
}

.rmt-article-card {
  display: flex;
  background: var(--rmt-card);
  border: 1px solid var(--rmt-line);
  border-radius: var(--rmt-radius-md);
  overflow: hidden;
  transition: transform var(--rmt-duration-normal) var(--rmt-ease-out), box-shadow var(--rmt-duration-normal) var(--rmt-ease-out);
}
.rmt-article-card:hover { transform: translateY(-4px); box-shadow: var(--rmt-shadow-hover); }
.rmt-article-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: inherit;
}
.rmt-article-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--rmt-ink-900);
}
.rmt-article-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 900ms var(--rmt-ease-out), filter var(--rmt-duration-normal) ease;
}
.rmt-article-card:hover .rmt-article-thumb { transform: scale(1.04); filter: saturate(1); }

.rmt-article-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--rmt-space-5);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
}
.rmt-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: var(--rmt-micro);
  color: var(--rmt-muted);
  margin-block-end: var(--rmt-space-3);
}
.rmt-article-meta span:first-child { color: var(--rmt-copper-deep); font-weight: 500; }
.rmt-article-meta span + span::before {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--rmt-sand);
  margin-inline-end: 1rem;
  vertical-align: middle;
}
.rmt-article-title {
  font-family: var(--rmt-font-serif);
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.7rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--rmt-ink);
  margin-block-end: var(--rmt-space-3);
}
.rmt-article-excerpt { font-size: 0.97rem; line-height: 1.75; color: var(--rmt-muted); }
.rmt-article-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--rmt-small);
  font-weight: 500;
  color: var(--rmt-copper-deep);
}

/* ==========================================================================
   15. Article pages
   ========================================================================== */
/* Extra room below the hero only when a lead image overlaps it */
.rmt-article-hero:has(+ .rmt-article-content .rmt-article-image-box) { padding-block-end: clamp(7rem, 5rem + 8vw, 12rem); }
.rmt-article-hero h1 { max-width: 24ch; font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.6rem); }

.rmt-article-content {
  position: relative;
  padding-block-end: var(--rmt-section-py);
}
.rmt-article-image-box {
  margin-block: calc(-1 * clamp(5rem, 3.5rem + 6vw, 9rem)) clamp(2.5rem, 2rem + 2vw, 4rem);
  position: relative;
  border-radius: var(--rmt-radius-md);
  overflow: hidden;
  box-shadow: var(--rmt-shadow-lg);
  background: var(--rmt-stone);
}
.rmt-article-image-box img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.rmt-article-content > .rmt-container-narrow > *:first-child:not(.rmt-article-image-box) {
  margin-block-start: clamp(3rem, 2rem + 3vw, 5rem);
}

.rmt-article-content p,
.rmt-article-content li {
  font-size: 1.1rem;
  line-height: 1.95;
  color: #3C3334;
}
.rmt-article-content p { margin-block-end: var(--rmt-space-5); }
.rmt-article-content > .rmt-container-narrow > p:first-of-type {
  font-family: var(--rmt-font-serif);
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.55rem);
  line-height: 1.7;
  color: var(--rmt-ink);
}
.rmt-article-content h2 {
  font-size: clamp(1.6rem, 1.35rem + 1vw, 2.2rem);
  margin-block: clamp(2.75rem, 2.2rem + 2vw, 4rem) var(--rmt-space-5);
  padding-block-start: var(--rmt-space-5);
  border-block-start: 1px solid var(--rmt-line);
}
.rmt-article-content h3 {
  font-size: 1.35rem;
  font-weight: 500;
  margin-block: var(--rmt-space-8) var(--rmt-space-4);
}
.rmt-article-content strong { color: var(--rmt-ink); font-weight: 600; }
.rmt-article-content ul,
.rmt-article-content ol {
  padding-inline-start: 1.4rem;
  margin-block-end: var(--rmt-space-6);
  display: flex;
  flex-direction: column;
  gap: var(--rmt-space-2);
}
.rmt-article-content ul li::marker { color: var(--rmt-copper); }
.rmt-article-content ol li::marker { color: var(--rmt-copper-deep); font-family: var(--rmt-font-serif); font-weight: 600; }
.rmt-article-content a:not(.rmt-btn) {
  color: var(--rmt-copper-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.rmt-article-content a:not(.rmt-btn):hover { color: var(--rmt-ink); }

.rmt-callout {
  margin-block: var(--rmt-space-8);
  padding: var(--rmt-space-5) var(--rmt-space-6);
  background: var(--rmt-stone);
  border-inline-start: 3px solid var(--rmt-copper);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--rmt-ink);
}

.rmt-article-aside {
  margin-block: var(--rmt-space-8);
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  background: var(--rmt-stone);
  border: 1px solid var(--rmt-sand);
  border-radius: var(--rmt-radius-md);
}
.rmt-article-content .rmt-article-aside h3 { margin-block-start: 0; }
.rmt-article-aside .rmt-btn { margin-block-start: var(--rmt-space-2); }

.rmt-article-cta {
  margin-block: var(--rmt-space-10);
  padding: clamp(1.75rem, 1.3rem + 2vw, 3rem);
  background-color: var(--rmt-ink-900);
  background-image: radial-gradient(ellipse 80% 70% at 100% 0%, rgba(191, 160, 106, 0.16), transparent 60%);
  border-radius: var(--rmt-radius-md);
  color: var(--rmt-on-dark);
}
.rmt-article-content .rmt-article-cta h3 { margin-block-start: 0; color: var(--rmt-on-dark); font-size: 1.55rem; }
.rmt-article-content .rmt-article-cta p { color: var(--rmt-on-dark-muted); }
/* Consecutive lines in the box read as one statement: a small gap between them */
.rmt-article-content .rmt-article-cta p:has(+ p) { margin-block-end: var(--rmt-space-2); }
.rmt-article-content .rmt-article-cta a:not(.rmt-btn) { color: var(--rmt-copper-bright); }

/* --- Success stories: cards on the articles page, the case facts on each story --- */
.rmt-stories-grid {
  display: grid;
  gap: var(--rmt-space-6);
}
@media (min-width: 760px) {
  .rmt-stories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.rmt-story-card {
  display: flex;
  background: var(--rmt-card);
  border: 1px solid var(--rmt-sand);
  border-block-start: 3px solid var(--rmt-copper);
  border-radius: var(--rmt-radius-md);
  transition: transform var(--rmt-duration-normal) var(--rmt-ease-out), box-shadow var(--rmt-duration-normal) var(--rmt-ease-out);
}
.rmt-story-card:hover { transform: translateY(-4px); box-shadow: var(--rmt-shadow-hover); }
.rmt-story-link {
  display: flex;
  flex-direction: column;
  gap: var(--rmt-space-4);
  width: 100%;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  color: inherit;
}
.rmt-story-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--rmt-space-3);
}
.rmt-story-top .rmt-article-meta { margin-block-end: 0; }
.rmt-story-outcome {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  font-size: var(--rmt-micro);
  font-weight: 600;
  color: var(--rmt-copper-deep);
  background: color-mix(in srgb, var(--rmt-copper) 10%, transparent);
  border-radius: 999px;
}
.rmt-story-title {
  font-family: var(--rmt-font-serif);
  font-size: var(--rmt-h3);
  font-weight: 500;
  line-height: 1.3;
  color: var(--rmt-ink);
}
.rmt-story-excerpt { color: var(--rmt-muted); }
.rmt-story-link .rmt-article-readmore { margin-block-start: auto; }
.rmt-story-card:hover .rmt-article-readmore .rmt-arrow { transform: translateX(-4px); }
[dir="ltr"] .rmt-story-card:hover .rmt-article-readmore .rmt-arrow { transform: rotate(180deg) translateX(-4px); }

.rmt-story-facts {
  display: grid;
  gap: var(--rmt-space-4);
  margin: 0 0 var(--rmt-space-8);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--rmt-card);
  border: 1px solid var(--rmt-sand);
  border-radius: var(--rmt-radius-md);
}
@media (min-width: 640px) {
  .rmt-story-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.rmt-story-fact dt {
  margin-block-end: var(--rmt-space-1);
  font-size: var(--rmt-micro);
  color: var(--rmt-muted);
}
.rmt-story-fact dd {
  margin: 0;
  font-weight: 500;
  line-height: 1.5;
  color: var(--rmt-ink);
}
.rmt-story-fact.is-outcome dd { color: var(--rmt-copper-deep); }

.rmt-precedent-box {
  margin-block: var(--rmt-space-10);
  padding: clamp(1.75rem, 1.3rem + 2vw, 3rem);
  border: 1px solid var(--rmt-sand);
  border-block-start: 3px solid var(--rmt-copper);
  border-radius: var(--rmt-radius-md);
  background: var(--rmt-card);
}
.rmt-article-content .rmt-precedent-box h3 { margin-block-start: 0; }
.rmt-precedent-citation {
  font-family: var(--rmt-font-serif);
  font-size: 1.2rem !important;
  color: var(--rmt-ink) !important;
  padding: var(--rmt-space-3) var(--rmt-space-4);
  background: var(--rmt-stone);
  border-radius: var(--rmt-radius-sm);
}

.rmt-compare-grid {
  display: grid;
  gap: var(--rmt-space-5);
  margin-block: var(--rmt-space-8);
}
@media (min-width: 720px) {
  .rmt-compare-grid { grid-template-columns: 1fr 1fr; }
}
.rmt-compare-card {
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  background: var(--rmt-card);
  border: 1px solid var(--rmt-line);
  border-block-start: 3px solid var(--rmt-sand);
  border-radius: var(--rmt-radius-md);
}
.rmt-compare-card.is-accent { border-block-start-color: var(--rmt-copper); }
.rmt-article-content .rmt-compare-title {
  margin: 0 0 var(--rmt-space-3);
  padding: 0;
  border: 0;
  font-size: 1.45rem;
}
.rmt-article-content .rmt-compare-card p,
.rmt-article-content .rmt-compare-card li { font-size: 0.98rem; line-height: 1.75; }
.rmt-article-content .rmt-compare-card ul { gap: var(--rmt-space-3); margin-block-end: 0; }

.rmt-prep-checklist {
  counter-reset: prep;
  display: grid;
  gap: 0;
  margin-block: var(--rmt-space-5) var(--rmt-space-8);
  border-block-start: 1px solid var(--rmt-line);
}
.rmt-prep-item {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: baseline;
  gap: var(--rmt-space-3);
  padding-block: var(--rmt-space-4);
  border-block-end: 1px solid var(--rmt-line);
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--rmt-ink);
}
.rmt-prep-num {
  font-family: var(--rmt-font-serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--rmt-copper-deep);
  direction: ltr;
  unicode-bidi: isolate;
  text-align: start;
}

.rmt-author-bio-card {
  display: flex;
  align-items: flex-start;
  gap: var(--rmt-space-5);
  margin-block-start: var(--rmt-space-10);
  padding-block-start: var(--rmt-space-8);
  border-block-start: 1px solid var(--rmt-line);
}
.rmt-author-bio-thumb {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 48% 25%;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--rmt-paper), 0 0 0 5px var(--rmt-copper);
}
.rmt-author-name {
  display: block;
  font-family: var(--rmt-font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--rmt-ink);
}
.rmt-article-content .rmt-author-bio-card p {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--rmt-muted);
  margin-block: var(--rmt-space-2) var(--rmt-space-3);
}

/* ==========================================================================
   16. Privacy policy
   ========================================================================== */
.rmt-policy-measure {
  max-width: var(--rmt-measure-narrow);
  margin-inline: auto;
}
.rmt-policy-measure p,
.rmt-policy-measure li {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #3C3334;
}
.rmt-policy-measure p { margin-block-end: var(--rmt-space-5); }
.rmt-policy-measure > p:first-child {
  font-family: var(--rmt-font-serif);
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--rmt-ink);
}
.rmt-policy-measure h2 {
  font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.9rem);
  margin-block: var(--rmt-space-10) var(--rmt-space-5);
  padding-block-start: var(--rmt-space-5);
  border-block-start: 1px solid var(--rmt-line);
}
.rmt-policy-measure ul {
  padding-inline-start: 1.4rem;
  margin-block-end: var(--rmt-space-6);
  display: flex;
  flex-direction: column;
  gap: var(--rmt-space-2);
}
.rmt-policy-measure li::marker { color: var(--rmt-copper); }
.rmt-policy-measure strong { color: var(--rmt-ink); }
.rmt-policy-contact-box {
  margin-block: var(--rmt-space-6);
  padding: var(--rmt-space-5) var(--rmt-space-6);
  background: var(--rmt-stone);
  border-inline-start: 3px solid var(--rmt-copper);
  line-height: 2;
}
.rmt-policy-contact-box a { color: var(--rmt-copper-deep); }
.rmt-policy-updated {
  margin-block-start: var(--rmt-space-8);
  font-size: var(--rmt-small);
  color: var(--rmt-muted);
}

/* ==========================================================================
   17. 404
   ========================================================================== */
.rmt-404-section {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--rmt-header-height));
  display: flex;
  align-items: center;
  background-color: var(--rmt-ink-900);
  background-image: radial-gradient(ellipse 60% 70% at 50% 110%, rgba(191, 160, 106, 0.2), transparent 70%);
  color: var(--rmt-on-dark);
  padding-block: var(--rmt-space-12);
}
.rmt-404-container {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rmt-404-numeral {
  font-family: var(--rmt-font-serif);
  font-size: clamp(7rem, 4rem + 14vw, 14rem);
  font-weight: 400;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(191, 160, 106, 0.7);
  margin-block-end: var(--rmt-space-6);
  direction: ltr;
}
.rmt-404-section .rmt-eyebrow { color: var(--rmt-copper-bright); }
.rmt-404-title { font-size: var(--rmt-h1); color: var(--rmt-on-dark); margin-block-end: var(--rmt-space-5); }
.rmt-404-text { font-size: var(--rmt-lead); line-height: 1.75; color: var(--rmt-on-dark-muted); margin-block-end: var(--rmt-space-8); }
.rmt-404-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--rmt-space-3); }
.rmt-404-quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.9rem;
  margin-block-start: var(--rmt-space-10);
  padding-block-start: var(--rmt-space-5);
  border-block-start: 1px solid var(--rmt-line-dark);
  font-size: var(--rmt-small);
  color: var(--rmt-on-dark-faint);
}
.rmt-404-quick-links a { color: var(--rmt-on-dark); }
.rmt-404-quick-links a:hover { color: var(--rmt-copper-bright); }

/* ==========================================================================
   18. Accessibility & privacy: skip link, cookie consent, form notice
   ========================================================================== */
.rmt-skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 2000;
  padding: 0.8rem 1.25rem;
  background: var(--rmt-copper);
  color: var(--rmt-white);
  font-weight: 500;
  border-radius: var(--rmt-radius-sm);
  box-shadow: var(--rmt-shadow-lg);
  transform: translateY(calc(-100% - 24px));
  transition: transform var(--rmt-duration-fast) var(--rmt-ease-out);
}
.rmt-skip-link:focus,
.rmt-skip-link:focus-visible {
  transform: none;
  outline: 2px solid var(--rmt-on-dark);
  outline-offset: 2px;
}
main:focus { outline: none; }

.rmt-cookie-banner {
  position: fixed;
  inset-inline: 16px;
  inset-block-end: 16px;
  z-index: 1500;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.rmt-cookie-banner[hidden] { display: none; }
.rmt-cookie-inner {
  pointer-events: auto;
  position: relative;
  width: min(100%, 1040px);
  display: grid;
  gap: var(--rmt-space-5);
  padding: var(--rmt-space-5) clamp(1.25rem, 1rem + 1.5vw, 2rem);
  background-color: var(--rmt-ink-900);
  background-image: radial-gradient(ellipse 60% 120% at 0% 0%, rgba(191, 160, 106, 0.14), transparent 60%);
  color: var(--rmt-on-dark);
  border: 1px solid var(--rmt-line-dark);
  border-radius: var(--rmt-radius-md);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  animation: rmtRise 600ms var(--rmt-ease-out) both;
}
.rmt-cookie-inner::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 2px;
  background: var(--rmt-monogram);
}
@media (min-width: 860px) {
  .rmt-cookie-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--rmt-space-8); }
}
.rmt-cookie-title {
  display: block;
  font-family: var(--rmt-font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin-block-end: 0.3rem;
}
.rmt-cookie-text p {
  font-size: var(--rmt-small);
  line-height: 1.7;
  color: var(--rmt-on-dark-muted);
}
.rmt-cookie-text a {
  color: var(--rmt-on-dark);
  text-decoration: underline;
  text-decoration-color: var(--rmt-copper-bright);
  text-underline-offset: 3px;
}
.rmt-cookie-text a:hover { color: var(--rmt-copper-bright); }
.rmt-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rmt-space-3);
}
.rmt-cookie-actions .rmt-btn { min-height: 46px; padding-block: 0.65rem; font-size: 0.92rem; }
.rmt-cookie-banner .rmt-btn-secondary {
  border-color: rgba(247, 244, 239, 0.35);
  color: var(--rmt-on-dark);
}
.rmt-cookie-banner .rmt-btn-secondary:hover {
  background-color: var(--rmt-on-dark);
  border-color: var(--rmt-on-dark);
  color: var(--rmt-ink-900);
}
@media (max-width: 520px) {
  .rmt-cookie-banner { inset-inline: 10px; inset-block-end: 10px; }
  .rmt-cookie-actions .rmt-btn { flex: 1 1 100%; }
}

.rmt-form-notice {
  margin: 0;
  font-size: var(--rmt-micro);
  line-height: 1.65;
  color: var(--rmt-muted);
}

.rmt-footer-cookie-btn {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: var(--rmt-on-dark-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.rmt-footer-cookie-btn:hover { color: var(--rmt-copper-bright); }

/* ==========================================================================
   19. Legacy: hide any Google Translate chrome left in visitors' cookies
   ========================================================================== */
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
#google_translate_element {
  display: none !important;
}
body { top: 0 !important; }
