/* ============================================================================
   Gardit & Co. Advocates — Shared Design System
   Stone / Marble Light World · Cobalt (#2f4bff) · Brass (#b08d57) · Ink (#0b1220)
   ============================================================================ */

:root {
  --bg: #eef0f3;
  --bg-warm: #f1eee8;
  --bg-sky: #cfdbea;
  --ink: #0b1220;
  --mute: rgba(11, 18, 32, 0.72);
  --mute-soft: rgba(11, 18, 32, 0.54);
  --line: rgba(11, 18, 32, 0.13);
  --line-strong: rgba(11, 18, 32, 0.24);
  --cobalt: #2f4bff;
  --cobalt2: #1b2fa0;
  --cobalt-tint: rgba(47, 75, 255, 0.08);
  --brass: #b08d57;
  --brass-tint: rgba(176, 141, 87, 0.14);
  --glass: rgba(255, 255, 255, 0.78);
  --glass-solid: rgba(255, 255, 255, 0.94);
  --glass-border: rgba(255, 255, 255, 0.85);
  --card-surface: rgba(255, 255, 255, 0.76);
  --surface-sub: rgba(255, 255, 255, 0.68);
  --header-bg: rgba(238, 240, 243, 0.88);
  --hero-fade: rgba(238, 240, 243, 0.9);
  --hero-fade-mid: rgba(238, 240, 243, 0.62);
  --shadow-panel: 0 36px 80px -48px rgba(11, 18, 32, 0.48);
  --shadow-card: 0 22px 54px -34px rgba(11, 18, 32, 0.42);
  --serif: 'Newsreader', 'Times New Roman', Georgia, serif;
  --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.2, 0.8, 0.2, 1);
  --nav-h: 76px;
}

/* Dark / Candle-lit Night Chamber Theme */
html.night {
  --bg: #0b101b;
  --bg-warm: #171a26;
  --bg-sky: #070b14;
  --ink: #f2efe8;
  --mute: rgba(242, 239, 232, 0.76);
  --mute-soft: rgba(242, 239, 232, 0.56);
  --line: rgba(242, 239, 232, 0.14);
  --line-strong: rgba(242, 239, 232, 0.26);
  --cobalt: #758dff;
  --cobalt2: #546ff7;
  --cobalt-tint: rgba(117, 141, 255, 0.14);
  --brass: #d4ae6f;
  --brass-tint: rgba(212, 174, 111, 0.18);
  --glass: rgba(15, 22, 36, 0.78);
  --glass-solid: rgba(17, 24, 40, 0.94);
  --glass-border: rgba(255, 226, 176, 0.18);
  --card-surface: rgba(18, 26, 42, 0.78);
  --surface-sub: rgba(20, 28, 46, 0.72);
  --header-bg: rgba(11, 16, 27, 0.88);
  --hero-fade: rgba(11, 16, 27, 0.9);
  --hero-fade-mid: rgba(11, 16, 27, 0.62);
  --shadow-panel: 0 36px 80px -48px rgba(0, 0, 0, 0.78);
  --shadow-card: 0 22px 54px -34px rgba(0, 0, 0, 0.72);
  color-scheme: dark;
}

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

html {
  scrollbar-width: none;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}
html::-webkit-scrollbar {
  display: none;
}

body {
  background: linear-gradient(175deg, var(--bg-sky) 0%, var(--bg) 42%, var(--bg-warm) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100svh;
  -webkit-font-smoothing: antialiased;
  transition: color 0.3s ease;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Skip Link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus {
  top: 16px;
}

/* WebGL Canvas & Atmosphere */
#gl {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

html.no-webgl #gl {
  display: none;
}

.soft {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 70% 25%, rgba(255, 250, 240, 0.22), transparent 55%),
    radial-gradient(ellipse at center, transparent 54%, rgba(11, 18, 32, 0.14) 100%);
}

html.no-webgl .soft {
  background:
    radial-gradient(circle at 75% 20%, rgba(47, 75, 255, 0.08), transparent 48%),
    radial-gradient(circle at 20% 80%, rgba(176, 141, 87, 0.10), transparent 50%),
    radial-gradient(ellipse at center, transparent 50%, rgba(11, 18, 32, 0.12) 100%);
}

/* Preloader */
#pre {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.85s ease 0.1s, visibility 0.85s 0.1s;
}
body.loaded #pre {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.pre-in {
  text-align: center;
  padding: 0 24px;
}
.pre-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  position: relative;
}
.pre-mark::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--cobalt);
  clip-path: polygon(0 0, 40% 0, 40% 1px, 1px 1px, 1px 40%, 0 40%);
  animation: corner 2s ease-in-out infinite;
}
@keyframes corner {
  0%, 100% { transform: rotate(0); }
  50% { transform: rotate(90deg); }
}
.pre-name {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: 0.03em;
}
.pre-name em {
  font-style: italic;
  color: var(--cobalt);
}
.pre-sub {
  font-size: 11px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 4px;
}
.pre-bar {
  width: min(220px, 60vw);
  height: 1px;
  background: var(--line);
  margin: 24px auto 10px;
  overflow: hidden;
}
.pre-bar i {
  display: block;
  height: 100%;
  background: var(--cobalt);
  transform: scaleX(0);
  transform-origin: left;
}
.pre-pct {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
#pre .msg {
  display: none;
  margin: 18px auto 0;
  font-size: 13px;
  color: var(--mute);
  max-width: 340px;
}

