/* ==========================================================================
   MARCUS SAYEG ADVOCACIA — DIREITO DE FAMÍLIA
   Senior Editorial & Architectural Stylesheet
   Palette:
   - Deep Black:       #08080A
   - Graphite:         #111216
   - Warm Off-White:   #F3F1EC / #EAE6DF
   - Charcoal Ink:     #121316
   - Neutral Gray:     #989EA8 (on dark) / #545861 (on light)
   - Aged Gold:        #B89A67 (strictly restrained to editorial indices & key accents)
   ========================================================================== */

:root {
  --bg-obsidian: #08080a;
  --bg-graphite: #101115;
  --bg-offwhite: #f3f1ec;
  --bg-stone: #ebe8e0;

  --text-light: #f4f5f7;
  --text-offwhite: #e4e2dd;
  --text-muted-dark: #989ea8;
  --text-subtle-dark: #686e78;

  --text-ink: #121316;
  --text-ink-secondary: #4a4e57;
  --text-ink-muted: #727680;

  --gold-aged: #b89a67;

  --rule-dark: rgba(244, 245, 247, 0.11);
  --rule-dark-strong: rgba(244, 245, 247, 0.24);
  --rule-light: rgba(18, 19, 22, 0.12);
  --rule-light-strong: rgba(18, 19, 22, 0.28);

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

  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-obsidian);
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-obsidian);
  color: var(--text-light);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

.w-full {
  width: 100%;
}

/* Skip Link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1.5rem;
  z-index: 120;
  padding: 0.7rem 1.2rem;
  background-color: var(--text-light);
  color: var(--bg-obsidian);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease-std);
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--gold-aged);
  outline-offset: 2px;
}

:focus-visible {
  outline: 1.5px solid var(--gold-aged);
  outline-offset: 3px;
}

::selection {
  background: rgba(184, 154, 103, 0.25);
  color: var(--text-light);
}

/* ==========================================================================
   0. INTRODUÇÃO CINEMATOGRÁFICA COM A LOGO (1.35s — SÓBRIA E SILENCIOSA)
   ========================================================================== */

.brand-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: #08080a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  /* Pure CSS fallback guarantees it never blocks the page even if JS fails */
  animation: introOverlayExit 1.35s var(--ease-editorial) forwards;
}

body.intro-active {
  overflow: hidden !important;
}

.brand-intro-logo {
  width: clamp(200px, 24vw, 320px);
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: translateY(6px);
  animation: introLogoReveal 1.25s var(--ease-editorial) forwards;
}

@keyframes introLogoReveal {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  38% {
    opacity: 1;
    transform: translateY(0);
  }
  74% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes introOverlayExit {
  0%, 72% {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  98% {
    opacity: 0;
    visibility: visible;
    pointer-events: none;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

html.intro-seen .brand-intro-overlay,
.brand-intro-overlay.is-dismissed {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
  .brand-intro-overlay {
    display: none !important;
    animation: none !important;
  }
  .brand-intro-logo {
    animation: none !important;
  }
}

/* ==========================================================================
   HEADER & PRIMARY NAVIGATION
   ========================================================================== */

.hero-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  padding: 1.5rem 4.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: padding 0.35s var(--ease-std), background-color 0.35s var(--ease-std), border-color 0.35s var(--ease-std);
  animation: headerEntrance 1.1s var(--ease-editorial) 0.9s both;
}

html.intro-seen .hero-header {
  animation-delay: 0.15s;
}

.hero-header.is-sticky {
  padding: 1rem 4.5%;
  background-color: rgba(8, 8, 10, 0.96);
  border-bottom: 1px solid var(--rule-dark);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.25s var(--ease-std), height 0.3s var(--ease-std);
}

.hero-header.is-sticky .brand-logo-img {
  height: 36px;
}

.brand-logo:hover .brand-logo-img {
  opacity: 0.85;
}

.header-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted-dark);
  text-decoration: none;
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.25s var(--ease-std);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-editorial);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-light);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Discrete Architectural Header Contact Link (No Pill Cliché) */
.header-contact-link {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--rule-dark-strong);
  color: var(--text-light);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: border-color 0.25s var(--ease-std), background-color 0.25s var(--ease-std), color 0.25s var(--ease-std);
}

