/* ==========================================================================
   ROBERTS LEGAL LLP - ARCHITECTURAL EDITORIAL LEGAL DESIGN SYSTEM
   Color System: Deep British Racing Forest (#0C231E), Crisp Bone Chalk (#F4F4EF),
                 Porcelain White (#FFFFFF), Oxblood Claret Accent (#7A1E2C)
   ========================================================================== */

:root {
  --rl-pine-deep: #081814;
  --rl-forest: #0C231E;
  --rl-forest-mid: #14332C;
  --rl-forest-border: rgba(255, 255, 255, 0.12);

  --rl-chalk: #F4F4EF;
  --rl-porcelain: #FFFFFF;
  --rl-stone-tint: #ECEEE9;
  --rl-border-light: #D5DCD6;

  --rl-claret: #7A1E2C;
  --rl-claret-hover: #5E1520;
  --rl-claret-tint: rgba(122, 30, 44, 0.08);
  --rl-claret-light: #D98996;

  --rl-ink: #12211D;
  --rl-ink-muted: #495953;
  --rl-ink-dim: #6B7B75;

  --rl-light-text: #F4F4EF;
  --rl-light-muted: #BDD0C9;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--rl-pine-deep);
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--rl-ink);
  background-color: var(--rl-chalk);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 76px;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   PORTFOLIO ATTRIBUTION STRIP
   ========================================================================== */

.demo-bar {
  background: var(--rl-pine-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--rl-light-muted);
  font-size: 12px;
  padding: 7px 0;
  position: relative;
  z-index: 60;
}

.demo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.demo-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-bar-left strong {
  color: #ffffff;
}

.demo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rl-claret-light);
  box-shadow: 0 0 8px rgba(217, 137, 150, 0.7);
  flex-shrink: 0;
}

.demo-back-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.demo-back-link:hover {
  background: var(--rl-claret);
  border-color: var(--rl-claret);
}

/* ==========================================================================
   EDITORIAL OVERLAY HEADER
   ========================================================================== */

.rl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(8, 24, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.rl-header.scrolled {
  background: rgba(8, 24, 20, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.rl-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.rl-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  line-height: 1;
}

.rl-brand-arc {
  width: 58px;
  height: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2px;
}

.rl-brand-text {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}

.rl-brand-text em {
  font-style: italic;
  font-weight: 500;
}

.rl-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.rl-nav-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 244, 239, 0.84);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.rl-nav-link:hover {
  color: #ffffff;
  border-bottom-color: var(--rl-claret-light);
}

.rl-nav-cta {
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 3px;
  color: #ffffff;
}

.rl-nav-cta:hover {
  background: var(--rl-claret);
  border-color: var(--rl-claret);
}

.rl-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  cursor: pointer;
  padding: 0 9px;
}

.rl-menu-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #ffffff;
}

/* Mobile Drawer */
.rl-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.rl-drawer.active {
  visibility: visible;
  pointer-events: auto;
}

.rl-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 12, 10, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.rl-drawer.active .rl-drawer-backdrop {
  opacity: 1;
}

.rl-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 86vw);
  height: 100%;
  background: var(--rl-pine-deep);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
}

.rl-drawer.active .rl-drawer-panel {
  transform: translateX(0);
}

.rl-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rl-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.rl-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px 0 auto;
}

.rl-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 10px;
  color: var(--rl-light-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rl-drawer-link span {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--rl-claret-light);
  font-weight: 700;
}

.rl-drawer-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  font-size: 13px;
  color: var(--rl-light-muted);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rl-drawer-foot a {
  color: #ffffff;
  text-decoration: underline;
}

.rl-drawer-portfolio {
  text-decoration: none !important;
  font-weight: 600;
  color: var(--rl-claret-light) !important;
}

/* ==========================================================================
   1. FULL-BLEED EDITORIAL HERO (McMan & Co Architectural Rhythm)
   ========================================================================== */

.rl-hero {
  position: relative;
  min-height: min(88vh, 840px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--rl-pine-deep);
  background-image: url('hero-horizon.svg');
  background-size: cover;
  background-position: center bottom;
  color: #ffffff;
  overflow: hidden;
  padding: 72px 0 34px;
}

.rl-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 42%, rgba(8, 24, 20, 0.22) 0%, rgba(6, 19, 16, 0.56) 75%, rgba(6, 19, 16, 0.78) 100%),
    linear-gradient(180deg, rgba(6, 18, 15, 0.45) 0%, transparent 28%, transparent 72%, rgba(6, 18, 15, 0.72) 100%);
  pointer-events: none;
}

