:root {
  --bg: #FFFFFF;
  --bg-soft: #F4F8FF;
  --surface: #FFFFFF;
  --surface-2: #F4F8FF;
  --line: rgba(22, 64, 137, 0.22);
  --line-strong: rgba(95, 169, 242, 0.38);
  --text: #1C1C1C;
  --muted: #4B5563;
  --heading: #021132;
  --accent: #164089;
  --accent-dark: #164089;
  --accent-bright: #5FA9F2;
  --accent-soft: #EAF4FF;
  --silver: #F8FBFF;
  --charcoal: #1C1C1C;
  --shadow: 0 28px 70px rgba(2, 11, 24, 0.18);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1380px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(22, 64, 137, 0.14), transparent 24%),
    radial-gradient(circle at 16% 9%, rgba(22, 64, 137, 0.1), transparent 18%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 46%, #EEF5FF 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(126deg, rgba(22, 64, 137, 0.04) 0%, transparent 16%, transparent 32%, rgba(225, 224, 225, 0.5) 48%, transparent 66%),
    radial-gradient(circle at 82% 8%, rgba(22, 64, 137, 0.06), transparent 18%);
  opacity: 0;
}

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

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

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

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.topbar__items,
.topbar__social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.topbar__items span,
.topbar__social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(22, 64, 137, 0.1);
  box-shadow: 0 14px 35px rgba(2, 11, 24, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand__mark {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 20px;
  padding: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96)),
    linear-gradient(180deg, rgba(225, 224, 225, 0.42), rgba(255, 255, 255, 0));
  border: 1px solid rgba(22, 64, 137, 0.14);
  box-shadow: var(--shadow);
  color: var(--heading);
}

.brand__mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), transparent 58%),
    radial-gradient(circle at 78% 24%, rgba(22, 64, 137, 0.15), transparent 26%);
  opacity: 1;
}

.brand__mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.85rem;
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-weight: 800;
  color: var(--heading);
}

.brand__subtitle {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-dark);
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(22, 64, 137, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: var(--heading);
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10.8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: 0 16px 32px rgba(22, 64, 137, 0.22);
  color: #FFFFFF;
}

.button--ghost {
  border-color: rgba(22, 64, 137, 0.14);
  background: rgba(255, 255, 255, 0.84);
  color: var(--heading);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(22, 64, 137, 0.22);
}

.button--soft {
  border-color: var(--line);
  background: rgba(22, 64, 137, 0.12);
  color: var(--accent-dark);
}

.hero {
  position: relative;
  overflow: clip;
}

.hero--video {
  min-height: 82vh;
  display: flex;
  align-items: stretch;
}

.hero__media,
.hero__media img,
.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(94deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 251, 255, 0.9) 28%, rgba(248, 251, 255, 0.52) 58%, rgba(28, 28, 28, 0.14) 82%, rgba(28, 28, 28, 0.28) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(28, 28, 28, 0.16) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: end;
  padding: 90px 0 76px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--accent-dark);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.eyebrow::before {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.feature-card h3,
.article-card h3,
.service-layout h2,
.service-layout h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  color: var(--heading);
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  max-width: 11ch;
}

.hero__lead {
  margin: 22px 0 28px;
  max-width: 65ch;
  color: #3D5573;
  font-size: 1.06rem;
  line-height: 1.75;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.chip-list li {
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(22, 64, 137, 0.12);
  box-shadow: 0 10px 24px rgba(2, 11, 24, 0.05);
  color: var(--heading);
}

.hero-card,
.content-card,
.feature-card,
.media-card,
.faq-item,
.contact-card,
.form-card,
.article-card,
.stat-card,
.service-card {
  border: 1px solid rgba(22, 64, 137, 0.1);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(22, 64, 137, 0.09), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.96)),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
  align-self: stretch;
}

.hero-card__title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.service-list,
.detail-list,
.contact-list,
.footer-links,
.article-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li,
.detail-list li,
.contact-list li,
.footer-links li,
.article-list li {
  display: flex;
  gap: 10.8px;
  align-items: flex-start;
}

.service-list li + li,
.detail-list li + li,
.contact-list li + li,
.footer-links li + li,
.article-list li + li {
  margin-top: 14px;
}

.service-list li::before,
.detail-list li::before,
.article-list li::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-top: 0.5em;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-dark));
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10.8px;
  margin-top: 24px;
}

.stat-card {
  padding: 18px;
}

.stat-card strong {
  display: block;
  color: var(--heading);
  font-size: 1.08rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 84px 0;
}

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

.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.95;
  max-width: 12ch;
}

.page-shell > section:nth-of-type(4) .section-heading h2 {
  font-size: clamp(1.875rem, 3vw, 3rem);
}

.page-shell > main > section:nth-of-type(2) .section-heading > div:first-child {
  transform: translateY(-28px);
}

.page-shell > main > section:nth-of-type(2) .grid {
  margin-top: 48px;
}

.page-shell > main > section:nth-of-type(2) .section-heading h2 {
  font-size: clamp(1.875rem, 3vw, 3rem);
  max-width: 28ch;
}

.page-shell > main > section:nth-of-type(4) .section-heading h2 {
  font-size: clamp(1.875rem, 3vw, 3rem);
  max-width: 28ch;
}

.page-shell > main > section:nth-of-type(4) .section-heading > div:first-child {
  transform: translateY(-28px);
}

.page-shell > main > section:nth-of-type(4) .gallery-grid {
  margin-top: 48px;
}

.page-shell > main > section:nth-of-type(5) .section-heading h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  max-width: 28ch;
}

.page-shell > main > section:nth-of-type(5) .section-heading > div:first-child {
  transform: translateY(-28px);
}

.page-shell > main > section:nth-of-type(5) .timeline {
  margin-top: 48px;
}

.section-heading p {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.75;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

.feature-card,
.service-card,
.content-card,
.article-card,
.contact-card,
.form-card {
  padding: 26px;
}

.feature-card h3,
.service-card h3,
.article-card h3 {
  font-size: 2rem;
  line-height: 0.98;
  margin-bottom: 14px;
}

.feature-card p,
.service-card p,
.article-card p,
.content-card p,
.contact-card p,
.form-card p,
.service-layout p,
.page-hero p,
.footer p,
.article p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12.6px;
  background: rgba(22, 64, 137, 0.14);
  color: var(--accent-dark);
  font-weight: 800;
  margin-bottom: 20px;
}

.service-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10.8px;
  margin-top: 18px;
}

.service-card__links a {
  color: var(--accent-dark);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(22, 64, 137, 0.12);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 24px;
}

.service-layout h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 0.98;
  margin-bottom: 14px;
}

.service-layout h3 {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 14px;
}

.service-layout__stack {
  display: grid;
  gap: 22px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12.6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--heading);
  background: rgba(255, 255, 255, 0.88);
}

.quote-block {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(22, 64, 137, 0.18), rgba(255, 255, 255, 0.96));
  border: 1px solid var(--line-strong);
}

.quote-block p {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
  color: var(--heading);
}

.quote-block small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(22, 64, 137, 0.1);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.88);
  box-sizing: border-box;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item--wide {
  grid-column: span 7;
  min-height: 340px;
}

.gallery-item--tall {
  grid-column: span 5;
  min-height: 340px;
}

.gallery-item--half {
  grid-column: span 4;
  min-height: 240px;
}

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

.timeline-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
}

.timeline-step__number {
  margin: 0 auto;
}

.timeline-step__number {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(22, 64, 137, 0.14);
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 1.1rem;
}

.timeline-step h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

@media (max-width: 980px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .timeline-step {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .timeline-step__number {
    margin: 0;
  }
}

.faq {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  color: var(--heading);
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent-dark);
  font-size: 1.35rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item__body {
  padding: 0 24px 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.contact-list a {
  color: var(--text);
}

.field-grid {
  display: grid;
  gap: 16px;
}

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

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--heading);
  font-size: 0.95rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(22, 64, 137, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid rgba(22, 64, 137, 0.28);
  border-color: rgba(22, 64, 137, 0.34);
}

.help-text {
  color: var(--muted);
  font-size: 0.92rem;
}

.page-hero {
  position: relative;
  overflow: clip;
  padding: 92px 0 56px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-image, none) center/cover no-repeat;
  opacity: 1;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 24px;
  align-items: end;
}

.page-hero h1 {
  font-size: clamp(3rem, 5vw, 5.1rem);
  line-height: 0.95;
  max-width: 11ch;
}

.page-hero p {
  margin: 18px 0 0;
  max-width: 64ch;
}

.breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs span {
  color: var(--accent-dark);
}

.about-page-banner,
.subpage-banner {
  position: relative;
  overflow: clip;
  min-height: clamp(517.5px, 81vh, 922.5px);
  border-bottom: 1px solid rgba(22, 64, 137, 0.12);
  background: #020B18;
}

.about-page-banner::before,
.subpage-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--page-banner-image, url("../img/discount-court-documents/gallery/legal-document-preparation-overview.webp")) center 48% / cover no-repeat;
  transform: scale(1.02);
  filter: none;
}

.about-page-banner::after,
.subpage-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
}

.page-hero.page-hero--about,
.page-hero.page-hero--with-banner {
  padding-top: 72px;
  min-height: 0;
}

.article {
  display: grid;
  gap: 22px;
}

.article h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 0.98;
  margin: 0;
}

.article h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.02;
  margin: 8px 0 0;
}

.article blockquote {
  margin: 0;
  padding: 26px;
  border-left: 3px solid var(--accent);
  border-radius: 0 20px 20px 0;
  background: rgba(22, 64, 137, 0.08);
  color: var(--heading);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.08;
}

.footer {
  padding: 0 0 32px;
  background:
    radial-gradient(circle at 18% 14%, rgba(22, 64, 137, 0.18), transparent 22%),
    radial-gradient(circle at 80% 0%, rgba(22, 64, 137, 0.14), transparent 28%),
    linear-gradient(180deg, #021132 0%, #020B18 100%);
}

.footer,
.footer a,
.footer p,
.footer .contact-list a,
.footer .footer__bar {
  color: #F8FBFF;
}

.footer__scene {
  position: relative;
  height: clamp(188px, 22vw, 232px);
  overflow: hidden;
  background:
    linear-gradient(180deg, #EAF3FF 0%, #EEF5FF 30%, #5FA9F2 31%, #072456 56%, #021132 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(16, 20, 12, 0.54);
}

.footer__scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.035)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%);
  opacity: 0.9;
  pointer-events: none;
}

.footer__scene-glow,
.footer__scene-hill,
.footer__scene-track,
.footer__scene-stripes,
.footer__scene-rig,
.footer__scene-leaf {
  position: absolute;
}

.footer__scene-glow {
  top: 8px;
  right: 11%;
  width: min(26vw, 240px);
  height: min(26vw, 240px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 169, 242, 0.76) 0%, rgba(95, 169, 242, 0.18) 48%, transparent 74%);
  filter: blur(8px);
  animation: footerGlowPulse 7s ease-in-out infinite;
  z-index: 1;
}

.footer__scene-hill {
  border-radius: 48% 52% 0 0 / 90% 90% 0 0;
  background: linear-gradient(180deg, rgba(7, 36, 86, 0.94), rgba(2, 17, 50, 0.98));
  box-shadow: 0 24px 32px rgba(5, 8, 4, 0.18);
  z-index: 2;
}

.footer__scene-hill--back {
  left: -4%;
  bottom: 96px;
  width: 35%;
  height: 54px;
  opacity: 0.82;
}

.footer__scene-hill--mid {
  right: -2%;
  bottom: 88px;
  width: 42%;
  height: 62px;
  opacity: 0.9;
}

.footer__scene-hill--front {
  left: -6%;
  bottom: 58px;
  width: 112%;
  height: 36px;
  background: linear-gradient(180deg, rgba(13, 46, 104, 0.92), rgba(2, 26, 73, 0.98));
}

.footer__scene-track {
  right: 0;
  bottom: 24px;
  left: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(95, 169, 242, 0.18), rgba(22, 64, 137, 0.3) 38%, rgba(2, 17, 50, 0.92) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(2, 17, 50, 0.52);
  box-shadow: inset 0 14px 22px rgba(255, 255, 255, 0.05), inset 0 -10px 16px rgba(0, 0, 0, 0.16);
  z-index: 3;
}

.footer__scene-track::before {
  content: "";
  position: absolute;
  inset: 12px 0 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 34%),
    repeating-linear-gradient(
      100deg,
      rgba(225, 237, 255, 0.24) 0 34px,
      rgba(22, 64, 137, 0.04) 34px 68px
    );
  background-size: auto, 220px 100%;
  animation: footerStripeSweep 16s linear infinite;
  opacity: 0.88;
}

.footer__scene-stripes {
  right: 0;
  bottom: 0;
  left: 0;
  height: 50px;
  background:
    linear-gradient(180deg, rgba(2, 17, 50, 0) 0%, rgba(2, 11, 24, 0.94) 100%),
    repeating-linear-gradient(
      96deg,
      rgba(13, 46, 104, 0.42) 0 26px,
      rgba(2, 26, 73, 0.82) 26px 52px
    );
  background-size: auto, 200px 100%;
  animation: footerStripeSweep 20s linear infinite reverse;
  z-index: 4;
}

.footer__scene-rig {
  display: inline-grid;
  justify-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #F8FBFF;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
  z-index: 5;
}

.footer__scene-rig i {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.035);
  background: linear-gradient(145deg, rgba(2, 17, 50, 0.96), rgba(13, 46, 104, 0.72));
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  font-size: 1.12rem;
  color: #F8FBFF;
  overflow: hidden;
}

.footer__scene-rig i::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.footer__scene-rig span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.035);
  background: rgba(2, 11, 24, 0.58);
  color: #F8FBFF;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
}

.footer__scene-rig--documents {
  left: 7%;
  bottom: 76px;
  --mower-shift-1: 34px;
  --mower-shift-2: 78px;
  --mower-shift-3: 126px;
  animation: footerMowerPass 7.2s ease-in-out infinite alternate;
}

.footer__scene-rig--documents i {
  color: #0F346E;
}

.footer__scene-rig--documents i::after {
  left: -52px;
  right: 18px;
  bottom: 24px;
  height: 10px;
  background: linear-gradient(90deg, rgba(225, 237, 255, 0), rgba(225, 237, 255, 0.58) 30%, rgba(22, 64, 137, 0.12) 100%);
  filter: blur(2px);
  opacity: 0.82;
}

.footer__scene-rig--cleanup {
  left: 31%;
  bottom: 96px;
  animation: footerCrewFloat 5.2s ease-in-out infinite alternate;
}

.footer__scene-rig--cleanup i {
  color: #F8FBFF;
}

.footer__scene-rig--detail {
  left: 54%;
  bottom: 72px;
  animation: footerCrewFloat 4.8s ease-in-out -0.8s infinite alternate;
}

.footer__scene-rig--detail i {
  color: #F8FBFF;
}

.footer__scene-rig--watch {
  left: 77%;
  bottom: 88px;
  animation: footerCrewFloat 5.6s ease-in-out -1.4s infinite alternate;
}

.footer__scene-rig--watch i {
  color: #EAF4FF;
}

.footer__scene-leaf {
  width: 8px;
  height: 30px;
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, rgba(225, 237, 255, 0.12), rgba(13, 46, 104, 0.78));
  opacity: 0.68;
  filter: drop-shadow(0 3px 6px rgba(5, 8, 4, 0.18));
  z-index: 6;
}

.footer__scene-leaf--1 {
  left: 16%;
  bottom: 18px;
  animation: footerBladeSway 4.8s ease-in-out infinite alternate;
}

.footer__scene-leaf--2 {
  left: 50%;
  bottom: 20px;
  animation: footerBladeSway 4s ease-in-out -1s infinite alternate;
}

.footer__scene-leaf--3 {
  right: 14%;
  bottom: 18px;
  animation: footerBladeSway 5.1s ease-in-out -1.6s infinite alternate;
}