.header-contact-link:hover {
  border-color: var(--text-light);
  background-color: var(--text-light);
  color: var(--bg-obsidian);
}

/* ==========================================================================
   1. HERO SECTION — PRIMEIRA DOBRA CINEMATOGRÁFICA
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: min(100vh, 1080px);
  min-height: min(100svh, 1080px);
  max-height: 1080px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background-color: var(--bg-obsidian);
  padding-top: 5.5rem;
}

/* Subtle Architectural Lighting Behind Portrait (No artificial gold glow) */
.hero-ambient-lighting {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle 680px at 50% 45%, rgba(30, 32, 38, 0.55) 0%, rgba(14, 15, 19, 0.8) 52%, rgba(8, 8, 10, 1) 85%);
}

/* Editorial Giant Typography Behind Subject */
.hero-editorial-typography {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1920px;
  text-align: center;
  z-index: 5;
  pointer-events: none;
  user-select: none;
  padding: 0 1rem;
  animation: bgNameEntrance 1.6s var(--ease-editorial) 0.85s both;
}

html.intro-seen .hero-editorial-typography {
  animation-delay: 0.15s;
}

.hero-editorial-name {
  font-family: var(--font-serif);
  font-size: clamp(4.2rem, 11.4vw, 12rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 0.88;
  color: var(--text-light);
  opacity: 0.09;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-editorial-name .name-line-1 {
  display: block;
  letter-spacing: 0.25em;
}

.hero-editorial-name .name-line-2 {
  display: block;
  letter-spacing: 0.21em;
}

/* Central Stage & Portrait */
.hero-stage {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 15;
  pointer-events: none;
}

.hero-subject-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  width: 100%;
  max-width: 1400px;
}

.hero-subject-img {
  height: min(84vh, 900px);
  max-height: min(84vh, 900px);
  width: auto;
  max-width: 94vw;
  object-fit: contain;
  object-position: bottom center;
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.75) 4%, black 16%);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, 0.75) 4%, black 16%);
  animation: portraitEntrance 1.5s var(--ease-editorial) 0.7s both;
}

html.intro-seen .hero-subject-img {
  animation-delay: 0s;
}

/* Floor Vignette Integration */
.hero-floor-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: min(25vh, 270px);
  background: linear-gradient(to top, var(--bg-obsidian) 0%, rgba(8, 8, 10, 0.86) 45%, transparent 100%);
  z-index: 18;
  pointer-events: none;
}

/* Lateral Editorial Notes (Clean Typography, No Glowing Dots) */
.hero-flank {
  position: absolute;
  top: 47%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  pointer-events: none;
}

.hero-flank-left {
  left: 4.5%;
  animation: flankLeftEntrance 1.3s var(--ease-editorial) 1.05s both;
}

.hero-flank-right {
  right: 4.5%;
  align-items: flex-end;
  text-align: right;
  animation: flankRightEntrance 1.3s var(--ease-editorial) 1.05s both;
}

html.intro-seen .hero-flank-left,
html.intro-seen .hero-flank-right {
  animation-delay: 0.35s;
}

.hero-flank-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-flank-label {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--text-subtle-dark);
}

.hero-flank-subtext {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--text-offwhite);
  opacity: 0.78;
}

/* Bottom Editorial Bar */
.hero-bottom-bar {
  position: relative;
  z-index: 30;
  width: 100%;
  padding: 1.5rem 4.5% 2.4rem;
  display: grid;
  grid-template-columns: minmax(300px, 460px) auto minmax(280px, 460px);
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  animation: bottomEntrance 1.3s var(--ease-editorial) 1.15s both;
}

html.intro-seen .hero-bottom-bar {
  animation-delay: 0.45s;
}

.hero-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 460px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold-aged);
}

.credentials-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.9vw, 1.9rem);
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.2;
}

.credentials-subtext {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.58;
  color: var(--text-muted-dark);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  padding: 0 1rem;
}

.scroll-text {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--text-muted-dark);
  transition: color 0.25s var(--ease-std);
}

.hero-scroll-indicator:hover .scroll-text {
  color: var(--text-light);
}

.scroll-line-container {
  width: 1px;
  height: 36px;
  background: var(--rule-dark);
  position: relative;
  overflow: hidden;
}