.rl-hero-center {
  position: relative;
  z-index: 2;
  margin: auto;
  text-align: center;
  padding: 40px 24px 20px;
}

.rl-hero-eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 244, 239, 0.78);
  margin-bottom: 14px;
}

.rl-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.65rem, 6.4vw, 5.2rem);
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.05;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.rl-hero-sub {
  font-size: clamp(0.72rem, 1.25vw, 0.86rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 244, 239, 0.88);
  margin-bottom: 30px;
}

.rl-hero-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
}

.rl-hero-link {
  color: rgba(244, 244, 239, 0.9);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.rl-hero-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.rl-hero-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 24px;
  background: var(--rl-claret);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rl-hero-btn:hover {
  background: var(--rl-claret-hover);
  transform: translateY(-1px);
}

.rl-hero-bottom {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 16px;
  padding-top: 24px;
}

.rl-affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(244, 244, 239, 0.78);
}

.rl-affiliations .sep {
  opacity: 0.55;
}

.rl-heritage-mark {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
}

.rl-years-num {
  font-family: var(--font-serif);
  font-size: 3.1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.88;
}

.rl-years-word {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  margin-top: 3px;
}

.rl-years-span {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(244, 244, 239, 0.72);
  margin-top: 4px;
}

/* ==========================================================================
   SHARED EDITORIAL SECTIONS & TYPOGRAPHY
   ========================================================================== */

.rl-section {
  padding: 88px 0;
}

.rl-section--chalk {
  background: var(--rl-chalk);
  border-top: 1px solid var(--rl-border-light);
}

.rl-section--porcelain {
  background: var(--rl-porcelain);
  border-top: 1px solid var(--rl-border-light);
}

.rl-section--forest {
  background:
    radial-gradient(ellipse 60% 55% at 88% 18%, rgba(122, 30, 44, 0.18), transparent 65%),
    radial-gradient(ellipse 50% 60% at 10% 85%, rgba(38, 84, 72, 0.35), transparent 65%),
    var(--rl-forest);
  color: var(--rl-light-text);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rl-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rl-claret);
  margin-bottom: 12px;
}

.rl-kicker--light {
  color: var(--rl-claret-light);
}

.rl-h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 2.95rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--rl-ink);
  margin-bottom: 18px;
}

.rl-h2--light {
  color: #ffffff;
}

.rl-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 40px;
  padding-bottom: 34px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--rl-border-light);
}

.rl-section-head .rl-h2 {
  margin-bottom: 0;
}

.rl-section-note {
  max-width: 390px;
  font-size: 14.5px;
  color: var(--rl-ink-muted);
  line-height: 1.6;
}

/* ==========================================================================
   2. PROFILE / THE FIRM
   ========================================================================== */

.rl-editorial-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px 64px;
  align-items: start;
}

.rl-editorial-split > *,
.rl-partners-layout > *,
.rl-contact-grid > *,
.rl-form-row > * {
  min-width: 0;
}

.rl-text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--rl-claret);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1.5px solid rgba(122, 30, 44, 0.35);
  margin-top: 6px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.rl-text-link:hover {
  color: var(--rl-claret-hover);
  border-bottom-color: var(--rl-claret-hover);
}

.rl-pillars-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--rl-border-light);
}

.rl-metric-cell strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--rl-ink);
  line-height: 1.2;
}

.rl-metric-cell span {
  display: block;
  font-size: 12px;
  color: var(--rl-ink-muted);
  margin-top: 3px;
  line-height: 1.35;
}

.rl-split-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rl-lead-p {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--rl-ink);
  line-height: 1.65;
}

.rl-split-body p:not(.rl-lead-p) {
  font-size: 15.5px;
  color: var(--rl-ink-muted);
  line-height: 1.75;
}

/* ==========================================================================
   3. PRACTICE AREAS (Hairline 3x2 Architectural Grid)
   ========================================================================== */

.rl-practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rl-border-light);
  border-left: 1px solid var(--rl-border-light);
}

.rl-practice-card {
  position: relative;
  padding: 32px 28px;
  border-right: 1px solid var(--rl-border-light);
  border-bottom: 1px solid var(--rl-border-light);
  background: var(--rl-porcelain);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: background 0.25s ease;
}

.rl-practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rl-claret);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.rl-practice-card:hover {
  background: var(--rl-chalk);
}

.rl-practice-card:hover::before {
  transform: scaleX(1);
}