/* Page Transition Curtain */
#page-veil {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: linear-gradient(160deg, rgba(238, 240, 243, 0.96), rgba(241, 238, 232, 0.98));
  pointer-events: none;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 0.36s var(--ease-out), transform 0.45s var(--ease-out);
  display: grid;
  place-items: center;
}
#page-veil.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
#page-veil .veil-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--cobalt);
  letter-spacing: 0.04em;
}

/* Top Scroll Progress Bar */
.topbar {
  position: fixed;
  left: 0;
  top: 0;
  height: 2px;
  z-index: 80;
  background: linear-gradient(90deg, var(--cobalt), var(--brass));
  width: calc(var(--p, 0) * 100%);
  pointer-events: none;
}

/* Custom Cursor (Desktop Pointer Fine Only) */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 160;
  opacity: 0;
  transition: opacity 0.25s ease, width 0.22s var(--ease-out), height 0.22s var(--ease-out), border-color 0.22s ease, background-color 0.22s ease;
  will-change: transform;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cobalt);
  margin: -3px 0 0 -3px;
}
.cursor-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(11, 18, 32, 0.28);
  margin: -17px 0 0 -17px;
}
body.cursor-on .cursor-dot,
body.cursor-on .cursor-ring {
  opacity: 1;
}
body.cursor-hover .cursor-ring {
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-color: var(--cobalt);
  background: rgba(47, 75, 255, 0.06);
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* ============================================================================
   Navigation — Clean 3-Zone Top Bar Contract
   ============================================================================ */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: background-color 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
}

nav.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 18px 4vw;
  min-height: var(--nav-h);
  transition: padding 0.35s ease;
}

header.site-header.scrolled {
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}
html:not(.no-blur) header.site-header.scrolled {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
header.site-header.scrolled nav.top {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Zone 1: Brand wordmark (single line, clean) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand .mk {
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  background: var(--surface-sub);
  transition: border-color 0.25s, background-color 0.25s;
}
.brand:hover .mk {
  border-color: var(--cobalt);
  background: var(--glass-solid);
}
.brand-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Zone 2: Concise single-line text nav links */
.links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.links a,
.links .nav-drop-btn {
  position: relative;
  padding: 6px 0;
  color: var(--mute);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.links a::after,
.links .nav-drop-btn::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--cobalt);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-inout);
}
.links a:hover,
.links a.on,
.links a[aria-current="page"],
.links .nav-drop-btn[aria-expanded="true"] {
  color: var(--ink);
}
.links a:hover::after,
.links a.on::after,
.links a[aria-current="page"]::after,
.links .nav-drop-btn[aria-expanded="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Zone 3: 1 Primary CTA + Compact Utility Icon Buttons + Mobile Menu Button */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-util-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-sub);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.nav-util-btn:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  background: var(--glass-solid);
}
.nav-util-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-sub);
  color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s;
}
.menu-toggle:hover {
  border-color: var(--cobalt);
  background: var(--glass-solid);
}
.menu-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

/* Full-screen Mobile Menu Drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--header-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 6vw 36px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
  overflow-y: auto;
}
html:not(.no-blur) .mobile-menu {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-links {
  display: grid;
  gap: 4px;
  margin: 28px 0;
}
.mobile-menu-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.15;
  color: var(--ink);
  transition: color 0.2s, padding-inline-start 0.25s var(--ease-out);
}
.mobile-menu-links a span.idx {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cobalt);
  font-weight: 600;
}
.mobile-menu-links a:hover,
.mobile-menu-links a[aria-current="page"] {
  color: var(--cobalt);
  padding-inline-start: 8px;
}
.mobile-menu-foot {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--mute);
}
.mobile-menu-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================================
   Buttons & Interactive Controls
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--cobalt);
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s var(--ease-out), box-shadow 0.28s ease, background-color 0.22s ease;
  box-shadow: 0 14px 32px -14px rgba(47, 75, 255, 0.55);
}
.btn:hover {
  background: var(--cobalt2);
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -14px rgba(47, 75, 255, 0.68);
}
.btn:active {
  transform: translateY(0);
}
.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  flex-shrink: 0;
}
.btn.ghost {
  background: var(--surface-sub);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn.ghost:hover {
  border-color: var(--ink);
  background: var(--glass-solid);
  box-shadow: 0 10px 26px -18px rgba(11, 18, 32, 0.35);
}
.btn.brass {
  background: var(--brass);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(176, 141, 87, 0.55);
}
.btn.brass:hover {
  background: #967541;
}
.btn.sm {
  padding: 10px 18px;
  min-height: 40px;
  font-size: 11.5px;
}

/* ============================================================================
   Surfaces, Typography & Layout Primitives
   ============================================================================ */