.scroll-line-runner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 14px;
  background-color: var(--text-light);
  animation: scrollDownCycle 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollDownCycle {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateY(250%);
    opacity: 0;
  }
}

/* Architectural Rectangular Buttons (No Pill Clichés, No Artificial Gradients/Glows) */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
}

.btn-editorial-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.65rem;
  background-color: var(--text-light);
  border: 1px solid var(--text-light);
  color: var(--bg-obsidian);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-std), border-color 0.25s var(--ease-std), color 0.25s var(--ease-std);
}

.btn-editorial-primary:hover {
  background-color: transparent;
  color: var(--text-light);
}

.btn-editorial-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.5rem;
  background-color: rgba(8, 8, 10, 0.65);
  border: 1px solid var(--rule-dark-strong);
  color: var(--text-offwhite);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: border-color 0.25s var(--ease-std), color 0.25s var(--ease-std);
}

.btn-editorial-secondary:hover {
  border-color: var(--text-light);
  color: var(--text-light);
}

/* ==========================================================================
   HERO ENTRANCE KEYFRAMES
   ========================================================================== */

@keyframes portraitEntrance {
  0% {
    opacity: 0;
    transform: translateY(36px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bgNameEntrance {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 28px));
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes headerEntrance {
  0% {
    opacity: 0;
    transform: translateY(-16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flankLeftEntrance {
  0% {
    opacity: 0;
    transform: translate(-18px, -50%);
  }
  100% {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@keyframes flankRightEntrance {
  0% {
    opacity: 0;
    transform: translate(18px, -50%);
  }
  100% {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@keyframes bottomEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Editorial Sections Remain Legible at All Times (No content hidden by JS) */
.reveal-item {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .brand-intro-overlay {
    display: none !important;
  }
}

/* ==========================================================================
   MOBILE MENU & HERO RESPONSIVE BREAKPOINTS
   ========================================================================== */

.btn-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule-dark-strong);
  width: 42px;
  height: 42px;
  padding: 10px;
  cursor: pointer;
  color: var(--text-light);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-mobile-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background-color: var(--text-light);
  transition: transform 0.3s var(--ease-std);
}

.btn-mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.btn-mobile-toggle.is-active span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background-color: var(--bg-obsidian);
  z-index: 48;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5.5rem 1.75rem 2.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-std), visibility 0.3s var(--ease-std);
}

.mobile-nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-inner {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--text-muted-dark);
  text-decoration: none;
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule-dark);
  transition: color 0.25s var(--ease-std);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--text-light);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-drawer-contacts {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
}

.mobile-drawer-contacts a {
  color: var(--text-muted-dark);
  text-decoration: none;
}

/* Laptops (1025px - 1366px) */
@media (max-width: 1366px) {
  .hero-flank-left { left: 3%; }
  .hero-flank-right { right: 3%; }
  .hero-editorial-name {
    font-size: clamp(3.6rem, 10vw, 9.5rem);
  }
  .hero-subject-img {
    height: min(80vh, 840px);
    max-height: min(80vh, 840px);
  }
  .hero-bottom-bar {
    grid-template-columns: minmax(260px, 410px) auto minmax(260px, 410px);
    padding: 1.25rem 3.5% 1.85rem;
  }
}

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
  .hero-flank {
    display: none;
  }
  .header-nav {
    display: none;
  }
  .btn-mobile-toggle {
    display: flex;
  }
  .hero-editorial-typography {
    top: 22%;
  }
  .hero-editorial-name {
    font-size: clamp(3.2rem, 10.5vw, 6.4rem);
  }
  .hero-stage {
    bottom: 140px;
  }
  .hero-subject-img {
    height: 58vh;
    max-height: 600px;
  }
  .hero-bottom-bar {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem 4.5% 2rem;
    background: linear-gradient(to top, #08080a 82%, rgba(8, 8, 10, 0.9) 95%, transparent 100%);
    border-top: 1px solid var(--rule-dark);
  }
  .hero-credentials {
    max-width: 600px;
  }
  .hero-cta-group {
    justify-content: flex-start;
  }
  .hero-scroll-indicator {
    display: none;
  }
}

/* Mobile Devices (320px - 767px) */
@media (max-width: 767px) {
  .hero-section {
    min-height: 100svh;
    height: auto;
    justify-content: space-between;
    padding-top: 4.5rem;
  }

  .hero-header {
    padding: 0.9rem 1.2rem;
  }

  .hero-header.is-sticky {
    padding: 0.8rem 1.2rem;
  }

  .brand-logo-img,
  .hero-header.is-sticky .brand-logo-img {
    height: 33px;
  }

  .header-contact-link {
    display: none;
  }

  .btn-mobile-toggle {
    display: flex;
    width: 40px;
    height: 40px;
  }

  .hero-editorial-typography {
    top: 25%;
    padding: 0 0.5rem;
  }

  .hero-editorial-name {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
    letter-spacing: 0.12em;
    opacity: 0.09;
  }

  .hero-stage {
    position: relative;
    inset: auto;
    height: 46svh;
    min-height: 285px;
    max-height: 400px;
    margin-top: 0.5rem;
    align-items: flex-end;
  }

  .hero-subject-img {
    height: 100%;
    max-height: 100%;
    max-width: 94vw;
  }

  .hero-bottom-bar {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 1.15rem 1.25rem 1.65rem;
    text-align: left;
    background: linear-gradient(to top, #08080a 88%, rgba(8, 8, 10, 0.92) 96%, transparent 100%);
    border-top: 1px solid var(--rule-dark);
  }

  .hero-credentials {
    max-width: 100%;
  }

  .credentials-headline {
    font-size: clamp(1.3rem, 5.4vw, 1.55rem);
  }

  .credentials-subtext {
    font-size: 0.82rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }

  .btn-editorial-primary,
  .btn-editorial-secondary {
    width: 100%;
  }
}

/* ==========================================================================
   EDITORIAL SECTION SYSTEM (DARK & LIGHT CONTRAST)
   ========================================================================== */

.section-dark {
  background-color: var(--bg-obsidian);
  color: var(--text-light);
  padding: 7.5rem 4.5%;
  border-top: 1px solid var(--rule-dark);
}

.section-graphite {
  background-color: var(--bg-graphite);
  color: var(--text-light);
  padding: 7.5rem 4.5%;
  border-top: 1px solid var(--rule-dark);
}

.section-light {
  background-color: var(--bg-offwhite);
  color: var(--text-ink);
  padding: 7.5rem 4.5%;
  border-top: 1px solid var(--rule-light);
}

.section-contact-dark {
  background-color: var(--bg-obsidian);
  color: var(--text-light);
  padding: 7.5rem 4.5%;
  border-top: 1px solid var(--rule-dark);
}

.editorial-container {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

.editorial-index {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold-aged);
  margin-bottom: 1.1rem;
}

.editorial-h2-dark {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.35rem);
  font-weight: 400;
  line-height: 1.14;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

.editorial-h2-light {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.35rem);
  font-weight: 400;
  line-height: 1.14;
  color: var(--text-ink);
  letter-spacing: 0.01em;
}

.section-split-header {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: end;
  padding-bottom: 2.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--rule-dark);
}

.section-header-desc {
  font-size: 0.94rem;
  color: var(--text-muted-dark);
  line-height: 1.7;
}

@media (max-width: 960px) {
  .section-dark,
  .section-graphite,
  .section-light,
  .section-contact-dark {
    padding: 5rem 1.25rem;
  }

  .section-split-header {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.8rem;
  }
}

/* ==========================================================================
   2. SOBRE O ADVOGADO (OFF-WHITE EDITORIAL SPREAD)
   ========================================================================== */

.about-grid-12 {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 4.5rem;
  align-items: start;
}

.about-meta-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid var(--rule-light-strong);
  padding-top: 1.5rem;
}

.about-side-note {
  font-size: 0.86rem;
  color: var(--text-ink-secondary);
  line-height: 1.65;
  margin-top: 0.5rem;
}

.about-quote {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-light);
}