.rl-card-index {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rl-claret);
}

.rl-practice-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--rl-ink);
  line-height: 1.2;
}

.rl-practice-card p {
  font-size: 14.5px;
  color: var(--rl-ink-muted);
  line-height: 1.65;
  margin-bottom: auto;
}

.rl-card-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rl-ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rl-card-link:hover {
  color: var(--rl-claret);
}

/* ==========================================================================
   4. SPECIALISTS & GLOBAL REACH (Deep Forest Contrast Section)
   ========================================================================== */

.rl-partners-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 44px 56px;
  align-items: start;
}

.rl-forest-copy {
  color: var(--rl-light-muted);
  font-size: 15.5px;
  line-height: 1.72;
  margin-bottom: 24px;
}

.rl-corridor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.rl-tab-btn {
  padding: 7px 14px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--rl-light-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rl-tab-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.rl-tab-btn.active {
  background: var(--rl-claret);
  border-color: var(--rl-claret);
  color: #ffffff;
}

.rl-corridor-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
}

.rl-corridor-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: #ffffff;
}

.rl-corridor-item span {
  font-size: 13.5px;
  color: var(--rl-light-muted);
}

.rl-partners-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rl-partner-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rl-forest-border);
  border-radius: 4px;
  padding: 24px 26px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.rl-partner-card:hover {
  border-color: rgba(217, 137, 150, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.rl-partner-card.is-hidden {
  display: none;
}

.rl-partner-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.rl-monogram {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(217, 137, 150, 0.45);
  background: rgba(122, 30, 44, 0.24);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.rl-partner-desk {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rl-claret-light);
}

.rl-partner-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: #ffffff;
}

.rl-partner-card p {
  font-size: 14.5px;
  color: var(--rl-light-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.rl-partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rl-partner-tags span {
  font-size: 11.5px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 3px 10px;
  border-radius: 2px;
}

/* ==========================================================================
   5. INFORMATION & REGULATORY BRIEFINGS
   ========================================================================== */

.rl-briefings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rl-briefing-card {
  background: var(--rl-porcelain);
  border: 1px solid var(--rl-border-light);
  border-radius: 4px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.rl-briefing-card:hover {
  border-color: var(--rl-claret);
  transform: translateY(-2px);
}

.rl-briefing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--rl-ink-dim);
}

.rl-briefing-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rl-claret);
  background: var(--rl-claret-tint);
  padding: 3px 9px;
  border-radius: 2px;
}

.rl-briefing-card h3 {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--rl-ink);
}

.rl-briefing-card p {
  font-size: 14px;
  color: var(--rl-ink-muted);
  line-height: 1.65;
  margin-bottom: auto;
}

.rl-briefing-btn {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 4px 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--rl-claret);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.rl-briefing-btn:hover {
  border-bottom-color: var(--rl-claret);
}

/* ==========================================================================
   6. ENGAGE COUNSEL / CONTACT CHAMBERS
   ========================================================================== */

.rl-contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 44px 56px;
  align-items: start;
}

.rl-contact-lead {
  color: var(--rl-ink-muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.rl-chambers-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rl-chambers-item {
  padding: 16px 18px;
  background: var(--rl-chalk);
  border: 1px solid var(--rl-border-light);
  border-radius: 4px;
}

.rl-chambers-sla {
  border-left: 3px solid var(--rl-claret);
}

.rl-chambers-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rl-ink-dim);
  margin-bottom: 4px;
}

.rl-chambers-val {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--rl-ink);
  text-decoration: none;
  word-break: break-word;
}

a.rl-chambers-val:hover {
  color: var(--rl-claret);
}

.rl-chambers-sla p {
  font-size: 13.5px;
  color: var(--rl-ink-muted);
  line-height: 1.55;
}

.rl-form-card {
  background: var(--rl-chalk);
  border: 1px solid var(--rl-border-light);
  border-radius: 4px;
  padding: 32px 30px;
}

.rl-form-card h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--rl-ink);
  margin-bottom: 4px;
}

.rl-form-sub {
  font-size: 13.5px;
  color: var(--rl-ink-muted);
  margin-bottom: 22px;
}

.rl-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rl-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.rl-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--rl-ink);
  letter-spacing: 0.03em;
}

.rl-field .req {
  color: var(--rl-claret);
}