main {
  position: relative;
  z-index: 10;
}

.container {
  width: min(1200px, 88vw);
  margin: 0 auto;
}

.container-narrow {
  width: min(820px, 88vw);
  margin: 0 auto;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
html:not(.no-blur) .glass {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
html.no-blur .glass {
  background: var(--glass-solid);
}

.panel {
  padding: clamp(26px, 3.2vw, 46px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
}
html:not(.no-blur) .panel {
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
html.no-blur .panel {
  background: var(--glass-solid);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cobalt);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow b {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.eyebrow::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--cobalt);
}

h1, h2, h3.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(34px, 7.2vw, 96px);
}
h2 {
  font-size: clamp(26px, 5.2vw, 62px);
  margin-bottom: 18px;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--cobalt);
}

p.lead {
  font-size: clamp(16px, 1.25vw, 18.5px);
  color: var(--mute);
  max-width: 58ch;
  line-height: 1.65;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.num {
  font-variant-numeric: tabular-nums;
}

/* Split-Word & Scroll Reveal (transform & opacity only) */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 65ms + 60ms);
}
.in .rv,
.rv.in {
  opacity: 1;
  transform: none;
}

.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.04em 0.16em;
  margin-bottom: -0.16em;
}
.w > span {
  display: inline-block;
  transform: translateY(118%) rotate(3deg);
  transition: transform 1s var(--ease-inout);
  transition-delay: calc(var(--i, 0) * 55ms + 80ms);
}
.in .w > span,
.reveal-ready .w > span {
  transform: none;
}

/* ============================================================================
   HOME PAGE — Choreographed 3D Narrative
   ============================================================================ */
body[data-scene="home"] section.scene-sec {
  min-height: 100vh;
  min-height: 100svh;
  padding: 14vh 7vw 11vh;
  display: flex;
  align-items: center;
  position: relative;
}

.left {
  max-width: 640px;
}
.right {
  max-width: 600px;
  margin-inline-start: auto;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--hero-fade) 0%, var(--hero-fade-mid) 42%, transparent 70%);
  pointer-events: none;
}
html[dir="rtl"] #hero::before {
  background: linear-gradient(270deg, var(--hero-fade) 0%, var(--hero-fade-mid) 42%, transparent 70%);
}
#hero .left {
  position: relative;
}
#hero .meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}
#hero .meta .sep {
  color: var(--brass);
}

.scrollcue {
  position: absolute;
  left: 7vw;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--mute);
}
.scrollcue i {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--cobalt), transparent);
  animation: drip 2s ease-in-out infinite;
  transform-origin: left;
}
@keyframes drip {
  0% { transform: scaleX(0); opacity: 1; }
  55% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

/* Marquee Strip */
.marquee-band {
  position: relative;
  z-index: 12;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s;
}
.marquee-item:hover {
  color: var(--cobalt);
}
.marquee-item small {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}
.marquee-sep {
  color: var(--line-strong);
  font-size: 14px;
}

/* About Pillars */
.pillars {
  display: grid;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}
.pillar {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.pillar b {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  color: var(--cobalt);
  line-height: 1;
  min-width: 34px;
  font-variant-numeric: tabular-nums;
}
.pillar h3,
.pillar h4 {
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 3px;
}
.pillar p {
  font-size: 14.5px;
  color: var(--mute);
}

/* Practice Grid & 3D Tilt Cards */
#practice {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
}
#practice .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
#practice .head .t {
  padding: 26px 32px 22px;
}
#practice h2 {
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  perspective: 1100px;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 28px 24px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.24s ease-out, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
  min-height: 204px;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--cobalt), var(--brass));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease-inout);
}
.card:hover::before {
  transform: scaleX(1);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 75, 255, 0.09), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover::after {
  opacity: 1;
}
.card:hover {
  border-color: rgba(47, 75, 255, 0.35);
}
.card .n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--cobalt);
  font-variant-numeric: tabular-nums;
}
.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 25px;
  line-height: 1.1;
  margin: 16px 0 8px;
  transform: translateZ(20px);
}
.card p {
  font-size: 14.5px;
  color: var(--mute);
  transform: translateZ(8px);
}
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cobalt);
}
.card .card-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  transition: transform 0.25s var(--ease-out);
}
.card:hover .card-link svg {
  transform: translateX(4px);
}

/* Process Timeline */
.steps {
  position: relative;
  margin-top: 28px;
  padding-left: 44px;
}
.steps::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--cobalt), rgba(47, 75, 255, 0.14));
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.8s var(--ease-out) 0.2s;
}
.in .steps::before,
.steps.drawn::before {
  transform: scaleY(1);
}
.step {
  position: relative;
  padding-bottom: 24px;
}
.step:last-child {
  padding-bottom: 0;
}
.step::before {
  content: "";
  position: absolute;
  left: -39px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--cobalt);
  box-shadow: 0 0 0 4px rgba(47, 75, 255, 0.12);
}
.step small {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--cobalt);
  text-transform: uppercase;
  font-weight: 600;
}
.step h3,
.step h4 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  margin: 2px 0 4px;
}
.step p {
  font-size: 14.5px;
  color: var(--mute);
  max-width: 46ch;
}