.about-quote p {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-style: italic;
  color: var(--text-ink);
  line-height: 1.42;
}

.about-quote footer {
  margin-top: 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-ink-muted);
}

.about-main-col {
  border-top: 1px solid var(--rule-light-strong);
  padding-top: 1.5rem;
}

.about-prose-columns {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  font-size: 0.96rem;
  color: var(--text-ink-secondary);
  line-height: 1.78;
}

.about-prose-columns strong {
  color: var(--text-ink);
  font-weight: 600;
}

.about-principles-grid {
  margin-top: 3.5rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--rule-light);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.principle-col dt {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 500;
  color: var(--text-ink);
  margin-bottom: 0.45rem;
}

.principle-col dd {
  font-size: 0.85rem;
  color: var(--text-ink-secondary);
  line-height: 1.65;
}

@media (max-width: 960px) {
  .about-grid-12 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-prose-columns,
  .about-principles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-quote {
    margin-top: 1.75rem;
  }
}

/* ==========================================================================
   3. ÁREAS DE ATUAÇÃO (ARCHITECTURAL LEDGER — ZERO PILLS OR CARDS)
   ========================================================================== */

.practice-ledger {
  display: flex;
  flex-direction: column;
}

.ledger-item {
  display: grid;
  grid-template-columns: 56px 320px 1fr auto;
  gap: 2.5rem;
  align-items: baseline;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--rule-dark);
  transition: border-color 0.3s var(--ease-std);
}

