/* ─────────────────────────────────────────────
   ZENITH LEGAL SERVICES GROUP
   Navy + Gold corporate aesthetic
   Deep navy (#0b1b34) with antique gold (#a38d5a / #c6a866)
   Playfair Display for display, Manrope for body
   ───────────────────────────────────────────── */

:root {
  --navy:         #0b1b34;
  --navy-soft:    #0f2341;
  --navy-card:    #122a4d;
  --navy-deep:    #07142a;
  --gold:         #a38d5a;
  --gold-bright:  #c6a866;
  --gold-soft:    #d9be7e;
  --gold-deep:    #7a6740;
  --gold-faint:   rgba(163, 141, 90, 0.16);
  --ivory:        #f0e8d4;
  --ivory-soft:   #d8cdb2;
  --ivory-quiet:  rgba(240, 232, 212, 0.62);
  --ivory-faint:  rgba(240, 232, 212, 0.34);
  --rule:         rgba(198, 168, 102, 0.18);
  --rule-soft:    rgba(198, 168, 102, 0.10);

  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body:    "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(ellipse 80% 60% at 80% -10%, rgba(198, 168, 102, 0.06), transparent 65%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(198, 168, 102, 0.04), transparent 60%);
  background-attachment: fixed;
}

a { color: var(--gold-soft); text-decoration: none; transition: color 220ms; }
a:hover { color: var(--gold-bright); }

::selection { background: var(--gold); color: var(--navy); }

.container {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}

/* ── HEADER ───────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
  position: sticky;
  top: 0;
  background: rgba(11, 27, 52, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-mark { display: flex; align-items: center; }

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
  transition: opacity 220ms;
}

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

.primary-nav { display: flex; gap: 38px; }

.primary-nav a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-quiet);
  position: relative;
  padding: 4px 0;
}

.primary-nav a:hover { color: var(--ivory); }

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms ease;
}

.primary-nav a:hover::after { transform: scaleX(1); }

/* ── HERO ─────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 0 90px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 70% 30%, rgba(198, 168, 102, 0.10), transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(198, 168, 102, 0.05), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 920px;
}

.hero-overline {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  animation: fade-rise 1000ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.05;
  color: var(--ivory);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  animation: fade-rise 1000ms 150ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-bright);
}

.hero-lede {
  max-width: 680px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ivory-soft);
  margin-bottom: 44px;
  animation: fade-rise 1000ms 300ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 80px;
  animation: fade-rise 1000ms 450ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cta-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: all 280ms ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-primary::after {
  content: '→';
  font-weight: 400;
  transition: transform 280ms ease;
}

.cta-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(198, 168, 102, 0.16);
}

.cta-primary:hover::after { transform: translateX(4px); }

.cta-ghost {
  background: transparent;
  color: var(--ivory);
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: all 280ms ease;
}

.cta-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(198, 168, 102, 0.04);
}

.hero-stats {
  display: flex;
  gap: 0;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  animation: fade-rise 1000ms 600ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 18px;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ivory-quiet);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--rule);
}

/* ── SECTION HEADS ─────────────────────────── */
.section-head {
  max-width: 760px;
  margin-bottom: 72px;
}

.section-head.centred {
  margin-inline: auto;
  text-align: center;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  position: relative;
  padding-left: 32px;
  display: inline-block;
}

.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.section-head.centred .section-eyebrow { padding-left: 32px; padding-right: 32px; }
.section-head.centred .section-eyebrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.section-eyebrow.gold-light { color: var(--gold-bright); }
.section-eyebrow.gold-light::before, .section-eyebrow.gold-light::after { background: var(--gold-bright); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  color: var(--ivory);
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}

.section-lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ivory-soft);
  font-family: var(--font-body);
  max-width: 680px;
}

.section-head.centred .section-lede { margin-inline: auto; }

/* ── PRACTICE ──────────────────────────────── */
.practice {
  padding: 130px 0 140px;
  border-top: 1px solid var(--rule);
  position: relative;
}

.practice::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(198, 168, 102, 0.03), transparent 70%);
  pointer-events: none;
}

.practice > .container { position: relative; }