/* Standards / Values */
.vals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}
.val {
  padding: 20px 20px 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}
.val:hover {
  border-color: rgba(47, 75, 255, 0.35);
  transform: translateY(-2px);
}
.val svg {
  width: 26px;
  height: 26px;
  stroke: var(--cobalt);
  fill: none;
  stroke-width: 1.35;
  margin-bottom: 12px;
}
.val h3,
.val h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 4px;
}
.val p {
  font-size: 13.5px;
  color: var(--mute);
}

/* Home Previews Band (Insights + FAQ Teaser) */
.home-band {
  position: relative;
  z-index: 12;
  padding: 80px 7vw;
  background: rgba(241, 238, 232, 0.82);
  border-top: 1px solid var(--line);
}
html:not(.no-blur) .home-band {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.band-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Contact Section on Home */
#contact {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding-bottom: 48px;
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}
.info {
  padding: 30px 32px;
  display: grid;
  gap: 20px;
}
.info .row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info .row svg {
  flex: none;
  width: 22px;
  height: 22px;
  stroke: var(--cobalt);
  fill: none;
  stroke-width: 1.4;
  margin-top: 3px;
}
.info small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cobalt);
  font-weight: 600;
  margin-bottom: 2px;
}
.info span {
  font-size: 16px;
}
.info .sub {
  font-size: 13px;
  color: var(--mute);
  display: block;
  margin-top: 2px;
}
.info a.u {
  border-bottom: 1px solid var(--cobalt);
}
.copy {
  margin-left: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cobalt);
  border: 1px solid rgba(47, 75, 255, 0.35);
  border-radius: 4px;
  padding: 4px 10px;
  vertical-align: middle;
  transition: all 0.25s;
}
.copy:hover {
  background: var(--cobalt);
  color: #fff;
}

/* ============================================================================
   HUD (Home Section Rail & Auto Tour)
   ============================================================================ */
.tl {
  position: fixed;
  right: 2vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.tl a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(11, 18, 32, 0.48);
  transition: color 0.25s;
  font-weight: 500;
}
.tl a b {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  opacity: 0.75;
}
.tl a i {
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease-out);
}
.tl a:hover {
  color: var(--ink);
}
.tl a.on {
  color: var(--cobalt);
}
.tl a.on i {
  width: 42px;
}

.tour {
  position: fixed;
  left: 4vw;
  bottom: 22px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 18px 7px 7px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: border-color 0.25s, transform 0.2s;
}
.tour:hover {
  border-color: var(--cobalt);
}
.tour .ring {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: conic-gradient(var(--cobalt) calc(var(--p, 0) * 360deg), rgba(11, 18, 32, 0.14) 0);
  display: grid;
  place-items: center;
}
.tour .ring::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
}
.tour .ring svg {
  position: relative;
  width: 11px;
  height: 11px;
  fill: var(--cobalt);
}
.tour .pause { display: none; }
.tour.on .pause { display: block; }
.tour.on .play { display: none; }
.tour.on { border-color: var(--cobalt); }

.hint {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 40;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}
.hint kbd {
  font-family: var(--sans);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 1px 6px;
  background: rgba(255, 255, 255, 0.72);
}

/* Sticky Quick-Call Action on Inner Pages */
.quick-call {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 16px 34px -14px rgba(11, 18, 32, 0.55);
  transition: background-color 0.25s, transform 0.22s var(--ease-out);
}
.quick-call:hover {
  background: var(--cobalt);
  transform: translateY(-2px);
}
.quick-call svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

/* ============================================================================
   INNER PAGES — Editorial Headers, Sections, Cards, Forms, Accordions
   ============================================================================ */
.page-hero {
  padding: clamp(118px, 16vh, 168px) 6vw clamp(48px, 7vh, 76px);
  position: relative;
}

.page-hero-panel {
  max-width: 820px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 20px;
}
.breadcrumbs a:hover {
  color: var(--cobalt);
}
.breadcrumbs .sep {
  color: var(--brass);
}

.page-section {
  padding: clamp(40px, 6vh, 72px) 6vw;
  position: relative;
}

.split-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 3.6vw, 48px);
  align-items: start;
}