.ledger-item:hover {
  border-bottom-color: var(--rule-dark-strong);
}

.ledger-num {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold-aged);
}

.ledger-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.2vw, 2.05rem);
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.15;
}

.ledger-subtitle {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.76rem;
  color: var(--text-subtle-dark);
  letter-spacing: 0.04em;
}

.ledger-desc {
  font-size: 0.92rem;
  color: var(--text-muted-dark);
  line-height: 1.72;
  max-width: 60ch;
}

.link-ledger-detail {
  background: none;
  border: none;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--rule-dark-strong);
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s var(--ease-std), border-color 0.25s var(--ease-std);
}

.link-ledger-detail:hover {
  color: var(--gold-aged);
  border-color: var(--gold-aged);
}

@media (max-width: 1080px) {
  .ledger-item {
    grid-template-columns: 40px 1fr;
    gap: 1rem 1.5rem;
  }
  .ledger-desc,
  .ledger-action {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .ledger-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 2rem 0;
  }
  .ledger-desc,
  .ledger-action {
    grid-column: 1;
  }
}

/* ==========================================================================
   4. METODOLOGIA DE ATENDIMENTO (ASYMMETRIC TIMELINE)
   ========================================================================== */

.methodology-asymmetric-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4.5rem;
  align-items: start;
}

.methodology-lead-text {
  margin-top: 1.25rem;
  font-size: 0.96rem;
  color: var(--text-muted-dark);
  line-height: 1.7;
}

.methodology-ethics-footnote {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-dark);
  font-size: 0.76rem;
  color: var(--text-subtle-dark);
  line-height: 1.6;
}

.methodology-vertical-list {
  list-style: none;
  border-top: 1px solid var(--rule-dark);
}

.method-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  padding: 1.85rem 0;
  border-bottom: 1px solid var(--rule-dark);
  align-items: baseline;
}

.method-step-num {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold-aged);
}

.method-step-body h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.method-step-body p {
  font-size: 0.88rem;
  color: var(--text-muted-dark);
  line-height: 1.68;
}

@media (max-width: 960px) {
  .methodology-asymmetric-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ==========================================================================
   5. FORMAÇÃO E TRAJETÓRIA ACADÊMICA (OFF-WHITE EDITORIAL PORTRAIT)
   ========================================================================== */

.academic-editorial-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: start;
}

.academic-figure {
  margin: 0;
}

.academic-photo-crop {
  width: 100%;
  aspect-ratio: 1124 / 1399;
  overflow: hidden;
  background-color: #d8d5ce;
}

.academic-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.academic-figcaption {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule-light);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-ink-muted);
  letter-spacing: 0.06em;
}

.academic-text-col {
  padding-top: 0.5rem;
}

.academic-narrative {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  font-size: 0.96rem;
  color: var(--text-ink-secondary);
  line-height: 1.76;
}

.academic-narrative strong {
  color: var(--text-ink);
  font-weight: 600;
}

.academic-spec-table {
  margin-top: 2.75rem;
  border-top: 1px solid var(--rule-light-strong);
}