.footer__inner {
  position: relative;
  margin-top: 0;
  padding: 26px clamp(18px, 3vw, 34px) 0;
  border: 1px solid rgba(95, 169, 242, 0.12);
  border-radius: 30px 30px 20px 20px;
  background: linear-gradient(180deg, rgba(2, 17, 50, 0.98) 0%, rgba(2, 11, 24, 0.99) 100%);
  box-shadow: 0 -16px 40px rgba(3, 5, 3, 0.4);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1fr;
  column-gap: 32px;
  row-gap: 24px;
  margin-bottom: 21px;
}

.footer__title {
  margin: 0 0 11px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  color: #ffffff;
}

.footer__title--sm {
  font-size: 1.45rem;
}

.footer__brand-copy > .footer__title {
  font-size: 1.425rem;
  min-height: 0;
}

.footer__logo-link {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.footer__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 28px;
  background: transparent;
  border: none;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.24);
}

.footer__logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.footer__brand-copy {
  display: grid;
  gap: 6px;
}

.footer__lead {
  color: #3D5573;
  line-height: 1.6;
}

.footer__contact-list li {
  gap: 10px;
}

.footer__contact-list i {
  flex: 0 0 18px;
  width: 18px;
  color: #0F346E;
  margin-top: 0.12em;
}

.footer__social-copy {
  margin: 0 0 12px;
  color: #3D5573;
  line-height: 1.65;
}

.footer__contact-list li + li,
.footer-links li + li {
  margin-top: 11px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(225, 237, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #F8FBFF;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social-links__link:hover,
.social-links__link:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #FFFFFF;
  border-color: transparent;
}

.social-links__link:focus-visible {
  outline: 2px solid rgba(22, 64, 137, 0.7);
  outline-offset: 2px;
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: #3D5573;
  font-size: 0.92rem;
  padding: 15px 0 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__bar > span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  color: inherit;
  background:
    linear-gradient(180deg, rgba(2, 17, 50, 0.2), rgba(2, 11, 24, 0.08)),
    rgba(2, 17, 50, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px) saturate(118%);
  -webkit-backdrop-filter: blur(12px) saturate(118%);
}

.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1080px) {
  .hero__content,
  .page-hero__inner,
  .split,
  .service-layout,
  .contact-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-item--wide,
  .gallery-item--tall,
  .gallery-item--half {
    grid-column: span 12;
    min-height: 280px;
  }
}

@media (max-width: 860px) {
  .mobile-nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(22, 64, 137, 0.12);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .topbar__inner,
  .hero-meta,
  .field-grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .topbar__inner {
    display: grid;
  }

  .hero {
    min-height: auto;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max-width), calc(100% - 22px));
  }

  .site-header__inner,
  .hero__content,
  .section,
  .page-hero {
    padding-left: 0;
    padding-right: 0;
  }

  .hero__content {
    padding-top: 72px;
    padding-bottom: 56px;
  }

  .section {
    padding: 68px 0;
  }

  .feature-card,
  .service-card,
  .content-card,
  .article-card,
  .contact-card,
  .form-card,
  .hero-card {
    padding: 22px;
  }
}

/* Sample Template Shell Mirroring */
.page-shell {
  overflow-x: clip;
}

.topbar {
  position: relative;
  z-index: 45;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(22, 64, 137, 0.12);
}

.topbar__inner {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.topbar__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.topbar__items span,
.topbar__items a {
  color: #021132;
  font-size: 0.94rem;
}

.topbar__items a:hover {
  color: var(--accent-dark);
}

.topbar__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.topbar__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(22, 64, 137, 0.16);
  background: rgba(255, 255, 255, 0.94);
  color: #021132;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.topbar__social-link:hover {
  transform: translateY(-1px);
  color: var(--accent-dark);
  border-color: rgba(22, 64, 137, 0.28);
  box-shadow: 0 8px 18px rgba(2, 11, 24, 0.08);
}

.topbar__social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.topbar__items--end {
  justify-content: flex-end;
  justify-self: end;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header__band {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 36%, rgba(2, 17, 50, 0.18) 100%), linear-gradient(135deg, #021132 0%, #072456 34%, #164089 66%, #2F86D9 100%);
  box-shadow: inset 0 -1px 0 rgba(255, 244, 196, 0.82), 0 18px 40px rgba(2, 17, 50, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 12px 24px rgba(95, 169, 242, 0.12);
}

.site-header__band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, #956C36 0%, #F3DB9C 16%, #D6A85D 34%, #C29C5E 52%, #FFF7D1 68%, #956C36 100%);
  background-size: 240% 100%;
  box-shadow: 0 1px 0 rgba(255, 247, 209, 0.78), 0 3px 9px rgba(214, 168, 93, 0.46);
  animation: headerGoldRailSweep 10s ease-in-out infinite;
}

.site-header__band::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(96px, 18vw, 270px);
  height: 2px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 247, 209, 0.05) 12%, rgba(255, 247, 209, 0.96) 50%, rgba(214, 168, 93, 0.72) 72%, transparent 100%);
  box-shadow: 0 0 14px rgba(243, 219, 156, 0.8), 0 0 28px rgba(214, 168, 93, 0.38);
  transform: translateX(-120%);
  animation: headerGoldPulseRun 10s ease-in-out infinite;
}

.site-header__row {
  position: relative;
  min-height: 92.925px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header__mobile-brand {
  display: none;
  align-items: center;
  gap: 10.8px;
  min-width: 0;
  overflow: hidden;
}

.site-header__mobile-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.site-header__mobile-brand span {
  display: block;
  max-width: 100%;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  width: 100%;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.site-menu {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(9px, 1.08vw, 16.2px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-menu__item {
  display: flex;
  align-items: center;
}

@media (min-width: 981px) {
  .site-menu__item {
    flex: 0 0 clamp(70px, 6.5vw, 92px);
    justify-content: center;
  }

  .site-menu__link,
  .site-menu__trigger,
  .site-menu__cta {
    width: 100%;
  }
}

.site-menu__item--split-after {
  margin-right: clamp(135px, 14.4vw, 211.5px);
}

.site-menu__link,
.site-menu__trigger,
.site-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43.2px;
  padding: 0 12.6px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #D6A85D;
  background-image: linear-gradient(180deg, #FFF7D1 0%, #F3DB9C 16%, #D6A85D 36%, #C29C5E 54%, #FFF1B8 70%, #956C36 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(255, 247, 209, 0.92), 0 2px 0 rgba(194, 156, 94, 0.9), 0 3px 0 rgba(96, 75, 50, 0.78), 0 0 10px rgba(214, 168, 93, 0.48), 0 7px 10px rgba(2, 11, 24, 0.56);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.22));
  font-size: 0.927rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-menu__link:hover,
.site-menu__trigger:hover,
.site-menu__link.is-active,
.site-menu__trigger.is-active {
  color: #F3DB9C;
  background: rgba(255, 255, 255, 0.09);
  text-shadow: 0 1px 0 rgba(255, 247, 209, 0.96), 0 2px 0 rgba(194, 156, 94, 0.92), 0 3px 0 rgba(96, 75, 50, 0.78), 0 0 12px rgba(214, 168, 93, 0.58), 0 8px 12px rgba(2, 11, 24, 0.62);
}

.site-menu__cta {
  padding: 0 16.2px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.site-menu__cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.2);
}

.site-menu__caret {
  width: 9px;
  height: 9px;
  margin-left: 7.2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.site-menu__trigger[aria-expanded="true"] .site-menu__caret {
  transform: rotate(-135deg) translateY(-1px);
}

.site-crest {
  position: absolute;
  display: block;
  left: 50%;
  top: 151%;
  line-height: 0;
  transform: translate(-50%, -50%);
  width: clamp(186.3px, 15.93vw, 251.1px);
  z-index: 44;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.24));
  transition:
    top 0.3s ease,
    width 0.3s ease,
    transform 0.3s ease,
    filter 0.3s ease;
}


.site-crest::before,
.site-crest::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(40px, 4.4vw, 62px);
  height: clamp(40px, 4.4vw, 62px);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 247, 209, 0.96) 12%, rgba(255, 194, 92, 0.88) 24%, rgba(214, 95, 34, 0.68) 40%, rgba(111, 45, 13, 0.3) 56%, transparent 72%),
    conic-gradient(from 0deg, transparent 0deg, rgba(255, 247, 209, 0.98) 16deg, transparent 34deg, rgba(255, 186, 74, 0.9) 52deg, transparent 74deg, rgba(255, 247, 209, 0.95) 104deg, transparent 136deg, rgba(214, 95, 34, 0.82) 168deg, transparent 204deg, rgba(255, 247, 209, 0.88) 236deg, transparent 276deg, rgba(255, 186, 74, 0.82) 314deg, transparent 360deg);
  box-shadow: 0 0 18px rgba(255, 247, 209, 0.98), 0 0 34px rgba(255, 168, 56, 0.68), 0 0 54px rgba(214, 95, 34, 0.42);
  filter: drop-shadow(0 0 18px rgba(255, 247, 209, 0.94)) drop-shadow(0 0 30px rgba(255, 168, 56, 0.52));
  transform: translateY(-50%) scale(0.18) rotate(0deg);
  z-index: 3;
}

.site-crest::before {
  left: -8%;
  animation: logoSparkLeft 10s ease-in-out infinite;
}

.site-crest::after {
  right: -8%;
  animation: logoSparkRight 10s ease-in-out infinite;
}

.site-crest img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

body.is-scrolled .site-crest {
  top: 60%;
  width: clamp(77.4px, 6.21vw, 97.2px);
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.2));
}

@media (min-width: 981px) and (max-width: 1570px) {
  .site-crest {
    top: 151%;
    width: clamp(77.4px, 6.21vw, 97.2px);
  }
}

.mega-shell {
  position: absolute;
  top: 150%;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.mega-panel {
  position: absolute;
  top: 35px;
  left: 50%;
  width: min(1240px, calc(100vw - 32px));
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(22, 64, 137, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 65px rgba(2, 11, 24, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.mega-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-panel__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(22, 64, 137, 0.12);
}

.mega-panel__eyebrow {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mega-panel__header h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 3vw, 3.1rem);
  line-height: 0.96;
  color: var(--heading);
}

.mega-panel__header p {
  max-width: 72ch;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.mega-panel__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 24px;
  max-height: min(62vh, 720px);
  overflow: auto;
}

.mega-panel__column {
  display: grid;
  align-content: start;
  gap: 12.6px;
}

.mega-panel__column h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--heading);
}

.mega-panel__links {
  display: grid;
  gap: 10px;
}

.mega-link a {
  display: block;
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid rgba(22, 64, 137, 0.1);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  font-weight: 600;
  line-height: 1.4;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.mega-link a:hover {
  transform: translateY(-2px);
  color: var(--accent-dark);
  border-color: rgba(22, 64, 137, 0.24);
  box-shadow: 0 12px 26px rgba(2, 11, 24, 0.08);
}

.mobile-nav-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: flex-start;
  justify-self: end;
  flex-shrink: 0;
  width: 88px;
  height: 54px;
  padding: 0 14px 0 42px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.mobile-nav-toggle::after {
  content: "Menu";
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-nav-toggle span {
  position: absolute;
  left: 14px;
  right: 39.6px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

.mobile-nav-toggle span:nth-child(1) {
  top: 17px;
}

.mobile-nav-toggle span:nth-child(2) {
  top: 26px;
}

.mobile-nav-toggle span:nth-child(3) {
  top: 35px;
}

.site-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(2, 11, 24, 0.44);
  backdrop-filter: blur(4px);
}

.site-drawer {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 56;
  width: min(420px, calc(100vw - 14px));
  height: 100vh;
  padding: 24px 22px 28px;
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    #fff;
  box-shadow: -24px 0 60px rgba(2, 11, 24, 0.18);
  transform: translateX(105%);
  transition: transform 0.28s ease;
}

.site-drawer.is-open {
  transform: translateX(0);
}

.site-drawer__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.site-drawer__brand {
  display: flex;
  align-items: center;
  gap: 12.6px;
}

.site-drawer__brand img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.site-drawer__brand strong {
  display: block;
  color: var(--heading);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  line-height: 1;
}

.site-drawer__brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-drawer__close {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--heading);
  font-weight: 800;
  cursor: pointer;
}

.drawer-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
}

.drawer-nav > li {
  border-bottom: 1px solid rgba(22, 64, 137, 0.1);
  padding-bottom: 10px;
}

.drawer-nav__link,
.drawer-nav__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--heading);
  font-size: 1.08rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.drawer-nav__link.is-active,
.drawer-nav__toggle.is-active {
  color: var(--accent-dark);
}

.drawer-nav__toggle::after {
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
}

.drawer-nav__toggle[aria-expanded="true"]::after {
  content: "−";
}

.drawer-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding-top 0.28s ease;
}

.drawer-submenu.is-open {
  max-height: 1800px;
  padding-top: 8px;
}

.drawer-submenu__group + .drawer-submenu__group {
  margin-top: 16px;
}

.drawer-submenu__group h4 {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drawer-submenu__links {
  display: grid;
  gap: 6px;
}

.drawer-submenu__links a {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 64, 137, 0.08);
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.45;
}

.site-drawer__footer {
  display: grid;
  gap: 12.6px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(22, 64, 137, 0.12);
}

.site-drawer__footer-actions {
  display: grid;
  gap: 10.8px;
}

.site-drawer__footer .button {
  width: 100%;
}

.site-drawer__social-wrap {
  display: grid;
  gap: 10px;
}