.practice-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.practice-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 50px;
  padding: 50px 0;
  border-top: 1px solid var(--rule);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.practice-row.in-view {
  opacity: 1;
  transform: translateY(0);
}

.practice-row:last-child { border-bottom: 1px solid var(--rule); }

.practice-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.04em;
}

.practice-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  color: var(--ivory);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.practice-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ivory-quiet);
  font-family: var(--font-body);
  max-width: 720px;
  margin-bottom: 22px;
}

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

.practice-tags span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  padding: 5px 11px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(198, 168, 102, 0.04);
}

/* ── APPROACH ─────────────────────────────── */
.approach {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}

.approach::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(198, 168, 102, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(198, 168, 102, 0.05), transparent 60%);
  pointer-events: none;
}

.approach-inner { position: relative; }

.approach-head { max-width: 760px; margin-bottom: 50px; }

.approach-pull {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.45;
  color: var(--gold-soft);
  margin-bottom: 80px;
  padding-left: 28px;
  border-left: 2px solid var(--gold);
  max-width: 880px;
  letter-spacing: -0.01em;
}

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

.principle {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms ease, transform 800ms ease;
}

.principle.in-view { opacity: 1; transform: translateY(0); }
.principle.in-view:nth-child(2) { transition-delay: 100ms; }
.principle.in-view:nth-child(3) { transition-delay: 200ms; }

.principle-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 18px;
  line-height: 1;
}

.principle h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ivory);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.principle p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ivory-quiet);
  font-family: var(--font-body);
}

/* ── CONTACT ───────────────────────────────── */
.contact {
  padding: 130px 0;
  background: var(--navy);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(198, 168, 102, 0.06), transparent 70%);
  pointer-events: none;
}

.contact > .container { position: relative; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  max-width: 1000px;
  margin-inline: auto;
}

.contact-card {
  display: block;
  background: var(--navy-soft);
  border: 1px solid var(--rule);
  padding: 32px 28px;
  text-align: center;
  transition: all 320ms ease;
  color: inherit;
  border-radius: 2px;
}

a.contact-card:hover {
  border-color: var(--gold);
  background: var(--navy-card);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(198, 168, 102, 0.06);
}

.contact-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.contact-detail {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: var(--ivory);
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}

a.contact-card:hover .contact-detail { color: var(--gold-soft); }

.contact-meta {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 12px;
  color: var(--ivory-faint);
}

/* ── FOOTER ────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  color: var(--ivory-quiet);
  padding: 70px 0 28px;
  border-top: 1px solid var(--rule);
}

.site-footer a { color: var(--gold-soft); }
.site-footer a:hover { color: var(--gold-bright); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 12px;
  filter: brightness(0.95);
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gold-soft);
  letter-spacing: 0.06em;
  font-weight: 500;
}

.footer-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-detail {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ivory-quiet);
  font-family: var(--font-body);
}

.footer-rule {
  height: 1px;
  background: rgba(198, 168, 102, 0.14);
  margin: 36px 0 22px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  font-size: 11px;
  color: var(--ivory-faint);
  align-items: start;
  font-family: var(--font-body);
}

.footer-disclaimer {
  font-style: italic;
  text-align: right;
  max-width: 640px;
  justify-self: end;
  line-height: 1.65;
}

/* ── ANIMATIONS ────────────────────────────── */
@keyframes fade-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 880px) {
  .principles-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-disclaimer { text-align: left; justify-self: start; max-width: 100%; }
  .practice-row { grid-template-columns: 1fr; gap: 16px; padding: 40px 0; }
  .practice-num { font-size: 42px; }
  .hero-stats { flex-direction: column; gap: 22px; align-items: stretch; }
  .stat-sep { width: 100%; height: 1px; }
  .stat { padding: 12px 0; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 32px, 1200px); }
  .primary-nav { gap: 20px; }
  .primary-nav a { font-size: 11px; }
  .brand-logo { height: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .practice { padding: 90px 0 100px; }
  .approach { padding: 90px 0; }
  .contact { padding: 90px 0; }
  .hero-cta-row { flex-direction: column; }
  .cta-primary, .cta-ghost { width: 100%; justify-content: center; text-align: center; }
  .hero-title { font-size: clamp(36px, 9vw, 56px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