.split-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.8vw, 36px);
  align-items: stretch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.editorial-card {
  padding: clamp(22px, 2.5vw, 32px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s var(--ease-out), border-color 0.25s;
}
html:not(.no-blur) .editorial-card {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
html.no-blur .editorial-card {
  background: var(--glass-solid);
}
.editorial-card:hover {
  border-color: rgba(47, 75, 255, 0.32);
}

.kicker-line {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
  margin-bottom: 10px;
}
.kicker-line .sep {
  color: var(--brass);
  margin: 0 6px;
}

.list-check {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.list-check li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--ink);
}
.list-check li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.list-check li svg {
  width: 18px;
  height: 18px;
  stroke: var(--cobalt);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
  margin-top: 4px;
}

/* Matter Chips Grid (Clean Architectural Tiles, NOT pills) */
.matter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.matter-tile {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.25;
  color: var(--ink);
}

/* Notice Banner (General Information, Not Legal Advice / Template Notice) */
.notice-bar {
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--mute);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.notice-bar svg {
  width: 20px;
  height: 20px;
  stroke: var(--brass);
  fill: none;
  stroke-width: 1.6;
  flex-shrink: 0;
  margin-top: 2px;
}
.notice-bar strong {
  color: var(--ink);
  font-weight: 600;
}

/* Accessible FAQ Accordion */
.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.faq-item {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open {
  border-color: rgba(47, 75, 255, 0.42);
}
.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.25;
  color: var(--ink);
}
.faq-trigger svg {
  width: 18px;
  height: 18px;
  stroke: var(--cobalt);
  fill: none;
  stroke-width: 1.7;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}
.faq-item.open .faq-trigger svg {
  transform: rotate(45deg);
}
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease-out);
}
.faq-item.open .faq-panel {
  grid-template-rows: 1fr;
}
.faq-panel-inner {
  overflow: hidden;
}
.faq-panel-inner p {
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--mute);
  line-height: 1.65;
  max-width: 68ch;
}

/* Filter Tabs (Segmented Buttons for Insights) */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  width: fit-content;
}
.filter-btn {
  padding: 9px 16px;
  min-height: 38px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mute);
  border-radius: 3px;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.filter-btn:hover {
  color: var(--ink);
}
.filter-btn.active {
  background: var(--cobalt);
  color: #fff;
}

/* Insights Cards & Reader Modal */
.insight-card {
  cursor: pointer;
}
.insight-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.18;
  margin-bottom: 10px;
  font-weight: 500;
}
.insight-card p {
  font-size: 14.5px;
  color: var(--mute);
  margin-bottom: 18px;
}

.article-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(11, 18, 32, 0.45);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s;
}
.article-modal.open {
  opacity: 1;
  visibility: visible;
}
.article-dialog {
  width: min(740px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  background: #faf9f6;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 40px 90px -30px rgba(11, 18, 32, 0.5);
  position: relative;
}
.article-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.article-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.article-close:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
}
.article-body p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
  max-width: 65ch;
}

/* Interactive Checklist */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.check-item:hover {
  border-color: var(--cobalt);
}
.check-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--cobalt);
  margin-top: 2px;
  flex-shrink: 0;
}
.check-item.checked span {
  text-decoration: line-through;
  color: var(--mute);
}

/* Team Monogram Portraits */
.portrait-frame {
  aspect-ratio: 4 / 3;
  background: linear-gradient(155deg, #e7ecf2 0%, #f3efe6 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.portrait-monogram {
  width: 92px;
  height: 92px;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 34px;
  color: var(--cobalt);
  background: rgba(255, 255, 255, 0.65);
  position: relative;
}
.portrait-monogram::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(176, 141, 87, 0.55);
}

/* Consultation Request Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: grid;
  gap: 6px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}
.field label span.req {
  color: var(--cobalt);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(47, 75, 255, 0.14);
}
.field textarea {
  min-height: 128px;
  resize: vertical;
}
.field-error {
  font-size: 12.5px;
  color: #a61b1b;
  font-weight: 500;
  display: none;
}
.field.has-error .field-error {
  display: block;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #a61b1b;
}

.consent-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--mute);
}
.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--cobalt);
  flex-shrink: 0;
}

.dispatch-box {
  display: none;
  margin-top: 22px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--cobalt);
  border-radius: var(--radius-sm);
}
.dispatch-box.visible {
  display: block;
}
.dispatch-box h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 8px;
}
.dispatch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* Privacy-Friendly Map Card */
.map-frame {
  min-height: 300px;
  background: linear-gradient(145deg, rgba(207, 219, 234, 0.45), rgba(241, 238, 232, 0.8));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  overflow: hidden;
}
.map-frame iframe {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: var(--radius-sm);
}

/* Legal Prose Pages */
.prose {
  max-width: 68ch;
}
.prose h2 {
  font-size: clamp(24px, 2.5vw, 34px);
  margin: 32px 0 12px;
}
.prose p,
.prose li {
  font-size: 16px;
  line-height: 1.72;
  color: var(--mute);
  margin-bottom: 14px;
}
.prose ul {
  padding-left: 20px;
  margin-bottom: 18px;
}