.site-drawer__footer-label {
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-links--drawer {
  gap: 10px;
}

.social-links--drawer .social-links__link {
  width: 42px;
  height: 42px;
  background: rgba(22, 64, 137, 0.12);
  border-color: rgba(22, 64, 137, 0.14);
  color: var(--accent-dark);
  box-shadow: none;
}

.social-links--drawer .social-links__link:hover,
.social-links--drawer .social-links__link:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

body.drawer-open {
  overflow: hidden;
}

.hero {
  padding-top: 82px;
}

.hero--video {
  min-height: clamp(460px, 72vh, 820px);
}

.hero__media {
  background: transparent;
  overflow: hidden;
}

.hero__media img,
.hero__media video {
  object-fit: cover;
  object-position: center center;
}

.hero__media img {
  opacity: 1;
  filter: none;
}

.hero__media video {
  opacity: 1;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover !important;
  object-position: center center !important;
}

.hero__veil {
  background: transparent;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: flex-end;
  gap: 280px;
  padding: 168px 0 96px;
}

.hero__copy {
  display: grid;
  gap: 20px;
  max-width: 760px;
  position: relative;
  top: -12.5%;
  justify-self: start;
  left: -37.5%;
  isolation: isolate;
  overflow: visible;
}

.hero__copy::before,
.hero-card-shell::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -16px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.18) 42%, rgba(255, 255, 255, 0.34) 100%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.035), rgba(238, 245, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow:
    0 34px 72px rgba(2, 11, 24, 0.24),
    0 14px 30px rgba(2, 11, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.hero-card-shell {
  position: relative;
  top: -25%;
  justify-self: end;
  max-width: 460px;
  margin-right: -32px;
  isolation: isolate;
  overflow: visible;
  z-index: 2;
}

.hero__glass,
.chip-list,
.hero-card-shell > .hero-card--summary {
  position: relative;
  z-index: 2;
}

.hero-card--summary > * {
  position: relative;
  z-index: 2;
}

.hero__glass {
  max-width: 760px;
  padding: 34px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 52px rgba(2, 11, 24, 0.18);
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 100%;
  color: #021132;
}

.hero__glass .eyebrow {
  color: var(--accent-dark);
}

.hero__lead {
  color: #072456;
}

.chip-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 2;
}

.chip-list li {
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
}

.hero-card--summary {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
  max-width: none;
  width: 100%;
  max-height: 608px;
  overflow-y: auto;
  position: relative;
  isolation: isolate;
  z-index: 2;
}

.hero-card__title {
  color: var(--accent-dark);
}

.hero__copy--deferred,
.hero-card--deferred {
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero__copy--deferred {
  transform: translateX(-58px);
}

.hero-card--deferred {
  transform: translateX(58px);
}

.hero--revealed .hero__copy--deferred,
.hero--revealed .hero-card--deferred {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.hero--revealed .hero__copy--deferred {
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.2s ease;
}

.hero--revealed .hero-card--deferred {
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.2s ease;
}

@media (max-width: 1850px) {
  .hero__content {
    gap: 48px;
    padding: 140px 0 80px;
  }

  .hero__copy {
    left: 0;
    top: 0;
    max-width: none;
  }

  .hero-card-shell {
    top: 0;
    margin-right: 0;
    max-width: none;
  }
}

@media (min-width: 981px) and (max-width: 1570px) {
  .hero {
    padding-top: 0;
  }

  .hero--video {
    min-height: clamp(460px, 72vh, 820px);
    aspect-ratio: auto;
  }

  .hero__media {
    background: #000;
  }

  .hero__media video,
  .hero__media img {
    object-fit: cover !important;
  }

  .hero__content {
    padding: 60px 0 40px;
    gap: 32px;
  }

  .hero__glass {
    padding: 22px 24px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    line-height: 1.08;
    max-width: 100%;
  }

  .hero__lead {
    margin: 12px 0 16px;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .chip-list {
    gap: 8px;
  }

  .chip-list li {
    min-height: 36px;
    padding: 6px 10px;
    font-size: 0.86rem;
  }

  .hero-card--summary {
    padding: 18px 22px;
    max-height: none;
    overflow-y: visible;
  }

  .hero-card__title {
    margin-bottom: 8px;
  }

  .service-list li {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .hero-meta {
    gap: 8px;
    margin-top: 10px;
  }

  .stat-card {
    padding: 8px 10px;
  }

  .stat-card strong {
    font-size: 0.92rem;
  }

  .stat-card span {
    font-size: 0.74rem;
  }
}

.page-hero {
  padding: 188px 0 84px;
  min-height: 470px;
}

.page-hero::before {
  background: var(--hero-image, none) center/cover no-repeat;
}

.page-hero__inner {
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: 24px;
}

.page-hero__content {
  padding: 30px 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 52px rgba(2, 11, 24, 0.15);
}

.page-hero__content .eyebrow {
  color: var(--accent-dark);
}

.page-hero h1,
.page-hero p,
.breadcrumbs,
.breadcrumbs a,
.breadcrumbs span {
  color: #021132;
}

.page-hero__aside .hero-card {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
}

@media (max-width: 1260px) {
  .site-menu__item--split-after {
    margin-right: clamp(106.2px, 10.8vw, 153px);
  }

  .site-menu {
    gap: 6px;
  }

  .site-menu__link,
  .site-menu__trigger,
  .site-menu__cta {
    font-size: 0.873rem;
    padding: 0 9px;
  }
}

@media (max-width: 1080px) {
  .mega-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .topbar__inner {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .topbar__social {
    justify-content: center;
  }

  .site-header__row {
    min-height: 82.8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12.6px;
    padding-right: 111.6px;
  }

  .site-header__mobile-brand {
    display: inline-flex;
    flex: 1 1 auto;
    max-width: calc(100% - 111.6px);
  }

  .site-nav,
  .site-crest,
  .mega-shell {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    position: absolute;
    top: 50%;
    right: 39.6px;
    transform: translateY(-50%);
    justify-content: center;
    min-width: 48.6px;
    width: 48.6px;
    padding: 0;
    border-radius: 12.6px;
    background: rgba(255, 255, 255, 0.2);
  }

  .mobile-nav-toggle::after {
    content: none;
  }

  .mobile-nav-toggle span {
    left: 13.5px;
    right: 13.5px;
  }

  .hero {
    padding-top: 0;
  }

  .hero--video {
    min-height: 0;
    display: block;
  }

  .hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #000;
  }

  .hero__media video,
  .hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain !important;
  }

  .hero__veil {
    display: none;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 56px;
  }

  .hero__copy {
    max-width: none;
    width: 100%;
    left: 0;
    top: 0;
  }

  .hero-card--summary {
    max-width: none;
    width: 100%;
    flex-basis: auto;
  }

  .hero-card-shell {
    width: 100%;
    max-width: none;
    margin-right: 0;
    top: 0;
  }

  .page-hero {
    padding-top: 138px;
  }

  .page-hero__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar__items,
  .topbar__items--end {
    gap: 10px;
  }

  .topbar__items--end {
    display: grid;
    justify-content: start;
  }

  .topbar__items span,
  .topbar__items a {
    font-size: 0.84rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .topbar__social {
    gap: 6px;
  }

  .topbar__social-link {
    width: 32px;
    height: 32px;
  }

  .topbar__social-link img {
    width: 16px;
    height: 16px;
  }

  .site-header__mobile-brand img {
    width: 46.8px;
    height: 46.8px;
  }

  .site-header__mobile-brand span {
    max-width: 133.2px;
    font-size: 1.062rem;
  }

  .mobile-nav-toggle {
    min-width: 52px;
    width: 52px;
    right: 36px;
  }

  .mobile-nav-toggle span {
    left: 11px;
    right: 11px;
  }

  .hero--video {
    min-height: 0;
  }

  .about-page-banner,
  .subpage-banner {
    min-height: clamp(450px, 78.75vh, 731.25px);
  }

  .hero__content {
    padding-top: 24px;
    padding-bottom: 56px;
  }

  .chip-list {
    grid-template-columns: 1fr;
  }

  .hero__glass,
  .page-hero__content {
    padding: 24px 22px;
  }

  .hero__copy::before,
  .hero-card-shell::before {
    inset: -12px;
  }

  .page-hero {
    min-height: 420px;
  }
}

@media (max-width: 400px) {
  .container {
    width: min(var(--max-width), calc(100% - 20px));
  }

  .hero--video {
    min-height: 0;
  }

  .about-page-banner,
  .subpage-banner {
    min-height: clamp(393.75px, 70.3125vh, 590.625px);
  }

  .hero__content {
    gap: 16px;
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .hero__glass,
  .hero-card--summary,
  .page-hero__content {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .hero__copy::before,
  .hero-card-shell::before {
    inset: -10px;
    border-radius: 22px;
  }

  .chip-list li {
    min-height: 40px;
    font-size: 0.9rem;
  }
}

@media (max-width: 720px) {
  .footer {
    padding-bottom: 21px;
  }

  .footer__scene {
    height: 188px;
  }

  .footer__scene-track {
    bottom: 30px;
    height: 72px;
  }

  .footer__scene-stripes {
    height: 62px;
  }

  .footer__scene-rig {
    gap: 6px;
    font-size: 0.54rem;
    letter-spacing: 0.1em;
  }

  .footer__scene-rig i {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: 1rem;
  }

  .footer__scene-rig span {
    padding: 3px 8px;
  }

  .footer__scene-rig--documents {
    left: 4%;
    bottom: 66px;
    --mower-shift-1: 18px;
    --mower-shift-2: 42px;
    --mower-shift-3: 68px;
  }

  .footer__scene-rig--cleanup {
    left: 22%;
    bottom: 88px;
  }

  .footer__scene-rig--detail {
    left: 45%;
    bottom: 62px;
  }

  .footer__scene-rig--watch {
    left: 61%;
    bottom: 80px;
  }

  .footer__inner {
    margin-top: 0;
    padding: 20px 18px 0;
    border-radius: 24px 24px 18px 18px;
  }

  .footer__logo-link {
    align-items: flex-start;
  }

  .footer__logo-mark {
    width: 76px;
    height: 76px;
    border-radius: 22px;
  }

  .footer__logo {
    width: 58px;
    height: 58px;
  }

  .footer__title {
    font-size: 1.55rem;
  }

  .footer__brand-copy > .footer__title {
    font-size: 1.1625rem;
    min-height: 44px;
  }

  .footer__title--sm {
    font-size: 1.22rem;
  }

  .social-links__link {
    width: 42px;
    height: 42px;
  }
}

@media (min-width: 721px) {
  .footer__scene-glow,
  .footer__scene-track::before,
  .footer__scene-stripes,
  .footer__scene-rig,
  .footer__scene-leaf {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer__scene-glow,
  .footer__scene-track::before,
  .footer__scene-stripes,
  .footer__scene-rig,
  .footer__scene-leaf {
    animation: none !important;
  }
}

@keyframes footerGlowPulse {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.78;
  }

  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes footerStripeSweep {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 0 0, 220px 0;
  }
}

@keyframes footerMowerPass {
  0% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }

  32% {
    transform: translate3d(var(--mower-shift-1, 34px), -2px, 0) rotate(0deg);
  }

  68% {
    transform: translate3d(var(--mower-shift-2, 78px), 1px, 0) rotate(1deg);
  }

  100% {
    transform: translate3d(var(--mower-shift-3, 126px), 0, 0) rotate(-1deg);
  }
}

@keyframes footerCrewFloat {
  0% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }

  100% {
    transform: translate3d(0, -7px, 0) rotate(1deg);
  }
}

@keyframes footerBladeSway {
  0% {
    transform: rotate(-6deg) scaleY(0.94);
    opacity: 0.56;
  }

  100% {
    transform: rotate(8deg) scaleY(1.02);
    opacity: 0.82;
  }
}


/* Extracted Inline Styles */

.index-inline-1 {
  margin-top:20px;
}

/* Home page glass-effect refinement: visual only, no layout changes */
.hero__glass,
.hero-card,
.content-card,
.service-card,
.stat-card,
.media-frame,
.chip-list li,
.section-heading > p,
.hero__glass .hero__lead,
.service-card p,
.content-card p,
.service-list li,
.detail-list li,
.hero-card__title,
.timeline-step__number,
.icon-pill,
.service-card__links a,
.button {
  position: relative;
  overflow: hidden;
}

.hero__glass,
.hero-card,
.content-card,
.service-card,
.stat-card,
.media-frame,
.chip-list li,
.section-heading > p,
.hero__glass .hero__lead,
.service-card p,
.content-card p,
.service-list li,
.detail-list li,
.hero-card__title,
.timeline-step__number,
.icon-pill,
.service-card__links a,
.button {
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    filter 0.28s ease;
}

.hero__glass {
  isolation: isolate;
  transform: translateY(0);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 251, 255, 0.8) 52%, rgba(238, 245, 255, 0.74) 100%);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow:
    0 42px 96px rgba(2, 11, 24, 0.28),
    0 18px 42px rgba(2, 11, 24, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -2px 0 rgba(22, 64, 137, 0.08);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
}

.hero__glass::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0.12) 36%, rgba(22, 64, 137, 0.12) 66%, rgba(255, 255, 255, 0.28) 100%);
  opacity: 0.96;
  pointer-events: none;
}

.hero__glass > * {
  position: relative;
  z-index: 1;
}

.hero__glass:hover {
  transform: translateY(-8px);
  box-shadow:
    0 56px 118px rgba(2, 11, 24, 0.32),
    0 22px 48px rgba(2, 11, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -2px 0 rgba(22, 64, 137, 0.1);
}

.hero__glass .hero__lead {
  padding: 20px 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(244, 248, 255, 0.38)),
    rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow:
    0 24px 48px rgba(2, 11, 24, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(22, 64, 137, 0.06);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.hero__glass .hero__lead:hover {
  transform: translateY(-4px);
  box-shadow:
    0 30px 56px rgba(2, 11, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(22, 64, 137, 0.08);
}

.button {
  isolation: isolate;
  transform: translateY(0);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 18px 38px rgba(2, 11, 24, 0.16),
    0 8px 18px rgba(2, 11, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    inset 0 -1px 0 rgba(22, 64, 137, 0.12);
}

.button::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 56%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.button:hover {
  transform: translateY(-6px);
  box-shadow:
    0 26px 48px rgba(2, 11, 24, 0.2),
    0 12px 24px rgba(2, 11, 24, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    inset 0 -1px 0 rgba(22, 64, 137, 0.16);
  filter: brightness(1.02);
}

.button--primary {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    0 24px 46px rgba(22, 64, 137, 0.34),
    0 10px 24px rgba(22, 64, 137, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(22, 64, 137, 0.32);
}

.button--ghost {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 248, 255, 0.72)),
    rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 22px 42px rgba(2, 11, 24, 0.16),
    0 10px 22px rgba(2, 11, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(22, 64, 137, 0.1);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.eyebrow {
  padding: 9px 16px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(244, 248, 255, 0.3)),
    rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 14px 28px rgba(2, 11, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
}

.eyebrow::before {
  width: 36px;
  opacity: 0.72;
}

.chip-list li {
  transform: translateY(0);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 255, 0.78)),
    rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow:
    0 20px 36px rgba(2, 11, 24, 0.14),
    0 8px 18px rgba(2, 11, 24, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(22, 64, 137, 0.08);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.chip-list li:hover {
  transform: translateY(-6px);
  box-shadow:
    0 28px 46px rgba(2, 11, 24, 0.18),
    0 12px 22px rgba(2, 11, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(22, 64, 137, 0.1);
}

.hero-card,
.content-card,
.service-card,
.stat-card {
  isolation: isolate;
  transform: translateY(0);
  background:
    radial-gradient(circle at top right, rgba(22, 64, 137, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 248, 255, 0.82)),
    rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow:
    0 34px 70px rgba(2, 11, 24, 0.16),
    0 14px 30px rgba(2, 11, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(22, 64, 137, 0.08);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.hero-card::before,
.content-card::before,
.service-card::before,
.stat-card::before,
.section-heading > p::before,
.hero__glass .hero__lead::before,
.service-card p::before,
.content-card p::before,
.service-card__links a::before,
.timeline-step__number::before,
.icon-pill::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0.18) 100%);
  pointer-events: none;
}

.hero-card:hover,
.content-card:hover,
.service-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 46px 86px rgba(2, 11, 24, 0.22),
    0 18px 34px rgba(2, 11, 24, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(22, 64, 137, 0.1);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 54px rgba(2, 11, 24, 0.2),
    0 12px 22px rgba(2, 11, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(22, 64, 137, 0.1);
}

.hero-card--summary {
  background:
    radial-gradient(circle at top right, rgba(22, 64, 137, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 248, 255, 0.78)),
    rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 40px 82px rgba(2, 11, 24, 0.2),
    0 16px 34px rgba(2, 11, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(22, 64, 137, 0.08);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
}

.hero-card__title {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 248, 255, 0.68)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 18px 34px rgba(2, 11, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.section-heading > p,
.service-card p,
.content-card p,
.hero__glass .hero__lead,
.service-list li,
.detail-list li {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(244, 248, 255, 0.42)),
    rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 20px 40px rgba(2, 11, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 -1px 0 rgba(22, 64, 137, 0.06);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.section-heading > p {
  padding: 18px 20px;
  border-radius: 24px;
}

.service-card p,
.content-card p {
  padding: 16px 18px;
  border-radius: 20px;
}

.service-list li,
.detail-list li {
  padding: 14px 16px;
  border-radius: 18px;
}

.service-list li:hover,
.detail-list li:hover,
.service-card p:hover,
.content-card p:hover,
.section-heading > p:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 46px rgba(2, 11, 24, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(22, 64, 137, 0.08);
}

.icon-pill,
.timeline-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 248, 255, 0.64)),
    rgba(255, 255, 255, 0.68);
  box-shadow:
    0 18px 34px rgba(2, 11, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.icon-pill:hover,
.timeline-step__number:hover {
  transform: translateY(-6px);
  box-shadow:
    0 26px 42px rgba(2, 11, 24, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.media-frame {
  isolation: isolate;
  transform: translateY(0);
  display: grid;
  gap: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(22, 64, 137, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.86)),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 56px 112px rgba(2, 11, 24, 0.3),
    0 24px 48px rgba(2, 11, 24, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(22, 64, 137, 0.08);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.035) 40%, rgba(255, 255, 255, 0.18) 100%);
  pointer-events: none;
  z-index: 1;
}

.media-frame::after {
  content: none;
}

.media-frame:hover {
  transform: translateY(-10px);
  box-shadow:
    0 70px 132px rgba(2, 11, 24, 0.27),
    0 28px 54px rgba(2, 11, 24, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(22, 64, 137, 0.1);
}

.media-frame__visual,
.gallery-item__visual {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow:
    0 34px 64px rgba(2, 11, 24, 0.22),
    0 14px 30px rgba(2, 11, 24, 0.12),
    0 0 0 1px rgba(230, 240, 255, 0.86);
}

.media-frame__visual img,
.gallery-item__visual img {
  position: relative;
  z-index: 0;
  display: block;
  border-radius: inherit;
  box-shadow: none;
}

.service-card__links a {
  display: inline-flex;
  align-items: center;
  min-height: 43.2px;
  padding: 0 16.2px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(244, 248, 255, 0.64)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow:
    0 20px 36px rgba(2, 11, 24, 0.14),
    0 8px 18px rgba(2, 11, 24, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(22, 64, 137, 0.08);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.service-card__links a:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 28px 46px rgba(2, 11, 24, 0.18),
    0 10px 22px rgba(2, 11, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(22, 64, 137, 0.1);
}

.section-heading > div,
.gallery-item {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    filter 0.28s ease;
}

.section-heading > div {
  padding: 18px 20px 20px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 248, 255, 0.46)),
    rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow:
    0 24px 48px rgba(2, 11, 24, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(22, 64, 137, 0.08);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.section-heading > div::before,
.gallery-item::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0.035) 100%);
  pointer-events: none;
}

.section-heading > div > * {
  position: relative;
  z-index: 1;
}

.section-heading > div:hover {
  transform: translateY(-8px);
  box-shadow:
    0 34px 60px rgba(2, 11, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(22, 64, 137, 0.1);
}

.gallery-item {
  isolation: isolate;
  transform: translateY(0);
  display: grid;
  gap: 12.6px;
  align-content: start;
  padding: 16px;
  background:
    radial-gradient(circle at top right, rgba(22, 64, 137, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.84)),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow:
    0 48px 94px rgba(2, 11, 24, 0.28),
    0 18px 36px rgba(2, 11, 24, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(22, 64, 137, 0.08);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.gallery-item::before {
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.035) 42%, rgba(255, 255, 255, 0.18) 100%);
}

.gallery-item::after {
  content: none;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow:
    0 64px 122px rgba(2, 11, 24, 0.34),
    0 24px 46px rgba(2, 11, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(22, 64, 137, 0.1);
}

.gallery-item--wide,
.gallery-item--tall,
.gallery-item--half {
  min-height: auto;
}

.image-story {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  width: auto;
  margin: 0;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background:
    radial-gradient(circle at top right, rgba(22, 64, 137, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 248, 255, 0.82)),
    rgba(255, 255, 255, 0.82);
  color: var(--heading);
  backdrop-filter: blur(20px) saturate(142%);
  -webkit-backdrop-filter: blur(20px) saturate(142%);
  box-shadow:
    0 28px 54px rgba(2, 11, 24, 0.16),
    0 10px 24px rgba(2, 11, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(22, 64, 137, 0.08);
}

.image-story--compact {
  gap: 5px;
  padding: 16px;
}

.image-story__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(22, 64, 137, 0.14);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.image-story__title {
  display: block;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.2;
  color: #021132;
}

.image-story__copy {
  display: block;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(244, 248, 255, 0.42)),
    rgba(255, 255, 255, 0.34);
  box-shadow:
    0 18px 34px rgba(2, 11, 24, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 -1px 0 rgba(22, 64, 137, 0.06);
  color: #021132;
  font-size: 0.9rem;
  line-height: 1.48;
}

.image-story--compact .image-story__title {
  font-size: 0.95rem;
  line-height: 1.2;
}

.image-story--compact .image-story__copy {
  padding: 12px 14px;
  font-size: 0.82rem;
  line-height: 1.34;
}

.gallery-item--wide .gallery-item__visual {
  min-height: 340px;
}

.gallery-item--tall .gallery-item__visual {
  min-height: 340px;
}

.gallery-item--half .gallery-item__visual {
  min-height: 240px;
}

@media (max-width: 980px) {
  .gallery-item--wide .gallery-item__visual,
  .gallery-item--tall .gallery-item__visual,
  .gallery-item--half .gallery-item__visual {
    min-height: 280px;
  }
}

@media (max-width: 860px) {
  .media-frame,
  .gallery-item {
    padding: 14px;
  }

  .image-story {
    padding: 16px;
    border-radius: 18px;
  }

  .image-story__title {
    font-size: 0.96rem;
  }

  .image-story__copy {
    padding: 12px 14px;
    font-size: 0.82rem;
    line-height: 1.34;
  }
}

.footer__inner {
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  box-shadow:
    0 -16px 40px rgba(3, 5, 3, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 -1px 0 rgba(95, 169, 242, 0.04);
}

.footer__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015) 30%, rgba(95, 169, 242, 0.035) 100%);
  pointer-events: none;
}

.footer__logo-mark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translateY(0) scale(1);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
  background: transparent;
  border: none;
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  box-shadow:
    0 24px 42px rgba(0, 0, 0, 0.24),
    0 10px 22px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.footer__logo-mark::before {
  content: none;
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 44%, rgba(95, 169, 242, 0.04) 100%);
  pointer-events: none;
}

.footer__logo {
  position: relative;
  z-index: 1;
}

.footer__logo-link:hover .footer__logo-mark {
  transform: translateY(-8px) scale(1.03);
  box-shadow:
    0 34px 56px rgba(0, 0, 0, 0.3),
    0 14px 28px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.footer__title,
.footer__lead,
.footer__contact-list li,
.footer-links a,
.footer__social-copy {
  position: relative;
  overflow: hidden;
}

.footer__title,
.footer__lead,
.footer__contact-list li,
.footer-links a,
.footer__social-copy,
.footer .social-links__link {
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

.footer__title {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12.6px;
  border-radius: 999px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(2, 17, 50, 0.22), rgba(2, 11, 24, 0.1)),
    rgba(2, 17, 50, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.035);
  box-shadow:
    0 20px 34px rgba(0, 0, 0, 0.22),
    0 8px 16px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.footer__title::before,
.footer__lead::before,
.footer__contact-list li::before,
.footer-links a::before,
.footer__social-copy::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01) 44%, rgba(95, 169, 242, 0.025) 100%);
  pointer-events: none;
}

.footer__title > *,
.footer__lead > *,
.footer__contact-list li > *,
.footer-links a > *,
.footer__social-copy > * {
  position: relative;
  z-index: 1;
}

.footer__lead {
  display: block;
  margin: 0;
  padding: 7px 12px;
  border-radius: 18px;
  color: #3D5573;
  background:
    linear-gradient(180deg, rgba(2, 17, 50, 0.2), rgba(2, 11, 24, 0.08)),
    rgba(2, 17, 50, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px) saturate(118%);
  -webkit-backdrop-filter: blur(12px) saturate(118%);
}

.footer__contact-list li {
  padding: 4px 10px;
  border-radius: 999px;
  color: #F8FBFF;
  background:
    linear-gradient(180deg, rgba(2, 17, 50, 0.2), rgba(2, 11, 24, 0.08)),
    rgba(2, 17, 50, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px) saturate(118%);
  -webkit-backdrop-filter: blur(12px) saturate(118%);
}

.footer__contact-list li + li {
  margin-top: 9px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  color: #F8FBFF;
  background:
    linear-gradient(180deg, rgba(2, 17, 50, 0.2), rgba(2, 11, 24, 0.08)),
    rgba(2, 17, 50, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px) saturate(118%);
  -webkit-backdrop-filter: blur(12px) saturate(118%);
}

.footer__social-copy {
  display: block;
  padding: 7px 12px;
  border-radius: 18px;
  color: #3D5573;
  background:
    linear-gradient(180deg, rgba(2, 17, 50, 0.2), rgba(2, 11, 24, 0.08)),
    rgba(2, 17, 50, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.2),
    0 8px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px) saturate(118%);
  -webkit-backdrop-filter: blur(12px) saturate(118%);
}

.footer .social-links__link:hover,
.footer-links a:hover,
.footer__contact-list li:hover,
.footer__title:hover,
.footer__lead:hover,
.footer__social-copy:hover {
  transform: translateY(-6px);
  box-shadow:
    0 26px 40px rgba(0, 0, 0, 0.24),
    0 10px 20px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.social-links--footer {
  margin-top: 16px;
}

.footer .social-links__link {
  border: 1px solid rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px) saturate(118%);
  -webkit-backdrop-filter: blur(10px) saturate(118%);
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.22),
    0 8px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}

@media (max-width: 640px) {
  .hero__glass .hero__lead,
  .section-heading > p,
  .service-card p,
  .content-card p {
    padding: 16px;
  }

  .service-list li,
  .detail-list li {
    padding: 13px 14px;
  }

  .section-heading > div {
    padding: 16px;
  }

  .footer__title {
    min-height: 26px;
    padding: 0 12px;
  }

  .footer__logo-mark {
    width: 76px;
    height: 76px;
    border-radius: 22px;
  }

  .footer__logo {
    width: 58px;
    height: 58px;
  }

  .footer__lead,
  .footer__contact-list li,
  .footer__social-copy {
    padding: 5px 10px;
  }
}

@media (max-width: 400px) {
  .hero__glass .hero__lead,
  .section-heading > p,
  .service-card p,
  .content-card p {
    padding: 14px;
  }

  .section-heading > div {
    padding: 14px;
  }

  .footer__title {
    padding: 0 12.6px;
  }

  .footer__logo-mark {
    width: 76px;
    height: 76px;
    border-radius: 22px;
  }

  .footer__logo {
    width: 58px;
    height: 58px;
  }

  .footer__lead,
  .footer__contact-list li,
  .footer__social-copy {
    padding: 4px 9px;
  }
}

/* === Header Heavy Glass Effect Clone === */
.topbar {
  -webkit-backdrop-filter: blur(24px) saturate(1.24);
  backdrop-filter: blur(24px) saturate(1.24);
  box-shadow:
    0 28px 60px rgba(2, 11, 24, 0.20),
    0 12px 26px rgba(2, 11, 24, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.topbar__social-link {
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  backdrop-filter: blur(18px) saturate(1.18);
  box-shadow:
    0 30px 58px rgba(2, 11, 24, 0.28),
    0 12px 24px rgba(2, 11, 24, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  filter: drop-shadow(0 10px 18px rgba(2, 11, 24, 0.12));
}

.site-header {
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
  backdrop-filter: blur(24px) saturate(1.18);
}

.site-header__band {
  box-shadow:
    inset 0 -1px 0 rgba(255, 244, 196, 0.82),
    0 40px 90px rgba(2, 11, 24, 0.34),
    0 16px 34px rgba(2, 11, 24, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.site-menu__link,
.site-menu__trigger {
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  backdrop-filter: blur(18px) saturate(1.18);
  box-shadow:
    0 48px 94px rgba(2, 11, 24, 0.42),
    0 18px 34px rgba(2, 11, 24, 0.20),
    0 8px 16px rgba(2, 11, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  filter: drop-shadow(0 16px 28px rgba(2, 11, 24, 0.18));
}

.mobile-nav-toggle {
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  backdrop-filter: blur(18px) saturate(1.18);
  box-shadow:
    0 30px 58px rgba(2, 11, 24, 0.32),
    0 12px 26px rgba(2, 11, 24, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  filter: drop-shadow(0 10px 18px rgba(2, 11, 24, 0.12));
}

.site-menu__link,
.site-menu__trigger {
  background: rgba(255, 255, 255, 0.035);
}

.site-menu__cta {
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  backdrop-filter: blur(18px) saturate(1.18);
  box-shadow:
    0 52px 100px rgba(2, 11, 24, 0.46),
    0 20px 38px rgba(2, 11, 24, 0.22),
    0 8px 16px rgba(2, 11, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  filter: drop-shadow(0 18px 30px rgba(2, 11, 24, 0.20));
}

.site-menu__link:hover,
.site-menu__trigger:hover,
.site-menu__link.is-active,
.site-menu__trigger.is-active,
.site-menu__cta:hover {
  box-shadow:
    0 64px 120px rgba(2, 11, 24, 0.52),
    0 26px 50px rgba(2, 11, 24, 0.24),
    0 10px 20px rgba(2, 11, 24, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.mobile-nav-toggle:hover {
  box-shadow:
    0 44px 80px rgba(2, 11, 24, 0.40),
    0 18px 36px rgba(2, 11, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.mega-panel {
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
  backdrop-filter: blur(24px) saturate(1.18);
  box-shadow:
    0 52px 112px rgba(2, 11, 24, 0.30),
    0 18px 36px rgba(2, 11, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
}
/* === End Header Heavy Glass Effect Clone === */

/* === Topbar Button Glass Popout Clone === */
.topbar__items span,
.topbar__items a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12.6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.68);
  -webkit-backdrop-filter: blur(18px) saturate(1.14);
  backdrop-filter: blur(18px) saturate(1.14);
  box-shadow:
    0 36px 68px rgba(2, 11, 24, 0.30),
    0 14px 28px rgba(2, 11, 24, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18);
  filter: drop-shadow(0 10px 18px rgba(2, 11, 24, 0.12));
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.topbar__items a:hover,
.topbar__items a:focus-visible,
.topbar__social-link:hover,
.topbar__social-link:focus-visible {
  transform: translateY(-4px);
  box-shadow:
    0 48px 86px rgba(2, 11, 24, 0.38),
    0 18px 36px rgba(2, 11, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22);
}

.topbar__social-link {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.68);
  -webkit-backdrop-filter: blur(18px) saturate(1.14);
  backdrop-filter: blur(18px) saturate(1.14);
  box-shadow:
    0 38px 72px rgba(2, 11, 24, 0.32),
    0 14px 28px rgba(2, 11, 24, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18);
  filter: drop-shadow(0 10px 18px rgba(2, 11, 24, 0.12));
}
/* === End Topbar Button Glass Popout Clone === */

/* === Mega Menu Glass Shadow Clone === */
.mega-panel {
  border: 1px solid rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  backdrop-filter: blur(28px) saturate(1.2);
  box-shadow:
    0 56px 118px rgba(2, 11, 24, 0.34),
    0 22px 42px rgba(2, 11, 24, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.mega-panel__header > div {
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.68);
  -webkit-backdrop-filter: blur(20px) saturate(1.16);
  backdrop-filter: blur(20px) saturate(1.16);
  box-shadow:
    0 34px 68px rgba(2, 11, 24, 0.20),
    0 14px 28px rgba(2, 11, 24, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.mega-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12.6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.14);
  backdrop-filter: blur(18px) saturate(1.14);
  box-shadow:
    0 24px 46px rgba(2, 11, 24, 0.18),
    0 10px 20px rgba(2, 11, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.mega-panel__header p {
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(1.14);
  backdrop-filter: blur(18px) saturate(1.14);
  box-shadow:
    0 24px 46px rgba(2, 11, 24, 0.16),
    0 10px 20px rgba(2, 11, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.mega-panel__column {
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.48);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
  box-shadow:
    0 28px 56px rgba(2, 11, 24, 0.16),
    0 12px 24px rgba(2, 11, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.mega-panel__column h3 {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12.6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.14);
  backdrop-filter: blur(18px) saturate(1.14);
  box-shadow:
    0 24px 46px rgba(2, 11, 24, 0.18),
    0 10px 20px rgba(2, 11, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.mega-link a {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.16);
  backdrop-filter: blur(20px) saturate(1.16);
  box-shadow:
    0 30px 58px rgba(2, 11, 24, 0.22),
    0 12px 24px rgba(2, 11, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.mega-link a:hover,
.mega-link a:focus-visible {
  transform: translateY(-4px);
  box-shadow:
    0 42px 78px rgba(2, 11, 24, 0.28),
    0 18px 34px rgba(2, 11, 24, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.mega-panel .button {
  box-shadow:
    0 34px 66px rgba(2, 11, 24, 0.28),
    0 14px 28px rgba(2, 11, 24, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.mega-panel .button:hover,
.mega-panel .button:focus-visible {
  box-shadow:
    0 48px 86px rgba(2, 11, 24, 0.34),
    0 18px 36px rgba(2, 11, 24, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
/* === End Mega Menu Glass Shadow Clone === */

/* === Mobile Menu Glass Shadow Clone === */
.site-drawer {
  border-left: 1px solid rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(28px) saturate(1.18);
  backdrop-filter: blur(28px) saturate(1.18);
  box-shadow:
    -42px 0 96px rgba(2, 11, 24, 0.30),
    -16px 0 32px rgba(2, 11, 24, 0.12),
    inset 1px 0 0 rgba(255, 255, 255, 0.5);
}

.site-drawer__header,
.site-drawer__footer {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(20px) saturate(1.14);
  backdrop-filter: blur(20px) saturate(1.14);
  box-shadow:
    0 30px 58px rgba(2, 11, 24, 0.18),
    0 12px 24px rgba(2, 11, 24, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.site-drawer__close,
.drawer-nav__link,
.drawer-nav__toggle,
.drawer-submenu__group h4,
.drawer-submenu__links a,
.site-drawer__footer .button,
.site-drawer__footer-label,
.social-links--drawer .social-links__link {
  border: 1px solid rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: blur(18px) saturate(1.14);
  backdrop-filter: blur(18px) saturate(1.14);
  box-shadow:
    0 26px 48px rgba(2, 11, 24, 0.22),
    0 10px 20px rgba(2, 11, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.site-drawer__close,
.drawer-nav__link,
.drawer-nav__toggle,
.drawer-submenu__group h4,
.drawer-submenu__links a,
.site-drawer__footer-label {
  background: rgba(255, 255, 255, 0.72);
}

.site-drawer__close {
  min-width: 46px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.drawer-nav > li {
  padding: 12px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
  box-shadow:
    0 24px 46px rgba(2, 11, 24, 0.14),
    0 10px 20px rgba(2, 11, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.drawer-nav__link,
.drawer-nav__toggle {
  padding: 14px 16px;
  border-radius: 18px;
}

.drawer-submenu__group h4,
.site-drawer__footer-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
}

.drawer-submenu__links a {
  border-radius: 16px;
}

.site-drawer__footer .button {
  box-shadow:
    0 34px 66px rgba(2, 11, 24, 0.30),
    0 14px 28px rgba(2, 11, 24, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.social-links--drawer .social-links__link {
  box-shadow:
    0 30px 58px rgba(2, 11, 24, 0.24),
    0 12px 24px rgba(2, 11, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.site-drawer__close:hover,
.site-drawer__close:focus-visible,
.drawer-nav__link:hover,
.drawer-nav__link:focus-visible,
.drawer-nav__toggle:hover,
.drawer-nav__toggle:focus-visible,
.drawer-submenu__links a:hover,
.drawer-submenu__links a:focus-visible,
.site-drawer__footer .button:hover,
.site-drawer__footer .button:focus-visible,
.social-links--drawer .social-links__link:hover,
.social-links--drawer .social-links__link:focus-visible {
  transform: translateY(-4px);
  box-shadow:
    0 42px 78px rgba(2, 11, 24, 0.28),
    0 18px 34px rgba(2, 11, 24, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}
/* === End Mobile Menu Glass Shadow Clone === */

/* === Mobile Drawer Footer Layout Fix === */
.site-drawer {
  overflow-y: auto;
  overflow-x: hidden;
}

.site-drawer__header,
.site-drawer__footer {
  flex-shrink: 0;
}

.site-drawer:not(:has(.drawer-submenu.is-open)) .drawer-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

.site-drawer:has(.drawer-submenu.is-open) .drawer-nav {
  flex: 0 0 auto;
  min-height: auto;
  overflow: visible;
  padding-right: 0;
}

.site-drawer:has(.drawer-submenu.is-open) .site-drawer__footer {
  margin-top: 18px;
}
/* === End Mobile Drawer Footer Layout Fix === */

/* Sitewide media-frame/image-story About-template match: copied from about-discount-court-documents, index included. */
.media-frame {
  isolation: isolate;
  transform: translateY(0);
  display: grid;
  gap: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(22, 64, 137, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.86)),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 56px 112px rgba(2, 11, 24, 0.3),
    0 24px 48px rgba(2, 11, 24, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -2px 0 rgba(22, 64, 137, 0.08);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.035) 40%, rgba(255, 255, 255, 0.18) 100%);
  pointer-events: none;
  z-index: 1;
}

.media-frame:hover {
  transform: translateY(-10px);
  box-shadow:
    0 70px 132px rgba(2, 11, 24, 0.27),
    0 28px 54px rgba(2, 11, 24, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(22, 64, 137, 0.1);
}

.media-frame__visual {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow:
    0 34px 64px rgba(2, 11, 24, 0.22),
    0 14px 30px rgba(2, 11, 24, 0.12),
    0 0 0 1px rgba(230, 240, 255, 0.86);
}

.media-frame__visual img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  box-shadow: none;
}

.image-story {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  width: auto;
  margin: 0;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background:
    radial-gradient(circle at top right, rgba(22, 64, 137, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 248, 255, 0.82)),
    rgba(255, 255, 255, 0.82);
  color: var(--heading);
  backdrop-filter: blur(20px) saturate(142%);
  -webkit-backdrop-filter: blur(20px) saturate(142%);
  box-shadow:
    0 28px 54px rgba(2, 11, 24, 0.16),
    0 10px 24px rgba(2, 11, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(22, 64, 137, 0.08);
}

.image-story__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(22, 64, 137, 0.14);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.image-story__title {
  display: block;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.2;
  color: #021132;
}

.image-story__copy {
  display: block;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(244, 248, 255, 0.42)),
    rgba(255, 255, 255, 0.34);
  box-shadow:
    0 18px 34px rgba(2, 11, 24, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 -1px 0 rgba(22, 64, 137, 0.06);
  color: #021132;
  font-size: 0.9rem;
  line-height: 1.48;
}

@media (max-width: 860px) {
  .image-story {
    padding: 16px;
    border-radius: 18px;
  }

  .image-story__title {
    font-size: 0.96rem;
  }

  .image-story__copy {
    padding: 12px 14px;
    font-size: 0.82rem;
    line-height: 1.34;
  }
}
/* Homepage quoted section glass/button completion: content sections only, video hero untouched. */
main .glass-caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: 100%;
}

main .service-card > .glass-caption,
main .content-card > .glass-caption {
  align-content: start;
}

main .timeline-step > .glass-caption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

main .section-intro-button,
main .faq-intro-button {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(244, 248, 255, 0.5)),
    rgba(255, 255, 255, 0.42);
  box-shadow:
    0 22px 42px rgba(2, 11, 24, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(22, 64, 137, 0.07);
  color: #021132;
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.48;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

main .section-intro-button::before,
main .faq-intro-button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.05) 42%, rgba(255, 255, 255, 0.035) 100%);
  pointer-events: none;
}

main .section-heading > p:hover .section-intro-button,
main .section-heading > p:hover .faq-intro-button,
main .section-intro-button:hover,
main .faq-intro-button:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow:
    0 30px 52px rgba(2, 11, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(22, 64, 137, 0.09);
}

main .section-heading--faq-template h2 {
  font-size: clamp(1.65rem, 2.35vw, 2.35rem);
  line-height: 1.05;
  max-width: min(100%, 22ch);
  text-wrap: balance;
}

@media (max-width: 760px) {
  main .timeline-step > .glass-caption {
    grid-template-columns: 1fr;
    gap: 10.8px;
  }

  main .section-intro-button,
  main .faq-intro-button {
    padding: 12px 14px;
    font-size: 0.84rem;
    line-height: 1.42;
  }
}

/* Homepage final About-template glass/button replication: quoted content sections only, hero banner/cards untouched. */
main .service-card > .glass-caption,
main .content-card > .glass-caption,
main .timeline-step > .glass-caption {
  position: relative;
  z-index: 1;
  height: 100%;
  min-width: 0;
  padding: clamp(18px, 2.2vw, 28px);
  border-radius: inherit;
  background:
    radial-gradient(circle at top right, rgba(22, 64, 137, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(244, 248, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(22, 64, 137, 0.06);
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
}

main .service-card:hover > .glass-caption,
main .content-card:hover > .glass-caption,
main .timeline-step:hover > .glass-caption {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(22, 64, 137, 0.08),
    0 18px 34px rgba(2, 11, 24, 0.08);
}

main .service-card h3,
main .content-card h2,
main .timeline-step h3,
main .section-heading h2,
main .image-story__eyebrow,
main .image-story__title,
main .section-intro-button,
main .faq-intro-button,
main .service-card p,
main .content-card p,
main .timeline-step p,
main .detail-list li,
main .service-card__links a,
main .faq-item summary,
main .faq-item__body {
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 248, 255, 0.5)),
    rgba(255, 255, 255, 0.42);
  box-shadow:
    0 22px 42px rgba(2, 11, 24, 0.14),
    0 10px 22px rgba(2, 11, 24, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(22, 64, 137, 0.09);
  backdrop-filter: blur(20px) saturate(148%);
  -webkit-backdrop-filter: blur(20px) saturate(148%);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    filter 0.28s ease;
}

main .service-card h3::before,
main .content-card h2::before,
main .timeline-step h3::before,
main .section-heading h2::before,
main .image-story__eyebrow::before,
main .image-story__title::before,
main .section-intro-button::before,
main .faq-intro-button::before,
main .service-card p::before,
main .content-card p::before,
main .timeline-step p::before,
main .detail-list li::before,
main .service-card__links a::before,
main .faq-item summary::before,
main .faq-item__body::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 56%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0));
  pointer-events: none;
}

main .service-card h3,
main .content-card h2,
main .timeline-step h3,
main .image-story__title {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 20px;
}

main .section-heading h2 {
  width: fit-content;
  max-width: min(100%, 22ch);
  padding: 12px 16px;
  border-radius: 999px;
  font-size: clamp(1.65rem, 2.35vw, 2.35rem);
  line-height: 1.05;
  text-wrap: balance;
}

main .image-story__eyebrow {
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
}

main .section-heading > p {
  flex: 1 1 360px;
  width: auto;
  max-width: 60ch;
  margin: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translateY(0);
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background:
    radial-gradient(circle at top right, rgba(22, 64, 137, 0.16), transparent 34%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 255, 0.72) 52%, rgba(238, 245, 255, 0.62)),
    rgba(255, 255, 255, 0.46);
  box-shadow:
    0 34px 70px rgba(2, 11, 24, 0.2),
    0 14px 30px rgba(2, 11, 24, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -2px 0 rgba(22, 64, 137, 0.1);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    filter 0.28s ease;
}

main .section-heading > p::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0.1) 40%, rgba(22, 64, 137, 0.12) 72%, rgba(255, 255, 255, 0.28) 100%);
  pointer-events: none;
  z-index: -1;
}

main .section-intro-button,
main .faq-intro-button {
  position: relative;
  z-index: 2;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 18px;
}

main .service-card p,
main .content-card p,
main .timeline-step p,
main .detail-list li,
main .faq-item__body {
  padding: 14px 16px;
  border-radius: 18px;
}

main .service-card__links a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--accent-dark);
}

main .timeline-step > .timeline-step__glass {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

main .service-card h3:hover,
main .content-card h2:hover,
main .timeline-step h3:hover,
main .section-heading h2:hover,
main .image-story__eyebrow:hover,
main .image-story__title:hover,
main .section-heading > p:hover,
main .section-intro-button:hover,
main .faq-intro-button:hover,
main .service-card p:hover,
main .content-card p:hover,
main .timeline-step p:hover,
main .detail-list li:hover,
main .service-card__links a:hover,
main .faq-item summary:hover,
main .faq-item__body:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.74);
  box-shadow:
    0 32px 56px rgba(2, 11, 24, 0.18),
    0 14px 26px rgba(2, 11, 24, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(22, 64, 137, 0.11);
  filter: brightness(1.02);
}

@media (max-width: 860px) {
  main .service-card > .glass-caption,
  main .content-card > .glass-caption,
  main .timeline-step > .glass-caption {
    padding: 16px;
    gap: 10.8px;
  }

  main .service-card h3,
  main .content-card h2,
  main .timeline-step h3,
  main .section-heading h2,
  main .image-story__title,
  main .section-heading > p {
    width: 100%;
  }
}

@media (max-width: 760px) {
  main .section-heading > p {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 14px 16px;
  }

  main .timeline-step > .timeline-step__glass {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  main .service-card h3,
  main .content-card h2,
  main .timeline-step h3,
  main .section-heading h2,
  main .image-story__title,
  main .section-intro-button,
  main .faq-intro-button,
  main .service-card p,
  main .content-card p,
  main .timeline-step p,
  main .detail-list li,
  main .service-card__links a,
  main .faq-item__body {
    padding: 12px 14px;
  }
}

/* Homepage timeline card correction: stack number, title, and copy as About-template buttons. */
main .timeline {
  align-items: stretch;
}

main .timeline-step.content-card {
  display: block;
  padding: 0;
  overflow: hidden;
}

main .timeline-step > .timeline-step__glass {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 16px;
  min-height: 100%;
}

main .timeline-step__number {
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: auto;
  min-width: 54px;
  height: 54px;
  margin: 0;
  padding: 0 16.2px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(244, 248, 255, 0.5)),
    rgba(255, 255, 255, 0.44);
  color: var(--accent-dark);
  font-weight: 900;
  font-size: 1.08rem;
  box-shadow:
    0 24px 44px rgba(2, 11, 24, 0.16),
    0 10px 20px rgba(2, 11, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(22, 64, 137, 0.1);
  backdrop-filter: blur(20px) saturate(148%);
  -webkit-backdrop-filter: blur(20px) saturate(148%);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    filter 0.28s ease;
}

main .timeline-step__number::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 56%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0));
  pointer-events: none;
}

main .timeline-step .timeline-step__glass > div:not(.timeline-step__number) {
  display: grid;
  gap: 10.8px;
  min-width: 0;
}

main .timeline-step h3 {
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-size: clamp(1.25rem, 1.65vw, 1.62rem);
  line-height: 1.08;
  text-wrap: balance;
}

main .timeline-step p {
  width: 100%;
  max-width: 100%;
  margin: 0;
  line-height: 1.55;
}

main .timeline-step__number:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 34px 58px rgba(2, 11, 24, 0.2),
    0 14px 26px rgba(2, 11, 24, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(22, 64, 137, 0.12);
  filter: brightness(1.02);
}

@media (max-width: 980px) {
  main .timeline-step.content-card {
    display: block;
  }
}

@media (max-width: 480px) {
  main .timeline-step__number {
    min-width: 54px;
    height: 54px;
    padding: 0 16px;
  }
}

/* Sitewide section heading rectangle buttons: h2 glass buttons are rounded rectangles, not oval pills. */
main .section-heading h2 {
  border-radius: 20px;
}

@media (max-width: 480px) {
  main .section-heading h2 {
    border-radius: 18px;
  }
}

/* Index video banner transparent glass block only: outer shell only. */
.hero--video .hero__glass {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.26), transparent 34%),
    radial-gradient(circle at 86% 88%, rgba(22, 64, 137, 0.1), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.135), rgba(248, 251, 255, 0.045)),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 30px rgba(255, 255, 255, 0.12),
    0 30px 74px rgba(2, 17, 50, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(170%) contrast(1.06);
  -webkit-backdrop-filter: blur(18px) saturate(170%) contrast(1.06);
}

.hero--video .hero__glass::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.035) 28%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, 0.14) 100%),
    radial-gradient(ellipse at 34% 18%, rgba(255, 255, 255, 0.34), transparent 38%);
  pointer-events: none;
  opacity: 0.74;
  z-index: 0;
}

.hero--video .hero__glass::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.085), transparent 64%);
  box-shadow: inset 0 0 42px rgba(255, 255, 255, 0.035);
  pointer-events: none;
  z-index: 0;
}

.hero--video .hero__glass:hover {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 38px rgba(255, 255, 255, 0.035),
    0 36px 84px rgba(2, 17, 50, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18);
  filter: brightness(1.02) saturate(1.03);
}

@media (max-width: 640px) {
  .hero--video .hero__glass {
    backdrop-filter: blur(14px) saturate(150%) contrast(1.04);
    -webkit-backdrop-filter: blur(14px) saturate(150%) contrast(1.04);
  }
}

/* Index video hero prominent 3D button content: scoped to listed banner content only. */
.hero--video .hero__glass .eyebrow,
.hero--video .hero__glass h1,
.hero--video .hero__glass .hero__lead,
.hero--video .hero__glass .button-row .button,
.hero--video .chip-list li,
.hero--video .hero-card--summary .hero-card__title,
.hero--video .hero-card--summary .service-list li,
.hero--video .hero-card--summary .stat-card {
  position: relative;
  overflow: hidden;
  transform: translateY(0) translateZ(0);
  border: 1px solid rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(244, 248, 255, 0.46)),
    rgba(255, 255, 255, 0.32);
  box-shadow:
    0 18px 0 rgba(22, 64, 137, 0.14),
    0 32px 58px rgba(2, 17, 50, 0.28),
    0 12px 24px rgba(2, 17, 50, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -2px 0 rgba(22, 64, 137, 0.16);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    filter 0.24s ease,
    background 0.24s ease;
}

.hero--video .hero__glass .eyebrow::before,
.hero--video .hero__glass h1::before,
.hero--video .hero__glass .hero__lead::before,
.hero--video .hero__glass .button-row .button::before,
.hero--video .chip-list li::before,
.hero--video .hero-card--summary .hero-card__title::before,
.hero--video .hero-card--summary .service-list li::before,
.hero--video .hero-card--summary .stat-card::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 58%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 0;
}

.hero--video .hero__glass .eyebrow > *,
.hero--video .hero__glass h1 > *,
.hero--video .hero__glass .hero__lead > *,
.hero--video .hero__glass .button-row .button > *,
.hero--video .chip-list li > *,
.hero--video .hero-card--summary .hero-card__title > *,
.hero--video .hero-card--summary .service-list li > *,
.hero--video .hero-card--summary .stat-card > * {
  position: relative;
  z-index: 1;
}

.hero--video .hero__glass .eyebrow {
  width: fit-content;
  max-width: 100%;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 18px;
  color: #021A49;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
}

.hero--video .hero__glass h1 {
  width: fit-content;
  max-width: min(100%, 18ch);
  padding: 12px 18px;
  border-radius: 22px;
  line-height: 1.02;
  color: #021132;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.66),
    0 10px 22px rgba(2, 11, 24, 0.16);
}

.hero--video .hero__glass .hero__lead {
  color: #021A49;
  font-weight: 750;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.52);
}

.hero--video .hero__glass .button-row .button {
  min-height: 52px;
  border-radius: 18px;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.34);
}

.hero--video .hero__glass .button-row .button--primary {
  background:
    linear-gradient(135deg, rgba(95, 169, 242, 0.98), rgba(22, 64, 137, 0.94)),
    rgba(255, 255, 255, 0.34);
  border-color: rgba(255, 255, 255, 0.76);
  color: #FFFFFF;
}

.hero--video .hero__glass .button-row .button--ghost {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 248, 255, 0.62)),
    rgba(255, 255, 255, 0.44);
  color: #021132;
}

.hero--video .chip-list li,
.hero--video .hero-card--summary .service-list li {
  border-radius: 18px;
  color: #021A49;
  font-weight: 850;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.54);
}

.hero--video .hero-card--summary .hero-card__title {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 18px;
  color: #021A49;
  font-weight: 950;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
}

.hero--video .hero-card--summary .stat-card {
  border-radius: 18px;
}

.hero--video .hero-card--summary .stat-card strong,
.hero--video .hero-card--summary .stat-card span {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero--video .hero__glass .eyebrow:hover,
.hero--video .hero__glass h1:hover,
.hero--video .hero__glass .hero__lead:hover,
.hero--video .hero__glass .button-row .button:hover,
.hero--video .chip-list li:hover,
.hero--video .hero-card--summary .hero-card__title:hover,
.hero--video .hero-card--summary .service-list li:hover,
.hero--video .hero-card--summary .stat-card:hover {
  transform: translateY(-8px) translateZ(0);
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 22px 0 rgba(22, 64, 137, 0.16),
    0 44px 76px rgba(2, 17, 50, 0.34),
    0 16px 30px rgba(2, 17, 50, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -2px 0 rgba(22, 64, 137, 0.18);
  filter: brightness(1.04) saturate(1.04);
}

@media (max-width: 640px) {
  .hero--video .hero__glass .eyebrow,
  .hero--video .hero__glass h1,
  .hero--video .hero__glass .hero__lead,
  .hero--video .hero__glass .button-row .button,
  .hero--video .chip-list li,
  .hero--video .hero-card--summary .hero-card__title,
  .hero--video .hero-card--summary .service-list li,
  .hero--video .hero-card--summary .stat-card {
    box-shadow:
      0 10px 0 rgba(22, 64, 137, 0.13),
      0 24px 44px rgba(2, 17, 50, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      inset 0 -1px 0 rgba(22, 64, 137, 0.12);
  }
}

/* Index video hero green shadow tint: subtle legal-blue glow matched to banner video. */
.hero--video .hero__glass .eyebrow,
.hero--video .hero__glass h1,
.hero--video .hero__glass .hero__lead,
.hero--video .hero__glass .button-row .button,
.hero--video .chip-list li,
.hero--video .hero-card--summary .hero-card__title,
.hero--video .hero-card--summary .service-list li,
.hero--video .hero-card--summary .stat-card {
  box-shadow:
    0 18px 0 rgba(22, 64, 137, 0.18),
    0 0 26px rgba(22, 64, 137, 0.24),
    0 32px 58px rgba(2, 17, 50, 0.28),
    0 12px 24px rgba(2, 17, 50, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -2px 0 rgba(22, 64, 137, 0.2);
}

.hero--video .hero__glass .eyebrow::after,
.hero--video .hero__glass h1::after,
.hero--video .hero__glass .hero__lead::after,
.hero--video .hero__glass .button-row .button::after,
.hero--video .chip-list li::after,
.hero--video .hero-card--summary .hero-card__title::after,
.hero--video .hero-card--summary .service-list li::after,
.hero--video .hero-card--summary .stat-card::after {
  content: "";
  position: absolute;
  inset: auto 10px 6px;
  height: 28%;
  border-radius: inherit;
  background: radial-gradient(ellipse at center, rgba(22, 64, 137, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero--video .hero__glass .button-row .button--primary {
  box-shadow:
    0 18px 0 rgba(22, 64, 137, 0.22),
    0 0 34px rgba(22, 64, 137, 0.36),
    0 34px 62px rgba(2, 17, 50, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -2px 0 rgba(22, 64, 137, 0.34);
}

.hero--video .hero__glass .eyebrow:hover,
.hero--video .hero__glass h1:hover,
.hero--video .hero__glass .hero__lead:hover,
.hero--video .hero__glass .button-row .button:hover,
.hero--video .chip-list li:hover,
.hero--video .hero-card--summary .hero-card__title:hover,
.hero--video .hero-card--summary .service-list li:hover,
.hero--video .hero-card--summary .stat-card:hover {
  box-shadow:
    0 22px 0 rgba(22, 64, 137, 0.22),
    0 0 36px rgba(22, 64, 137, 0.32),
    0 44px 76px rgba(2, 17, 50, 0.34),
    0 16px 30px rgba(2, 17, 50, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -2px 0 rgba(22, 64, 137, 0.24);
}

@media (max-width: 640px) {
  .hero--video .hero__glass .eyebrow,
  .hero--video .hero__glass h1,
  .hero--video .hero__glass .hero__lead,
  .hero--video .hero__glass .button-row .button,
  .hero--video .chip-list li,
  .hero--video .hero-card--summary .hero-card__title,
  .hero--video .hero-card--summary .service-list li,
  .hero--video .hero-card--summary .stat-card {
    box-shadow:
      0 10px 0 rgba(22, 64, 137, 0.17),
      0 0 20px rgba(22, 64, 137, 0.2),
      0 24px 44px rgba(2, 17, 50, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      inset 0 -1px 0 rgba(22, 64, 137, 0.16);
  }
}

/* 2026-05-28 Voice search SEO FAQ + section TTS buttons. */
.voice-search-faq {
  position: relative;
}

.voice-search-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.voice-answer-card.content-card {
  min-height: 100%;
}

.voice-answer-card .glass-caption {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.voice-answer-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.55rem, 2.25vw, 2.35rem);
  line-height: 1.04;
  color: var(--heading);
}

.voice-answer-card p {
  margin: 0;
}

.tts-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0 16.2px;
  border-radius: 12.6px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(244, 248, 255, 0.48)), rgba(255, 255, 255, 0.42);
  color: #021A49;
  box-shadow: 0 20px 38px rgba(2, 11, 24, 0.16), 0 0 20px rgba(22, 64, 137, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tts-button:hover,
.tts-button:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(22, 64, 137, 0.72);
  box-shadow: 0 28px 52px rgba(2, 11, 24, 0.22), 0 0 30px rgba(22, 64, 137, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  outline: 2px solid rgba(22, 64, 137, 0.42);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .voice-search-grid {
    grid-template-columns: 1fr;
  }
}

/* 2026-05-29 Index voice-search centered single-panel layout. */
main .voice-search-faq .voice-search-heading-single {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 auto 34px !important;
}

main .voice-search-faq .voice-search-heading-single > .voice-search-heading-panel {
  box-sizing: border-box !important;
  width: min(100%, 1040px) !important;
  max-width: 1040px !important;
  margin-inline: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr) !important;
  align-items: center !important;
  justify-content: center !important;
  column-gap: clamp(6px, 0.9vw, 12px) !important;
  row-gap: 14px !important;
}

main .voice-search-faq .voice-search-heading-copy,
main .voice-search-faq .voice-search-heading-panel > p {
  min-width: 0 !important;
}

main .voice-search-faq .voice-search-heading-copy h2 {
  max-width: none !important;
}

main .voice-search-faq .voice-search-heading-panel > p {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: center !important;
  justify-self: stretch !important;
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

main .voice-search-faq .voice-search-heading-panel > p::before {
  content: none !important;
}

main .voice-search-faq .voice-search-heading-panel .faq-intro-button {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

@media (max-width: 760px) {
  main .voice-search-faq .voice-search-heading-single > .voice-search-heading-panel {
    width: 100% !important;
    grid-template-columns: 1fr !important;
  }
}

@keyframes headerGoldRailSweep {
  0% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

@keyframes headerGoldPulseRun {
  0% { transform: translateX(-120%); opacity: 0; }
  2% { opacity: 1; }
  1% { transform: translateX(calc(50vw - 50%)); opacity: 1; }
  9% { transform: translateX(calc(100vw + 20%)); opacity: 0.92; }
  42% { transform: translateX(calc(100vw + 20%)); opacity: 0.92; }
  50% { transform: translateX(calc(50vw - 50%)); opacity: 1; }
  58% { transform: translateX(-120%); opacity: 1; }
  100% { transform: translateX(-120%); opacity: 0; }
}

@keyframes logoSparkLeft {
  0%, 5.8%, 10.8%, 100% { opacity: 0; transform: translateY(-50%) scale(0.18) rotate(0deg); }
  6.7% { opacity: 0.78; transform: translateY(-50%) scale(0.72) rotate(22deg); }
  7.4% { opacity: 1; transform: translateY(-50%) scale(1.35) rotate(86deg); }
  8% { opacity: 0.98; transform: translateY(-50%) scale(2.08) rotate(154deg); }
  9.2% { opacity: 0.5; transform: translateY(-50%) scale(2.7) rotate(232deg); }
  10.6% { opacity: 0; transform: translateY(-50%) scale(3.15) rotate(300deg); }
}

@keyframes logoSparkRight {
  0%, 47.8%, 52.8%, 100% { opacity: 0; transform: translateY(-50%) scale(0.18) rotate(0deg); }
  48.7% { opacity: 0.78; transform: translateY(-50%) scale(0.72) rotate(-22deg); }
  49.4% { opacity: 1; transform: translateY(-50%) scale(1.35) rotate(-86deg); }
  50% { opacity: 0.98; transform: translateY(-50%) scale(2.08) rotate(-154deg); }
  51.2% { opacity: 0.5; transform: translateY(-50%) scale(2.7) rotate(-232deg); }
  52.6% { opacity: 0; transform: translateY(-50%) scale(3.15) rotate(-300deg); }
}

/* === Top Header Logo Navy Social And Contact Override === */
.topbar__items span,
.topbar__items a,
.topbar__items a:hover,
.topbar__items a:focus-visible,
.topbar__social-link,
.topbar__social-link:hover,
.topbar__social-link:focus-visible {
  color: #021132;
}

.topbar__items .site-icon,
.topbar__social-link .site-icon,
.topbar__social-link svg {
  color: #021132;
  fill: currentColor;
  stroke: currentColor;
}

.topbar__social-link .alignable-icon {
  background-color: #021132;
}

.topbar__social-link img {
  filter: brightness(0) saturate(100%) invert(7%) sepia(81%) saturate(1348%) hue-rotate(205deg) brightness(85%) contrast(109%);
}
/* === End Top Header Logo Navy Social And Contact Override === */

/* === Mobile Top Header Social Icons Only Override === */
@media (max-width: 980px) {
  .topbar__items,
  .topbar__items--end {
    display: none !important;
  }

  .topbar__inner {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
  }

  .topbar__social {
    display: flex !important;
    justify-content: center !important;
    justify-self: center !important;
  }
}
/* === End Mobile Top Header Social Icons Only Override === */

/* Home mobile video dark veil: light opacity only. */
@media (max-width: 980px) {
  .hero--video .hero__veil {
    background:
      linear-gradient(rgba(2, 11, 24, 0.16), rgba(2, 11, 24, 0.16)),
      linear-gradient(94deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 251, 255, 0.9) 28%, rgba(248, 251, 255, 0.52) 58%, rgba(28, 28, 28, 0.14) 82%, rgba(28, 28, 28, 0.28) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(28, 28, 28, 0.16) 100%);
  }
}

/* Home video shaded overlay */
.hero--video .hero__veil {
  background: rgba(2, 11, 24, 0.135);
}

/* Home banner cards desktop shift */
@media (min-width: 1571px) {
  .hero--video .hero__content {
    transform: translateX(4%);
  }
}

/* Home banner card fit safety */
@media (min-width: 981px) and (max-width: 1570px) {
  .hero--video .hero__content {
    width: min(100%, calc(100vw - 40px));
    max-width: 1380px;
    transform: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 48px);
    align-items: end;
    padding-top: clamp(36px, 4.8vw, 58px);
    padding-bottom: clamp(34px, 4vw, 50px);
  }

  .hero--video .hero__copy,
  .hero--video .hero-card-shell,
  .hero--video .hero__glass,
  .hero--video .hero-card--summary,
  .hero--video .chip-list,
  .hero--video .button-row {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .hero--video .hero__glass,
  .hero--video .hero-card--summary {
    padding: clamp(16px, 2vw, 22px);
    border-radius: clamp(18px, 2vw, 24px);
  }

  .hero--video .hero__copy::before,
  .hero--video .hero-card-shell::before {
    inset: -8px;
    border-radius: clamp(20px, 2.4vw, 28px);
  }

  .hero--video .hero__glass h1 {
    font-size: clamp(1.35rem, 2.25vw, 2rem);
    line-height: 1.06;
  }

  .hero--video .hero__lead,
  .hero--video .hero-card--summary .service-list li {
    font-size: clamp(0.72rem, 1vw, 0.88rem);
    line-height: 1.35;
  }

  .hero--video .chip-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero--video .chip-list li,
  .hero--video .hero__glass .button-row .button {
    min-height: 34px;
    padding: 6px 10px;
    font-size: clamp(0.68rem, 0.95vw, 0.82rem);
  }

  .hero--video .hero-meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero--video .hero__copy--deferred {
    transform: translateX(calc(-1 * clamp(6px, 1vw, 14px)));
  }

  .hero--video .hero-card--deferred {
    transform: translateX(clamp(6px, 1vw, 14px));
  }

  .hero--video.hero--revealed .hero__copy--deferred,
  .hero--video.hero--revealed .hero-card--deferred {
    transform: translateX(0);
  }
}

@media (max-width: 980px) {
  .hero--video .hero__content {
    display: flex;
    flex-direction: column;
    width: min(100%, calc(100vw - 24px));
    max-width: 100%;
    min-width: 0;
    transform: none;
    gap: clamp(18px, 4vw, 28px);
    padding-top: clamp(18px, 5vw, 32px);
    padding-bottom: clamp(34px, 8vw, 56px);
    overflow: visible;
    box-sizing: border-box;
  }

  .hero--video .hero__copy,
  .hero--video .hero-card-shell,
  .hero--video .hero__glass,
  .hero--video .hero-card--summary,
  .hero--video .chip-list,
  .hero--video .button-row,
  .hero--video .hero-meta {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .hero--video .hero__copy,
  .hero--video .hero-card-shell {
    left: 0;
    top: 0;
    margin: 0;
    justify-self: stretch;
    align-self: stretch;
    overflow: visible;
  }

  .hero--video .hero__glass,
  .hero--video .hero-card--summary {
    padding: clamp(14px, 4.4vw, 22px);
    border-radius: clamp(16px, 4vw, 22px);
  }

  .hero--video .hero__copy::before,
  .hero--video .hero-card-shell::before {
    inset: -6px;
    border-radius: clamp(18px, 5vw, 24px);
  }

  .hero--video .hero__glass h1 {
    font-size: clamp(1.35rem, 8vw, 2rem);
    line-height: 1.04;
  }

  .hero--video .hero__lead,
  .hero--video .hero-card--summary .service-list li {
    font-size: clamp(0.78rem, 3.5vw, 0.95rem);
    line-height: 1.38;
  }

  .hero--video .chip-list,
  .hero--video .hero-meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero--video .button-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero--video .chip-list li,
  .hero--video .hero__glass .button-row .button {
    min-height: 38px;
    padding: 7px 10px;
    font-size: clamp(0.76rem, 3.2vw, 0.9rem);
  }
}

/* Home video timed intro banner */
.hero-video-intro {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(94vw, 1120px);
  transform: translate(-50%, -50%);
  display: grid;
  gap: clamp(8px, 1vw, 14px);
  pointer-events: none;
  text-align: center;
  padding: clamp(16px, 2.2vw, 30px) clamp(20px, 3vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.006);
  box-shadow:
    0 30px 68px rgba(2, 11, 24, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero--intro-line-one .hero-video-intro {
  opacity: 1;
  visibility: visible;
}

.hero-video-intro::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 48%, rgba(200, 164, 93, 0.012));
  pointer-events: none;
}

.hero-video-intro__line {
  justify-self: center;
  max-width: 100%;
  padding: clamp(8px, 1vw, 14px) clamp(18px, 2.4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.035));
  box-shadow:
    0 16px 0 rgba(2, 17, 50, 0.20),
    0 32px 58px rgba(2, 11, 24, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    inset 0 -1px 0 rgba(2, 17, 50, 0.22);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.025rem, 4.3875vw, 4.1625rem);
  font-weight: 800;
  line-height: 1.02;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-video-intro__line--primary {
  color: #0F346E;
  -webkit-text-fill-color: #0F346E;
  -webkit-text-stroke: 1.1px #FFFFFF;
  paint-order: stroke fill;
  filter: drop-shadow(0 8px 0 rgba(2, 17, 50, 0.72)) drop-shadow(0 16px 18px rgba(2, 11, 24, 0.44));
  text-shadow:
    0 1px 0 #FFFFFF,
    0 2px 0 #D7E8FF,
    0 3px 0 #8EBBEE,
    0 5px 0 #164089,
    0 8px 0 #021132,
    0 13px 14px rgba(2, 11, 24, 0.48),
    0 0 22px rgba(95, 169, 242, 0.42);
}

.hero-video-intro__line--secondary {
  color: #D7B76A;
  font-size: clamp(2.0625rem, 4.3125vw, 4.1875rem);
  -webkit-text-fill-color: #D7B76A;
  -webkit-text-stroke: 1.1px #6F4F17;
  paint-order: stroke fill;
  filter: drop-shadow(0 8px 0 rgba(111, 79, 23, 0.78)) drop-shadow(0 16px 18px rgba(2, 11, 24, 0.44));
  text-shadow:
    0 1px 0 #FFF8D6,
    0 2px 0 #E9CB75,
    0 3px 0 #C8A45D,
    0 5px 0 #8F6C2D,
    0 8px 0 #5F4316,
    0 13px 14px rgba(2, 11, 24, 0.48),
    0 0 22px rgba(215, 183, 106, 0.48);
}

.hero--intro-line-one .hero-video-intro__line--primary,
.hero--intro-line-two .hero-video-intro__line--secondary {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero--revealed .hero-video-intro,
.hero--intro-done .hero-video-intro {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

@media (max-width: 980px) {
  .hero-video-intro {
    top: clamp(92px, 31vw, 190px);
    width: min(94vw, 720px);
    padding: clamp(14px, 4vw, 22px) clamp(14px, 4vw, 22px);
    border-radius: 22px;
  }

  .hero-video-intro__line {
    font-size: clamp(1.40625rem, 7.875vw, 2.475rem);
  }

  .hero-video-intro__line--secondary {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }
}

/* Desktop header crest sizing: larger desktop logo, fitted 981px-1570px, mobile untouched. */
@media (min-width: 981px) and (max-width: 1570px) {
  .site-crest {
    top: 151%;
    width: clamp(77.4px, 6.21vw, 97.2px);
  }
}

/* Desktop header menu balance */
@media (min-width: 981px) {
  .site-menu {
    display: grid;
    grid-template-columns: repeat(4, clamp(70px, 6.5vw, 92px)) clamp(135px, 14.4vw, 211.5px) repeat(4, clamp(70px, 6.5vw, 92px));
    justify-content: center;
    align-items: center;
    gap: clamp(9px, 1.08vw, 16.2px);
  }

  .site-menu__item {
    justify-content: center;
    min-width: 0;
  }

  .site-menu__item--split-after {
    margin-right: 0 !important;
  }

  .site-menu__item:nth-child(1) { grid-column: 1; }
  .site-menu__item:nth-child(2) { grid-column: 2; }
  .site-menu__item:nth-child(3) { grid-column: 3; }
  .site-menu__item:nth-child(4) { grid-column: 4; }
  .site-menu__item:nth-child(5) { grid-column: 6; }
  .site-menu__item:nth-child(6) { grid-column: 7; }
  .site-menu__item:nth-child(7) { grid-column: 8; }
  .site-menu__item:nth-child(8) { grid-column: 9; }

  .site-menu__link,
  .site-menu__trigger,
  .site-menu__cta {
    width: 100%;
  }
}

/* Header crest breathing test */
.site-crest img {
  transform-origin: center top;
  animation: siteCrestBreath 10s ease-in-out infinite;
}

@keyframes siteCrestBreath {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

/* Logo hit text burst override */
.site-crest::before,
.site-crest::after {
  width: auto;
  min-width: max-content;
  height: auto;
  padding: 0.16em 0.42em;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF7D1 18%, #D7B76A 46%, #9A6D22 76%, #FFF3B7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #D7B76A;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.25rem, 2.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: none;
  filter: drop-shadow(0 2px 0 rgba(70, 44, 8, 0.72)) drop-shadow(0 0 16px rgba(255, 247, 209, 0.88)) drop-shadow(0 0 28px rgba(215, 183, 106, 0.58));
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95), 0 3px 0 rgba(111, 79, 23, 0.72), 0 0 18px rgba(255, 247, 209, 0.88);
}

.site-crest::before {
  content: "Divorce";
  left: -42%;
}

.site-crest::after {
  content: "Transfer Deed";
  right: -72%;
}

@keyframes logoSparkLeft {
  0%, 10%, 100% { opacity: 0; transform: translate(-18px, -50%) scale(0.45); letter-spacing: 0.02em; }
  0.4% { opacity: 0.92; transform: translate(-5px, -50%) scale(0.92); letter-spacing: 0.03em; }
  1% { opacity: 1; transform: translate(0, -50%) scale(1.16); letter-spacing: 0.055em; }
  3.4% { opacity: 0.74; transform: translate(10px, -50%) scale(1.34); letter-spacing: 0.11em; }
  8.8% { opacity: 0; transform: translate(22px, -50%) scale(1.58); letter-spacing: 0.18em; }
}

@keyframes logoSparkRight {
  0%, 47.8%, 59%, 100% { opacity: 0; transform: translate(18px, -50%) scale(0.45); letter-spacing: 0.02em; }
  49% { opacity: 0.92; transform: translate(5px, -50%) scale(0.92); letter-spacing: 0.03em; }
  50% { opacity: 1; transform: translate(0, -50%) scale(1.16); letter-spacing: 0.055em; }
  52.4% { opacity: 0.74; transform: translate(-10px, -50%) scale(1.34); letter-spacing: 0.11em; }
  57.8% { opacity: 0; transform: translate(-22px, -50%) scale(1.58); letter-spacing: 0.18em; }
}

/* Rotating service-name logo bursts */
.site-crest::before {
  animation: logoSparkLeft 10s ease-in-out infinite, logoNameLeftCycle 220s steps(1, end) infinite;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 26%, #CFE6FF 62%, #FFFFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(2, 17, 50, 0.78)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 30px rgba(95, 169, 242, 0.55));
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.98), 0 3px 0 rgba(2, 17, 50, 0.72), 0 0 18px rgba(255, 255, 255, 0.86);
}

.site-crest::after {
  animation: logoSparkRight 10s ease-in-out infinite, logoNameRightCycle 220s steps(1, end) infinite;
  background: linear-gradient(180deg, #EAF6FF 0%, #79C9FF 24%, #164089 58%, #D9F1FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(2, 17, 50, 0.88)) drop-shadow(0 0 18px rgba(95, 169, 242, 0.88)) drop-shadow(0 0 32px rgba(22, 64, 137, 0.72));
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72), 0 3px 0 rgba(2, 17, 50, 0.78), 0 0 18px rgba(95, 169, 242, 0.86);
}

@keyframes logoNameLeftCycle {
  0%, 4.545% { content: "Adverse Possessions"; }
  4.546%, 9.09% { content: "Alimony"; }
  9.091%, 13.635% { content: "Annulments"; }
  13.636%, 18.18% { content: "Affidavits"; }
  18.181%, 22.725% { content: "Appeal"; }
  22.726%, 27.27% { content: "Advance Care Directives"; }
  27.271%, 31.815% { content: "Conservatorship"; }
  31.816%, 36.36% { content: "Contested Divorce"; }
  36.361%, 40.905% { content: "Child Custody"; }
  40.906%, 45.45% { content: "Child Support"; }
  45.451%, 49.995% { content: "Civil Law"; }
  49.996%, 54.54% { content: "Domestic Relation Order"; }
  54.541%, 59.085% { content: "Divorce"; }
  59.086%, 63.63% { content: "Ex-parte Motions"; }
  63.631%, 68.175% { content: "Expungements"; }
  68.176%, 72.72% { content: "Eviction Notice"; }
  72.721%, 77.265% { content: "Family Law"; }
  77.266%, 81.81% { content: "Guardianship Rights"; }
  81.811%, 86.355% { content: "Inheritance"; }
  86.356%, 90.9% { content: "Intestate Succession"; }
  90.901%, 95.445% { content: "Judgment"; }
  95.446%, 100% { content: "Lawsuits"; }
}

@keyframes logoNameRightCycle {
  0%, 4.545% { content: "Transfer Deed"; }
  4.546%, 9.09% { content: "Last Will and Testament"; }
  9.091%, 13.635% { content: "Legal Documents"; }
  13.636%, 18.18% { content: "Trustee"; }
  18.181%, 22.725% { content: "Legal Separation"; }
  22.726%, 27.27% { content: "Legal Stipulations"; }
  27.271%, 31.815% { content: "Living Trust"; }
  31.816%, 36.36% { content: "Marriage Contracts"; }
  36.361%, 40.905% { content: "Name Change"; }
  40.906%, 45.45% { content: "Personal Injury"; }
  45.451%, 49.995% { content: "Power of Attorney"; }
  49.996%, 54.54% { content: "Prenuptial Agreements"; }
  54.541%, 59.085% { content: "Probate"; }
  59.086%, 63.63% { content: "Quite Title"; }
  63.631%, 68.175% { content: "Restraining Orders"; }
  68.176%, 72.72% { content: "Seal Record"; }
  72.721%, 77.265% { content: "Summery Desolation"; }
  77.266%, 81.81% { content: "Survivor Spouse Petitions"; }
  81.811%, 86.355% { content: "Paralegal Services"; }
  86.356%, 90.9% { content: "Visitation"; }
  90.901%, 95.445% { content: "Evictions"; }
  95.446%, 100% { content: "Document Preparation"; }
}

/* Lower, slower service-name logo bursts */
.site-crest::before,
.site-crest::after {
  top: 68%;
}

@keyframes logoSparkLeft {
  0%, 14%, 100% { opacity: 0; transform: translate(-18px, -50%) scale(0.45); letter-spacing: 0.02em; }
  0.4% { opacity: 0.92; transform: translate(-5px, -50%) scale(0.92); letter-spacing: 0.03em; }
  1% { opacity: 1; transform: translate(0, -50%) scale(1.16); letter-spacing: 0.055em; }
  5.8% { opacity: 0.92; transform: translate(6px, -50%) scale(1.28); letter-spacing: 0.085em; }
  9.6% { opacity: 0.58; transform: translate(14px, -50%) scale(1.46); letter-spacing: 0.14em; }
  12.8% { opacity: 0; transform: translate(22px, -50%) scale(1.62); letter-spacing: 0.2em; }
}

@keyframes logoSparkRight {
  0%, 47.8%, 63%, 100% { opacity: 0; transform: translate(18px, -50%) scale(0.45); letter-spacing: 0.02em; }
  49% { opacity: 0.92; transform: translate(5px, -50%) scale(0.92); letter-spacing: 0.03em; }
  50% { opacity: 1; transform: translate(0, -50%) scale(1.16); letter-spacing: 0.055em; }
  54.8% { opacity: 0.92; transform: translate(-6px, -50%) scale(1.28); letter-spacing: 0.085em; }
  58.6% { opacity: 0.58; transform: translate(-14px, -50%) scale(1.46); letter-spacing: 0.14em; }
  61.8% { opacity: 0; transform: translate(-22px, -50%) scale(1.62); letter-spacing: 0.2em; }
}

/* Smoother service-name burst dissolve and matched shadows */
.site-crest::before {
  filter: drop-shadow(0 2px 0 rgba(2, 17, 50, 0.78)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 30px rgba(95, 169, 242, 0.55));
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.98), 0 3px 0 rgba(2, 17, 50, 0.72), 0 0 18px rgba(255, 255, 255, 0.86);
}

.site-crest::after {
  background: linear-gradient(180deg, #EAF6FF 0%, #79C9FF 28%, #164089 64%, #D9F1FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(2, 17, 50, 0.78)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 30px rgba(95, 169, 242, 0.55));
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.98), 0 3px 0 rgba(2, 17, 50, 0.72), 0 0 18px rgba(255, 255, 255, 0.86);
}

@keyframes logoSparkLeft {
  0%, 16%, 100% { opacity: 0; transform: translate(-18px, -50%) scale(0.45); letter-spacing: 0.02em; }
  0.4% { opacity: 0.92; transform: translate(-5px, -50%) scale(0.92); letter-spacing: 0.02em; }
  1% { opacity: 1; transform: translate(0, -50%) scale(1.16); letter-spacing: 0.025em; }
  8% { opacity: 1; transform: translate(4px, -50%) scale(1.2); letter-spacing: 0.025em; }
  12% { opacity: 0.72; transform: translate(9px, -50%) scale(1.28); letter-spacing: 0.035em; }
  15% { opacity: 0; transform: translate(14px, -50%) scale(1.36); letter-spacing: 0.045em; }
}

@keyframes logoSparkRight {
  0%, 47.8%, 65%, 100% { opacity: 0; transform: translate(18px, -50%) scale(0.45); letter-spacing: 0.02em; }
  49% { opacity: 0.92; transform: translate(5px, -50%) scale(0.92); letter-spacing: 0.02em; }
  50% { opacity: 1; transform: translate(0, -50%) scale(1.16); letter-spacing: 0.025em; }
  57% { opacity: 1; transform: translate(-4px, -50%) scale(1.2); letter-spacing: 0.025em; }
  61% { opacity: 0.72; transform: translate(-9px, -50%) scale(1.28); letter-spacing: 0.035em; }
  64% { opacity: 0; transform: translate(-14px, -50%) scale(1.36); letter-spacing: 0.045em; }
}

/* Force right-side burst text blue */
.site-crest::after {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #164089;
  color: #164089;
}

/* Larger lower white service-name bursts */
.site-crest::before,
.site-crest::after {
  top: 76%;
  font-size: clamp(1.62rem, 3.05vw, 3.15rem);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 26%, #CFE6FF 62%, #FFFFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #FFFFFF;
}

.site-crest::before {
  left: -58%;
}

.site-crest::after {
  right: -96%;
}

/* Stronger visible header rail pulse */
.site-header__band::before {
  width: clamp(180px, 32vw, 520px);
  height: 5px;
  z-index: 5;
  background: linear-gradient(90deg, transparent 0%, rgba(95, 169, 242, 0.1) 8%, rgba(255, 255, 255, 0.98) 22%, rgba(255, 247, 209, 1) 42%, rgba(255, 194, 92, 0.96) 58%, rgba(95, 169, 242, 0.62) 74%, transparent 100%);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.98), 0 0 34px rgba(255, 247, 209, 0.86), 0 0 56px rgba(95, 169, 242, 0.62), 0 0 82px rgba(22, 64, 137, 0.44);
  filter: saturate(1.35) brightness(1.18);
}

.site-header__band::after {
  height: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 14px rgba(255, 247, 209, 0.9), 0 0 34px rgba(95, 169, 242, 0.42);
}

/* Restore gold rail and compact pulse ball */
.site-header__band::after {
  height: 2px;
  background: linear-gradient(90deg, #956C36 0%, #F3DB9C 16%, #D6A85D 34%, #C29C5E 52%, #FFF7D1 68%, #956C36 100%);
  background-size: 240% 100%;
  box-shadow: 0 1px 0 rgba(255, 247, 209, 0.78), 0 3px 9px rgba(214, 168, 93, 0.46);
  filter: none;
}

.site-header__band::before {
  width: clamp(34px, 5.2vw, 82px);
  height: clamp(8px, 0.9vw, 13px);
  border-radius: 999px;
  z-index: 5;
  background: radial-gradient(circle at 50% 50%, #FFFFFF 0%, #FFF7D1 18%, #F3DB9C 34%, #D6A85D 54%, rgba(149, 108, 54, 0.58) 74%, transparent 100%);
  box-shadow: 0 0 10px rgba(255, 247, 209, 0.92), 0 0 22px rgba(214, 168, 93, 0.74), 0 0 38px rgba(194, 156, 94, 0.5);
  filter: saturate(1.08) brightness(1.04);
}

/* Smooth electric gold rail pulse restore */
.site-header__band::after {
  height: 2px;
  background: linear-gradient(90deg, #956C36 0%, #F3DB9C 16%, #D6A85D 34%, #C29C5E 52%, #FFF7D1 68%, #956C36 100%);
  background-size: 240% 100%;
  box-shadow: 0 1px 0 rgba(255, 247, 209, 0.78), 0 3px 9px rgba(214, 168, 93, 0.46);
  filter: none;
}

.site-header__band::before {
  width: clamp(96px, 18vw, 270px);
  height: 2px;
  border-radius: 999px;
  z-index: 5;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 247, 209, 0.05) 12%, rgba(255, 247, 209, 0.96) 50%, rgba(214, 168, 93, 0.72) 72%, transparent 100%);
  box-shadow: 0 0 14px rgba(243, 219, 156, 0.8), 0 0 28px rgba(214, 168, 93, 0.38);
  filter: none;
  animation: headerGoldPulseRun 10s linear infinite;
}

@keyframes headerGoldPulseRun {
  0% { transform: translateX(-36vw); opacity: 0; }
  0.2% { opacity: 1; }
  0.55% { transform: translateX(-18vw); opacity: 1; }
  1% { transform: translateX(calc(50vw - 50%)); opacity: 1; }
  1.55% { transform: translateX(68vw); opacity: 0.98; }
  2.3% { transform: translateX(calc(100vw + 20%)); opacity: 0; }
  42% { transform: translateX(calc(100vw + 20%)); opacity: 0; }
  48.8% { transform: translateX(calc(100vw + 20%)); opacity: 1; }
  49.4% { transform: translateX(68vw); opacity: 1; }
  50% { transform: translateX(calc(50vw - 50%)); opacity: 1; }
  50.7% { transform: translateX(24vw); opacity: 0.98; }
  51.6% { transform: translateX(-36vw); opacity: 0; }
  100% { transform: translateX(-36vw); opacity: 0; }
}

/* Locked gold header border - do not change */
.site-header__band {
  border-bottom: 0;
}

.site-header__band::after {
  height: 2px;
  background: linear-gradient(90deg, #956C36 0%, #C29C5E 18%, #D6A85D 42%, #F3DB9C 55%, #C29C5E 72%, #956C36 100%);
  background-size: 240% 100%;
  box-shadow: 0 2px 8px rgba(214, 168, 93, 0.58), 0 0 18px rgba(194, 156, 94, 0.32);
  filter: none;
}

/* Visible gold electric pulse - border stays gold */
.site-header__band::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  top: auto;
  width: clamp(92px, 14vw, 210px);
  height: 4px;
  border-radius: 999px;
  z-index: 7;
  opacity: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(149, 108, 54, 0.18) 12%, #956C36 28%, #D6A85D 48%, #F3DB9C 58%, #C29C5E 72%, transparent 100%);
  box-shadow: 0 0 10px rgba(214, 168, 93, 0.9), 0 0 22px rgba(194, 156, 94, 0.72), 0 0 38px rgba(149, 108, 54, 0.46);
  filter: saturate(1.18) brightness(1.08);
  animation: headerGoldPulseRun 10s linear infinite;
}

@keyframes headerGoldPulseRun {
  0% { transform: translateX(-18vw); opacity: 0; }
  0.15% { opacity: 1; }
  0.55% { transform: translateX(18vw); opacity: 1; }
  1% { transform: translateX(calc(50vw - 50%)); opacity: 1; }
  1.55% { transform: translateX(72vw); opacity: 1; }
  2.2% { transform: translateX(calc(100vw + 18vw)); opacity: 0; }
  42% { transform: translateX(calc(100vw + 18vw)); opacity: 0; }
  48.8% { transform: translateX(calc(100vw + 18vw)); opacity: 1; }
  49.4% { transform: translateX(72vw); opacity: 1; }
  50% { transform: translateX(calc(50vw - 50%)); opacity: 1; }
  50.7% { transform: translateX(18vw); opacity: 1; }
  51.6% { transform: translateX(-18vw); opacity: 0; }
  100% { transform: translateX(-18vw); opacity: 0; }
}

/* Slower synced gold electric pulse */
.site-header__band::before {
  animation: headerGoldPulseRun 10s cubic-bezier(0.32, 0, 0.2, 1) infinite;
}

@keyframes headerGoldPulseRun {
  0% { transform: translateX(-20vw); opacity: 0; }
  0.2% { opacity: 1; }
  0.45% { transform: translateX(-8vw); opacity: 1; }
  0.7% { transform: translateX(18vw); opacity: 1; }
  1% { transform: translateX(calc(50vw - 50%)); opacity: 1; }
  1.35% { transform: translateX(70vw); opacity: 1; }
  1.9% { transform: translateX(calc(100vw + 18vw)); opacity: 0; }
  42% { transform: translateX(calc(100vw + 18vw)); opacity: 0; }
  48.9% { transform: translateX(calc(100vw + 18vw)); opacity: 1; }
  49.3% { transform: translateX(72vw); opacity: 1; }
  50% { transform: translateX(calc(50vw - 50%)); opacity: 1; }
  50.45% { transform: translateX(30vw); opacity: 1; }
  50.9% { transform: translateX(8vw); opacity: 1; }
  51.5% { transform: translateX(-20vw); opacity: 0; }
  100% { transform: translateX(-20vw); opacity: 0; }
}


/* Final pulse timing gate: wait until hero cards finish, then run slower gold pulses */
body:not(.header-effects-ready) .site-header__band::before,
body:not(.header-effects-ready) .site-crest::before,
body:not(.header-effects-ready) .site-crest::after {
  animation-play-state: paused !important;
  opacity: 0 !important;
}

body.header-effects-ready .site-header__band::before,
body.header-effects-ready .site-crest::before,
body.header-effects-ready .site-crest::after {
  animation-play-state: running !important;
}

.site-header__band::before {
  animation: headerGoldPulseRun 10s linear infinite;
}

@keyframes headerGoldPulseRun {
  0% { transform: translateX(-18vw); opacity: 0; }
  8% { opacity: 1; }
  18% { transform: translateX(6vw); opacity: 1; }
  30% { transform: translateX(28vw); opacity: 1; }
  40% { transform: translateX(calc(50vw - 50%)); opacity: 1; }
  48% { transform: translateX(72vw); opacity: 1; }
  56% { transform: translateX(calc(100vw + 18vw)); opacity: 0; }
  62% { transform: translateX(calc(100vw + 18vw)); opacity: 0; }
  68% { opacity: 1; }
  74% { transform: translateX(76vw); opacity: 1; }
  82% { transform: translateX(calc(50vw - 50%)); opacity: 1; }
  90% { transform: translateX(24vw); opacity: 1; }
  98% { transform: translateX(-18vw); opacity: 0; }
  100% { transform: translateX(-18vw); opacity: 0; }
}

@keyframes logoSparkLeft {
  0%, 35%, 51%, 100% { opacity: 0; transform: translate(-18px, -50%) scale(0.45); letter-spacing: 0.02em; }
  37% { opacity: 0.88; transform: translate(-6px, -50%) scale(0.92); letter-spacing: 0.03em; }
  40% { opacity: 1; transform: translate(0, -50%) scale(1.28); letter-spacing: 0.065em; }
  45% { opacity: 0.82; transform: translate(12px, -50%) scale(1.46); letter-spacing: 0.12em; }
  50% { opacity: 0; transform: translate(24px, -50%) scale(1.66); letter-spacing: 0.18em; }
}

@keyframes logoSparkRight {
  0%, 77%, 93%, 100% { opacity: 0; transform: translate(18px, -50%) scale(0.45); letter-spacing: 0.02em; }
  79% { opacity: 0.88; transform: translate(6px, -50%) scale(0.92); letter-spacing: 0.03em; }
  82% { opacity: 1; transform: translate(0, -50%) scale(1.28); letter-spacing: 0.065em; }
  87% { opacity: 0.82; transform: translate(-12px, -50%) scale(1.46); letter-spacing: 0.12em; }
  92% { opacity: 0; transform: translate(-24px, -50%) scale(1.66); letter-spacing: 0.18em; }
}

/* Smooth rail pulse only: remove left-side slowdown and dead pause */
.site-header__band::before{animation:headerGoldPulseRun 10s linear infinite!important;will-change:transform,opacity}
@keyframes headerGoldPulseRun{0%{transform:translateX(-24vw);opacity:0}4%{transform:translateX(-24vw);opacity:1}16%{transform:translateX(2vw);opacity:1}28%{transform:translateX(26vw);opacity:1}40%{transform:translateX(calc(50vw - 50%));opacity:1}48%{transform:translateX(74vw);opacity:1}56%{transform:translateX(calc(100vw + 24vw));opacity:0}60%{transform:translateX(calc(100vw + 24vw));opacity:0}64%{transform:translateX(calc(100vw + 24vw));opacity:1}70%{transform:translateX(78vw);opacity:1}76%{transform:translateX(64vw);opacity:1}82%{transform:translateX(calc(50vw - 50%));opacity:1}88%{transform:translateX(34vw);opacity:1}94%{transform:translateX(10vw);opacity:1}100%{transform:translateX(-24vw);opacity:0}}

/* Pulse-only fix v2: simple continuous passes, no left-side stepped slowdown */
.site-header__band::before{animation:headerGoldPulseRun 10s linear infinite!important;will-change:transform,opacity}
@keyframes headerGoldPulseRun{0%{transform:translateX(-24vw);opacity:0}16%{transform:translateX(-24vw);opacity:0}18%{transform:translateX(-24vw);opacity:1}40%{transform:translateX(calc(50vw - 50%));opacity:1}56%{transform:translateX(calc(100vw + 24vw));opacity:0}62%{transform:translateX(calc(100vw + 24vw));opacity:0}64%{transform:translateX(calc(100vw + 24vw));opacity:1}82%{transform:translateX(calc(50vw - 50%));opacity:1}100%{transform:translateX(-24vw);opacity:0}}

/* Pulse adjustment: left side sped up by 1 second, hit timing unchanged */
.site-header__band::before{animation:headerGoldPulseRun 10s linear infinite!important;will-change:transform,opacity}
@keyframes headerGoldPulseRun{0%{transform:translateX(-24vw);opacity:0}26%{transform:translateX(-24vw);opacity:0}28%{transform:translateX(-24vw);opacity:1}40%{transform:translateX(calc(50vw - 50%));opacity:1}56%{transform:translateX(calc(100vw + 24vw));opacity:0}62%{transform:translateX(calc(100vw + 24vw));opacity:0}64%{transform:translateX(calc(100vw + 24vw));opacity:1}82%{transform:translateX(calc(50vw - 50%));opacity:1}100%{transform:translateX(-24vw);opacity:0}}

/* Pulse adjustment: remove left-side visible stall */
.site-header__band::before{animation:headerGoldPulseRun 10s linear infinite!important;will-change:transform,opacity}
@keyframes headerGoldPulseRun{0%{transform:translateX(-24vw);opacity:0}26%{transform:translateX(-24vw);opacity:0}28%{transform:translateX(-18vw);opacity:1}40%{transform:translateX(calc(50vw - 50%));opacity:1}56%{transform:translateX(calc(100vw + 24vw));opacity:0}62%{transform:translateX(calc(100vw + 24vw));opacity:0}64%{transform:translateX(calc(100vw + 20vw));opacity:1}82%{transform:translateX(calc(50vw - 50%));opacity:1}98%{transform:translateX(-18vw);opacity:1}100%{transform:translateX(-24vw);opacity:0}}

/* Pulse adjustment: mirror right-side timing on left, no left-edge stall */
.site-header__band::before{animation:headerGoldPulseRun 10s linear infinite!important;will-change:transform,opacity}
@keyframes headerGoldPulseRun{0%{transform:translateX(-24vw);opacity:0}20%{transform:translateX(-24vw);opacity:0}22%{transform:translateX(-20vw);opacity:.78}40%{transform:translateX(calc(50vw - 50%));opacity:1}58%{transform:translateX(calc(100vw + 20vw));opacity:.78}60%{transform:translateX(calc(100vw + 24vw));opacity:0}62%{transform:translateX(calc(100vw + 24vw));opacity:0}64%{transform:translateX(calc(100vw + 20vw));opacity:.78}82%{transform:translateX(calc(50vw - 50%));opacity:1}98%{transform:translateX(-20vw);opacity:.78}100%{transform:translateX(-24vw);opacity:0}}.hero--video .hero__media video{width:100%;height:100%;object-fit:fill!important;object-position:center;display:block}