.rl-field input,
.rl-field select,
.rl-field textarea {
  width: 100%;
  background: var(--rl-porcelain);
  border: 1px solid #C6D0C9;
  border-radius: 3px;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 14px;
  color: var(--rl-ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rl-field input:focus,
.rl-field select:focus,
.rl-field textarea:focus {
  border-color: var(--rl-claret);
  box-shadow: 0 0 0 3px rgba(122, 30, 44, 0.12);
}

.rl-submit-btn {
  width: 100%;
  background: var(--rl-forest);
  color: #ffffff;
  border: 0;
  border-radius: 3px;
  padding: 13px 20px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rl-submit-btn:hover {
  background: var(--rl-claret);
  transform: translateY(-1px);
}

.rl-form-error {
  margin-top: 12px;
  font-size: 13.5px;
  color: #991b1b;
  background: rgba(153, 27, 27, 0.08);
  border: 1px solid rgba(153, 27, 27, 0.25);
  border-radius: 3px;
  padding: 10px 12px;
  display: none;
}

.rl-form-error.visible {
  display: block;
}

/* ==========================================================================
   EDITORIAL FOOTER
   ========================================================================== */

.rl-footer {
  background: var(--rl-pine-deep);
  color: var(--rl-light-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 0 28px;
}

.rl-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.rl-brand--footer {
  align-items: flex-start;
}

.rl-footer-note {
  font-size: 13px;
  color: var(--rl-light-muted);
  margin-top: 8px;
  max-width: 420px;
}

.rl-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.rl-footer-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rl-light-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rl-footer-nav a:hover {
  color: #ffffff;
}

.rl-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 20px;
  font-size: 12.5px;
}

.rl-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.rl-legal-btn {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 12.5px;
  color: var(--rl-light-muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rl-legal-btn:hover {
  color: #ffffff;
}

.rl-footer-credit a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.rl-footer-credit a:hover {
  color: var(--rl-claret-light);
}

/* ==========================================================================
   MODAL DIALOG
   ========================================================================== */

.rl-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.rl-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 15, 0.78);
  backdrop-filter: blur(8px);
}

.rl-modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  background: var(--rl-porcelain);
  color: var(--rl-ink);
  border-radius: 4px;
  border-top: 4px solid var(--rl-claret);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.rl-modal-head {
  padding: 20px 24px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--rl-border-light);
}

.rl-modal-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rl-claret);
  margin-bottom: 4px;
}

.rl-modal-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--rl-ink);
  line-height: 1.2;
}

.rl-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--rl-border-light);
  background: var(--rl-chalk);
  color: var(--rl-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.rl-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--rl-ink-muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rl-modal-body strong {
  color: var(--rl-ink);
}

.rl-docket-box {
  background: var(--rl-chalk);
  border: 1px solid var(--rl-border-light);
  padding: 14px 16px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rl-docket-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
}

.rl-modal-foot {
  padding: 14px 24px;
  background: var(--rl-chalk);
  border-top: 1px solid var(--rl-border-light);
  display: flex;
  justify-content: flex-end;
}

.rl-modal-btn {
  background: var(--rl-forest);
  color: #ffffff;
  border: 0;
  border-radius: 3px;
  padding: 9px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.rl-modal-btn:hover {
  background: var(--rl-claret);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (TABLET 768px & MOBILE 360px-640px)
   ========================================================================== */

@media (max-width: 980px) {
  .rl-editorial-split,
  .rl-partners-layout,
  .rl-contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .rl-briefings-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rl-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .rl-nav {
    display: none;
  }

  .rl-menu-btn {
    display: flex;
  }

  .rl-section {
    padding: 64px 0;
  }

  .rl-hero {
    min-height: 600px;
    padding: 44px 0 28px;
  }

  .rl-hero-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 20px;
  }

  .rl-hero-spacer {
    display: none;
  }

  .rl-heritage-mark {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .rl-practice-grid {
    grid-template-columns: 1fr;
  }

  .rl-briefings-grid {
    grid-template-columns: 1fr;
  }

  .rl-pillars-metrics {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rl-form-row {
    grid-template-columns: 1fr;
  }

  .rl-form-card {
    padding: 24px 18px;
  }

  .rl-practice-card {
    padding: 26px 20px;
  }

  .rl-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .rl-hero-btn {
    width: 100%;
    justify-content: center;
  }

  .rl-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .rl-footer-legal > span:first-child {
    flex-basis: 100%;
  }

  .rl-footer-legal > span:first-child + .sep {
    display: none;
  }
}

@media (max-width: 420px) {
  .rl-submit-btn {
    font-size: 11.5px;
    letter-spacing: 0.05em;
    padding: 12px;
    white-space: nowrap;
  }
}