/* CTA Band */
.cta-band {
  padding: clamp(32px, 4vw, 52px);
  background: var(--glass-solid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ============================================================================
   Rich Sitemap Footer
   ============================================================================ */
footer.site-footer {
  position: relative;
  z-index: 12;
  background: rgba(238, 240, 243, 0.92);
  border-top: 1px solid var(--line-strong);
  padding: 56px 6vw 36px;
}
html:not(.no-blur) footer.site-footer {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.footer-col h3 {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cobalt);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  color: var(--mute);
}
.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-meta-list {
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  color: var(--mute);
}
.footer-meta-list strong {
  color: var(--ink);
  font-weight: 600;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--mute);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal-links a:hover {
  color: var(--ink);
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cobalt);
  padding: 6px 0;
}
.back-top svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

/* ============================================================================
   Responsive Breakpoints
   ============================================================================ */
@media (max-width: 1120px) {
  .tl a span,
  .tl a b {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .links {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .grid,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-2,
  .split-equal,
  .contact-wrap,
  .checklist-grid {
    grid-template-columns: 1fr;
  }
  .right {
    margin-inline-start: 0;
  }
  .hint {
    display: none;
  }
}

@media (max-width: 768px) {
  .quick-call {
    display: none;
  }
}

@media (max-width: 640px) {
  nav.top {
    padding: 14px 5vw;
    min-height: 64px;
    gap: 1rem;
  }
  nav.top .nav-cta-desktop {
    display: none;
  }
  body[data-scene="home"] section.scene-sec {
    min-height: auto;
    padding: 88px 5vw 56px;
  }
  body[data-scene="home"] #hero {
    min-height: 86svh;
    padding-top: 108px;
    padding-bottom: 64px;
    align-items: flex-end;
  }
  .grid,
  .grid-3,
  .grid-2,
  .vals,
  .form-grid,
  .matter-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: 0;
  }
  .tl {
    display: none;
  }
  .tour {
    left: 50%;
    transform: translateX(-50%);
    bottom: 16px;
  }
  #hero::before {
    background: linear-gradient(0deg, rgba(238, 240, 243, 0.92) 0%, rgba(238, 240, 243, 0.65) 58%, transparent 100%);
  }
  html.night #hero::before {
    background: linear-gradient(0deg, rgba(11, 16, 27, 0.92) 0%, rgba(11, 16, 27, 0.65) 58%, transparent 100%);
  }
  .scrollcue {
    display: none;
  }
}

/* ============================================================================
   Night Chamber Overrides on Static White Alpha Elements
   ============================================================================ */
html.night .marquee-band,
html.night .val,
html.night .matter-tile,
html.night .notice-bar,
html.night .faq-item,
html.night .filter-bar,
html.night .check-item,
html.night .home-band,
html.night footer.site-footer,
html.night .article-dialog,
html.night .dispatch-box,
html.night .field input,
html.night .field select,
html.night .field textarea {
  background: var(--card-surface);
  color: var(--ink);
}
html.night .article-dialog,
html.night .dispatch-box,
html.night .field input,
html.night .field select,
html.night .field textarea,
html.night footer.site-footer {
  background: var(--glass-solid);
}
html.night #page-veil {
  background: linear-gradient(160deg, rgba(11, 16, 27, 0.96), rgba(17, 24, 40, 0.98));
}
html.night .portrait-frame {
  background: linear-gradient(155deg, #131c2e 0%, #1d2233 100%);
}
html.night .portrait-monogram {
  background: rgba(15, 22, 36, 0.85);
}
html.night .step::before {
  background: var(--bg);
}
html.night .tour .ring::before {
  background: var(--bg);
}

/* ============================================================================
   Monogram SVG Draw-On Preloader
   ============================================================================ */
.pre-mark-svg {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
}
.pre-mark-svg rect.frame {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.25;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: draw-stroke 1.1s var(--ease-out) forwards;
}
.pre-mark-svg path.glyph {
  fill: none;
  stroke: var(--cobalt);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: draw-stroke 1.1s var(--ease-out) 0.18s forwards;
}
@keyframes draw-stroke {
  to { stroke-dashoffset: 0; }
}

/* ============================================================================
   Desktop Mega-Menu (Practice Areas + 1-line Summaries)
   ============================================================================ */
.mega-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.mega-panel {
  position: fixed;
  top: var(--nav-h);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(920px, 92vw);
  padding: 24px 28px;
  background: var(--glass-solid);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
  z-index: 65;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out), visibility 0.22s;
}
html:not(.no-blur) .mega-panel {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.mega-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-sub);
  transition: border-color 0.2s, transform 0.2s var(--ease-out), background-color 0.2s;
}
.mega-item:hover {
  border-color: var(--cobalt);
  background: var(--cobalt-tint);
  transform: translateY(-2px);
}
.mega-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--cobalt);
  fill: none;
  stroke-width: 1.45;
  flex-shrink: 0;
  margin-top: 2px;
}
.mega-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 3px;
}
.mega-item span {
  display: block;
  font-size: 12.5px;
  color: var(--mute);
  line-height: 1.4;
}
.mega-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--mute);
}

/* ============================================================================
   Hero Ticker & Floating Quick-Contact Card
   ============================================================================ */
