/* Public law-firm frontend */
:root {
  --ink: #142433;
  --muted: #5d6b78;
  --paper: #f5f2ec;
  --line: rgba(20, 36, 51, 0.12);
  --radius: 2px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0 0 .6rem; }
a { color: var(--primary, #1c3d5a); text-decoration: none; }
a:hover { color: var(--accent, #c4a574); }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.muted { color: var(--muted); }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--primary, #1c3d5a) 94%, black);
  color: #f4f0e8;
  border-bottom: 1px solid color-mix(in srgb, var(--accent, #c4a574) 55%, transparent);
}
.site-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4.25rem; position: relative;
}
.brand {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700; color: #fff !important; letter-spacing: .02em;
}
.brand img { height: 42px; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; }
.site-nav a { color: #d7e2ec; font-size: .95rem; font-weight: 500; }
.site-nav a:hover { color: var(--accent, #c4a574); }
.nav-toggle {
  display: none; border: 1px solid rgba(255,255,255,.25); background: transparent;
  color: #fff; padding: .4rem .7rem; border-radius: var(--radius); font: inherit; cursor: pointer;
}

.hero-slider {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: end;
  color: #f7f3ea;
  overflow: hidden;
  background: #0b1a28;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  margin: 0; opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 7s ease;
}
.hero-slide.is-active img { transform: scale(1); }
.hero-veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(105deg, rgba(10,24,38,.88) 12%, rgba(10,24,38,.55) 48%, rgba(10,24,38,.28) 78%),
    linear-gradient(0deg, rgba(8,18,28,.55), transparent 42%);
}
.hero-inner {
  position: relative; z-index: 3;
  max-width: 40rem;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(4.5rem, 8vw, 6rem);
}
.hero-kicker {
  display: inline-block; margin: 0 0 1rem;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent, #c4a574); font-weight: 600;
  animation: hero-rise .7s ease both;
}
.hero-slider h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem); margin: 0 0 1rem; max-width: 12ch;
  animation: hero-rise .85s ease .08s both;
}
.hero-lead {
  margin: 0; font-size: 1.08rem; opacity: .9; max-width: 34rem;
  animation: hero-rise .9s ease .14s both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem;
  animation: hero-rise .95s ease .2s both;
}
.hero-controls {
  position: absolute; left: 0; right: 0; bottom: 1.25rem; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  pointer-events: none;
}
.hero-controls > * { pointer-events: auto; }
.hero-nav {
  width: 2.5rem; height: 2.5rem; border-radius: 2px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(10,24,38,.35); color: #fff;
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  backdrop-filter: blur(4px);
}
.hero-nav:hover { border-color: var(--accent, #c4a574); color: var(--accent, #c4a574); }
.hero-dots { display: flex; gap: .45rem; }
.hero-dot {
  width: .55rem; height: .55rem; border-radius: 999px; padding: 0;
  border: 0; background: rgba(255,255,255,.35); cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.hero-dot.is-active {
  width: 1.5rem;
  background: var(--accent, #c4a574);
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.25rem; border-radius: var(--radius); font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; transition: transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent, #c4a574); color: #142433 !important; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--primary, #1c3d5a) !important; }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.35); color: #fff !important; }

.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-tone { background: linear-gradient(180deg, #ebe6dc, #f5f2ec); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0; }
.section-head p { margin: .35rem 0 0; color: var(--muted); max-width: 34rem; }

.practice-grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  background: var(--line); border: 1px solid var(--line);
}
.practice-item {
  background: #fff; padding: 1.5rem 1.35rem; color: inherit !important;
  transition: background .2s ease;
}
.practice-item:hover { background: #fbfaf7; }
.practice-item h3 { font-size: 1.35rem; margin-bottom: .45rem; }
.practice-item p { margin: 0 0 1rem; color: var(--muted); font-size: .95rem; }
.practice-item span { font-size: .85rem; color: var(--accent, #c4a574); font-weight: 600; }

.about-split { display: grid; gap: 2rem; grid-template-columns: 1.3fr .9fr; align-items: start; }
.prose { color: #2a3a48; }
.prose p { margin: 0 0 1rem; }
.about-media img {
  width: 100%; height: min(420px, 70vw); object-fit: cover;
  border: 1px solid var(--line);
}
.about-aside { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.aside-stat { background: #fff; padding: 1.1rem 1.2rem; }
.aside-stat strong { display: block; font-family: var(--font-display); font-size: 1.25rem; margin-bottom: .25rem; }
.aside-stat span { color: var(--muted); font-size: .92rem; }

.article-list { display: grid; }
.article-row { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.article-row h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.article-row p { margin: 0; color: var(--muted); }

.article-cards {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.article-card {
  background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
}
.article-card-media { display: block; overflow: hidden; }
.article-card-media img {
  width: 100%; height: 180px; object-fit: cover;
  transition: transform .45s ease;
}
.article-card:hover .article-card-media img { transform: scale(1.04); }
.article-card-body { padding: 1.1rem 1.15rem 1.25rem; }
.article-card-body h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.article-card-body p { margin: 0; color: var(--muted); font-size: .95rem; }

.team-photo {
  width: 100%; height: 260px; object-fit: cover; object-position: center top;
  margin-bottom: 1rem; background: #dfe6ee;
}
.post-cover {
  width: 100%; max-height: 360px; object-fit: cover;
  margin: 0 0 1.5rem; border: 1px solid var(--line);
}

.cta-band {
  background: linear-gradient(120deg, var(--primary, #1c3d5a), #0f2436);
  color: #f4f0e8; padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 .4rem; }
.cta-band p { margin: 0; opacity: .85; max-width: 34rem; }

.page-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(160deg, color-mix(in srgb, var(--primary,#1c3d5a) 92%, black), #122536);
  color: #f4f0e8;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.content-block { padding: 2.5rem 0 4rem; }
.card-soft { background: #fff; border: 1px solid var(--line); padding: 1.25rem; }

.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--muted); }
input, textarea, select {
  width: 100%; padding: .7rem .8rem; border: 1px solid var(--line);
  background: #fff; font: inherit; border-radius: var(--radius);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid color-mix(in srgb, var(--accent,#c4a574) 45%, transparent);
  border-color: var(--accent, #c4a574);
}

.site-footer {
  background: #0e1b28; color: #c9d4de; padding: 3rem 0 1.5rem;
  border-top: 3px solid var(--accent, #c4a574);
}
.footer-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2rem;
}
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: .4rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .5rem; }
.site-footer a { color: #dce5ee; }
.footer-copy { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1rem; font-size: .85rem; color: #8fa0b0; }

@media (max-width: 860px) {
  .about-split { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: #0f2133; padding: .5rem 1.25rem 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
}