.spec-dl {
  display: flex;
  flex-direction: column;
}

.spec-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: 0.86rem;
}

.spec-row dt {
  color: var(--text-ink-muted);
  font-weight: 500;
}

.spec-row dd {
  color: var(--text-ink);
  font-weight: 500;
}

.spec-row dd.spec-pending {
  color: var(--text-ink-secondary);
  font-weight: 400;
  font-style: italic;
}

.spec-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-ink-muted);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .academic-editorial-layout {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  .academic-figure {
    max-width: 460px;
  }
  .spec-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* ==========================================================================
   6. CONTEÚDO JURÍDICO E ARTIGOS (CADERNO EDITORIAL)
   ========================================================================== */

.editorial-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--rule-dark);
}

.filter-tab {
  background: none;
  border: none;
  padding: 0 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted-dark);
  border-bottom: 1.5px solid transparent;
  cursor: pointer;
  transition: color 0.25s var(--ease-std), border-color 0.25s var(--ease-std);
}

.filter-tab:hover {
  color: var(--text-light);
}

.filter-tab.is-active {
  color: var(--text-light);
  border-bottom-color: var(--gold-aged);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule-dark);
  border-left: 1px solid var(--rule-dark);
}

.journal-entry {
  padding: 2.4rem 2rem;
  border-right: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.25s var(--ease-std);
}

.journal-entry[hidden] {
  display: none !important;
}

.journal-entry:hover {
  background-color: rgba(255, 255, 255, 0.015);
}

.journal-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-subtle-dark);
  margin-bottom: 1.15rem;
}

.journal-cat {
  color: var(--gold-aged);
}

.journal-title {
  font-family: var(--font-serif);
  font-size: 1.52rem;
  font-weight: 400;
  line-height: 1.24;
  margin-bottom: 0.9rem;
}

.journal-title-link {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font: inherit;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.25s var(--ease-std);
}

.journal-title-link:hover {
  color: var(--gold-aged);
}

.journal-summary {
  font-size: 0.86rem;
  color: var(--text-muted-dark);
  line-height: 1.68;
  margin-bottom: 1.75rem;
}

.journal-read-more {
  background: none;
  border: none;
  padding: 0;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-offwhite);
  cursor: pointer;
  transition: color 0.25s var(--ease-std);
}

.journal-read-more:hover {
  color: var(--gold-aged);
}

@media (max-width: 1024px) {
  .journal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .journal-grid {
    grid-template-columns: 1fr;
  }
  .journal-entry {
    padding: 1.85rem 1.25rem;
  }
}

/* ==========================================================================
   7. CHAMADA FINAL & CONTATO OFICIAL
   ========================================================================== */

.contact-hero-callout {
  padding-bottom: 4.5rem;
  margin-bottom: 4.5rem;
  border-bottom: 1px solid var(--rule-dark);
}

.callout-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: end;
}

.callout-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.2vw, 3.6rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--text-light);
}

.callout-subtext {
  font-size: 0.96rem;
  color: var(--text-muted-dark);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.contact-directory-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  align-items: start;
}

.directory-heading {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text-light);
}

.directory-intro {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted-dark);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.directory-list {
  border-top: 1px solid var(--rule-dark);
}

.directory-item {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule-dark);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.directory-item dt {
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-subtle-dark);
}

.directory-link {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--text-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.25s var(--ease-std);
}

.directory-link:hover {
  color: var(--gold-aged);
}

/* Architectural Contact Form */
.editorial-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field-label {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted-dark);
}

.field-input,
.field-textarea {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-dark-strong);
  padding: 0.75rem 0;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  border-radius: 0;
  transition: border-color 0.25s var(--ease-std);
}

.field-input select,
select.field-input option {
  background-color: var(--bg-graphite);
  color: var(--text-light);
}

.field-input:focus,
.field-textarea:focus {
  outline: none;
  border-bottom-color: var(--gold-aged);
}

.field-input.has-error,
.field-textarea.has-error {
  border-bottom-color: #ef4444;
}

.field-error {
  font-size: 0.75rem;
  color: #f87171;
}

.channel-fieldset {
  border: none;
  padding-top: 0.35rem;
}