.hero-ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--mute);
}
.hero-ticker strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  color: var(--cobalt);
  transition: opacity 0.28s ease, transform 0.28s var(--ease-out);
  display: inline-block;
}
.hero-ticker strong.swapping {
  opacity: 0;
  transform: translateY(6px);
}

.hero-quick-card {
  position: relative;
  margin-inline-start: auto;
  width: min(320px, 100%);
  padding: 20px 22px;
  align-self: flex-end;
  display: grid;
  gap: 12px;
}
.hero-quick-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
}
.hero-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.hero-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-sub);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.hero-quick-btn:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
}
.hero-quick-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
}

/* ============================================================================
   Horizontal Pinned-Scroll Practice Gallery & Journey Scales Story
   ============================================================================ */
.h-gallery-section {
  position: relative;
  z-index: 12;
  padding: 72px 0;
  background: var(--surface-sub);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
html:not(.no-blur) .h-gallery-section {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.h-gallery-head {
  width: min(1200px, 88vw);
  margin: 0 auto 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.h-gallery-viewport {
  overflow: hidden;
  padding-inline: 6vw;
}
.h-gallery-track {
  display: flex;
  gap: 18px;
  will-change: transform;
}
.h-card {
  flex: 0 0 clamp(300px, 34vw, 410px);
  padding: 28px;
  background: var(--glass-solid);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}
.h-card:hover {
  border-color: var(--cobalt);
  transform: translateY(-3px);
}
.h-card h3 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.12;
  margin: 14px 0 8px;
}
.h-card p {
  font-size: 14.5px;
  color: var(--mute);
}

/* Your Journey Scales Tipping Story */
.journey-section {
  position: relative;
  z-index: 12;
  padding: 84px 7vw;
}
.journey-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.scales-visual {
  padding: 28px;
  text-align: center;
}
.scales-svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto 14px;
}
.scales-svg .scale-beam-grp {
  transform-origin: 160px 58px;
  transition: transform 0.25s ease-out;
}
.journey-steps {
  display: grid;
  gap: 12px;
}
.journey-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--glass);
  transition: border-color 0.25s, background-color 0.25s;
}
.journey-item.active {
  border-color: var(--cobalt);
  background: var(--glass-solid);
}
.journey-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
  font-size: 13px;
}
.journey-compare .before {
  color: var(--mute);
}
.journey-compare .after {
  color: var(--cobalt);
  font-weight: 500;
}

/* ============================================================================
   Matter-Finder Quiz
   ============================================================================ */
.quiz-box {
  padding: clamp(24px, 3vw, 38px);
}
.quiz-opts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.quiz-opt {
  text-align: start;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-sub);
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s;
}
.quiz-opt:hover,
.quiz-opt.selected {
  border-color: var(--cobalt);
  background: var(--cobalt-tint);
}
.quiz-result {
  padding: 20px;
  border: 1px solid var(--cobalt);
  border-radius: var(--radius-sm);
  background: var(--glass-solid);
  margin-top: 16px;
}

/* ============================================================================
   Live FAQ / Insights Filter & Reader Progress + TOC
   ============================================================================ */
.search-inline {
  position: relative;
  flex: 1 1 240px;
  max-width: 340px;
}
.search-inline input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--glass-solid);
  font-size: 14px;
  color: var(--ink);
}
.search-inline svg {
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  stroke: var(--mute);
  fill: none;
  stroke-width: 1.7;
  pointer-events: none;
}

.article-progress {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--line);
  margin: -16px 0 18px;
  border-radius: 99px;
  overflow: hidden;
  z-index: 4;
}
.article-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cobalt), var(--brass));
}
.article-toc {
  margin-bottom: 20px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-sub);
}
.article-toc h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 8px;
}
.article-toc ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.article-toc button {
  font-size: 13.5px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.article-toc button:hover {
  color: var(--cobalt);
}
.article-section-block {
  margin-bottom: 22px;
}
.article-section-block h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 6px;
}

/* ============================================================================
   Team Bio Flip / Reveal Panel & Live Chambers Status Badge
   ============================================================================ */
.team-extended {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13.5px;
  color: var(--mute);
}
.team-extended.open {
  display: block;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  margin-bottom: 12px;
}
.status-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.status-badge.open {
  border-color: rgba(22, 138, 74, 0.45);
  color: #168a4a;
  background: rgba(22, 138, 74, 0.08);
}
html.night .status-badge.open {
  color: #5ce096;
  background: rgba(92, 224, 150, 0.12);
}
.status-badge.open .dot {
  background: currentColor;
}
.status-badge.closed {
  color: var(--mute);
  background: var(--surface-sub);
}
.status-badge.closed .dot {
  background: var(--brass);
}

/* Consultation Booking Slots */
.booking-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.slot-chip {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: var(--surface-sub);
  color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.slot-chip:hover {
  border-color: var(--cobalt);
}
.slot-chip.active {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #fff;
}

/* ============================================================================
   Search Palette, Toast, Back-to-Top Ring
   ============================================================================ */

/* Cmd/Ctrl+K Search Command Palette */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 170;
  background: rgba(11, 18, 32, 0.52);
  display: grid;
  place-items: start center;
  padding: clamp(56px, 12vh, 110px) 16px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s;
}
.search-modal.open {
  opacity: 1;
  visibility: visible;
}
.search-dialog {
  width: min(640px, 100%);
  background: var(--glass-solid);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}
.search-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.search-input-row svg {
  width: 18px;
  height: 18px;
  stroke: var(--cobalt);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}
.search-input-row input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 16px;
  color: var(--ink);
}
.search-results {
  max-height: 55vh;
  overflow-y: auto;
  padding: 8px;
}
.search-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s;
}
.search-result-item:hover,
.search-result-item.active {
  background: var(--cobalt-tint);
}
.search-result-item small {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt);
  font-weight: 600;
}

/* Toast Notifications Stack */
.toast-stack {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 84px;
  z-index: 180;
  display: grid;
  gap: 8px;
  pointer-events: none;
}
.toast-item {
  padding: 11px 16px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s var(--ease-out);
}
.toast-item.show {
  opacity: 1;
  transform: none;
}

/* Accessible Tooltips ([data-tooltip]) */
[data-tooltip] {
  position: relative;
}
@media (hover: hover) and (pointer: fine) {
  [data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 4px);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    background: var(--ink);
    color: var(--bg);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    z-index: 200;
    box-shadow: var(--shadow-card);
    transition: opacity 0.16s ease, transform 0.16s var(--ease-out);
  }
  header.site-header [data-tooltip]::after {
    bottom: auto;
    top: calc(100% + 8px);
    transform: translate(-50%, -4px);
  }
  [data-tooltip]:hover::after,
  [data-tooltip]:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Skeleton Loader Placeholder */
.skeleton {
  background: linear-gradient(90deg, var(--line) 25%, rgba(255, 255, 255, 0.35) 50%, var(--line) 75%);
  background-size: 200% 100%;
  animation: skel 1.5s infinite linear;
  border-radius: var(--radius-sm);
}
@keyframes skel {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* Floating Back-to-Top Button with SVG Progress Ring */
.float-top {
  position: fixed;
  inset-inline-end: 24px;
  bottom: 78px;
  z-index: 44;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-solid);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s var(--ease-out), visibility 0.25s;
}
.float-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.float-top svg.ring {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  transform: rotate(-90deg);
}
.float-top svg.ring circle {
  fill: none;
  stroke: var(--cobalt);
  stroke-width: 2;
  stroke-dasharray: 126;
  stroke-dashoffset: calc(126 - (var(--p, 0) * 126));
}
.float-top svg.arrow {
  width: 16px;
  height: 16px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.8;
}

@media (max-width: 980px) {
  .mega-panel {
    display: none !important;
  }
  .journey-grid,
  .quiz-opts {
    grid-template-columns: 1fr;
  }
  .hero-quick-card {
    display: none;
  }
}

@media (max-width: 800px) {
  .h-gallery-viewport {
    overflow: visible;
    padding-inline: 6vw;
  }
  .h-gallery-track {
    flex-direction: column;
    transform: none !important;
  }
  .h-card {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .journey-compare {
    grid-template-columns: 1fr;
  }
  .filter-bar {
    max-width: 100%;
    overflow-x: auto;
  }
  .search-inline {
    max-width: 100%;
  }
  .float-top {
    display: none;
  }
}

@media (max-width: 480px) {
  nav.top {
    gap: 0.65rem;
  }
  .brand {
    gap: 8px;
  }
  .brand .mk {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  .brand-name {
    font-size: 17px;
  }
  .btn {
    white-space: normal;
    text-align: center;
  }
  .cta > .btn {
    width: 100%;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .rv,
  .w > span,
  .steps::before,
  .marquee-track,
  .pre-mark-svg rect.frame,
  .pre-mark-svg path.glyph {
    transition-duration: 0.01s !important;
    animation: none !important;
  }
  .pre-mark-svg rect.frame,
  .pre-mark-svg path.glyph {
    stroke-dashoffset: 0 !important;
  }
  .rv {
    opacity: 1 !important;
    transform: none !important;
  }
  .w > span {
    transform: none !important;
  }
}

/* ============================================================================
   Print Stylesheet (Clean Articles & Document Checklists)
   ============================================================================ */
@media print {
  #gl,
  .soft,
  #pre,
  #page-veil,
  header.site-header,
  .mobile-menu,
  #page-hud,
  .topbar,
  .float-top,
  .toast-stack,
  .search-modal,
  .tour,
  .tl,
  .hint,
  .cta,
  button.btn {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
  main {
    position: static !important;
  }
  .panel,
  .glass,
  .editorial-card {
    background: #fff !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
  }
  .article-modal.open {
    position: static !important;
    background: none !important;
    padding: 0 !important;
  }
  .article-dialog {
    max-height: none !important;
    overflow: visible !important;
    box-shadow: none !important;
    border: 0 !important;
  }
  .check-item {
    border: 1px solid #bbb !important;
    page-break-inside: avoid;
  }
}