.channel-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.65rem;
}

.channel-option {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-offwhite);
  cursor: pointer;
}

.channel-option input[type="radio"] {
  accent-color: var(--gold-aged);
}

.form-feedback {
  padding: 0.95rem 1.15rem;
  border: 1px solid var(--rule-dark-strong);
  font-size: 0.84rem;
  color: var(--text-offwhite);
}

.form-privacy-disclaimer {
  font-size: 0.74rem;
  color: var(--text-subtle-dark);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .callout-split,
  .contact-directory-grid,
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-hero-callout {
    padding-bottom: 3rem;
    margin-bottom: 3rem;
  }
}

/* ==========================================================================
   FOOTER — RODAPÉ INSTITUCIONAL
   ========================================================================== */

.site-footer {
  padding: 4.5rem 4.5% 2.5rem;
  background-color: #050507;
  border-top: 1px solid var(--rule-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule-dark);
}

.footer-logo-img {
  height: 38px;
  margin-bottom: 1rem;
}

.footer-brand-desc {
  font-size: 0.84rem;
  color: var(--text-muted-dark);
  line-height: 1.65;
  max-width: 38ch;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-light);
  margin-bottom: 1.1rem;
}

.footer-link-list,
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.84rem;
}

.footer-link-list a,
.footer-contact-list a {
  color: var(--text-muted-dark);
  text-decoration: none;
  transition: color 0.25s var(--ease-std);
}

.footer-link-list a:hover,
.footer-contact-list a:hover {
  color: var(--text-light);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-subtle-dark);
}

.footer-legal-copy {
  max-width: 780px;
}

.footer-ethics-note {
  margin-top: 0.35rem;
  font-size: 0.72rem;
}

.footer-policy-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-muted-dark);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.footer-policy-btn:hover {
  color: var(--text-light);
}

@media (max-width: 960px) {
  .site-footer {
    padding: 3.5rem 1.25rem 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem;
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

/* ==========================================================================
   ARCHITECTURAL READER SHEET (MODAL)
   ========================================================================== */

.editorial-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background-color: rgba(5, 5, 7, 0.88);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.editorial-modal-backdrop[hidden] {
  display: none !important;
}

.editorial-modal-container {
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  background-color: var(--bg-graphite);
  border: 1px solid var(--rule-dark-strong);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.editorial-modal-header {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--rule-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-obsidian);
}

.modal-meta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.modal-category-tag {
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-aged);
}

.modal-date-text {
  font-size: 0.72rem;
  color: var(--text-subtle-dark);
}

.modal-close-btn {
  background: none;
  border: 1px solid var(--rule-dark-strong);
  padding: 0.4rem 0.85rem;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
}

.modal-close-btn:hover {
  border-color: var(--text-light);
}

.editorial-modal-body {
  padding: 2.5rem 2.2rem;
  overflow-y: auto;
}

.modal-article-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.18;
  margin-bottom: 1.5rem;
}

.modal-article-prose {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  font-size: 0.94rem;
  color: var(--text-muted-dark);
  line-height: 1.76;
}

.modal-article-prose h3 {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 400;
  color: var(--text-light);
  margin-top: 0.85rem;
}

.modal-article-prose ul {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.modal-related-section {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-dark);
}

.modal-related-heading {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-aged);
  margin-bottom: 1rem;
}

.modal-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.related-item-btn {
  padding: 0.9rem 1rem;
  background-color: var(--bg-obsidian);
  border: 1px solid var(--rule-dark);
  text-align: left;
  color: var(--text-offwhite);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  cursor: pointer;
  transition: border-color 0.25s var(--ease-std);
}

.related-item-btn:hover {
  border-color: var(--gold-aged);
}

.editorial-modal-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--rule-dark);
  background-color: var(--bg-obsidian);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.modal-footer-disclaimer {
  font-size: 0.74rem;
  color: var(--text-subtle-dark);
  max-width: 420px;
}

@media (max-width: 680px) {
  .editorial-modal-backdrop {
    padding: 0.75rem;
  }
  .editorial-modal-header,
  .editorial-modal-body,
  .editorial-modal-footer {
    padding: 1.25rem;
  }
  .modal-related-grid {
    grid-template-columns: 1fr;
  }
}
